@creatio-devkit/common 0.833.0 → 0.1000.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/AI_GUIDES_INDEX.md +38 -0
  2. package/CHANGELOG.md +25 -1
  3. package/DEFERRED_REMOTE_MIGRATION_AI_GUIDE.md +1338 -0
  4. package/ICON_REQUIREMENTS_AI_GUIDE.md +107 -74
  5. package/LICENSE.md +5 -6
  6. package/REMOTE_COMPONENT_RUNTIME_AI_GUIDE.md +357 -4
  7. package/THIRD_PARTY_LICENSES.txt +160 -0
  8. package/fesm2022/creatio-devkit-common.mjs +674 -96
  9. package/fesm2022/creatio-devkit-common.mjs.map +1 -1
  10. package/index.d.ts +786 -14
  11. package/package.json +6 -19
  12. package/types/creatio-devkit-common.d.ts +4509 -0
  13. package/esm2022/creatio-devkit-common.mjs +0 -5
  14. package/esm2022/index.mjs +0 -2
  15. package/esm2022/lib/base-exports.mjs +0 -5
  16. package/esm2022/lib/external/file-viewer/file-viewer-factory.service.mjs +0 -26
  17. package/esm2022/lib/external/file-viewer/file-viewer-instance.model.mjs +0 -51
  18. package/esm2022/lib/external/file-viewer/file-viewer-options.model.mjs +0 -2
  19. package/esm2022/lib/external/file-viewer/index.mjs +0 -4
  20. package/esm2022/lib/external/functions/aggregation-adapter.mjs +0 -72
  21. package/esm2022/lib/external/functions/date-part-type-adapter.mjs +0 -48
  22. package/esm2022/lib/external/functions/function-type-adapter.mjs +0 -28
  23. package/esm2022/lib/external/functions/index.mjs +0 -5
  24. package/esm2022/lib/external/functions/order-direction-adapter.mjs +0 -28
  25. package/esm2022/lib/external/models/attribute-value-config.mjs +0 -2
  26. package/esm2022/lib/external/models/date-time/grouped-date-value.mjs +0 -2
  27. package/esm2022/lib/external/models/date-time/index.mjs +0 -2
  28. package/esm2022/lib/external/models/file-value.model.mjs +0 -2
  29. package/esm2022/lib/external/models/index.mjs +0 -4
  30. package/esm2022/lib/index.mjs +0 -18
  31. package/esm2022/lib/internal/constants/default-size.const.mjs +0 -5
  32. package/esm2022/lib/internal/constants/index.mjs +0 -3
  33. package/esm2022/lib/internal/constants/metadata.const.mjs +0 -17
  34. package/esm2022/lib/internal/decorators/design-time-view-element/design-time-view-element.decorator.mjs +0 -19
  35. package/esm2022/lib/internal/decorators/design-time-view-element/index.mjs +0 -2
  36. package/esm2022/lib/internal/decorators/implement-using-handler-chain/implement-using-handler-chain.decorator.mjs +0 -25
  37. package/esm2022/lib/internal/decorators/implement-using-handler-chain/index.mjs +0 -2
  38. package/esm2022/lib/internal/decorators/index.mjs +0 -4
  39. package/esm2022/lib/internal/decorators/request/index.mjs +0 -2
  40. package/esm2022/lib/internal/decorators/request/request.decorator.mjs +0 -15
  41. package/esm2022/lib/internal/enums/designer-group-type.enum.mjs +0 -16
  42. package/esm2022/lib/internal/enums/handler-source-type.enum.mjs +0 -12
  43. package/esm2022/lib/internal/enums/index.mjs +0 -4
  44. package/esm2022/lib/internal/enums/view-element-group-type.enum.mjs +0 -13
  45. package/esm2022/lib/internal/models/attribute-property-config.interface.mjs +0 -2
  46. package/esm2022/lib/internal/models/converter/converter-registry-item.mjs +0 -2
  47. package/esm2022/lib/internal/models/converter/index.mjs +0 -2
  48. package/esm2022/lib/internal/models/data-source-load-parameters.mjs +0 -2
  49. package/esm2022/lib/internal/models/design-time-view-element-registry-item.mjs +0 -2
  50. package/esm2022/lib/internal/models/handler-chain-service-registry-item.mjs +0 -2
  51. package/esm2022/lib/internal/models/index.mjs +0 -20
  52. package/esm2022/lib/internal/models/injection-context/index.mjs +0 -2
  53. package/esm2022/lib/internal/models/injection-context/injection-context.mjs +0 -2
  54. package/esm2022/lib/internal/models/interface-designer-item/base-interface-designer-item-registration-config.mjs +0 -2
  55. package/esm2022/lib/internal/models/interface-designer-item/index.mjs +0 -4
  56. package/esm2022/lib/internal/models/interface-designer-item/interface-designer-item-registration-config.model.mjs +0 -7
  57. package/esm2022/lib/internal/models/interface-designer-item/toolbar-view-element-config.mjs +0 -2
  58. package/esm2022/lib/internal/models/interface-designer-registry-item.mjs +0 -2
  59. package/esm2022/lib/internal/models/internal-interface-designer-item-registration-config.model.mjs +0 -2
  60. package/esm2022/lib/internal/models/internal-module-definition.mjs +0 -2
  61. package/esm2022/lib/internal/models/lazy-module-metadata.mjs +0 -2
  62. package/esm2022/lib/internal/models/lazy-module-ref.mjs +0 -26
  63. package/esm2022/lib/internal/models/lazy-registry-item.mjs +0 -2
  64. package/esm2022/lib/internal/models/remote-build-info.mjs +0 -9
  65. package/esm2022/lib/internal/models/request/index.mjs +0 -2
  66. package/esm2022/lib/internal/models/request/method-invoke-request.mjs +0 -12
  67. package/esm2022/lib/internal/models/request-handler/contexed-handler-scope-config.mjs +0 -2
  68. package/esm2022/lib/internal/models/request-handler/handler-config.mjs +0 -2
  69. package/esm2022/lib/internal/models/request-handler/handler-source.mjs +0 -2
  70. package/esm2022/lib/internal/models/request-handler/index.mjs +0 -6
  71. package/esm2022/lib/internal/models/request-handler/request-handler-factory.mjs +0 -2
  72. package/esm2022/lib/internal/models/request-handler/request-handler-registration-config.model.mjs +0 -2
  73. package/esm2022/lib/internal/models/transaction/index.mjs +0 -4
  74. package/esm2022/lib/internal/models/transaction/transaction-factory.mjs +0 -2
  75. package/esm2022/lib/internal/models/transaction/transaction-operation.mjs +0 -2
  76. package/esm2022/lib/internal/models/transaction/transaction.mjs +0 -2
  77. package/esm2022/lib/internal/models/validator/index.mjs +0 -4
  78. package/esm2022/lib/internal/models/validator/validator-parameters.mjs +0 -2
  79. package/esm2022/lib/internal/models/validator/validator-registry-item.mjs +0 -2
  80. package/esm2022/lib/internal/models/validator/validator-schema-config.model.mjs +0 -2
  81. package/esm2022/lib/internal/models/view-element/angular-view-element-registration-config.model.mjs +0 -2
  82. package/esm2022/lib/internal/models/view-element/index.mjs +0 -2
  83. package/esm2022/lib/internal/models/view-element-registry-item.mjs +0 -2
  84. package/esm2022/lib/internal/services/base-handler-chain.service.mjs +0 -3
  85. package/esm2022/lib/internal/services/base-registry/base-registry.mjs +0 -31
  86. package/esm2022/lib/internal/services/base-registry/index.mjs +0 -2
  87. package/esm2022/lib/internal/services/bootstrap-notifier/bootstrap-notifier.mjs +0 -28
  88. package/esm2022/lib/internal/services/bootstrap-notifier/index.mjs +0 -2
  89. package/esm2022/lib/internal/services/chat-message-type-registry/chat-message-type-registry.mjs +0 -22
  90. package/esm2022/lib/internal/services/chat-message-type-registry/index.mjs +0 -2
  91. package/esm2022/lib/internal/services/design-time-view-element-registry/design-time-view-element-registry.mjs +0 -32
  92. package/esm2022/lib/internal/services/design-time-view-element-registry/index.mjs +0 -2
  93. package/esm2022/lib/internal/services/element-registration-checker/element-registration-checker.mjs +0 -60
  94. package/esm2022/lib/internal/services/element-registration-checker/index.mjs +0 -2
  95. package/esm2022/lib/internal/services/global-converters-registry/converter-registry.mjs +0 -36
  96. package/esm2022/lib/internal/services/global-converters-registry/index.mjs +0 -2
  97. package/esm2022/lib/internal/services/handler-chain-services-registry/handler-chain-services-registry.mjs +0 -26
  98. package/esm2022/lib/internal/services/handler-chain-services-registry/index.mjs +0 -2
  99. package/esm2022/lib/internal/services/index.mjs +0 -17
  100. package/esm2022/lib/internal/services/interface-designer-item-registry/index.mjs +0 -3
  101. package/esm2022/lib/internal/services/interface-designer-item-registry/interface-designer-item-registry.mjs +0 -53
  102. package/esm2022/lib/internal/services/interface-designer-item-registry/mobile-interface-designer-item-registry.mjs +0 -12
  103. package/esm2022/lib/internal/services/lazy-modules-manager/index.mjs +0 -2
  104. package/esm2022/lib/internal/services/lazy-modules-manager/lazy-modules-manager.mjs +0 -35
  105. package/esm2022/lib/internal/services/pkg-topology-registry/index.mjs +0 -2
  106. package/esm2022/lib/internal/services/pkg-topology-registry/pkg-topology-registry.mjs +0 -18
  107. package/esm2022/lib/internal/services/remote-entries-registry/index.mjs +0 -2
  108. package/esm2022/lib/internal/services/remote-entries-registry/remote-entries-registry.mjs +0 -18
  109. package/esm2022/lib/internal/services/request-handler-registry/index.mjs +0 -2
  110. package/esm2022/lib/internal/services/request-handler-registry/request-handler-registry.service.mjs +0 -131
  111. package/esm2022/lib/internal/services/request-registry/index.mjs +0 -2
  112. package/esm2022/lib/internal/services/request-registry/request-registry.service.mjs +0 -33
  113. package/esm2022/lib/internal/services/request-resolver/base-requests-resolver.mjs +0 -6
  114. package/esm2022/lib/internal/services/request-resolver/index.mjs +0 -3
  115. package/esm2022/lib/internal/services/request-resolver/requests-resolver.mjs +0 -17
  116. package/esm2022/lib/internal/services/validator-registry/index.mjs +0 -2
  117. package/esm2022/lib/internal/services/validator-registry/validator-registry.mjs +0 -45
  118. package/esm2022/lib/internal/services/view-element-registry/base-view-element-registry.mjs +0 -74
  119. package/esm2022/lib/internal/services/view-element-registry/index.mjs +0 -4
  120. package/esm2022/lib/internal/services/view-element-registry/mobile-view-element-registry.mjs +0 -13
  121. package/esm2022/lib/internal/services/view-element-registry/view-element-registry.mjs +0 -12
  122. package/esm2022/lib/internal/types/index.mjs +0 -3
  123. package/esm2022/lib/internal/types/internal-resolve-dependency-fn.type.mjs +0 -2
  124. package/esm2022/lib/internal/types/localizable-values.type.mjs +0 -2
  125. package/esm2022/lib/internal/utils/handlers-order-comparer.mjs +0 -42
  126. package/esm2022/lib/internal/utils/index.mjs +0 -8
  127. package/esm2022/lib/internal/utils/instantiate.mjs +0 -24
  128. package/esm2022/lib/internal/utils/localization-utils.mjs +0 -24
  129. package/esm2022/lib/internal/utils/metadata-utils.mjs +0 -236
  130. package/esm2022/lib/internal/utils/module-utils.mjs +0 -38
  131. package/esm2022/lib/internal/utils/object-deep-keys/index.mjs +0 -2
  132. package/esm2022/lib/internal/utils/object-deep-keys/object-deep-keys.mjs +0 -13
  133. package/esm2022/lib/internal/utils/request-handler-scopes.mjs +0 -10
  134. package/esm2022/lib/public/decorators/chat-message-type/chat-message-type.decorator.mjs +0 -20
  135. package/esm2022/lib/public/decorators/chat-message-type/index.mjs +0 -2
  136. package/esm2022/lib/public/decorators/converter/converter.decorator.mjs +0 -21
  137. package/esm2022/lib/public/decorators/converter/index.mjs +0 -2
  138. package/esm2022/lib/public/decorators/index.mjs +0 -12
  139. package/esm2022/lib/public/decorators/inject/index.mjs +0 -2
  140. package/esm2022/lib/public/decorators/inject/inject.decorator.mjs +0 -19
  141. package/esm2022/lib/public/decorators/input/index.mjs +0 -2
  142. package/esm2022/lib/public/decorators/input/input.decorator.mjs +0 -25
  143. package/esm2022/lib/public/decorators/interface-designer-item/index.mjs +0 -4
  144. package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item-decorator-utils.mjs +0 -29
  145. package/esm2022/lib/public/decorators/interface-designer-item/interface-designer-item.decorator.mjs +0 -10
  146. package/esm2022/lib/public/decorators/interface-designer-item/mobile-interface-designer-item.decorator.mjs +0 -10
  147. package/esm2022/lib/public/decorators/module/index.mjs +0 -2
  148. package/esm2022/lib/public/decorators/module/module.decorator.mjs +0 -9
  149. package/esm2022/lib/public/decorators/output/index.mjs +0 -2
  150. package/esm2022/lib/public/decorators/output/output.decorator.mjs +0 -19
  151. package/esm2022/lib/public/decorators/request-handler/index.mjs +0 -2
  152. package/esm2022/lib/public/decorators/request-handler/request-handler.decorator.mjs +0 -22
  153. package/esm2022/lib/public/decorators/validation-input/index.mjs +0 -2
  154. package/esm2022/lib/public/decorators/validation-input/validation-input.decorator.mjs +0 -27
  155. package/esm2022/lib/public/decorators/validator/index.mjs +0 -2
  156. package/esm2022/lib/public/decorators/validator/validator.decorator.mjs +0 -25
  157. package/esm2022/lib/public/decorators/view-element/index.mjs +0 -4
  158. package/esm2022/lib/public/decorators/view-element/mobile-view-element.decorator.mjs +0 -9
  159. package/esm2022/lib/public/decorators/view-element/view-element-decorator-utils.mjs +0 -33
  160. package/esm2022/lib/public/decorators/view-element/view-element.decorator.mjs +0 -10
  161. package/esm2022/lib/public/enums/data-source-load-type.enum.mjs +0 -10
  162. package/esm2022/lib/public/enums/index.mjs +0 -5
  163. package/esm2022/lib/public/enums/process-status.enum.mjs +0 -28
  164. package/esm2022/lib/public/enums/view-element-property.enum.mjs +0 -9
  165. package/esm2022/lib/public/enums/view-model-collection-action-type.enum.mjs +0 -24
  166. package/esm2022/lib/public/functions/bootstrap-crt-module-handler-chain-services.mjs +0 -32
  167. package/esm2022/lib/public/functions/bootstrap-crt-module.mjs +0 -357
  168. package/esm2022/lib/public/functions/bootstrapped-crt-modules.mjs +0 -8
  169. package/esm2022/lib/public/functions/crt-module-context-hooks.mjs +0 -30
  170. package/esm2022/lib/public/functions/define-render-config.mjs +0 -16
  171. package/esm2022/lib/public/functions/index.mjs +0 -10
  172. package/esm2022/lib/public/functions/localize.mjs +0 -29
  173. package/esm2022/lib/public/functions/register-angular-view-element.mjs +0 -13
  174. package/esm2022/lib/public/functions/register-view-element.mjs +0 -21
  175. package/esm2022/lib/public/functions/reset-globals.mjs +0 -37
  176. package/esm2022/lib/public/handlers/base-request-handler.mjs +0 -37
  177. package/esm2022/lib/public/handlers/index.mjs +0 -2
  178. package/esm2022/lib/public/models/ai-context/ai-context-part.mjs +0 -2
  179. package/esm2022/lib/public/models/ai-context/index.mjs +0 -2
  180. package/esm2022/lib/public/models/base-response.model.mjs +0 -2
  181. package/esm2022/lib/public/models/converter/converter-config.mjs +0 -2
  182. package/esm2022/lib/public/models/converter/index.mjs +0 -2
  183. package/esm2022/lib/public/models/converter.model.mjs +0 -2
  184. package/esm2022/lib/public/models/entity.model.mjs +0 -2
  185. package/esm2022/lib/public/models/error-info.model.mjs +0 -2
  186. package/esm2022/lib/public/models/image-value.model.mjs +0 -2
  187. package/esm2022/lib/public/models/index.mjs +0 -21
  188. package/esm2022/lib/public/models/input/index.mjs +0 -2
  189. package/esm2022/lib/public/models/input/input-registration-config.model.mjs +0 -6
  190. package/esm2022/lib/public/models/interface-designer-item/index.mjs +0 -2
  191. package/esm2022/lib/public/models/interface-designer-item/interface-designer-item-definition.mjs +0 -2
  192. package/esm2022/lib/public/models/item-creation-config.mjs +0 -2
  193. package/esm2022/lib/public/models/license/index.mjs +0 -2
  194. package/esm2022/lib/public/models/license/license-restriction-operation-values.model.mjs +0 -2
  195. package/esm2022/lib/public/models/localizable-value.mjs +0 -20
  196. package/esm2022/lib/public/models/mask-settings.mjs +0 -2
  197. package/esm2022/lib/public/models/module-definition.mjs +0 -2
  198. package/esm2022/lib/public/models/process-engine/index.mjs +0 -4
  199. package/esm2022/lib/public/models/process-engine/process-parameter-value.model.mjs +0 -2
  200. package/esm2022/lib/public/models/process-engine/run-process-request.model.mjs +0 -12
  201. package/esm2022/lib/public/models/process-engine/run-process-response.model.mjs +0 -2
  202. package/esm2022/lib/public/models/request/base-request-config.mjs +0 -8
  203. package/esm2022/lib/public/models/request/data-source-request.mjs +0 -11
  204. package/esm2022/lib/public/models/request/handle-view-model-attribute-change.request.mjs +0 -29
  205. package/esm2022/lib/public/models/request/index.mjs +0 -6
  206. package/esm2022/lib/public/models/request/model-event.model.mjs +0 -2
  207. package/esm2022/lib/public/models/request/view-model-attribute-change-event-options.mjs +0 -2
  208. package/esm2022/lib/public/models/request-handler/index.mjs +0 -2
  209. package/esm2022/lib/public/models/request-handler/request-handler-definition.mjs +0 -2
  210. package/esm2022/lib/public/models/validation/base-validator.mjs +0 -40
  211. package/esm2022/lib/public/models/validation/crt-control-state.mjs +0 -2
  212. package/esm2022/lib/public/models/validation/crt-validation-errors.mjs +0 -2
  213. package/esm2022/lib/public/models/validation/crt-validator-fn.mjs +0 -2
  214. package/esm2022/lib/public/models/validation/index.mjs +0 -8
  215. package/esm2022/lib/public/models/validation/validation-info.mjs +0 -2
  216. package/esm2022/lib/public/models/validation/validator-config.mjs +0 -2
  217. package/esm2022/lib/public/models/validation/validator-parameter-values.mjs +0 -2
  218. package/esm2022/lib/public/models/view-element/base-view-element-registration-config.mjs +0 -2
  219. package/esm2022/lib/public/models/view-element/index.mjs +0 -6
  220. package/esm2022/lib/public/models/view-element/view-element-registration-config.mjs +0 -2
  221. package/esm2022/lib/public/models/view-element/view-element-render-strategy.mjs +0 -18
  222. package/esm2022/lib/public/models/view-element/view-element-reuse-strategy.enum.mjs +0 -15
  223. package/esm2022/lib/public/models/view-element/view-element-slot-definition.mjs +0 -2
  224. package/esm2022/lib/public/models/view-model-collection/index.mjs +0 -3
  225. package/esm2022/lib/public/models/view-model-collection/view-model-collection-change.model.mjs +0 -2
  226. package/esm2022/lib/public/models/view-model-collection/view-model-collection.model.mjs +0 -2
  227. package/esm2022/lib/public/services/ai-context/ai-context.service.mjs +0 -86
  228. package/esm2022/lib/public/services/ai-context/index.mjs +0 -2
  229. package/esm2022/lib/public/services/crt-zone/crt-zone.service.mjs +0 -22
  230. package/esm2022/lib/public/services/crt-zone/index.mjs +0 -2
  231. package/esm2022/lib/public/services/dialog-service/dialog.service.mjs +0 -24
  232. package/esm2022/lib/public/services/dialog-service/index.mjs +0 -2
  233. package/esm2022/lib/public/services/feature/feature.service.mjs +0 -26
  234. package/esm2022/lib/public/services/feature/index.mjs +0 -2
  235. package/esm2022/lib/public/services/handler-chain/handler-chain.service.mjs +0 -71
  236. package/esm2022/lib/public/services/handler-chain/index.mjs +0 -2
  237. package/esm2022/lib/public/services/handler-chain/internal-handler-chain.mjs +0 -195
  238. package/esm2022/lib/public/services/http-client/http-client.service.mjs +0 -83
  239. package/esm2022/lib/public/services/http-client/http-headers.mjs +0 -2
  240. package/esm2022/lib/public/services/http-client/http-response.mjs +0 -2
  241. package/esm2022/lib/public/services/http-client/index.mjs +0 -4
  242. package/esm2022/lib/public/services/index.mjs +0 -17
  243. package/esm2022/lib/public/services/license/index.mjs +0 -2
  244. package/esm2022/lib/public/services/license/license.service.mjs +0 -30
  245. package/esm2022/lib/public/services/mask-service/index.mjs +0 -2
  246. package/esm2022/lib/public/services/mask-service/mask.service.mjs +0 -46
  247. package/esm2022/lib/public/services/message-channel/index.mjs +0 -2
  248. package/esm2022/lib/public/services/message-channel/message-channel.service.mjs +0 -27
  249. package/esm2022/lib/public/services/model/index.mjs +0 -2
  250. package/esm2022/lib/public/services/model/model.mjs +0 -102
  251. package/esm2022/lib/public/services/process-engine/index.mjs +0 -2
  252. package/esm2022/lib/public/services/process-engine/process-engine.service.mjs +0 -27
  253. package/esm2022/lib/public/services/rights/index.mjs +0 -2
  254. package/esm2022/lib/public/services/rights/rights.service.mjs +0 -26
  255. package/esm2022/lib/public/services/schema-modal/index.mjs +0 -3
  256. package/esm2022/lib/public/services/schema-modal/schema-modal-config.model.mjs +0 -2
  257. package/esm2022/lib/public/services/schema-modal/schema-modal.service.mjs +0 -23
  258. package/esm2022/lib/public/services/sys-settings/index.mjs +0 -3
  259. package/esm2022/lib/public/services/sys-settings/sys-setting.model.mjs +0 -24
  260. package/esm2022/lib/public/services/sys-settings/sys-settings.service.mjs +0 -36
  261. package/esm2022/lib/public/services/sys-values/index.mjs +0 -3
  262. package/esm2022/lib/public/services/sys-values/sys-values.mjs +0 -2
  263. package/esm2022/lib/public/services/sys-values/sys-values.service.mjs +0 -23
  264. package/esm2022/lib/public/services/transaction-factory/index.mjs +0 -2
  265. package/esm2022/lib/public/services/transaction-factory/transaction-factory.service.mjs +0 -40
package/index.d.ts CHANGED
@@ -89,6 +89,8 @@ import { ɵExpressionParser as ExpressionParser } from '@creatio/base';
89
89
  import { ɵExpressionResolver as ExpressionResolver } from '@creatio/base';
90
90
  import { ɵExpressionType as ExpressionType } from '@creatio/base';
91
91
  import { ɵFilterGroup as FilterGroup } from '@creatio/base';
92
+ import { FilterGroupOrigin } from '@creatio/base';
93
+ import { ɵFilterGroupOriginType as FilterGroupOriginType } from '@creatio/base';
92
94
  import { ɵFilterMock as FilterMock } from '@creatio/base';
93
95
  import { ɵFilterParser as FilterParser } from '@creatio/base';
94
96
  import { ɵFilterResolver as FilterResolver } from '@creatio/base';
@@ -141,6 +143,11 @@ import { ɵRequestRegistrationConfig as RequestRegistrationConfig } from '@creat
141
143
  import { ɵResolveDependencyFn as ResolveDependencyFn } from '@creatio/base';
142
144
  import { ɵSchemaViewMaskRequest as SchemaViewMaskRequest } from '@creatio/base';
143
145
  import { ɵSchemaViewMaskRequestAction as SchemaViewMaskRequestAction } from '@creatio/base';
146
+ import { ɵSegmentFilter as SegmentFilter } from '@creatio/base';
147
+ import { ɵSegmentFilterComparisonType as SegmentFilterComparisonType } from '@creatio/base';
148
+ import { ɵSegmentFilterDto as SegmentFilterDto } from '@creatio/base';
149
+ import { ɵSegmentFilterOptions as SegmentFilterOptions } from '@creatio/base';
150
+ import { ɵSegmentFilterOptionsDto as SegmentFilterOptionsDto } from '@creatio/base';
144
151
  import { ɵSelectLocalizationQuery as SelectLocalizationQuery } from '@creatio/base';
145
152
  import { ɵSingleFilter as SingleFilter } from '@creatio/base';
146
153
  import { ɵSortColumnOptions as SortColumnOptions } from '@creatio/base';
@@ -193,7 +200,6 @@ export { AggregationType }
193
200
  */
194
201
  export declare class AiContextService {
195
202
  private _contextParts;
196
- private static _instance;
197
203
  /**
198
204
  * Retrieves the singleton instance of the `AiContextService`.
199
205
  * If the instance does not exist, it will be created.
@@ -263,9 +269,37 @@ export { ArithmeticQueryColumn }
263
269
 
264
270
  /**
265
271
  * @public
272
+ * Base shape shared by all AI context parts.
266
273
  */
267
274
  export declare interface BaseContextPart {
275
+ /** Discriminator identifying the concrete context part type. */
268
276
  type?: string;
277
+ /**
278
+ * The unique identifier of the context part as registered in `AiContextService`.
279
+ * Populated by `AiContextService.getContext()` for each resolved part.
280
+ */
281
+ contextId: string;
282
+ }
283
+
284
+ /**
285
+ * @description Common hierarchy options shared between client-side and server-side hierarchy modes.
286
+ * @property {'ClientSide' | 'ServerSide'} type Type of hierarchy handling.
287
+ * @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
288
+ * @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
289
+ */
290
+ declare interface BaseDataSourceHierarchyConfig {
291
+ /**
292
+ * @description Type of hierarchy handling.
293
+ */
294
+ type?: 'ClientSide' | 'ServerSide';
295
+ /**
296
+ * @description Name of the column that defines the hierarchy.
297
+ */
298
+ hierarchicalColumnName: string;
299
+ /**
300
+ * @description Value of the hierarchical column to start loading from.
301
+ */
302
+ hierarchicalColumnValue?: string;
269
303
  }
270
304
 
271
305
  export { BaseDataSourceParameter }
@@ -293,6 +327,10 @@ declare abstract class BaseHandlerChainService {
293
327
  /* Excluded from this release type: BaseInterfaceDesignerItemRegistrationConfig */
294
328
 
295
329
  /* Excluded from this release type: BaseInterfaceDesignerItemRegistry */
330
+
331
+ /* Excluded from this release type: BaseItemRendererConfig */
332
+
333
+ /* Excluded from this release type: BaseItemRendererRegistry */
296
334
  export { BaseMessageChannelService }
297
335
 
298
336
  export { BaseModel }
@@ -566,6 +604,31 @@ export declare interface ChatMessageTypeRegistrationConfig {
566
604
  /* Excluded from this release type: checkTypeNameFormat */
567
605
 
568
606
  /* Excluded from this release type: checkTypeNamePascalCase */
607
+
608
+ /**
609
+ * @public
610
+ * @description Configuration for client-side hierarchy processing.
611
+ * @property {'ClientSide'} type Type of hierarchy handling.
612
+ * @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
613
+ * @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
614
+ * @property {string} hierarchicalChildrenCountColumnName Name of the column with children count for a node.
615
+ * @property {HierarchyState} hierarchicalState State of hierarchical rows (expanded/collapsed).
616
+ */
617
+ export declare interface ClientSideDataSourceHierarchyConfig extends BaseDataSourceHierarchyConfig {
618
+ /**
619
+ * @description Type of hierarchy handling.
620
+ */
621
+ type: 'ClientSide';
622
+ /**
623
+ * @description Name of the column with children count for a node.
624
+ */
625
+ hierarchicalChildrenCountColumnName?: string;
626
+ /**
627
+ * @description State of hierarchical rows (expanded/collapsed).
628
+ */
629
+ hierarchicalState?: HierarchyState;
630
+ }
631
+
569
632
  export { ColumnExpression }
570
633
 
571
634
  export { ColumnExpressionConfig }
@@ -578,35 +641,84 @@ export { ConditionalValueItem }
578
641
 
579
642
  /**
580
643
  * @public
644
+ * @description Represents a consent record.
645
+ * @property {Guid} id - Unique identifier of the consent record.
646
+ * @property {string} name - Name of the consent.
647
+ * @property {string} code - Code of the consent.
648
+ * @property {string} consentText - Text of the consent.
649
+ */
650
+ export declare interface Consent {
651
+ /**
652
+ * @description Unique identifier of the consent record.
653
+ */
654
+ id: Guid;
655
+ /**
656
+ * @description Name of the consent.
657
+ */
658
+ name: string;
659
+ /**
660
+ * @description Code of the consent.
661
+ */
662
+ code: string;
663
+ /**
664
+ * @description Text of the consent.
665
+ */
666
+ consentText: string;
667
+ }
668
+
669
+ /**
670
+ * @public
671
+ * Context part holding a set of constant key/value pairs.
581
672
  */
582
673
  export declare interface ConstantValuesContextPart extends BaseContextPart {
674
+ /** Discriminator identifying the context part as a `ConstantValuesContextPart`. */
583
675
  type: 'ConstantValuesContextPart';
676
+ /** Optional human-readable title of the context part. */
677
+ title?: string;
678
+ /** The constant values exposed by this context part. */
584
679
  values: Record<string, unknown>;
585
680
  }
586
681
 
682
+ /**
683
+ * @public
684
+ * A `ConstantValuesContextPart` returned from a `ContextProvider`, before the AI context service
685
+ * attaches the registered `contextId`.
686
+ */
687
+ export declare type ConstantValuesContextPartInput = Omit<ConstantValuesContextPart, 'contextId'>;
688
+
587
689
  /* Excluded from this release type: ContexedHandlerScopeConfig */
588
690
 
589
691
  /**
590
692
  * @public
693
+ * A single record exposed by a {@link ContextDataSourcePart}.
591
694
  */
592
695
  export declare interface ContextDataRecord {
696
+ /** The unique identifier of the record. */
593
697
  id: string;
698
+ /** The display value of the record. */
594
699
  displayColumnValue: string;
595
700
  }
596
701
 
597
702
  /**
598
703
  * @public
704
+ * A data source exposed by a page context part, grouping records of a single entity schema.
599
705
  */
600
706
  export declare interface ContextDataSourcePart {
707
+ /** The name of the entity schema the records belong to. */
601
708
  entitySchemaName: string;
709
+ /** The name of the column used as the display value for each record. */
602
710
  displayColumnName: string;
711
+ /** Whether the data source represents a collection of records rather than a single record. */
603
712
  isCollection: boolean;
713
+ /** Whether this is the primary data source of the page. */
604
714
  isPrimary: boolean;
715
+ /** The records exposed by this data source. */
605
716
  records: Array<ContextDataRecord>;
606
717
  }
607
718
 
608
719
  /**
609
720
  * @public
721
+ * The action to perform on a context part.
610
722
  */
611
723
  export declare type ContextPartAction = 'set' | 'update' | 'remove';
612
724
 
@@ -616,15 +728,19 @@ export declare type ContextPartAction = 'set' | 'update' | 'remove';
616
728
  * This handler processes requests to add, remove, or retrieve context parts.
617
729
  */
618
730
  export declare class ContextPartRequest extends BaseRequest {
731
+ /** The unique identifier of the context part. */
619
732
  id: string;
733
+ /** The provider that resolves the context part. */
620
734
  contextPartProvider: ContextProvider;
735
+ /** The action to perform on the context part. */
621
736
  action: ContextPartAction;
622
737
  }
623
738
 
624
739
  /**
625
740
  * @public
741
+ * A factory that produces a context part to register in `AiContextService`, synchronously or asynchronously.
626
742
  */
627
- export declare type ContextProvider = () => CreatioPageContextPart | Promise<CreatioPageContextPart> | ConstantValuesContextPart | Promise<ConstantValuesContextPart>;
743
+ export declare type ContextProvider = () => CreatioPageContextPartInput | Promise<CreatioPageContextPartInput> | ConstantValuesContextPartInput | Promise<ConstantValuesContextPartInput>;
628
744
 
629
745
  /**
630
746
  * @public
@@ -663,13 +779,26 @@ export declare interface ConverterConfig {
663
779
 
664
780
  /**
665
781
  * @public
782
+ * Context part describing a Creatio page together with the data sources available on it.
666
783
  */
667
784
  export declare interface CreatioPageContextPart extends BaseContextPart {
785
+ /** Discriminator identifying the context part as a `CreatioPageContextPart`. */
668
786
  type?: 'CreatioPageContextPart';
787
+ /** The human-readable title of the page. */
788
+ title: string;
789
+ /** The schema name of the page. */
669
790
  pageSchemaName: string;
791
+ /** The data sources available on the page. */
670
792
  dataSources: Array<ContextDataSourcePart>;
671
793
  }
672
794
 
795
+ /**
796
+ * @public
797
+ * A `CreatioPageContextPart` returned from a `ContextProvider`, before the AI context service
798
+ * attaches the registered `contextId`.
799
+ */
800
+ export declare type CreatioPageContextPartInput = Omit<CreatioPageContextPart, 'contextId'>;
801
+
673
802
  /* Excluded from this release type: CrtAngularViewElementConfig */
674
803
 
675
804
  /**
@@ -763,7 +892,14 @@ export declare class CrtInputRegistrationConfig {
763
892
 
764
893
  /**
765
894
  * @public
766
- * @description Decorator to declare design time configuration for view element.
895
+ * @description (Deprecated) Decorator to declare design time configuration for a view element that is
896
+ * registered eagerly during module bootstrap.
897
+ *
898
+ * @deprecated For new remote integrations, publish interface-designer metadata through
899
+ * {@link RemoteFeatureDefinition.loadDesignerDefinitions} instead of using this decorator.
900
+ * Existing remotes may keep using this decorator for backward compatibility, but should migrate
901
+ * to {@link RemoteEntryDefinition} and {@link RemoteFeatureDefinition} when updated.
902
+ *
767
903
  * @param config - registration config {@link InterfaceDesignerItemDefinition}.
768
904
  *
769
905
  * @example
@@ -795,11 +931,16 @@ export declare class CrtInputRegistrationConfig {
795
931
  */
796
932
  export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
797
933
 
798
- /* Excluded declaration from this release type: CrtInterfaceDesignerItem */
799
-
800
934
  /**
801
935
  * @public
802
- * @description Decorator to declare design time configuration for view element.
936
+ * @description (Deprecated) Decorator to declare design time configuration for a mobile view element that is
937
+ * registered eagerly during module bootstrap.
938
+ *
939
+ * @deprecated For new remote integrations, publish interface-designer metadata through
940
+ * {@link RemoteFeatureDefinition.loadDesignerDefinitions} instead of using this decorator.
941
+ * Existing remotes may keep using this decorator for backward compatibility, but should migrate
942
+ * to {@link RemoteEntryDefinition} and {@link RemoteFeatureDefinition} when updated.
943
+ *
803
944
  * @param config - registration config {@link InterfaceDesignerItemDefinition}.
804
945
  *
805
946
  * @example
@@ -831,8 +972,6 @@ export declare function CrtInterfaceDesignerItem(config: InterfaceDesignerItemDe
831
972
  */
832
973
  export declare function CrtMobileInterfaceDesignerItem(config: InterfaceDesignerItemDefinition): (type: Type) => void;
833
974
 
834
- /* Excluded declaration from this release type: CrtMobileInterfaceDesignerItem */
835
-
836
975
  /**
837
976
  * @public
838
977
  * @description CrtMobileViewElement decorator allows user to declare mobile components in a Creatio platform.
@@ -1108,6 +1247,12 @@ export { DataSourceDatePartFunctionConfig }
1108
1247
 
1109
1248
  export { DataSourceFunctionConfig }
1110
1249
 
1250
+ /**
1251
+ * @public
1252
+ * @description Union type describing all supported hierarchy configuration modes.
1253
+ */
1254
+ export declare type DataSourceHierarchyConfig = ClientSideDataSourceHierarchyConfig | ServerSideDataSourceHierarchyConfig;
1255
+
1111
1256
  export { DataSourceInsertResult }
1112
1257
 
1113
1258
  export { DataSourceInstanceConfig }
@@ -1117,8 +1262,13 @@ export { DataSourceInstanceConfig }
1117
1262
  * @description Represents a set of loading options.
1118
1263
  * @property {string} pagingConfig - The paging options for loading.
1119
1264
  * @property {string} sortingConfig - The sorting options.
1265
+ * @property {DataSourceHierarchyConfig} hierarchyConfig - The hierarchy options.
1120
1266
  */
1121
1267
  export declare interface DataSourceLoadOptions extends ɵDataSourceLoadOptions {
1268
+ /**
1269
+ * @description Hierarchy options.
1270
+ */
1271
+ hierarchyConfig?: DataSourceHierarchyConfig;
1122
1272
  /* Excluded from this release type: loadType */
1123
1273
  /* Excluded from this release type: throttled */
1124
1274
  /* Excluded from this release type: isDistinct */
@@ -1276,6 +1426,10 @@ export declare class FeatureService extends BaseHandlerChainService {
1276
1426
  /* Excluded from this release type: FileViewerOptions */
1277
1427
  export { FilterGroup }
1278
1428
 
1429
+ export { FilterGroupOrigin }
1430
+
1431
+ export { FilterGroupOriginType }
1432
+
1279
1433
  export { FilterMock }
1280
1434
 
1281
1435
  export { FilterParser }
@@ -1397,6 +1551,46 @@ export declare class HandleViewModelAttributeChangeRequest extends BaseRequest<C
1397
1551
 
1398
1552
  /* Excluded from this release type: hasMobileInterfaceDesignerItemMetadata */
1399
1553
 
1554
+ /**
1555
+ * @public
1556
+ * @description Union type that describes all supported hierarchy row states.
1557
+ */
1558
+ export declare type HierarchyState = HierarchyStateCollapsed | HierarchyStateExpanded;
1559
+
1560
+ /**
1561
+ * @public
1562
+ * @description Hierarchy state where collapsed nodes are inferred and expanded nodes are listed explicitly.
1563
+ * @property {'collapsed'} mode State mode identifier.
1564
+ * @property {string[]} expandedIds Identifiers of expanded hierarchy nodes.
1565
+ */
1566
+ export declare interface HierarchyStateCollapsed {
1567
+ /**
1568
+ * @description State mode identifier.
1569
+ */
1570
+ mode: 'collapsed';
1571
+ /**
1572
+ * @description Identifiers of expanded hierarchy nodes.
1573
+ */
1574
+ expandedIds: string[];
1575
+ }
1576
+
1577
+ /**
1578
+ * @public
1579
+ * @description Hierarchy state where expanded nodes are inferred and collapsed nodes are listed explicitly.
1580
+ * @property {'expanded'} mode State mode identifier.
1581
+ * @property {string[]} collapsedIds Identifiers of collapsed hierarchy nodes.
1582
+ */
1583
+ export declare interface HierarchyStateExpanded {
1584
+ /**
1585
+ * @description State mode identifier.
1586
+ */
1587
+ mode: 'expanded';
1588
+ /**
1589
+ * @description Identifiers of collapsed hierarchy nodes.
1590
+ */
1591
+ collapsedIds: string[];
1592
+ }
1593
+
1400
1594
  /* Excluded from this release type: HostHandlerSource */
1401
1595
 
1402
1596
  /**
@@ -1559,6 +1753,8 @@ export declare interface HttpResponse<T = unknown> {
1559
1753
  body: T | null;
1560
1754
  }
1561
1755
 
1756
+ /* Excluded from this release type: IBaseItemRendererRegistry */
1757
+
1562
1758
  /* Excluded from this release type: ImplementUsingHandlerChain */
1563
1759
  export { InFilter }
1564
1760
 
@@ -1642,12 +1838,41 @@ export declare interface InterfaceDesignerItemDefinition {
1642
1838
  /* Excluded from this release type: InternalToolbarViewElementConfig */
1643
1839
 
1644
1840
  /* Excluded from this release type: InternalToolbarViewElementConfigCollection */
1841
+
1842
+ /**
1843
+ * @public
1844
+ * @description Checks whether hierarchy configuration is client-side.
1845
+ * @param hierarchyConfig Hierarchy configuration to check.
1846
+ * @returns `true` if configuration is of type `ClientSideDataSourceHierarchyConfig`.
1847
+ */
1848
+ export declare function isClientSideDataSourceHierarchyConfig(hierarchyConfig: DataSourceHierarchyConfig | undefined): hierarchyConfig is ClientSideDataSourceHierarchyConfig;
1849
+
1645
1850
  export { isEmptyGuid }
1646
1851
 
1647
1852
  export { isGuid }
1648
1853
 
1854
+ /**
1855
+ * @public
1856
+ * @description Determines whether the hierarchy node with the specified identifier is expanded
1857
+ * based on the provided hierarchy state.
1858
+ * @param hierarchyState Hierarchy state object.
1859
+ * @param itemId Identifier of the hierarchy node.
1860
+ * @returns True if the node is expanded; otherwise, false.
1861
+ * @remarks If the hierarchy state is not provided or does not contain necessary information,
1862
+ * the function returns false.
1863
+ */
1864
+ export declare function isHierarchicalItemExpanded(hierarchyState: HierarchyState | undefined, itemId: string): boolean;
1865
+
1649
1866
  export { IsNullFilter }
1650
1867
 
1868
+ /**
1869
+ * @public
1870
+ * @description Checks whether hierarchy configuration is server-side.
1871
+ * @param hierarchyConfig Hierarchy configuration to check.
1872
+ * @returns `true` if configuration is of type `ServerSideDataSourceHierarchyConfig`.
1873
+ */
1874
+ export declare function isServerSideDataSourceHierarchyConfig(hierarchyConfig: DataSourceHierarchyConfig | undefined): hierarchyConfig is ServerSideDataSourceHierarchyConfig;
1875
+
1651
1876
  /**
1652
1877
  * @public
1653
1878
  * @description Config to create item in collection.
@@ -1692,16 +1917,14 @@ export { JsonData }
1692
1917
 
1693
1918
  export { JsonObject }
1694
1919
 
1920
+ /* Excluded from this release type: LazyLoadRefsManager */
1921
+
1695
1922
  /* Excluded from this release type: LazyModuleDefinition */
1696
1923
 
1697
1924
  /* Excluded from this release type: LazyModuleDefinitionWithMetadata */
1698
1925
 
1699
1926
  /* Excluded from this release type: LazyModuleMetadata */
1700
1927
 
1701
- /* Excluded from this release type: LazyModuleRef */
1702
-
1703
- /* Excluded from this release type: LazyModulesManager */
1704
-
1705
1928
  /* Excluded from this release type: LazyRegistryItem */
1706
1929
  export { LengthFunctionColumn }
1707
1930
 
@@ -1885,12 +2108,12 @@ export { MetadataProvider }
1885
2108
  */
1886
2109
  export declare class Model extends BaseHandlerChainService implements BaseModel<DataSourceLoadOptions> {
1887
2110
  private static _instance;
1888
- private _crtModel;
2111
+ private readonly _crtModel;
1889
2112
  /* Excluded from this release type: requestType */
1890
2113
  private constructor();
1891
2114
  private static get instance();
1892
2115
  /* Excluded from this release type: name */
1893
- private _create;
2116
+ private readonly _create;
1894
2117
  /* Excluded from this release type: [_from] */
1895
2118
  static create(dataSchema: string): Promise<Model>;
1896
2119
  getSchema(): Promise<DataSchema>;
@@ -2145,12 +2368,344 @@ export declare function registerViewElement(config: ViewElementRegistrationConfi
2145
2368
 
2146
2369
  /* Excluded from this release type: RemoteBuildInfo */
2147
2370
 
2371
+ /**
2372
+ * Discovery metadata for a remote converter.
2373
+ *
2374
+ * @public
2375
+ */
2376
+ export declare interface RemoteConverterDiscoveryMetadata {
2377
+ /**
2378
+ * Stable converter type published during discovery.
2379
+ */
2380
+ readonly type: string;
2381
+ }
2382
+
2383
+ /**
2384
+ * Context passed to remote designer-definition loaders.
2385
+ *
2386
+ * @public
2387
+ */
2388
+ export declare interface RemoteDesignerDefinitionsLoadContext {
2389
+ /**
2390
+ * Current user culture used to localize returned definitions.
2391
+ *
2392
+ * For example, a remote can use this culture name to load the corresponding translation bundle before
2393
+ * returning toolbox captions.
2394
+ */
2395
+ readonly cultureName: string;
2396
+ }
2397
+
2148
2398
  /* Excluded from this release type: RemoteEntriesRegistry */
2149
2399
 
2400
+ /**
2401
+ * Entry-side definition exported by a remote module.
2402
+ *
2403
+ * The host loads this object from the remote entry point to discover the features published by
2404
+ * the remote build.
2405
+ *
2406
+ * @public
2407
+ */
2408
+ export declare interface RemoteEntryDefinition {
2409
+ /**
2410
+ * Stable remote name matching the registered remote build.
2411
+ */
2412
+ readonly remoteName: string;
2413
+ /**
2414
+ * Features published by the remote entry.
2415
+ *
2416
+ * Feature identifiers must be unique within the same remote entry.
2417
+ */
2418
+ readonly features: readonly RemoteFeatureDefinition[];
2419
+ }
2420
+
2150
2421
  /* Excluded from this release type: RemoteEntryType */
2151
2422
 
2423
+ /**
2424
+ * Defines a remote feature activated on demand.
2425
+ *
2426
+ * A feature can publish runtime types through {@link RemoteFeatureDefinition.discovery}, expose
2427
+ * interface-designer metadata through {@link RemoteFeatureDefinition.loadDesignerDefinitions}, and load its
2428
+ * implementation only when the runtime requests activation.
2429
+ *
2430
+ * @example
2431
+ * ```ts
2432
+ * const runtimeFeature: RemoteFeatureDefinition = {
2433
+ * id: 'runtime',
2434
+ * discovery: {
2435
+ * viewElements: [{ type: 'usr.Address' }],
2436
+ * requestHandlers: [{ type: 'usr.OpenAddressHandler', requestType: 'usr.OpenAddressRequest' }]
2437
+ * },
2438
+ * activate: async () => {
2439
+ * const { activateRuntimeFeature } = await import('./runtime.feature-activation');
2440
+ * await activateRuntimeFeature();
2441
+ * },
2442
+ * loadDesignerDefinitions: async ({ cultureName }) => {
2443
+ * const { loadRuntimeDesignerDefinitions } = await import('./runtime.designer-definitions');
2444
+ * return loadRuntimeDesignerDefinitions({ cultureName });
2445
+ * }
2446
+ * };
2447
+ * ```
2448
+ *
2449
+ * @public
2450
+ */
2451
+ export declare interface RemoteFeatureDefinition {
2452
+ /**
2453
+ * Stable feature identifier inside the remote entry.
2454
+ */
2455
+ readonly id: string;
2456
+ /**
2457
+ * Discovery metadata published during startup.
2458
+ *
2459
+ * Lists the public items exposed by the feature during discovery.
2460
+ * This field should declare metadata only. Register implementations in
2461
+ * {@link RemoteFeatureDefinition.activate}.
2462
+ */
2463
+ readonly discovery?: RemoteFeatureDiscoveryMetadata;
2464
+ /**
2465
+ * Activates the feature when runtime needs its implementation.
2466
+ *
2467
+ * This callback should load and register the implementations for the items published through
2468
+ * {@link RemoteFeatureDefinition.discovery}.
2469
+ */
2470
+ readonly activate: () => Promise<void>;
2471
+ /**
2472
+ * Loads localized interface-designer definitions exposed by the feature to register view elements
2473
+ * in the designer toolbox.
2474
+ *
2475
+ * This callback should only return metadata. Any returned item `type` should match the discovery metadata
2476
+ * published by the same feature.
2477
+ *
2478
+ * @example
2479
+ * ```ts
2480
+ * async loadDesignerDefinitions({ cultureName }) {
2481
+ * const translations = await loadTranslationsForCulture(cultureName);
2482
+ * return {
2483
+ * viewElements: [
2484
+ * {
2485
+ * type: 'usr.Address',
2486
+ * toolbarConfig: {
2487
+ * caption: translations['address.caption'],
2488
+ * icon: '<svg viewBox="0 0 16 16"></svg>'
2489
+ * },
2490
+ * defaultPropertyValues: {
2491
+ * city: translations['address.defaultCity']
2492
+ * },
2493
+ * propertiesPanel: 'usr.AddressPropertiesPanel'
2494
+ * }
2495
+ * ],
2496
+ * mobileViewElements: [
2497
+ * {
2498
+ * type: 'usr.MobileAddress',
2499
+ * toolbarConfig: {
2500
+ * caption: translations['mobileAddress.caption'],
2501
+ * icon: '<svg viewBox="0 0 16 16"></svg>'
2502
+ * },
2503
+ * propertiesPanel: 'usr.MobileAddressPropertiesPanel'
2504
+ * }
2505
+ * ]
2506
+ * };
2507
+ * }
2508
+ * ```
2509
+ */
2510
+ readonly loadDesignerDefinitions?: (context: RemoteDesignerDefinitionsLoadContext) => Promise<RemoteFeatureDesignerDefinitions>;
2511
+ }
2512
+
2513
+ /**
2514
+ * Interface-designer definitions returned by a remote feature.
2515
+ *
2516
+ * Use this payload to register toolbox entries without activating the remote runtime implementation.
2517
+ *
2518
+ * @example
2519
+ * ```ts
2520
+ * {
2521
+ * viewElements: [
2522
+ * {
2523
+ * type: 'usr.Address',
2524
+ * toolbarConfig: {
2525
+ * caption: 'Address',
2526
+ * icon: '<svg viewBox="0 0 16 16"></svg>'
2527
+ * },
2528
+ * defaultPropertyValues: {
2529
+ * city: 'Boston'
2530
+ * },
2531
+ * propertiesPanel: 'usr.AddressPropertiesPanel'
2532
+ * }
2533
+ * ]
2534
+ * }
2535
+ * ```
2536
+ *
2537
+ * @public
2538
+ */
2539
+ export declare interface RemoteFeatureDesignerDefinitions {
2540
+ /**
2541
+ * Designer metadata for discovered view elements.
2542
+ *
2543
+ * Each `type` should correspond to an item from {@link RemoteFeatureDiscoveryMetadata.viewElements}.
2544
+ */
2545
+ readonly viewElements?: readonly RemoteViewElementDesignerDefinition[];
2546
+ /**
2547
+ * Designer metadata for discovered mobile view elements.
2548
+ *
2549
+ * Each `type` should correspond to an item from {@link RemoteFeatureDiscoveryMetadata.mobileViewElements}.
2550
+ */
2551
+ readonly mobileViewElements?: readonly RemoteViewElementDesignerDefinition[];
2552
+ }
2553
+
2554
+ /**
2555
+ * Aggregated discovery metadata for a remote feature.
2556
+ *
2557
+ * Lists the public items exposed by a feature during discovery.
2558
+ * Register their implementations in {@link RemoteFeatureDefinition.activate}.
2559
+ *
2560
+ * @public
2561
+ */
2562
+ export declare interface RemoteFeatureDiscoveryMetadata {
2563
+ /**
2564
+ * View elements exposed by the feature.
2565
+ */
2566
+ readonly viewElements?: readonly RemoteViewElementDiscoveryMetadata[];
2567
+ /**
2568
+ * Mobile view elements exposed by the feature.
2569
+ */
2570
+ readonly mobileViewElements?: readonly RemoteViewElementDiscoveryMetadata[];
2571
+ /**
2572
+ * Converters exposed by the feature.
2573
+ */
2574
+ readonly converters?: readonly RemoteConverterDiscoveryMetadata[];
2575
+ /**
2576
+ * Validators exposed by the feature.
2577
+ */
2578
+ readonly validators?: readonly RemoteValidatorDiscoveryMetadata[];
2579
+ /**
2580
+ * Request handlers exposed by the feature.
2581
+ */
2582
+ readonly requestHandlers?: readonly RemoteRequestHandlerDiscoveryMetadata[];
2583
+ }
2584
+
2152
2585
  /* Excluded from this release type: RemoteHandlerSource */
2153
2586
 
2587
+ /**
2588
+ * Discovery metadata for a remote request handler.
2589
+ *
2590
+ * @public
2591
+ */
2592
+ export declare interface RemoteRequestHandlerDiscoveryMetadata {
2593
+ /**
2594
+ * Stable request-handler type published during discovery.
2595
+ */
2596
+ readonly type: string;
2597
+ /**
2598
+ * Request type handled by the handler.
2599
+ */
2600
+ readonly requestType: string;
2601
+ /**
2602
+ * Optional scope restriction for the handler.
2603
+ *
2604
+ * When specified, the handler is considered only for requests executed inside the listed scopes.
2605
+ */
2606
+ readonly scopes?: string[];
2607
+ }
2608
+
2609
+ /**
2610
+ * Discovery metadata for a remote validator.
2611
+ *
2612
+ * @public
2613
+ */
2614
+ export declare interface RemoteValidatorDiscoveryMetadata {
2615
+ /**
2616
+ * Stable validator type published during discovery.
2617
+ */
2618
+ readonly type: string;
2619
+ }
2620
+
2621
+ /**
2622
+ * Interface-designer metadata exposed by a remote view element.
2623
+ *
2624
+ * Use this payload to register toolbox entries in the interface designer without activating the
2625
+ * remote runtime implementation.
2626
+ *
2627
+ * @example
2628
+ * ```ts
2629
+ * {
2630
+ * type: 'usr.Address',
2631
+ * toolbarConfig: {
2632
+ * caption: 'Address',
2633
+ * icon: '<svg viewBox="0 0 16 16"></svg>'
2634
+ * },
2635
+ * defaultPropertyValues: {
2636
+ * street: 'Main st.',
2637
+ * city: 'Boston'
2638
+ * },
2639
+ * propertiesPanel: 'usr.AddressPropertiesPanel'
2640
+ * }
2641
+ * ```
2642
+ *
2643
+ * @public
2644
+ */
2645
+ export declare interface RemoteViewElementDesignerDefinition {
2646
+ /**
2647
+ * Stable view element type already published through discovery metadata.
2648
+ *
2649
+ * Must match the `type` of a corresponding item from {@link RemoteFeatureDiscoveryMetadata.viewElements} or
2650
+ * {@link RemoteFeatureDiscoveryMetadata.mobileViewElements} published by the same feature.
2651
+ */
2652
+ readonly type: string;
2653
+ /**
2654
+ * Toolbar configuration displayed in the interface designer.
2655
+ */
2656
+ readonly toolbarConfig: {
2657
+ /**
2658
+ * Visible caption in the interface-designer toolbox.
2659
+ */
2660
+ readonly caption: string;
2661
+ /**
2662
+ * Raw SVG markup displayed as the toolbox icon.
2663
+ *
2664
+ * @example
2665
+ * ```ts
2666
+ * icon: '<svg viewBox="0 0 16 16"></svg>'
2667
+ * ```
2668
+ *
2669
+ * @example
2670
+ * ```ts
2671
+ * icon: require(`!!raw-loader?{esModule:false}!../assets/icon.svg`)
2672
+ * ```
2673
+ */
2674
+ readonly icon: string;
2675
+ /**
2676
+ * Optional hint displayed on hover in the interface-designer toolbox.
2677
+ */
2678
+ readonly hint?: string;
2679
+ };
2680
+ /**
2681
+ * Default property values applied when the item is added from the toolbox.
2682
+ *
2683
+ * Keys must match property names expected by the view element.
2684
+ */
2685
+ readonly defaultPropertyValues?: Record<string, JsonData>;
2686
+ /**
2687
+ * Type name of the properties panel component used for configuring the view element in the interface designer.
2688
+ *
2689
+ * @example
2690
+ * ```ts
2691
+ * propertiesPanel: 'usr.AddressPropertiesPanel'
2692
+ * ```
2693
+ */
2694
+ readonly propertiesPanel?: string;
2695
+ }
2696
+
2697
+ /**
2698
+ * Discovery metadata for a remote view element.
2699
+ *
2700
+ * @public
2701
+ */
2702
+ export declare interface RemoteViewElementDiscoveryMetadata {
2703
+ /**
2704
+ * Stable view element type published during discovery.
2705
+ */
2706
+ readonly type: string;
2707
+ }
2708
+
2154
2709
  /* Excluded from this release type: RemoveRequestHandlerListener */
2155
2710
  export { RequestHandler }
2156
2711
 
@@ -2367,8 +2922,47 @@ export { SchemaViewMaskRequest }
2367
2922
 
2368
2923
  export { SchemaViewMaskRequestAction }
2369
2924
 
2925
+ export { SegmentFilter }
2926
+
2927
+ export { SegmentFilterComparisonType }
2928
+
2929
+ export { SegmentFilterDto }
2930
+
2931
+ export { SegmentFilterOptions }
2932
+
2933
+ export { SegmentFilterOptionsDto }
2934
+
2370
2935
  export { SelectLocalizationQuery }
2371
2936
 
2937
+ /**
2938
+ * @public
2939
+ * @description Configuration for server-side hierarchy processing.
2940
+ * @property {'ServerSide'} type Type of hierarchy handling.
2941
+ * @property {string} hierarchicalColumnName Name of the column that defines the hierarchy.
2942
+ * @property {string} hierarchicalColumnValue Value of the hierarchical column to start loading from.
2943
+ * @property {FilterGroup} hierarchicalColumnFiltersValue Filters to be applied on the hierarchical column.
2944
+ * @property {number} hierarchicalMaxDepth Maximum depth of the hierarchy to be loaded.
2945
+ * @property {boolean} hierarchicalFullDataLoad Whether to load the full hierarchy data.
2946
+ */
2947
+ export declare interface ServerSideDataSourceHierarchyConfig extends BaseDataSourceHierarchyConfig {
2948
+ /**
2949
+ * @description Type of hierarchy handling.
2950
+ */
2951
+ type?: 'ServerSide';
2952
+ /**
2953
+ * @description Filters to be applied on the hierarchical column.
2954
+ */
2955
+ hierarchicalColumnFiltersValue?: FilterGroup;
2956
+ /**
2957
+ * @description Maximum depth of the hierarchy to be loaded.
2958
+ */
2959
+ hierarchicalMaxDepth?: number;
2960
+ /**
2961
+ * @description Whether to load the full hierarchy data.
2962
+ */
2963
+ hierarchicalFullDataLoad?: boolean;
2964
+ }
2965
+
2372
2966
  /* Excluded from this release type: setConverterMetadata */
2373
2967
 
2374
2968
  /* Excluded from this release type: setDesignTimeViewElementMetadata */
@@ -2604,6 +3198,59 @@ export declare class SysValuesService extends BaseHandlerChainService {
2604
3198
 
2605
3199
  export { TeardownLogic }
2606
3200
 
3201
+ /**
3202
+ * @public
3203
+ * @description Theme definition exposed through handler-chain services and shared runtime APIs.
3204
+ */
3205
+ export declare interface ThemeDefinition {
3206
+ /**
3207
+ * @description Stable theme identifier.
3208
+ */
3209
+ id: string;
3210
+ /**
3211
+ * @description Display caption.
3212
+ */
3213
+ caption: string;
3214
+ /**
3215
+ * @description CSS class applied to the host when the theme is active.
3216
+ */
3217
+ cssClassName: string;
3218
+ /**
3219
+ * @description Resolved theme stylesheet path or URL when external CSS is available.
3220
+ */
3221
+ cssFilePath?: string;
3222
+ }
3223
+
3224
+ /**
3225
+ * @public
3226
+ * @classdesc Service to retrieve available themes using handler chain.
3227
+ * @extends {BaseHandlerChainService}
3228
+ */
3229
+ export declare class ThemeService extends BaseHandlerChainService {
3230
+ /* Excluded from this release type: requestType */
3231
+ /**
3232
+ * @description Method designed to get all available themes.
3233
+ * @returns `Promise<ThemeDefinition[]>`
3234
+ */
3235
+ getAvailableThemes: () => Promise<ThemeDefinition[]>;
3236
+ /**
3237
+ * @description Method designed to apply theme by id.
3238
+ * @param {string} themeId - theme identifier
3239
+ * @returns `Promise<void>`
3240
+ */
3241
+ applyTheme: (themeId: string) => Promise<void>;
3242
+ /**
3243
+ * @description Checks whether the current user is allowed to customize branding.
3244
+ * @returns `Promise<boolean>`
3245
+ */
3246
+ canCustomizeBranding: () => Promise<boolean>;
3247
+ /**
3248
+ * @description Checks whether the current user is allowed to change their own theme.
3249
+ * @returns `Promise<boolean>`
3250
+ */
3251
+ canChangeOwnTheme: () => Promise<boolean>;
3252
+ }
3253
+
2607
3254
  /* Excluded from this release type: toAggregationEval */
2608
3255
 
2609
3256
  /* Excluded from this release type: toAggregationEvalType */
@@ -2662,6 +3309,117 @@ export { Type }
2662
3309
  /* Excluded from this release type: UnsubscribeListener */
2663
3310
  export { UpdateQuery }
2664
3311
 
3312
+ /**
3313
+ * @public
3314
+ * @description Represents a user consent history record.
3315
+ * @property {Guid} id - Unique identifier of the user consent record.
3316
+ * @property {string} consentCode - Consent code associated with the user consent.
3317
+ * @property {Date} dateOfConsent - Date when the user provided consent.
3318
+ * @property {Date | null} expirationDate - Date when the user consent expires; `null` for perpetual consent.
3319
+ */
3320
+ export declare interface UserConsent {
3321
+ /**
3322
+ * @description Unique identifier of the user consent record.
3323
+ */
3324
+ id: Guid;
3325
+ /**
3326
+ * @description Consent code associated with the user consent.
3327
+ */
3328
+ consentCode: string;
3329
+ /**
3330
+ * @description Date when the user provided consent.
3331
+ */
3332
+ dateOfConsent: Date;
3333
+ /**
3334
+ * @description Date when the user consent expires. `null` when the consent does not expire.
3335
+ */
3336
+ expirationDate: Date | null;
3337
+ }
3338
+
3339
+ /**
3340
+ * @public
3341
+ * @class UserConsentService
3342
+ * @classdesc Service to work with consents of the current user.
3343
+ */
3344
+ export declare class UserConsentService {
3345
+ private static _instance;
3346
+ private readonly _consentSchemaName;
3347
+ private readonly _userConsentHistorySchemaName;
3348
+ private readonly _sysValuesService;
3349
+ private _currentUserContactId?;
3350
+ /**
3351
+ * @description Gets shared service instance.
3352
+ * @returns Shared `UserConsentService` instance.
3353
+ */
3354
+ static get instance(): UserConsentService;
3355
+ /**
3356
+ * Retrieves the current user's contact ID.
3357
+ * @returns Current user contact id. Cached after first retrieval.
3358
+ */
3359
+ private _getCurrentUserContactId;
3360
+ /**
3361
+ * Maps a JSON record to a UserConsent object.
3362
+ * @param record - JSON record to map.
3363
+ * @param code - Consent code associated with the user consent.
3364
+ * @returns User consent object.
3365
+ */
3366
+ private _mapToUserConsent;
3367
+ /**
3368
+ * Creates filter parameters for model loading based on the provided filters.
3369
+ * @param filters - Filter values by column name.
3370
+ * @returns Model filter parameters.
3371
+ */
3372
+ private _createFilterParameters;
3373
+ /**
3374
+ * Selects a consent record from the provided JSON records.
3375
+ * @param records - Records to select from.
3376
+ * @param code - Consent code associated with the consent.
3377
+ * @returns Consent object or `null` if not found.
3378
+ */
3379
+ private _selectConsent;
3380
+ /**
3381
+ * Selects a user consent record from the provided JSON records.
3382
+ * @param records - Records to select from.
3383
+ * @param code - Consent code associated with the user consent.
3384
+ * @returns User consent object or `null` if no valid user consent is found.
3385
+ */
3386
+ private _selectUserConsent;
3387
+ /**
3388
+ * Loads the consent model.
3389
+ * @returns Loaded consent model.
3390
+ */
3391
+ private _loadConsentModel;
3392
+ /**
3393
+ * Loads the user consent history model.
3394
+ * @returns Loaded user consent history model.
3395
+ */
3396
+ private _loadUserConsentModel;
3397
+ /**
3398
+ * Creates a new user consent record in the user consent history model.
3399
+ * @param consentId - Identifier of the consent record.
3400
+ * @param expirationDate - Optional expiration date of the user consent.
3401
+ */
3402
+ private _insertUserConsent;
3403
+ /**
3404
+ * @description Gets consent by code.
3405
+ * @param code - Consent code.
3406
+ * @returns Consent record or `null` if not found.
3407
+ */
3408
+ getConsent(code: string): Promise<Consent | null>;
3409
+ /**
3410
+ * @description Gets current user consent by code.
3411
+ * @param code - Consent code.
3412
+ * @returns User consent record or `null` if no active or perpetual consent exists.
3413
+ */
3414
+ getCurrentUserConsent(code: string): Promise<UserConsent | null>;
3415
+ /**
3416
+ * @description Gives current user consent by code.
3417
+ * @param code - Consent code.
3418
+ * @param expirationDate - Optional expiration date for the user consent.
3419
+ */
3420
+ giveCurrentUserConsent(code: string, expirationDate?: Date): Promise<void>;
3421
+ }
3422
+
2665
3423
  export { ValidationUtilities }
2666
3424
 
2667
3425
  /**
@@ -2902,12 +3660,26 @@ export declare class ɵBaseRegistry {
2902
3660
  */
2903
3661
  export declare function ɵcheckTypeNameFormat(type: string, element: string): void;
2904
3662
 
3663
+ /* Excluded from this release type: ɵCrtInterfaceDesignerItem */
3664
+
3665
+ /* Excluded from this release type: ɵCrtMobileInterfaceDesignerItem */
3666
+
3667
+ /* Excluded from this release type: ɵFeatureActivationRef */
3668
+
2905
3669
  /**
2906
3670
  * @public
2907
3671
  * @description For internal use only.
2908
3672
  */
2909
3673
  export declare function ɵinstantiate<T = unknown>(type: Type<T>, resolveDependency: ResolveDependencyFn | undefined): T;
2910
3674
 
3675
+ /* Excluded from this release type: ɵLazyLoadRef */
3676
+
3677
+ /* Excluded from this release type: ɵLazyModuleRef */
3678
+
3679
+ /* Excluded from this release type: ɵloadLazyRef */
3680
+
3681
+ /* Excluded from this release type: ɵloadLazyRefs */
3682
+
2911
3683
  /**
2912
3684
  * @public
2913
3685
  * @description For internal use only.