@design-edito/tools 0.1.39 → 0.1.41

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 (193) hide show
  1. package/agnostic/css/index.js +11 -11
  2. package/agnostic/errors/index.js +2 -2
  3. package/agnostic/html/hyper-json/cast/index.d.ts +8 -14
  4. package/agnostic/html/hyper-json/cast/index.js +13 -8
  5. package/agnostic/html/hyper-json/index.d.ts +8 -4
  6. package/agnostic/html/hyper-json/index.js +14 -9
  7. package/agnostic/html/hyper-json/method/index.d.ts +7 -0
  8. package/agnostic/html/hyper-json/method/index.js +6 -0
  9. package/agnostic/html/hyper-json/serialize/index.d.ts +2 -2
  10. package/agnostic/html/hyper-json/serialize/index.js +4 -1
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +4 -0
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +21 -0
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +3 -0
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +21 -0
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +2 -0
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +21 -0
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +6 -0
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +21 -0
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +5 -0
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +21 -0
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +4 -0
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +21 -0
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +2 -0
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +21 -0
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +4 -0
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +21 -0
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +2 -0
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +21 -0
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +4 -0
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +21 -0
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +4 -0
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +21 -0
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +5 -0
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +23 -0
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +8 -0
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +21 -0
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +4 -0
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +21 -0
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +5 -0
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +21 -0
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +4 -0
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +21 -0
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +4 -0
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +21 -0
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +1 -0
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +21 -0
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +5 -0
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +21 -0
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +2 -0
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +21 -0
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +2 -0
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +21 -0
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +6 -0
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +21 -0
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +2 -0
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +21 -0
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +2 -0
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +21 -0
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +4 -0
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +21 -0
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +2 -0
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +21 -0
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +5 -0
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +21 -0
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +3 -0
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +21 -0
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +4 -0
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +21 -0
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +6 -0
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +21 -0
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +5 -0
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +21 -0
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +4 -0
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +21 -0
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +5 -0
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +21 -0
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +4 -0
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +21 -0
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +4 -0
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +21 -0
  81. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +5 -0
  82. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +21 -0
  83. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +5 -0
  84. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +21 -0
  85. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +2 -0
  86. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +21 -0
  87. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +2 -0
  88. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +21 -0
  89. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +2 -0
  90. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +21 -0
  91. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +3 -0
  92. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +21 -0
  93. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +4 -0
  94. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +21 -0
  95. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +2 -0
  96. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +21 -0
  97. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +2 -0
  98. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +21 -0
  99. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +2 -0
  100. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +21 -0
  101. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +2 -0
  102. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +21 -0
  103. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +2 -0
  104. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +21 -0
  105. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +2 -0
  106. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +21 -0
  107. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +9 -0
  108. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +21 -0
  109. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +4 -0
  110. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +21 -0
  111. package/agnostic/html/hyper-json/smart-tags/index.d.ts +4 -0
  112. package/agnostic/html/hyper-json/smart-tags/index.js +9 -0
  113. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +2 -0
  114. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +10 -0
  115. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +2 -0
  116. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +10 -0
  117. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +4 -0
  118. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +21 -0
  119. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +4 -0
  120. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +21 -0
  121. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +4 -0
  122. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +21 -0
  123. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +2 -0
  124. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +21 -0
  125. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +2 -0
  126. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +21 -0
  127. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +4 -0
  128. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +21 -0
  129. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +2 -0
  130. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +10 -0
  131. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +4 -0
  132. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +21 -0
  133. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +4 -0
  134. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +21 -0
  135. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +7 -0
  136. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +23 -0
  137. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +4 -0
  138. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +21 -0
  139. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +4 -0
  140. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +21 -0
  141. package/agnostic/html/hyper-json/transformer/index.d.ts +33 -0
  142. package/agnostic/html/hyper-json/transformer/index.js +8 -0
  143. package/agnostic/html/hyper-json/tree/index.d.ts +50 -41
  144. package/agnostic/html/hyper-json/tree/index.js +13 -8
  145. package/agnostic/html/hyper-json/types/index.d.ts +138 -84
  146. package/agnostic/html/hyper-json/types/index.js +1 -1
  147. package/agnostic/html/hyper-json/utils/index.d.ts +49 -8
  148. package/agnostic/html/hyper-json/utils/index.js +13 -8
  149. package/agnostic/html/index.js +24 -19
  150. package/agnostic/html/replace-in-element/index.js +20 -3
  151. package/agnostic/html/sanitize/index.js +6 -6
  152. package/agnostic/html/selector-to-element/index.js +6 -6
  153. package/agnostic/html/string-to-nodes/index.js +7 -7
  154. package/agnostic/misc/crossenv/index.js +2 -2
  155. package/agnostic/misc/index.js +9 -9
  156. package/agnostic/misc/logs/index.js +2 -2
  157. package/agnostic/misc/lorem-ipsum/index.js +5 -5
  158. package/agnostic/misc/outcome/index.js +3 -16
  159. package/agnostic/numbers/index.js +6 -6
  160. package/agnostic/objects/deep-get-property/index.d.ts +1 -0
  161. package/agnostic/objects/deep-get-property/index.js +7 -0
  162. package/agnostic/objects/index.d.ts +2 -0
  163. package/agnostic/objects/index.js +15 -11
  164. package/agnostic/optim/index.js +3 -3
  165. package/agnostic/random/index.js +2 -2
  166. package/agnostic/strings/index.js +5 -5
  167. package/agnostic/time/index.js +3 -3
  168. package/chunks/chunk-2G5MFJ66.js +2420 -0
  169. package/chunks/chunk-7VL2O6SQ.js +211 -0
  170. package/chunks/chunk-BKO7GLC2.js +133 -0
  171. package/chunks/chunk-DLGA4UD5.js +37 -0
  172. package/chunks/chunk-EJEG2LDE.js +2427 -0
  173. package/chunks/chunk-FHLCPVND.js +23 -0
  174. package/chunks/chunk-FOLCH72D.js +211 -0
  175. package/chunks/chunk-GPWFYPER.js +211 -0
  176. package/chunks/chunk-JMU5PDBD.js +20 -0
  177. package/chunks/chunk-MAP7OSVR.js +37 -0
  178. package/chunks/chunk-PMYUC6VD.js +37 -0
  179. package/chunks/chunk-QAVYONH6.js +20 -0
  180. package/chunks/chunk-QIXAGMCI.js +211 -0
  181. package/chunks/chunk-RW7VAKJW.js +15 -0
  182. package/chunks/chunk-SKMCIFS3.js +27 -0
  183. package/chunks/chunk-SR2YFPJZ.js +2419 -0
  184. package/chunks/chunk-SXRWMH3U.js +78 -0
  185. package/chunks/chunk-UT2J62LH.js +37 -0
  186. package/chunks/chunk-VDNIN3V5.js +23 -0
  187. package/chunks/chunk-XEQ2PBT2.js +20 -0
  188. package/chunks/chunk-XPRBKRSB.js +37 -0
  189. package/chunks/chunk-YGJHHWBJ.js +37 -0
  190. package/chunks/chunk-YMNBUQVR.js +2420 -0
  191. package/chunks/chunk-YYE7TVB6.js +2420 -0
  192. package/node/files/index.js +3 -3
  193. package/package.json +1 -1
@@ -1,11 +1,52 @@
1
- import { Tree } from '../tree';
1
+ import { Outcome } from '~/agnostic/misc/outcome';
2
2
  import { Types } from '../types';
3
3
  export declare namespace Utils {
4
- export const pathStringToPath: (pathString: Tree.Tree["pathString"]) => Tree.Tree["path"];
5
- export const pathToPathString: (path: Tree.Tree["path"]) => string;
6
- type ErrReturn = Types.TransformerErrorReturnType;
7
- export const makeTransformerError: (value: ErrReturn["value"]) => ErrReturn;
8
- export const toNamedTransformer: (name: string, args: Types.Value[], anonymous: Types.AnonymousTransformer) => Types.Transformer;
9
- export const toHyperJson: (value: Types.Value, keyAttribute?: string) => Element;
10
- export {};
4
+ function clone<T extends Types.Tree.Value = Types.Tree.Value>(value: T): T;
5
+ function coalesceValues(currentValue: Types.Tree.RestingValue, subpath: string | number, subvalue: Types.Tree.Value): Types.Tree.RestingValue;
6
+ const toHyperJson: (value: Types.Tree.Value) => Element | Text;
7
+ namespace Transformations {
8
+ namespace TypeChecks {
9
+ function getType<T extends unknown>(value: T): T extends Types.Tree.Value ? Types.Tree.ValueTypeName : Types.Tree.ValueTypeName | undefined;
10
+ const everyTypeName: Types.Tree.ValueTypeName[];
11
+ function singleTypeCheck<K extends Types.Tree.ValueTypeName>(value: unknown, type: K): value is Types.Tree.ValueTypeFromNames<[K]>;
12
+ function typeCheck<K extends Array<Types.Tree.ValueTypeName>>(value: unknown, ...types: K): Outcome.Either<Types.Tree.ValueTypeFromNames<K>, {
13
+ expected: string;
14
+ found: string;
15
+ }>;
16
+ function typeCheckMany<K extends Array<Types.Tree.ValueTypeName>>(values: unknown[], ...types: K): Outcome.Either<Types.Tree.ValueTypeFromNames<K>[], {
17
+ position: number;
18
+ expected: string;
19
+ found: string;
20
+ }>;
21
+ }
22
+ }
23
+ namespace Tree {
24
+ function mergeNodes(nodes: Element[]): Element;
25
+ function getInitialValueFromTypeName(name: Exclude<Types.Tree.ValueTypeName, 'transformer' | 'method'>): Types.Tree.RestingValue;
26
+ namespace TypeChecks {
27
+ function getType<T extends unknown>(value: T): T extends Types.Tree.Value ? Types.Tree.ValueTypeName : Types.Tree.ValueTypeName | undefined;
28
+ const everyTypeName: Types.Tree.ValueTypeName[];
29
+ function singleTypeCheck<K extends Types.Tree.ValueTypeName>(value: unknown, type: K): value is Types.Tree.ValueTypeFromNames<[K]>;
30
+ function typeCheck<K extends Array<Types.Tree.ValueTypeName>>(value: unknown, ...types: K): Outcome.Either<Types.Tree.ValueTypeFromNames<K>, {
31
+ expected: string;
32
+ found: string;
33
+ }>;
34
+ function typeCheckMany<K extends Array<Types.Tree.ValueTypeName>>(values: unknown[], ...types: K): Outcome.Either<Types.Tree.ValueTypeFromNames<K>[], {
35
+ position: number;
36
+ expected: string;
37
+ found: string;
38
+ }>;
39
+ const isTreeMode: (name: string) => name is Types.Tree.Mode;
40
+ const isValueTypeName: (name: string) => name is Types.Tree.ValueTypeName;
41
+ }
42
+ }
43
+ namespace SmartTags {
44
+ const expectEmptyArgs: (args: unknown[]) => Outcome.Either<[], {
45
+ expected: string;
46
+ found: string;
47
+ }>;
48
+ const makeMainValueError: (expected: string, found: string, details?: any) => Types.Transformations.FunctionMainValueFailure;
49
+ const makeArgsValueError: (expected: string, found: string, position?: number, details?: any) => Types.Transformations.FunctionArgsValueFailure;
50
+ const makeTransformationError: (details?: any) => Types.Transformations.FunctionTransformationFailure;
51
+ }
11
52
  }
@@ -1,16 +1,21 @@
1
1
  import {
2
2
  Utils
3
- } from "../../../../chunks/chunk-LOFELEU3.js";
4
- import "../../../../chunks/chunk-ZCPGE7H7.js";
5
- import "../../../../chunks/chunk-5GI5G45R.js";
6
- import "../../../../chunks/chunk-XWLQR4UY.js";
7
- import "../../../../chunks/chunk-LUPVHC73.js";
8
- import "../../../../chunks/chunk-YDIBNEGA.js";
3
+ } from "../../../../chunks/chunk-SR2YFPJZ.js";
4
+ import "../../../../chunks/chunk-QAVYONH6.js";
5
+ import "../../../../chunks/chunk-SXRWMH3U.js";
6
+ import "../../../../chunks/chunk-XEQ2PBT2.js";
7
+ import "../../../../chunks/chunk-FHLCPVND.js";
8
+ import "../../../../chunks/chunk-VDNIN3V5.js";
9
+ import "../../../../chunks/chunk-UT2J62LH.js";
10
+ import "../../../../chunks/chunk-BKO7GLC2.js";
11
+ import "../../../../chunks/chunk-RW7VAKJW.js";
12
+ import "../../../../chunks/chunk-XA4HVHJ4.js";
9
13
  import "../../../../chunks/chunk-E6MSDKON.js";
14
+ import "../../../../chunks/chunk-YDIBNEGA.js";
15
+ import "../../../../chunks/chunk-XNF5MLCQ.js";
16
+ import "../../../../chunks/chunk-JMU5PDBD.js";
10
17
  import "../../../../chunks/chunk-ZTDVUXPR.js";
11
18
  import "../../../../chunks/chunk-RLJOYG64.js";
12
- import "../../../../chunks/chunk-QXAJXTXV.js";
13
- import "../../../../chunks/chunk-HC6ZOHCS.js";
14
19
  export {
15
20
  Utils
16
21
  };
@@ -1,44 +1,49 @@
1
+ import {
2
+ selectorToElement
3
+ } from "../../chunks/chunk-BVCWBTHQ.js";
1
4
  import {
2
5
  stringToNodes
3
- } from "../../chunks/chunk-NWFX6TEY.js";
6
+ } from "../../chunks/chunk-VKURVIRV.js";
4
7
  import {
5
- selectorToElement
6
- } from "../../chunks/chunk-EVOTJ7SU.js";
8
+ Sanitize
9
+ } from "../../chunks/chunk-C5753KUP.js";
7
10
  import {
8
11
  HyperJson
9
- } from "../../chunks/chunk-LVXK54LL.js";
10
- import "../../chunks/chunk-LOFELEU3.js";
11
- import "../../chunks/chunk-ZCPGE7H7.js";
12
- import "../../chunks/chunk-5GI5G45R.js";
12
+ } from "../../chunks/chunk-DLGA4UD5.js";
13
+ import "../../chunks/chunk-SR2YFPJZ.js";
14
+ import "../../chunks/chunk-QAVYONH6.js";
15
+ import "../../chunks/chunk-SXRWMH3U.js";
16
+ import "../../chunks/chunk-XEQ2PBT2.js";
17
+ import "../../chunks/chunk-FHLCPVND.js";
18
+ import "../../chunks/chunk-VDNIN3V5.js";
19
+ import "../../chunks/chunk-UT2J62LH.js";
20
+ import "../../chunks/chunk-BKO7GLC2.js";
21
+ import "../../chunks/chunk-RW7VAKJW.js";
13
22
  import {
14
23
  getPositionInsideParent
15
24
  } from "../../chunks/chunk-VTPRO4NJ.js";
16
- import {
17
- Sanitize
18
- } from "../../chunks/chunk-WABWQCFE.js";
19
25
  import {
20
26
  insertNode
21
27
  } from "../../chunks/chunk-XA4HVHJ4.js";
22
28
  import {
23
29
  Placeholders
24
30
  } from "../../chunks/chunk-VYW4IADX.js";
25
- import "../../chunks/chunk-XWLQR4UY.js";
26
31
  import {
27
32
  getNodeAncestors
28
33
  } from "../../chunks/chunk-LUPVHC73.js";
29
- import "../../chunks/chunk-YDIBNEGA.js";
30
34
  import "../../chunks/chunk-E6MSDKON.js";
35
+ import "../../chunks/chunk-YDIBNEGA.js";
36
+ import "../../chunks/chunk-XNF5MLCQ.js";
37
+ import "../../chunks/chunk-JMU5PDBD.js";
31
38
  import "../../chunks/chunk-ZTDVUXPR.js";
32
- import "../../chunks/chunk-CB52KVOZ.js";
33
- import "../../chunks/chunk-UFKH5WD2.js";
34
- import "../../chunks/chunk-RLJOYG64.js";
39
+ import "../../chunks/chunk-CAMYGA44.js";
40
+ import "../../chunks/chunk-FR5H2OCV.js";
35
41
  import "../../chunks/chunk-S2NMAH7K.js";
36
42
  import "../../chunks/chunk-LV2VMOWR.js";
37
- import "../../chunks/chunk-2KT7AKRW.js";
38
- import "../../chunks/chunk-FENXVJYO.js";
43
+ import "../../chunks/chunk-RLJOYG64.js";
44
+ import "../../chunks/chunk-WH6BPDAC.js";
39
45
  import "../../chunks/chunk-QHLQVR3E.js";
40
- import "../../chunks/chunk-QXAJXTXV.js";
41
- import "../../chunks/chunk-HC6ZOHCS.js";
46
+ import "../../chunks/chunk-FENXVJYO.js";
42
47
 
43
48
  // src/agnostic/html/index.ts
44
49
  var Html;
@@ -1,7 +1,24 @@
1
1
  import {
2
- replaceInElement
3
- } from "../../../chunks/chunk-XWLQR4UY.js";
4
- import "../../../chunks/chunk-LUPVHC73.js";
2
+ getNodeAncestors
3
+ } from "../../../chunks/chunk-LUPVHC73.js";
4
+
5
+ // src/agnostic/html/replace-in-element/index.ts
6
+ function replaceInElement(inputElement, replaceMap) {
7
+ const actualReplaceMap = new Map(Array.from(replaceMap).filter(([toReplace]) => {
8
+ const toReplaceAncestors = getNodeAncestors(toReplace);
9
+ return toReplaceAncestors.includes(inputElement);
10
+ }));
11
+ actualReplaceMap.forEach((replacer, toReplace) => {
12
+ if ("nodeType" in replacer) {
13
+ toReplace.parentNode?.insertBefore(replacer, toReplace);
14
+ } else {
15
+ const replacerNodes = Array.from(replacer);
16
+ replacerNodes.forEach((rpl) => toReplace.parentNode?.insertBefore(rpl, toReplace));
17
+ }
18
+ toReplace.parentNode?.removeChild(toReplace);
19
+ });
20
+ return inputElement;
21
+ }
5
22
  export {
6
23
  replaceInElement
7
24
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  Sanitize
3
- } from "../../../chunks/chunk-WABWQCFE.js";
4
- import "../../../chunks/chunk-CB52KVOZ.js";
5
- import "../../../chunks/chunk-UFKH5WD2.js";
6
- import "../../../chunks/chunk-RLJOYG64.js";
3
+ } from "../../../chunks/chunk-C5753KUP.js";
4
+ import "../../../chunks/chunk-CAMYGA44.js";
5
+ import "../../../chunks/chunk-FR5H2OCV.js";
7
6
  import "../../../chunks/chunk-S2NMAH7K.js";
8
7
  import "../../../chunks/chunk-LV2VMOWR.js";
9
- import "../../../chunks/chunk-2KT7AKRW.js";
10
- import "../../../chunks/chunk-FENXVJYO.js";
8
+ import "../../../chunks/chunk-RLJOYG64.js";
9
+ import "../../../chunks/chunk-WH6BPDAC.js";
11
10
  import "../../../chunks/chunk-QHLQVR3E.js";
11
+ import "../../../chunks/chunk-FENXVJYO.js";
12
12
  export {
13
13
  Sanitize
14
14
  };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  selectorToElement
3
- } from "../../../chunks/chunk-EVOTJ7SU.js";
4
- import "../../../chunks/chunk-CB52KVOZ.js";
5
- import "../../../chunks/chunk-UFKH5WD2.js";
6
- import "../../../chunks/chunk-RLJOYG64.js";
3
+ } from "../../../chunks/chunk-BVCWBTHQ.js";
4
+ import "../../../chunks/chunk-CAMYGA44.js";
5
+ import "../../../chunks/chunk-FR5H2OCV.js";
7
6
  import "../../../chunks/chunk-S2NMAH7K.js";
8
7
  import "../../../chunks/chunk-LV2VMOWR.js";
9
- import "../../../chunks/chunk-2KT7AKRW.js";
10
- import "../../../chunks/chunk-FENXVJYO.js";
8
+ import "../../../chunks/chunk-RLJOYG64.js";
9
+ import "../../../chunks/chunk-WH6BPDAC.js";
11
10
  import "../../../chunks/chunk-QHLQVR3E.js";
11
+ import "../../../chunks/chunk-FENXVJYO.js";
12
12
  export {
13
13
  selectorToElement
14
14
  };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  stringToNodes
3
- } from "../../../chunks/chunk-NWFX6TEY.js";
4
- import "../../../chunks/chunk-WABWQCFE.js";
5
- import "../../../chunks/chunk-CB52KVOZ.js";
6
- import "../../../chunks/chunk-UFKH5WD2.js";
7
- import "../../../chunks/chunk-RLJOYG64.js";
3
+ } from "../../../chunks/chunk-VKURVIRV.js";
4
+ import "../../../chunks/chunk-C5753KUP.js";
5
+ import "../../../chunks/chunk-CAMYGA44.js";
6
+ import "../../../chunks/chunk-FR5H2OCV.js";
8
7
  import "../../../chunks/chunk-S2NMAH7K.js";
9
8
  import "../../../chunks/chunk-LV2VMOWR.js";
10
- import "../../../chunks/chunk-2KT7AKRW.js";
11
- import "../../../chunks/chunk-FENXVJYO.js";
9
+ import "../../../chunks/chunk-RLJOYG64.js";
10
+ import "../../../chunks/chunk-WH6BPDAC.js";
12
11
  import "../../../chunks/chunk-QHLQVR3E.js";
12
+ import "../../../chunks/chunk-FENXVJYO.js";
13
13
  export {
14
14
  stringToNodes
15
15
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  Crossenv
3
- } from "../../../chunks/chunk-UFKH5WD2.js";
4
- import "../../../chunks/chunk-RLJOYG64.js";
3
+ } from "../../../chunks/chunk-FR5H2OCV.js";
5
4
  import "../../../chunks/chunk-S2NMAH7K.js";
6
5
  import "../../../chunks/chunk-LV2VMOWR.js";
6
+ import "../../../chunks/chunk-RLJOYG64.js";
7
7
  export {
8
8
  Crossenv
9
9
  };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Logs
3
- } from "../../chunks/chunk-QN3UAKIU.js";
4
- import "../../chunks/chunk-L3OCRR3V.js";
3
+ } from "../../chunks/chunk-MJQF3YZO.js";
5
4
  import "../../chunks/chunk-RASMASS4.js";
5
+ import "../../chunks/chunk-L3OCRR3V.js";
6
6
  import "../../chunks/chunk-H4PP6AHP.js";
7
7
  import {
8
8
  Cast
@@ -15,30 +15,30 @@ import {
15
15
  } from "../../chunks/chunk-7AWTHZLY.js";
16
16
  import {
17
17
  LoremIpsum
18
- } from "../../chunks/chunk-RHV7UOXD.js";
18
+ } from "../../chunks/chunk-QIXAGMCI.js";
19
19
  import "../../chunks/chunk-4CIS3R7T.js";
20
20
  import {
21
21
  Assert
22
22
  } from "../../chunks/chunk-W7YBGJ4H.js";
23
+ import "../../chunks/chunk-YS6WMSWC.js";
24
+ import "../../chunks/chunk-FCU6IHKD.js";
23
25
  import "../../chunks/chunk-6RGDWX4A.js";
24
26
  import {
25
27
  isConstructorFunction
26
28
  } from "../../chunks/chunk-RCO57B6F.js";
27
29
  import "../../chunks/chunk-RLAZR3NL.js";
28
- import "../../chunks/chunk-YS6WMSWC.js";
29
- import "../../chunks/chunk-FCU6IHKD.js";
30
30
  import {
31
31
  Crossenv
32
- } from "../../chunks/chunk-UFKH5WD2.js";
33
- import "../../chunks/chunk-RLJOYG64.js";
32
+ } from "../../chunks/chunk-FR5H2OCV.js";
34
33
  import "../../chunks/chunk-S2NMAH7K.js";
35
34
  import "../../chunks/chunk-LV2VMOWR.js";
35
+ import "../../chunks/chunk-RLJOYG64.js";
36
36
  import {
37
37
  Random
38
- } from "../../chunks/chunk-OVG5RGI3.js";
38
+ } from "../../chunks/chunk-DCKTGQOX.js";
39
39
  import "../../chunks/chunk-75BICI4L.js";
40
- import "../../chunks/chunk-OGBUSUE6.js";
41
40
  import "../../chunks/chunk-D3ERTRDW.js";
41
+ import "../../chunks/chunk-OGBUSUE6.js";
42
42
  import "../../chunks/chunk-QXAJXTXV.js";
43
43
  import {
44
44
  isNotNullish,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  Logs
3
- } from "../../../chunks/chunk-QN3UAKIU.js";
4
- import "../../../chunks/chunk-L3OCRR3V.js";
3
+ } from "../../../chunks/chunk-MJQF3YZO.js";
5
4
  import "../../../chunks/chunk-RASMASS4.js";
5
+ import "../../../chunks/chunk-L3OCRR3V.js";
6
6
  import "../../../chunks/chunk-H4PP6AHP.js";
7
7
  export {
8
8
  Logs
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  LoremIpsum
3
- } from "../../../chunks/chunk-RHV7UOXD.js";
3
+ } from "../../../chunks/chunk-QIXAGMCI.js";
4
+ import "../../../chunks/chunk-YS6WMSWC.js";
5
+ import "../../../chunks/chunk-FCU6IHKD.js";
4
6
  import "../../../chunks/chunk-6RGDWX4A.js";
5
7
  import "../../../chunks/chunk-RCO57B6F.js";
6
8
  import "../../../chunks/chunk-RLAZR3NL.js";
7
- import "../../../chunks/chunk-YS6WMSWC.js";
8
- import "../../../chunks/chunk-FCU6IHKD.js";
9
- import "../../../chunks/chunk-OVG5RGI3.js";
9
+ import "../../../chunks/chunk-DCKTGQOX.js";
10
10
  import "../../../chunks/chunk-75BICI4L.js";
11
- import "../../../chunks/chunk-OGBUSUE6.js";
12
11
  import "../../../chunks/chunk-D3ERTRDW.js";
12
+ import "../../../chunks/chunk-OGBUSUE6.js";
13
13
  export {
14
14
  LoremIpsum
15
15
  };
@@ -1,19 +1,6 @@
1
- // src/agnostic/misc/outcome/index.ts
2
- var Outcome;
3
- ((Outcome2) => {
4
- function makeSuccess(payload) {
5
- return { success: true, payload };
6
- }
7
- Outcome2.makeSuccess = makeSuccess;
8
- function makeFailure(error) {
9
- return { success: false, error };
10
- }
11
- Outcome2.makeFailure = makeFailure;
12
- function make(success, payloadOrError) {
13
- return success ? makeSuccess(payloadOrError) : makeFailure(payloadOrError);
14
- }
15
- Outcome2.make = make;
16
- })(Outcome || (Outcome = {}));
1
+ import {
2
+ Outcome
3
+ } from "../../../chunks/chunk-JMU5PDBD.js";
17
4
  export {
18
5
  Outcome
19
6
  };
@@ -1,3 +1,9 @@
1
+ import {
2
+ interpolate
3
+ } from "../../chunks/chunk-BJAYUP7M.js";
4
+ import {
5
+ clamp
6
+ } from "../../chunks/chunk-OSAXBA7G.js";
1
7
  import {
2
8
  absoluteModulo
3
9
  } from "../../chunks/chunk-DNIOWD7K.js";
@@ -5,12 +11,6 @@ import {
5
11
  createScale,
6
12
  getHarmonic
7
13
  } from "../../chunks/chunk-UYTXXUU7.js";
8
- import {
9
- clamp
10
- } from "../../chunks/chunk-OSAXBA7G.js";
11
- import {
12
- interpolate
13
- } from "../../chunks/chunk-BJAYUP7M.js";
14
14
  import {
15
15
  round
16
16
  } from "../../chunks/chunk-32IRF4OP.js";
@@ -0,0 +1 @@
1
+ export declare function deepGetProperty(anythingThatHasProperties: unknown, pathString: string): any;
@@ -0,0 +1,7 @@
1
+ import {
2
+ deepGetProperty
3
+ } from "../../../chunks/chunk-SKMCIFS3.js";
4
+ import "../../../chunks/chunk-YDIBNEGA.js";
5
+ export {
6
+ deepGetProperty
7
+ };
@@ -1,3 +1,4 @@
1
+ import { deepGetProperty as deepGetPropertyFunc } from './deep-get-property';
1
2
  import { Enums as EnumsNamespace } from './enums';
2
3
  import { flattenGetters as flattenGettersFunc } from './flatten-getters';
3
4
  import { isObject as isObjectFunc, isNonNullObject as isNonNullObjectFunc } from './is-object';
@@ -6,6 +7,7 @@ import { recordFormat as recordFormatFunc } from './record-format';
6
7
  import { recordMap as recordMapFunc } from './record-map';
7
8
  import { Validation as ValidationNamespace } from './validation';
8
9
  export declare namespace Objects {
10
+ const deepGetProperty: typeof deepGetPropertyFunc;
9
11
  export import Enums = EnumsNamespace;
10
12
  const flattenGetters: typeof flattenGettersFunc;
11
13
  const isObject: typeof isObjectFunc;
@@ -1,26 +1,29 @@
1
1
  import {
2
- flattenGetters
3
- } from "../../chunks/chunk-VFJYLXCI.js";
2
+ Enums
3
+ } from "../../chunks/chunk-WOAYU6LB.js";
4
+ import "../../chunks/chunk-E6MSDKON.js";
5
+ import {
6
+ deepGetProperty
7
+ } from "../../chunks/chunk-SKMCIFS3.js";
4
8
  import {
5
9
  isRecord
6
10
  } from "../../chunks/chunk-YDIBNEGA.js";
11
+ import {
12
+ recordFormat
13
+ } from "../../chunks/chunk-YP64J65L.js";
14
+ import {
15
+ flattenGetters
16
+ } from "../../chunks/chunk-VFJYLXCI.js";
7
17
  import {
8
18
  isNonNullObject,
9
19
  isObject
10
20
  } from "../../chunks/chunk-HQLRJ7XW.js";
11
- import {
12
- Validation
13
- } from "../../chunks/chunk-FPEW3A27.js";
14
21
  import {
15
22
  recordMap
16
23
  } from "../../chunks/chunk-XNF5MLCQ.js";
17
24
  import {
18
- recordFormat
19
- } from "../../chunks/chunk-YP64J65L.js";
20
- import {
21
- Enums
22
- } from "../../chunks/chunk-WOAYU6LB.js";
23
- import "../../chunks/chunk-E6MSDKON.js";
25
+ Validation
26
+ } from "../../chunks/chunk-FPEW3A27.js";
24
27
  import "../../chunks/chunk-SNJJII7A.js";
25
28
  import "../../chunks/chunk-QXAJXTXV.js";
26
29
  import "../../chunks/chunk-HC6ZOHCS.js";
@@ -28,6 +31,7 @@ import "../../chunks/chunk-HC6ZOHCS.js";
28
31
  // src/agnostic/objects/index.ts
29
32
  var Objects;
30
33
  ((Objects2) => {
34
+ Objects2.deepGetProperty = deepGetProperty;
31
35
  Objects2.Enums = Enums;
32
36
  Objects2.flattenGetters = flattenGetters;
33
37
  Objects2.isObject = isObject;
@@ -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,9 +1,9 @@
1
1
  import {
2
2
  Random
3
- } from "../../chunks/chunk-OVG5RGI3.js";
3
+ } from "../../chunks/chunk-DCKTGQOX.js";
4
4
  import "../../chunks/chunk-75BICI4L.js";
5
- import "../../chunks/chunk-OGBUSUE6.js";
6
5
  import "../../chunks/chunk-D3ERTRDW.js";
6
+ import "../../chunks/chunk-OGBUSUE6.js";
7
7
  export {
8
8
  Random
9
9
  };
@@ -1,17 +1,17 @@
1
1
  import {
2
- normalizeIndent
3
- } from "../../chunks/chunk-JQXNEJAP.js";
2
+ CharCodes
3
+ } from "../../chunks/chunk-34U4HX4V.js";
4
4
  import {
5
5
  matches,
6
6
  matchesEvery,
7
7
  matchesSome
8
8
  } from "../../chunks/chunk-LQFKUNVQ.js";
9
- import {
10
- CharCodes
11
- } from "../../chunks/chunk-34U4HX4V.js";
12
9
  import {
13
10
  replaceAll
14
11
  } from "../../chunks/chunk-ZTDVUXPR.js";
12
+ import {
13
+ normalizeIndent
14
+ } from "../../chunks/chunk-JQXNEJAP.js";
15
15
  import {
16
16
  toAlphanum
17
17
  } from "../../chunks/chunk-COVPTTAD.js";
@@ -1,12 +1,12 @@
1
+ import {
2
+ timeout
3
+ } from "../../chunks/chunk-Z7ZDDBV5.js";
1
4
  import {
2
5
  Duration
3
6
  } from "../../chunks/chunk-6NYUQXJT.js";
4
7
  import {
5
8
  Transitions
6
9
  } from "../../chunks/chunk-ENMBK6H7.js";
7
- import {
8
- timeout
9
- } from "../../chunks/chunk-Z7ZDDBV5.js";
10
10
  import {
11
11
  wait
12
12
  } from "../../chunks/chunk-4CIS3R7T.js";