@matreshka/bff 0.25.3 → 0.26.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 (165) hide show
  1. package/dist/components/aliases/button.js +1 -1
  2. package/dist/components/aliases/column.js +1 -1
  3. package/dist/components/aliases/row.js +1 -1
  4. package/dist/components/app.d.ts +1 -1
  5. package/dist/components/app.js +1 -1
  6. package/dist/components/board.d.ts +4 -4
  7. package/dist/components/board.js +6 -6
  8. package/dist/components/boot.js +1 -1
  9. package/dist/components/camera.d.ts +5 -5
  10. package/dist/components/camera.js +3 -3
  11. package/dist/components/charts/chart.d.ts +3 -3
  12. package/dist/components/charts/chart.js +2 -2
  13. package/dist/components/component.d.ts +10 -10
  14. package/dist/components/component.js +1 -1
  15. package/dist/components/container.d.ts +2 -2
  16. package/dist/components/container.js +1 -1
  17. package/dist/components/dialog.d.ts +4 -4
  18. package/dist/components/dialog.js +2 -2
  19. package/dist/components/entry-component.d.ts +1 -1
  20. package/dist/components/entry-component.js +1 -1
  21. package/dist/components/enum/password-input-kind.d.ts +1 -1
  22. package/dist/components/enum/password-input-kind.js +1 -1
  23. package/dist/components/enum/popover-position-area.d.ts +1 -1
  24. package/dist/components/enum/popover-position-area.js +1 -1
  25. package/dist/components/enum/scroll-to-position.d.ts +1 -1
  26. package/dist/components/enum/scroll-to-position.js +1 -1
  27. package/dist/components/enum/text-input-kind.d.ts +1 -1
  28. package/dist/components/enum/text-input-kind.js +1 -1
  29. package/dist/components/enum/textarea-resize.d.ts +1 -1
  30. package/dist/components/enum/textarea-resize.js +1 -1
  31. package/dist/components/file-upload-area.d.ts +2 -2
  32. package/dist/components/file-upload-area.js +1 -1
  33. package/dist/components/for-each.d.ts +2 -2
  34. package/dist/components/for-each.js +2 -2
  35. package/dist/components/form.d.ts +2 -2
  36. package/dist/components/form.js +1 -1
  37. package/dist/components/grid.d.ts +6 -6
  38. package/dist/components/grid.js +2 -2
  39. package/dist/components/index.d.ts +1 -1
  40. package/dist/components/index.js +1 -1
  41. package/dist/components/inputs/number-input.d.ts +1 -1
  42. package/dist/components/inputs/number-input.js +1 -1
  43. package/dist/components/inputs/password-input.d.ts +2 -2
  44. package/dist/components/inputs/password-input.js +1 -1
  45. package/dist/components/inputs/text-editor.d.ts +1 -1
  46. package/dist/components/inputs/text-editor.js +15 -15
  47. package/dist/components/inputs/text-input.d.ts +2 -2
  48. package/dist/components/inputs/text-input.js +1 -1
  49. package/dist/components/inputs/textarea.d.ts +2 -2
  50. package/dist/components/inputs/textarea.js +1 -1
  51. package/dist/components/item-list/flatten-nested-items.d.ts +1 -1
  52. package/dist/components/item-list/item-list-host.d.ts +1 -1
  53. package/dist/components/item-list/item-list.d.ts +1 -1
  54. package/dist/components/item-list/nested-items-host-support.js +1 -1
  55. package/dist/components/line.d.ts +1 -1
  56. package/dist/components/line.js +1 -1
  57. package/dist/components/map.d.ts +6 -6
  58. package/dist/components/map.js +6 -6
  59. package/dist/components/outputs/currency.d.ts +1 -1
  60. package/dist/components/outputs/currency.js +1 -1
  61. package/dist/components/outputs/datetime.d.ts +1 -1
  62. package/dist/components/outputs/datetime.js +1 -1
  63. package/dist/components/outputs/icon.d.ts +1 -1
  64. package/dist/components/outputs/icon.js +1 -1
  65. package/dist/components/outputs/iframe.d.ts +3 -3
  66. package/dist/components/outputs/iframe.js +2 -2
  67. package/dist/components/outputs/image.d.ts +6 -6
  68. package/dist/components/outputs/image.js +4 -4
  69. package/dist/components/outputs/number.d.ts +1 -1
  70. package/dist/components/outputs/number.js +1 -1
  71. package/dist/components/outputs/progress-bar.d.ts +1 -1
  72. package/dist/components/outputs/progress-bar.js +1 -1
  73. package/dist/components/outputs/progress-spinner.d.ts +1 -1
  74. package/dist/components/outputs/progress-spinner.js +1 -1
  75. package/dist/components/outputs/qr-code.d.ts +1 -1
  76. package/dist/components/outputs/qr-code.js +1 -1
  77. package/dist/components/outputs/text.d.ts +5 -5
  78. package/dist/components/outputs/text.js +7 -7
  79. package/dist/components/outputs/vector.d.ts +7 -7
  80. package/dist/components/outputs/vector.js +6 -6
  81. package/dist/components/page.d.ts +3 -3
  82. package/dist/components/page.js +1 -1
  83. package/dist/components/popover.d.ts +2 -2
  84. package/dist/components/popover.js +2 -2
  85. package/dist/components/stack.d.ts +25 -25
  86. package/dist/components/stack.js +10 -10
  87. package/dist/components/types/container-overlay.d.ts +1 -1
  88. package/dist/components/utils/targeted-client-component-action.d.ts +1 -1
  89. package/dist/components/webmcp/web-mcp-tool.d.ts +3 -3
  90. package/dist/components/webmcp/web-mcp-tool.js +3 -3
  91. package/dist/core/actions/action.d.ts +1 -1
  92. package/dist/core/actions/animate-component.d.ts +6 -6
  93. package/dist/core/actions/animate-component.js +3 -3
  94. package/dist/core/actions/component-local-actions.d.ts +2 -2
  95. package/dist/core/actions/set-context.d.ts +1 -1
  96. package/dist/core/boot.js +1 -1
  97. package/dist/core/client-storage.js +2 -2
  98. package/dist/core/client.d.ts +9 -8
  99. package/dist/core/client.js +10 -9
  100. package/dist/core/conditions/condition-group.d.ts +1 -1
  101. package/dist/core/conditions/condition-group.js +2 -2
  102. package/dist/core/conditions/condition-operand.d.ts +2 -2
  103. package/dist/core/conditions/condition.d.ts +2 -2
  104. package/dist/core/conditions/context-array-includes.js +1 -1
  105. package/dist/core/conditions/context-array-length.d.ts +1 -1
  106. package/dist/core/conditions/context-array-length.js +2 -2
  107. package/dist/core/conditions/context-value-defined.d.ts +9 -3
  108. package/dist/core/conditions/context-value-defined.js +7 -1
  109. package/dist/core/conditions/context-value-equal.js +1 -1
  110. package/dist/core/conditions/context-value-in.js +1 -1
  111. package/dist/core/conditions/context-value-not-equal.js +1 -1
  112. package/dist/core/conditions/context-value-undefined.d.ts +9 -3
  113. package/dist/core/conditions/context-value-undefined.js +7 -1
  114. package/dist/core/conditions/desktop-device.js +1 -1
  115. package/dist/core/conditions/mobile-device.js +1 -1
  116. package/dist/core/conditions/not-desktop-device.js +1 -1
  117. package/dist/core/conditions/not-mobile-device.js +1 -1
  118. package/dist/core/conditions/not-tablet-device.js +1 -1
  119. package/dist/core/conditions/tablet-device.js +1 -1
  120. package/dist/core/context/context-ref.d.ts +1 -1
  121. package/dist/core/context/context.d.ts +1 -1
  122. package/dist/core/context/context.js +5 -5
  123. package/dist/core/gateway-connection.js +8 -8
  124. package/dist/core/index.d.ts +2 -2
  125. package/dist/core/index.js +1 -1
  126. package/dist/core/local/index.d.ts +2 -2
  127. package/dist/core/local/index.js +1 -1
  128. package/dist/core/matreshka.js +2 -2
  129. package/dist/core/types/client-settings.d.ts +3 -3
  130. package/dist/core/types/componentable.d.ts +2 -2
  131. package/dist/core/types/pageable.d.ts +1 -1
  132. package/dist/core/utils/color-roles-to-ids.d.ts +2 -2
  133. package/dist/core/utils/color-token-id.d.ts +1 -1
  134. package/dist/core/utils/replace-context-keys.d.ts +3 -3
  135. package/dist/core/utils/replace-context-keys.js +6 -67
  136. package/dist/core/utils/serialize-client-settings-colors-for-handshake.d.ts +2 -2
  137. package/dist/core/utils/serialize-component-tree.d.ts +2 -2
  138. package/dist/core/utils/targeted-client-action.d.ts +1 -1
  139. package/dist/core/utils/targeted-client-action.js +5 -4
  140. package/dist/platforms/browser-platform.js +13 -13
  141. package/dist/platforms/max-mini-app-platform.js +2 -2
  142. package/dist/platforms/mobile-platform.d.ts +1 -1
  143. package/dist/platforms/mobile-platform.js +21 -21
  144. package/dist/platforms/platform.d.ts +1 -1
  145. package/dist/platforms/platform.js +11 -11
  146. package/dist/platforms/telegram-mini-app-platform.js +7 -7
  147. package/dist/platforms/utils/client-back-platform-action.js +1 -1
  148. package/dist/platforms/utils/client-navigate-platform-action.js +1 -1
  149. package/dist/platforms/utils/client-platform.js +1 -1
  150. package/dist/platforms/utils/client-reload-platform-action.js +1 -1
  151. package/dist/platforms/utils/client-route-page-wait.d.ts +1 -1
  152. package/dist/platforms/utils/client-route-page-wait.js +2 -2
  153. package/dist/platforms/utils/mobile-ble-services.d.ts +1 -1
  154. package/dist/platforms/utils/targeted-client-platform-action.d.ts +2 -2
  155. package/dist/platforms/utils/targeted-client-platform-stream.d.ts +2 -2
  156. package/dist/platforms/utils/targeted-client-platform-stream.js +5 -4
  157. package/package.json +4 -2
  158. package/dist/core/utils/hex-to-hsl.d.ts +0 -14
  159. package/dist/core/utils/hex-to-hsl.js +0 -49
  160. package/dist/core/utils/merge-deep.d.ts +0 -8
  161. package/dist/core/utils/merge-deep.js +0 -39
  162. package/dist/core/utils/parse-context-path.d.ts +0 -4
  163. package/dist/core/utils/parse-context-path.js +0 -16
  164. package/dist/core/utils/set-object-property.d.ts +0 -2
  165. package/dist/core/utils/set-object-property.js +0 -29
@@ -6,7 +6,7 @@ exports.attachItemListsToHost = attachItemListsToHost;
6
6
  exports.wireNestedItemsHostLifecycle = wireNestedItemsHostLifecycle;
7
7
  exports.createItemListHostAdapter = createItemListHostAdapter;
8
8
  exports.flattenNestedItemsForSerialize = flattenNestedItemsForSerialize;
9
- const nested_items_sync_message_1 = require("@matreshka/shared/messages/bff-to-client/components/nested-items/nested-items-sync-message");
9
+ const nested_items_sync_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/nested-items/nested-items-sync-message");
10
10
  const flatten_nested_items_1 = require("./flatten-nested-items");
11
11
  /** Создаёт начальное состояние slot'а из конфига host-кomponenta. */
12
12
  function createNestedItemsSlotState(source) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../core";
3
3
  import { ComponentInitConfig as BaseComponentInitConfig, Component, ComponentProperties } from "./component";
4
4
  /**
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Line = exports.line = void 0;
4
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
4
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
5
5
  const component_1 = require("./component");
6
6
  const line = (options = {}) => new Line(options);
7
7
  exports.line = line;
@@ -1,9 +1,9 @@
1
- import { MapMarkerHorizontalAnchor } from "@matreshka/shared/enums/map-marker-horizontal-anchor";
2
- import { MapMarkerVerticalAnchor } from "@matreshka/shared/enums/map-marker-vertical-anchor";
3
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
4
- import { type FlexItemSpec } from "@matreshka/shared/types/flex-item";
5
- import type { MapConfig } from "@matreshka/shared/types/map-config";
6
- import type { NestedItemBase } from "@matreshka/shared/types/nested-item-base";
1
+ import { MapMarkerHorizontalAnchor } from "@matreshka/client-bff-protocol/enums/map-marker-horizontal-anchor";
2
+ import { MapMarkerVerticalAnchor } from "@matreshka/client-bff-protocol/enums/map-marker-vertical-anchor";
3
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
4
+ import { type FlexItemSpec } from "@matreshka/client-bff-protocol/types/flex-item";
5
+ import type { MapConfig } from "@matreshka/client-bff-protocol/types/map-config";
6
+ import type { NestedItemBase } from "@matreshka/client-bff-protocol/types/nested-item-base";
7
7
  import { Componentable, ComponentInstance, ComponentTreeNode, StandaloneComponent } from "../core";
8
8
  import type { ActionConfig } from "../core/actions/action";
9
9
  import { Component, ComponentInitConfig, ComponentProperties, ServerComponentAction } from "./component";
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.itemList = exports.Map = exports.map = void 0;
4
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
- const map_set_center_message_1 = require("@matreshka/shared/messages/bff-to-client/components/map/map-set-center-message");
6
- const map_set_zoom_message_1 = require("@matreshka/shared/messages/bff-to-client/components/map/map-set-zoom-message");
7
- const map_zoom_in_message_1 = require("@matreshka/shared/messages/bff-to-client/components/map/map-zoom-in-message");
8
- const map_zoom_out_message_1 = require("@matreshka/shared/messages/bff-to-client/components/map/map-zoom-out-message");
9
- const flex_item_1 = require("@matreshka/shared/types/flex-item");
4
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
5
+ const map_set_center_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/map/map-set-center-message");
6
+ const map_set_zoom_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/map/map-set-zoom-message");
7
+ const map_zoom_in_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/map/map-zoom-in-message");
8
+ const map_zoom_out_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/map/map-zoom-out-message");
9
+ const flex_item_1 = require("@matreshka/client-bff-protocol/types/flex-item");
10
10
  const component_local_actions_1 = require("../core/actions/component-local-actions");
11
11
  const component_1 = require("./component");
12
12
  const item_list_1 = require("./item-list");
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../../core";
3
3
  import { CompatibleOutputRef, NumberOutputContextRef, OutputComponent, OutputInitConfig, OutputProperties } from "./output-component";
4
4
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Currency = void 0;
4
4
  exports.currency = currency;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const output_component_1 = require("./output-component");
7
7
  function currency(arg0, arg1) {
8
8
  if (arg1 !== undefined) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../../core";
3
3
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
4
4
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Datetime = void 0;
4
4
  exports.datetime = datetime;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const core_1 = require("../../core");
7
7
  const output_component_1 = require("./output-component");
8
8
  function datetime(arg0, arg1) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../../core";
3
3
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
4
4
  type IconValue = string;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Icon = void 0;
4
4
  exports.icon = icon;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const output_component_1 = require("./output-component");
7
7
  function icon(arg0, arg1) {
8
8
  if (arg1 !== undefined) {
@@ -1,8 +1,8 @@
1
- import { IframeAllow } from "@matreshka/shared/enums/iframe-allow";
2
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { IframeAllow } from "@matreshka/client-bff-protocol/enums/iframe-allow";
2
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
3
3
  import { Componentable } from "../../core";
4
4
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
5
- export { IframeAllow } from "@matreshka/shared/enums/iframe-allow";
5
+ export { IframeAllow } from "@matreshka/client-bff-protocol/enums/iframe-allow";
6
6
  /**
7
7
  * Свойства компонента вывода iframe.
8
8
  *
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Iframe = exports.IframeAllow = void 0;
4
4
  exports.iframe = iframe;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const core_1 = require("../../core");
7
7
  const output_component_1 = require("./output-component");
8
- var iframe_allow_1 = require("@matreshka/shared/enums/iframe-allow");
8
+ var iframe_allow_1 = require("@matreshka/client-bff-protocol/enums/iframe-allow");
9
9
  Object.defineProperty(exports, "IframeAllow", { enumerable: true, get: function () { return iframe_allow_1.IframeAllow; } });
10
10
  function iframe(arg0, arg1) {
11
11
  if (arg1 !== undefined) {
@@ -1,13 +1,13 @@
1
- import { RatioMode } from "@matreshka/shared/enums/ratio-mode";
2
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
3
- import { type FlexItemSpec } from "@matreshka/shared/types/flex-item";
4
- import type { RadiusPx } from "@matreshka/shared/types/radius-px";
1
+ import { RatioMode } from "@matreshka/client-bff-protocol/enums/ratio-mode";
2
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
3
+ import { type FlexItemSpec } from "@matreshka/client-bff-protocol/types/flex-item";
4
+ import type { RadiusPx } from "@matreshka/client-bff-protocol/types/radius-px";
5
5
  import { Componentable, StandaloneComponent } from "../../core";
6
6
  import { ServerComponentAction } from "../component";
7
7
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
8
- export { RatioMode } from "@matreshka/shared/enums/ratio-mode";
8
+ export { RatioMode } from "@matreshka/client-bff-protocol/enums/ratio-mode";
9
9
  /** @deprecated Use RatioMode instead */
10
- export { RatioMode as ImageMode } from "@matreshka/shared/enums/ratio-mode";
10
+ export { RatioMode as ImageMode } from "@matreshka/client-bff-protocol/enums/ratio-mode";
11
11
  /**
12
12
  * Свойства компонента вывода изображения.
13
13
  * @property ratio Соотношение сторон и режим вписывания (`object-fit` / аналог).
@@ -2,14 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Image = exports.ImageMode = exports.RatioMode = void 0;
4
4
  exports.image = image;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
6
- const flex_item_1 = require("@matreshka/shared/types/flex-item");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
+ const flex_item_1 = require("@matreshka/client-bff-protocol/types/flex-item");
7
7
  const core_1 = require("../../core");
8
8
  const output_component_1 = require("./output-component");
9
- var ratio_mode_1 = require("@matreshka/shared/enums/ratio-mode");
9
+ var ratio_mode_1 = require("@matreshka/client-bff-protocol/enums/ratio-mode");
10
10
  Object.defineProperty(exports, "RatioMode", { enumerable: true, get: function () { return ratio_mode_1.RatioMode; } });
11
11
  /** @deprecated Use RatioMode instead */
12
- var ratio_mode_2 = require("@matreshka/shared/enums/ratio-mode");
12
+ var ratio_mode_2 = require("@matreshka/client-bff-protocol/enums/ratio-mode");
13
13
  Object.defineProperty(exports, "ImageMode", { enumerable: true, get: function () { return ratio_mode_2.RatioMode; } });
14
14
  function image(arg0, arg1) {
15
15
  if (arg1 !== undefined) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../../core";
3
3
  import { CompatibleOutputRef, NumberOutputContextRef, OutputComponent, OutputInitConfig, OutputProperties } from "./output-component";
4
4
  type NumericValue = number;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Number = void 0;
4
4
  exports.number = number;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const core_1 = require("../../core");
7
7
  const output_component_1 = require("./output-component");
8
8
  function number(arg0, arg1) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../../core";
3
3
  import { CompatibleOutputRef, NumberOutputContextRef, OutputComponent, OutputInitConfig, OutputProperties } from "./output-component";
4
4
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProgressBar = void 0;
4
4
  exports.progressBar = progressBar;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const core_1 = require("../../core");
7
7
  const output_component_1 = require("./output-component");
8
8
  function progressBar(arg0, arg1) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable, StandaloneComponent } from "../../core";
3
3
  import { CompatibleOutputRef, NumberOutputContextRef, OutputComponent, OutputInitConfig, OutputProperties } from "./output-component";
4
4
  /**
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProgressSpinner = void 0;
4
4
  exports.progressSpinner = progressSpinner;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const core_1 = require("../../core");
7
7
  const output_component_1 = require("./output-component");
8
8
  function progressSpinner(arg0, arg1) {
@@ -1,4 +1,4 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
2
  import { Componentable } from "../../core";
3
3
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
4
4
  export type QrCodeProperties = {} & OutputProperties;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QrCode = void 0;
4
4
  exports.qrCode = qrCode;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
6
  const core_1 = require("../../core");
7
7
  const output_component_1 = require("./output-component");
8
8
  function qrCode(arg0, arg1) {
@@ -1,10 +1,10 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
2
- import type { TextOutputProcessorAutolinkConfig, TextOutputProcessorConfig, TextOutputProcessorLineBreaksConfig } from "@matreshka/shared/types/text-output-processor-config";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
+ import type { TextOutputProcessorAutolinkConfig, TextOutputProcessorConfig, TextOutputProcessorLineBreaksConfig } from "@matreshka/client-bff-protocol/types/text-output-processor-config";
3
3
  import { Componentable, StandaloneComponent } from "../../core";
4
4
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
5
- export { TextOutputAutolinkScheme } from "@matreshka/shared/enums/text-output-autolink-scheme";
6
- export { TextOutputAutolinkTarget } from "@matreshka/shared/enums/text-output-autolink-target";
7
- export { TextOutputProcessor } from "@matreshka/shared/enums/text-output-processor";
5
+ export { TextOutputAutolinkScheme } from "@matreshka/client-bff-protocol/enums/text-output-autolink-scheme";
6
+ export { TextOutputAutolinkTarget } from "@matreshka/client-bff-protocol/enums/text-output-autolink-target";
7
+ export { TextOutputProcessor } from "@matreshka/client-bff-protocol/enums/text-output-processor";
8
8
  /**
9
9
  * Свойства компонента вывода текста.
10
10
  */
@@ -4,17 +4,17 @@ exports.Text = exports.TextOutputProcessor = exports.TextOutputAutolinkTarget =
4
4
  exports.lineBreaks = lineBreaks;
5
5
  exports.autolink = autolink;
6
6
  exports.text = text;
7
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
8
- const text_output_autolink_scheme_1 = require("@matreshka/shared/enums/text-output-autolink-scheme");
9
- const text_output_autolink_target_1 = require("@matreshka/shared/enums/text-output-autolink-target");
10
- const text_output_processor_1 = require("@matreshka/shared/enums/text-output-processor");
7
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
8
+ const text_output_autolink_scheme_1 = require("@matreshka/client-bff-protocol/enums/text-output-autolink-scheme");
9
+ const text_output_autolink_target_1 = require("@matreshka/client-bff-protocol/enums/text-output-autolink-target");
10
+ const text_output_processor_1 = require("@matreshka/client-bff-protocol/enums/text-output-processor");
11
11
  const core_1 = require("../../core");
12
12
  const output_component_1 = require("./output-component");
13
- var text_output_autolink_scheme_2 = require("@matreshka/shared/enums/text-output-autolink-scheme");
13
+ var text_output_autolink_scheme_2 = require("@matreshka/client-bff-protocol/enums/text-output-autolink-scheme");
14
14
  Object.defineProperty(exports, "TextOutputAutolinkScheme", { enumerable: true, get: function () { return text_output_autolink_scheme_2.TextOutputAutolinkScheme; } });
15
- var text_output_autolink_target_2 = require("@matreshka/shared/enums/text-output-autolink-target");
15
+ var text_output_autolink_target_2 = require("@matreshka/client-bff-protocol/enums/text-output-autolink-target");
16
16
  Object.defineProperty(exports, "TextOutputAutolinkTarget", { enumerable: true, get: function () { return text_output_autolink_target_2.TextOutputAutolinkTarget; } });
17
- var text_output_processor_2 = require("@matreshka/shared/enums/text-output-processor");
17
+ var text_output_processor_2 = require("@matreshka/client-bff-protocol/enums/text-output-processor");
18
18
  Object.defineProperty(exports, "TextOutputProcessor", { enumerable: true, get: function () { return text_output_processor_2.TextOutputProcessor; } });
19
19
  const DEFAULT_AUTOLINK_SCHEMES = [
20
20
  text_output_autolink_scheme_1.TextOutputAutolinkScheme.Http,
@@ -1,13 +1,13 @@
1
- import { RatioMode } from "@matreshka/shared/enums/ratio-mode";
2
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
3
- import { VectorMode } from "@matreshka/shared/enums/vector-mode";
4
- import { type FlexItemSpec } from "@matreshka/shared/types/flex-item";
1
+ import { RatioMode } from "@matreshka/client-bff-protocol/enums/ratio-mode";
2
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
3
+ import { VectorMode } from "@matreshka/client-bff-protocol/enums/vector-mode";
4
+ import { type FlexItemSpec } from "@matreshka/client-bff-protocol/types/flex-item";
5
5
  import { Componentable, StandaloneComponent } from "../../core";
6
6
  import { CompatibleOutputRef, OutputComponent, OutputInitConfig, OutputProperties, StringOutputContextRef } from "./output-component";
7
- export { RatioMode } from "@matreshka/shared/enums/ratio-mode";
7
+ export { RatioMode } from "@matreshka/client-bff-protocol/enums/ratio-mode";
8
8
  /** @deprecated Use RatioMode instead */
9
- export { RatioMode as ImageMode } from "@matreshka/shared/enums/ratio-mode";
10
- export { VectorMode } from "@matreshka/shared/enums/vector-mode";
9
+ export { RatioMode as ImageMode } from "@matreshka/client-bff-protocol/enums/ratio-mode";
10
+ export { VectorMode } from "@matreshka/client-bff-protocol/enums/vector-mode";
11
11
  type VectorValue = string;
12
12
  /**
13
13
  * Свойства компонента вывода векторной графики.
@@ -2,17 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Vector = exports.VectorMode = exports.ImageMode = exports.RatioMode = void 0;
4
4
  exports.vector = vector;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
6
- const vector_mode_1 = require("@matreshka/shared/enums/vector-mode");
7
- const flex_item_1 = require("@matreshka/shared/types/flex-item");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
+ const vector_mode_1 = require("@matreshka/client-bff-protocol/enums/vector-mode");
7
+ const flex_item_1 = require("@matreshka/client-bff-protocol/types/flex-item");
8
8
  const core_1 = require("../../core");
9
9
  const output_component_1 = require("./output-component");
10
- var ratio_mode_1 = require("@matreshka/shared/enums/ratio-mode");
10
+ var ratio_mode_1 = require("@matreshka/client-bff-protocol/enums/ratio-mode");
11
11
  Object.defineProperty(exports, "RatioMode", { enumerable: true, get: function () { return ratio_mode_1.RatioMode; } });
12
12
  /** @deprecated Use RatioMode instead */
13
- var ratio_mode_2 = require("@matreshka/shared/enums/ratio-mode");
13
+ var ratio_mode_2 = require("@matreshka/client-bff-protocol/enums/ratio-mode");
14
14
  Object.defineProperty(exports, "ImageMode", { enumerable: true, get: function () { return ratio_mode_2.RatioMode; } });
15
- var vector_mode_2 = require("@matreshka/shared/enums/vector-mode");
15
+ var vector_mode_2 = require("@matreshka/client-bff-protocol/enums/vector-mode");
16
16
  Object.defineProperty(exports, "VectorMode", { enumerable: true, get: function () { return vector_mode_2.VectorMode; } });
17
17
  function vector(arg0, arg1) {
18
18
  if (arg1 !== undefined) {
@@ -1,6 +1,6 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
2
- import type { ComponentScrollPayload } from "@matreshka/shared/messages/client-to-bff/components/component-scroll-message";
3
- import type { PageConfig } from "@matreshka/shared/types/page-config";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
+ import type { ComponentScrollPayload } from "@matreshka/client-bff-protocol/messages/client-to-bff/components/component-scroll-message";
3
+ import type { PageConfig } from "@matreshka/client-bff-protocol/types/page-config";
4
4
  import { Componentable, ComponentTreeNode, MixedWithCallbacksArray, Pageable } from "../core";
5
5
  import StatusCode from "../core/types/status-code";
6
6
  import { ServerComponentAction } from "./component";
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.Page = void 0;
7
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
7
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
8
8
  const status_code_1 = __importDefault(require("../core/types/status-code"));
9
9
  const entry_component_1 = require("./entry-component");
10
10
  /**
@@ -1,5 +1,5 @@
1
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
2
- import type { PopoverConfig } from "@matreshka/shared/types/popover-config";
1
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
2
+ import type { PopoverConfig } from "@matreshka/client-bff-protocol/types/popover-config";
3
3
  import { Componentable, ComponentInstance, ComponentTreeNode, MixedWithCallbacksArray } from "../core";
4
4
  import type { ActionConfig } from "../core/actions/action";
5
5
  import { EntryComponent, EntryComponentInitConfig, EntryComponentProperties } from "./entry-component";
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Popover = void 0;
4
4
  exports.popover = popover;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
6
- const popover_close_message_1 = require("@matreshka/shared/messages/bff-to-client/components/popover/popover-close-message");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
+ const popover_close_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/popover/popover-close-message");
7
7
  const core_1 = require("../core");
8
8
  const close_entry_1 = require("../core/actions/close-entry");
9
9
  const entry_component_1 = require("./entry-component");
@@ -1,31 +1,31 @@
1
- import { FlexWrap } from "@matreshka/shared/enums/flex-wrap";
2
- import { ComponentOutline } from "@matreshka/shared/enums/outline-type";
3
- import { Overflow } from "@matreshka/shared/enums/overflow";
4
- import { SafeAreaSide } from "@matreshka/shared/enums/safe-area-side";
5
- import { ScrollToPosition } from "@matreshka/shared/enums/scroll-to-position";
6
- import { ServerComponentClass } from "@matreshka/shared/enums/server-component-class";
7
- import { StackCrossAxisAlign, StackMainAxisAlign } from "@matreshka/shared/enums/stack-align";
8
- import { StackDirection } from "@matreshka/shared/enums/stack-direction";
9
- import type { ComponentScrollPayload } from "@matreshka/shared/messages/client-to-bff/components/component-scroll-message";
10
- import { type FlexItemSpec } from "@matreshka/shared/types/flex-item";
11
- import type { PaddingPx } from "@matreshka/shared/types/padding-px";
12
- import type { RadiusPx } from "@matreshka/shared/types/radius-px";
13
- import type { StackConfig } from "@matreshka/shared/types/stack-config";
14
- import type { StackScroll } from "@matreshka/shared/types/stack-scroll";
1
+ import { FlexWrap } from "@matreshka/client-bff-protocol/enums/flex-wrap";
2
+ import { ComponentOutline } from "@matreshka/client-bff-protocol/enums/outline-type";
3
+ import { Overflow } from "@matreshka/client-bff-protocol/enums/overflow";
4
+ import { SafeAreaSide } from "@matreshka/client-bff-protocol/enums/safe-area-side";
5
+ import { ScrollToPosition } from "@matreshka/client-bff-protocol/enums/scroll-to-position";
6
+ import { ServerComponentClass } from "@matreshka/client-bff-protocol/enums/server-component-class";
7
+ import { StackCrossAxisAlign, StackMainAxisAlign } from "@matreshka/client-bff-protocol/enums/stack-align";
8
+ import { StackDirection } from "@matreshka/client-bff-protocol/enums/stack-direction";
9
+ import type { ComponentScrollPayload } from "@matreshka/client-bff-protocol/messages/client-to-bff/components/component-scroll-message";
10
+ import { type FlexItemSpec } from "@matreshka/client-bff-protocol/types/flex-item";
11
+ import type { PaddingPx } from "@matreshka/client-bff-protocol/types/padding-px";
12
+ import type { RadiusPx } from "@matreshka/client-bff-protocol/types/radius-px";
13
+ import type { StackConfig } from "@matreshka/client-bff-protocol/types/stack-config";
14
+ import type { StackScroll } from "@matreshka/client-bff-protocol/types/stack-scroll";
15
15
  import { Componentable, ComponentInstance, ComponentTreeNode, MixedWithCallbacksArray, StandaloneComponent } from "../core";
16
16
  import type { ActionConfig } from "../core/actions/action";
17
17
  import { Component, ComponentInitConfig, ComponentProperties, ServerComponentAction } from "./component";
18
- export { DimensionalUnit } from "@matreshka/shared/enums/dimensional-unit";
19
- export { FlexWrap } from "@matreshka/shared/enums/flex-wrap";
20
- export { Overflow } from "@matreshka/shared/enums/overflow";
21
- export { SafeAreaSide } from "@matreshka/shared/enums/safe-area-side";
22
- export { ScrollToPosition } from "@matreshka/shared/enums/scroll-to-position";
23
- export { StackCrossAxisAlign, StackMainAxisAlign, } from "@matreshka/shared/enums/stack-align";
24
- export { StackDirection } from "@matreshka/shared/enums/stack-direction";
25
- export type { ComponentScrollPayload } from "@matreshka/shared/messages/client-to-bff/components/component-scroll-message";
26
- export type { DimensionalValue } from "@matreshka/shared/types/dimensional-value";
27
- export type { FlexItemSpec } from "@matreshka/shared/types/flex-item";
28
- export type { StackScroll } from "@matreshka/shared/types/stack-scroll";
18
+ export { DimensionalUnit } from "@matreshka/client-bff-protocol/enums/dimensional-unit";
19
+ export { FlexWrap } from "@matreshka/client-bff-protocol/enums/flex-wrap";
20
+ export { Overflow } from "@matreshka/client-bff-protocol/enums/overflow";
21
+ export { SafeAreaSide } from "@matreshka/client-bff-protocol/enums/safe-area-side";
22
+ export { ScrollToPosition } from "@matreshka/client-bff-protocol/enums/scroll-to-position";
23
+ export { StackCrossAxisAlign, StackMainAxisAlign, } from "@matreshka/client-bff-protocol/enums/stack-align";
24
+ export { StackDirection } from "@matreshka/client-bff-protocol/enums/stack-direction";
25
+ export type { ComponentScrollPayload } from "@matreshka/client-bff-protocol/messages/client-to-bff/components/component-scroll-message";
26
+ export type { DimensionalValue } from "@matreshka/client-bff-protocol/types/dimensional-value";
27
+ export type { FlexItemSpec } from "@matreshka/client-bff-protocol/types/flex-item";
28
+ export type { StackScroll } from "@matreshka/client-bff-protocol/types/stack-scroll";
29
29
  export type StackProperties = {
30
30
  content: ComponentTreeNode[];
31
31
  align?: {
@@ -2,26 +2,26 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Stack = exports.StackDirection = exports.StackMainAxisAlign = exports.StackCrossAxisAlign = exports.ScrollToPosition = exports.SafeAreaSide = exports.Overflow = exports.FlexWrap = exports.DimensionalUnit = void 0;
4
4
  exports.stack = stack;
5
- const server_component_class_1 = require("@matreshka/shared/enums/server-component-class");
6
- const component_scroll_to_message_1 = require("@matreshka/shared/messages/bff-to-client/components/component-scroll-to-message");
7
- const flex_item_1 = require("@matreshka/shared/types/flex-item");
5
+ const server_component_class_1 = require("@matreshka/client-bff-protocol/enums/server-component-class");
6
+ const component_scroll_to_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/components/component-scroll-to-message");
7
+ const flex_item_1 = require("@matreshka/client-bff-protocol/types/flex-item");
8
8
  const core_1 = require("../core");
9
9
  const component_local_actions_1 = require("../core/actions/component-local-actions");
10
10
  const component_1 = require("./component");
11
- var dimensional_unit_1 = require("@matreshka/shared/enums/dimensional-unit");
11
+ var dimensional_unit_1 = require("@matreshka/client-bff-protocol/enums/dimensional-unit");
12
12
  Object.defineProperty(exports, "DimensionalUnit", { enumerable: true, get: function () { return dimensional_unit_1.DimensionalUnit; } });
13
- var flex_wrap_1 = require("@matreshka/shared/enums/flex-wrap");
13
+ var flex_wrap_1 = require("@matreshka/client-bff-protocol/enums/flex-wrap");
14
14
  Object.defineProperty(exports, "FlexWrap", { enumerable: true, get: function () { return flex_wrap_1.FlexWrap; } });
15
- var overflow_1 = require("@matreshka/shared/enums/overflow");
15
+ var overflow_1 = require("@matreshka/client-bff-protocol/enums/overflow");
16
16
  Object.defineProperty(exports, "Overflow", { enumerable: true, get: function () { return overflow_1.Overflow; } });
17
- var safe_area_side_1 = require("@matreshka/shared/enums/safe-area-side");
17
+ var safe_area_side_1 = require("@matreshka/client-bff-protocol/enums/safe-area-side");
18
18
  Object.defineProperty(exports, "SafeAreaSide", { enumerable: true, get: function () { return safe_area_side_1.SafeAreaSide; } });
19
- var scroll_to_position_1 = require("@matreshka/shared/enums/scroll-to-position");
19
+ var scroll_to_position_1 = require("@matreshka/client-bff-protocol/enums/scroll-to-position");
20
20
  Object.defineProperty(exports, "ScrollToPosition", { enumerable: true, get: function () { return scroll_to_position_1.ScrollToPosition; } });
21
- var stack_align_1 = require("@matreshka/shared/enums/stack-align");
21
+ var stack_align_1 = require("@matreshka/client-bff-protocol/enums/stack-align");
22
22
  Object.defineProperty(exports, "StackCrossAxisAlign", { enumerable: true, get: function () { return stack_align_1.StackCrossAxisAlign; } });
23
23
  Object.defineProperty(exports, "StackMainAxisAlign", { enumerable: true, get: function () { return stack_align_1.StackMainAxisAlign; } });
24
- var stack_direction_1 = require("@matreshka/shared/enums/stack-direction");
24
+ var stack_direction_1 = require("@matreshka/client-bff-protocol/enums/stack-direction");
25
25
  Object.defineProperty(exports, "StackDirection", { enumerable: true, get: function () { return stack_direction_1.StackDirection; } });
26
26
  function stack(arg0, arg1) {
27
27
  if (arg1 !== undefined) {
@@ -1,3 +1,3 @@
1
1
  import type { ComponentTreeNode } from "@matreshka/bff/core";
2
- import type { Overlay as OverlayShape } from "@matreshka/shared/types/container-overlay";
2
+ import type { Overlay as OverlayShape } from "@matreshka/client-bff-protocol/types/container-overlay";
3
3
  export type Overlay = OverlayShape<ComponentTreeNode>;
@@ -1,4 +1,4 @@
1
- import { ComponentCommandMessage } from "@matreshka/shared/messages/bff-to-client/component-command-message";
1
+ import { ComponentCommandMessage } from "@matreshka/client-bff-protocol/messages/bff-to-client/component-command-message";
2
2
  import { Observable } from "rxjs";
3
3
  import { Client } from "../../core";
4
4
  export declare const COMPONENT_ACTION_SCOPE_PREFIX = "component-action-";
@@ -1,6 +1,6 @@
1
- import { WebMcpToolAnnotation } from "@matreshka/shared/enums/web-mcp-tool-annotation";
2
- import type { Condition as SerializedCondition } from "@matreshka/shared/types/condition";
3
- import type { WebMcpToolConfig } from "@matreshka/shared/types/web-mcp-tool-config";
1
+ import { WebMcpToolAnnotation } from "@matreshka/client-bff-protocol/enums/web-mcp-tool-annotation";
2
+ import type { Condition as SerializedCondition } from "@matreshka/client-bff-protocol/types/condition";
3
+ import type { WebMcpToolConfig } from "@matreshka/client-bff-protocol/types/web-mcp-tool-config";
4
4
  import { z } from "zod";
5
5
  import type { Client } from "../../core/client";
6
6
  import { Condition } from "../../core/conditions/condition";
@@ -38,10 +38,10 @@ exports.webMcpTool = webMcpTool;
38
38
  exports.webMcpInputJsonSchema = webMcpInputJsonSchema;
39
39
  exports.dispatchWebMcpToolCall = dispatchWebMcpToolCall;
40
40
  exports.webMcpToolErrorText = webMcpToolErrorText;
41
- const web_mcp_tool_annotation_1 = require("@matreshka/shared/enums/web-mcp-tool-annotation");
41
+ const web_mcp_tool_annotation_1 = require("@matreshka/client-bff-protocol/enums/web-mcp-tool-annotation");
42
42
  Object.defineProperty(exports, "WebMcpToolAnnotation", { enumerable: true, get: function () { return web_mcp_tool_annotation_1.WebMcpToolAnnotation; } });
43
- const web_mcp_tool_error_message_1 = require("@matreshka/shared/messages/bff-to-client/webmcp/web-mcp-tool-error-message");
44
- const web_mcp_tool_result_message_1 = require("@matreshka/shared/messages/bff-to-client/webmcp/web-mcp-tool-result-message");
43
+ const web_mcp_tool_error_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/webmcp/web-mcp-tool-error-message");
44
+ const web_mcp_tool_result_message_1 = require("@matreshka/client-bff-protocol/messages/bff-to-client/webmcp/web-mcp-tool-result-message");
45
45
  const crypto = __importStar(require("node:crypto"));
46
46
  const zod_1 = require("zod");
47
47
  /** MCP: латиница, цифры, `-`, `_` (после trim). */
@@ -1,4 +1,4 @@
1
- import type { Condition as SerializedCondition } from "@matreshka/shared/types/condition";
1
+ import type { Condition as SerializedCondition } from "@matreshka/client-bff-protocol/types/condition";
2
2
  import { Condition } from "../conditions/condition";
3
3
  export type ActionConditions = Condition[] | (() => Condition[]);
4
4
  export type ActionConfig = {
@@ -1,11 +1,11 @@
1
- import { ComponentAnimationEffect } from "@matreshka/shared/enums/component-animation-effect";
2
- import { TimingFunction } from "@matreshka/shared/enums/timing-function";
3
- import type { ComponentAnimationEffects } from "@matreshka/shared/types/component-animation";
1
+ import { ComponentAnimationEffect } from "@matreshka/client-bff-protocol/enums/component-animation-effect";
2
+ import { TimingFunction } from "@matreshka/client-bff-protocol/enums/timing-function";
3
+ import type { ComponentAnimationEffects } from "@matreshka/client-bff-protocol/types/component-animation";
4
4
  import { ActionConditions } from "./action";
5
5
  import { LocalAction } from "./local-action";
6
- export { DimensionalUnit } from "@matreshka/shared/enums/dimensional-unit";
7
- export type { ComponentAnimationEffects, DimensionalKeyframeStops, OpacityKeyframeStops, } from "@matreshka/shared/types/component-animation";
8
- export type { DimensionalValue } from "@matreshka/shared/types/dimensional-value";
6
+ export { DimensionalUnit } from "@matreshka/client-bff-protocol/enums/dimensional-unit";
7
+ export type { ComponentAnimationEffects, DimensionalKeyframeStops, OpacityKeyframeStops, } from "@matreshka/client-bff-protocol/types/component-animation";
8
+ export type { DimensionalValue } from "@matreshka/client-bff-protocol/types/dimensional-value";
9
9
  export { ComponentAnimationEffect, TimingFunction };
10
10
  /**
11
11
  * Конфигурация действия анимации компонента.
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AnimateComponent = exports.TimingFunction = exports.ComponentAnimationEffect = exports.DimensionalUnit = void 0;
4
4
  exports.animate = animate;
5
5
  exports.animateComponent = animateComponent;
6
- const component_animation_effect_1 = require("@matreshka/shared/enums/component-animation-effect");
6
+ const component_animation_effect_1 = require("@matreshka/client-bff-protocol/enums/component-animation-effect");
7
7
  Object.defineProperty(exports, "ComponentAnimationEffect", { enumerable: true, get: function () { return component_animation_effect_1.ComponentAnimationEffect; } });
8
- const timing_function_1 = require("@matreshka/shared/enums/timing-function");
8
+ const timing_function_1 = require("@matreshka/client-bff-protocol/enums/timing-function");
9
9
  Object.defineProperty(exports, "TimingFunction", { enumerable: true, get: function () { return timing_function_1.TimingFunction; } });
10
10
  const local_action_1 = require("./local-action");
11
- var dimensional_unit_1 = require("@matreshka/shared/enums/dimensional-unit");
11
+ var dimensional_unit_1 = require("@matreshka/client-bff-protocol/enums/dimensional-unit");
12
12
  Object.defineProperty(exports, "DimensionalUnit", { enumerable: true, get: function () { return dimensional_unit_1.DimensionalUnit; } });
13
13
  /**
14
14
  * Локальное действие: анимация над компонентом на клиенте.