angular-intlayer 8.9.7 → 8.10.0-canary.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/README.md +14 -0
  2. package/dist/cjs/UI/IntlayerNode.component.cjs +2 -2
  3. package/dist/cjs/UI/IntlayerNode.component.cjs.map +1 -1
  4. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorate.cjs +1 -1
  5. package/dist/cjs/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorateMetadata.cjs +1 -1
  6. package/dist/cjs/client/installIntlayer.cjs.map +1 -1
  7. package/dist/cjs/client/intlayerToken.cjs.map +1 -1
  8. package/dist/cjs/client/useDictionary.cjs.map +1 -1
  9. package/dist/cjs/client/useDictionaryAsync.cjs.map +1 -1
  10. package/dist/cjs/client/useDictionaryDynamic.cjs.map +1 -1
  11. package/dist/cjs/client/useIntlayer.cjs.map +1 -1
  12. package/dist/cjs/client/useLoadDynamic.cjs.map +1 -1
  13. package/dist/cjs/client/useLocale.cjs.map +1 -1
  14. package/dist/cjs/client/useLocaleStorage.cjs.map +1 -1
  15. package/dist/cjs/editor/ContentSelector.component.cjs +2 -2
  16. package/dist/cjs/editor/ContentSelector.component.cjs.map +1 -1
  17. package/dist/cjs/editor/EditorProvider.component.cjs +2 -2
  18. package/dist/cjs/editor/EditorProvider.component.cjs.map +1 -1
  19. package/dist/cjs/editor/useEditor.cjs.map +1 -1
  20. package/dist/cjs/format/useCompact.cjs.map +1 -1
  21. package/dist/cjs/format/useCurrency.cjs.map +1 -1
  22. package/dist/cjs/format/useDate.cjs.map +1 -1
  23. package/dist/cjs/format/useIntl.cjs.map +1 -1
  24. package/dist/cjs/format/useList.cjs.map +1 -1
  25. package/dist/cjs/format/useNumber.cjs.map +1 -1
  26. package/dist/cjs/format/usePercentage.cjs.map +1 -1
  27. package/dist/cjs/format/useRelativeTime.cjs.map +1 -1
  28. package/dist/cjs/format/useUnit.cjs.map +1 -1
  29. package/dist/cjs/getDictionary.cjs.map +1 -1
  30. package/dist/cjs/getIntlayer.cjs.map +1 -1
  31. package/dist/cjs/html/installIntlayerHTML.cjs +1 -1
  32. package/dist/cjs/html/installIntlayerHTML.cjs.map +1 -1
  33. package/dist/cjs/markdown/installIntlayerMarkdown.cjs +1 -1
  34. package/dist/cjs/markdown/installIntlayerMarkdown.cjs.map +1 -1
  35. package/dist/cjs/plugins.cjs.map +1 -1
  36. package/dist/cjs/renderIntlayerNode.cjs.map +1 -1
  37. package/dist/cjs/webpack/mergeConfig.cjs.map +1 -1
  38. package/dist/esm/UI/IntlayerNode.component.mjs +2 -2
  39. package/dist/esm/UI/IntlayerNode.component.mjs.map +1 -1
  40. package/dist/esm/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorate.mjs +1 -1
  41. package/dist/esm/_virtual/{_@oxc-project_runtime@0.129.0 → _@oxc-project_runtime@0.130.0}/helpers/decorateMetadata.mjs +1 -1
  42. package/dist/esm/client/installIntlayer.mjs.map +1 -1
  43. package/dist/esm/client/intlayerToken.mjs.map +1 -1
  44. package/dist/esm/client/useDictionary.mjs.map +1 -1
  45. package/dist/esm/client/useDictionaryAsync.mjs.map +1 -1
  46. package/dist/esm/client/useDictionaryDynamic.mjs.map +1 -1
  47. package/dist/esm/client/useIntlayer.mjs.map +1 -1
  48. package/dist/esm/client/useLoadDynamic.mjs.map +1 -1
  49. package/dist/esm/client/useLocale.mjs.map +1 -1
  50. package/dist/esm/client/useLocaleStorage.mjs.map +1 -1
  51. package/dist/esm/editor/ContentSelector.component.mjs +2 -2
  52. package/dist/esm/editor/ContentSelector.component.mjs.map +1 -1
  53. package/dist/esm/editor/EditorProvider.component.mjs +2 -2
  54. package/dist/esm/editor/EditorProvider.component.mjs.map +1 -1
  55. package/dist/esm/editor/useEditor.mjs.map +1 -1
  56. package/dist/esm/format/useCompact.mjs.map +1 -1
  57. package/dist/esm/format/useCurrency.mjs.map +1 -1
  58. package/dist/esm/format/useDate.mjs.map +1 -1
  59. package/dist/esm/format/useIntl.mjs.map +1 -1
  60. package/dist/esm/format/useList.mjs.map +1 -1
  61. package/dist/esm/format/useNumber.mjs.map +1 -1
  62. package/dist/esm/format/usePercentage.mjs.map +1 -1
  63. package/dist/esm/format/useRelativeTime.mjs.map +1 -1
  64. package/dist/esm/format/useUnit.mjs.map +1 -1
  65. package/dist/esm/getDictionary.mjs.map +1 -1
  66. package/dist/esm/getIntlayer.mjs.map +1 -1
  67. package/dist/esm/html/installIntlayerHTML.mjs +1 -1
  68. package/dist/esm/html/installIntlayerHTML.mjs.map +1 -1
  69. package/dist/esm/markdown/installIntlayerMarkdown.mjs +1 -1
  70. package/dist/esm/markdown/installIntlayerMarkdown.mjs.map +1 -1
  71. package/dist/esm/plugins.mjs.map +1 -1
  72. package/dist/esm/renderIntlayerNode.mjs.map +1 -1
  73. package/dist/esm/webpack/mergeConfig.mjs.map +1 -1
  74. package/dist/types/UI/IntlayerNode.component.d.ts.map +1 -1
  75. package/dist/types/client/installIntlayer.d.ts +2 -3
  76. package/dist/types/client/installIntlayer.d.ts.map +1 -1
  77. package/dist/types/client/intlayerToken.d.ts +1 -2
  78. package/dist/types/client/intlayerToken.d.ts.map +1 -1
  79. package/dist/types/client/useDictionaryAsync.d.ts +1 -2
  80. package/dist/types/client/useDictionaryAsync.d.ts.map +1 -1
  81. package/dist/types/client/useDictionaryDynamic.d.ts +2 -4
  82. package/dist/types/client/useDictionaryDynamic.d.ts.map +1 -1
  83. package/dist/types/client/useIntlayer.d.ts.map +1 -1
  84. package/dist/types/client/useLocale.d.ts.map +1 -1
  85. package/dist/types/client/useLocaleStorage.d.ts.map +1 -1
  86. package/dist/types/editor/useEditor.d.ts +1 -2
  87. package/dist/types/editor/useEditor.d.ts.map +1 -1
  88. package/dist/types/format/useCompact.d.ts +1 -2
  89. package/dist/types/format/useCompact.d.ts.map +1 -1
  90. package/dist/types/format/useCurrency.d.ts +1 -2
  91. package/dist/types/format/useCurrency.d.ts.map +1 -1
  92. package/dist/types/format/useDate.d.ts +2 -4
  93. package/dist/types/format/useDate.d.ts.map +1 -1
  94. package/dist/types/format/useIntl.d.ts +1 -2
  95. package/dist/types/format/useIntl.d.ts.map +1 -1
  96. package/dist/types/format/useList.d.ts +1 -2
  97. package/dist/types/format/useList.d.ts.map +1 -1
  98. package/dist/types/format/useNumber.d.ts +1 -2
  99. package/dist/types/format/useNumber.d.ts.map +1 -1
  100. package/dist/types/format/usePercentage.d.ts +1 -2
  101. package/dist/types/format/usePercentage.d.ts.map +1 -1
  102. package/dist/types/format/useRelativeTime.d.ts +1 -2
  103. package/dist/types/format/useRelativeTime.d.ts.map +1 -1
  104. package/dist/types/format/useUnit.d.ts +1 -2
  105. package/dist/types/format/useUnit.d.ts.map +1 -1
  106. package/dist/types/getDictionary.d.ts +1 -2
  107. package/dist/types/getDictionary.d.ts.map +1 -1
  108. package/dist/types/html/installIntlayerHTML.d.ts.map +1 -1
  109. package/dist/types/intlayer/dist/types/index.d.ts +1 -1
  110. package/dist/types/markdown/installIntlayerMarkdown.d.ts.map +1 -1
  111. package/dist/types/plugins.d.ts.map +1 -1
  112. package/dist/types/renderIntlayerNode.d.ts.map +1 -1
  113. package/dist/types/webpack/mergeConfig.d.ts.map +1 -1
  114. package/package.json +9 -9
@@ -1 +1 @@
1
- {"version":3,"file":"renderIntlayerNode.mjs","names":[],"sources":["../../src/renderIntlayerNode.ts"],"sourcesContent":["import type { ResolvedEditor } from '@intlayer/types/module_augmentation';\n\nexport type IntlayerNode<T = string, AdditionalProps = {}> = ResolvedEditor<\n T,\n any\n> & {\n value: T;\n} & AdditionalProps &\n T;\n\ntype RenderIntlayerNodeProps<T> = {\n value: T;\n children: any;\n additionalProps?: { [key: string]: any };\n};\n\nexport const renderIntlayerNode = <\n T, // Broadened to support arrays, numbers, objects, etc.\n>({\n children,\n value,\n additionalProps = {},\n}: RenderIntlayerNodeProps<T>): IntlayerNode<T> => {\n // If children is null or undefined, return a simple object with the value\n if (children == null) {\n return new Proxy({} as any, {\n get(target, prop, receiver) {\n if (prop === 'value') return value;\n if (prop === Symbol.toPrimitive) return () => value ?? '';\n if (prop === 'toString') return () => String(value ?? '');\n if (prop === 'valueOf') return () => value;\n\n // Additional Props take precedence\n if (additionalProps && prop in additionalProps) {\n return additionalProps[prop as keyof typeof additionalProps];\n }\n\n // Delegate native methods/properties to the underlying value\n if (\n value !== null &&\n value !== undefined &&\n typeof prop === 'string' &&\n prop !== 'constructor' &&\n !(prop in target)\n ) {\n const valObj = Object(value); // Safely boxes primitives (e.g., 50 -> Number object)\n if (prop in valObj) {\n const valProp = valObj[prop];\n return typeof valProp === 'function'\n ? valProp.bind(value)\n : valProp;\n }\n }\n\n return Reflect.get(target, prop, receiver);\n },\n }) as IntlayerNode<T>;\n }\n\n // Proxy target must be an object or function; wrap primitives\n const target =\n typeof children === 'object' || typeof children === 'function'\n ? children\n : ({} as any);\n\n // Return a Proxy that pretends to be the original content\n // but also has a .value getter and additional props.\n return new Proxy(target, {\n apply(target, thisArg, argumentsList) {\n if (typeof value === 'function') {\n return Reflect.apply(value as Function, thisArg, argumentsList);\n }\n return Reflect.apply(target as Function, thisArg, argumentsList);\n },\n get(target, prop, receiver) {\n if (prop === 'value') return value;\n if (prop === Symbol.toPrimitive) return () => value ?? '';\n if (prop === 'toString') return () => String(value ?? '');\n if (prop === 'valueOf') return () => value;\n\n // Additional Props take precedence\n if (additionalProps && prop in additionalProps) {\n return additionalProps[prop as keyof typeof additionalProps];\n }\n\n // Delegate native methods/properties to the underlying value\n if (\n value !== null &&\n value !== undefined &&\n typeof prop === 'string' &&\n prop !== 'constructor' &&\n !(prop in target)\n ) {\n const valObj = Object(value); // Safely boxes primitives (e.g., 50 -> Number object)\n if (prop in valObj) {\n const valProp = valObj[prop];\n return typeof valProp === 'function' ? valProp.bind(value) : valProp;\n }\n }\n\n return Refl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,SAAS,OAAO,MAAM;IAC5B,IAAI,QAAQ,QAAQ;KAClB,MAAM,UAAU,OAAO;KACvB,OAAO,OAAO,YAAY,aAAa,QAAQ,KAAK,MAAM,GAAG;;;GAIjE,OAAO,QAAQ,IAAI,QAAQ,MAAM,SAAS;;EAE7C,CAAC"}
1
+ {"version":3,"file":"renderIntlayerNode.mjs","names":[],"sources":["../../src/renderIntlayerNode.ts"],"sourcesContent":["import type { ResolvedEditor } from '@intlayer/types/module_augmentation';\n\nexport type IntlayerNode<T = string, AdditionalProps = {}> = ResolvedEditor<\n T,\n any\n> & {\n value: T;\n} & AdditionalProps &\n T;\n\ntype RenderIntlayerNodeProps<T> = {\n value: T;\n children: any;\n additionalProps?: { [key: string]: any };\n};\n\nexport const renderIntlayerNode = <\n T, // Broadened to support arrays, numbers, objects, etc.\n>({\n children,\n value,\n additionalProps = {},\n}: RenderIntlayerNodeProps<T>): IntlayerNode<T> => {\n // If children is null or undefined, return a simple object with the value\n if (children == null) {\n return new Proxy({} as any, {\n get(target, prop, receiver) {\n if (prop === 'value') return value;\n if (prop === Symbol.toPrimitive) return () => value ?? '';\n if (prop === 'toString') return () => String(value ?? '');\n if (prop === 'valueOf') return () => value;\n\n // Additional Props take precedence\n if (additionalProps && prop in additionalProps) {\n return additionalProps[prop as keyof typeof additionalProps];\n }\n\n // Delegate native methods/properties to the underlying value\n if (\n value !== null &&\n value !== undefined &&\n typeof prop === 'string' &&\n prop !== 'constructor' &&\n !(prop in target)\n ) {\n const valObj = Object(value); // Safely boxes primitives (e.g., 50 -> Number object)\n if (prop in valObj) {\n const valProp = valObj[prop];\n return typeof valProp === 'function'\n ? valProp.bind(value)\n : valProp;\n }\n }\n\n return Reflect.get(target, prop, receiver);\n },\n }) as IntlayerNode<T>;\n }\n\n // Proxy target must be an object or function; wrap primitives\n const target =\n typeof children === 'object' || typeof children === 'function'\n ? children\n : ({} as any);\n\n // Return a Proxy that pretends to be the original content\n // but also has a .value getter and additional props.\n return new Proxy(target, {\n apply(target, thisArg, argumentsList) {\n if (typeof value === 'function') {\n return Reflect.apply(value as Function, thisArg, argumentsList);\n }\n return Reflect.apply(target as Function, thisArg, argumentsList);\n },\n get(target, prop, receiver) {\n if (prop === 'value') return value;\n if (prop === Symbol.toPrimitive) return () => value ?? '';\n if (prop === 'toString') return () => String(value ?? '');\n if (prop === 'valueOf') return () => value;\n\n // Additional Props take precedence\n if (additionalProps && prop in additionalProps) {\n return additionalProps[prop as keyof typeof additionalProps];\n }\n\n // Delegate native methods/properties to the underlying value\n if (\n value !== null &&\n value !== undefined &&\n typeof prop === 'string' &&\n prop !== 'constructor' &&\n !(prop in target)\n ) {\n const valObj = Object(value); // Safely boxes primitives (e.g., 50 -> Number object)\n if (prop in valObj) {\n const valProp = valObj[prop];\n return typeof valProp === 'function' ? valProp.bind(value) : valProp;\n }\n }\n\n return Reflect.get(target, prop, receiver);\n },\n }) as IntlayerNode<T>;\n};\n"],"mappings":";AAgBA,MAAa,sBAEX,EACA,UACA,OACA,kBAAkB,CAAC,QAC8B;CAEjD,IAAI,YAAY,MACd,OAAO,IAAI,MAAM,CAAC,GAAU,EAC1B,IAAI,QAAQ,MAAM,UAAU;EAC1B,IAAI,SAAS,SAAS,OAAO;EAC7B,IAAI,SAAS,OAAO,aAAa,aAAa,SAAS;EACvD,IAAI,SAAS,YAAY,aAAa,OAAO,SAAS,EAAE;EACxD,IAAI,SAAS,WAAW,aAAa;EAGrC,IAAI,mBAAmB,QAAQ,iBAC7B,OAAO,gBAAgB;EAIzB,IACE,UAAU,QACV,UAAU,UACV,OAAO,SAAS,YAChB,SAAS,iBACT,EAAE,QAAQ,SACV;GACA,MAAM,SAAS,OAAO,KAAK;GAC3B,IAAI,QAAQ,QAAQ;IAClB,MAAM,UAAU,OAAO;IACvB,OAAO,OAAO,YAAY,aACtB,QAAQ,KAAK,KAAK,IAClB;GACN;EACF;EAEA,OAAO,QAAQ,IAAI,QAAQ,MAAM,QAAQ;CAC3C,EACF,CAAC;CAWH,OAAO,IAAI,MANT,OAAO,aAAa,YAAY,OAAO,aAAa,aAChD,WACC,CAAC,GAIiB;EACvB,MAAM,QAAQ,SAAS,eAAe;GACpC,IAAI,OAAO,UAAU,YACnB,OAAO,QAAQ,MAAM,OAAmB,SAAS,aAAa;GAEhE,OAAO,QAAQ,MAAM,QAAoB,SAAS,aAAa;EACjE;EACA,IAAI,QAAQ,MAAM,UAAU;GAC1B,IAAI,SAAS,SAAS,OAAO;GAC7B,IAAI,SAAS,OAAO,aAAa,aAAa,SAAS;GACvD,IAAI,SAAS,YAAY,aAAa,OAAO,SAAS,EAAE;GACxD,IAAI,SAAS,WAAW,aAAa;GAGrC,IAAI,mBAAmB,QAAQ,iBAC7B,OAAO,gBAAgB;GAIzB,IACE,UAAU,QACV,UAAU,UACV,OAAO,SAAS,YAChB,SAAS,iBACT,EAAE,QAAQ,SACV;IACA,MAAM,SAAS,OAAO,KAAK;IAC3B,IAAI,QAAQ,QAAQ;KAClB,MAAM,UAAU,OAAO;KACvB,OAAO,OAAO,YAAY,aAAa,QAAQ,KAAK,KAAK,IAAI;IAC/D;GACF;GAEA,OAAO,QAAQ,IAAI,QAAQ,MAAM,QAAQ;EAC3C;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"mergeConfig.mjs","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"sourcesContent":["import { resolve } from 'node:path';\nimport { getConfiguration } from '@intlayer/config/node';\nimport { getAlias } from '@intlayer/config/utils';\nimport { IntlayerPlugin } from '@intlayer/webpack'; // adjust path if needed\nimport { defu } from 'defu';\n\nexport const mergeConfig = (\n baseConfig: import('webpack').Configuration\n): import('webpack').Configuration => {\n const intlayerConfig = getConfiguration();\n\n const config = {\n resolve: {\n alias: getAlias({\n configuration: intlayerConfig,\n formatter: (value: string) => resolve(value), // get absolute path\n }),\n },\n externals: {\n esbuild: 'esbuild',\n module: 'module',\n fs: 'fs',\n chokidar: 'chokidar',\n fsevents: 'fsevents',\n },\n module: {\n rules: [\n {\n test: /\\.node$/,\n loader: 'node-loader',\n },\n\n // Fix `import _48DQ2FD8DPGT8SPgqAmt from '../dictionary/app.json' with { type: 'json' };` syntax\n {\n test: /\\.mjs$/,\n include: [/[\\\\/]\\.intlayer[\\\\/]/],\n type: 'javascript/auto',\n enforce: 'pre',\n use: {\n loader: 'babel-loader',\n options: {\n presets: [['@babel/preset-env', { modules: 'commonjs' }]],\n plugins: [\n [\n '@babel/plugin-syntax-import-attributes',\n { deprecatedAssert: true },\n ],\n ],\n },\n },\n },\n ],\n },\n plugins: [new IntlayerPlugin(intlayerConfig)],\n };\n\n return defu(config, baseConfig) as import('webpack').Configuration;\n};\n"],"mappings":";;;;;;;AAMA,MAAa,eACX,eACoC;CACpC,MAAM,iBAAiB,kBAAkB;CA+CzC,OAAO,KAAK;EA5CV,SAAS,EACP,OAAO,SAAS;GACd,eAAe;GACf,YAAY,UAAkB,QAAQ,MAAM;GAC7C,CAAC,EACH;EACD,WAAW;GACT,SAAS;GACT,QAAQ;GACR,IAAI;GACJ,UAAU;GACV,UAAU;GACX;EACD,QAAQ,EACN,OAAO,CACL;GACE,MAAM;GACN,QAAQ;GACT,EAGD;GACE,MAAM;GACN,SAAS,CAAC,uBAAuB;GACjC,MAAM;GACN,SAAS;GACT,KAAK;IACH,QAAQ;IACR,SAAS;KACP,SAAS,CAAC,CAAC,qBAAqB,EAAE,SAAS,YAAY,CAAC,CAAC;KACzD,SAAS,CACP,CACE,0CACA,EAAE,kBAAkB,MAAM,CAC3B,CACF;KACF;IACF;GACF,CACF,EACF;EACD,SAAS,CAAC,IAAI,eAAe,eAAe,CAAC;EAG7B,EAAE,WAAW"}
1
+ {"version":3,"file":"mergeConfig.mjs","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"sourcesContent":["import { resolve } from 'node:path';\nimport { getConfiguration } from '@intlayer/config/node';\nimport { getAlias } from '@intlayer/config/utils';\nimport { IntlayerPlugin } from '@intlayer/webpack'; // adjust path if needed\nimport { defu } from 'defu';\n\nexport const mergeConfig = (\n baseConfig: import('webpack').Configuration\n): import('webpack').Configuration => {\n const intlayerConfig = getConfiguration();\n\n const config = {\n resolve: {\n alias: getAlias({\n configuration: intlayerConfig,\n formatter: (value: string) => resolve(value), // get absolute path\n }),\n },\n externals: {\n esbuild: 'esbuild',\n module: 'module',\n fs: 'fs',\n chokidar: 'chokidar',\n fsevents: 'fsevents',\n },\n module: {\n rules: [\n {\n test: /\\.node$/,\n loader: 'node-loader',\n },\n\n // Fix `import _48DQ2FD8DPGT8SPgqAmt from '../dictionary/app.json' with { type: 'json' };` syntax\n {\n test: /\\.mjs$/,\n include: [/[\\\\/]\\.intlayer[\\\\/]/],\n type: 'javascript/auto',\n enforce: 'pre',\n use: {\n loader: 'babel-loader',\n options: {\n presets: [['@babel/preset-env', { modules: 'commonjs' }]],\n plugins: [\n [\n '@babel/plugin-syntax-import-attributes',\n { deprecatedAssert: true },\n ],\n ],\n },\n },\n },\n ],\n },\n plugins: [new IntlayerPlugin(intlayerConfig)],\n };\n\n return defu(config, baseConfig) as import('webpack').Configuration;\n};\n"],"mappings":";;;;;;;AAMA,MAAa,eACX,eACoC;CACpC,MAAM,iBAAiB,iBAAiB;CA+CxC,OAAO,KAAK;EA5CV,SAAS,EACP,OAAO,SAAS;GACd,eAAe;GACf,YAAY,UAAkB,QAAQ,KAAK;EAC7C,CAAC,EACH;EACA,WAAW;GACT,SAAS;GACT,QAAQ;GACR,IAAI;GACJ,UAAU;GACV,UAAU;EACZ;EACA,QAAQ,EACN,OAAO,CACL;GACE,MAAM;GACN,QAAQ;EACV,GAGA;GACE,MAAM;GACN,SAAS,CAAC,sBAAsB;GAChC,MAAM;GACN,SAAS;GACT,KAAK;IACH,QAAQ;IACR,SAAS;KACP,SAAS,CAAC,CAAC,qBAAqB,EAAE,SAAS,WAAW,CAAC,CAAC;KACxD,SAAS,CACP,CACE,0CACA,EAAE,kBAAkB,KAAK,CAC3B,CACF;IACF;GACF;EACF,CACF,EACF;EACA,SAAS,CAAC,IAAI,eAAe,cAAc,CAAC;CAG7B,GAAG,UAAU;AAChC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IntlayerNode.component.d.ts","names":[],"sources":["../../../src/UI/IntlayerNode.component.ts"],"mappings":";;;;;AAyBA;;;;;;;;;;;cASa,qBAAA,YAAiC,SAAA;EACnC,IAAA;EAAA,QAED,GAAA;EAAA,QACA,KAAA;EAAA,QACA,GAAA;EAER,WAAA,CAAY,OAAA,EAAS,aAAA;EAAA,QAMb,MAAA;AAAA"}
1
+ {"version":3,"file":"IntlayerNode.component.d.ts","names":[],"sources":["../../../src/UI/IntlayerNode.component.ts"],"mappings":";;;;;AAyBA;;;;;;;;;;;cASa,qBAAA,YAAiC,SAAS;EAC5C,IAAA;EAAA,QAED,GAAA;EAAA,QACA,KAAA;EAAA,QACA,GAAA;EAER,WAAA,CAAY,OAAA,EAAS,aAAA;EAAA,QAMb,MAAA;AAAA"}
@@ -1,5 +1,4 @@
1
1
  import { INTLAYER_TOKEN, IntlayerProvider, createIntlayerClient } from "./intlayerToken.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
4
3
 
5
4
  //#region src/client/installIntlayer.d.ts
@@ -26,8 +25,8 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
26
25
  * };
27
26
  * ```
28
27
  */
29
- declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean) => (_$_angular_core0.EnvironmentProviders | {
30
- provide: _$_angular_core0.InjectionToken<IntlayerProvider>;
28
+ declare const provideIntlayer: (locale?: LocalesValues, isCookieEnabled?: boolean) => (import("@angular/core").EnvironmentProviders | {
29
+ provide: import("@angular/core").InjectionToken<IntlayerProvider>;
31
30
  useValue: IntlayerProvider;
32
31
  })[];
33
32
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"installIntlayer.d.ts","names":[],"sources":["../../../src/client/installIntlayer.ts"],"mappings":";;;;;;;AAiCA;;;;;;;;;;;;;;;;;;;;;cAAa,eAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,gBADsB,gBAAA,CACA,oBAAA;;;;;;;cAaX,eAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,eAAsB,gBAAA"}
1
+ {"version":3,"file":"installIntlayer.d.ts","names":[],"sources":["../../../src/client/installIntlayer.ts"],"mappings":";;;;;AAiCA;;;;;;;;;;;;;;;;;;;AAeA;;;cAfa,eAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,wCAAsB,oBAAA;;;;;;AAkBvB;cALY,eAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,eAAsB,gBAGvB"}
@@ -1,10 +1,9 @@
1
- import * as _$_angular_core0 from "@angular/core";
2
1
  import { InjectionToken, Signal } from "@angular/core";
3
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
4
3
 
5
4
  //#region src/client/intlayerToken.d.ts
6
5
  declare class IntlayerProvider {
7
- isCookieEnabled: _$_angular_core0.WritableSignal<boolean>;
6
+ isCookieEnabled: import("@angular/core").WritableSignal<boolean>;
8
7
  private _locale;
9
8
  readonly locale: Signal<LocalesValues>;
10
9
  constructor();
@@ -1 +1 @@
1
- {"version":3,"file":"intlayerToken.d.ts","names":[],"sources":["../../../src/client/intlayerToken.ts"],"mappings":";;;;;cAKa,gBAAA;EACX,eAAA,EAD2B,gBAAA,CACZ,cAAA;EAAA,QACP,OAAA;EAAA,SAIC,MAAA,EAAQ,MAAA,CAAO,aAAA;;EAMxB,SAAA,GAAa,MAAA,EAAQ,aAAA;AAAA;AAAA,cAKV,cAAA,EAAc,cAAA,CAAA,gBAAA;;;;cAUd,oBAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,eACC,gBAAA"}
1
+ {"version":3,"file":"intlayerToken.d.ts","names":[],"sources":["../../../src/client/intlayerToken.ts"],"mappings":";;;;cAKa,gBAAA;EACX,eAAA,0BAAe,cAAA;EAAA,QACP,OAAA;EAAA,SAIC,MAAA,EAAQ,MAAA,CAAO,aAAA;;EAMxB,SAAA,GAAa,MAAA,EAAQ,aAAA;AAAA;AAAA,cAKV,cAAA,EAAc,cAAA,CAAA,gBAAA;;;;cAUd,oBAAA,GACX,MAAA,GAAS,aAAA,EACT,eAAA,eACC,gBAWF"}
@@ -1,4 +1,3 @@
1
- import * as _$_angular_core0 from "@angular/core";
2
1
  import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
3
2
  import { Dictionary } from "@intlayer/types/dictionary";
4
3
 
@@ -8,7 +7,7 @@ import { Dictionary } from "@intlayer/types/dictionary";
8
7
  *
9
8
  * If the locale is not provided, it will use the locale from the client context
10
9
  */
11
- declare const useDictionaryAsync: <T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<_$_angular_core0.Signal<any>>;
10
+ declare const useDictionaryAsync: <T extends Dictionary>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, locale?: LocalesValues) => Promise<import("@angular/core").Signal<any>>;
12
11
  //#endregion
13
12
  export { useDictionaryAsync };
14
13
  //# sourceMappingURL=useDictionaryAsync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;;;AAiBA;;cAAa,kBAAA,aAAsC,UAAA,EACjD,iBAAA,EAAmB,mBAAA,OAA0B,OAAA,CAAQ,CAAA,IACrD,MAAA,GAAS,aAAA,KAAa,OAAA,CAAA,gBAAA,CAAA,MAAA"}
1
+ {"version":3,"file":"useDictionaryAsync.d.ts","names":[],"sources":["../../../src/client/useDictionaryAsync.ts"],"mappings":";;;;;;AAiBA;;;cAAa,kBAAA,aAAsC,UAAA,EACjD,iBAAA,EAAmB,mBAAA,OAA0B,OAAA,CAAQ,CAAA,IACrD,MAAA,GAAS,aAAA,KAAa,OAAA,yBAAA,MAAA"}
@@ -1,9 +1,7 @@
1
- import { IInterpreterPluginState as IInterpreterPluginState$1 } from "../plugins.js";
1
+ import { IInterpreterPluginState } from "../plugins.js";
2
2
  import { Locale } from "../intlayer/dist/types/index.js";
3
- import * as _$_angular_core0 from "@angular/core";
4
3
  import { DictionaryKeys, LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
5
4
  import { Dictionary } from "@intlayer/types/dictionary";
6
- import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
7
5
 
8
6
  //#region src/client/useDictionaryDynamic.d.ts
9
7
  /**
@@ -11,7 +9,7 @@ import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
11
9
  *
12
10
  * If the locale is not provided, it will use the locale from the client context
13
11
  */
14
- declare const useDictionaryDynamic: <T extends Dictionary, K extends DictionaryKeys>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, key: K, locale?: LocalesValues) => _$_angular_core0.Signal<_$_intlayer_core_interpreter0.DeepTransformContent<T["content"], IInterpreterPluginState$1, Locale>>;
12
+ declare const useDictionaryDynamic: <T extends Dictionary, K extends DictionaryKeys>(dictionaryPromise: StrictModeLocaleMap<() => Promise<T>>, key: K, locale?: LocalesValues) => import("@angular/core").Signal<import("@intlayer/core/interpreter").DeepTransformContent<T["content"], IInterpreterPluginState, Locale>>;
15
13
  //#endregion
16
14
  export { useDictionaryDynamic };
17
15
  //# sourceMappingURL=useDictionaryDynamic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;;;;;cAmBa,oBAAA,aACD,UAAA,YACA,cAAA,EAEV,iBAAA,EAAmB,mBAAA,OAA0B,OAAA,CAAQ,CAAA,IACrD,GAAA,EAAK,CAAA,EACL,MAAA,GAAS,aAAA,KAAa,gBAAA,CAAA,MAAA,CAAA,6BAAA,CAAA,oBAAA,CAAA,CAAA,aAAA,yBAAA,EAAA,MAAA"}
1
+ {"version":3,"file":"useDictionaryDynamic.d.ts","names":[],"sources":["../../../src/client/useDictionaryDynamic.ts"],"mappings":";;;;;;;;;;;cAmBa,oBAAA,aACD,UAAA,YACA,cAAA,EAEV,iBAAA,EAAmB,mBAAA,OAA0B,OAAA,CAAQ,CAAA,IACrD,GAAA,EAAK,CAAA,EACL,MAAA,GAAS,aAAA,6BAAa,MAAA,sCAAA,oBAAA,CAAA,CAAA,aAAA,uBAAA,EAAA,MAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;;cAWa,eAAA,GACX,GAAA,cACC,GAAA;EAAS,QAAA,GAAW,CAAA;AAAA;;;;;;;;;AA8BvB;;;;;;;;;;;;;;;;;cAAa,WAAA,aAAyB,cAAA,YAA0B,aAAA,EAC9D,GAAA,EAAK,CAAA,EACL,MAAA,GAAS,aAAA,KACR,MAAA,CAAO,oBAAA,CAAqB,yBAAA,CAA0B,CAAA"}
1
+ {"version":3,"file":"useIntlayer.d.ts","names":[],"sources":["../../../src/client/useIntlayer.ts"],"mappings":";;;;;;cAWa,eAAA,GACX,GAAA,cACC,GAAA;EAAS,QAAA,GAAW,CAAA;AAAA;;;;;;;;AAAU;AA8BjC;;;;;;;;;;;;;;;;;cAAa,WAAA,aAAyB,cAAA,YAA0B,aAAA,EAC9D,GAAA,EAAK,CAAA,EACL,MAAA,GAAS,aAAA,KACR,MAAA,CAAO,oBAAA,CAAqB,yBAAA,CAA0B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;;;KASY,cAAA;EACV,eAAA;EACA,cAAA,IAAkB,MAAA,EAAQ,eAAA;AAAA;AAAA,KAGhB,eAAA;EACV,MAAA,EAAQ,MAAA,CAAO,eAAA;EACf,aAAA,EAAe,eAAA;EACf,gBAAA,EAAkB,eAAA;EAClB,SAAA,GAAY,MAAA,EAAQ,aAAA;AAAA;;;AAJtB;;;;;;;;;;;;;;;;;;;;;;AAkCA;;;cAAa,SAAA;EAAa,eAAA;EAAA;AAAA,IAGvB,cAAA,KAAsB,eAAA"}
1
+ {"version":3,"file":"useLocale.d.ts","names":[],"sources":["../../../src/client/useLocale.ts"],"mappings":";;;;KASY,cAAA;EACV,eAAA;EACA,cAAA,IAAkB,MAAA,EAAQ,eAAe;AAAA;AAAA,KAG/B,eAAA;EACV,MAAA,EAAQ,MAAA,CAAO,eAAA;EACf,aAAA,EAAe,eAAA;EACf,gBAAA,EAAkB,eAAA;EAClB,SAAA,GAAY,MAAA,EAAQ,aAAA;AAAA;;AAPqB;AAG3C;;;;;;;;;;;;;;;;;;;;;AAImC;AA8BnC;;;cAAa,SAAA;EAAa,eAAA;EAAA;AAAA,IAGvB,cAAA,KAAsB,eAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;AAcA;;;AAAA,cAAa,eAAA,EAAkE,MAAA;;AAM/E;;;;cAAa,YAAA,EAA8B,MAAA;AAK3C;;;AAAA,cAAa,kBAAA,GACX,MAAA,EAAQ,aAAA,EACR,eAAA;;;;;;cAYW,eAAA,GAAe,MAAA,EAblB,aAAA,EAAa,eAAA;;;;cAkBV,gBAAA,GAAoB,eAAA;mBAI7B,MAAA;sBAAA,aAAA;AAAA;;AAJJ;;;;;;cAaa,eAAA,GAAmB,eAAA;gBAO/B,MAAA;4BAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useLocaleStorage.d.ts","names":[],"sources":["../../../src/client/useLocaleStorage.ts"],"mappings":";;;;;;;AAcA;;;AAAA,cAAa,eAAA,EAAkE,MAAA;AAAA;AAM/E;;;;AAN+E,cAMlE,YAAA,EAA8B,MAAA;AAK3C;;;AAAA,cAAa,kBAAA,GACX,MAAA,EAAQ,aAAa,EACrB,eAAA;;;;;AAAwB;cAYb,eAAA,GAAe,MAAA,EAblB,aAAa,EAAA,eAAA;;;;cAkBV,gBAAA,GAAoB,eAAA;mBAI7B,MAAA;sBAAA,aAAA;AAAA;AArBsB;AAiB1B;;;;;;AAjB0B,cA8Bb,eAAA,GAAmB,eAAA;gBAO/B,MAAA;4BAAA,aAAA;AAAA"}
@@ -1,5 +1,4 @@
1
1
  import { IntlayerProvider } from "../client/intlayerToken.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/editor/useEditor.d.ts
5
4
  /**
@@ -32,7 +31,7 @@ declare const useEditor: (client?: IntlayerProvider | null) => void;
32
31
  * };
33
32
  * ```
34
33
  */
35
- declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => _$_angular_core0.EnvironmentProviders;
34
+ declare const provideIntlayerEditor: (client?: IntlayerProvider | null) => import("@angular/core").EnvironmentProviders;
36
35
  //#endregion
37
36
  export { provideIntlayerEditor, useEditor };
38
37
  //# sourceMappingURL=useEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.ts"],"mappings":";;;;;;;AA4BA;;;;;AA6DA;;;;cA7Da,SAAA,GAAa,MAAA,GAAS,gBAAA;;;;;;;;;;;;;;;;;;cA6DtB,qBAAA,GAAyB,MAAA,GAAS,gBAAA,YAAgB,gBAAA,CAAO,oBAAA"}
1
+ {"version":3,"file":"useEditor.d.ts","names":[],"sources":["../../../src/editor/useEditor.ts"],"mappings":";;;;;AA4BA;;;;AAA0D;AA6D1D;;;;;cA7Da,SAAA,GAAa,MAAgC,GAAvB,gBAAgB;;;AA8DH;;;;;;;;;;;;;;;cADnC,qBAAA,GAAyB,MAAA,GAAS,gBAAgB,oCAAO,oBAAA"}
@@ -1,8 +1,7 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/useCompact.d.ts
5
- declare const useCompact: () => _$_angular_core0.Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
4
+ declare const useCompact: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
6
5
  locale?: LocalesValues;
7
6
  }) => string>;
8
7
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":";;;;cAIa,UAAA,yBAAU,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useCompact.d.ts","names":[],"sources":["../../../src/format/useCompact.ts"],"mappings":";;;cAIa,UAAA,gCAAU,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
@@ -1,8 +1,7 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/useCurrency.d.ts
5
- declare const useCurrency: () => _$_angular_core0.Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
4
+ declare const useCurrency: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
6
5
  locale?: LocalesValues;
7
6
  }) => string>;
8
7
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":";;;;cAIa,WAAA,yBAAW,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useCurrency.d.ts","names":[],"sources":["../../../src/format/useCurrency.ts"],"mappings":";;;cAIa,WAAA,gCAAW,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
@@ -1,14 +1,12 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
- import * as _$_intlayer_core_formatters0 from "@intlayer/core/formatters";
4
2
 
5
3
  //#region src/format/useDate.d.ts
6
4
  /**
7
5
  * Angular client hook that provides a localized date/time formatter.
8
6
  */
9
- declare const useDate: () => _$_angular_core0.Signal<(date: string | number | Date, options?: (Intl.DateTimeFormatOptions & {
7
+ declare const useDate: () => import("@angular/core").Signal<(date: string | number | Date, options?: (Intl.DateTimeFormatOptions & {
10
8
  locale?: LocalesValues;
11
- }) | _$_intlayer_core_formatters0.DateTimePreset) => string>;
9
+ }) | import("@intlayer/core/formatters").DateTimePreset) => string>;
12
10
  //#endregion
13
11
  export { useDate };
14
12
  //# sourceMappingURL=useDate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;;;;;;cAOa,OAAA,yBAAO,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,OAAA,IAAA,IAAA,CAAA,qBAAA;WAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useDate.d.ts","names":[],"sources":["../../../src/format/useDate.ts"],"mappings":";;;;;;cAOa,OAAA,gCAAO,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,OAAA,IAAA,IAAA,CAAA,qBAAA;WAAA,aAAA;AAAA"}
@@ -1,4 +1,3 @@
1
- import * as _$_angular_core0 from "@angular/core";
2
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
2
  import { WrappedIntl } from "@intlayer/core/formatters";
4
3
 
@@ -6,7 +5,7 @@ import { WrappedIntl } from "@intlayer/core/formatters";
6
5
  /**
7
6
  * Angular composable that provides a locale-bound `Intl` object as a Signal.
8
7
  */
9
- declare const useIntl: (locale?: LocalesValues) => _$_angular_core0.Signal<WrappedIntl>;
8
+ declare const useIntl: (locale?: LocalesValues) => import("@angular/core").Signal<WrappedIntl>;
10
9
  //#endregion
11
10
  export { useIntl };
12
11
  //# sourceMappingURL=useIntl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../src/format/useIntl.ts"],"mappings":";;;;;;;;cAQa,OAAA,GAAW,MAAA,GAAS,aAAA,KAAa,gBAAA,CAAA,MAAA,CAAA,WAAA"}
1
+ {"version":3,"file":"useIntl.d.ts","names":[],"sources":["../../../src/format/useIntl.ts"],"mappings":";;;;;;AAQA;cAAa,OAAA,GAAW,MAAA,GAAS,aAAA,6BAAa,MAAA,CAAA,WAAA"}
@@ -1,8 +1,7 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/useList.d.ts
5
- declare const useList: () => _$_angular_core0.Signal<(values: (string | number)[], options?: {
4
+ declare const useList: () => import("@angular/core").Signal<(values: (string | number)[], options?: {
6
5
  localeMatcher?: "lookup" | "best fit";
7
6
  type?: "conjunction" | "disjunction" | "unit";
8
7
  style?: "long" | "short" | "narrow";
@@ -1 +1 @@
1
- {"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":";;;;cAIa,OAAA,QAWZ,gBAAA,CAXmB,MAAA,EAAA,MAAA,uBAAA,OAAA;;;;;WAWnB,aAAA;AAAA"}
1
+ {"version":3,"file":"useList.d.ts","names":[],"sources":["../../../src/format/useList.ts"],"mappings":";;;cAIa,OAAA,gCAAO,MAAA,EAAA,MAAA,uBAAA,OAAA;;;;;WAWnB,aAAA;AAAA"}
@@ -1,11 +1,10 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/useNumber.d.ts
5
4
  /**
6
5
  * Angular client hook that provides a localized number formatter.
7
6
  */
8
- declare const useNumber: () => _$_angular_core0.Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
7
+ declare const useNumber: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
9
8
  locale?: LocalesValues;
10
9
  }) => string>;
11
10
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;;;;cAOa,SAAA,yBAAS,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useNumber.d.ts","names":[],"sources":["../../../src/format/useNumber.ts"],"mappings":";;;;;;cAOa,SAAA,gCAAS,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
@@ -1,8 +1,7 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/usePercentage.d.ts
5
- declare const usePercentage: () => _$_angular_core0.Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
4
+ declare const usePercentage: () => import("@angular/core").Signal<(value: string | number, args_1?: Intl.NumberFormatOptions & {
6
5
  locale?: LocalesValues;
7
6
  }) => string>;
8
7
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";;;;cAIa,aAAA,yBAAa,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"usePercentage.d.ts","names":[],"sources":["../../../src/format/usePercentage.ts"],"mappings":";;;cAIa,aAAA,gCAAa,MAAA,EAAA,KAAA,mBAAA,MAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
@@ -1,8 +1,7 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/useRelativeTime.d.ts
5
- declare const useRelativeTime: () => _$_angular_core0.Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
4
+ declare const useRelativeTime: () => import("@angular/core").Signal<(from: string | number | Date, to?: string | number | Date, options?: Intl.RelativeTimeFormatOptions & {
6
5
  locale?: LocalesValues;
7
6
  unit?: Intl.RelativeTimeFormatUnit;
8
7
  }) => string>;
@@ -1 +1 @@
1
- {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";;;;cAIa,eAAA,yBAAe,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,EAAA,qBAAA,IAAA,EAAA,OAAA,GAAA,IAAA,CAAA,yBAAA;WAAA,aAAA"}
1
+ {"version":3,"file":"useRelativeTime.d.ts","names":[],"sources":["../../../src/format/useRelativeTime.ts"],"mappings":";;;cAIa,eAAA,gCAAe,MAAA,EAAA,IAAA,oBAAA,IAAA,EAAA,EAAA,qBAAA,IAAA,EAAA,OAAA,GAAA,IAAA,CAAA,yBAAA;WAAA,aAAA"}
@@ -1,8 +1,7 @@
1
1
  import { LocalesValues } from "../intlayer/dist/types/index.js";
2
- import * as _$_angular_core0 from "@angular/core";
3
2
 
4
3
  //#region src/format/useUnit.d.ts
5
- declare const useUnit: () => _$_angular_core0.Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
4
+ declare const useUnit: () => import("@angular/core").Signal<(value: string | number, options?: Intl.NumberFormatOptions & {
6
5
  locale?: LocalesValues;
7
6
  }) => string>;
8
7
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";;;;cAIa,OAAA,yBAAO,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
1
+ {"version":3,"file":"useUnit.d.ts","names":[],"sources":["../../../src/format/useUnit.ts"],"mappings":";;;cAIa,OAAA,gCAAO,MAAA,EAAA,KAAA,mBAAA,OAAA,GAAA,IAAA,CAAA,mBAAA;WAAA,aAAA;AAAA"}
@@ -1,9 +1,8 @@
1
1
  import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
- import * as _$_intlayer_core_interpreter0 from "@intlayer/core/interpreter";
4
3
 
5
4
  //#region src/getDictionary.d.ts
6
- declare const getDictionary: <T extends Dictionary, L extends LocalesValues = DeclaredLocales>(dictionary: T, locale?: L) => _$_intlayer_core_interpreter0.DeepTransformContent<T["content"], _$_intlayer_core_interpreter0.IInterpreterPluginState, L>;
5
+ declare const getDictionary: <T extends Dictionary, L extends LocalesValues = DeclaredLocales>(dictionary: T, locale?: L) => import("@intlayer/core/interpreter").DeepTransformContent<T["content"], import("@intlayer/core/interpreter").IInterpreterPluginState, L>;
7
6
  //#endregion
8
7
  export { getDictionary };
9
8
  //# sourceMappingURL=getDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;;cAQa,aAAA,aACD,UAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,UAAA,EAAY,CAAA,EACZ,MAAA,GAAS,CAAA,KAAC,6BAAA,CAAA,oBAAA,CAAA,CAAA,aAAA,6BAAA,CAAA,uBAAA,EAAA,CAAA"}
1
+ {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../src/getDictionary.ts"],"mappings":";;;;cAQa,aAAA,aACD,UAAA,YACA,aAAA,GAAgB,eAAA,EAE1B,UAAA,EAAY,CAAA,EACZ,MAAA,GAAS,CAAA,0CAAC,oBAAA,CAAA,CAAA,kDAAA,uBAAA,EAAA,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;;cAOa,mBAAA,EAAmB,cAAA,CAAA,oBAAA;AAAA,KAI3B,iBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,kBAAA,IACH,IAAA,UACA,SAAA,SAAkB,iBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,oBAAA;EACV,UAAA,EAAY,kBAAA;AAAA;;;;cAYD,0BAAA,GACX,UAAA,GAAY,kBAAA;;YAKP,oBAAA;AAAA;;;;cASM,mBAAA;EAAA,QACH,YAAA;EAIR,UAAA,CACE,IAAA,UACA,SAAA,kBACU,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA;;;;cAWrC,OAAA,QAAc,oBAAA"}
1
+ {"version":3,"file":"installIntlayerHTML.d.ts","names":[],"sources":["../../../src/html/installIntlayerHTML.ts"],"mappings":";;;cAOa,mBAAA,EAAmB,cAAA,CAAA,oBAAA;AAAA,KAI3B,iBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,kBAAA,IACH,IAAA,UACA,SAAA,SAAkB,iBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,oBAAA;EACV,UAAA,EAAY,kBAAkB;AAAA;;;;cAYnB,0BAAA,GACX,UAAA,GAAY,kBAAA;;YAKP,oBAAA;AAAA;;;;cASM,mBAAA;EAAA,QACH,YAAA;EAIR,UAAA,CACE,IAAA,UACA,SAAA,kBACU,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA;;;;cAWrC,OAAA,QAAc,oBAU1B"}
@@ -1,4 +1,4 @@
1
1
  import { LocalesValues as LocalesValues$1 } from "@intlayer/types/module_augmentation";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  import { Locale } from "@intlayer/types/allLocales";
4
- export { type Locale, type LocalesValues$1 as LocalesValues };
4
+ export type { Locale, LocalesValues$1 as LocalesValues };
@@ -1 +1 @@
1
- {"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;cASa,uBAAA,EAAuB,cAAA,CAAA,wBAAA;AAAA,KAG/B,qBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,sBAAA,IACH,QAAA,UACA,SAAA,SAAkB,qBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,wBAAA;EACV,cAAA,EAAgB,sBAAA;AAAA;AAAA,cAIL,WAAA,EAAa,eAAA;;;;cA0Db,8BAAA,GACX,cAAA,GAAgB,sBAAA;;YAKX,wBAAA;AAAA;;;;cASM,uBAAA;EAAA,QACH,gBAAA;EAIR,cAAA,CACE,QAAA,UACA,SAAA,kBACU,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA;;;;cAWrC,WAAA,QAAkB,wBAAA"}
1
+ {"version":3,"file":"installIntlayerMarkdown.d.ts","names":[],"sources":["../../../src/markdown/installIntlayerMarkdown.ts"],"mappings":";;;;cASa,uBAAA,EAAuB,cAAA,CAAA,wBAAA;AAAA,KAG/B,qBAAA;EACH,UAAA;EACA,OAAA;EACA,OAAA;AAAA;AAAA,KAGG,sBAAA,IACH,QAAA,UACA,SAAA,SAAkB,qBAAA,cACN,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA,KAEtC,wBAAA;EACV,cAAA,EAAgB,sBAAsB;AAAA;AAAA,cAI3B,WAAA,EAAa,eA+CzB;;;;cAWY,8BAAA,GACX,cAAA,GAAgB,sBAAA;;YAKX,wBAAA;AAAA;;;;cASM,uBAAA;EAAA,QACH,gBAAA;EAIR,cAAA,CACE,QAAA,UACA,SAAA,kBACU,WAAA,QAAmB,OAAA,UAAiB,WAAA;AAAA;;;;cAWrC,WAAA,QAAkB,wBAU9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","names":[],"sources":["../../src/plugins.ts"],"mappings":";;;;;;;;AAwEA;KAAY,gBAAA,MAAsB,CAAA,2BAC9B,YAAA,CAAa,CAAA;AAAA,UAGA,YAAA;EACf,KAAA,EAAO,CAAA;EACP,QAAA;EACA,eAAA,GAAkB,CAAA;AAAA;;cAIP,mBAAA,EAAqB,OAAA;;;;KA4BtB,kBAAA,MAAwB,CAAA,kBAChC,YAAA;EAAuB,QAAA,EAAU,oBAAA;AAAA;;cAIxB,oBAAA,E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A0B,IAAI,CACxC,yBAAA;EAGA,mBAAA;EACA,eAAA;EACA,WAAA;EACA,gBAAA;AAAA;AAAA,KAGU,oBAAA,cAEA,aAAA,GAAgB,eAAA,IACxB,sBAAA,CAAyB,CAAA,EAAG,uBAAA,EAAyB,CAAA;;;;;cAQ5C,UAAA,GACX,MAAA,GAAS,aAAA,EACT,QAAA,eACC,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;;KAEY,YAAA,qCAAiD,cAAA,CAC3D,CAAA;EAGA,KAAA,EAAO,CAAA;AAAA,IACL,eAAA,GACF,CAAA;AAAA,KAEG,uBAAA;EACH,KAAA,EAAO,CAAA;EACP,QAAA;EACA,eAAA;IAAA,CAAqB,GAAA;EAAA;AAAA;AAAA,cAGV,kBAAA;EAEX,QAAA;EAAA,KAAA;EAAA;AAAA,GAIC,uBAAA,CAAwB,CAAA,MAAK,YAAA,CAAa,CAAA"}
1
+ {"version":3,"file":"renderIntlayerNode.d.ts","names":[],"sources":["../../src/renderIntlayerNode.ts"],"mappings":";;;KAEY,YAAA,qCAAiD,cAAA,CAC3D,CAAA;EAGA,KAAA,EAAO,CAAA;AAAA,IACL,eAAA,GACF,CAAA;AAAA,KAEG,uBAAA;EACH,KAAA,EAAO,CAAC;EACR,QAAA;EACA,eAAA;IAAA,CAAqB,GAAA;EAAA;AAAA;AAAA,cAGV,kBAAA;EAEX,QAAA;EAAA,KAAA;EAAA;AAAA,GAIC,uBAAA,CAAwB,CAAA,MAAK,YAAA,CAAa,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";cAMa,WAAA,GACX,UAAA,EAkDD,SAAA,KAlD4C,SAAA"}
1
+ {"version":3,"file":"mergeConfig.d.ts","names":[],"sources":["../../../src/webpack/mergeConfig.ts"],"mappings":";cAMa,WAAA,GACX,UAAA,EAkDD,SAAA,KAlD4C,SAkD5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-intlayer",
3
- "version": "8.9.7",
3
+ "version": "8.10.0-canary.0",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Angular applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -110,18 +110,18 @@
110
110
  "dependencies": {
111
111
  "@babel/plugin-syntax-import-attributes": "^7.28.6",
112
112
  "@babel/preset-env": "^7.29.2",
113
- "@intlayer/chokidar": "8.9.7",
114
- "@intlayer/config": "8.9.7",
115
- "@intlayer/core": "8.9.7",
116
- "@intlayer/dictionaries-entry": "8.9.7",
117
- "@intlayer/editor": "8.9.7",
118
- "@intlayer/types": "8.9.7",
119
- "@intlayer/webpack": "8.9.7",
113
+ "@intlayer/chokidar": "8.10.0-canary.0",
114
+ "@intlayer/config": "8.10.0-canary.0",
115
+ "@intlayer/core": "8.10.0-canary.0",
116
+ "@intlayer/dictionaries-entry": "8.10.0-canary.0",
117
+ "@intlayer/editor": "8.10.0-canary.0",
118
+ "@intlayer/types": "8.10.0-canary.0",
119
+ "@intlayer/webpack": "8.10.0-canary.0",
120
120
  "babel-loader": "^10.1.1",
121
121
  "defu": "6.1.7"
122
122
  },
123
123
  "devDependencies": {
124
- "@types/node": "25.8.0",
124
+ "@types/node": "25.9.0",
125
125
  "@types/webpack": "5.28.5",
126
126
  "@utils/ts-config": "1.0.4",
127
127
  "@utils/ts-config-types": "1.0.4",