angular-intlayer 9.7.0 → 9.7.1

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 (171) hide show
  1. package/dist/cjs/UI/IntlayerNode.component.cjs +4 -5
  2. package/dist/cjs/UI/index.cjs +2 -2
  3. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.156.0}/helpers/esm/decorate.cjs +1 -2
  4. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.156.0}/helpers/esm/decorateMetadata.cjs +1 -2
  5. package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -2
  6. package/dist/cjs/analytics/exposureSink.cjs +1 -2
  7. package/dist/cjs/analytics/index.cjs +3 -3
  8. package/dist/cjs/analytics/useAnalytics.cjs +3 -4
  9. package/dist/cjs/analytics/useConversion.cjs +1 -2
  10. package/dist/cjs/analytics/useExperiment.cjs +1 -2
  11. package/dist/cjs/client/index.cjs +9 -9
  12. package/dist/cjs/client/installIntlayer.cjs +4 -5
  13. package/dist/cjs/client/intlayerToken.cjs +2 -3
  14. package/dist/cjs/client/useDictionary.cjs +3 -4
  15. package/dist/cjs/client/useDictionaryAsync.cjs +4 -5
  16. package/dist/cjs/client/useDictionaryDynamic.cjs +6 -7
  17. package/dist/cjs/client/useIntlayer.cjs +3 -4
  18. package/dist/cjs/client/useLoadDynamic.cjs +1 -2
  19. package/dist/cjs/client/useLocale.cjs +3 -4
  20. package/dist/cjs/client/useLocaleStorage.cjs +1 -2
  21. package/dist/cjs/client/usePathname.cjs +1 -2
  22. package/dist/cjs/editor/ContentSelector.component.cjs +4 -5
  23. package/dist/cjs/editor/EditorProvider.component.cjs +5 -6
  24. package/dist/cjs/editor/index.cjs +5 -5
  25. package/dist/cjs/editor/useEditor.cjs +3 -4
  26. package/dist/cjs/esbuild/hiddenDirectory.cjs +1 -2
  27. package/dist/cjs/esbuild/index.cjs +1 -1
  28. package/dist/cjs/esbuild/plugin.cjs +3 -4
  29. package/dist/cjs/esbuild/resolvePackageExport.cjs +1 -2
  30. package/dist/cjs/format/index.cjs +9 -9
  31. package/dist/cjs/format/useCompact.cjs +2 -3
  32. package/dist/cjs/format/useCurrency.cjs +2 -3
  33. package/dist/cjs/format/useDate.cjs +2 -3
  34. package/dist/cjs/format/useIntl.cjs +2 -3
  35. package/dist/cjs/format/useList.cjs +2 -3
  36. package/dist/cjs/format/useNumber.cjs +2 -3
  37. package/dist/cjs/format/usePercentage.cjs +2 -3
  38. package/dist/cjs/format/useRelativeTime.cjs +2 -3
  39. package/dist/cjs/format/useUnit.cjs +2 -3
  40. package/dist/cjs/getDictionary.cjs +2 -3
  41. package/dist/cjs/getIntlayer.cjs +2 -3
  42. package/dist/cjs/html/index.cjs +2 -2
  43. package/dist/cjs/html/installIntlayerHTML.cjs +3 -4
  44. package/dist/cjs/index.cjs +17 -17
  45. package/dist/cjs/markdown/index.cjs +2 -2
  46. package/dist/cjs/markdown/installIntlayerMarkdown.cjs +3 -4
  47. package/dist/cjs/plugins.cjs +6 -7
  48. package/dist/cjs/renderIntlayerNode.cjs +1 -2
  49. package/dist/cjs/webpack/index.cjs +1 -1
  50. package/dist/cjs/webpack/mergeConfig.cjs +1 -2
  51. package/dist/esm/UI/IntlayerNode.component.mjs +3 -4
  52. package/dist/esm/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.156.0}/helpers/esm/decorate.mjs +1 -2
  53. package/dist/esm/_virtual/{_@oxc-project_runtime@0.148.0 → _@oxc-project_runtime@0.156.0}/helpers/esm/decorateMetadata.mjs +1 -2
  54. package/dist/esm/analytics/exposureSink.mjs +1 -2
  55. package/dist/esm/analytics/useAnalytics.mjs +2 -3
  56. package/dist/esm/analytics/useConversion.mjs +1 -2
  57. package/dist/esm/analytics/useExperiment.mjs +1 -2
  58. package/dist/esm/client/index.mjs +2 -2
  59. package/dist/esm/client/installIntlayer.mjs +2 -3
  60. package/dist/esm/client/intlayerToken.mjs +1 -2
  61. package/dist/esm/client/useDictionary.mjs +1 -2
  62. package/dist/esm/client/useDictionaryAsync.mjs +2 -3
  63. package/dist/esm/client/useDictionaryDynamic.mjs +2 -3
  64. package/dist/esm/client/useIntlayer.mjs +1 -2
  65. package/dist/esm/client/useLoadDynamic.mjs +1 -2
  66. package/dist/esm/client/useLocale.mjs +2 -3
  67. package/dist/esm/client/useLocaleStorage.mjs +1 -2
  68. package/dist/esm/client/usePathname.mjs +1 -2
  69. package/dist/esm/editor/ContentSelector.component.mjs +3 -4
  70. package/dist/esm/editor/EditorProvider.component.mjs +3 -4
  71. package/dist/esm/editor/index.mjs +1 -1
  72. package/dist/esm/editor/useEditor.mjs +2 -3
  73. package/dist/esm/esbuild/hiddenDirectory.mjs +1 -2
  74. package/dist/esm/esbuild/plugin.mjs +4 -5
  75. package/dist/esm/esbuild/resolvePackageExport.mjs +1 -2
  76. package/dist/esm/format/index.mjs +5 -5
  77. package/dist/esm/format/useCompact.mjs +1 -2
  78. package/dist/esm/format/useCurrency.mjs +1 -2
  79. package/dist/esm/format/useDate.mjs +1 -2
  80. package/dist/esm/format/useIntl.mjs +1 -2
  81. package/dist/esm/format/useList.mjs +1 -2
  82. package/dist/esm/format/useNumber.mjs +1 -2
  83. package/dist/esm/format/usePercentage.mjs +1 -2
  84. package/dist/esm/format/useRelativeTime.mjs +1 -2
  85. package/dist/esm/format/useUnit.mjs +1 -2
  86. package/dist/esm/getDictionary.mjs +1 -2
  87. package/dist/esm/getIntlayer.mjs +1 -2
  88. package/dist/esm/html/installIntlayerHTML.mjs +2 -3
  89. package/dist/esm/index.mjs +2 -2
  90. package/dist/esm/markdown/installIntlayerMarkdown.mjs +2 -3
  91. package/dist/esm/plugins.mjs +2 -3
  92. package/dist/esm/renderIntlayerNode.mjs +1 -2
  93. package/dist/esm/webpack/mergeConfig.mjs +1 -2
  94. package/dist/types/UI/IntlayerNode.component.d.ts +0 -2
  95. package/dist/types/UI/IntlayerNode.component.d.ts.map +1 -1
  96. package/dist/types/analytics/exposureSink.d.ts +0 -2
  97. package/dist/types/analytics/exposureSink.d.ts.map +1 -1
  98. package/dist/types/analytics/useAnalytics.d.ts +0 -2
  99. package/dist/types/analytics/useAnalytics.d.ts.map +1 -1
  100. package/dist/types/analytics/useConversion.d.ts +0 -2
  101. package/dist/types/analytics/useConversion.d.ts.map +1 -1
  102. package/dist/types/analytics/useExperiment.d.ts +0 -2
  103. package/dist/types/analytics/useExperiment.d.ts.map +1 -1
  104. package/dist/types/client/index.d.ts +1 -1
  105. package/dist/types/client/installIntlayer.d.ts +0 -2
  106. package/dist/types/client/installIntlayer.d.ts.map +1 -1
  107. package/dist/types/client/intlayerToken.d.ts +0 -2
  108. package/dist/types/client/intlayerToken.d.ts.map +1 -1
  109. package/dist/types/client/useDictionary.d.ts +0 -2
  110. package/dist/types/client/useDictionary.d.ts.map +1 -1
  111. package/dist/types/client/useDictionaryAsync.d.ts +0 -2
  112. package/dist/types/client/useDictionaryAsync.d.ts.map +1 -1
  113. package/dist/types/client/useDictionaryDynamic.d.ts +0 -2
  114. package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
  115. package/dist/types/client/useIntlayer.d.ts +0 -2
  116. package/dist/types/client/useIntlayer.d.ts.map +1 -1
  117. package/dist/types/client/useLoadDynamic.d.ts +0 -2
  118. package/dist/types/client/useLoadDynamic.d.ts.map +1 -1
  119. package/dist/types/client/useLocale.d.ts +0 -2
  120. package/dist/types/client/useLocale.d.ts.map +1 -1
  121. package/dist/types/client/useLocaleStorage.d.ts +0 -2
  122. package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
  123. package/dist/types/client/usePathname.d.ts +0 -2
  124. package/dist/types/client/usePathname.d.ts.map +1 -1
  125. package/dist/types/editor/ContentSelector.component.d.ts +0 -2
  126. package/dist/types/editor/ContentSelector.component.d.ts.map +1 -1
  127. package/dist/types/editor/EditorProvider.component.d.ts +0 -2
  128. package/dist/types/editor/EditorProvider.component.d.ts.map +1 -1
  129. package/dist/types/editor/useEditor.d.ts +0 -2
  130. package/dist/types/editor/useEditor.d.ts.map +1 -1
  131. package/dist/types/esbuild/hiddenDirectory.d.ts +0 -2
  132. package/dist/types/esbuild/hiddenDirectory.d.ts.map +1 -1
  133. package/dist/types/esbuild/plugin.d.ts +0 -2
  134. package/dist/types/esbuild/plugin.d.ts.map +1 -1
  135. package/dist/types/esbuild/resolvePackageExport.d.ts +0 -2
  136. package/dist/types/esbuild/resolvePackageExport.d.ts.map +1 -1
  137. package/dist/types/format/useCompact.d.ts +0 -2
  138. package/dist/types/format/useCompact.d.ts.map +1 -1
  139. package/dist/types/format/useCurrency.d.ts +0 -2
  140. package/dist/types/format/useCurrency.d.ts.map +1 -1
  141. package/dist/types/format/useDate.d.ts +0 -2
  142. package/dist/types/format/useDate.d.ts.map +1 -1
  143. package/dist/types/format/useIntl.d.ts +0 -2
  144. package/dist/types/format/useIntl.d.ts.map +1 -1
  145. package/dist/types/format/useList.d.ts +0 -2
  146. package/dist/types/format/useList.d.ts.map +1 -1
  147. package/dist/types/format/useNumber.d.ts +0 -2
  148. package/dist/types/format/useNumber.d.ts.map +1 -1
  149. package/dist/types/format/usePercentage.d.ts +0 -2
  150. package/dist/types/format/usePercentage.d.ts.map +1 -1
  151. package/dist/types/format/useRelativeTime.d.ts +0 -2
  152. package/dist/types/format/useRelativeTime.d.ts.map +1 -1
  153. package/dist/types/format/useUnit.d.ts +0 -2
  154. package/dist/types/format/useUnit.d.ts.map +1 -1
  155. package/dist/types/getDictionary.d.ts +0 -2
  156. package/dist/types/getDictionary.d.ts.map +1 -1
  157. package/dist/types/getIntlayer.d.ts +0 -2
  158. package/dist/types/getIntlayer.d.ts.map +1 -1
  159. package/dist/types/html/installIntlayerHTML.d.ts +1 -2
  160. package/dist/types/html/installIntlayerHTML.d.ts.map +1 -1
  161. package/dist/types/index.d.ts +3 -5
  162. package/dist/types/index.d.ts.map +1 -1
  163. package/dist/types/markdown/installIntlayerMarkdown.d.ts +0 -2
  164. package/dist/types/markdown/installIntlayerMarkdown.d.ts.map +1 -1
  165. package/dist/types/plugins.d.ts +0 -2
  166. package/dist/types/plugins.d.ts.map +1 -1
  167. package/dist/types/renderIntlayerNode.d.ts +1 -2
  168. package/dist/types/renderIntlayerNode.d.ts.map +1 -1
  169. package/dist/types/webpack/mergeConfig.d.ts +0 -2
  170. package/dist/types/webpack/mergeConfig.d.ts.map +1 -1
  171. package/package.json +14 -14
@@ -1,11 +1,9 @@
1
1
  import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
- //#region src/client/useDictionaryAsync.d.ts
4
3
  /**
5
4
  * On the server side, Hook that transform a dictionary and return the content
6
5
  *
7
6
  * If the locale is not provided, it will use the locale from the client context
8
7
  */
9
8
  export declare const useDictionaryAsync: <const T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<import("@angular/core").Signal<unknown>>;
10
- //#endregion
11
9
  //# sourceMappingURL=useDictionaryAsync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;;;qBAiBa,2BAAkC,UAAU,YAAU,mBAC9C,0BAA0B,QAAQ,KAAG,SAC/C,kBAAa,gCAAA"}
1
+ {"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;;qBAiBa,2BAAkC,UAAU,YAAU,mBAC9C,0BAA0B,QAAQ,KAAG,SAC/C,kBAAa,gCAAA"}
@@ -1,7 +1,6 @@
1
1
  import { DeclaredLocales, DictionaryKeys, DictionarySelectorForKey, LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator";
4
- //#region src/client/useDictionaryDynamic.d.ts
5
4
  /**
6
5
  * Lazily loads a dictionary (plain or qualified) and returns its reactive
7
6
  * content.
@@ -14,5 +13,4 @@ import { QualifiedDynamicLoaderMap } from "@intlayer/core/dictionaryManipulator"
14
13
  * the locale from the client context.
15
14
  */
16
15
  export declare const useDictionaryDynamic: <const T extends Dictionary, const K extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<K> = DeclaredLocales>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>> | QualifiedDynamicLoaderMap, key: K, localeOrSelector?: A) => import("@angular/core").Signal<any>;
17
- //#endregion
18
16
  //# sourceMappingURL=useDictionaryDynamic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;;;;;;;qBAoCa,6BACL,UAAU,kBACV,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,mBAGzE,0BAA0B,QAAQ,MAClC,2BAAyB,KACxB,GAAC,mBACa,8BAAC"}
1
+ {"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;;;;;;qBAoCa,6BACL,UAAU,kBACV,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,mBAGzE,0BAA0B,QAAQ,MAClC,2BAAyB,KACxB,GAAC,mBACa,8BAAC"}
@@ -1,7 +1,6 @@
1
1
  import { DeepTransformContent } from "../plugins.js";
2
2
  import { Signal } from "@angular/core";
3
3
  import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySelectorForKey, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
4
- //#region src/client/useIntlayer.d.ts
5
4
  /** guard utility - true only for objects generated by `renderIntlayerNode()` */
6
5
  export declare const isUpdatableNode: (val: unknown) => val is {
7
6
  __update: (n: unknown) => void;
@@ -32,5 +31,4 @@ export declare const isUpdatableNode: (val: unknown) => val is {
32
31
  * ```
33
32
  */
34
33
  export declare const useIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => Signal<DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>>;
35
- //#endregion
36
34
  //# sourceMappingURL=useIntlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;qBAea,kBAAe,iBAEzB;EAAS,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BV,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,OACD,qBAAqB,yBAAyB,GAAG,IAAI,sBAAsB"}
1
+ {"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;qBAea,kBAAe,iBAEzB;EAAS,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BV,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,OACD,qBAAqB,yBAAyB,GAAG,IAAI,sBAAsB"}
@@ -1,4 +1,3 @@
1
- //#region src/client/useLoadDynamic.d.ts
2
1
  /**
3
2
  * A "synchronous" loader for a dynamically‐imported JSON (or anything).
4
3
  *
@@ -6,5 +5,4 @@
6
5
  * - When the Promise resolves, it replaces the signal's value with the real data.
7
6
  */
8
7
  export declare const useLoadDynamic: <T extends Record<string, any>>(key: string, promise: Promise<T>) => T;
9
- //#endregion
10
8
  //# sourceMappingURL=useLoadDynamic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLoadDynamic.d.ts","names":[],"sources":["../../../src/client/useLoadDynamic.ts"],"mappings":";;;;;;;qBAQa,iBAAkB,UAAU,qBAAmB,aAC/C,SACF,QAAQ,OAChB"}
1
+ {"version":3,"file":"useLoadDynamic.d.ts","names":[],"sources":["../../../src/client/useLoadDynamic.ts"],"mappings":";;;;;;qBAQa,iBAAkB,UAAU,qBAAmB,aAC/C,SACF,QAAQ,OAChB"}
@@ -1,6 +1,5 @@
1
1
  import { Signal } from "@angular/core";
2
2
  import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
3
- //#region src/client/useLocale.d.ts
4
3
  export type UseLocaleProps = {
5
4
  isCookieEnabled?: boolean;
6
5
  onLocaleChange?: (locale: DeclaredLocales) => void;
@@ -39,5 +38,4 @@ export type UseLocaleResult = {
39
38
  * ```
40
39
  */
41
40
  export declare const useLocale: ({ isCookieEnabled, onLocaleChange }?: UseLocaleProps) => UseLocaleResult;
42
- //#endregion
43
41
  //# sourceMappingURL=useLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;;YASY;EACV;EACA,kBAAkB,QAAQ;;YAGhB;EACV,QAAQ,OAAO;EACf,eAAe;EACf,kBAAkB;EAClB,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgCT,cAAS,iBAAA,mBAGnB,mBAAsB"}
1
+ {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;YASY;EACV;EACA,kBAAkB,QAAQ;;YAGhB;EACV,QAAQ,OAAO;EACf,eAAe;EACf,kBAAkB;EAClB,YAAY,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAgCT,cAAS,iBAAA,mBAGnB,mBAAsB"}
@@ -1,5 +1,4 @@
1
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
2
- //#region src/client/useLocaleStorage.d.ts
3
2
  /**
4
3
  * Reads the locale persisted in the browser storage (cookie, localStorage…).
5
4
  *
@@ -48,5 +47,4 @@ export declare const useLocaleCookie: (isCookieEnabled?: boolean) => {
48
47
  localeCookie: import("@intlayer/types").Locale;
49
48
  setLocaleCookie: (locale: LocalesValues) => void;
50
49
  };
51
- //#endregion
52
50
  //# sourceMappingURL=useLocaleStorage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;;qBAea,oDAAkB;;;;;;;qBAQlB,2CAAe;;;;;;qBAOf,wCAAY;;;;qBAKZ,qBAAkB,QACrB,eAAa;;;;;;qBAaV,wBAAe;;;;qBAKf,mBAAgB;;sBAAhB;;;;;;;;;qBAaA,kBAAe;EAIxB,wCAAY;EACZ,kBAAe,QAAA"}
1
+ {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;qBAea,oDAAkB;;;;;;;qBAQlB,2CAAe;;;;;;qBAOf,wCAAY;;;;qBAKZ,qBAAkB,QACrB,eAAa;;;;;;qBAaV,wBAAe;;;;qBAKf,mBAAgB;;;;;;;;;;;qBAahB,kBAAe;EAIxB,wCAAY;EACZ,kBAAe,QAAA"}
@@ -1,5 +1,4 @@
1
1
  import { Signal } from "@angular/core";
2
- //#region src/client/usePathname.d.ts
3
2
  /**
4
3
  * Angular hook that returns a signal containing the current pathname with
5
4
  * the locale segment removed.
@@ -30,5 +29,4 @@ import { Signal } from "@angular/core";
30
29
  * ```
31
30
  */
32
31
  export declare const usePathname: () => Signal<string>;
33
- //#endregion
34
32
  //# sourceMappingURL=usePathname.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsCa,mBAAkB"}
1
+ {"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsCa,mBAAkB"}
@@ -1,8 +1,6 @@
1
- //#region src/editor/ContentSelector.component.d.ts
2
1
  export declare class ContentSelectorWrapperComponent {
3
2
  dictionaryKey: string;
4
3
  keyPath: any[];
5
4
  get keyPathJson(): string;
6
5
  }
7
- //#endregion
8
6
  //# sourceMappingURL=ContentSelector.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentSelector.component.d.ts","names":[],"sources":["../../../src/editor/ContentSelector.component.ts"],"mappings":";qBAea;EACF;EACA;MAEL"}
1
+ {"version":3,"file":"ContentSelector.component.d.ts","names":[],"sources":["../../../src/editor/ContentSelector.component.ts"],"mappings":"A,qBAea;EACF;EACA;MAEL"}
@@ -1,4 +1,3 @@
1
- //#region src/editor/EditorProvider.component.d.ts
2
1
  /**
3
2
  * Drop-in Angular equivalent of React's `EditorProvider`.
4
3
  *
@@ -28,5 +27,4 @@
28
27
  export declare class EditorProviderComponent {
29
28
  constructor();
30
29
  }
31
- //#endregion
32
30
  //# sourceMappingURL=EditorProvider.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorProvider.component.d.ts","names":[],"sources":["../../../src/editor/EditorProvider.component.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCa;EACX"}
1
+ {"version":3,"file":"EditorProvider.component.d.ts","names":[],"sources":["../../../src/editor/EditorProvider.component.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;qBAkCa;EACX"}
@@ -1,5 +1,4 @@
1
1
  import { IntlayerProvider } from "../client/intlayerToken.js";
2
- //#region src/editor/useEditor.d.ts
3
2
  /**
4
3
  * Initialises the Intlayer editor client singleton when the editor is enabled.
5
4
  * Syncs the current locale from the provided Intlayer client into the editor
@@ -31,5 +30,4 @@ export declare const useEditor: (client?: IntlayerProvider | null) => void;
31
30
  * ```
32
31
  */
33
32
  export declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
34
- //#endregion
35
33
  //# sourceMappingURL=useEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.ts"],"mappings":";;;;;;;;;;;;;;qBA6Ba,YAAS,SAAa;;;;;;;;;;;;;;;;;;qBAkFtB,wBAAqB,SAAa,oDAAuB"}
1
+ {"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.ts"],"mappings":";;;;;;;;;;;;;qBA6Ba,YAAS,SAAa;;;;;;;;;;;;;;;;;;qBAkFtB,wBAAqB,SAAa,oDAAuB"}
@@ -1,4 +1,3 @@
1
- //#region src/esbuild/hiddenDirectory.d.ts
2
1
  /**
3
2
  * Whether `directory` sits under a dot-directory (`.intlayer/…`) of `baseDir`.
4
3
  *
@@ -11,5 +10,4 @@
11
10
  * @param directory - Absolute directory to test.
12
11
  */
13
12
  export declare const isInHiddenDirectory: (baseDir: string, directory: string) => boolean;
14
- //#endregion
15
13
  //# sourceMappingURL=hiddenDirectory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"hiddenDirectory.d.ts","names":[],"sources":["../../../src/esbuild/hiddenDirectory.ts"],"mappings":";;;;;;;;;;;;qBAaa,sBAAmB,iBACf"}
1
+ {"version":3,"file":"hiddenDirectory.d.ts","names":[],"sources":["../../../src/esbuild/hiddenDirectory.ts"],"mappings":";;;;;;;;;;;qBAaa,sBAAmB,iBACf"}
@@ -1,5 +1,4 @@
1
1
  import { GetConfigurationOptions } from "@intlayer/config/node";
2
- //#region src/esbuild/plugin.d.ts
3
2
  export type EsbuildResolveArgs = {
4
3
  path: string;
5
4
  importer: string;
@@ -92,5 +91,4 @@ export type IntlayerEsbuildPluginOptions = {
92
91
  * ```
93
92
  */
94
93
  export declare const intlayerEsbuildPlugin: (options?: IntlayerEsbuildPluginOptions) => EsbuildPlugin;
95
- //#endregion
96
94
  //# sourceMappingURL=plugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","names":[],"sources":["../../../src/esbuild/plugin.ts"],"mappings":";;YAgEY;EACV;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;;YAGU;EACV;EACA;;EAEA;;iBAGe;EACf;IACE,QAAQ;IACR,SAAS;IACT;IACA;;IAEA;;EAEF,QAAQ,uBAAuB;;EAE/B,UACE;IAAW,QAAQ;IAAQ;KAC3B,WACE,MAAM,uBAEJ,0CAGA,QAAQ;;EAGd,QACE,cACA,SAAS,QAAQ,KAAK,+BACrB,QAAQ;IAAyB;IAAc;;;EAElD,OACE;IAAW,QAAQ;IAAQ;KAC3B,WACE,MAAM,oBAEJ,uCAGA,QAAQ;;iBAIC;EACf;EACA,MAAM,OAAO,4BAA4B;;YAG/B;EACV,gBAAgB;;;;;;;;EAQhB;;;;;;;;;;;;;;;;;;;;;;;;qBAqDW,wBAAqB,UACtB,iCACT"}
1
+ {"version":3,"file":"plugin.d.ts","names":[],"sources":["../../../src/esbuild/plugin.ts"],"mappings":";YAgEY;EACV;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA;;YAGU;EACV;EACA;EACA;;YAGU;EACV;EACA;;EAEA;;iBAGe;EACf;IACE,QAAQ;IACR,SAAS;IACT;IACA;;IAEA;;EAEF,QAAQ,uBAAuB;;EAE/B,UACE;IAAW,QAAQ;IAAQ;KAC3B,WACE,MAAM,uBAEJ,0CAGA,QAAQ;;EAGd,QACE,cACA,SAAS,QAAQ,KAAK,+BACrB,QAAQ;IAAyB;IAAc;;;EAElD,OACE;IAAW,QAAQ;IAAQ;KAC3B,WACE,MAAM,oBAEJ,uCAGA,QAAQ;;iBAIC;EACf;EACA,MAAM,OAAO,4BAA4B;;YAG/B;EACV,gBAAgB;;;;;;;;EAQhB;;;;;;;;;;;;;;;;;;;;;;;;qBAqDW,wBAAqB,UACtB,iCACT"}
@@ -1,4 +1,3 @@
1
- //#region src/esbuild/resolvePackageExport.d.ts
2
1
  export type ResolvedPackageExport = {
3
2
  /** Absolute path of the file the specifier maps to. */
4
3
  path: string;
@@ -33,5 +32,4 @@ export declare const findPackageManifest: (packageName: string, startDir: string
33
32
  * or does not map the subpath — the caller then leaves the bundler to it.
34
33
  */
35
34
  export declare const resolvePackageExport: (specifier: string, resolveDir: string, conditions: readonly string[]) => ResolvedPackageExport | undefined;
36
- //#endregion
37
35
  //# sourceMappingURL=resolvePackageExport.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolvePackageExport.d.ts","names":[],"sources":["../../../src/esbuild/resolvePackageExport.ts"],"mappings":";YAqBY;;EAEV;;EAEA;;;qBAIW,wBAAqB;EAE7B;EAAqB;;;;;;qBAab,sBAAmB,qBACX;;;;;;;;;;;;;;;;;;qBA6HR,uBAAoB,mBACd,oBACC,kCAEjB"}
1
+ {"version":3,"file":"resolvePackageExport.d.ts","names":[],"sources":["../../../src/esbuild/resolvePackageExport.ts"],"mappings":"A,YAqBY;;EAEV;;EAEA;;;qBAIW,wBAAqB;EAE7B;EAAqB;;;;;;qBAab,sBAAmB,qBACX;;;;;;;;;;;;;;;;;;qBA6HR,uBAAoB,mBACd,oBACC,kCAEjB"}
@@ -1,6 +1,4 @@
1
- //#region src/format/useCompact.d.ts
2
1
  export declare const useCompact: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
3
2
  locale?: import("@intlayer/types").LocalesValues;
4
3
  }) => string>;
5
- //#endregion
6
4
  //# sourceMappingURL=useCompact.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":";qBAIa,0CAAU,QAAA,wBAAA,UAAA,KAAA"}
1
+ {"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":"A,qBAIa,0CAAU,QAAA,wBAAA,UAAA,KAAA"}
@@ -1,6 +1,4 @@
1
- //#region src/format/useCurrency.d.ts
2
1
  export declare const useCurrency: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
3
2
  locale?: import("@intlayer/types").LocalesValues;
4
3
  }) => string>;
5
- //#endregion
6
4
  //# sourceMappingURL=useCurrency.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":";qBAIa,2CAAW,QAAA,wBAAA,UAAA,KAAA"}
1
+ {"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":"A,qBAIa,2CAAW,QAAA,wBAAA,UAAA,KAAA"}
@@ -1,9 +1,7 @@
1
- //#region src/format/useDate.d.ts
2
1
  /**
3
2
  * Angular client hook that provides a localized date/time formatter.
4
3
  */
5
4
  export declare const useDate: () => import("@angular/core").Signal<(date: string | number | Date, options?: import("@intlayer/core/formatters").DateTimePreset | (Intl.DateTimeFormatOptions & {
6
5
  locale?: import("@intlayer/types").LocalesValues;
7
6
  })) => string>;
8
- //#endregion
9
7
  //# sourceMappingURL=useDate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;;qBAOa,uCAAO,QAAA,wBAAA,MAAA,8CAAA,kBAAA,KAAA"}
1
+ {"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;qBAOa,uCAAO,QAAA,wBAAA,MAAA,8CAAA,kBAAA,KAAA"}
@@ -1,9 +1,7 @@
1
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
2
2
  import { WrappedIntl } from "@intlayer/core/formatters";
3
- //#region src/format/useIntl.d.ts
4
3
  /**
5
4
  * Angular composable that provides a locale-bound `Intl` object as a Signal.
6
5
  */
7
6
  export declare const useIntl: (locale?: LocalesValues) => import("@angular/core").Signal<WrappedIntl>;
8
- //#endregion
9
7
  //# sourceMappingURL=useIntl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../src/format/useIntl.ts"],"mappings":";;;;;;qBAQa,UAAO,SAAa,0CAAa,OAAA"}
1
+ {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../src/format/useIntl.ts"],"mappings":";;;;;qBAQa,UAAO,SAAa,0CAAa,OAAA"}
@@ -1,6 +1,4 @@
1
- //#region src/format/useList.d.ts
2
1
  export declare const useList: () => import("@angular/core").Signal<(values: (string | number)[], options?: import("@intlayer/core/formatters").ListFormatOptions & {
3
2
  locale?: import("@intlayer/types").LocalesValues;
4
3
  }) => string>;
5
- //#endregion
6
4
  //# sourceMappingURL=useList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":";qBAIa,uCAAO,QAAA,6BAAA,8CAAA"}
1
+ {"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":"A,qBAIa,uCAAO,QAAA,6BAAA,8CAAA"}
@@ -1,9 +1,7 @@
1
- //#region src/format/useNumber.d.ts
2
1
  /**
3
2
  * Angular client hook that provides a localized number formatter.
4
3
  */
5
4
  export declare const useNumber: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
6
5
  locale?: import("@intlayer/types").LocalesValues;
7
6
  }) => string>;
8
- //#endregion
9
7
  //# sourceMappingURL=useNumber.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;qBAOa,yCAAS,QAAA,wBAAA,SAAA,KAAA"}
1
+ {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;qBAOa,yCAAS,QAAA,wBAAA,SAAA,KAAA"}
@@ -1,6 +1,4 @@
1
- //#region src/format/usePercentage.d.ts
2
1
  export declare const usePercentage: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
3
2
  locale?: import("@intlayer/types").LocalesValues;
4
3
  }) => string>;
5
- //#endregion
6
4
  //# sourceMappingURL=usePercentage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";qBAIa,6CAAa,QAAA,wBAAA,SAAA,KAAA"}
1
+ {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":"A,qBAIa,6CAAa,QAAA,wBAAA,SAAA,KAAA"}
@@ -1,7 +1,5 @@
1
- //#region src/format/useRelativeTime.d.ts
2
1
  export declare const useRelativeTime: () => import("@angular/core").Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
3
2
  locale?: import("@intlayer/types").LocalesValues;
4
3
  unit?: Intl.RelativeTimeFormatUnit;
5
4
  }) => string>;
6
- //#endregion
7
5
  //# sourceMappingURL=useRelativeTime.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";qBAIa,+CAAe,QAAA,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA"}
1
+ {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":"A,qBAIa,+CAAe,QAAA,wBAAA,MAAA,uBAAA,MAAA,UAAA,KAAA"}
@@ -1,6 +1,4 @@
1
- //#region src/format/useUnit.d.ts
2
1
  export declare const useUnit: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
3
2
  locale?: import("@intlayer/types").LocalesValues;
4
3
  }) => string>;
5
- //#endregion
6
4
  //# sourceMappingURL=useUnit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";qBAIa,uCAAO,QAAA,wBAAA,UAAA,KAAA"}
1
+ {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":"A,qBAIa,uCAAO,QAAA,wBAAA,UAAA,KAAA"}
@@ -1,12 +1,10 @@
1
1
  import { DeepTransformContent } from "./plugins.js";
2
2
  import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
3
3
  import { Dictionary, DictionarySelectorForGroup, QualifiedDictionaryGroup, ResolveQualifiedDictionaryContent } from "@intlayer/types/dictionary";
4
- //#region src/getDictionary.d.ts
5
4
  /**
6
5
  * Transforms a dictionary (or qualified dictionary group) and returns its
7
6
  * content for the given locale or selector (`{ item }`, `{ variant }`,
8
7
  * optionally combined with `locale`).
9
8
  */
10
9
  export declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelectorForGroup<T> = DeclaredLocales>(dictionary: T, localeOrSelector?: A) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, ExtractSelectorLocale<A>>;
11
- //#endregion
12
10
  //# sourceMappingURL=getDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;;;;;qBAmBa,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,MAClB,qBACD,kCAAkC,GAAG,IACrC,sBAAsB"}
1
+ {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;;;;qBAmBa,sBACL,UAAU,aAAa,gCACvB,UACF,gBACA,2BAA2B,KAAK,iBAAe,YAEvC,GAAC,mBACM,MAClB,qBACD,kCAAkC,GAAG,IACrC,sBAAsB"}
@@ -1,11 +1,9 @@
1
1
  import { DeepTransformContent } from "./plugins.js";
2
2
  import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, DictionarySelectorForKey, ExtractSelectorLocale, LocalesValues } from "@intlayer/types/module_augmentation";
3
- //#region src/getIntlayer.d.ts
4
3
  /**
5
4
  * Picks one dictionary by its key and returns its content for the given
6
5
  * locale or selector (`{ item }`, `{ variant }`,
7
6
  * optionally combined with `locale`).
8
7
  */
9
8
  export declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelectorForKey<T> = DeclaredLocales>(key: T, localeOrSelector?: A) => DeepTransformContent<DictionaryRegistryResult<T, A>, ExtractSelectorLocale<A>>;
10
- //#endregion
11
9
  //# sourceMappingURL=getIntlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../src/getIntlayer.ts"],"mappings":";;;;;;;;qBAgBa,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,qBACD,yBAAyB,GAAG,IAC5B,sBAAsB"}
1
+ {"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../src/getIntlayer.ts"],"mappings":";;;;;;;qBAgBa,oBACL,UAAU,sBACV,UAAU,gBAAgB,yBAAyB,KAAK,iBAAe,KAExE,GAAC,mBACa,MAClB,qBACD,yBAAyB,GAAG,IAC5B,sBAAsB"}
@@ -1,5 +1,4 @@
1
1
  import { InjectionToken, TemplateRef } from "@angular/core";
2
- //#region src/html/installIntlayerHTML.d.ts
3
2
  export declare const INTLAYER_HTML_TOKEN: InjectionToken<IntlayerHTMLProvider>;
4
3
  type RenderHTMLOptions = {
5
4
  components?: any;
@@ -28,5 +27,5 @@ export declare class IntlayerHTMLService {
28
27
  * Function to inject HTML provider
29
28
  */
30
29
  export declare const useHTML: () => IntlayerHTMLProvider;
31
- //#endregion
30
+ export {};
32
31
  //# sourceMappingURL=installIntlayerHTML.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;qBAOa,qBAAmB,eAAA;KAI3B;EACH;EACA;EACA;;KAGG,sBACH,cACA,kBAAkB,+BACN,mBAAmB,iBAAiB;YAEtC;EACV,YAAY;;;;;qBAYD,6BAA0B,aACzB;EAEZ,SAAO,eAAA;EACP,UAEK;;;;;qBASM;UACH;EAIR,WACE,cACA,2BACU,mBAAmB,iBAAiB;;;;;qBAWrC,eAAc"}
1
+ {"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";qBAOa,qBAAmB,eAAA;KAI3B;EACH;EACA;EACA;;KAGG,sBACH,cACA,kBAAkB,+BACN,mBAAmB,iBAAiB;YAEtC;EACV,YAAY;;;;;qBAYD,6BAA0B,aACzB;EAEZ,SAAO,eAAA;EACP,UAEK;;;;;qBASM;UACH;EAIR,WACE,cACA,2BACU,mBAAmB,iBAAiB;;;;;qBAWrC,eAAc"}
@@ -1,5 +1,5 @@
1
1
  import { IntlayerNodeComponent } from "./UI/IntlayerNode.component.js";
2
- import "./UI/index.js";
2
+ import { DeepTransformContent, HTMLPluginCond, IInterpreterPluginAngular, IInterpreterPluginState, InsertionPluginCond, IntlayerNodeCond, MarkdownCond, MarkdownStringCond, getPlugins, htmlPlugin, insertionPlugin, intlayerNodePlugins, markdownPlugin, markdownStringPlugin } from "./plugins.js";
3
3
  import { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient } from "./client/intlayerToken.js";
4
4
  import { provideIntlayerAnalytics, useAnalytics } from "./analytics/useAnalytics.js";
5
5
  import { ConversionParams, useConversion } from "./analytics/useConversion.js";
@@ -7,7 +7,7 @@ import { ExperimentState, useExperiment } from "./analytics/useExperiment.js";
7
7
  import "./analytics/index.js";
8
8
  import { installIntlayer, provideIntlayer } from "./client/installIntlayer.js";
9
9
  import { IntlayerNode } from "./renderIntlayerNode.js";
10
- import { DeepTransformContent, HTMLPluginCond, IInterpreterPluginAngular, IInterpreterPluginState, InsertionPluginCond, IntlayerNodeCond, MarkdownCond, MarkdownStringCond, getPlugins, htmlPlugin, insertionPlugin, intlayerNodePlugins, markdownPlugin, markdownStringPlugin } from "./plugins.js";
10
+ import "./client/index.js";
11
11
  import { useDictionary } from "./client/useDictionary.js";
12
12
  import { useDictionaryAsync } from "./client/useDictionaryAsync.js";
13
13
  import { useDictionaryDynamic } from "./client/useDictionaryDynamic.js";
@@ -15,14 +15,12 @@ import { isUpdatableNode, useIntlayer } from "./client/useIntlayer.js";
15
15
  import { useLoadDynamic } from "./client/useLoadDynamic.js";
16
16
  import { UseLocaleProps, UseLocaleResult, useLocale } from "./client/useLocale.js";
17
17
  import { usePathname } from "./client/usePathname.js";
18
- import "./client/index.js";
19
18
  import { getDictionary } from "./getDictionary.js";
20
19
  import { getIntlayer } from "./getIntlayer.js";
20
+ import "./UI/index.js";
21
21
  import { LocalesValues } from "@intlayer/types/module_augmentation";
22
- //#region src/index.d.ts
23
22
  declare module '@intlayer/core/interpreter' {
24
23
  interface IInterpreterPlugin<T, S, L extends LocalesValues> extends IInterpreterPluginAngular<T, S, L> {}
25
24
  }
26
- //#endregion
27
25
  export { ConversionParams, DeepTransformContent, ExperimentState, HTMLPluginCond, IInterpreterPluginAngular, IInterpreterPluginState, INTLAYER_TOKEN, InsertionPluginCond, type IntlayerNode, IntlayerNodeComponent, IntlayerNodeCond, IntlayerProvider, MarkdownCond, MarkdownStringCond, UseLocaleProps, UseLocaleResult, createIntlayerClient, getDictionary, getIntlayer, getPlugins, htmlPlugin, insertionPlugin, installIntlayer, intlayerNodePlugins, isUpdatableNode, markdownPlugin, markdownStringPlugin, provideIntlayer, provideIntlayerAnalytics, useAnalytics, useConversion, useDictionary, useDictionaryAsync, useDictionaryDynamic, useExperiment, useIntlayer, useLoadDynamic, useLocale, usePathname };
28
26
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;YAIY,mBAAmB,GAAG,GAAG,UAAU,uBACnC,0BAA0B,GAAG,GAAG"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;YAIY,mBAAmB,GAAG,GAAG,UAAU,uBACnC,0BAA0B,GAAG,GAAG"}
@@ -1,6 +1,5 @@
1
1
  import { InjectionToken, TemplateRef } from "@angular/core";
2
2
  import { CompileOptions, MarkdownRuntime, ParsedMarkdown } from "@intlayer/core/markdown";
3
- //#region src/markdown/installIntlayerMarkdown.d.ts
4
3
  /**
5
4
  * Options accepted by `compileMarkdown` and `parseMarkdown` to customise
6
5
  * rendering behaviour (custom components, sanitizer, slugify, rule hooks, …).
@@ -120,6 +119,5 @@ export declare class IntlayerMarkdownService {
120
119
  * ```
121
120
  */
122
121
  export declare const useMarkdown: () => IntlayerMarkdownProvider;
123
- //#endregion
124
122
  export type { ParsedMarkdown };
125
123
  //# sourceMappingURL=installIntlayerMarkdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;;;;YAsBY,0BAA0B;;;;;;qBAOzB,yBAAuB,eAAA;KAG/B;EACH;EACA;EACA;;KAGG,0BACH,mBAAmB,gBACnB,kBAAkB,mCACN,mBAAmB,iBAAiB;YAEtC;EACV,gBAAgB;;qBAIL,aAAa;;;;;;;;;;;;;;;;;;;qBA0Eb,gBAAa,mBACR,kBAEf;;;;;;;;;;;;;;;;qBAmCU,kBAAe,iBACV,gBAAc;;;;;;;;;;;;;;;;;;qBAkDnB,iCAA8B,iBACzB;EAEhB,SAAO,eAAA;EACP,UAEK;;;;;;;;;;;;;;;;;;;;qBAwBM;UACH;EAIR,eACE,mBAAmB,gBACnB,2BACU,mBAAmB,iBAAiB;;;;;;;;;;;;;;;;;;;;;qBA2BrC,mBAAkB"}
1
+ {"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;;;YAsBY,0BAA0B;;;;;;qBAOzB,yBAAuB,eAAA;KAG/B;EACH;EACA;EACA;;KAGG,0BACH,mBAAmB,gBACnB,kBAAkB,mCACN,mBAAmB,iBAAiB;YAEtC;EACV,gBAAgB;;qBAIL,aAAa;;;;;;;;;;;;;;;;;;;qBA0Eb,gBAAa,mBACR,kBAEf;;;;;;;;;;;;;;;;qBAmCU,kBAAe,iBACV,gBAAc;;;;;;;;;;;;;;;;;;qBAkDnB,iCAA8B,iBACzB;EAEhB,SAAO,eAAA;EACP,UAEK;;;;;;;;;;;;;;;;;;;;qBAwBM;UACH;EAIR,eACE,mBAAmB,gBACnB,2BACU,mBAAmB,iBAAiB;;;;;;;;;;;;;;;;;;;;;qBA2BrC,mBAAkB"}
@@ -3,7 +3,6 @@ import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentat
3
3
  import { DeepTransformContent as DeepTransformContent$1, IInterpreterPluginState as IInterpreterPluginState$1, Plugins } from "@intlayer/core/interpreter";
4
4
  import * as NodeTypes from "@intlayer/types/nodeType";
5
5
  import { NodeType } from "@intlayer/types/nodeType";
6
- //#region src/plugins.d.ts
7
6
  /** ---------------------------------------------
8
7
  * INTLAYER NODE PLUGIN
9
8
  * --------------------------------------------- */
@@ -80,6 +79,5 @@ export type DeepTransformContent<T, L extends LocalesValues = DeclaredLocales> =
80
79
  * This function is used by both getIntlayer and getDictionary to ensure consistent plugin configuration.
81
80
  */
82
81
  export declare const getPlugins: (locale?: LocalesValues, fallback?: boolean) => Plugins[];
83
- //#endregion
84
82
  export type { IntlayerNode };
85
83
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;;YAmHY,iBAAiB,KAAK,4BAC9B,aAAa;;qBAMJ,qBAAqB;;;;YAsCtB,mBAAmB,KAAK,mBAChC;EAAuB,UAAU;;;qBAIxB,sBAAsB;YA0EvB,aAAa,GAAG,IAAI,WAAW,iBAAiB;EAC1D,UAAU;GACT,UAAU,iBAAiB;EAC5B,aAAa;EACb,iBAAiB;IAEf,aACE;EAEE,MAAM,aAAa,aAAa;EAChC,UAAU,qBAAqB;;qBAK1B,gBAAgB;;;;;;;;;;YAoCjB,eAAe,GAAG,IAAI,MAAM;EACtC,UAAU;GACT,UAAU,aAAa;EACxB,aAAa;IAEX,aACE;EAEE,MAAM,aAAa,aAAa;;;qBAM3B,YAAY;;;;;;;YAwDb,oBAAoB,GAAG,GAAG,UAAU,iBAAiB;EAC/D,UAAU;GACT,UAAU,kBAAkB;KAGzB,MAAM,oCACH,kCAED,uBAAyB,SAAS,GAAG;qBAGhC,iBAAiB;iBAgGb,0BAA0B,GAAG,GAAG,UAAU;EACzD,qBAAqB,iBAAiB;EACtC,iBAAiB,aAAa,GAAG,GAAG;EACpC,aAAa,eAAe,GAAG,GAAG;EAClC,kBAAkB,oBAAoB,GAAG,GAAG;;;;;;;YAQlC,0BAA0B,KACpC;EAGA;EACA;EACA;EACA;;YAGU,qBACV,GACA,UAAU,gBAAgB,mBACxB,uBAAyB,GAAG,yBAAyB;;;;;qBAQ5C,aAAU,SACZ,eAAa,uBAErB"}
1
+ {"version":3,"file":"plugins.d.ts","names":["DeepTransformContentCore","IInterpreterPluginStateCore"],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;YAmHY,iBAAiB,KAAK,4BAC9B,aAAa;;qBAMJ,qBAAqB;;;;YAsCtB,mBAAmB,KAAK,mBAChC;EAAuB,UAAU;;;qBAIxB,sBAAsB;YA0EvB,aAAa,GAAG,IAAI,WAAW,iBAAiB;EAC1D,UAAU;GACT,UAAU,iBAAiB;EAC5B,aAAa;EACb,iBAAiB;IAEf,aACE;EAEE,MAAM,aAAa,aAAa;EAChC,UAAU,qBAAqB;;qBAK1B,gBAAgB;;;;;;;;;;YAoCjB,eAAe,GAAG,IAAI,MAAM;EACtC,UAAU;GACT,UAAU,aAAa;EACxB,aAAa;IAEX,aACE;EAEE,MAAM,aAAa,aAAa;;;qBAM3B,YAAY;;;;;;;YAwDb,oBAAoB,GAAG,GAAG,UAAU,iBAAiB;EAC/D,UAAU;GACT,UAAU,kBAAkB;KAGzB,MAAM,oCACH,kCAEDA,uBAAyB,SAAS,GAAG;qBAGhC,iBAAiB;iBAgGb,0BAA0B,GAAG,GAAG,UAAU;EACzD,qBAAqB,iBAAiB;EACtC,iBAAiB,aAAa,GAAG,GAAG;EACpC,aAAa,eAAe,GAAG,GAAG;EAClC,kBAAkB,oBAAoB,GAAG,GAAG;;;;;;;YAQlC,0BAA0B,KACpCC;EAGA;EACA;EACA;EACA;;YAGU,qBACV,GACA,UAAU,gBAAgB,mBACxBD,uBAAyB,GAAG,yBAAyB;;;;;qBAQ5C,aAAU,SACZ,eAAa,uBAErB"}
@@ -1,5 +1,4 @@
1
1
  import { ResolvedEditor } from "@intlayer/types/module_augmentation";
2
- //#region src/renderIntlayerNode.d.ts
3
2
  /**
4
3
  * Content node returned by `useIntlayer`.
5
4
  *
@@ -31,5 +30,5 @@ type RenderIntlayerNodeProps<T> = {
31
30
  * @returns The node.
32
31
  */
33
32
  export declare const renderIntlayerNode: <T>({ children, value, additionalProps }: RenderIntlayerNodeProps<T>) => IntlayerNode<T>;
34
- //#endregion
33
+ export {};
35
34
  //# sourceMappingURL=renderIntlayerNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;;;;;;;;;YAWY,aACV,YACA,6BACE,eACF;EAAM,OAAO;IAAM,iBACnB;EAAyB,OAAO;IAAM;;KAInC;KAEA,wBAAwB;EAC3B,OAAO;EACP;EACA;KAAqB;;;;;;;;;;;qBAWV,qBACX,KAAC,UAAA,OAAA,mBAKA,wBAAwB,OAAK,aAAa"}
1
+ {"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;;;;;;;;YAWY,aACV,YACA,6BACE,eACF;EAAM,OAAO;IAAM,iBACnB;EAAyB,OAAO;IAAM;;KAInC;KAEA,wBAAwB;EAC3B,OAAO;EACP;EACA;KAAqB;;;;;;;;;;;qBAWV,qBACX,KAAC,UAAA,OAAA,mBAKA,wBAAwB,OAAK,aAAa"}
@@ -1,4 +1,2 @@
1
- //#region src/webpack/mergeConfig.d.ts
2
1
  export declare const mergeConfig: (baseConfig: import('webpack').Configuration) => import('webpack').Configuration;
3
- //#endregion
4
2
  //# sourceMappingURL=mergeConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";qBAWa,cAAW,8BACQ,oCACX"}
1
+ {"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":"A,qBAWa,cAAW,8BACQ,oCACX"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-intlayer",
3
- "version": "9.7.0",
3
+ "version": "9.7.1",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Angular applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -119,20 +119,20 @@
119
119
  "dependencies": {
120
120
  "@babel/core": "^8.0.1",
121
121
  "@babel/plugin-syntax-import-attributes": "7.29.7",
122
- "@babel/preset-env": "8.0.2",
123
- "@intlayer/config": "9.7.0",
124
- "@intlayer/core": "9.7.0",
125
- "@intlayer/dictionaries-entry": "9.7.0",
126
- "@intlayer/editor": "9.7.0",
127
- "@intlayer/engine": "9.7.0",
128
- "@intlayer/types": "9.7.0",
129
- "@intlayer/webpack": "9.7.0",
122
+ "@babel/preset-env": "8.0.7",
123
+ "@intlayer/config": "9.7.1",
124
+ "@intlayer/core": "9.7.1",
125
+ "@intlayer/dictionaries-entry": "9.7.1",
126
+ "@intlayer/editor": "9.7.1",
127
+ "@intlayer/engine": "9.7.1",
128
+ "@intlayer/types": "9.7.1",
129
+ "@intlayer/webpack": "9.7.1",
130
130
  "babel-loader": "10.1.1",
131
131
  "defu": "6.1.7"
132
132
  },
133
133
  "devDependencies": {
134
- "@angular/common": "22.1.5",
135
- "@angular/core": "22.1.5",
134
+ "@angular/common": "22.1.8",
135
+ "@angular/core": "22.1.8",
136
136
  "@types/node": "^26",
137
137
  "@types/webpack": "5.28.5",
138
138
  "@utils/ts-config": "1.0.4",
@@ -140,9 +140,9 @@
140
140
  "@utils/tsdown-config": "1.0.4",
141
141
  "esbuild": "0.28.2",
142
142
  "rimraf": "6.1.3",
143
- "tsdown": "0.23.0",
143
+ "tsdown": "0.23.4",
144
144
  "typescript": "7.0.2",
145
- "vitest": "5.0.3"
145
+ "vitest": "5.1.0"
146
146
  },
147
147
  "peerDependencies": {
148
148
  "@angular/common": ">=15",
@@ -156,7 +156,7 @@
156
156
  }
157
157
  },
158
158
  "optionalDependencies": {
159
- "@intlayer/analytics": "9.7.0"
159
+ "@intlayer/analytics": "9.7.1"
160
160
  },
161
161
  "engines": {
162
162
  "node": ">=14.18"