@cuby-ui/core 0.0.484 → 0.0.487

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 (1161) hide show
  1. package/README.md +794 -13
  2. package/package.json +7 -4
  3. package/animations/animations.d.ts +0 -36
  4. package/animations/index.d.ts +0 -1
  5. package/classes/accessors.d.ts +0 -17
  6. package/classes/driver.d.ts +0 -16
  7. package/classes/index.d.ts +0 -3
  8. package/classes/vehicle.d.ts +0 -6
  9. package/components/accordion/accordion-item/accordion-item.component.d.ts +0 -14
  10. package/components/accordion/accordion-item/accordion-item.options.d.ts +0 -1
  11. package/components/accordion/accordion.component.d.ts +0 -5
  12. package/components/accordion/accordion.directive.d.ts +0 -15
  13. package/components/accordion/accordion.module.d.ts +0 -11
  14. package/components/accordion/index.d.ts +0 -4
  15. package/components/alert/alert.component.d.ts +0 -13
  16. package/components/alert/alert.interfaces.d.ts +0 -9
  17. package/components/alert/alert.module.d.ts +0 -11
  18. package/components/alert/alert.service.d.ts +0 -7
  19. package/components/alert/alert.tokens.d.ts +0 -16
  20. package/components/alert/alert.types.d.ts +0 -3
  21. package/components/alert/alerts.component.d.ts +0 -17
  22. package/components/alert/index.d.ts +0 -8
  23. package/components/alert-hint/alert-hint.component.d.ts +0 -11
  24. package/components/alert-hint/error-status.d.ts +0 -1
  25. package/components/alert-hint/index.d.ts +0 -2
  26. package/components/badge/badge.component.d.ts +0 -10
  27. package/components/badge/badge.module.d.ts +0 -8
  28. package/components/badge/badge.options.d.ts +0 -12
  29. package/components/badge/index.d.ts +0 -3
  30. package/components/banner/banner.component.d.ts +0 -21
  31. package/components/banner/banner.module.d.ts +0 -11
  32. package/components/banner/banner.options.d.ts +0 -13
  33. package/components/banner/index.d.ts +0 -3
  34. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -6
  35. package/components/breadcrumbs/breadcrumbs.component.d.ts +0 -7
  36. package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
  37. package/components/breadcrumbs/index.d.ts +0 -3
  38. package/components/button/button.component.d.ts +0 -39
  39. package/components/button/button.module.d.ts +0 -9
  40. package/components/button/button.options.d.ts +0 -14
  41. package/components/button/index.d.ts +0 -3
  42. package/components/button-group/button-group.component.d.ts +0 -5
  43. package/components/button-group/button-group.module.d.ts +0 -7
  44. package/components/button-group/index.d.ts +0 -2
  45. package/components/card-wrapper/card-wrapper.component.d.ts +0 -7
  46. package/components/card-wrapper/index.d.ts +0 -1
  47. package/components/checkbox/checkbox.component.d.ts +0 -5
  48. package/components/checkbox/checkbox.module.d.ts +0 -7
  49. package/components/checkbox/index.d.ts +0 -2
  50. package/components/content-header/content-header.component.d.ts +0 -8
  51. package/components/content-header/index.d.ts +0 -1
  52. package/components/content-wrapper/content-wrapper.component.d.ts +0 -11
  53. package/components/content-wrapper/index.d.ts +0 -1
  54. package/components/context-menu/context-menu.component.d.ts +0 -41
  55. package/components/context-menu/context-menu.module.d.ts +0 -9
  56. package/components/context-menu/index.d.ts +0 -2
  57. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +0 -5
  58. package/components/dialog/dialog-header/dialog-header.component.d.ts +0 -12
  59. package/components/dialog/dialog.component.d.ts +0 -33
  60. package/components/dialog/dialog.interfaces.d.ts +0 -11
  61. package/components/dialog/dialog.module.d.ts +0 -14
  62. package/components/dialog/dialog.service.d.ts +0 -7
  63. package/components/dialog/dialog.tokens.d.ts +0 -8
  64. package/components/dialog/dialogs.component.d.ts +0 -18
  65. package/components/dialog/index.d.ts +0 -8
  66. package/components/dropdown/dropdown-wrapper.component.d.ts +0 -9
  67. package/components/dropdown/dropdown.directive.d.ts +0 -41
  68. package/components/dropdown/dropdown.interfaces.d.ts +0 -8
  69. package/components/dropdown/index.d.ts +0 -3
  70. package/components/empty-state/empty-state.component.d.ts +0 -7
  71. package/components/empty-state/index.d.ts +0 -1
  72. package/components/file-icon/file-icon.component.d.ts +0 -9
  73. package/components/file-icon/file-icon.options.d.ts +0 -12
  74. package/components/file-icon/index.d.ts +0 -1
  75. package/components/form-field/form-field.component.d.ts +0 -5
  76. package/components/form-field/form-field.module.d.ts +0 -7
  77. package/components/form-field/index.d.ts +0 -2
  78. package/components/ghost-input/ghost-input.component.d.ts +0 -6
  79. package/components/ghost-input/index.d.ts +0 -1
  80. package/components/hint/hint.component.d.ts +0 -7
  81. package/components/hint/hint.module.d.ts +0 -7
  82. package/components/hint/index.d.ts +0 -2
  83. package/components/icon-button/icon-button.component.d.ts +0 -13
  84. package/components/icon-button/icon-button.module.d.ts +0 -9
  85. package/components/icon-button/index.d.ts +0 -2
  86. package/components/index.d.ts +0 -41
  87. package/components/input-number/index.d.ts +0 -2
  88. package/components/input-number/input-number.component.d.ts +0 -38
  89. package/components/input-number/input-number.module.d.ts +0 -12
  90. package/components/input-password/index.d.ts +0 -2
  91. package/components/input-password/input-password.component.d.ts +0 -31
  92. package/components/input-password/input-password.module.d.ts +0 -11
  93. package/components/input-text/index.d.ts +0 -2
  94. package/components/input-text/input-text.component.d.ts +0 -31
  95. package/components/input-text/input-text.module.d.ts +0 -11
  96. package/components/input-time/index.d.ts +0 -3
  97. package/components/input-time/input-time.component.d.ts +0 -36
  98. package/components/input-time/input-time.module.d.ts +0 -12
  99. package/components/input-time/input-time.options.d.ts +0 -7
  100. package/components/label/index.d.ts +0 -2
  101. package/components/label/label.component.d.ts +0 -6
  102. package/components/label/label.module.d.ts +0 -8
  103. package/components/layout/index.d.ts +0 -1
  104. package/components/layout/layout.component.d.ts +0 -6
  105. package/components/letter-box/index.d.ts +0 -1
  106. package/components/letter-box/letter-box.component.d.ts +0 -14
  107. package/components/letter-box/letter-box.interfaces.d.ts +0 -3
  108. package/components/notification/index.d.ts +0 -3
  109. package/components/notification/notification.component.d.ts +0 -18
  110. package/components/notification/notification.module.d.ts +0 -9
  111. package/components/notification/notification.options.d.ts +0 -17
  112. package/components/options-button/index.d.ts +0 -1
  113. package/components/options-button/options-button.component.d.ts +0 -8
  114. package/components/radio/index.d.ts +0 -2
  115. package/components/radio/radio.component.d.ts +0 -5
  116. package/components/radio/radio.module.d.ts +0 -7
  117. package/components/render-dynamic-components/index.d.ts +0 -3
  118. package/components/render-dynamic-components/render-dynamic-components.component.d.ts +0 -7
  119. package/components/render-dynamic-components/render-dynamic-components.options.d.ts +0 -7
  120. package/components/render-dynamic-components/render-dynamic-components.service.d.ts +0 -12
  121. package/components/root/index.d.ts +0 -3
  122. package/components/root/root.component.d.ts +0 -10
  123. package/components/root/root.module.d.ts +0 -11
  124. package/components/root/root.options.d.ts +0 -1
  125. package/components/select/index.d.ts +0 -2
  126. package/components/select/select.component.d.ts +0 -53
  127. package/components/select/select.module.d.ts +0 -11
  128. package/components/sidebar/index.d.ts +0 -7
  129. package/components/sidebar/sidebar-container/index.d.ts +0 -1
  130. package/components/sidebar/sidebar-container/sidebar-container.component.d.ts +0 -10
  131. package/components/sidebar/sidebar-header/index.d.ts +0 -1
  132. package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +0 -12
  133. package/components/sidebar/sidebar-navigation/index.d.ts +0 -1
  134. package/components/sidebar/sidebar-navigation/sidebar-navigation.component.d.ts +0 -9
  135. package/components/sidebar/sidebar-navigation-container/index.d.ts +0 -1
  136. package/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.d.ts +0 -8
  137. package/components/sidebar/sidebar-navigation-item/index.d.ts +0 -1
  138. package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +0 -9
  139. package/components/sidebar/sidebar.options.d.ts +0 -4
  140. package/components/sidebar/sidebar.service.d.ts +0 -17
  141. package/components/svg/index.d.ts +0 -2
  142. package/components/svg/svg.component.d.ts +0 -16
  143. package/components/svg/svg.module.d.ts +0 -8
  144. package/components/tab/index.d.ts +0 -1
  145. package/components/tab/tab.component.d.ts +0 -15
  146. package/components/tabs/components/abstract-tabs/abstract-tabs.component.d.ts +0 -15
  147. package/components/tabs/components/abstract-tabs/index.d.ts +0 -1
  148. package/components/tabs/components/index.d.ts +0 -1
  149. package/components/tabs/index.d.ts +0 -5
  150. package/components/tabs/services/index.d.ts +0 -1
  151. package/components/tabs/services/tabs.service.d.ts +0 -14
  152. package/components/tabs/tabs.component.d.ts +0 -8
  153. package/components/tabs/tabs.options.d.ts +0 -21
  154. package/components/tabs/tabs.provider.d.ts +0 -3
  155. package/components/textarea/index.d.ts +0 -2
  156. package/components/textarea/textarea.component.d.ts +0 -10
  157. package/components/textarea/textarea.module.d.ts +0 -7
  158. package/components/toggle/index.d.ts +0 -2
  159. package/components/toggle/toggle.component.d.ts +0 -5
  160. package/components/toggle/toggle.module.d.ts +0 -7
  161. package/directives/index.d.ts +0 -2
  162. package/directives/text-field-controller/index.d.ts +0 -8
  163. package/directives/text-field-controller/text-field-controller.module.d.ts +0 -11
  164. package/directives/text-field-controller/text-field-controller.provider.d.ts +0 -4
  165. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +0 -9
  166. package/directives/text-field-controller/text-field-id.directive.d.ts +0 -8
  167. package/directives/text-field-controller/text-field-is-error.directive.d.ts +0 -8
  168. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +0 -8
  169. package/directives/text-field-controller/text-field-size.directive.d.ts +0 -9
  170. package/directives/text-field-controller/text-field.controller.d.ts +0 -20
  171. package/directives/tooltip/index.d.ts +0 -16
  172. package/directives/tooltip/tooltip-describe.directive.d.ts +0 -16
  173. package/directives/tooltip/tooltip-driver.directive.d.ts +0 -7
  174. package/directives/tooltip/tooltip-host.directive.d.ts +0 -9
  175. package/directives/tooltip/tooltip-hover.directive.d.ts +0 -21
  176. package/directives/tooltip/tooltip-manual.directive.d.ts +0 -13
  177. package/directives/tooltip/tooltip-options.directive.d.ts +0 -36
  178. package/directives/tooltip/tooltip-overflow.directive.d.ts +0 -8
  179. package/directives/tooltip/tooltip-pointer.directive.d.ts +0 -10
  180. package/directives/tooltip/tooltip-position.directive.d.ts +0 -20
  181. package/directives/tooltip/tooltip-unstyled.component.d.ts +0 -17
  182. package/directives/tooltip/tooltip.component.d.ts +0 -33
  183. package/directives/tooltip/tooltip.d.ts +0 -13
  184. package/directives/tooltip/tooltip.directive.d.ts +0 -26
  185. package/directives/tooltip/tooltip.providers.d.ts +0 -5
  186. package/directives/tooltip/tooltip.service.d.ts +0 -13
  187. package/directives/tooltip/tooltips.component.d.ts +0 -12
  188. package/editor/components/editor-attaches-tool/editor-attaches-tool.component.d.ts +0 -19
  189. package/editor/components/editor-attaches-tool/editor-attaches-tool.options.d.ts +0 -18
  190. package/editor/components/editor-attaches-tool/index.d.ts +0 -2
  191. package/editor/components/editor-image-tool/editor-image-tool.component.d.ts +0 -14
  192. package/editor/components/editor-image-tool/editor-image-tool.options.d.ts +0 -26
  193. package/editor/components/editor-image-tool/index.d.ts +0 -2
  194. package/editor/components/editor-tool/editor-tool.component.d.ts +0 -22
  195. package/editor/components/editor-tool-modal/editor-tool-modal.component.d.ts +0 -24
  196. package/editor/components/editor-tool-modal/editor-tool-modal.options.d.ts +0 -8
  197. package/editor/components/editor-tool-modal/index.d.ts +0 -2
  198. package/editor/components/editor-tooltip/editor-tooltip.component.d.ts +0 -16
  199. package/editor/components/editor-tooltip/editor-tooltip.options.d.ts +0 -9
  200. package/editor/components/editor-tooltip/index.d.ts +0 -2
  201. package/editor/components/editor-video-tool/editor-video-tool.component.d.ts +0 -12
  202. package/editor/components/editor-video-tool/editor-video-tool.options.d.ts +0 -26
  203. package/editor/components/editor-video-tool/index.d.ts +0 -2
  204. package/editor/components/index.d.ts +0 -7
  205. package/editor/components/marker-modal/index.d.ts +0 -3
  206. package/editor/components/marker-modal/marker-modal.component.d.ts +0 -62
  207. package/editor/components/marker-modal/marker-modal.interfaces.d.ts +0 -7
  208. package/editor/components/marker-modal/marker-modal.options.d.ts +0 -1
  209. package/editor/components/marker-select/component/select-item/select-option.component.d.ts +0 -7
  210. package/editor/components/marker-select/index.d.ts +0 -2
  211. package/editor/components/marker-select/marker-select.component.d.ts +0 -40
  212. package/editor/components/marker-select/marker-select.options.d.ts +0 -1
  213. package/editor/config/custom-elements.d.ts +0 -2
  214. package/editor/config/editor.config.d.ts +0 -3
  215. package/editor/config/index.d.ts +0 -1
  216. package/editor/constants/editor.constants.d.ts +0 -15
  217. package/editor/constants/index.d.ts +0 -1
  218. package/editor/editor.component.d.ts +0 -73
  219. package/editor/events/editor-drag.event.d.ts +0 -2
  220. package/editor/events/editor-keyboard.event.d.ts +0 -2
  221. package/editor/events/editor-modal.event.d.ts +0 -3
  222. package/editor/events/editor-tooltip.event.d.ts +0 -2
  223. package/editor/events/set-editor-events.d.ts +0 -1
  224. package/editor/index.d.ts +0 -9
  225. package/editor/interfaces/angular-element.d.ts +0 -2
  226. package/editor/interfaces/blocks-request-data.d.ts +0 -6
  227. package/editor/interfaces/combined-block-adding-event.d.ts +0 -7
  228. package/editor/interfaces/combined-block-data.d.ts +0 -5
  229. package/editor/interfaces/combined-part-block-data.d.ts +0 -7
  230. package/editor/interfaces/custom-element.d.ts +0 -5
  231. package/editor/interfaces/editor-service.d.ts +0 -4
  232. package/editor/interfaces/event-action-data.d.ts +0 -5
  233. package/editor/interfaces/file-response-data.d.ts +0 -15
  234. package/editor/interfaces/full-block-data.d.ts +0 -8
  235. package/editor/interfaces/index.d.ts +0 -15
  236. package/editor/interfaces/main-editor-config.d.ts +0 -12
  237. package/editor/interfaces/mutation-actions.d.ts +0 -5
  238. package/editor/interfaces/parent.d.ts +0 -4
  239. package/editor/interfaces/tools.d.ts +0 -4
  240. package/editor/interfaces/tune.d.ts +0 -6
  241. package/editor/pipes/file-size.pipe.d.ts +0 -9
  242. package/editor/providers/editor.provider.d.ts +0 -2
  243. package/editor/providers/index.d.ts +0 -1
  244. package/editor/services/editor-service.options.d.ts +0 -8
  245. package/editor/services/editor.service.d.ts +0 -23
  246. package/editor/services/index.d.ts +0 -4
  247. package/editor/services/markers-service.options.d.ts +0 -4
  248. package/editor/services/markers.service.d.ts +0 -11
  249. package/editor/tools/attaches.tool.d.ts +0 -31
  250. package/editor/tools/bold.tool.d.ts +0 -11
  251. package/editor/tools/combined-text-block.tool.d.ts +0 -49
  252. package/editor/tools/custom-marker.tool.d.ts +0 -16
  253. package/editor/tools/header.tool.d.ts +0 -8
  254. package/editor/tools/image.tool.d.ts +0 -37
  255. package/editor/tools/index.d.ts +0 -11
  256. package/editor/tools/italic.tool.d.ts +0 -12
  257. package/editor/tools/link-marker.tool.d.ts +0 -15
  258. package/editor/tools/list.tool.d.ts +0 -5
  259. package/editor/tools/marker.tool.d.ts +0 -36
  260. package/editor/tools/role-marker.tool.d.ts +0 -7
  261. package/editor/tools/selection-base.tool.d.ts +0 -24
  262. package/editor/tools/tool-marker.tool.d.ts +0 -7
  263. package/editor/tools/video.tool.d.ts +0 -32
  264. package/editor/utils/copy-text-to-clipboard.d.ts +0 -1
  265. package/editor/utils/create-link-modal.d.ts +0 -3
  266. package/editor/utils/create-tool-modal.d.ts +0 -4
  267. package/editor/utils/create-tools-data.d.ts +0 -3
  268. package/editor/utils/create-tooltip.d.ts +0 -8
  269. package/editor/utils/file-uploader.d.ts +0 -27
  270. package/editor/utils/generate-id.d.ts +0 -1
  271. package/editor/utils/index.d.ts +0 -12
  272. package/editor/utils/open-file-in-browser.d.ts +0 -2
  273. package/editor/utils/recalculate-indexes.d.ts +0 -2
  274. package/editor/utils/remove-element-tag-wrapper.d.ts +0 -1
  275. package/editor/utils/set-loading.d.ts +0 -2
  276. package/editor/utils/split-html.d.ts +0 -1
  277. package/editor/utils/url.validator.d.ts +0 -2
  278. package/editor/widgets/editor-block/editor-block.component.d.ts +0 -22
  279. package/editor/widgets/editor-block/index.d.ts +0 -1
  280. package/editor/widgets/editor-modal/editor-modal.component.d.ts +0 -19
  281. package/editor/widgets/editor-modal/index.d.ts +0 -1
  282. package/editor/widgets/editor-readonly/editor-readonly.component.d.ts +0 -27
  283. package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +0 -5
  284. package/editor/widgets/editor-readonly/editor-resize-observer.directive.d.ts +0 -15
  285. package/editor/widgets/editor-readonly/index.d.ts +0 -2
  286. package/editor/widgets/index.d.ts +0 -3
  287. package/esm2022/animations/animations.mjs +0 -228
  288. package/esm2022/animations/index.mjs +0 -2
  289. package/esm2022/classes/accessors.mjs +0 -31
  290. package/esm2022/classes/driver.mjs +0 -35
  291. package/esm2022/classes/index.mjs +0 -4
  292. package/esm2022/classes/vehicle.mjs +0 -7
  293. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +0 -37
  294. package/esm2022/components/accordion/accordion-item/accordion-item.options.mjs +0 -2
  295. package/esm2022/components/accordion/accordion.component.mjs +0 -11
  296. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  297. package/esm2022/components/accordion/accordion.module.mjs +0 -21
  298. package/esm2022/components/accordion/index.mjs +0 -5
  299. package/esm2022/components/alert/alert.component.mjs +0 -36
  300. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  301. package/esm2022/components/alert/alert.module.mjs +0 -21
  302. package/esm2022/components/alert/alert.service.mjs +0 -17
  303. package/esm2022/components/alert/alert.tokens.mjs +0 -20
  304. package/esm2022/components/alert/alert.types.mjs +0 -2
  305. package/esm2022/components/alert/alerts.component.mjs +0 -34
  306. package/esm2022/components/alert/index.mjs +0 -9
  307. package/esm2022/components/alert-hint/alert-hint.component.mjs +0 -28
  308. package/esm2022/components/alert-hint/error-status.mjs +0 -2
  309. package/esm2022/components/alert-hint/index.mjs +0 -2
  310. package/esm2022/components/badge/badge.component.mjs +0 -31
  311. package/esm2022/components/badge/badge.module.mjs +0 -18
  312. package/esm2022/components/badge/badge.options.mjs +0 -8
  313. package/esm2022/components/badge/index.mjs +0 -3
  314. package/esm2022/components/banner/banner.component.mjs +0 -68
  315. package/esm2022/components/banner/banner.module.mjs +0 -21
  316. package/esm2022/components/banner/banner.options.mjs +0 -6
  317. package/esm2022/components/banner/index.mjs +0 -4
  318. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -16
  319. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -17
  320. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +0 -20
  321. package/esm2022/components/breadcrumbs/index.mjs +0 -4
  322. package/esm2022/components/button/button.component.mjs +0 -133
  323. package/esm2022/components/button/button.module.mjs +0 -19
  324. package/esm2022/components/button/button.options.mjs +0 -11
  325. package/esm2022/components/button/index.mjs +0 -4
  326. package/esm2022/components/button-group/button-group.component.mjs +0 -11
  327. package/esm2022/components/button-group/button-group.module.mjs +0 -16
  328. package/esm2022/components/button-group/index.mjs +0 -3
  329. package/esm2022/components/card-wrapper/card-wrapper.component.mjs +0 -18
  330. package/esm2022/components/card-wrapper/index.mjs +0 -2
  331. package/esm2022/components/checkbox/checkbox.component.mjs +0 -11
  332. package/esm2022/components/checkbox/checkbox.module.mjs +0 -16
  333. package/esm2022/components/checkbox/index.mjs +0 -3
  334. package/esm2022/components/content-header/content-header.component.mjs +0 -19
  335. package/esm2022/components/content-header/index.mjs +0 -2
  336. package/esm2022/components/content-wrapper/content-wrapper.component.mjs +0 -29
  337. package/esm2022/components/content-wrapper/index.mjs +0 -2
  338. package/esm2022/components/context-menu/context-menu.component.mjs +0 -148
  339. package/esm2022/components/context-menu/context-menu.module.mjs +0 -19
  340. package/esm2022/components/context-menu/index.mjs +0 -3
  341. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +0 -11
  342. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +0 -28
  343. package/esm2022/components/dialog/dialog.component.mjs +0 -67
  344. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  345. package/esm2022/components/dialog/dialog.module.mjs +0 -24
  346. package/esm2022/components/dialog/dialog.service.mjs +0 -17
  347. package/esm2022/components/dialog/dialog.tokens.mjs +0 -12
  348. package/esm2022/components/dialog/dialogs.component.mjs +0 -49
  349. package/esm2022/components/dialog/index.mjs +0 -9
  350. package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +0 -23
  351. package/esm2022/components/dropdown/dropdown.directive.mjs +0 -182
  352. package/esm2022/components/dropdown/dropdown.interfaces.mjs +0 -2
  353. package/esm2022/components/dropdown/index.mjs +0 -3
  354. package/esm2022/components/empty-state/empty-state.component.mjs +0 -17
  355. package/esm2022/components/empty-state/index.mjs +0 -2
  356. package/esm2022/components/file-icon/file-icon.component.mjs +0 -22
  357. package/esm2022/components/file-icon/file-icon.options.mjs +0 -120
  358. package/esm2022/components/file-icon/index.mjs +0 -2
  359. package/esm2022/components/form-field/form-field.component.mjs +0 -11
  360. package/esm2022/components/form-field/form-field.module.mjs +0 -16
  361. package/esm2022/components/form-field/index.mjs +0 -3
  362. package/esm2022/components/ghost-input/ghost-input.component.mjs +0 -16
  363. package/esm2022/components/ghost-input/index.mjs +0 -2
  364. package/esm2022/components/hint/hint.component.mjs +0 -19
  365. package/esm2022/components/hint/hint.module.mjs +0 -16
  366. package/esm2022/components/hint/index.mjs +0 -3
  367. package/esm2022/components/icon-button/icon-button.component.mjs +0 -32
  368. package/esm2022/components/icon-button/icon-button.module.mjs +0 -19
  369. package/esm2022/components/icon-button/index.mjs +0 -3
  370. package/esm2022/components/index.mjs +0 -42
  371. package/esm2022/components/input-number/index.mjs +0 -3
  372. package/esm2022/components/input-number/input-number.component.mjs +0 -107
  373. package/esm2022/components/input-number/input-number.module.mjs +0 -22
  374. package/esm2022/components/input-password/index.mjs +0 -3
  375. package/esm2022/components/input-password/input-password.component.mjs +0 -83
  376. package/esm2022/components/input-password/input-password.module.mjs +0 -21
  377. package/esm2022/components/input-text/index.mjs +0 -3
  378. package/esm2022/components/input-text/input-text.component.mjs +0 -81
  379. package/esm2022/components/input-text/input-text.module.mjs +0 -21
  380. package/esm2022/components/input-time/index.mjs +0 -4
  381. package/esm2022/components/input-time/input-time.component.mjs +0 -93
  382. package/esm2022/components/input-time/input-time.module.mjs +0 -22
  383. package/esm2022/components/input-time/input-time.options.mjs +0 -8
  384. package/esm2022/components/label/index.mjs +0 -3
  385. package/esm2022/components/label/label.component.mjs +0 -17
  386. package/esm2022/components/label/label.module.mjs +0 -18
  387. package/esm2022/components/layout/index.mjs +0 -2
  388. package/esm2022/components/layout/layout.component.mjs +0 -16
  389. package/esm2022/components/letter-box/index.mjs +0 -2
  390. package/esm2022/components/letter-box/letter-box.component.mjs +0 -43
  391. package/esm2022/components/letter-box/letter-box.interfaces.mjs +0 -2
  392. package/esm2022/components/notification/index.mjs +0 -4
  393. package/esm2022/components/notification/notification.component.mjs +0 -47
  394. package/esm2022/components/notification/notification.module.mjs +0 -19
  395. package/esm2022/components/notification/notification.options.mjs +0 -53
  396. package/esm2022/components/options-button/index.mjs +0 -2
  397. package/esm2022/components/options-button/options-button.component.mjs +0 -20
  398. package/esm2022/components/radio/index.mjs +0 -3
  399. package/esm2022/components/radio/radio.component.mjs +0 -11
  400. package/esm2022/components/radio/radio.module.mjs +0 -16
  401. package/esm2022/components/render-dynamic-components/index.mjs +0 -3
  402. package/esm2022/components/render-dynamic-components/render-dynamic-components.component.mjs +0 -17
  403. package/esm2022/components/render-dynamic-components/render-dynamic-components.options.mjs +0 -2
  404. package/esm2022/components/render-dynamic-components/render-dynamic-components.service.mjs +0 -29
  405. package/esm2022/components/root/index.mjs +0 -4
  406. package/esm2022/components/root/root.component.mjs +0 -27
  407. package/esm2022/components/root/root.module.mjs +0 -21
  408. package/esm2022/components/root/root.options.mjs +0 -2
  409. package/esm2022/components/select/index.mjs +0 -3
  410. package/esm2022/components/select/select.component.mjs +0 -171
  411. package/esm2022/components/select/select.module.mjs +0 -21
  412. package/esm2022/components/sidebar/index.mjs +0 -7
  413. package/esm2022/components/sidebar/sidebar-container/index.mjs +0 -2
  414. package/esm2022/components/sidebar/sidebar-container/sidebar-container.component.mjs +0 -30
  415. package/esm2022/components/sidebar/sidebar-header/index.mjs +0 -2
  416. package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +0 -27
  417. package/esm2022/components/sidebar/sidebar-navigation/index.mjs +0 -2
  418. package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +0 -16
  419. package/esm2022/components/sidebar/sidebar-navigation-container/index.mjs +0 -2
  420. package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +0 -16
  421. package/esm2022/components/sidebar/sidebar-navigation-item/index.mjs +0 -2
  422. package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +0 -21
  423. package/esm2022/components/sidebar/sidebar.options.mjs +0 -2
  424. package/esm2022/components/sidebar/sidebar.service.mjs +0 -39
  425. package/esm2022/components/svg/index.mjs +0 -3
  426. package/esm2022/components/svg/svg.component.mjs +0 -48
  427. package/esm2022/components/svg/svg.module.mjs +0 -18
  428. package/esm2022/components/tab/index.mjs +0 -2
  429. package/esm2022/components/tab/tab.component.mjs +0 -36
  430. package/esm2022/components/tabs/components/abstract-tabs/abstract-tabs.component.mjs +0 -40
  431. package/esm2022/components/tabs/components/abstract-tabs/index.mjs +0 -2
  432. package/esm2022/components/tabs/components/index.mjs +0 -2
  433. package/esm2022/components/tabs/index.mjs +0 -6
  434. package/esm2022/components/tabs/services/index.mjs +0 -2
  435. package/esm2022/components/tabs/services/tabs.service.mjs +0 -27
  436. package/esm2022/components/tabs/tabs.component.mjs +0 -17
  437. package/esm2022/components/tabs/tabs.options.mjs +0 -5
  438. package/esm2022/components/tabs/tabs.provider.mjs +0 -9
  439. package/esm2022/components/textarea/index.mjs +0 -3
  440. package/esm2022/components/textarea/textarea.component.mjs +0 -35
  441. package/esm2022/components/textarea/textarea.module.mjs +0 -16
  442. package/esm2022/components/toggle/index.mjs +0 -3
  443. package/esm2022/components/toggle/toggle.component.mjs +0 -11
  444. package/esm2022/components/toggle/toggle.module.mjs +0 -16
  445. package/esm2022/cuby-ui-core.mjs +0 -5
  446. package/esm2022/directives/index.mjs +0 -3
  447. package/esm2022/directives/text-field-controller/index.mjs +0 -9
  448. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +0 -40
  449. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +0 -24
  450. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +0 -21
  451. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +0 -21
  452. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +0 -24
  453. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +0 -21
  454. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +0 -24
  455. package/esm2022/directives/text-field-controller/text-field.controller.mjs +0 -25
  456. package/esm2022/directives/tooltip/index.mjs +0 -17
  457. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +0 -47
  458. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +0 -18
  459. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +0 -26
  460. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +0 -50
  461. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +0 -31
  462. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +0 -83
  463. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +0 -31
  464. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +0 -31
  465. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +0 -91
  466. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +0 -40
  467. package/esm2022/directives/tooltip/tooltip.component.mjs +0 -109
  468. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  469. package/esm2022/directives/tooltip/tooltip.mjs +0 -27
  470. package/esm2022/directives/tooltip/tooltip.providers.mjs +0 -7
  471. package/esm2022/directives/tooltip/tooltip.service.mjs +0 -28
  472. package/esm2022/directives/tooltip/tooltips.component.mjs +0 -33
  473. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +0 -60
  474. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.options.mjs +0 -2
  475. package/esm2022/editor/components/editor-attaches-tool/index.mjs +0 -3
  476. package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +0 -43
  477. package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +0 -2
  478. package/esm2022/editor/components/editor-image-tool/index.mjs +0 -3
  479. package/esm2022/editor/components/editor-tool/editor-tool.component.mjs +0 -74
  480. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +0 -69
  481. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +0 -2
  482. package/esm2022/editor/components/editor-tool-modal/index.mjs +0 -3
  483. package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +0 -45
  484. package/esm2022/editor/components/editor-tooltip/editor-tooltip.options.mjs +0 -2
  485. package/esm2022/editor/components/editor-tooltip/index.mjs +0 -3
  486. package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +0 -41
  487. package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +0 -2
  488. package/esm2022/editor/components/editor-video-tool/index.mjs +0 -3
  489. package/esm2022/editor/components/index.mjs +0 -8
  490. package/esm2022/editor/components/marker-modal/index.mjs +0 -3
  491. package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +0 -261
  492. package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +0 -2
  493. package/esm2022/editor/components/marker-modal/marker-modal.options.mjs +0 -2
  494. package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +0 -15
  495. package/esm2022/editor/components/marker-select/index.mjs +0 -3
  496. package/esm2022/editor/components/marker-select/marker-select.component.mjs +0 -155
  497. package/esm2022/editor/components/marker-select/marker-select.options.mjs +0 -2
  498. package/esm2022/editor/config/custom-elements.mjs +0 -32
  499. package/esm2022/editor/config/editor.config.mjs +0 -30
  500. package/esm2022/editor/config/index.mjs +0 -2
  501. package/esm2022/editor/constants/editor.constants.mjs +0 -20
  502. package/esm2022/editor/constants/index.mjs +0 -2
  503. package/esm2022/editor/editor.component.mjs +0 -385
  504. package/esm2022/editor/events/editor-drag.event.mjs +0 -7
  505. package/esm2022/editor/events/editor-keyboard.event.mjs +0 -33
  506. package/esm2022/editor/events/editor-modal.event.mjs +0 -31
  507. package/esm2022/editor/events/editor-tooltip.event.mjs +0 -63
  508. package/esm2022/editor/events/set-editor-events.mjs +0 -11
  509. package/esm2022/editor/i18n/en.json +0 -14
  510. package/esm2022/editor/index.mjs +0 -8
  511. package/esm2022/editor/interfaces/angular-element.mjs +0 -2
  512. package/esm2022/editor/interfaces/blocks-request-data.mjs +0 -2
  513. package/esm2022/editor/interfaces/combined-block-adding-event.mjs +0 -2
  514. package/esm2022/editor/interfaces/combined-block-data.mjs +0 -2
  515. package/esm2022/editor/interfaces/combined-part-block-data.mjs +0 -2
  516. package/esm2022/editor/interfaces/custom-element.mjs +0 -2
  517. package/esm2022/editor/interfaces/editor-service.mjs +0 -2
  518. package/esm2022/editor/interfaces/event-action-data.mjs +0 -2
  519. package/esm2022/editor/interfaces/file-response-data.mjs +0 -2
  520. package/esm2022/editor/interfaces/full-block-data.mjs +0 -2
  521. package/esm2022/editor/interfaces/index.mjs +0 -15
  522. package/esm2022/editor/interfaces/main-editor-config.mjs +0 -2
  523. package/esm2022/editor/interfaces/mutation-actions.mjs +0 -2
  524. package/esm2022/editor/interfaces/parent.mjs +0 -2
  525. package/esm2022/editor/interfaces/tools.mjs +0 -2
  526. package/esm2022/editor/interfaces/tune.mjs +0 -2
  527. package/esm2022/editor/pipes/file-size.pipe.mjs +0 -25
  528. package/esm2022/editor/providers/editor.provider.mjs +0 -19
  529. package/esm2022/editor/providers/index.mjs +0 -2
  530. package/esm2022/editor/services/editor-service.options.mjs +0 -4
  531. package/esm2022/editor/services/editor.service.mjs +0 -138
  532. package/esm2022/editor/services/index.mjs +0 -5
  533. package/esm2022/editor/services/markers-service.options.mjs +0 -2
  534. package/esm2022/editor/services/markers.service.mjs +0 -79
  535. package/esm2022/editor/tools/attaches.tool.mjs +0 -102
  536. package/esm2022/editor/tools/bold.tool.mjs +0 -33
  537. package/esm2022/editor/tools/combined-text-block.tool.mjs +0 -380
  538. package/esm2022/editor/tools/custom-marker.tool.mjs +0 -88
  539. package/esm2022/editor/tools/header.tool.mjs +0 -16
  540. package/esm2022/editor/tools/image.tool.mjs +0 -157
  541. package/esm2022/editor/tools/index.mjs +0 -12
  542. package/esm2022/editor/tools/italic.tool.mjs +0 -35
  543. package/esm2022/editor/tools/link-marker.tool.mjs +0 -80
  544. package/esm2022/editor/tools/list.tool.mjs +0 -10
  545. package/esm2022/editor/tools/marker.tool.mjs +0 -144
  546. package/esm2022/editor/tools/role-marker.tool.mjs +0 -17
  547. package/esm2022/editor/tools/selection-base.tool.mjs +0 -92
  548. package/esm2022/editor/tools/tool-marker.tool.mjs +0 -14
  549. package/esm2022/editor/tools/video.tool.mjs +0 -132
  550. package/esm2022/editor/utils/copy-text-to-clipboard.mjs +0 -17
  551. package/esm2022/editor/utils/create-link-modal.mjs +0 -22
  552. package/esm2022/editor/utils/create-tool-modal.mjs +0 -45
  553. package/esm2022/editor/utils/create-tools-data.mjs +0 -56
  554. package/esm2022/editor/utils/create-tooltip.mjs +0 -43
  555. package/esm2022/editor/utils/file-uploader.mjs +0 -60
  556. package/esm2022/editor/utils/generate-id.mjs +0 -4
  557. package/esm2022/editor/utils/index.mjs +0 -13
  558. package/esm2022/editor/utils/open-file-in-browser.mjs +0 -9
  559. package/esm2022/editor/utils/recalculate-indexes.mjs +0 -32
  560. package/esm2022/editor/utils/remove-element-tag-wrapper.mjs +0 -11
  561. package/esm2022/editor/utils/set-loading.mjs +0 -14
  562. package/esm2022/editor/utils/split-html.mjs +0 -128
  563. package/esm2022/editor/utils/url.validator.mjs +0 -12
  564. package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +0 -63
  565. package/esm2022/editor/widgets/editor-block/index.mjs +0 -2
  566. package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +0 -42
  567. package/esm2022/editor/widgets/editor-modal/index.mjs +0 -2
  568. package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +0 -36
  569. package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +0 -2
  570. package/esm2022/editor/widgets/editor-readonly/editor-resize-observer.directive.mjs +0 -51
  571. package/esm2022/editor/widgets/editor-readonly/index.mjs +0 -2
  572. package/esm2022/editor/widgets/index.mjs +0 -4
  573. package/esm2022/index.mjs +0 -12
  574. package/esm2022/interceptors/auth.interceptor.mjs +0 -15
  575. package/esm2022/interceptors/error-handler.interceptor.mjs +0 -23
  576. package/esm2022/interceptors/index.mjs +0 -5
  577. package/esm2022/interceptors/loader.interceptor.mjs +0 -12
  578. package/esm2022/interceptors/x-ndjson.interceptor.mjs +0 -48
  579. package/esm2022/interfaces/context-menu-item.mjs +0 -2
  580. package/esm2022/interfaces/error-notification-service.mjs +0 -2
  581. package/esm2022/interfaces/error-stategy.mjs +0 -2
  582. package/esm2022/interfaces/image.mjs +0 -2
  583. package/esm2022/interfaces/index.mjs +0 -6
  584. package/esm2022/interfaces/option.mjs +0 -2
  585. package/esm2022/operators/handle-error.mjs +0 -12
  586. package/esm2022/operators/index.mjs +0 -2
  587. package/esm2022/providers/auth.options.mjs +0 -3
  588. package/esm2022/providers/auth.provider.mjs +0 -31
  589. package/esm2022/providers/error-handler.options.mjs +0 -2
  590. package/esm2022/providers/error-handler.provider.mjs +0 -23
  591. package/esm2022/providers/index.mjs +0 -4
  592. package/esm2022/services/auth.service.mjs +0 -31
  593. package/esm2022/services/browser-auth.service.mjs +0 -31
  594. package/esm2022/services/error-resolver-factory.service.mjs +0 -75
  595. package/esm2022/services/global-handler-error.service.mjs +0 -26
  596. package/esm2022/services/index.mjs +0 -10
  597. package/esm2022/services/loader.options.mjs +0 -6
  598. package/esm2022/services/loader.service.mjs +0 -60
  599. package/esm2022/services/mobile-auth.service.mjs +0 -25
  600. package/esm2022/services/position.service.mjs +0 -23
  601. package/esm2022/services/theme.options.mjs +0 -6
  602. package/esm2022/services/theme.service.mjs +0 -30
  603. package/esm2022/services/token.options.mjs +0 -2
  604. package/esm2022/services/token.service.mjs +0 -121
  605. package/esm2022/services/visual-viewport.service.mjs +0 -28
  606. package/esm2022/tokens/animations-speed.mjs +0 -8
  607. package/esm2022/tokens/error-notification-service.mjs +0 -15
  608. package/esm2022/tokens/error-translation-prefix.mjs +0 -6
  609. package/esm2022/tokens/index.mjs +0 -6
  610. package/esm2022/tokens/reduced-motion.mjs +0 -5
  611. package/esm2022/tokens/viewport.mjs +0 -31
  612. package/esm2022/types/appearance.mjs +0 -2
  613. package/esm2022/types/button-theme.mjs +0 -2
  614. package/esm2022/types/hint-type.mjs +0 -2
  615. package/esm2022/types/index.mjs +0 -11
  616. package/esm2022/types/point.mjs +0 -2
  617. package/esm2022/types/portal-item.mjs +0 -2
  618. package/esm2022/types/position.mjs +0 -2
  619. package/esm2022/types/resizing.mjs +0 -2
  620. package/esm2022/types/shape.mjs +0 -2
  621. package/esm2022/types/size.mjs +0 -2
  622. package/esm2022/types/status.mjs +0 -2
  623. package/esm2022/utils/check-fixed-position.mjs +0 -7
  624. package/esm2022/utils/default-validators/create-default-validators.mjs +0 -19
  625. package/esm2022/utils/default-validators/create-default-validators.options.mjs +0 -2
  626. package/esm2022/utils/default-validators/extra-spaces.options.mjs +0 -11
  627. package/esm2022/utils/default-validators/extra-spaces.validators.mjs +0 -11
  628. package/esm2022/utils/default-validators/index.mjs +0 -2
  629. package/esm2022/utils/format/index.mjs +0 -3
  630. package/esm2022/utils/format/remove-spaces.mjs +0 -4
  631. package/esm2022/utils/format/replace.mjs +0 -5
  632. package/esm2022/utils/index.mjs +0 -5
  633. package/esm2022/utils/miscellaneous/index.mjs +0 -4
  634. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  635. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  636. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -14
  637. package/esm2022/widgets/assets/constants/index.mjs +0 -2
  638. package/esm2022/widgets/assets/constants/translations.mjs +0 -5
  639. package/esm2022/widgets/assets/i18n/en.json +0 -45
  640. package/esm2022/widgets/assets/i18n/ru.json +0 -45
  641. package/esm2022/widgets/assets/index.mjs +0 -2
  642. package/esm2022/widgets/index.mjs +0 -5
  643. package/esm2022/widgets/model/circle-loader-size.type.mjs +0 -2
  644. package/esm2022/widgets/model/index.mjs +0 -11
  645. package/esm2022/widgets/model/resource-state-service.interface.mjs +0 -2
  646. package/esm2022/widgets/model/resource-state-service.token.mjs +0 -3
  647. package/esm2022/widgets/model/resources-block.options.mjs +0 -2
  648. package/esm2022/widgets/model/subject-modal-service.interface.mjs +0 -2
  649. package/esm2022/widgets/model/subject-modal-service.token.mjs +0 -3
  650. package/esm2022/widgets/model/used-elements-service.interface.mjs +0 -2
  651. package/esm2022/widgets/model/used-elements-service.token.mjs +0 -3
  652. package/esm2022/widgets/model/utility-service.interface.mjs +0 -2
  653. package/esm2022/widgets/model/utility-service.token.mjs +0 -3
  654. package/esm2022/widgets/service/index.mjs +0 -5
  655. package/esm2022/widgets/service/resource-state-base.service.mjs +0 -19
  656. package/esm2022/widgets/service/subject-modal-base.service.mjs +0 -15
  657. package/esm2022/widgets/service/used-elements-base.service.mjs +0 -17
  658. package/esm2022/widgets/service/utility-base.service.mjs +0 -129
  659. package/esm2022/widgets/ui/assignee-role-item/assignee-role-item.component.mjs +0 -31
  660. package/esm2022/widgets/ui/assignee-role-item/index.mjs +0 -2
  661. package/esm2022/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.mjs +0 -48
  662. package/esm2022/widgets/ui/assignee-roles-tabs/index.mjs +0 -2
  663. package/esm2022/widgets/ui/button-change-theme/button-change-theme.component.mjs +0 -27
  664. package/esm2022/widgets/ui/button-change-theme/index.mjs +0 -2
  665. package/esm2022/widgets/ui/categories/categories.component.mjs +0 -78
  666. package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs +0 -17
  667. package/esm2022/widgets/ui/categories/components/categories-list/index.mjs +0 -2
  668. package/esm2022/widgets/ui/categories/components/category-form/category-form.component.mjs +0 -79
  669. package/esm2022/widgets/ui/categories/components/category-form/index.mjs +0 -2
  670. package/esm2022/widgets/ui/categories/components/category-item/category-item.component.mjs +0 -126
  671. package/esm2022/widgets/ui/categories/components/category-item/index.mjs +0 -2
  672. package/esm2022/widgets/ui/categories/components/create-category-item/create-category-item.component.mjs +0 -25
  673. package/esm2022/widgets/ui/categories/components/create-category-item/index.mjs +0 -2
  674. package/esm2022/widgets/ui/categories/components/index.mjs +0 -3
  675. package/esm2022/widgets/ui/categories/index.mjs +0 -3
  676. package/esm2022/widgets/ui/categories/services/index.mjs +0 -2
  677. package/esm2022/widgets/ui/categories/services/selected-category.service.mjs +0 -38
  678. package/esm2022/widgets/ui/checklist-block/checklist-block.component.mjs +0 -75
  679. package/esm2022/widgets/ui/checklist-block/checklist-block.options.mjs +0 -2
  680. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +0 -85
  681. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/index.mjs +0 -2
  682. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +0 -133
  683. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.mjs +0 -2
  684. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +0 -45
  685. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +0 -2
  686. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +0 -35
  687. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +0 -2
  688. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +0 -152
  689. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +0 -2
  690. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.mjs +0 -2
  691. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +0 -282
  692. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +0 -2
  693. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +0 -2
  694. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +0 -117
  695. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +0 -2
  696. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +0 -2
  697. package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +0 -39
  698. package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/index.mjs +0 -2
  699. package/esm2022/widgets/ui/checklist-block/components/index.mjs +0 -2
  700. package/esm2022/widgets/ui/checklist-block/index.mjs +0 -2
  701. package/esm2022/widgets/ui/checklist-block/services/checklist-block.service.mjs +0 -50
  702. package/esm2022/widgets/ui/checklist-block/services/index.mjs +0 -2
  703. package/esm2022/widgets/ui/circle-loader/circle-loader.component.mjs +0 -20
  704. package/esm2022/widgets/ui/circle-loader/index.mjs +0 -2
  705. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.mjs +0 -78
  706. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.mjs +0 -2
  707. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/index.mjs +0 -3
  708. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.mjs +0 -17
  709. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.mjs +0 -2
  710. package/esm2022/widgets/ui/consumable-form/components/index.mjs +0 -4
  711. package/esm2022/widgets/ui/consumable-form/consumable-form.component.mjs +0 -184
  712. package/esm2022/widgets/ui/consumable-form/consumable-form.options.mjs +0 -2
  713. package/esm2022/widgets/ui/consumable-form/index.mjs +0 -2
  714. package/esm2022/widgets/ui/criterion-info/criterion-info.component.mjs +0 -137
  715. package/esm2022/widgets/ui/criterion-info/index.mjs +0 -2
  716. package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.component.mjs +0 -147
  717. package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.options.mjs +0 -2
  718. package/esm2022/widgets/ui/criterion-info-form/index.mjs +0 -2
  719. package/esm2022/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.mjs +0 -72
  720. package/esm2022/widgets/ui/criterion-readonly-info/index.mjs +0 -2
  721. package/esm2022/widgets/ui/delete-modal/delete-modal.component.mjs +0 -39
  722. package/esm2022/widgets/ui/delete-modal/delete-modal.options.mjs +0 -2
  723. package/esm2022/widgets/ui/delete-modal/index.mjs +0 -2
  724. package/esm2022/widgets/ui/framer-preview/framer-preview.component.mjs +0 -77
  725. package/esm2022/widgets/ui/framer-preview/framer-preview.options.mjs +0 -2
  726. package/esm2022/widgets/ui/framer-preview/index.mjs +0 -2
  727. package/esm2022/widgets/ui/general-control-error-hint/general-control-error-hint.component.mjs +0 -21
  728. package/esm2022/widgets/ui/general-control-error-hint/index.mjs +0 -2
  729. package/esm2022/widgets/ui/index.mjs +0 -30
  730. package/esm2022/widgets/ui/inserted/index.mjs +0 -2
  731. package/esm2022/widgets/ui/inserted/inserted.component.mjs +0 -17
  732. package/esm2022/widgets/ui/instruction-info/index.mjs +0 -2
  733. package/esm2022/widgets/ui/instruction-info/instruction-info.component.mjs +0 -147
  734. package/esm2022/widgets/ui/instruction-info-form/index.mjs +0 -2
  735. package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.component.mjs +0 -153
  736. package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.options.mjs +0 -2
  737. package/esm2022/widgets/ui/instruction-readonly-info/index.mjs +0 -2
  738. package/esm2022/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.mjs +0 -72
  739. package/esm2022/widgets/ui/linear-loader/index.mjs +0 -2
  740. package/esm2022/widgets/ui/linear-loader/linear-loader.component.mjs +0 -11
  741. package/esm2022/widgets/ui/modal-criteria-tab/index.mjs +0 -2
  742. package/esm2022/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.mjs +0 -45
  743. package/esm2022/widgets/ui/modal-divided-section/index.mjs +0 -3
  744. package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.component.mjs +0 -58
  745. package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.interfaces.mjs +0 -2
  746. package/esm2022/widgets/ui/modal-header/index.mjs +0 -2
  747. package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +0 -31
  748. package/esm2022/widgets/ui/modal-header-inserted-buttons/index.mjs +0 -2
  749. package/esm2022/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.mjs +0 -22
  750. package/esm2022/widgets/ui/modal-header-tabs/index.mjs +0 -2
  751. package/esm2022/widgets/ui/modal-header-tabs/modal-header-tabs.component.mjs +0 -19
  752. package/esm2022/widgets/ui/modal-info-tab/index.mjs +0 -3
  753. package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.component.mjs +0 -19
  754. package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.options.mjs +0 -2
  755. package/esm2022/widgets/ui/modal-instructions-tab/index.mjs +0 -2
  756. package/esm2022/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.mjs +0 -31
  757. package/esm2022/widgets/ui/modal-operation-part/index.mjs +0 -2
  758. package/esm2022/widgets/ui/modal-operation-part/modal-operation-part.component.mjs +0 -119
  759. package/esm2022/widgets/ui/modal-resources-tab/index.mjs +0 -2
  760. package/esm2022/widgets/ui/modal-resources-tab/modal-resources-tab.component.mjs +0 -33
  761. package/esm2022/widgets/ui/render-dynamic-modal/index.mjs +0 -3
  762. package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.mjs +0 -29
  763. package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.mjs +0 -2
  764. package/esm2022/widgets/ui/resources-block/components/index.mjs +0 -4
  765. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/index.mjs +0 -2
  766. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.mjs +0 -53
  767. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.mjs +0 -2
  768. package/esm2022/widgets/ui/resources-block/components/resources-block-content/index.mjs +0 -2
  769. package/esm2022/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.mjs +0 -38
  770. package/esm2022/widgets/ui/resources-block/components/resources-block-part/index.mjs +0 -2
  771. package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.mjs +0 -57
  772. package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.mjs +0 -2
  773. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/index.mjs +0 -2
  774. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.mjs +0 -56
  775. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.mjs +0 -10
  776. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/index.mjs +0 -2
  777. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.mjs +0 -56
  778. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.mjs +0 -2
  779. package/esm2022/widgets/ui/resources-block/components/resources-options/index.mjs +0 -2
  780. package/esm2022/widgets/ui/resources-block/components/resources-options/resources-options.component.mjs +0 -42
  781. package/esm2022/widgets/ui/resources-block/index.mjs +0 -3
  782. package/esm2022/widgets/ui/resources-block/resources-block.component.mjs +0 -137
  783. package/esm2022/widgets/ui/resources-block-tabs/index.mjs +0 -2
  784. package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.component.mjs +0 -57
  785. package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.options.mjs +0 -10
  786. package/esm2022/widgets/ui/select-modal/components/index.mjs +0 -3
  787. package/esm2022/widgets/ui/select-modal/components/select-modal-folder/index.mjs +0 -2
  788. package/esm2022/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +0 -21
  789. package/esm2022/widgets/ui/select-modal/components/select-modal-search/index.mjs +0 -2
  790. package/esm2022/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.mjs +0 -32
  791. package/esm2022/widgets/ui/select-modal/index.mjs +0 -4
  792. package/esm2022/widgets/ui/select-modal/select-modal.component.mjs +0 -35
  793. package/esm2022/widgets/ui/select-modal/select-modal.interfaces.mjs +0 -2
  794. package/esm2022/widgets/ui/select-modal/select-modal.service.mjs +0 -23
  795. package/esm2022/widgets/ui/stated-loader/index.mjs +0 -2
  796. package/esm2022/widgets/ui/stated-loader/stated-loader.component.mjs +0 -36
  797. package/esm2022/widgets/ui/storage-list/components/index.mjs +0 -2
  798. package/esm2022/widgets/ui/storage-list/components/storage-list-item/index.mjs +0 -2
  799. package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs +0 -87
  800. package/esm2022/widgets/ui/storage-list/index.mjs +0 -3
  801. package/esm2022/widgets/ui/storage-list/storage-list.component.mjs +0 -17
  802. package/esm2022/widgets/ui/storage-list/storage-list.options.mjs +0 -3
  803. package/esm2022/widgets/ui/toolbox-form/components/index.mjs +0 -2
  804. package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/index.mjs +0 -2
  805. package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.mjs +0 -19
  806. package/esm2022/widgets/ui/toolbox-form/index.mjs +0 -3
  807. package/esm2022/widgets/ui/toolbox-form/tool-form.component.mjs +0 -106
  808. package/esm2022/widgets/ui/toolbox-form/tool-form.options.mjs +0 -2
  809. package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs +0 -59
  810. package/esm2022/widgets/ui/user-action-context-menu/activity-item/index.mjs +0 -2
  811. package/esm2022/widgets/ui/user-action-context-menu/company-item/company-item.component.mjs +0 -67
  812. package/esm2022/widgets/ui/user-action-context-menu/company-item/index.mjs +0 -2
  813. package/esm2022/widgets/ui/user-action-context-menu/index.mjs +0 -4
  814. package/esm2022/widgets/ui/user-action-context-menu/services/activity-base.service.mjs +0 -32
  815. package/esm2022/widgets/ui/user-action-context-menu/services/activity.service.mjs +0 -35
  816. package/esm2022/widgets/ui/user-action-context-menu/services/index.mjs +0 -3
  817. package/esm2022/widgets/ui/user-action-context-menu/user-action-context-menu.component.mjs +0 -80
  818. package/esm2022/widgets/ui/user-action-context-menu/user-action-context.option.mjs +0 -3
  819. package/esm2022/widgets/ui/utility-info-readonly/index.mjs +0 -3
  820. package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.component.mjs +0 -94
  821. package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.options.mjs +0 -2
  822. package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +0 -41
  823. package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/index.mjs +0 -2
  824. package/esm2022/widgets/ui/utility-modal/components/index.mjs +0 -5
  825. package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/index.mjs +0 -2
  826. package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +0 -41
  827. package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/index.mjs +0 -2
  828. package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +0 -40
  829. package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/index.mjs +0 -2
  830. package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +0 -40
  831. package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/index.mjs +0 -2
  832. package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +0 -43
  833. package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/index.mjs +0 -2
  834. package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +0 -55
  835. package/esm2022/widgets/ui/utility-modal/index.mjs +0 -4
  836. package/esm2022/widgets/ui/utility-modal/utility-modal.component.mjs +0 -22
  837. package/esm2022/widgets/ui/utility-modal/utility-modal.options.mjs +0 -3
  838. package/esm2022/widgets/ui/utility-readonly-thumbnail/index.mjs +0 -2
  839. package/esm2022/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +0 -15
  840. package/esm2022/widgets/ui/utility-thumbnail/index.mjs +0 -2
  841. package/esm2022/widgets/ui/utility-thumbnail/utility-thumbnail.component.mjs +0 -95
  842. package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs +0 -91
  843. package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs.map +0 -1
  844. package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs +0 -29
  845. package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs.map +0 -1
  846. package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs +0 -91
  847. package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs.map +0 -1
  848. package/fesm2022/cuby-ui-core.mjs +0 -12165
  849. package/fesm2022/cuby-ui-core.mjs.map +0 -1
  850. package/fonts/Inter-Bold.eot +0 -0
  851. package/fonts/Inter-Bold.otf +0 -0
  852. package/fonts/Inter-Bold.svg +0 -25443
  853. package/fonts/Inter-Bold.ttf +0 -0
  854. package/fonts/Inter-Bold.woff +0 -0
  855. package/fonts/Inter-Bold.woff2 +0 -0
  856. package/fonts/Inter-Medium.eot +0 -0
  857. package/fonts/Inter-Medium.otf +0 -0
  858. package/fonts/Inter-Medium.svg +0 -25400
  859. package/fonts/Inter-Medium.ttf +0 -0
  860. package/fonts/Inter-Medium.woff +0 -0
  861. package/fonts/Inter-Medium.woff2 +0 -0
  862. package/fonts/Inter-Regular.eot +0 -0
  863. package/fonts/Inter-Regular.otf +0 -0
  864. package/fonts/Inter-Regular.svg +0 -24341
  865. package/fonts/Inter-Regular.ttf +0 -0
  866. package/fonts/Inter-Regular.woff +0 -0
  867. package/fonts/Inter-Regular.woff2 +0 -0
  868. package/fonts/Inter-SemiBold.eot +0 -0
  869. package/fonts/Inter-SemiBold.otf +0 -0
  870. package/fonts/Inter-SemiBold.svg +0 -25459
  871. package/fonts/Inter-SemiBold.ttf +0 -0
  872. package/fonts/Inter-SemiBold.woff +0 -0
  873. package/fonts/Inter-SemiBold.woff2 +0 -0
  874. package/fonts/Nunito-ExtraBoldItalic.eot +0 -0
  875. package/fonts/Nunito-ExtraBoldItalic.otf +0 -0
  876. package/fonts/Nunito-ExtraBoldItalic.svg +0 -9508
  877. package/fonts/Nunito-ExtraBoldItalic.ttf +0 -0
  878. package/fonts/Nunito-ExtraBoldItalic.woff +0 -0
  879. package/fonts/Nunito-ExtraBoldItalic.woff2 +0 -0
  880. package/index.d.ts +0 -11
  881. package/interceptors/auth.interceptor.d.ts +0 -2
  882. package/interceptors/error-handler.interceptor.d.ts +0 -2
  883. package/interceptors/index.d.ts +0 -4
  884. package/interceptors/loader.interceptor.d.ts +0 -2
  885. package/interceptors/x-ndjson.interceptor.d.ts +0 -2
  886. package/interfaces/context-menu-item.d.ts +0 -7
  887. package/interfaces/error-notification-service.d.ts +0 -3
  888. package/interfaces/error-stategy.d.ts +0 -3
  889. package/interfaces/image.d.ts +0 -5
  890. package/interfaces/index.d.ts +0 -5
  891. package/interfaces/option.d.ts +0 -5
  892. package/operators/handle-error.d.ts +0 -2
  893. package/operators/index.d.ts +0 -1
  894. package/providers/auth.options.d.ts +0 -15
  895. package/providers/auth.provider.d.ts +0 -3
  896. package/providers/error-handler.options.d.ts +0 -6
  897. package/providers/error-handler.provider.d.ts +0 -3
  898. package/providers/index.d.ts +0 -4
  899. package/services/auth.service.d.ts +0 -8
  900. package/services/browser-auth.service.d.ts +0 -10
  901. package/services/error-resolver-factory.service.d.ts +0 -10
  902. package/services/global-handler-error.service.d.ts +0 -10
  903. package/services/index.d.ts +0 -9
  904. package/services/loader.options.d.ts +0 -7
  905. package/services/loader.service.d.ts +0 -21
  906. package/services/mobile-auth.service.d.ts +0 -8
  907. package/services/position.service.d.ts +0 -10
  908. package/services/theme.options.d.ts +0 -5
  909. package/services/theme.service.d.ts +0 -12
  910. package/services/token.options.d.ts +0 -31
  911. package/services/token.service.d.ts +0 -26
  912. package/services/visual-viewport.service.d.ts +0 -9
  913. package/styles/direcive/flex-container.scss +0 -3
  914. package/styles/fonts.scss +0 -69
  915. package/styles/global.scss +0 -10
  916. package/styles/mixins/buttons.scss +0 -13
  917. package/styles/mixins/flex.scss +0 -21
  918. package/styles/mixins/headings.scss +0 -115
  919. package/styles/mixins/inputs.scss +0 -91
  920. package/styles/mixins/lists.scss +0 -41
  921. package/styles/mixins/paddings.scss +0 -35
  922. package/styles/mixins/shadows.scss +0 -42
  923. package/styles/mixins/texts.scss +0 -224
  924. package/styles/reset.scss +0 -111
  925. package/styles/theme.scss +0 -427
  926. package/styles/variables/colors.scss +0 -288
  927. package/styles/variables/fonts.scss +0 -2
  928. package/tokens/animations-speed.d.ts +0 -4
  929. package/tokens/error-notification-service.d.ts +0 -3
  930. package/tokens/error-translation-prefix.d.ts +0 -2
  931. package/tokens/index.d.ts +0 -5
  932. package/tokens/reduced-motion.d.ts +0 -1
  933. package/tokens/viewport.d.ts +0 -7
  934. package/types/appearance.d.ts +0 -11
  935. package/types/button-theme.d.ts +0 -5
  936. package/types/hint-type.d.ts +0 -1
  937. package/types/index.d.ts +0 -10
  938. package/types/point.d.ts +0 -1
  939. package/types/portal-item.d.ts +0 -9
  940. package/types/position.d.ts +0 -2
  941. package/types/resizing.d.ts +0 -3
  942. package/types/shape.d.ts +0 -1
  943. package/types/size.d.ts +0 -6
  944. package/types/status.d.ts +0 -1
  945. package/utils/check-fixed-position.d.ts +0 -1
  946. package/utils/default-validators/create-default-validators.d.ts +0 -5
  947. package/utils/default-validators/create-default-validators.options.d.ts +0 -5
  948. package/utils/default-validators/extra-spaces.options.d.ts +0 -2
  949. package/utils/default-validators/extra-spaces.validators.d.ts +0 -3
  950. package/utils/default-validators/index.d.ts +0 -2
  951. package/utils/format/index.d.ts +0 -2
  952. package/utils/format/remove-spaces.d.ts +0 -1
  953. package/utils/format/replace.d.ts +0 -1
  954. package/utils/index.d.ts +0 -4
  955. package/utils/miscellaneous/index.d.ts +0 -3
  956. package/utils/miscellaneous/is-obscured.d.ts +0 -4
  957. package/utils/miscellaneous/override-options.d.ts +0 -1
  958. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  959. package/widgets/assets/constants/index.d.ts +0 -1
  960. package/widgets/assets/constants/translations.d.ts +0 -2
  961. package/widgets/assets/index.d.ts +0 -1
  962. package/widgets/index.d.ts +0 -4
  963. package/widgets/model/circle-loader-size.type.d.ts +0 -2
  964. package/widgets/model/index.d.ts +0 -10
  965. package/widgets/model/resource-state-service.interface.d.ts +0 -4
  966. package/widgets/model/resource-state-service.token.d.ts +0 -3
  967. package/widgets/model/resources-block.options.d.ts +0 -15
  968. package/widgets/model/subject-modal-service.interface.d.ts +0 -7
  969. package/widgets/model/subject-modal-service.token.d.ts +0 -3
  970. package/widgets/model/used-elements-service.interface.d.ts +0 -5
  971. package/widgets/model/used-elements-service.token.d.ts +0 -3
  972. package/widgets/model/utility-service.interface.d.ts +0 -23
  973. package/widgets/model/utility-service.token.d.ts +0 -3
  974. package/widgets/service/index.d.ts +0 -4
  975. package/widgets/service/resource-state-base.service.d.ts +0 -10
  976. package/widgets/service/subject-modal-base.service.d.ts +0 -11
  977. package/widgets/service/used-elements-base.service.d.ts +0 -11
  978. package/widgets/service/utility-base.service.d.ts +0 -29
  979. package/widgets/ui/assignee-role-item/assignee-role-item.component.d.ts +0 -12
  980. package/widgets/ui/assignee-role-item/index.d.ts +0 -1
  981. package/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.d.ts +0 -18
  982. package/widgets/ui/assignee-roles-tabs/index.d.ts +0 -1
  983. package/widgets/ui/button-change-theme/button-change-theme.component.d.ts +0 -9
  984. package/widgets/ui/button-change-theme/index.d.ts +0 -1
  985. package/widgets/ui/categories/categories.component.d.ts +0 -25
  986. package/widgets/ui/categories/components/categories-list/categories-list.component.d.ts +0 -8
  987. package/widgets/ui/categories/components/categories-list/index.d.ts +0 -1
  988. package/widgets/ui/categories/components/category-form/category-form.component.d.ts +0 -28
  989. package/widgets/ui/categories/components/category-form/index.d.ts +0 -1
  990. package/widgets/ui/categories/components/category-item/category-item.component.d.ts +0 -42
  991. package/widgets/ui/categories/components/category-item/index.d.ts +0 -1
  992. package/widgets/ui/categories/components/create-category-item/create-category-item.component.d.ts +0 -10
  993. package/widgets/ui/categories/components/create-category-item/index.d.ts +0 -1
  994. package/widgets/ui/categories/components/index.d.ts +0 -2
  995. package/widgets/ui/categories/index.d.ts +0 -2
  996. package/widgets/ui/categories/services/index.d.ts +0 -1
  997. package/widgets/ui/categories/services/selected-category.service.d.ts +0 -18
  998. package/widgets/ui/checklist-block/checklist-block.component.d.ts +0 -21
  999. package/widgets/ui/checklist-block/checklist-block.options.d.ts +0 -12
  1000. package/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +0 -27
  1001. package/widgets/ui/checklist-block/components/checklist-block-list/index.d.ts +0 -1
  1002. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +0 -30
  1003. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +0 -1
  1004. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.d.ts +0 -11
  1005. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +0 -1
  1006. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.d.ts +0 -10
  1007. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +0 -1
  1008. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +0 -41
  1009. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +0 -5
  1010. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.d.ts +0 -1
  1011. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +0 -51
  1012. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +0 -14
  1013. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +0 -2
  1014. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +0 -33
  1015. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +0 -4
  1016. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +0 -1
  1017. package/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +0 -8
  1018. package/widgets/ui/checklist-block/components/checklist-block-title-control/index.d.ts +0 -1
  1019. package/widgets/ui/checklist-block/components/index.d.ts +0 -1
  1020. package/widgets/ui/checklist-block/index.d.ts +0 -1
  1021. package/widgets/ui/checklist-block/services/checklist-block.service.d.ts +0 -19
  1022. package/widgets/ui/checklist-block/services/index.d.ts +0 -1
  1023. package/widgets/ui/circle-loader/circle-loader.component.d.ts +0 -8
  1024. package/widgets/ui/circle-loader/index.d.ts +0 -1
  1025. package/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.d.ts +0 -31
  1026. package/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.d.ts +0 -1
  1027. package/widgets/ui/consumable-form/components/consumable-form-item/index.d.ts +0 -2
  1028. package/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.d.ts +0 -8
  1029. package/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.d.ts +0 -1
  1030. package/widgets/ui/consumable-form/components/index.d.ts +0 -3
  1031. package/widgets/ui/consumable-form/consumable-form.component.d.ts +0 -46
  1032. package/widgets/ui/consumable-form/consumable-form.options.d.ts +0 -22
  1033. package/widgets/ui/consumable-form/index.d.ts +0 -1
  1034. package/widgets/ui/criterion-info/criterion-info.component.d.ts +0 -43
  1035. package/widgets/ui/criterion-info/index.d.ts +0 -1
  1036. package/widgets/ui/criterion-info-form/criterion-info-form.component.d.ts +0 -39
  1037. package/widgets/ui/criterion-info-form/criterion-info-form.options.d.ts +0 -7
  1038. package/widgets/ui/criterion-info-form/index.d.ts +0 -2
  1039. package/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.d.ts +0 -26
  1040. package/widgets/ui/criterion-readonly-info/index.d.ts +0 -1
  1041. package/widgets/ui/delete-modal/delete-modal.component.d.ts +0 -13
  1042. package/widgets/ui/delete-modal/delete-modal.options.d.ts +0 -7
  1043. package/widgets/ui/delete-modal/index.d.ts +0 -2
  1044. package/widgets/ui/framer-preview/framer-preview.component.d.ts +0 -26
  1045. package/widgets/ui/framer-preview/framer-preview.options.d.ts +0 -5
  1046. package/widgets/ui/framer-preview/index.d.ts +0 -2
  1047. package/widgets/ui/general-control-error-hint/general-control-error-hint.component.d.ts +0 -9
  1048. package/widgets/ui/general-control-error-hint/index.d.ts +0 -1
  1049. package/widgets/ui/index.d.ts +0 -29
  1050. package/widgets/ui/inserted/index.d.ts +0 -1
  1051. package/widgets/ui/inserted/inserted.component.d.ts +0 -5
  1052. package/widgets/ui/instruction-info/index.d.ts +0 -1
  1053. package/widgets/ui/instruction-info/instruction-info.component.d.ts +0 -45
  1054. package/widgets/ui/instruction-info-form/index.d.ts +0 -2
  1055. package/widgets/ui/instruction-info-form/instruction-info-form.component.d.ts +0 -43
  1056. package/widgets/ui/instruction-info-form/instruction-info-form.options.d.ts +0 -9
  1057. package/widgets/ui/instruction-readonly-info/index.d.ts +0 -1
  1058. package/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.d.ts +0 -26
  1059. package/widgets/ui/linear-loader/index.d.ts +0 -1
  1060. package/widgets/ui/linear-loader/linear-loader.component.d.ts +0 -5
  1061. package/widgets/ui/modal-criteria-tab/index.d.ts +0 -1
  1062. package/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.d.ts +0 -15
  1063. package/widgets/ui/modal-divided-section/index.d.ts +0 -2
  1064. package/widgets/ui/modal-divided-section/modal-divided-section.component.d.ts +0 -22
  1065. package/widgets/ui/modal-divided-section/modal-divided-section.interfaces.d.ts +0 -6
  1066. package/widgets/ui/modal-header/index.d.ts +0 -1
  1067. package/widgets/ui/modal-header/modal-header.component.d.ts +0 -12
  1068. package/widgets/ui/modal-header-inserted-buttons/index.d.ts +0 -1
  1069. package/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.d.ts +0 -7
  1070. package/widgets/ui/modal-header-tabs/index.d.ts +0 -1
  1071. package/widgets/ui/modal-header-tabs/modal-header-tabs.component.d.ts +0 -8
  1072. package/widgets/ui/modal-info-tab/index.d.ts +0 -2
  1073. package/widgets/ui/modal-info-tab/modal-info-tab.component.d.ts +0 -8
  1074. package/widgets/ui/modal-info-tab/modal-info-tab.options.d.ts +0 -4
  1075. package/widgets/ui/modal-instructions-tab/index.d.ts +0 -1
  1076. package/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.d.ts +0 -15
  1077. package/widgets/ui/modal-operation-part/index.d.ts +0 -1
  1078. package/widgets/ui/modal-operation-part/modal-operation-part.component.d.ts +0 -26
  1079. package/widgets/ui/modal-resources-tab/index.d.ts +0 -1
  1080. package/widgets/ui/modal-resources-tab/modal-resources-tab.component.d.ts +0 -14
  1081. package/widgets/ui/render-dynamic-modal/index.d.ts +0 -2
  1082. package/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.d.ts +0 -11
  1083. package/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.d.ts +0 -5
  1084. package/widgets/ui/resources-block/components/index.d.ts +0 -5
  1085. package/widgets/ui/resources-block/components/resources-block-consumables/index.d.ts +0 -2
  1086. package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.d.ts +0 -17
  1087. package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.d.ts +0 -7
  1088. package/widgets/ui/resources-block/components/resources-block-content/index.d.ts +0 -1
  1089. package/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.d.ts +0 -19
  1090. package/widgets/ui/resources-block/components/resources-block-part/index.d.ts +0 -1
  1091. package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.d.ts +0 -19
  1092. package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.d.ts +0 -5
  1093. package/widgets/ui/resources-block/components/resources-block-tabs/index.d.ts +0 -1
  1094. package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.d.ts +0 -28
  1095. package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.d.ts +0 -13
  1096. package/widgets/ui/resources-block/components/resources-block-toolbox/index.d.ts +0 -2
  1097. package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.d.ts +0 -17
  1098. package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.d.ts +0 -5
  1099. package/widgets/ui/resources-block/components/resources-options/index.d.ts +0 -1
  1100. package/widgets/ui/resources-block/components/resources-options/resources-options.component.d.ts +0 -20
  1101. package/widgets/ui/resources-block/index.d.ts +0 -2
  1102. package/widgets/ui/resources-block/resources-block.component.d.ts +0 -35
  1103. package/widgets/ui/resources-block-tabs/index.d.ts +0 -1
  1104. package/widgets/ui/resources-block-tabs/resources-block-tabs.component.d.ts +0 -28
  1105. package/widgets/ui/resources-block-tabs/resources-block-tabs.options.d.ts +0 -14
  1106. package/widgets/ui/select-modal/components/index.d.ts +0 -2
  1107. package/widgets/ui/select-modal/components/select-modal-folder/index.d.ts +0 -1
  1108. package/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +0 -10
  1109. package/widgets/ui/select-modal/components/select-modal-search/index.d.ts +0 -1
  1110. package/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.d.ts +0 -12
  1111. package/widgets/ui/select-modal/index.d.ts +0 -4
  1112. package/widgets/ui/select-modal/select-modal.component.d.ts +0 -13
  1113. package/widgets/ui/select-modal/select-modal.interfaces.d.ts +0 -15
  1114. package/widgets/ui/select-modal/select-modal.service.d.ts +0 -13
  1115. package/widgets/ui/stated-loader/index.d.ts +0 -1
  1116. package/widgets/ui/stated-loader/stated-loader.component.d.ts +0 -20
  1117. package/widgets/ui/storage-list/components/index.d.ts +0 -1
  1118. package/widgets/ui/storage-list/components/storage-list-item/index.d.ts +0 -1
  1119. package/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.d.ts +0 -24
  1120. package/widgets/ui/storage-list/index.d.ts +0 -2
  1121. package/widgets/ui/storage-list/storage-list.component.d.ts +0 -10
  1122. package/widgets/ui/storage-list/storage-list.options.d.ts +0 -16
  1123. package/widgets/ui/toolbox-form/components/index.d.ts +0 -1
  1124. package/widgets/ui/toolbox-form/components/tool-form-readonly/index.d.ts +0 -1
  1125. package/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.d.ts +0 -7
  1126. package/widgets/ui/toolbox-form/index.d.ts +0 -2
  1127. package/widgets/ui/toolbox-form/tool-form.component.d.ts +0 -34
  1128. package/widgets/ui/toolbox-form/tool-form.options.d.ts +0 -5
  1129. package/widgets/ui/user-action-context-menu/activity-item/activity-item.component.d.ts +0 -16
  1130. package/widgets/ui/user-action-context-menu/activity-item/index.d.ts +0 -1
  1131. package/widgets/ui/user-action-context-menu/company-item/company-item.component.d.ts +0 -20
  1132. package/widgets/ui/user-action-context-menu/company-item/index.d.ts +0 -1
  1133. package/widgets/ui/user-action-context-menu/index.d.ts +0 -3
  1134. package/widgets/ui/user-action-context-menu/services/activity-base.service.d.ts +0 -14
  1135. package/widgets/ui/user-action-context-menu/services/activity.service.d.ts +0 -14
  1136. package/widgets/ui/user-action-context-menu/services/index.d.ts +0 -2
  1137. package/widgets/ui/user-action-context-menu/user-action-context-menu.component.d.ts +0 -25
  1138. package/widgets/ui/user-action-context-menu/user-action-context.option.d.ts +0 -15
  1139. package/widgets/ui/utility-info-readonly/index.d.ts +0 -2
  1140. package/widgets/ui/utility-info-readonly/utility-info-readonly.component.d.ts +0 -29
  1141. package/widgets/ui/utility-info-readonly/utility-info-readonly.options.d.ts +0 -4
  1142. package/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +0 -18
  1143. package/widgets/ui/utility-modal/components/criterion-modal-create/index.d.ts +0 -1
  1144. package/widgets/ui/utility-modal/components/index.d.ts +0 -4
  1145. package/widgets/ui/utility-modal/components/instruction-modal-create/index.d.ts +0 -1
  1146. package/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +0 -18
  1147. package/widgets/ui/utility-modal/components/readonly-criterion-modal/index.d.ts +0 -1
  1148. package/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +0 -16
  1149. package/widgets/ui/utility-modal/components/readonly-instruction-modal/index.d.ts +0 -1
  1150. package/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +0 -16
  1151. package/widgets/ui/utility-modal/components/readonly-utility-modal/index.d.ts +0 -1
  1152. package/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +0 -18
  1153. package/widgets/ui/utility-modal/components/utility-modal-create/index.d.ts +0 -1
  1154. package/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +0 -25
  1155. package/widgets/ui/utility-modal/index.d.ts +0 -3
  1156. package/widgets/ui/utility-modal/utility-modal.component.d.ts +0 -10
  1157. package/widgets/ui/utility-modal/utility-modal.options.d.ts +0 -12
  1158. package/widgets/ui/utility-readonly-thumbnail/index.d.ts +0 -1
  1159. package/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +0 -8
  1160. package/widgets/ui/utility-thumbnail/index.d.ts +0 -1
  1161. package/widgets/ui/utility-thumbnail/utility-thumbnail.component.d.ts +0 -21
@@ -1,17 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import { CuiBadgeModule } from '../../../components';
3
- import { CuiSvgModule } from '../../../components';
4
- import { TranslocoModule } from '@jsverse/transloco';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../components/badge/badge.component";
7
- import * as i2 from "../../../components/svg/svg.component";
8
- import * as i3 from "@jsverse/transloco";
9
- export class InsertedComponent {
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InsertedComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: InsertedComponent, isStandalone: true, selector: "cui-inserted", ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <cui-badge color=\"violet\">\n <cui-svg\n class=\"icon\"\n icon=\"cuiIconVariant\"\n color=\"var(--cui-violet-400)\"\n />\n {{ t('INSERTED') }}\n </cui-badge>\n</ng-container>\n", styles: [":host{display:contents}.violet{display:flex;gap:4px;align-items:center}\n"], dependencies: [{ kind: "ngmodule", type: CuiBadgeModule }, { kind: "component", type: i1.CuiBadgeComponent, selector: "cui-badge", inputs: ["color", "size", "isWithDot"] }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i2.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i3.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: InsertedComponent, decorators: [{
14
- type: Component,
15
- args: [{ selector: 'cui-inserted', imports: [CuiBadgeModule, CuiSvgModule, TranslocoModule], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n <cui-badge color=\"violet\">\n <cui-svg\n class=\"icon\"\n icon=\"cuiIconVariant\"\n color=\"var(--cui-violet-400)\"\n />\n {{ t('INSERTED') }}\n </cui-badge>\n</ng-container>\n", styles: [":host{display:contents}.violet{display:flex;gap:4px;align-items:center}\n"] }]
16
- }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zZXJ0ZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL2luc2VydGVkL2luc2VydGVkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9pbnNlcnRlZC9pbnNlcnRlZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ25FLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLG9CQUFvQixDQUFDOzs7OztBQVVyRCxNQUFNLE9BQU8saUJBQWlCOytHQUFqQixpQkFBaUI7bUdBQWpCLGlCQUFpQix3RUNiOUIscVJBVUEsa0lESGMsY0FBYyxnSkFBRSxZQUFZLHVL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zPVwiaWNvblwiXG4gICAgICAgICAgICBpY29uPVwiY3VpSWNvblZhcmlhbnRcIlxuICAgICAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktdmlvbGV0LTQwMClcIlxuICAgICAgICAvPlxuICAgICAgICB7eyB0KCdJTlNFUlRFRCcpIH19XG4gICAgPC9jdWktYmFkZ2U+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export { CuiInstructionInfoComponent } from './instruction-info.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvaW5zdHJ1Y3Rpb24taW5mby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsMkJBQTJCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aUluc3RydWN0aW9uSW5mb0NvbXBvbmVudCB9IGZyb20gJy4vaW5zdHJ1Y3Rpb24taW5mby5jb21wb25lbnQnO1xuIl19
@@ -1,147 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, computed, DestroyRef, effect, inject, input, model, output, signal, untracked, viewChild } from '@angular/core';
2
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
- import { TranslocoModule, TranslocoService } from '@jsverse/transloco';
4
- import { finalize, forkJoin } from 'rxjs';
5
- import { CuiTreeStructNavigatorApiService } from '@cuby-ui/api';
6
- import { CuiIdService } from '@cuby-ui/cdk';
7
- import { CuiBadgeModule, CuiButtonModule, CuiDialogModule, CuiFormFieldModule, CuiLabelModule, CuiSvgModule } from '../../../components';
8
- import { CuiCategoriesComponent, CuiSelectedCategoryService } from '../categories';
9
- import { CuiInstructionInfoFormComponent } from '../instruction-info-form';
10
- import { UTILITY_MODAL_SERVICE_TOKEN } from '../utility-modal';
11
- import * as i0 from "@angular/core";
12
- import * as i1 from "../../../components/form-field/form-field.component";
13
- import * as i2 from "../../../components/label/label.component";
14
- import * as i3 from "../../../components/svg/svg.component";
15
- import * as i4 from "@jsverse/transloco";
16
- export class CuiInstructionInfoComponent {
17
- constructor() {
18
- this.destroyRef = inject(DestroyRef);
19
- this.translocoService = inject(TranslocoService);
20
- this.cuiIdService = inject(CuiIdService);
21
- this.cuiCategoriesModalService = inject(CuiSelectedCategoryService);
22
- this.treeStructNavigatorApiService = inject(CuiTreeStructNavigatorApiService);
23
- this.instructionApiService = inject(UTILITY_MODAL_SERVICE_TOKEN);
24
- this.TYPE = "INSTRUCTION_STORAGE" /* TreeStructType.Instruction */;
25
- this.skipCategoryChange = false;
26
- this.categoryId = this.cuiIdService.generate();
27
- this.category = this.cuiCategoriesModalService.category;
28
- this.isFormValid = signal(false);
29
- this.prevCategoryId = signal(null);
30
- this.editorConfig = signal(null);
31
- this.labelColor = computed(() => this.category()?.title ? 'var(--cui-base-900)' : 'var(--cui-base-400)');
32
- this.selectTitle = computed(() => this.category()?.title || this.translocoService.translate('SELECT') + '...');
33
- this.element = viewChild('scrollContent');
34
- this.instruction = model();
35
- this.tools = input.required();
36
- this.editorResourceUrl = input.required();
37
- this.validationChanged = output();
38
- this.instructionCreated = output();
39
- this.initConfigEffect();
40
- this.initCategoryEffect();
41
- }
42
- ngOnInit() {
43
- this.initCategory();
44
- }
45
- onFormChanged(values, instructionId) {
46
- const actions = {
47
- title: (title) => this.changeTitle(title, instructionId),
48
- description: (description) => this.changeDescription(description, instructionId)
49
- };
50
- forkJoin(Object.keys(values).map((key) => actions[key](values[key] || '')))
51
- .pipe(takeUntilDestroyed(this.destroyRef))
52
- .subscribe();
53
- }
54
- onFormValidationChanged(isValid) {
55
- this.isFormValid.set(isValid);
56
- this.validationChanged.emit(isValid);
57
- }
58
- initCategoryEffect() {
59
- effect(() => {
60
- const category = this.category();
61
- const storageObjectInstruction = untracked(this.instruction);
62
- if (!category || this.skipCategoryChange) {
63
- this.skipCategoryChange = false;
64
- return;
65
- }
66
- if (storageObjectInstruction) {
67
- this.changeCategory(category.id, storageObjectInstruction.id);
68
- return;
69
- }
70
- this.createInstruction(category.id);
71
- });
72
- }
73
- initConfigEffect() {
74
- effect(() => {
75
- const element = this.element()?.nativeElement;
76
- if (!element) {
77
- return;
78
- }
79
- this.editorConfig.set({ tools: this.tools(), element });
80
- });
81
- }
82
- initCategory() {
83
- const storageObjectId = this.instruction()?.id;
84
- if (!storageObjectId) {
85
- return;
86
- }
87
- this.treeStructNavigatorApiService
88
- .getCategory(storageObjectId, "INSTRUCTION_STORAGE" /* TreeStructType.Instruction */)
89
- .pipe(takeUntilDestroyed(this.destroyRef))
90
- .subscribe((category) => {
91
- this.skipCategoryChange = true;
92
- this.prevCategoryId.set(category.id);
93
- this.cuiCategoriesModalService.setCurrentCategory(category);
94
- });
95
- }
96
- changeCategory(categoryId, targetId) {
97
- const prevCategoryId = untracked(this.prevCategoryId);
98
- if (!prevCategoryId) {
99
- return;
100
- }
101
- this.subscription?.unsubscribe();
102
- this.subscription = this.treeStructNavigatorApiService
103
- .moveElement({
104
- type: "MOVING_TARGET_TREE_STRUCT" /* MovingType.TARGET_TREE_STRUCT */,
105
- movableItemId: targetId,
106
- treeStructTargetItemId: categoryId,
107
- treeStructMovableItemId: prevCategoryId
108
- })
109
- .subscribe(() => this.prevCategoryId.set(categoryId));
110
- }
111
- createInstruction(categoryId) {
112
- this.instructionCreated.emit(categoryId);
113
- this.prevCategoryId.set(categoryId);
114
- }
115
- changeTitle(value, instructionId) {
116
- return this.instructionApiService.changeTitle(instructionId, value).pipe(finalize(() => this.instruction.update((prev) => ({
117
- ...prev,
118
- storageElement: { ...prev.storageElement, title: value }
119
- }))));
120
- }
121
- changeDescription(value, instructionId) {
122
- if (!this.instructionApiService.changeDescription) {
123
- throw new Error('Change description not implemented');
124
- }
125
- return this.instructionApiService.changeDescription(instructionId, value).pipe(finalize(() => this.instruction.update((prev) => ({
126
- ...prev,
127
- storageElement: { ...prev.storageElement, shortDescription: value }
128
- }))));
129
- }
130
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiInstructionInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
131
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiInstructionInfoComponent, isStandalone: true, selector: "cui-instruction-info", inputs: { instruction: { classPropertyName: "instruction", publicName: "instruction", isSignal: true, isRequired: false, transformFunction: null }, tools: { classPropertyName: "tools", publicName: "tools", isSignal: true, isRequired: true, transformFunction: null }, editorResourceUrl: { classPropertyName: "editorResourceUrl", publicName: "editorResourceUrl", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { instruction: "instructionChange", validationChanged: "validationChanged", instructionCreated: "instructionCreated" }, providers: [CuiSelectedCategoryService], viewQueries: [{ propertyName: "element", first: true, predicate: ["scrollContent"], descendants: true, isSignal: true }], ngImport: i0, template: "<div\n class=\"wrapper\"\n *transloco=\"let t\"\n>\n <div\n #scrollContent\n class=\"content content_scrollable\"\n >\n <div class=\"category\">\n <cui-form-field>\n <label\n cuiLabel\n [for]=\"categoryId\"\n [isRequired]=\"true\"\n >\n {{ t('SELECT_CATEGORY') }}\n </label>\n <cui-categories\n [buttonId]=\"categoryId\"\n [treeStructType]=\"TYPE\"\n >\n <div class=\"select\">\n <span [style.color]=\"labelColor()\">\n {{ selectTitle() }}\n </span>\n\n <cui-svg icon=\"cuiIconChevronDown\" />\n </div>\n </cui-categories>\n </cui-form-field>\n </div>\n\n @let instructionData = instruction();\n @let editorConfigData = editorConfig();\n\n @if (editorConfigData && instructionData) {\n <cui-instruction-info-form\n [config]=\"editorConfigData\"\n [baseResourceUrl]=\"editorResourceUrl()\"\n [title]=\"instructionData.storageElement.title\"\n [description]=\"instructionData.storageElement.shortDescription\"\n [framerId]=\"instructionData.storageElement.framerInstructionId\"\n class=\"utility\"\n (isFormValidChanged)=\"onFormValidationChanged($event)\"\n (formChanged)=\"onFormChanged($event, instructionData.id)\"\n />\n }\n </div>\n</div>\n", styles: [".wrapper{display:flex;flex-direction:column;height:100%}.content{height:calc(100vh - 109px)}.content_scrollable{overflow:auto}.category{padding-top:16px;padding-right:23px;padding-left:23px}.select{padding:7px 13px;font-weight:400;font-size:14px;line-height:20px;display:flex;justify-content:space-between;height:36px;border-radius:8px;border:1px solid var(--cui-base-200);color:var(--cui-base-900);background:var(--cui-input)}.utility{--editor-height: none}\n"], dependencies: [{ kind: "ngmodule", type: CuiBadgeModule }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: CuiCategoriesComponent, selector: "cui-categories", inputs: ["treeStructType", "buttonId", "disabled", "context"] }, { kind: "ngmodule", type: CuiDialogModule }, { kind: "ngmodule", type: CuiFormFieldModule }, { kind: "component", type: i1.CuiFormFieldComponent, selector: "cui-form-field" }, { kind: "component", type: CuiInstructionInfoFormComponent, selector: "cui-instruction-info-form", inputs: ["title", "description", "framerId", "baseResourceUrl", "config"], outputs: ["formChanged", "isFormValidChanged"] }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "component", type: i2.CuiLabelComponent, selector: "label[cuiLabel]", inputs: ["isRequired"] }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i3.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "ngmodule", type: TranslocoModule }, { kind: "directive", type: i4.TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
132
- }
133
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiInstructionInfoComponent, decorators: [{
134
- type: Component,
135
- args: [{ selector: 'cui-instruction-info', imports: [
136
- CuiBadgeModule,
137
- CuiButtonModule,
138
- CuiCategoriesComponent,
139
- CuiDialogModule,
140
- CuiFormFieldModule,
141
- CuiInstructionInfoFormComponent,
142
- CuiLabelModule,
143
- CuiSvgModule,
144
- TranslocoModule
145
- ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [CuiSelectedCategoryService], template: "<div\n class=\"wrapper\"\n *transloco=\"let t\"\n>\n <div\n #scrollContent\n class=\"content content_scrollable\"\n >\n <div class=\"category\">\n <cui-form-field>\n <label\n cuiLabel\n [for]=\"categoryId\"\n [isRequired]=\"true\"\n >\n {{ t('SELECT_CATEGORY') }}\n </label>\n <cui-categories\n [buttonId]=\"categoryId\"\n [treeStructType]=\"TYPE\"\n >\n <div class=\"select\">\n <span [style.color]=\"labelColor()\">\n {{ selectTitle() }}\n </span>\n\n <cui-svg icon=\"cuiIconChevronDown\" />\n </div>\n </cui-categories>\n </cui-form-field>\n </div>\n\n @let instructionData = instruction();\n @let editorConfigData = editorConfig();\n\n @if (editorConfigData && instructionData) {\n <cui-instruction-info-form\n [config]=\"editorConfigData\"\n [baseResourceUrl]=\"editorResourceUrl()\"\n [title]=\"instructionData.storageElement.title\"\n [description]=\"instructionData.storageElement.shortDescription\"\n [framerId]=\"instructionData.storageElement.framerInstructionId\"\n class=\"utility\"\n (isFormValidChanged)=\"onFormValidationChanged($event)\"\n (formChanged)=\"onFormChanged($event, instructionData.id)\"\n />\n }\n </div>\n</div>\n", styles: [".wrapper{display:flex;flex-direction:column;height:100%}.content{height:calc(100vh - 109px)}.content_scrollable{overflow:auto}.category{padding-top:16px;padding-right:23px;padding-left:23px}.select{padding:7px 13px;font-weight:400;font-size:14px;line-height:20px;display:flex;justify-content:space-between;height:36px;border-radius:8px;border:1px solid var(--cui-base-200);color:var(--cui-base-900);background:var(--cui-input)}.utility{--editor-height: none}\n"] }]
146
- }], ctorParameters: () => [] });
147
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJ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ICAgICAgICAgIClcbiAgICAgICAgKTtcbiAgICB9XG59XG4iLCI8ZGl2XG4gICAgY2xhc3M9XCJ3cmFwcGVyXCJcbiAgICAqdHJhbnNsb2NvPVwibGV0IHRcIlxuPlxuICAgIDxkaXZcbiAgICAgICAgI3Njcm9sbENvbnRlbnRcbiAgICAgICAgY2xhc3M9XCJjb250ZW50IGNvbnRlbnRfc2Nyb2xsYWJsZVwiXG4gICAgPlxuICAgICAgICA8ZGl2IGNsYXNzPVwiY2F0ZWdvcnlcIj5cbiAgICAgICAgICAgIDxjdWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgICAgICAgICAgY3VpTGFiZWxcbiAgICAgICAgICAgICAgICAgICAgW2Zvcl09XCJjYXRlZ29yeUlkXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzUmVxdWlyZWRdPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7eyB0KCdTRUxFQ1RfQ0FURUdPUlknKSB9fVxuICAgICAgICAgICAgICAgIDwvbGFiZWw+XG4gICAgICAgICAgICAgICAgPGN1aS1jYXRlZ29yaWVzXG4gICAgICAgICAgICAgICAgICAgIFtidXR0b25JZF09XCJjYXRlZ29yeUlkXCJcbiAgICAgICAgICAgICAgICAgICAgW3RyZWVTdHJ1Y3RUeXBlXT1cIlRZUEVcIlxuICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInNlbGVjdFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gW3N0eWxlLmNvbG9yXT1cImxhYmVsQ29sb3IoKVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IHNlbGVjdFRpdGxlKCkgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvc3Bhbj5cblxuICAgICAgICAgICAgICAgICAgICAgICAgPGN1aS1zdmcgaWNvbj1cImN1aUljb25Da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biAgICAgICAgICAgIC8+XG4gICAgICAgIH1cbiAgICA8L2Rpdj5cbjwvZGl2PlxuIl19
@@ -1,2 +0,0 @@
1
- export { CuiInstructionInfoFormComponent } from './instruction-info-form.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvaW5zdHJ1Y3Rpb24taW5mby1mb3JtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwrQkFBK0IsRUFBRSxNQUFNLG1DQUFtQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ3VpSW5zdHJ1Y3Rpb25JbmZvRm9ybUNvbXBvbmVudCB9IGZyb20gJy4vaW5zdHJ1Y3Rpb24taW5mby1mb3JtLmNvbXBvbmVudCc7XG5leHBvcnQgeyBDdWlJbnN0cnVjdGlvbkZvcm1Hcm91cCwgQ3VpSW5zdHJ1Y3Rpb25Gb3JtVmFsdWVzIH0gZnJvbSAnLi9pbnN0cnVjdGlvbi1pbmZvLWZvcm0ub3B0aW9ucyc7XG4iXX0=
@@ -1,153 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, DestroyRef, effect, inject, input, output, signal } from '@angular/core';
2
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
- import { NonNullableFormBuilder, ReactiveFormsModule } from '@angular/forms';
4
- import { TranslocoDirective } from '@jsverse/transloco';
5
- import { debounceTime, map, pairwise, startWith } from 'rxjs';
6
- import { CuiFrameApiService } from '@cuby-ui/api';
7
- import { CuiIdService, takeCaptureFromVideo } from '@cuby-ui/cdk';
8
- import { CuiAccordionModule, CuiButtonModule, CuiFormFieldModule, CuiHintModule, CuiInputModule, CuiLabelModule } from '../../../components';
9
- import { cuiCreateDefaultValidators } from '../../../utils';
10
- import { CuiGeneralControlErrorHintComponent } from '../general-control-error-hint';
11
- import { CuiEditorBlockComponent } from '../../../editor';
12
- import { CuiUtilityThumbnailComponent } from '../utility-thumbnail';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "../../../components/form-field/form-field.component";
15
- import * as i2 from "../../../components/input-text/input-text.component";
16
- import * as i3 from "../../../directives/text-field-controller/text-field-id.directive";
17
- import * as i4 from "../../../directives/text-field-controller/text-field-placeholder.directive";
18
- import * as i5 from "../../../directives/text-field-controller/text-field-is-error.directive";
19
- import * as i6 from "../../../components/label/label.component";
20
- import * as i7 from "@angular/forms";
21
- export class CuiInstructionInfoFormComponent {
22
- get controls() {
23
- return this.form.controls;
24
- }
25
- get isTitleError() {
26
- return this.controls.title.invalid && this.controls.title.dirty;
27
- }
28
- get isDescriptionError() {
29
- return this.controls.description.invalid && this.controls.description.dirty;
30
- }
31
- constructor() {
32
- this.destroy = inject(DestroyRef);
33
- this.formBuilder = inject(NonNullableFormBuilder);
34
- this.frameApiService = inject(CuiFrameApiService);
35
- this.cuiIdService = inject(CuiIdService);
36
- this.CONTROL_DELAY = 500;
37
- this.titleId = this.cuiIdService.generate();
38
- this.descriptionId = this.cuiIdService.generate();
39
- this.form = this.formBuilder.group({
40
- title: this.formBuilder.control('', cuiCreateDefaultValidators({ asyncDelay: this.CONTROL_DELAY })),
41
- description: this.formBuilder.control('', cuiCreateDefaultValidators({ asyncDelay: this.CONTROL_DELAY }))
42
- });
43
- this.heading = null;
44
- this.isDescriptionEmpty = signal(false);
45
- this.editorId = signal(null);
46
- this.thumbnail = signal(null);
47
- this.title = input.required();
48
- this.description = input.required();
49
- this.framerId = input.required();
50
- this.baseResourceUrl = input.required();
51
- this.config = input.required();
52
- this.formChanged = output();
53
- this.isFormValidChanged = output();
54
- this.initUtilityEffect();
55
- }
56
- onEditorEmpty(isEmpty) {
57
- this.isDescriptionEmpty.set(isEmpty);
58
- this.isFormValidChanged.emit(this.checkFormValidation());
59
- }
60
- initUtilityEffect() {
61
- const effectRef = effect(() => {
62
- const title = this.title();
63
- if (!title) {
64
- return;
65
- }
66
- this.initFormSubscriptions();
67
- this.initFrameFragments();
68
- effectRef.destroy();
69
- });
70
- }
71
- initFormSubscriptions() {
72
- this.form.setValue({ title: this.title(), description: this.description() }, { emitEvent: false });
73
- this.form.statusChanges
74
- .pipe(takeUntilDestroyed(this.destroy))
75
- .subscribe(() => this.isFormValidChanged.emit(this.checkFormValidation()));
76
- this.form.valueChanges
77
- .pipe(takeUntilDestroyed(this.destroy), startWith(this.form.value), pairwise(), debounceTime(this.CONTROL_DELAY), map(([prev, current]) => this.compareFormValues([prev, current])))
78
- .subscribe((value) => {
79
- if (!Object.keys(value).length) {
80
- return;
81
- }
82
- this.formChanged.emit(value);
83
- });
84
- }
85
- initFrameFragments() {
86
- const frameId = this.framerId();
87
- if (!frameId) {
88
- return;
89
- }
90
- this.frameApiService.getFrame(frameId).subscribe((frame) => {
91
- frame.fragments.forEach((fragment) => {
92
- if (fragment.type === "J_TEXT" /* FragmentType.jText */) {
93
- this.editorId.set(fragment?.id);
94
- }
95
- if (fragment.type === "RESOURCE_FILE" /* FragmentType.resourceFile */) {
96
- this.setResourceFile(fragment);
97
- }
98
- });
99
- });
100
- }
101
- compareFormValues([prevGroup, currentGruop]) {
102
- const keys = Object.keys(currentGruop);
103
- const changedFields = {};
104
- keys.forEach((key) => {
105
- const prev = prevGroup[key];
106
- const current = currentGruop[key];
107
- if (prev === current || this.controls[key].invalid) {
108
- return;
109
- }
110
- changedFields[key] = current;
111
- });
112
- return changedFields;
113
- }
114
- setResourceFile(resource) {
115
- const url = this.baseResourceUrl() + resource.fileId;
116
- this.thumbnail.set(resource);
117
- if (!url || resource?.name?.split('.').pop() !== 'mp4') {
118
- return;
119
- }
120
- this.getCaptureFromVideo(url);
121
- }
122
- getCaptureFromVideo(url, file) {
123
- takeCaptureFromVideo(url).then((capture) => {
124
- this.thumbnail.update((prev) => ({
125
- ...prev,
126
- name: (file?.name ?? prev?.name),
127
- resource: capture
128
- }));
129
- });
130
- }
131
- checkFormValidation() {
132
- return !this.isDescriptionEmpty() && !this.form.invalid;
133
- }
134
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiInstructionInfoFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
135
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiInstructionInfoFormComponent, isStandalone: true, selector: "cui-instruction-info-form", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: true, transformFunction: null }, framerId: { classPropertyName: "framerId", publicName: "framerId", isSignal: true, isRequired: true, transformFunction: null }, baseResourceUrl: { classPropertyName: "baseResourceUrl", publicName: "baseResourceUrl", isSignal: true, isRequired: true, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null } }, outputs: { formChanged: "formChanged", isFormValidChanged: "isFormValidChanged" }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <section class=\"content\">\n <cui-form-field>\n <label\n cuiLabel\n [isRequired]=\"true\"\n [for]=\"titleId\"\n >\n {{ t('TITLE') }}\n </label>\n\n <cui-input-text\n [cuiTextFieldId]=\"titleId\"\n [cuiTextFieldPlaceholder]=\"t('ADD_A_TITLE')\"\n [cuiTextFieldIsError]=\"isTitleError\"\n [formControl]=\"form.controls.title\"\n />\n\n @if (isTitleError) {\n <cui-general-control-error-hint\n [control]=\"form.controls.title\"\n [isVisible]=\"true\"\n />\n }\n </cui-form-field>\n\n <cui-form-field>\n <label\n cuiLabel\n [isRequired]=\"true\"\n [for]=\"descriptionId\"\n >\n {{ t('SHORT_DESCRIPTION') }}\n </label>\n\n <cui-input-text\n [cuiTextFieldId]=\"descriptionId\"\n cuiTextFieldPlaceholder=\"{{ t('SHORT_DESCRIPTION') }}...\"\n [cuiTextFieldIsError]=\"isDescriptionError\"\n [formControl]=\"form.controls.description\"\n />\n\n @if (isDescriptionError) {\n <cui-general-control-error-hint\n [control]=\"form.controls.description\"\n [isVisible]=\"true\"\n />\n }\n </cui-form-field>\n\n <cui-utility-thumbnail\n [baseResourceUrl]=\"baseResourceUrl()\"\n [framerId]=\"framerId()\"\n [(thumbnail)]=\"thumbnail\"\n />\n\n @if (editorId(); as editorId) {\n <cui-editor-block\n [title]=\"form.controls.title.value || title()\"\n [config]=\"config()\"\n [editorId]=\"editorId\"\n [required]=\"true\"\n class=\"editor\"\n (editorEmpty)=\"onEditorEmpty($event)\"\n />\n }\n </section>\n</ng-container>\n", styles: ["::ng-deep cui-dialog:has(.instruction-description-modal){inset:0;margin:auto;transform:none!important}:host{--editor-height: 650px;display:block}:host .editor{--max-editor-height: var(--editor-height)}.content{display:flex;flex-direction:column;gap:16px;padding:16px 24px}\n"], dependencies: [{ kind: "ngmodule", type: CuiAccordionModule }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: CuiEditorBlockComponent, selector: "cui-editor-block", inputs: ["title", "editorId", "config", "required"], outputs: ["editorEmpty"] }, { kind: "ngmodule", type: CuiFormFieldModule }, { kind: "component", type: i1.CuiFormFieldComponent, selector: "cui-form-field" }, { kind: "component", type: CuiGeneralControlErrorHintComponent, selector: "cui-general-control-error-hint", inputs: ["control", "isVisible"] }, { kind: "ngmodule", type: CuiHintModule }, { kind: "ngmodule", type: CuiInputModule }, { kind: "component", type: i2.CuiInputTextComponent, selector: "cui-input-text" }, { kind: "directive", type: i3.CuiTextFieldIdDirective, selector: "[cuiTextFieldId]", inputs: ["cuiTextFieldId"] }, { kind: "directive", type: i4.CuiTextFieldPlaceholderDirective, selector: "[cuiTextFieldPlaceholder]", inputs: ["cuiTextFieldPlaceholder"] }, { kind: "directive", type: i5.CuiTextFieldIsErrorDirective, selector: "[cuiTextFieldIsError]", inputs: ["cuiTextFieldIsError"] }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "component", type: i6.CuiLabelComponent, selector: "label[cuiLabel]", inputs: ["isRequired"] }, { kind: "component", type: CuiUtilityThumbnailComponent, selector: "cui-utility-thumbnail", inputs: ["thumbnail", "framerId", "baseResourceUrl"], outputs: ["thumbnailChange"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
136
- }
137
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiInstructionInfoFormComponent, decorators: [{
138
- type: Component,
139
- args: [{ selector: 'cui-instruction-info-form', imports: [
140
- CuiAccordionModule,
141
- CuiButtonModule,
142
- CuiEditorBlockComponent,
143
- CuiFormFieldModule,
144
- CuiGeneralControlErrorHintComponent,
145
- CuiHintModule,
146
- CuiInputModule,
147
- CuiLabelModule,
148
- CuiUtilityThumbnailComponent,
149
- ReactiveFormsModule,
150
- TranslocoDirective
151
- ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n <section class=\"content\">\n <cui-form-field>\n <label\n cuiLabel\n [isRequired]=\"true\"\n [for]=\"titleId\"\n >\n {{ t('TITLE') }}\n </label>\n\n <cui-input-text\n [cuiTextFieldId]=\"titleId\"\n [cuiTextFieldPlaceholder]=\"t('ADD_A_TITLE')\"\n [cuiTextFieldIsError]=\"isTitleError\"\n [formControl]=\"form.controls.title\"\n />\n\n @if (isTitleError) {\n <cui-general-control-error-hint\n [control]=\"form.controls.title\"\n [isVisible]=\"true\"\n />\n }\n </cui-form-field>\n\n <cui-form-field>\n <label\n cuiLabel\n [isRequired]=\"true\"\n [for]=\"descriptionId\"\n >\n {{ t('SHORT_DESCRIPTION') }}\n </label>\n\n <cui-input-text\n [cuiTextFieldId]=\"descriptionId\"\n cuiTextFieldPlaceholder=\"{{ t('SHORT_DESCRIPTION') }}...\"\n [cuiTextFieldIsError]=\"isDescriptionError\"\n [formControl]=\"form.controls.description\"\n />\n\n @if (isDescriptionError) {\n <cui-general-control-error-hint\n [control]=\"form.controls.description\"\n [isVisible]=\"true\"\n />\n }\n </cui-form-field>\n\n <cui-utility-thumbnail\n [baseResourceUrl]=\"baseResourceUrl()\"\n [framerId]=\"framerId()\"\n [(thumbnail)]=\"thumbnail\"\n />\n\n @if (editorId(); as editorId) {\n <cui-editor-block\n [title]=\"form.controls.title.value || title()\"\n [config]=\"config()\"\n [editorId]=\"editorId\"\n [required]=\"true\"\n class=\"editor\"\n (editorEmpty)=\"onEditorEmpty($event)\"\n />\n }\n </section>\n</ng-container>\n", styles: ["::ng-deep cui-dialog:has(.instruction-description-modal){inset:0;margin:auto;transform:none!important}:host{--editor-height: 650px;display:block}:host .editor{--max-editor-height: var(--editor-height)}.content{display:flex;flex-direction:column;gap:16px;padding:16px 24px}\n"] }]
152
- }], ctorParameters: () => [] });
153
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdHJ1Y3Rpb24taW5mby1mb3JtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9pbnN0cnVjdGlvbi1pbmZvLWZvcm0vaW5zdHJ1Y3Rpb24taW5mby1mb3JtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9pbnN0cnVjdGlvbi1pbmZvLWZvcm0v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VbnRpbERlc3Ryb3llZCh0aGlzLmRlc3Ryb3kpLFxuICAgICAgICAgICAgICAgIHN0YXJ0V2l0aCh0aGlzLmZvcm0udmFsdWUpLFxuICAgICAgICAgICAgICAgIHBhaXJ3aXNlKCksXG4gICAgICAgICAgICAgICAgZGVib3VuY2VUaW1lKHRoaXMuQ09OVFJPTF9ERUxBWSksXG4gICAgICAgICAgICAgICAgbWFwKChbcHJldiwgY3VycmVudF0pID0+IHRoaXMuY29tcGFyZUZvcm1WYWx1ZXMoW3ByZXYsIGN1cnJlbnRdKSlcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKHZhbHVlKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFPYmplY3Qua2V5cyh2YWx1ZSkubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICB0aGlzLmZvcm1DaGFuZ2VkLmVtaXQodmFsdWUpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBpbml0RnJhbWVGcmFnbWVudHMoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGZyYW1lSWQgPSB0aGlzLmZyYW1lcklkKCk7XG5cbiAgICAgICAgaWYgKCFmcmFtZUlkKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmZyYW1lQXBpU2VydmljZS5nZXRGcmFtZShmcmFtZUlkKS5zdWJzY3JpYmUoKGZyYW1lKSA9PiB7XG4gICAgICAgICAgICBmcmFtZS5mcmFnbWVudHMuZm9yRWFjaCgoZnJhZ21lbnQpID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoZnJhZ21lbnQudHlwZSA9PT0gRnJhZ21lbnRUeXBlLmpUZXh0KSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuZWRpdG9ySWQuc2V0KGZyYWdtZW50Py5pZCk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaWYgKGZyYWdtZW50LnR5cGUgPT09IEZyYWdtZW50VHlwZS5yZXNvdXJjZUZpbGUpIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5zZXRSZXNvdXJjZUZpbGUoZnJhZ21lbnQgYXMgUmVzb3VyY2VGcmFnbWVudCk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIHByaXZhdGUgY29tcGFyZUZvcm1WYWx1ZXMoW1xuICAgICAgICBwcmV2R3JvdXAsXG4gICAgICAgIGN1cnJlbnRHcnVvcFxuICAgIF06IFBhcnRpYWw8Q3VpSW5zdHJ1Y3Rpb25Gb3JtVmFsdWVzPltdKTogUGFydGlhbDxDdWlJbnN0cnVjdGlvbkZvcm1WYWx1ZXM+IHtcbiAgICAgICAgY29uc3Qga2V5cyA9IE9iamVjdC5rZXlzKGN1cnJlbnRHcnVvcCkgYXMgKGtleW9mIEN1aUluc3RydWN0aW9uRm9ybVZhbHVlcylbXTtcbiAgICAgICAgY29uc3QgY2hhbmdlZEZpZWxkczogUmVjb3JkPHN0cmluZywgdW5rbm93bj4gPSB7fTtcblxuICAgICAgICBrZXlzLmZvckVhY2goKGtleSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgcHJldiA9IHByZXZHcm91cFtrZXldO1xuICAgICAgICAgICAgY29uc3QgY3VycmVudCA9IGN1cnJlbnRHcnVvcFtrZXldO1xuXG4gICAgICAgICAgICBpZiAocHJldiA9PT0gY3VycmVudCB8fCB0aGlzLmNvbnRyb2xzW2tleV0uaW52YWxpZCkge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgY2hhbmdlZEZpZWxkc1trZXldID0gY3VycmVudDtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgcmV0dXJuIGNoYW5nZWRGaWVsZHM7XG4gICA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iPlxuICAgICAgICA8Y3VpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgICAgICBjdWlMYWJlbFxuICAgICAgICAgICAgICAgIFtpc1JlcXVpcmVkXT1cInRydWVcIlxuICAgICAgICAgICAgICAgIFtmb3JdPVwidGl0bGVJZFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgdCgnVElUTEUnKSB9fVxuICAgICAgICAgICAgPC9sYWJlbD5cblxuICAgICAgICAgICAgPGN1aS1pbnB1dC10ZXh0XG4gICAgICAgICAgICAgICAgW2N1aVRleHRGaWVsZElkXT1cInRpdGxlSWRcIlxuICAgICAgICAgICAgICAgIFtjdWlUZXh0RmllbGRQbGFjZWhvbGRlcl09XCJ0KCdBRERfQV9USVRMRScpXCJcbiAgICAgICAgICAgICAgICBbY3VpVGV4dEZpZWxkSXNFcnJvcl09XCJpc1RpdGxlRXJyb3JcIlxuICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtLmNvbnRyb2xzLnRpdGxlXCJcbiAgICAgICAgICAgIC8+XG5cbiAgICAgICAgICAgIEBpZiAoaXNUaXRsZUVycm9yKSB7XG4gICAgICAgICAgICAgICAgPGN1aS1nZW5lcmFsLWNvbnRyb2wtZXJyb3ItaGludFxuICAgICAgICAgICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmNvbnRyb2xzLnRpdGxlXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzVmlzaWJsZV09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L2N1aS1mb3JtLWZpZWxkPlxuXG4gICAgICAgIDxjdWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgIDxsYWJlbFxuICAgICAgICAgICAgICAgIGN1aUxhYmVsXG4gICAgICAgICAgICAgICAgW2lzUmVxdWlyZWRdPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgW2Zvcl09XCJkZXNjcmlwdGlvbklkXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICB7eyB0KCdTSE9SVF9ERVNDUklQVElPTicpIH19XG4gICAgICAgICAgICA8L2xhYmVsPlxuXG4gICAgICAgICAgICA8Y3VpLWlucHV0LXRleHRcbiAgICAgICAgICAgICAgICBbY3VpVGV4dEZpZWxkSWRdPVwiZGVzY3JpcHRpb25JZFwiXG4gICAgICAgICAgICAgICAgY3VpVGV4dEZpZWxkUGxhY2Vob2xkZXI9XCJ7eyB0KCdTSE9SVF9ERVNDUklQVElPTicpIH19Li4uXCJcbiAgICAgICAgICAgICAgICBbY3VpVGV4dEZpZWxkSXNFcnJvcl09XCJpc0Rlc2NyaXB0aW9uRXJyb3JcIlxuICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtLmNvbnRyb2xzLmRlc2NyaXB0aW9uXCJcbiAgICAgICAgICAgIC8+XG5cbiAgICAgICAgICAgIEBpZiAoaXNEZXNjcmlwdGlvbkVycm9yKSB7XG4gICAgICAgICAgICAgICAgPGN1aS1nZW5lcmFsLWNvbnRyb2wtZXJyb3ItaGludFxuICAgICAgICAgICAgICAgICAgICBbY29udHJvbF09XCJmb3JtLmNvbnRyb2xzLmRlc2NyaXB0aW9uXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzVmlzaWJsZV09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICA8L2N1aS1mb3JtLWZpZWxkPlxuXG4gICAgICAgIDxjdWktdXRpbGl0eS10aHVtYm5haWxcbiAgICAgICAgICAgIFtiYXNlUmVzb3VyY2VVcmxdPVwiYmFzZVJlc291cmNlVXJsKClcIlxuICAgICAgICAgICAgW2ZyYW1lcklkXT1cImZyYW1lcklkKClcIlxuICAgICAgICAgICAgWyh0aHVtYm5haWwpXT1cInRodW1ibmFpbFwiXG4gICAgICAgIC8+XG5cbiAgICAgICAgQGlmIChlZGl0b3JJZCgpOyBhcyBlZGl0b3JJZCkge1xuICAgICAgICAgICAgPGN1aS1lZGl0b3ItYmxvY2tcbiAgICAgICAgICAgICAgICBbdGl0bGVdPVwiZm9ybS5jb250cm9scy50aXRsZS52YWx1ZSB8fCB0aXRsZSgpXCJcbiAgICAgICAgICAgICAgICBbY29uZmlnXT1cImNvbmZpZygpXCJcbiAgICAgICAgICAgICAgICBbZWRpdG9ySWRdPVwiZWRpdG9ySWRcIlxuICAgICAgICAgICAgICAgIFtyZXF1aXJlZF09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICBjbGFzcz1cImVkaXRvclwiXG4gICAgICAgICAgICAgICAgKGVkaXRvckVtcHR5KT1cIm9uRWRpdG9yRW1wdHkoJGV2ZW50KVwiXG4gICAgICAgICAgICAvPlxuICAgICAgICB9XG4gICAgPC9zZWN0aW9uPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdHJ1Y3Rpb24taW5mby1mb3JtLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvaW5zdHJ1Y3Rpb24taW5mby1mb3JtL2luc3RydWN0aW9uLWluZm8tZm9ybS5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IEZvcm1Db250cm9sIH0gZnJvbSAnQGFuZ3VsYXIvZm9ybXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEN1aUluc3RydWN0aW9uRm9ybUdyb3VwIHtcbiAgICByZWFkb25seSB0aXRsZTogRm9ybUNvbnRyb2w8c3RyaW5nPjtcbiAgICByZWFkb25seSBkZXNjcmlwdGlvbjogRm9ybUNvbnRyb2w8c3RyaW5nPjtcbn1cblxuZXhwb3J0IGludGVyZmFjZSBDdWlJbnN0cnVjdGlvbkZvcm1WYWx1ZXMge1xuICAgIHJlYWRvbmx5IHRpdGxlOiBzdHJpbmc7XG4gICAgcmVhZG9ubHkgZGVzY3JpcHRpb246IHN0cmluZztcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export { CuiInstructionReadonlyInfoComponent } from './instruction-readonly-info.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvaW5zdHJ1Y3Rpb24tcmVhZG9ubHktaW5mby9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsbUNBQW1DLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aUluc3RydWN0aW9uUmVhZG9ubHlJbmZvQ29tcG9uZW50IH0gZnJvbSAnLi9pbnN0cnVjdGlvbi1yZWFkb25seS1pbmZvLmNvbXBvbmVudCc7XG4iXX0=
@@ -1,72 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, computed, effect, ElementRef, inject, input, signal } from '@angular/core';
2
- import { TranslocoDirective } from '@jsverse/transloco';
3
- import { CuiFrameApiService } from '@cuby-ui/api';
4
- import { CuiEditorComponent } from '../../../editor';
5
- import { CuiUtilityReadonlyThumbnailComponent } from '../utility-readonly-thumbnail';
6
- import { CuiEmptyStateComponent } from '../../../components';
7
- import * as i0 from "@angular/core";
8
- export class CuiInstructionReadonlyInfoComponent {
9
- constructor() {
10
- this.hostElement = inject(ElementRef).nativeElement;
11
- this.frameApiService = inject(CuiFrameApiService);
12
- this.isVideo = false;
13
- this.jText = signal(null);
14
- this.thumbnailUrl = signal(null);
15
- this.isDescriptionEmpty = computed(() => !this.jText()?.notEmpty);
16
- this.framerId = input.required();
17
- this.element = input(this.hostElement);
18
- this.tools = input.required();
19
- this.editorResourceUrl = input.required();
20
- this.initConfigEffect();
21
- this.initFramerIdEffect();
22
- }
23
- initConfigEffect() {
24
- effect(() => {
25
- this.editorConfig = { readOnly: true, tools: this.tools(), element: this.element() };
26
- });
27
- }
28
- initFramerIdEffect() {
29
- effect(() => {
30
- const framerId = this.framerId();
31
- if (!framerId) {
32
- return;
33
- }
34
- this.subscription?.unsubscribe();
35
- this.initFrameFragments();
36
- });
37
- }
38
- initFrameFragments() {
39
- const frameId = this.framerId();
40
- this.jText.set(null);
41
- this.thumbnailUrl.set(null);
42
- if (!frameId) {
43
- return;
44
- }
45
- const fragmentActions = {
46
- ["J_TEXT" /* FragmentType.jText */]: (fragment) => {
47
- this.jText.set(fragment);
48
- },
49
- ["RESOURCE_FILE" /* FragmentType.resourceFile */]: (fragment) => {
50
- this.setResourceFile(fragment);
51
- }
52
- };
53
- this.subscription = this.frameApiService.getFrame(frameId).subscribe((frame) => {
54
- frame.fragments.forEach((fragment) => fragmentActions[fragment.type](fragment));
55
- });
56
- }
57
- setResourceFile(resource) {
58
- const url = `${this.editorResourceUrl()}${resource.fileId}`;
59
- this.isVideo = resource?.name?.split('.').pop() === 'mp4';
60
- if (!url) {
61
- return;
62
- }
63
- this.thumbnailUrl.set({ src: resource.fileId && url, name: resource.name || resource.type });
64
- }
65
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiInstructionReadonlyInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
66
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiInstructionReadonlyInfoComponent, isStandalone: true, selector: "cui-instruction-readonly-info", inputs: { framerId: { classPropertyName: "framerId", publicName: "framerId", isSignal: true, isRequired: true, transformFunction: null }, element: { classPropertyName: "element", publicName: "element", isSignal: true, isRequired: false, transformFunction: null }, tools: { classPropertyName: "tools", publicName: "tools", isSignal: true, isRequired: true, transformFunction: null }, editorResourceUrl: { classPropertyName: "editorResourceUrl", publicName: "editorResourceUrl", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n @if (jText()) {\n @if (!isDescriptionEmpty()) {\n @if (thumbnailUrl(); as thumbnailUrl) {\n <cui-utility-readonly-thumbnail\n [thumbnailUrl]=\"thumbnailUrl\"\n [isVideo]=\"isVideo\"\n />\n }\n\n @if (jText()?.id; as id) {\n <div class=\"wrapper\">\n <cui-editor\n class=\"editor\"\n [editorApiId]=\"id\"\n [config]=\"editorConfig\"\n />\n </div>\n }\n } @else {\n <cui-empty-state [subtitle]=\"t('NO_DESCRIPTION_WAS_PROVIDED')\" />\n }\n }\n</ng-container>\n", styles: [":host{padding-top:16px;padding-right:16px;padding-left:16px;display:flex;flex-direction:column;gap:12px;height:100%;overflow:auto}.wrapper{padding:12px}.editor{display:block;height:100%;overflow:auto}\n"], dependencies: [{ kind: "component", type: CuiEditorComponent, selector: "cui-editor", inputs: ["editorApiId", "config", "requestSize"], outputs: ["editorEmpty"] }, { kind: "component", type: CuiEmptyStateComponent, selector: "cui-empty-state, [cuiEmptyState]", inputs: ["title", "subtitle"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: CuiUtilityReadonlyThumbnailComponent, selector: "cui-utility-readonly-thumbnail", inputs: ["thumbnailUrl", "isVideo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
67
- }
68
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiInstructionReadonlyInfoComponent, decorators: [{
69
- type: Component,
70
- args: [{ selector: 'cui-instruction-readonly-info', imports: [CuiEditorComponent, CuiEmptyStateComponent, TranslocoDirective, CuiUtilityReadonlyThumbnailComponent], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n @if (jText()) {\n @if (!isDescriptionEmpty()) {\n @if (thumbnailUrl(); as thumbnailUrl) {\n <cui-utility-readonly-thumbnail\n [thumbnailUrl]=\"thumbnailUrl\"\n [isVideo]=\"isVideo\"\n />\n }\n\n @if (jText()?.id; as id) {\n <div class=\"wrapper\">\n <cui-editor\n class=\"editor\"\n [editorApiId]=\"id\"\n [config]=\"editorConfig\"\n />\n </div>\n }\n } @else {\n <cui-empty-state [subtitle]=\"t('NO_DESCRIPTION_WAS_PROVIDED')\" />\n }\n }\n</ng-container>\n", styles: [":host{padding-top:16px;padding-right:16px;padding-left:16px;display:flex;flex-direction:column;gap:12px;height:100%;overflow:auto}.wrapper{padding:12px}.editor{display:block;height:100%;overflow:auto}\n"] }]
71
- }], ctorParameters: () => [] });
72
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5zdHJ1Y3Rpb24tcmVhZG9ubHktaW5mby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvaW5zdHJ1Y3Rpb24tcmVhZG9ubHktaW5mby9pbnN0cnVjdGlvbi1yZWFkb25seS1pbmZvLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9pbnN0cnVjdGlvbi1yZWFkb25seS1pbmZvL2luc3RydWN0aW9uLXJlYWRvbmx5LWluZm8uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxRQUFRLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxNQUF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zKCksIGVsZW1lbnQ6IHRoaXMuZWxlbWVudCgpIH07XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIHByaXZhdGUgaW5pdEZyYW1lcklkRWZmZWN0KCk6IHZvaWQge1xuICAgICAgICBlZmZlY3QoKCkgPT4ge1xuICAgICAgICAgICAgY29uc3QgZnJhbWVySWQgPSB0aGlzLmZyYW1lcklkKCk7XG5cbiAgICAgICAgICAgIGlmICghZnJhbWVySWQpIHtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHRoaXMuc3Vic2NyaXB0aW9uPy51bnN1YnNjcmliZSgpO1xuICAgICAgICAgICAgdGhpcy5pbml0RnJhbWVGcmFnbWVudHMoKTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBpbml0RnJhbWVGcmFnbWVudHMoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGZyYW1lSWQgPSB0aGlzLmZyYW1lcklkKCk7XG5cbiAgICAgICAgdGhpcy5qVGV4dC5zZXQobnVsbCk7XG4gICAgICAgIHRoaXMudGh1bWJuYWlsVXJsLnNldChudWxsKTtcblxuICAgICAgICBpZiAoIWZyYW1lSWQpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IGZyYWdtZW50QWN0aW9ucyA9IHtcbiAgICAgICAgICAgIFtGcmFnbWVudFR5cGUualRleHRdOiAoZnJhZ21lbnQ6IEZyYWdtZW50KTogdm9pZCA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5qVGV4dC5zZXQoZnJhZ21lbnQgYXMgSlRleHRGcmFnbWVudCk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgW0ZyYWdtZW50VHlwZS5yZXNvdXJjZUZpbGVdOiAoZnJhZ21lbnQ6IEZyYWdtZW50KTogdm9pZCA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5zZXRSZXNvdXJj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ktdGh1bWJuYWlsXG4gICAgICAgICAgICAgICAgICAgIFt0aHVtYm5haWxVcmxdPVwidGh1bWJuYWlsVXJsXCJcbiAgICAgICAgICAgICAgICAgICAgW2lzVmlkZW9dPVwiaXNWaWRlb1wiXG4gICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgQGlmIChqVGV4dCgpPy5pZDsgYXMgaWQpIHtcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwid3JhcHBlclwiPlxuICAgICAgICAgICAgICAgICAgICA8Y3VpLWVkaXRvclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJlZGl0b3JcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2VkaXRvckFwaUlkXT1cImlkXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtjb25maWddPVwiZWRpdG9yQ29uZmlnXCJcbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgfSBAZWxzZSB7XG4gICAgICAgICAgICA8Y3VpLWVtcHR5LXN0YXRlIFtzdWJ0aXRsZV09XCJ0KCdOT19ERVNDUklQVElPTl9XQVNfUFJPVklERUQnKVwiIC8+XG4gICAgICAgIH1cbiAgICB9XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export { CuiLinearLoaderComponent } from './linear-loader.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvbGluZWFyLWxvYWRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aUxpbmVhckxvYWRlckNvbXBvbmVudCB9IGZyb20gJy4vbGluZWFyLWxvYWRlci5jb21wb25lbnQnO1xuIl19
@@ -1,11 +0,0 @@
1
- import { ChangeDetectionStrategy, Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CuiLinearLoaderComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiLinearLoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CuiLinearLoaderComponent, isStandalone: true, selector: "cui-linear-loader", ngImport: i0, template: "<div class=\"loader\"></div>\n", styles: [":host{display:block;position:relative;width:100%;height:4px;overflow:hidden}.loader{animation:loader-move 15s linear infinite;position:absolute;right:0;width:200%;height:100%;border:none;transform:skew(-60deg);background:repeating-linear-gradient(to right,var(--cui-blue-500) 0px,var(--cui-blue-500) 7px,transparent 7px,transparent 14px);background-size:14px 100%}@media (max-width: 1440px){.loader{animation-duration:10s}}@media (max-width: 1024px){.loader{animation-duration:8s}}@media (max-width: 768px){.loader{animation-duration:5s}}@keyframes loader-move{0%{background-position:0 0}to{background-position:100% 0}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiLinearLoaderComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'cui-linear-loader', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"loader\"></div>\n", styles: [":host{display:block;position:relative;width:100%;height:4px;overflow:hidden}.loader{animation:loader-move 15s linear infinite;position:absolute;right:0;width:200%;height:100%;border:none;transform:skew(-60deg);background:repeating-linear-gradient(to right,var(--cui-blue-500) 0px,var(--cui-blue-500) 7px,transparent 7px,transparent 14px);background-size:14px 100%}@media (max-width: 1440px){.loader{animation-duration:10s}}@media (max-width: 1024px){.loader{animation-duration:8s}}@media (max-width: 768px){.loader{animation-duration:5s}}@keyframes loader-move{0%{background-position:0 0}to{background-position:100% 0}}\n"] }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluZWFyLWxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvbGluZWFyLWxvYWRlci9saW5lYXItbG9hZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9saW5lYXItbG9hZGVyL2xpbmVhci1sb2FkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFTbkUsTUFBTSxPQUFPLHdCQUF3QjsrR0FBeEIsd0JBQXdCO21HQUF4Qix3QkFBd0IsNkVDVHJDLGdDQUNBOzs0RkRRYSx3QkFBd0I7a0JBUHBDLFNBQVM7K0JBQ0ksbUJBQW1CLGNBQ2pCLElBQUksbUJBR0MsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICdjdWktbGluZWFyLWxvYWRlcicsXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcbiAgICB0ZW1wbGF0ZVVybDogJy4vbGluZWFyLWxvYWRlci5jb21wb25lbnQuaHRtbCcsXG4gICAgc3R5bGVVcmw6ICcuL2xpbmVhci1sb2FkZXIuY29tcG9uZW50LnNjc3MnLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEN1aUxpbmVhckxvYWRlckNvbXBvbmVudCB7fVxuIiwiPGRpdiBjbGFzcz1cImxvYWRlclwiPjwvZGl2PlxuIl19
@@ -1,2 +0,0 @@
1
- export { ModalCriteriaTabComponent } from './modal-criteria-tab.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvbW9kYWwtY3JpdGVyaWEtdGFiL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgTW9kYWxDcml0ZXJpYVRhYkNvbXBvbmVudCB9IGZyb20gJy4vbW9kYWwtY3JpdGVyaWEtdGFiLmNvbXBvbmVudCc7XG4iXX0=