@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,33 +0,0 @@
1
- import { Component, inject, input, signal } from '@angular/core';
2
- import { CuiEmptyStateComponent } from '../../../components';
3
- import { TranslocoDirective } from '@jsverse/transloco';
4
- import { UtilityApiService } from '@cuby-ui/api';
5
- import { CUI_UTILITY_SERVICE_TOKEN } from '../../model';
6
- import { ResourcesBlockTabsComponent } from '../resources-block-tabs';
7
- import * as i0 from "@angular/core";
8
- export class ModalResourcesTabComponent {
9
- constructor() {
10
- this.utilityApiService = inject(UtilityApiService);
11
- this.utilityService = inject(CUI_UTILITY_SERVICE_TOKEN);
12
- this.isLoaded = signal(false);
13
- this.utilityComponentWithResources = this.utilityService.resourcesComponent;
14
- this.utilityId = input.required();
15
- }
16
- ngOnInit() {
17
- this.initResources();
18
- }
19
- initResources() {
20
- this.utilityApiService.getById(this.utilityId()).subscribe((utility) => {
21
- this.isLoaded.set(true);
22
- const utilityComponentWithResources = utility.components.find((utilityComponent) => utilityComponent.componentType === "RESOURCES" /* UtilityComponentType.Resources */) ?? null;
23
- this.utilityService.setComponent(utilityComponentWithResources);
24
- });
25
- }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ModalResourcesTabComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
27
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ModalResourcesTabComponent, isStandalone: true, selector: "cui-modal-resources-tab", inputs: { utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n @if (isLoaded()) {\n @if (utilityComponentWithResources(); as utilityComponentWithResources) {\n <cui-resources-block-tabs\n [resourceComponent]=\"utilityComponentWithResources\"\n [utilityId]=\"utilityId()\"\n [buttonSlot]=\"button\"\n [readonly]=\"true\"\n />\n <ng-template #button />\n } @else {\n <cui-empty-state [subtitle]=\"t('NO_RESOURCES_TO_VIEW_YET')\" />\n }\n }\n</ng-container>\n", styles: [":host{padding:15px 24px 16px;display:flex;flex-direction:column;min-height:100%}\n"], dependencies: [{ 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: ResourcesBlockTabsComponent, selector: "cui-resources-block-tabs", inputs: ["resourceComponent", "utilityId", "buttonSlot", "readonly", "selectedIndex"], outputs: ["resourceAdded", "resourceDeleted", "selectedIndexChange"] }] }); }
28
- }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ModalResourcesTabComponent, decorators: [{
30
- type: Component,
31
- args: [{ selector: 'cui-modal-resources-tab', standalone: true, imports: [CuiEmptyStateComponent, TranslocoDirective, ResourcesBlockTabsComponent], template: "<ng-container *transloco=\"let t\">\n @if (isLoaded()) {\n @if (utilityComponentWithResources(); as utilityComponentWithResources) {\n <cui-resources-block-tabs\n [resourceComponent]=\"utilityComponentWithResources\"\n [utilityId]=\"utilityId()\"\n [buttonSlot]=\"button\"\n [readonly]=\"true\"\n />\n <ng-template #button />\n } @else {\n <cui-empty-state [subtitle]=\"t('NO_RESOURCES_TO_VIEW_YET')\" />\n }\n }\n</ng-container>\n", styles: [":host{padding:15px 24px 16px;display:flex;flex-direction:column;min-height:100%}\n"] }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtcmVzb3VyY2VzLXRhYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIi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b21wb25lbnRXaXRoUmVzb3VyY2VzKCk7IGFzIHV0aWxpdHlDb21wb25lbnRXaXRoUmVzb3VyY2VzKSB7XG4gICAgICAgICAgICA8Y3VpLXJlc291cmNlcy1ibG9jay10YWJzXG4gICAgICAgICAgICAgICAgW3Jlc291cmNlQ29tcG9uZW50XT1cInV0aWxpdHlDb21wb25lbnRXaXRoUmVzb3VyY2VzXCJcbiAgICAgICAgICAgICAgICBbdXRpbGl0eUlkXT1cInV0aWxpdHlJZCgpXCJcbiAgICAgICAgICAgICAgICBbYnV0dG9uU2xvdF09XCJidXR0b25cIlxuICAgICAgICAgICAgICAgIFtyZWFkb25seV09XCJ0cnVlXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8bmctdGVtcGxhdGUgI2J1dHRvbiAvPlxuICAgICAgICB9IEBlbHNlIHtcbiAgICAgICAgICAgIDxjdWktZW1wdHktc3RhdGUgW3N1YnRpdGxlXT1cInQoJ05PX1JFU09VUkNFU19UT19WSUVXX1lFVCcpXCIgLz5cbiAgICAgICAgfVxuICAgIH1cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -1,3 +0,0 @@
1
- export { RenderDynamicModalComponent } from './render-dynamic-modal.component';
2
- export * from './render-dynamic-modal.option';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVuZGVyLWR5bmFtaWMtbW9kYWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUFDL0UsY0FBYywrQkFBK0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFJlbmRlckR5bmFtaWNNb2RhbENvbXBvbmVudCB9IGZyb20gJy4vcmVuZGVyLWR5bmFtaWMtbW9kYWwuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vcmVuZGVyLWR5bmFtaWMtbW9kYWwub3B0aW9uJztcbiJdfQ==
@@ -1,29 +0,0 @@
1
- import { Component, HostBinding, inject } from '@angular/core';
2
- import { CUI_DIALOG_CONTEXT, CuiRenderDynamicComponentsComponent, CuiRenderDynamicComponentsService } from '../../../components';
3
- import * as i0 from "@angular/core";
4
- export class RenderDynamicModalComponent {
5
- constructor() {
6
- this.cuiDialogContext = inject(CUI_DIALOG_CONTEXT);
7
- this.renderDynamicComponentsService = inject(CuiRenderDynamicComponentsService);
8
- }
9
- get size() {
10
- return this.cuiDialogContext.size;
11
- }
12
- ngOnInit() {
13
- this.initParentParentOfModal();
14
- }
15
- initParentParentOfModal() {
16
- const { component, inputs } = this.cuiDialogContext.data;
17
- this.renderDynamicComponentsService.open({ component, inputs });
18
- }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RenderDynamicModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
20
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: RenderDynamicModalComponent, isStandalone: true, selector: "cui-render-dynamic-modal", host: { properties: { "attr.data-size": "this.size" } }, ngImport: i0, template: "<div class=\"wrapper\">\n <cui-render-dynamic-components />\n</div>\n", styles: [".wrapper{display:flex;flex-direction:column;overflow:hidden}:host[data-size=auto] .wrapper{height:auto}:host[data-size=sm] .wrapper{height:578px}:host[data-size=xl] .wrapper{height:916px}\n"], dependencies: [{ kind: "component", type: CuiRenderDynamicComponentsComponent, selector: "cui-render-dynamic-components" }] }); }
21
- }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: RenderDynamicModalComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'cui-render-dynamic-modal', standalone: true, imports: [CuiRenderDynamicComponentsComponent], template: "<div class=\"wrapper\">\n <cui-render-dynamic-components />\n</div>\n", styles: [".wrapper{display:flex;flex-direction:column;overflow:hidden}:host[data-size=auto] .wrapper{height:auto}:host[data-size=sm] .wrapper{height:578px}:host[data-size=xl] .wrapper{height:916px}\n"] }]
25
- }], propDecorators: { size: [{
26
- type: HostBinding,
27
- args: ['attr.data-size']
28
- }] } });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWR5bmFtaWMtbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3JlbmRlci1keW5hbWljLW1vZGFsL3JlbmRlci1keW5hbWljLW1vZGFsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZW5kZXItZHluYW1pYy1tb2RhbC9yZW5kZXItZHluYW1pYy1tb2RhbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDL0QsT0FBTyxFQUNILGtCQUFrQixFQUdsQixtQ0FBbUMsRUFDbkMsaUNBQWlDLEVBQ3BDLE1BQU0scUJBQXFCLENBQUM7O0FBVTdCLE1BQU0sT0FBTywyQkFBMkI7SUFQeEM7UUFRcUIscUJBQWdCLEdBQUcsTUFBTSxDQUFvRCxrQkFBa0IsQ0FBQyxDQUFDO1FBQ2pHLG1DQUE4QixHQUFHLE1BQU0sQ0FBQyxpQ0FBaUMsQ0FBQyxDQUFDO0tBZ0IvRjtJQWRHLElBQ2MsSUFBSTtRQUNkLE9BQU8sSUFBSSxDQUFDLGdC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iAgICAgICAgdGhpcy5yZW5kZXJEeW5hbWljQ29tcG9uZW50c1NlcnZpY2Uub3Blbih7IGNvbXBvbmVudCwgaW5wdXRzIH0pO1xuICAgIH1cbn1cbiIsIjxkaXYgY2xhc3M9XCJ3cmFwcGVyXCI+XG4gICAgPGN1aS1yZW5kZXItZHluYW1pYy1jb21wb25lbnRzIC8+XG48L2Rpdj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVuZGVyLWR5bmFtaWMtbW9kYWwub3B0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3JlbmRlci1keW5hbWljLW1vZGFsL3JlbmRlci1keW5hbWljLW1vZGFsLm9wdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBUeXBlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgQ3VpUmVuZGVyRHluYW1pY01vZGFsRGlhbG9nRGF0YSB7XG4gICAgY29tcG9uZW50OiBUeXBlPHVua25vd24+O1xuICAgIGlucHV0czogUmVjb3JkPHN0cmluZywgdW5rbm93bj47XG59XG4iXX0=
@@ -1,4 +0,0 @@
1
- export { ResourcesBlockPartComponent } from './resources-block-part';
2
- export { ResourcesBlockTabsComponent } from './resources-block-tabs';
3
- export { ResourcesOptionsComponent } from './resources-options';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDckUsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFFckUsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0scUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSB7IFJlc291cmNlVXRpbGl0eU1hdGVyaWFsIH0gZnJvbSAnLi9yZXNvdXJjZXMtYmxvY2stY29uc3VtYWJsZXMnO1xuZXhwb3J0IHsgUmVzb3VyY2VzQmxvY2tQYXJ0Q29tcG9uZW50IH0gZnJvbSAnLi9yZXNvdXJjZXMtYmxvY2stcGFydCc7XG5leHBvcnQgeyBSZXNvdXJjZXNCbG9ja1RhYnNDb21wb25lbnQgfSBmcm9tICcuL3Jlc291cmNlcy1ibG9jay10YWJzJztcbmV4cG9ydCB0eXBlIHsgUmVzb3VyY2VVdGlsaXR5VG9vbCB9IGZyb20gJy4vcmVzb3VyY2VzLWJsb2NrLXRvb2xib3gnO1xuZXhwb3J0IHsgUmVzb3VyY2VzT3B0aW9uc0NvbXBvbmVudCB9IGZyb20gJy4vcmVzb3VyY2VzLW9wdGlvbnMnO1xuIl19
@@ -1,2 +0,0 @@
1
- export { ResourcesBlockConsumablesComponent } from './resources-block-consumables.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLWJsb2NrLWNvbnN1bWFibGVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQ0FBa0MsRUFBRSxNQUFNLHlDQUF5QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgUmVzb3VyY2VzQmxvY2tDb25zdW1hYmxlc0NvbXBvbmVudCB9IGZyb20gJy4vcmVzb3VyY2VzLWJsb2NrLWNvbnN1bWFibGVzLmNvbXBvbmVudCc7XG5leHBvcnQgdHlwZSB7IFJlc291cmNlVXRpbGl0eU1hdGVyaWFsIH0gZnJvbSAnLi9yZXNvdXJjZXMtYmxvY2stY29uc3VtYWJsZXMub3B0aW9ucyc7XG4iXX0=
@@ -1,53 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, effect, inject, input } from '@angular/core';
2
- import { EMPTY, map } from 'rxjs';
3
- import { ConsumableFormComponent } from '../../../consumable-form';
4
- import { CuiFactoryApiService } from '@cuby-ui/api';
5
- import { CUI_UTILITY_SERVICE_TOKEN } from '../../../../model';
6
- import * as i0 from "@angular/core";
7
- export class ResourcesBlockConsumablesComponent {
8
- constructor() {
9
- this.factoryApiService = inject(CuiFactoryApiService);
10
- this.utilityService = inject(CUI_UTILITY_SERVICE_TOKEN);
11
- this.utilityId = input.required();
12
- this.containerId = input.required();
13
- this.elements = input.required();
14
- this.readonly = input(false);
15
- this.initConsumablesStructure();
16
- }
17
- onConsumableChanged(consumable) {
18
- this.utilityService.updateResource(consumable, this.containerId());
19
- }
20
- onConsumableDeleted(consumableId) {
21
- this.utilityService.removeResource(consumableId, this.containerId());
22
- }
23
- initConsumablesStructure() {
24
- const effectRef = effect(() => {
25
- const materials = this.elements();
26
- const areMaterialsWithFullInfo = materials.every((material) => material.name);
27
- if (areMaterialsWithFullInfo) {
28
- return;
29
- }
30
- this.getAddintionalResourceInfo(materials).subscribe((consumable) => {
31
- this.utilityService.updateResource(consumable, this.containerId());
32
- });
33
- effectRef.destroy();
34
- });
35
- }
36
- getAddintionalResourceInfo(resources) {
37
- if (!resources.length) {
38
- return EMPTY;
39
- }
40
- const ids = resources.map((resource) => resource.id);
41
- return this.factoryApiService.getMaterialsByIds(ids).pipe(map((factoryElement) => ({
42
- ...resources.find((resource) => factoryElement.id === resource.id),
43
- ...factoryElement
44
- })));
45
- }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockConsumablesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
47
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ResourcesBlockConsumablesComponent, isStandalone: true, selector: "cui-resources-block-consumables", inputs: { utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, containerId: { classPropertyName: "containerId", publicName: "containerId", isSignal: true, isRequired: true, transformFunction: null }, elements: { classPropertyName: "elements", publicName: "elements", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@for (consumable of elements(); track consumable.id) {\n <cui-consumable-form\n [utilityId]=\"utilityId()\"\n [consumable]=\"consumable\"\n [readonly]=\"readonly()\"\n (consumableChanged)=\"onConsumableChanged($event)\"\n (consumableDeleted)=\"onConsumableDeleted($event)\"\n />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:8px;width:100%}.table__toolbox{grid-template-columns:10fr 3fr 3fr 1fr}.table__toolbox_readonly{grid-template-columns:10fr 2fr 1.5fr}.custom{padding-right:4px;padding-left:4px}\n"], dependencies: [{ kind: "component", type: ConsumableFormComponent, selector: "cui-consumable-form", inputs: ["utilityId", "consumable", "readonly"], outputs: ["consumableChanged", "consumableDeleted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
48
- }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockConsumablesComponent, decorators: [{
50
- type: Component,
51
- args: [{ selector: 'cui-resources-block-consumables', imports: [ConsumableFormComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "@for (consumable of elements(); track consumable.id) {\n <cui-consumable-form\n [utilityId]=\"utilityId()\"\n [consumable]=\"consumable\"\n [readonly]=\"readonly()\"\n (consumableChanged)=\"onConsumableChanged($event)\"\n (consumableDeleted)=\"onConsumableDeleted($event)\"\n />\n}\n", styles: [":host{display:flex;flex-direction:column;gap:8px;width:100%}.table__toolbox{grid-template-columns:10fr 3fr 3fr 1fr}.table__toolbox_readonly{grid-template-columns:10fr 2fr 1.5fr}.custom{padding-right:4px;padding-left:4px}\n"] }]
52
- }], ctorParameters: () => [] });
53
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLWNvbnN1bWFibGVzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stY29uc3VtYWJsZXMvcmVzb3VyY2VzLWJsb2NrLWNvbnN1bWFibGVzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stY29uc3VtYWJsZXMvcmVzb3VyY2VzLWJsb2NrLWNvbnN1bWFibGVzLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFMUYs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AgICB9XG5cbiAgICBwcml2YXRlIGdldEFkZGludGlvbmFsUmVzb3VyY2VJbmZvKFxuICAgICAgICByZXNvdXJjZXM6IFV0aWxpdHlTdWJqZWN0W10gfCBSZXNvdXJjZVV0aWxpdHlNYXRlcmlhbFtdXG4gICAgKTogT2JzZXJ2YWJsZTxSZXNvdXJjZVV0aWxpdHlNYXRlcmlhbD4ge1xuICAgICAgICBpZiAoIXJlc291cmNlcy5sZW5ndGgpIHtcbiAgICAgICAgICAgIHJldHVybiBFTVBUWTtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IGlkcyA9IHJlc291cmNlcy5tYXAoKHJlc291cmNlKSA9PiByZXNvdXJjZS5pZCk7XG5cbiAgICAgICAgcmV0dXJuIHRoaXMuZmFjdG9yeUFwaVNlcnZpY2UuZ2V0TWF0ZXJpYWxzQnlJZHMoaWRzKS5waXBlKFxuICAgICAgICAgICAgbWFwKFxuICAgICAgICAgICAgICAgIChmYWN0b3J5RWxlbWVudCkgPT5cbiAgICAgICAgICAgICAgICAgICAgKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIC4uLnJlc291cmNlcy5maW5kKChyZXNvdXJjZSkgPT4gZmFjdG9yeUVsZW1lbnQuaWQgPT09IHJlc291cmNlLmlkKSxcbiAgICAgICAgICAgICAgICAgICAgICAgIC4uLmZhY3RvcnlFbGVtZW50XG4gICAgICAgICAgICAgICAgICAgIH0pIGFzIFJlc291cmNlVXRpbGl0eU1hdGVyaWFsXG4gICAgICAgICAgICApXG4gICAgICAgICk7XG4gICAgfVxufVxuIiwiQGZvciAoY29uc3VtYWJsZSBvZiBlbGVtZW50cygpOyB0cmFjayBjb25zdW1hYmxlLmlkKSB7XG4gICAgPGN1aS1jb25zdW1hYmxlLWZvcm1cbiAgICAgICAgW3V0aWxpdHlJZF09XCJ1dGlsaXR5SWQoKVwiXG4gICAgICAgIFtjb25zdW1hYmxlXT1cImNvbnN1bWFibGVcIlxuICAgICAgICBbcmVhZG9ubHldPV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ourcesBlockContentComponent } from './resources-block-content.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLWJsb2NrLWNvbnRlbnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBSZXNvdXJjZXNCbG9ja0NvbnRlbnRDb21wb25lbnQgfSBmcm9tICcuL3Jlc291cmNlcy1ibG9jay1jb250ZW50LmNvbXBvbmVudCc7XG4iXX0=
@@ -1,38 +0,0 @@
1
- import { TitleCasePipe } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, computed, inject, input, output, signal } from '@angular/core';
3
- import { SHARED_FACTORY_HTTP_OPTIONS } from '@cuby-ui/api';
4
- import { TranslocoDirective } from '@jsverse/transloco';
5
- import { CUI_SUBJECT_MODAL_SERVICE_TOKEN } from '../../../../model';
6
- import { CuiButtonModule, CuiEmptyStateComponent } from '../../../../../components';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "../../../../../components/button/button.component";
9
- export class ResourcesBlockContentComponent {
10
- constructor() {
11
- this.subjectModalBase = inject(CUI_SUBJECT_MODAL_SERVICE_TOKEN);
12
- this.config = SHARED_FACTORY_HTTP_OPTIONS;
13
- this.isLoading = signal(false);
14
- this.emptyState = computed(() => `NO_${this.type().toUpperCase()}_TO_VIEW_YET`);
15
- this.resourcesAdded = output();
16
- this.type = input.required();
17
- this.utilityId = input.required();
18
- this.empty = input(true);
19
- this.readonly = input(false);
20
- }
21
- onAddResource() {
22
- this.subjectModalBase.addResource(this.utilityId());
23
- }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ResourcesBlockContentComponent, isStandalone: true, selector: "cui-resources-block-content", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, empty: { classPropertyName: "empty", publicName: "empty", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resourcesAdded: "resourcesAdded" }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n @if (!empty()) {\n <ng-content />\n } @else {\n <cui-empty-state [subtitle]=\"t(emptyState())\" />\n }\n\n @if (!readonly()) {\n <button\n type=\"button\"\n cuiButton\n appearance=\"flat\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n (click)=\"onAddResource()\"\n >\n {{ t('ADD') }} {{ type() | titlecase }}\n </button>\n }\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;gap:8px;align-items:flex-start}\n"], dependencies: [{ kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "component", type: CuiEmptyStateComponent, selector: "cui-empty-state, [cuiEmptyState]", inputs: ["title", "subtitle"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i1.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockContentComponent, decorators: [{
28
- type: Component,
29
- args: [{ selector: 'cui-resources-block-content', imports: [
30
- TranslocoDirective,
31
- CuiEmptyStateComponent,
32
- CuiButtonModule,
33
- TitleCasePipe,
34
- CuiButtonModule,
35
- CuiEmptyStateComponent
36
- ], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-container *transloco=\"let t\">\n @if (!empty()) {\n <ng-content />\n } @else {\n <cui-empty-state [subtitle]=\"t(emptyState())\" />\n }\n\n @if (!readonly()) {\n <button\n type=\"button\"\n cuiButton\n appearance=\"flat\"\n size=\"xxs\"\n icon=\"cuiIconPlus\"\n (click)=\"onAddResource()\"\n >\n {{ t('ADD') }} {{ type() | titlecase }}\n </button>\n }\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;gap:8px;align-items:flex-start}\n"] }]
37
- }] });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3Jlc291cmNlcy1ibG9jay9jb21wb25lbnRzL3Jlc291cmNlcy1ibG9jay1jb250ZW50L3Jlc291cmNlcy1ibG9jay1jb250ZW50LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stY29udGVudC9yZXNvdXJjZXMtYmxvY2stY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEV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KClcIlxuICAgICAgICA+XG4gICAgICAgICAgICB7eyB0KCdBREQnKSB9fSB7eyB0eXBlKCkgfCB0aXRsZWNhc2UgfX1cbiAgICAgICAgPC9idXR0b24+XG4gICAgfVxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,2 +0,0 @@
1
- export { ResourcesBlockPartComponent } from './resources-block-part.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLWJsb2NrLXBhcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBSZXNvdXJjZXNCbG9ja1BhcnRDb21wb25lbnQgfSBmcm9tICcuL3Jlc291cmNlcy1ibG9jay1wYXJ0LmNvbXBvbmVudCc7XG4iXX0=
@@ -1,57 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, effect, inject, input } from '@angular/core';
2
- import { TranslocoDirective } from '@jsverse/transloco';
3
- import { EMPTY, map } from 'rxjs';
4
- import { ToolFormComponent } from '../../../toolbox-form';
5
- import { CuiFactoryApiService, ResourceContentType } from '@cuby-ui/api';
6
- import { CuiButtonModule } from '../../../../../components';
7
- import { CUI_UTILITY_SERVICE_TOKEN } from '../../../../model';
8
- import * as i0 from "@angular/core";
9
- export class ResourcesBlockPartComponent {
10
- constructor() {
11
- this.factoryApiService = inject(CuiFactoryApiService);
12
- this.utilityService = inject(CUI_UTILITY_SERVICE_TOKEN);
13
- this.utilityId = input.required();
14
- this.containerId = input.required();
15
- this.elements = input.required();
16
- this.readonly = input(false);
17
- this.ResourceContentType = ResourceContentType;
18
- this.initPartsStructure();
19
- }
20
- onPartChanged(part) {
21
- this.utilityService.updateResource(part, this.containerId());
22
- }
23
- onPartDeleted(partId) {
24
- this.utilityService.removeResource(partId, this.containerId());
25
- }
26
- initPartsStructure() {
27
- const effectRef = effect(() => {
28
- const parts = this.elements();
29
- const arePartsWithFullInfo = parts.every((part) => part.name);
30
- if (arePartsWithFullInfo) {
31
- return;
32
- }
33
- this.getAddintionalResourceInfo(parts).subscribe((part) => {
34
- this.utilityService.updateResource(part, this.containerId());
35
- });
36
- effectRef.destroy();
37
- });
38
- }
39
- getAddintionalResourceInfo(resources) {
40
- if (!resources.length) {
41
- return EMPTY;
42
- }
43
- const ids = resources.map((resource) => resource.id);
44
- return this.factoryApiService.getPartsByIdsStream(ids).pipe(map((factoryElement) => ({
45
- ...resources.find((resource) => factoryElement.id === resource.id),
46
- isDelete: factoryElement.isDelete,
47
- name: factoryElement.name
48
- })));
49
- }
50
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockPartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
51
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ResourcesBlockPartComponent, isStandalone: true, selector: "cui-resources-block-part", inputs: { utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, containerId: { classPropertyName: "containerId", publicName: "containerId", isSignal: true, isRequired: true, transformFunction: null }, elements: { classPropertyName: "elements", publicName: "elements", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<table\n *transloco=\"let t\"\n class=\"cc-table table\"\n [class.table_readonly]=\"readonly()\"\n>\n <thead class=\"cc-table__thead\">\n <tr class=\"cc-table__tr\">\n <th class=\"cc-table__th custom\">{{ t('TITLE') }}</th>\n <th class=\"cc-table__th custom\">{{ t('QUANTITY') }}</th>\n <th class=\"cc-table__th custom\">{{ t('UNIT') }}</th>\n </tr>\n </thead>\n <tbody class=\"cc-table__tbody\">\n @for (part of elements(); track part.id) {\n <tr class=\"cc-table__tr custom-row\">\n <cui-tool-form\n [tool]=\"part\"\n [utilityId]=\"utilityId()\"\n [readonly]=\"readonly()\"\n [resourceType]=\"ResourceContentType.Part\"\n (toolChanged)=\"onPartChanged($event)\"\n (toolDeleted)=\"onPartDeleted($event)\"\n />\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{display:contents}.table{grid-template-columns:5fr 3fr 3fr 1fr}.table_readonly{grid-template-columns:5fr 2fr 1.5fr}.custom{padding-right:4px;padding-left:4px}.custom-row{place-items:baseline}\n"], dependencies: [{ kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: ToolFormComponent, selector: "cui-tool-form", inputs: ["utilityId", "tool", "readonly", "resourceType"], outputs: ["toolChanged", "toolDeleted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
52
- }
53
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockPartComponent, decorators: [{
54
- type: Component,
55
- args: [{ selector: 'cui-resources-block-part', imports: [TranslocoDirective, CuiButtonModule, ToolFormComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<table\n *transloco=\"let t\"\n class=\"cc-table table\"\n [class.table_readonly]=\"readonly()\"\n>\n <thead class=\"cc-table__thead\">\n <tr class=\"cc-table__tr\">\n <th class=\"cc-table__th custom\">{{ t('TITLE') }}</th>\n <th class=\"cc-table__th custom\">{{ t('QUANTITY') }}</th>\n <th class=\"cc-table__th custom\">{{ t('UNIT') }}</th>\n </tr>\n </thead>\n <tbody class=\"cc-table__tbody\">\n @for (part of elements(); track part.id) {\n <tr class=\"cc-table__tr custom-row\">\n <cui-tool-form\n [tool]=\"part\"\n [utilityId]=\"utilityId()\"\n [readonly]=\"readonly()\"\n [resourceType]=\"ResourceContentType.Part\"\n (toolChanged)=\"onPartChanged($event)\"\n (toolDeleted)=\"onPartDeleted($event)\"\n />\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{display:contents}.table{grid-template-columns:5fr 3fr 3fr 1fr}.table_readonly{grid-template-columns:5fr 2fr 1.5fr}.custom{padding-right:4px;padding-left:4px}.custom-row{place-items:baseline}\n"] }]
56
- }], ctorParameters: () => [] });
57
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXBhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3Jlc291cmNlcy1ibG9jay9jb21wb25lbnRzL3Jlc291cmNlcy1ibG9jay1wYXJ0L3Jlc291cmNlcy1ibG9jay1wYXJ0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stcGFydC9yZXNvdXJjZXMtYmxvY2stcGFydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXhELE9BQU8sRUFBRSx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5nZXRBZGRpbnRpb25hbFJlc291cmNlSW5mbyhwYXJ0cykuc3Vic2NyaWJlKChwYXJ0KSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy51dGlsaXR5U2VydmljZS51cGRhdGVSZXNvdXJjZShwYXJ0LCB0aGlzLmNvbnRhaW5lcklkKCkpO1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIGVmZmVjdFJlZi5kZXN0cm95KCk7XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIHByaXZhdGUgZ2V0QWRkaW50aW9uYWxSZXNvdXJjZUluZm8ocmVzb3VyY2VzOiBVdGlsaXR5U3ViamVjdFtdKTogT2JzZXJ2YWJsZTxSZXNvdXJjZVV0aWxpdHlQYXJ0PiB7XG4gICAgICAgIGlmICghcmVzb3VyY2VzLmxlbmd0aCkge1xuICAgICAgICAgICAgcmV0dXJuIEVNUFRZO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgaWRzID0gcmVzb3VyY2VzLm1hcCgocmVzb3VyY2UpID0+IHJlc291cmNlLmlkKTtcblxuICAgICAgICByZXR1cm4gdGhpcy5mYWN0b3J5QXBpU2VydmljZS5nZXRQYXJ0c0J5SWRzU3RyZWFtKGlkcykucGlwZShcbiAgICAgICAgICAgIG1hcChcbiAgICAgICAgICAgICAgICAoZmFjdG9yeUVsZW1lbnQpID0+XG4gICAgICAgICAgICAgICAgICAgICh7XG4gICAgICAgICAgICAgICAgICAgICAgICAuLi5yZXNvdXJjZXMuZmluZCgocmVzb3VyY2UpID0+IGZhY3RvcnlFbGVtZW50LmlkID09PSByZXNvdXJjZS5pZCksXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0RlbGV0ZTogZmFjdG9yeUVsZW1lbnQuaXNEZWxldGUsXG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lOiBmYWN0b3J5RWxlbWVudC5uYW1lXG4gICAgICAgICAgICAgICAgICAgIH0pIGFzIFJlc291cmNlVXRpbGl0eVBhcnRcbiAgICAgICAgICAgIClcbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgUmVzb3VyY2VDb250ZW50VHlwZSA9IFJlc291cmNlQ29udGVudFR5cGU7XG59XG4iLCI8dGFibGVcbiAgICAqdHJhbnNsb2NvPVwibGV0IHRcIlxuICAgIGNsYXNzPVwiY2MtdGFibGUgdGFibGVcIlxuICAgIFtjbGFzcy50YWJsZV9yZWFkb25seV09XCJyZWFkb25seSgpXCJcbj5cbiAgICA8dGhlYWQgY2xhc3M9XCJjYy10YWJsZV9fdGhlYWRcIj5cbiAgICAgICAgPHRyIGNsYXNzPVwiY2MtdGFibGVfX3RyXCI+XG4gICAgICAgICAgICA8dGggY2xhc3M9XCJjYy10YWJsZV9fdGggY3VzdG9tXCI+e3sgdCgnVElUTEUnKSB9fTwvdGg+XG4gICAgICAgICAgICA8dGggY2xhc3M9XCJjYy10YWJsZV9fdGggY3VzdG9tXCI+e3sgdCgnUVVBTlRJVFknKSB9fTwvdGg+XG4gICAgICAgICAgICA8dGggY2xhc3M9XCJjYy10YWJsZV9fdGggY3VzdG9tXCI+e3sgdCgnVU5JVCcpIH19PC90aD5cbiAgICAgICAgPC90cj5cbiAgICA8L3RoZWFkPlxuICAgIDx0Ym9keSBjbGFzcz1cImNjLXRhYmxlX190Ym9keVwiPlxuICAgICAgICBAZm9yIChwYXJ0IG9mIGVsZW1lbnRzKCk7IHRyYWNrIHBhcnQuaWQpIHtcbiAgICAgICAgICAgIDx0ciBjbGFzcz1cImNjLXRhYmxlX190ciBjdXN0b20tcm93XCI+XG4gICAgICAgICAgICAgICAgPGN1aS10b29sLWZvcm1cbiAgICAgICAgICAgICAgICAgICAgW3Rvb2xdPVwicGFydFwiXG4gICAgICAgICAgICAgICAgICAgIFt1dGlsaXR5SWRdPVwidXRpbGl0eUlkKClcIlxuICAgICAgICAgICAgICAgICAgICBbcmVhZG9ubHldPVwicmVhZG9ubHkoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtyZXNvdXJjZVR5cGVdPVwiUmVzb3VyY2VDb250ZW50VHlwZS5QYXJ0XCJcbiAgICAgICAgICAgICAgICAgICAgKHRvb2xDaGFuZ2VkKT1cIm9uUGFydENoYW5nZWQoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICh0b29sRGVsZXRlZCk9XCJvblBhcnREZWxldGVkKCRldmVudClcIlxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8L3RyPlxuICAgICAgICB9XG4gICAgPC90Ym9keT5cbjwvdGFibGU+XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXBhcnQub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stcGFydC9yZXNvdXJjZXMtYmxvY2stcGFydC5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUb29sYm94VHlwZSB9IGZyb20gJ0BjdWJ5LXVpL2FwaSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVzb3VyY2VVdGlsaXR5UGFydCBleHRlbmRzIFRvb2xib3hUeXBlIHtcbiAgICByZWFkb25seSBpc0RlbGV0ZTogYm9vbGVhbjtcbiAgICByZWFkb25seSBuYW1lOiBzdHJpbmc7XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export { ResourcesBlockTabsComponent } from './resources-block-tabs.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLWJsb2NrLXRhYnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBSZXNvdXJjZXNCbG9ja1RhYnNDb21wb25lbnQgfSBmcm9tICcuL3Jlc291cmNlcy1ibG9jay10YWJzLmNvbXBvbmVudCc7XG4iXX0=
@@ -1,56 +0,0 @@
1
- import { NgComponentOutlet, TitleCasePipe } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, input, output } from '@angular/core';
3
- import { CuiTypedTemplateDirective } from '@cuby-ui/cdk';
4
- import { COMPONENTS_CONTENT } from './resources-block-tabs.options';
5
- import { AssigneeRoleItemComponent } from '../../../assignee-role-item';
6
- import { AssigneeRolesTabsComponent } from '../../../assignee-roles-tabs';
7
- import { CuiButtonModule, CuiDialogService } from '../../../../../components';
8
- import { UtilityApiService } from '@cuby-ui/api';
9
- import { CuiDeleteModalComponent } from '../../../delete-modal';
10
- import { ResourcesBlockContentComponent } from '../resources-block-content';
11
- import * as i0 from "@angular/core";
12
- export class ResourcesBlockTabsComponent {
13
- constructor() {
14
- this.utilityApiService = inject(UtilityApiService);
15
- this.cuiDialogService = inject(CuiDialogService);
16
- this.COMPONENTS_CONTENT = COMPONENTS_CONTENT;
17
- this.resourceComponent = input.required();
18
- this.utilityId = input.required();
19
- this.buttonSlot = input.required();
20
- this.readonly = input(false);
21
- this.selectedIndex = input(0);
22
- this.resourceAdded = output();
23
- this.resourceDeleted = output();
24
- this.selectedIndexChange = output();
25
- }
26
- onOpenDeleteResourceModal(resource) {
27
- const content = [`ACTION_WILL_DELETE_${resource.contentType}_FROM_RESOURCES`];
28
- this.cuiDialogService
29
- .open(CuiDeleteModalComponent, {
30
- data: {
31
- title: `DELETE_${resource.contentType}_QUESTION`,
32
- content,
33
- delete: () => this.utilityApiService.deleteStructure(this.utilityId(), "RESOURCES" /* UtilityComponentType.Resources */, resource.id)
34
- }
35
- })
36
- .subscribe((data) => data?.canceled || this.resourceDeleted.emit(resource));
37
- }
38
- onResourcesAdded(resources, container) {
39
- this.resourceAdded.emit({ resources, container });
40
- }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
42
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: ResourcesBlockTabsComponent, isStandalone: true, selector: "cui-resources-block-tabs", inputs: { resourceComponent: { classPropertyName: "resourceComponent", publicName: "resourceComponent", isSignal: true, isRequired: true, transformFunction: null }, utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, buttonSlot: { classPropertyName: "buttonSlot", publicName: "buttonSlot", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, selectedIndex: { classPropertyName: "selectedIndex", publicName: "selectedIndex", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { resourceAdded: "resourceAdded", resourceDeleted: "resourceDeleted", selectedIndexChange: "selectedIndexChange" }, ngImport: i0, template: "<cui-assignee-roles-tabs\n [tabs]=\"resourceComponent().structure\"\n [itemSlot]=\"itemSlot\"\n [buttonSlot]=\"buttonSlot()\"\n [contentSlot]=\"contentSlot\"\n [selectedIndex]=\"selectedIndex()\"\n (selectedIndexChange)=\"selectedIndexChange.emit($event)\"\n>\n <ng-template\n #itemSlot\n let-element\n >\n <cui-assignee-role-item\n [role]=\"element.contentType | titlecase\"\n [readonly]=\"readonly()\"\n [empty]=\"!element.elements.length\"\n (deleteClicked)=\"onOpenDeleteResourceModal(element)\"\n />\n </ng-template>\n\n <ng-template\n #contentSlot\n let-element\n [cuiTypedTemplate]=\"UTILITY_TEMPLATE_CONTEXT\"\n >\n <cui-resources-block-content\n [type]=\"element.contentType\"\n [utilityId]=\"utilityId()\"\n [empty]=\"!element.elements.length\"\n [readonly]=\"readonly()\"\n (resourcesAdded)=\"onResourcesAdded($event, element)\"\n >\n <ng-container\n [ngComponentOutlet]=\"COMPONENTS_CONTENT[element.contentType]\"\n [ngComponentOutletInputs]=\"{\n elements: element.elements,\n containerId: element.id,\n utilityId: utilityId(),\n readonly: readonly()\n }\"\n />\n </cui-resources-block-content>\n </ng-template>\n</cui-assignee-roles-tabs>\n", dependencies: [{ kind: "ngmodule", type: CuiButtonModule }, { kind: "pipe", type: TitleCasePipe, name: "titlecase" }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: CuiTypedTemplateDirective, selector: "ng-template[cuiTypedTemplate]", inputs: ["cuiTypedTemplate"], exportAs: ["cuiTypedTemplate"] }, { kind: "component", type: AssigneeRoleItemComponent, selector: "cui-assignee-role-item", inputs: ["role", "readonly", "empty"], outputs: ["deleteClicked"] }, { kind: "component", type: AssigneeRolesTabsComponent, selector: "cui-assignee-roles-tabs", inputs: ["tabs", "itemSlot", "buttonSlot", "contentSlot", "selectedIndex"], outputs: ["selectedIndexChange"] }, { kind: "component", type: ResourcesBlockContentComponent, selector: "cui-resources-block-content", inputs: ["type", "utilityId", "empty", "readonly"], outputs: ["resourcesAdded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockTabsComponent, decorators: [{
45
- type: Component,
46
- args: [{ selector: 'cui-resources-block-tabs', imports: [
47
- CuiButtonModule,
48
- TitleCasePipe,
49
- NgComponentOutlet,
50
- CuiTypedTemplateDirective,
51
- AssigneeRoleItemComponent,
52
- AssigneeRolesTabsComponent,
53
- ResourcesBlockContentComponent
54
- ], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<cui-assignee-roles-tabs\n [tabs]=\"resourceComponent().structure\"\n [itemSlot]=\"itemSlot\"\n [buttonSlot]=\"buttonSlot()\"\n [contentSlot]=\"contentSlot\"\n [selectedIndex]=\"selectedIndex()\"\n (selectedIndexChange)=\"selectedIndexChange.emit($event)\"\n>\n <ng-template\n #itemSlot\n let-element\n >\n <cui-assignee-role-item\n [role]=\"element.contentType | titlecase\"\n [readonly]=\"readonly()\"\n [empty]=\"!element.elements.length\"\n (deleteClicked)=\"onOpenDeleteResourceModal(element)\"\n />\n </ng-template>\n\n <ng-template\n #contentSlot\n let-element\n [cuiTypedTemplate]=\"UTILITY_TEMPLATE_CONTEXT\"\n >\n <cui-resources-block-content\n [type]=\"element.contentType\"\n [utilityId]=\"utilityId()\"\n [empty]=\"!element.elements.length\"\n [readonly]=\"readonly()\"\n (resourcesAdded)=\"onResourcesAdded($event, element)\"\n >\n <ng-container\n [ngComponentOutlet]=\"COMPONENTS_CONTENT[element.contentType]\"\n [ngComponentOutletInputs]=\"{\n elements: element.elements,\n containerId: element.id,\n utilityId: utilityId(),\n readonly: readonly()\n }\"\n />\n </cui-resources-block-content>\n </ng-template>\n</cui-assignee-roles-tabs>\n" }]
55
- }] });
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXRhYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3Jlc291cmNlcy1ib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lLmRlbGV0ZVN0cnVjdHVyZShcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGlzLnV0aWxpdHlJZCgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFV0aWxpdHlDb21wb25lbnRUeXBlLlJlc291cmNlcyxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXNvdXJjZS5pZFxuICAgICAgICAgICAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAuc3Vic2NyaWJlKChkYXRhKSA9PiBkYXRhPy5jYW5jZWxlZCB8fCB0aGlzLnJlc291cmNlRGVsZXRlZC5lbWl0KHJlc291cmNlKSk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIG9uUmVzb3VyY2VzQWRkZWQocmVzb3VyY2VzOiBVdGlsaXR5U3ViamVjdFtdLCBjb250YWluZXI6IFJlc291cmNlKTogdm9pZCB7XG4gICAgICAgIHRoaXMucmVzb3VyY2VBZGRlZC5lbWl0KHsgcmVzb3VyY2VzLCBjb250YWluZXIgfSk7XG4gICAgfVxufVxuIiwiPGN1aS1hc3NpZ25lZS1yb2xlcy10YWJzXG4gICAgW3RhYnNdPVwicmVzb3VyY2VDb21wb25lbnQoKS5zdHJ1Y3R1cmVcIlxuICAgIFtpdGVtU2xvdF09XCJpdGVtU2xvdFwiXG4gICAgW2J1dHRvblNsb3RdPVwiYnV0dG9uU2xvdCgpXCJcbiAgICBbY29udGVudFNsb3RdPVwiY29udGVudFNsb3RcIlxuICAgIFtzZWxlY3RlZEluZGV4XT1cInNlbGVjdGVkSW5kZXgoKVwiXG4gICAgKHNlbGVjdGVkSW5kZXhDaGFuZ2UpPVwic2VsZWN0ZWRJbmRleENoYW5nZS5lbWl0KCRldmVudClcIlxuPlxuICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAjaXRlbVNsb3RcbiAgICAgICAgbGV0LWVsZW1lbnRcbiAgICA+XG4gICAgICAgIDxjdWktYXNzaWduZWUtcm9sZS1pdGVtXG4gICAgICAgICAgICBbcm9sZV09XCJlbGVtZW50LmNvbnRlbnRUeXBlIHwgdGl0bGVjYXNlXCJcbiAgICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seSgpXCJcbiAgICAgICAgICAgIFtlbXB0eV09XCIhZWxlbWVudC5lbGVtZW50cy5sZW5ndGhcIlxuICAgICAgICAgICAgKGRlbGV0ZUNsaWNrZWQpPVwib25PcGVuRGVsZXRlUmVzb3VyY2VNb2RhbChlbGVtZW50KVwiXG4gICAgICAgIC8+XG4gICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgIDxuZy10ZW1wbGF0ZVxuICAgICAgICAjY29udGVudFNsb3RcbiAgICAgICAgbGV0LWVsZW1lbnRcbiAgICAgICAgW2N1aVR5cGVkVGVtcGxhdGVdPVwiVVRJTElUWV9URU1QTEFURV9DT05URVhUXCJcbiAgICA+XG4gICAgICAgIDxjdWktcmVzb3VyY2VzLWJsb2NrLWNvbnRlbnRcbiAgICAgICAgICAgIFt0eXBlXT1cImVsZW1lbnQuY29udGVudFR5cGVcIlxuICAgICAgICAgICAgW3V0aWxpdHlJZF09XCJ1dGlsaXR5SWQoKVwiXG4gICAgICAgICAgICBbZW1wdHldPVwiIWVsZW1lbnQuZWxlbWVudHMubGVuZ3RoXCJcbiAgICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seSgpXCJcbiAgICAgICAgICAgIChyZXNvdXJjZXNBZGRlZCk9XCJvblJlc291cmNlc0FkZGVkKCRldmVudCwgZWxlbWVudClcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0XT1cIkNPTVBPTkVOVFNfQ09OVEVOVFtlbGVtZW50LmNvbnRlbnRUeXBlXVwiXG4gICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0SW5wdXRzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgZWxlbWVudHM6IGVsZW1lbnQuZWxlbWVudHMsXG4gICAgICAgICAgICAgICAgICAgIGNvbnRhaW5lcklkOiBlbGVtZW50LmlkLFxuICAgICAgICAgICAgICAgICAgICB1dGlsaXR5SWQ6IHV0aWxpdHlJZCgpLFxuICAgICAgICAgICAgICAgICAgICByZWFkb25seTogcmVhZG9ubHkoKVxuICAgICAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9jdWktcmVzb3VyY2VzLWJsb2NrLWNvbnRlbnQ+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvY3VpLWFzc2lnbmVlLXJvbGVzLXRhYnM+XG4iXX0=
@@ -1,10 +0,0 @@
1
- import { ResourcesBlockConsumablesComponent } from '../resources-block-consumables';
2
- import { ResourcesBlockPartComponent } from '../resources-block-part';
3
- import { ResourcesBlockToolboxComponent } from '../resources-block-toolbox';
4
- import { ResourceContentType } from '@cuby-ui/api';
5
- export const COMPONENTS_CONTENT = {
6
- [ResourceContentType.Consumables]: ResourcesBlockConsumablesComponent,
7
- [ResourceContentType.Toolbox]: ResourcesBlockToolboxComponent,
8
- [ResourceContentType.Part]: ResourcesBlockPartComponent
9
- };
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXRhYnMub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stdGFicy9yZXNvdXJjZXMtYmxvY2stdGFicy5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxrQ0FBa0MsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3BGLE9BQ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b3VyY2VzQmxvY2tUb29sYm94Q29tcG9uZW50LFxuICAgIFtSZXNvdXJjZUNvbnRlbnRUeXBlLlBhcnRdOiBSZXNvdXJjZXNCbG9ja1BhcnRDb21wb25lbnRcbn07XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVzb3VyY2VEZWxldGVPdXRwdXQge1xuICAgIHJlYWRvbmx5IHJlc291cmNlczogVXRpbGl0eVN1YmplY3RbXTtcbiAgICByZWFkb25seSBjb250YWluZXI6IFJlc291cmNlO1xufVxuIl19
@@ -1,2 +0,0 @@
1
- export { ResourcesBlockToolboxComponent } from './resources-block-toolbox.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLWJsb2NrLXRvb2xib3gvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDhCQUE4QixFQUFFLE1BQU0scUNBQXFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBSZXNvdXJjZXNCbG9ja1Rvb2xib3hDb21wb25lbnQgfSBmcm9tICcuL3Jlc291cmNlcy1ibG9jay10b29sYm94LmNvbXBvbmVudCc7XG5leHBvcnQgdHlwZSB7IFJlc291cmNlVXRpbGl0eVRvb2wgfSBmcm9tICcuL3Jlc291cmNlcy1ibG9jay10b29sYm94Lm9wdGlvbnMnO1xuIl19
@@ -1,56 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, effect, inject, input } from '@angular/core';
2
- import { TranslocoDirective } from '@jsverse/transloco';
3
- import { EMPTY, map } from 'rxjs';
4
- import { CuiFactoryApiService } from '@cuby-ui/api';
5
- import { ToolFormComponent } from '../../../toolbox-form';
6
- import { CUI_UTILITY_SERVICE_TOKEN } from '../../../../model';
7
- import { CuiButtonModule } from '../../../../../components';
8
- import * as i0 from "@angular/core";
9
- export class ResourcesBlockToolboxComponent {
10
- constructor() {
11
- this.factoryApiService = inject(CuiFactoryApiService);
12
- this.utilityService = inject(CUI_UTILITY_SERVICE_TOKEN);
13
- this.utilityId = input.required();
14
- this.containerId = input.required();
15
- this.elements = input.required();
16
- this.readonly = input(false);
17
- this.initToolsStructure();
18
- }
19
- onToolChanged(tool) {
20
- this.utilityService.updateResource(tool, this.containerId());
21
- }
22
- onToolDeleted(toolId) {
23
- this.utilityService.removeResource(toolId, this.containerId());
24
- }
25
- initToolsStructure() {
26
- const effectRef = effect(() => {
27
- const tools = this.elements();
28
- const areToolsWithFullInfo = tools.every((tool) => tool.name);
29
- if (areToolsWithFullInfo) {
30
- return;
31
- }
32
- this.getAddintionalResourceInfo(tools).subscribe((tool) => {
33
- this.utilityService.updateResource(tool, this.containerId());
34
- });
35
- effectRef.destroy();
36
- });
37
- }
38
- getAddintionalResourceInfo(resources) {
39
- if (!resources.length) {
40
- return EMPTY;
41
- }
42
- const ids = resources.map((resource) => resource.id);
43
- return this.factoryApiService.getToolsByIdsStream(ids).pipe(map((factoryElement) => ({
44
- ...resources.find((resource) => factoryElement.id === resource.id),
45
- isDelete: factoryElement.isDelete,
46
- name: factoryElement.name
47
- })));
48
- }
49
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockToolboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
50
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ResourcesBlockToolboxComponent, isStandalone: true, selector: "cui-resources-block-toolbox", inputs: { utilityId: { classPropertyName: "utilityId", publicName: "utilityId", isSignal: true, isRequired: true, transformFunction: null }, containerId: { classPropertyName: "containerId", publicName: "containerId", isSignal: true, isRequired: true, transformFunction: null }, elements: { classPropertyName: "elements", publicName: "elements", isSignal: true, isRequired: true, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<table\n *transloco=\"let t\"\n class=\"cc-table table\"\n [class.table_readonly]=\"readonly()\"\n>\n <thead class=\"cc-table__thead\">\n <tr class=\"cc-table__tr\">\n <th class=\"cc-table__th custom\">{{ t('TITLE') }}</th>\n <th class=\"cc-table__th custom\">{{ t('QUANTITY') }}</th>\n <th class=\"cc-table__th custom\">{{ t('UNIT') }}</th>\n </tr>\n </thead>\n <tbody class=\"cc-table__tbody\">\n @for (tool of elements(); track tool.id) {\n <tr class=\"cc-table__tr custom-row\">\n <cui-tool-form\n [tool]=\"tool\"\n [utilityId]=\"utilityId()\"\n [readonly]=\"readonly()\"\n (toolChanged)=\"onToolChanged($event)\"\n (toolDeleted)=\"onToolDeleted($event)\"\n />\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{display:contents}.table{grid-template-columns:5fr 3fr 3fr 1fr}.table_readonly{grid-template-columns:5fr 2fr 1.5fr}.custom{padding-right:4px;padding-left:4px}.custom-row{place-items:baseline}\n"], dependencies: [{ kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: ToolFormComponent, selector: "cui-tool-form", inputs: ["utilityId", "tool", "readonly", "resourceType"], outputs: ["toolChanged", "toolDeleted"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
51
- }
52
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockToolboxComponent, decorators: [{
53
- type: Component,
54
- args: [{ selector: 'cui-resources-block-toolbox', imports: [TranslocoDirective, CuiButtonModule, ToolFormComponent], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<table\n *transloco=\"let t\"\n class=\"cc-table table\"\n [class.table_readonly]=\"readonly()\"\n>\n <thead class=\"cc-table__thead\">\n <tr class=\"cc-table__tr\">\n <th class=\"cc-table__th custom\">{{ t('TITLE') }}</th>\n <th class=\"cc-table__th custom\">{{ t('QUANTITY') }}</th>\n <th class=\"cc-table__th custom\">{{ t('UNIT') }}</th>\n </tr>\n </thead>\n <tbody class=\"cc-table__tbody\">\n @for (tool of elements(); track tool.id) {\n <tr class=\"cc-table__tr custom-row\">\n <cui-tool-form\n [tool]=\"tool\"\n [utilityId]=\"utilityId()\"\n [readonly]=\"readonly()\"\n (toolChanged)=\"onToolChanged($event)\"\n (toolDeleted)=\"onToolDeleted($event)\"\n />\n </tr>\n }\n </tbody>\n</table>\n", styles: [":host{display:contents}.table{grid-template-columns:5fr 3fr 3fr 1fr}.table_readonly{grid-template-columns:5fr 2fr 1.5fr}.custom{padding-right:4px;padding-left:4px}.custom-row{place-items:baseline}\n"] }]
55
- }], ctorParameters: () => [] });
56
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXRvb2xib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3Jlc291cmNlcy1ibG9jay9jb21wb25lbnRzL3Jlc291cmNlcy1ibG9jay10b29sYm94L3Jlc291cmNlcy1ibG9jay10b29sYm94LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stdG9vbGJveC9yZXNvdXJjZXMtYmxvY2stdG9vbGJveC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcH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7XG5cbiAgICAgICAgICAgIGlmIChhcmVUb29sc1dpdGhGdWxsSW5mbykge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdGhpcy5nZXRBZGRpbnRpb25hbFJlc291cmNlSW5mbyh0b29scykuc3Vic2NyaWJlKCh0b29sKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy51dGlsaXR5U2VydmljZS51cGRhdGVSZXNvdXJjZSh0b29sLCB0aGlzLmNvbnRhaW5lcklkKCkpO1xuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIGVmZmVjdFJlZi5kZXN0cm95KCk7XG4gICAgICAgIH0pO1xuICAgIH1cblxuICAgIHByaXZhdGUgZ2V0QWRkaW50aW9uYWxSZXNvdXJjZUluZm8ocmVzb3VyY2VzOiBVdGlsaXR5U3ViamVjdFtdKTogT2JzZXJ2YWJsZTxSZXNvdXJjZVV0aWxpdHlUb29sPiB7XG4gICAgICAgIGlmICghcmVzb3VyY2VzLmxlbmd0aCkge1xuICAgICAgICAgICAgcmV0dXJuIEVNUFRZO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3QgaWRzID0gcmVzb3VyY2VzLm1hcCgocmVzb3VyY2UpID0+IHJlc291cmNlLmlkKTtcblxuICAgICAgICByZXR1cm4gdGhpcy5mYWN0b3J5QXBpU2VydmljZS5nZXRUb29sc0J5SWRzU3RyZWFtKGlkcykucGlwZShcbiAgICAgICAgICAgIG1hcChcbiAgICAgICAgICAgICAgICAoZmFjdG9yeUVsZW1lbnQpID0+XG4gICAgICAgICAgICAgICAgICAgICh7XG4gICAgICAgICAgICAgICAgICAgICAgICAuLi5yZXNvdXJjZXMuZmluZCgocmVzb3VyY2UpID0+IGZhY3RvcnlFbGVtZW50LmlkID09PSByZXNvdXJjZS5pZCksXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0RlbGV0ZTogZmFjdG9yeUVsZW1lbnQuaXNEZWxldGUsXG4gICAgICAgICAgICAgICAgICAgICAgICBuYW1lOiBmYWN0b3J5RWxlbWVudC5uYW1lXG4gICAgICAgICAgICAgICAgICAgIH0pIGFzIFJlc291cmNlVXRpbGl0eVRvb2xcbiAgICAgICAgICAgIClcbiAgICAgICAgKTtcbiAgICB9XG59XG4iLCI8dGFibGVcbiAgICAqdHJhbnNsb2NvPVwibGV0IHRcIlxuICAgIGNsYXNzPVwiY2MtdGFibGUgdGFibGVcIlxuICAgIFtjbGFzcy50YWJsZV9yZWFkb25seV09XCJyZWFkb25seSgpXCJcbj5cbiAgICA8dGhlYWQgY2xhc3M9XCJjYy10YWJsZV9fdGhlYWRcIj5cbiAgICAgICAgPHRyIGNsYXNzPVwiY2MtdGFibGVfX3RyXCI+XG4gICAgICAgICAgICA8dGggY2xhc3M9XCJjYy10YWJsZV9fdGggY3VzdG9tXCI+e3sgdCgnVElUTEUnKSB9fTwvdGg+XG4gICAgICAgICAgICA8dGggY2xhc3M9XCJjYy10YWJsZV9fdGggY3VzdG9tXCI+e3sgdCgnUVVBTlRJVFknKSB9fTwvdGg+XG4gICAgICAgICAgICA8dGggY2xhc3M9XCJjYy10YWJsZV9fdGggY3VzdG9tXCI+e3sgdCgnVU5JVCcpIH19PC90aD5cbiAgICAgICAgPC90cj5cbiAgICA8L3RoZWFkPlxuICAgIDx0Ym9keSBjbGFzcz1cImNjLXRhYmxlX190Ym9keVwiPlxuICAgICAgICBAZm9yICh0b29sIG9mIGVsZW1lbnRzKCk7IHRyYWNrIHRvb2wuaWQpIHtcbiAgICAgICAgICAgIDx0ciBjbGFzcz1cImNjLXRhYmxlX190ciBjdXN0b20tcm93XCI+XG4gICAgICAgICAgICAgICAgPGN1aS10b29sLWZvcm1cbiAgICAgICAgICAgICAgICAgICAgW3Rvb2xdPVwidG9vbFwiXG4gICAgICAgICAgICAgICAgICAgIFt1dGlsaXR5SWRdPVwidXRpbGl0eUlkKClcIlxuICAgICAgICAgICAgICAgICAgICBbcmVhZG9ubHldPVwicmVhZG9ubHkoKVwiXG4gICAgICAgICAgICAgICAgICAgICh0b29sQ2hhbmdlZCk9XCJvblRvb2xDaGFuZ2VkKCRldmVudClcIlxuICAgICAgICAgICAgICAgICAgICAodG9vbERlbGV0ZWQpPVwib25Ub29sRGVsZXRlZCgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgPC90cj5cbiAgICAgICAgfVxuICAgIDwvdGJvZHk+XG48L3RhYmxlPlxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXRvb2xib3gub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stdG9vbGJveC9yZXNvdXJjZXMtYmxvY2stdG9vbGJveC5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUb29sYm94VHlwZSB9IGZyb20gJ0BjdWJ5LXVpL2FwaSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVzb3VyY2VVdGlsaXR5VG9vbCBleHRlbmRzIFRvb2xib3hUeXBlIHtcbiAgICByZWFkb25seSBpc0RlbGV0ZTogYm9vbGVhbjtcbiAgICByZWFkb25seSBuYW1lOiBzdHJpbmc7XG59XG4iXX0=
@@ -1,2 +0,0 @@
1
- export { ResourcesOptionsComponent } from './resources-options.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLW9wdGlvbnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHlCQUF5QixFQUFFLE1BQU0sK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBSZXNvdXJjZXNPcHRpb25zQ29tcG9uZW50IH0gZnJvbSAnLi9yZXNvdXJjZXMtb3B0aW9ucy5jb21wb25lbnQnO1xuIl19