solid-intlayer 9.9.1 → 9.9.3-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 (108) hide show
  1. package/dist/cjs/LoadingBoundary.cjs +1 -1
  2. package/dist/cjs/analytics/useAnalytics.cjs +1 -1
  3. package/dist/cjs/analytics/useConversion.cjs +1 -1
  4. package/dist/cjs/analytics/useExperiment.cjs +1 -1
  5. package/dist/cjs/client/IntlayerProvider.cjs +1 -1
  6. package/dist/cjs/client/getBrowserLocale.cjs +1 -1
  7. package/dist/cjs/client/t.cjs +1 -1
  8. package/dist/cjs/client/useDictionary.cjs +1 -1
  9. package/dist/cjs/client/useDictionaryAsync.cjs +1 -1
  10. package/dist/cjs/client/useDictionaryDynamic.cjs +1 -1
  11. package/dist/cjs/client/useIntlayer.cjs +1 -1
  12. package/dist/cjs/client/useLoadDynamic.cjs +1 -1
  13. package/dist/cjs/client/useLocale.cjs +1 -1
  14. package/dist/cjs/client/useLocaleBase.cjs +1 -1
  15. package/dist/cjs/client/usePathname.cjs +1 -1
  16. package/dist/cjs/client/useRewriteURL.cjs +1 -1
  17. package/dist/cjs/client/useTraduction.cjs +1 -1
  18. package/dist/cjs/editor/createEditedContentSource.cjs +1 -1
  19. package/dist/cjs/editor/useEditor.cjs +1 -1
  20. package/dist/cjs/format/useCompact.cjs +1 -1
  21. package/dist/cjs/format/useCurrency.cjs +1 -1
  22. package/dist/cjs/format/useDate.cjs +1 -1
  23. package/dist/cjs/format/useIntl.cjs +1 -1
  24. package/dist/cjs/format/useList.cjs +1 -1
  25. package/dist/cjs/format/useNumber.cjs +1 -1
  26. package/dist/cjs/format/usePercentage.cjs +1 -1
  27. package/dist/cjs/format/useRelativeTime.cjs +1 -1
  28. package/dist/cjs/format/useUnit.cjs +1 -1
  29. package/dist/cjs/getDictionary.cjs +1 -1
  30. package/dist/cjs/getIntlayer.cjs +1 -1
  31. package/dist/cjs/html/HTMLProvider.cjs +1 -1
  32. package/dist/cjs/html/HTMLRenderer.cjs +1 -1
  33. package/dist/cjs/markdown/MarkdownProvider.cjs +1 -1
  34. package/dist/cjs/markdown/MarkdownRenderer.cjs +1 -1
  35. package/dist/cjs/plugins.cjs +1 -1
  36. package/dist/esm/LoadingBoundary.mjs +3 -3
  37. package/dist/esm/analytics/useAnalytics.mjs +11 -11
  38. package/dist/esm/analytics/useConversion.mjs +1 -1
  39. package/dist/esm/analytics/useExperiment.mjs +7 -7
  40. package/dist/esm/client/IntlayerProvider.mjs +26 -26
  41. package/dist/esm/client/getBrowserLocale.mjs +21 -21
  42. package/dist/esm/client/t.mjs +5 -5
  43. package/dist/esm/client/useDictionary.mjs +17 -17
  44. package/dist/esm/client/useDictionaryAsync.mjs +7 -7
  45. package/dist/esm/client/useDictionaryDynamic.mjs +23 -23
  46. package/dist/esm/client/useIntlayer.mjs +8 -8
  47. package/dist/esm/client/useLoadDynamic.mjs +19 -19
  48. package/dist/esm/client/useLocale.mjs +10 -10
  49. package/dist/esm/client/useLocaleBase.mjs +6 -6
  50. package/dist/esm/client/usePathname.mjs +4 -4
  51. package/dist/esm/client/useRewriteURL.mjs +8 -8
  52. package/dist/esm/client/useTraduction.mjs +5 -5
  53. package/dist/esm/editor/createEditedContentSource.mjs +3 -3
  54. package/dist/esm/editor/useEditor.mjs +10 -10
  55. package/dist/esm/format/useCompact.mjs +6 -6
  56. package/dist/esm/format/useCurrency.mjs +6 -6
  57. package/dist/esm/format/useDate.mjs +10 -10
  58. package/dist/esm/format/useIntl.mjs +5 -5
  59. package/dist/esm/format/useList.mjs +6 -6
  60. package/dist/esm/format/useNumber.mjs +6 -6
  61. package/dist/esm/format/usePercentage.mjs +6 -6
  62. package/dist/esm/format/useRelativeTime.mjs +6 -6
  63. package/dist/esm/format/useUnit.mjs +6 -6
  64. package/dist/esm/getDictionary.mjs +4 -4
  65. package/dist/esm/getIntlayer.mjs +3 -3
  66. package/dist/esm/html/HTMLProvider.mjs +6 -6
  67. package/dist/esm/html/HTMLRenderer.mjs +14 -14
  68. package/dist/esm/markdown/MarkdownProvider.mjs +19 -19
  69. package/dist/esm/markdown/MarkdownRenderer.mjs +28 -28
  70. package/dist/esm/plugins.mjs +97 -97
  71. package/dist/{esm-BnFj8Txc.js → esm-YGODKOLP.js} +1 -1
  72. package/dist/{esm-hfQR-yiQ.mjs → esm-bdKnuomJ.mjs} +2 -2
  73. package/dist/solid/analytics/useAnalytics.jsx +3 -3
  74. package/dist/solid/analytics/useConversion.js +1 -1
  75. package/dist/solid/analytics/useExperiment.js +3 -3
  76. package/dist/solid/client/IntlayerProvider.jsx +4 -4
  77. package/dist/solid/client/getBrowserLocale.jsx +1 -1
  78. package/dist/solid/client/t.js +1 -1
  79. package/dist/solid/client/useDictionary.js +3 -3
  80. package/dist/solid/client/useDictionaryAsync.js +3 -3
  81. package/dist/solid/client/useDictionaryDynamic.js +2 -2
  82. package/dist/solid/client/useIntlayer.js +2 -2
  83. package/dist/solid/client/useLoadDynamic.js +1 -1
  84. package/dist/solid/client/useLocale.js +2 -2
  85. package/dist/solid/client/useLocaleBase.js +1 -1
  86. package/dist/solid/client/usePathname.js +2 -2
  87. package/dist/solid/client/useRewriteURL.js +2 -2
  88. package/dist/solid/client/useTraduction.js +2 -2
  89. package/dist/solid/editor/createEditedContentSource.js +2 -2
  90. package/dist/solid/editor/useEditor.jsx +2 -2
  91. package/dist/solid/{esm-BS5TZIsL.js → esm-1cHk4dPd.js} +2 -2
  92. package/dist/solid/format/useCompact.js +1 -1
  93. package/dist/solid/format/useCurrency.js +2 -2
  94. package/dist/solid/format/useDate.js +2 -2
  95. package/dist/solid/format/useIntl.js +2 -2
  96. package/dist/solid/format/useList.js +1 -1
  97. package/dist/solid/format/useNumber.js +2 -2
  98. package/dist/solid/format/usePercentage.js +2 -2
  99. package/dist/solid/format/useRelativeTime.js +2 -2
  100. package/dist/solid/format/useUnit.js +1 -1
  101. package/dist/solid/getDictionary.js +1 -1
  102. package/dist/solid/getIntlayer.js +1 -1
  103. package/dist/solid/html/HTMLProvider.jsx +1 -1
  104. package/dist/solid/html/HTMLRenderer.jsx +1 -1
  105. package/dist/solid/markdown/MarkdownProvider.jsx +1 -1
  106. package/dist/solid/markdown/MarkdownRenderer.jsx +3 -3
  107. package/dist/solid/plugins.jsx +4 -4
  108. package/package.json +9 -9
@@ -1,11 +1,11 @@
1
+ import { resolveDictionaryArgument } from "@intlayer/core/dictionaryManipulator";
2
+ import { collectTransformCacheWrites, deleteTransformCacheWrites } from "@intlayer/core/interpreter";
3
+ import { createMemo, onCleanup, useContext } from "solid-js";
1
4
  import { getDictionary as getDictionary$1 } from "../getDictionary.js";
2
5
  import { getPlugins } from "../plugins.jsx";
3
6
  import { createContentProxy } from "./contentProxy.js";
4
7
  import { IntlayerClientContext } from "./IntlayerProvider.jsx";
5
8
  import { unwrapLoadable } from "./useLoadDynamic.js";
6
- import { collectTransformCacheWrites, deleteTransformCacheWrites } from "@intlayer/core/interpreter";
7
- import { createMemo, onCleanup, useContext } from "solid-js";
8
- import { resolveDictionaryArgument } from "@intlayer/core/dictionaryManipulator";
9
9
  // src/client/useDictionary.ts
10
10
  /**
11
11
  * On the client side, Hook that transforms a dictionary (or qualified
@@ -1,8 +1,8 @@
1
- import { IntlayerClientContext } from "./IntlayerProvider.jsx";
2
- import { useDictionary } from "./useDictionary.js";
1
+ import { loadDynamicDictionary } from "@intlayer/core/dictionaryManipulator";
3
2
  import { resolveInterpreterLocale } from "@intlayer/core/interpreter";
4
3
  import { useContext } from "solid-js";
5
- import { loadDynamicDictionary } from "@intlayer/core/dictionaryManipulator";
4
+ import { IntlayerClientContext } from "./IntlayerProvider.jsx";
5
+ import { useDictionary } from "./useDictionary.js";
6
6
  // src/client/useDictionaryAsync.ts
7
7
  /**
8
8
  * On the server side, Hook that transform a dictionary and return the content
@@ -1,11 +1,11 @@
1
+ import { QUALIFIER_DYNAMIC_TYPES_KEY, getDictionarySelectorCacheKey, getDynamicChunkArgument, getPreloadedDictionary, isQualifiedDynamicLoaderMap, parseDictionarySelector, resolveDictionaryRead, resolveDynamicContentAsync } from "@intlayer/core/dictionaryManipulator";
2
+ import { createMemo, useContext } from "solid-js";
1
3
  import { getDictionary } from "../getDictionary.js";
2
4
  import { createAsyncValue, trackAsyncValue } from "../solidCompat.js";
3
5
  import { createContentProxy } from "./contentProxy.js";
4
6
  import { IntlayerClientContext } from "./IntlayerProvider.jsx";
5
7
  import { useDictionary } from "./useDictionary.js";
6
8
  import { seedDynamicValue, useLoadDynamic } from "./useLoadDynamic.js";
7
- import { createMemo, useContext } from "solid-js";
8
- import { QUALIFIER_DYNAMIC_TYPES_KEY, getDictionarySelectorCacheKey, getDynamicChunkArgument, getPreloadedDictionary, isQualifiedDynamicLoaderMap, parseDictionarySelector, resolveDictionaryRead, resolveDynamicContentAsync } from "@intlayer/core/dictionaryManipulator";
9
9
  // src/client/useDictionaryDynamic.ts
10
10
  /**
11
11
  * Loaded chunks stay raw (serializable for hydration) and are interpreted
@@ -1,8 +1,8 @@
1
+ import { resolveDictionaryArgument } from "@intlayer/core/dictionaryManipulator";
2
+ import { createMemo, useContext } from "solid-js";
1
3
  import { getIntlayer } from "../getIntlayer.js";
2
4
  import { createContentProxy } from "./contentProxy.js";
3
5
  import { IntlayerClientContext } from "./IntlayerProvider.jsx";
4
- import { createMemo, useContext } from "solid-js";
5
- import { resolveDictionaryArgument } from "@intlayer/core/dictionaryManipulator";
6
6
  // src/client/useIntlayer.ts
7
7
  /**
8
8
  * Solid hook that picks one dictionary by its key and returns its reactive content.
@@ -1,6 +1,6 @@
1
+ import { untrack } from "solid-js";
1
2
  import { PROXY_RESERVED_KEYS } from "../proxyKeys.js";
2
3
  import { createAsyncValue, trackAsyncValue } from "../solidCompat.js";
3
- import { untrack } from "solid-js";
4
4
  // src/client/useLoadDynamic.ts
5
5
  var NO_PENDING_PRIMITIVE_FALLBACK = Symbol("NO_PENDING_PRIMITIVE_FALLBACK");
6
6
  /**
@@ -1,8 +1,8 @@
1
+ import { internationalization } from "@intlayer/config/built";
2
+ import { useContext } from "solid-js";
1
3
  import { createChangeEffect } from "../solidCompat.js";
2
4
  import { IntlayerClientContext } from "./IntlayerProvider.jsx";
3
5
  import { setLocaleInStorage } from "./useLocaleStorage.js";
4
- import { internationalization } from "@intlayer/config/built";
5
- import { useContext } from "solid-js";
6
6
  // src/client/useLocale.ts
7
7
  var { defaultLocale, locales: availableLocales } = internationalization ?? {};
8
8
  /**
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "./IntlayerProvider.jsx";
2
1
  import { internationalization } from "@intlayer/config/built";
3
2
  import { useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "./IntlayerProvider.jsx";
4
4
  // src/client/useLocaleBase.ts
5
5
  var { defaultLocale, locales: availableLocales } = internationalization;
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { onMounted } from "../solidCompat.js";
2
- import { createSignal } from "solid-js";
3
1
  import { getPathWithoutLocale } from "@intlayer/core/localization";
2
+ import { createSignal } from "solid-js";
3
+ import { onMounted } from "../solidCompat.js";
4
4
  // src/client/usePathname.ts
5
5
  /**
6
6
  * Solid hook that returns an accessor containing the current pathname with
@@ -1,7 +1,7 @@
1
- import { createWatchEffect } from "../solidCompat.js";
2
- import { useLocale } from "./useLocale.js";
3
1
  import { routing } from "@intlayer/config/built";
4
2
  import { getRewritePath } from "@intlayer/core/localization";
3
+ import { createWatchEffect } from "../solidCompat.js";
4
+ import { useLocale } from "./useLocale.js";
5
5
  // src/client/useRewriteURL.ts
6
6
  /**
7
7
  * Client-side hook to manage URL rewrites in Solid without triggering a router navigation.
@@ -1,7 +1,7 @@
1
- import { IntlayerClientContext } from "./IntlayerProvider.jsx";
2
- import { getTranslation } from "@intlayer/core/interpreter";
3
1
  import { internationalization } from "@intlayer/config/built";
2
+ import { getTranslation } from "@intlayer/core/interpreter";
4
3
  import { useContext } from "solid-js";
4
+ import { IntlayerClientContext } from "./IntlayerProvider.jsx";
5
5
  // src/client/useTraduction.ts
6
6
  /**
7
7
  * On the client side, Hook that picking one dictionary by its id and return the content.
@@ -1,6 +1,6 @@
1
- import { createWatchEffect } from "../solidCompat.js";
2
- import { createSignal } from "solid-js";
3
1
  import { isEnabled } from "@intlayer/editor/isEnabled";
2
+ import { createSignal } from "solid-js";
3
+ import { createWatchEffect } from "../solidCompat.js";
4
4
  // src/editor/createEditedContentSource.ts
5
5
  /**
6
6
  * Tracks the source string edited in the visual editor for a markdown / html
@@ -1,7 +1,7 @@
1
+ import { isEnabled } from "@intlayer/editor/isEnabled";
2
+ import { createSignal, onCleanup } from "solid-js";
1
3
  import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
2
4
  import { createWatchEffect, onMounted } from "../solidCompat.js";
3
- import { createSignal, onCleanup } from "solid-js";
4
- import { isEnabled } from "@intlayer/editor/isEnabled";
5
5
  // src/editor/useEditor.tsx
6
6
  /**
7
7
  * Initialises the Intlayer editor client singleton when the editor is enabled.
@@ -45,7 +45,7 @@ var buildContentExposure = (params) => ({
45
45
  * hashString('session-1:homepage-hero'); // 3039336720
46
46
  */
47
47
  var hashString = (input) => {
48
- let hash = 2166136261;
48
+ let hash = 0x811c9dc5;
49
49
  for (let index = 0; index < input.length; index++) {
50
50
  hash ^= input.charCodeAt(index);
51
51
  hash = Math.imul(hash, 16777619);
@@ -170,7 +170,7 @@ var createEventBuffer = ({ max }) => {
170
170
  var isSampledIn = (sessionId, sampleRate) => {
171
171
  if (sampleRate >= 1) return true;
172
172
  if (sampleRate <= 0) return false;
173
- return hashString(sessionId) / 4294967295 < sampleRate;
173
+ return hashString(sessionId) / 0xffffffff < sampleRate;
174
174
  };
175
175
  // ../@intlayer/analytics/dist/esm/core/session.mjs
176
176
  /**
@@ -1,5 +1,5 @@
1
- import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
2
1
  import { compact } from "@intlayer/core/formatters";
2
+ import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
3
3
  // src/format/useCompact.ts
4
4
  /**
5
5
  * Solid client hook that provides a localized compact number formatter.
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
2
- import { useContext } from "solid-js";
3
1
  import { currency } from "@intlayer/core/formatters";
2
+ import { useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
4
4
  // src/format/useCurrency.ts
5
5
  /**
6
6
  * Solid client hook that provides a localized currency formatter.
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
2
- import { useContext } from "solid-js";
3
1
  import { date, presets } from "@intlayer/core/formatters";
2
+ import { useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
4
4
  // src/format/useDate.ts
5
5
  /**
6
6
  * Solid client hook that provides a localized date/time formatter.
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
2
- import { createMemo, useContext } from "solid-js";
3
1
  import { bindIntl } from "@intlayer/core/formatters";
2
+ import { createMemo, useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
4
4
  // src/format/useIntl.ts
5
5
  /**
6
6
  * Solid client hook that provides a locale-bound `Intl` object.
@@ -1,5 +1,5 @@
1
- import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
2
1
  import { list } from "@intlayer/core/formatters";
2
+ import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
3
3
  // src/format/useList.ts
4
4
  /**
5
5
  * Solid client hook that provides a localized list formatter.
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
2
- import { useContext } from "solid-js";
3
1
  import { number } from "@intlayer/core/formatters";
2
+ import { useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
4
4
  // src/format/useNumber.ts
5
5
  /**
6
6
  * Solid client hook that provides a localized number formatter.
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
2
- import { useContext } from "solid-js";
3
1
  import { percentage } from "@intlayer/core/formatters";
2
+ import { useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
4
4
  // src/format/usePercentage.ts
5
5
  /**
6
6
  * Solid client hook that provides a localized percentage formatter.
@@ -1,6 +1,6 @@
1
- import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
2
- import { useContext } from "solid-js";
3
1
  import { relativeTime } from "@intlayer/core/formatters";
2
+ import { useContext } from "solid-js";
3
+ import { IntlayerClientContext } from "../client/IntlayerProvider.jsx";
4
4
  // src/format/useRelativeTime.ts
5
5
  /**
6
6
  * Solid client hook that provides a localized relative time formatter.
@@ -1,5 +1,5 @@
1
- import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
2
1
  import { units } from "@intlayer/core/formatters";
2
+ import { useIntlayerContext } from "../client/IntlayerProvider.jsx";
3
3
  // src/format/useUnit.ts
4
4
  /**
5
5
  * Solid client hook that provides a localized unit formatter.
@@ -1,5 +1,5 @@
1
- import { getPlugins } from "./plugins.jsx";
2
1
  import { getDictionary as getDictionary$1 } from "@intlayer/core/interpreter";
2
+ import { getPlugins } from "./plugins.jsx";
3
3
  // src/getDictionary.ts
4
4
  /**
5
5
  * Transforms a dictionary (or qualified dictionary group) and returns its
@@ -1,5 +1,5 @@
1
- import { getPlugins } from "./plugins.jsx";
2
1
  import { getIntlayer as getIntlayer$1 } from "@intlayer/core/interpreter";
2
+ import { getPlugins } from "./plugins.jsx";
3
3
  // src/getIntlayer.ts
4
4
  /**
5
5
  * Picks one dictionary by its key and returns its content for the given
@@ -1,5 +1,5 @@
1
- import { getContextProvider } from "../solidCompat.js";
2
1
  import { createContext, useContext } from "solid-js";
2
+ import { getContextProvider } from "../solidCompat.js";
3
3
  // src/html/HTMLProvider.tsx
4
4
  /**
5
5
  * `null` outside a provider. An explicit default keeps `useContext` from
@@ -1,6 +1,6 @@
1
- import { useHTMLContext } from "./HTMLProvider.jsx";
2
1
  import { getHTML } from "@intlayer/core/interpreter";
3
2
  import { VOID_HTML_ELEMENTS } from "@intlayer/core/transpiler";
3
+ import { useHTMLContext } from "./HTMLProvider.jsx";
4
4
  // src/html/HTMLRenderer.tsx
5
5
  /**
6
6
  * Renders HTML-like content to JSX with the provided components.
@@ -1,6 +1,6 @@
1
+ import { createContext, useContext } from "solid-js";
1
2
  import { getContextProvider } from "../solidCompat.js";
2
3
  import { compileMarkdown } from "./compiler.jsx";
3
- import { createContext, useContext } from "solid-js";
4
4
  // src/markdown/MarkdownProvider.tsx
5
5
  /**
6
6
  * `null` outside a provider. An explicit default keeps `useContext` from
@@ -1,11 +1,11 @@
1
+ import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
2
+ import { getMarkdownMetadata } from "@intlayer/core/markdown";
3
+ import { createMemo, useContext } from "solid-js";
1
4
  import { createEditedContentSource } from "../editor/createEditedContentSource.js";
2
5
  import { LoadingBoundary } from "../LoadingBoundary.jsx";
3
6
  import { createAsyncValue } from "../solidCompat.js";
4
7
  import { compileMarkdown } from "./compiler.jsx";
5
8
  import { MarkdownContext, useMarkdown } from "./MarkdownProvider.jsx";
6
- import { getMarkdownMetadata } from "@intlayer/core/markdown";
7
- import { createMemo, useContext } from "solid-js";
8
- import { getContentNodeByKeyPath } from "@intlayer/core/dictionaryManipulator";
9
9
  // src/markdown/MarkdownRenderer.tsx
10
10
  var renderMarkdown = (content, options = {}) => {
11
11
  return compileMarkdown(content, options);
@@ -1,12 +1,12 @@
1
+ import { editor, internationalization } from "@intlayer/config/built";
2
+ import { bindInsertedValues, conditionPlugin, enumerationPlugin, fallbackPlugin, filePlugin, genderPlugin, isInterpolableWrapperNode, nestedPlugin, pluralPlugin, resolveInterpreterLocale, selectPlugin, splitInsertionTemplate, transformInterpolableNode, translationPlugin } from "@intlayer/core/interpreter";
3
+ import { getMarkdownMetadata } from "@intlayer/core/markdown";
4
+ import * as NodeTypes from "@intlayer/types/nodeType";
1
5
  import { reportExposure } from "./analytics/exposureSink.js";
2
6
  import { renderIntlayerNode } from "./IntlayerNode.jsx";
3
7
  import { LoadingBoundary } from "./LoadingBoundary.jsx";
4
8
  import { lazyComponent } from "./solidCompat.js";
5
9
  import { renderSolidElement } from "./solidElement/renderSolidElement.jsx";
6
- import { bindInsertedValues, conditionPlugin, enumerationPlugin, fallbackPlugin, filePlugin, genderPlugin, isInterpolableWrapperNode, nestedPlugin, pluralPlugin, resolveInterpreterLocale, selectPlugin, splitInsertionTemplate, transformInterpolableNode, translationPlugin } from "@intlayer/core/interpreter";
7
- import { editor, internationalization } from "@intlayer/config/built";
8
- import { getMarkdownMetadata } from "@intlayer/core/markdown";
9
- import * as NodeTypes from "@intlayer/types/nodeType";
10
10
  // src/plugins.tsx
11
11
  var LazyContentSelector = process.env.INTLAYER_EDITOR_ENABLED === "false" ? null : lazyComponent(() => import("./editor/ContentSelector.jsx").then((m) => ({ default: m.ContentSelector })));
12
12
  var markdownRendererModulePromise = process.env.INTLAYER_NODE_TYPE_MARKDOWN !== "false" ? import("./markdown/MarkdownRenderer.jsx").then((m) => ({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-intlayer",
3
- "version": "9.9.1",
3
+ "version": "9.9.3-canary.0",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Solid applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -107,18 +107,18 @@
107
107
  "prepublish": "cp -f ../../README.md ./README.md",
108
108
  "publish": "bun publish || true",
109
109
  "publish:canary": "bun publish --access public --tag canary || true",
110
- "publish:ci": "bun ../../scripts/publish-package.mjs",
110
+ "publish:ci": "bun ../../scripts/publish-package.ts",
111
111
  "publish:latest": "bun publish --access public --tag latest || true",
112
112
  "test": "bun --bun vitest run",
113
113
  "test:watch": "bun --bun vitest",
114
114
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
115
115
  },
116
116
  "dependencies": {
117
- "@intlayer/api": "9.9.1",
118
- "@intlayer/config": "9.9.1",
119
- "@intlayer/core": "9.9.1",
120
- "@intlayer/editor": "9.9.1",
121
- "@intlayer/types": "9.9.1"
117
+ "@intlayer/api": "9.9.3-canary.0",
118
+ "@intlayer/config": "9.9.3-canary.0",
119
+ "@intlayer/core": "9.9.3-canary.0",
120
+ "@intlayer/editor": "9.9.3-canary.0",
121
+ "@intlayer/types": "9.9.3-canary.0"
122
122
  },
123
123
  "devDependencies": {
124
124
  "@solidjs/testing-library": "0.8.10",
@@ -136,7 +136,7 @@
136
136
  "solid-js": "2.0.4",
137
137
  "tsdown": "0.23.7",
138
138
  "typescript": "7.0.2",
139
- "vite": "8.3.8",
139
+ "vite": "8.4.0",
140
140
  "vite-plugin-dts": "5.1.2",
141
141
  "vite-plugin-solid": "2.11.17",
142
142
  "vitest": "5.1.2"
@@ -151,7 +151,7 @@
151
151
  }
152
152
  },
153
153
  "optionalDependencies": {
154
- "@intlayer/analytics": "9.9.1"
154
+ "@intlayer/analytics": "9.9.3-canary.0"
155
155
  },
156
156
  "engines": {
157
157
  "node": ">=14.18"