@cuby-ui/core 0.0.446 → 0.0.448

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 (270) hide show
  1. package/components/alert-hint/alert-hint.component.d.ts +11 -0
  2. package/components/alert-hint/error-status.d.ts +1 -0
  3. package/components/alert-hint/index.d.ts +2 -0
  4. package/components/card-wrapper/card-wrapper.component.d.ts +2 -1
  5. package/components/content-header/content-header.component.d.ts +8 -0
  6. package/components/content-header/index.d.ts +1 -0
  7. package/components/index.d.ts +5 -0
  8. package/components/inserted/index.d.ts +1 -0
  9. package/components/inserted/inserted.component.d.ts +5 -0
  10. package/components/options-button/index.d.ts +1 -0
  11. package/components/options-button/options-button.component.d.ts +8 -0
  12. package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
  13. package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +1 -1
  14. package/editor/utils/open-file-in-browser.d.ts +1 -1
  15. package/editor/utils/set-loading.d.ts +1 -1
  16. package/esm2022/components/alert-hint/alert-hint.component.mjs +28 -0
  17. package/esm2022/components/alert-hint/error-status.mjs +2 -0
  18. package/esm2022/components/alert-hint/index.mjs +2 -0
  19. package/esm2022/components/card-wrapper/card-wrapper.component.mjs +6 -4
  20. package/esm2022/components/content-header/content-header.component.mjs +19 -0
  21. package/esm2022/components/content-header/index.mjs +2 -0
  22. package/esm2022/components/index.mjs +6 -1
  23. package/esm2022/components/inserted/index.mjs +2 -0
  24. package/esm2022/components/inserted/inserted.component.mjs +15 -0
  25. package/esm2022/components/options-button/index.mjs +2 -0
  26. package/esm2022/components/options-button/options-button.component.mjs +20 -0
  27. package/esm2022/editor/editor.component.mjs +1 -1
  28. package/esm2022/editor/index.mjs +1 -1
  29. package/esm2022/editor/utils/open-file-in-browser.mjs +1 -1
  30. package/esm2022/editor/utils/set-loading.mjs +3 -3
  31. package/esm2022/index.mjs +1 -2
  32. package/esm2022/widgets/ui/inserted/index.mjs +2 -0
  33. package/esm2022/widgets/ui/inserted/inserted.component.mjs +17 -0
  34. package/esm2022/widgets/ui/modal-header/index.mjs +2 -0
  35. package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +31 -0
  36. package/fesm2022/cuby-ui-core.mjs +6174 -8834
  37. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  38. package/index.d.ts +0 -1
  39. package/package.json +4 -4
  40. package/styles/direcive/flex-container.scss +3 -0
  41. package/widgets/ui/inserted/index.d.ts +1 -0
  42. package/widgets/ui/inserted/inserted.component.d.ts +5 -0
  43. package/widgets/ui/modal-header/index.d.ts +1 -0
  44. package/widgets/ui/modal-header/modal-header.component.d.ts +12 -0
  45. package/esm2022/widgets/categories/categories.component.mjs +0 -76
  46. package/esm2022/widgets/categories/components/categories-list/categories-list.component.mjs +0 -17
  47. package/esm2022/widgets/categories/components/categories-list/index.mjs +0 -2
  48. package/esm2022/widgets/categories/components/category-form/category-form.component.mjs +0 -79
  49. package/esm2022/widgets/categories/components/category-form/index.mjs +0 -2
  50. package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +0 -125
  51. package/esm2022/widgets/categories/components/category-item/index.mjs +0 -2
  52. package/esm2022/widgets/categories/components/create-category-item/create-category-item.component.mjs +0 -25
  53. package/esm2022/widgets/categories/components/create-category-item/index.mjs +0 -2
  54. package/esm2022/widgets/categories/components/index.mjs +0 -3
  55. package/esm2022/widgets/categories/index.mjs +0 -3
  56. package/esm2022/widgets/categories/services/index.mjs +0 -2
  57. package/esm2022/widgets/categories/services/selected-category.service.mjs +0 -38
  58. package/esm2022/widgets/checklist-block/checklist-block.component.mjs +0 -75
  59. package/esm2022/widgets/checklist-block/checklist-block.options.mjs +0 -2
  60. package/esm2022/widgets/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +0 -85
  61. package/esm2022/widgets/checklist-block/components/checklist-block-list/index.mjs +0 -2
  62. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +0 -133
  63. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-card/index.mjs +0 -2
  64. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +0 -45
  65. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +0 -2
  66. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +0 -35
  67. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +0 -2
  68. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +0 -152
  69. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +0 -2
  70. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-container/index.mjs +0 -2
  71. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +0 -282
  72. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +0 -2
  73. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +0 -2
  74. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +0 -117
  75. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +0 -2
  76. package/esm2022/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +0 -2
  77. package/esm2022/widgets/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +0 -39
  78. package/esm2022/widgets/checklist-block/components/checklist-block-title-control/index.mjs +0 -2
  79. package/esm2022/widgets/checklist-block/components/index.mjs +0 -2
  80. package/esm2022/widgets/checklist-block/index.mjs +0 -2
  81. package/esm2022/widgets/checklist-block/services/checklist-block.service.mjs +0 -50
  82. package/esm2022/widgets/checklist-block/services/index.mjs +0 -2
  83. package/esm2022/widgets/criterion-info/criterion-info.component.mjs +0 -137
  84. package/esm2022/widgets/criterion-info/index.mjs +0 -2
  85. package/esm2022/widgets/criterion-info-form/criterion-info-form.component.mjs +0 -147
  86. package/esm2022/widgets/criterion-info-form/criterion-info-form.options.mjs +0 -2
  87. package/esm2022/widgets/criterion-info-form/index.mjs +0 -2
  88. package/esm2022/widgets/criterion-readonly-info/criterion-readonly-info.component.mjs +0 -72
  89. package/esm2022/widgets/criterion-readonly-info/index.mjs +0 -2
  90. package/esm2022/widgets/delete-modal/delete-modal.component.mjs +0 -39
  91. package/esm2022/widgets/delete-modal/delete-modal.options.mjs +0 -2
  92. package/esm2022/widgets/delete-modal/index.mjs +0 -2
  93. package/esm2022/widgets/framer-preview/framer-preview.component.mjs +0 -77
  94. package/esm2022/widgets/framer-preview/framer-preview.options.mjs +0 -2
  95. package/esm2022/widgets/framer-preview/index.mjs +0 -2
  96. package/esm2022/widgets/general-control-error-hint/general-control-error-hint.component.mjs +0 -21
  97. package/esm2022/widgets/general-control-error-hint/index.mjs +0 -2
  98. package/esm2022/widgets/index.mjs +0 -15
  99. package/esm2022/widgets/instruction-info/index.mjs +0 -2
  100. package/esm2022/widgets/instruction-info/instruction-info.component.mjs +0 -147
  101. package/esm2022/widgets/instruction-info-form/index.mjs +0 -2
  102. package/esm2022/widgets/instruction-info-form/instruction-info-form.component.mjs +0 -153
  103. package/esm2022/widgets/instruction-info-form/instruction-info-form.options.mjs +0 -2
  104. package/esm2022/widgets/instruction-readonly-info/index.mjs +0 -2
  105. package/esm2022/widgets/instruction-readonly-info/instruction-readonly-info.component.mjs +0 -72
  106. package/esm2022/widgets/loader/index.mjs +0 -2
  107. package/esm2022/widgets/loader/loader.component.mjs +0 -36
  108. package/esm2022/widgets/select-modal/components/index.mjs +0 -3
  109. package/esm2022/widgets/select-modal/components/select-modal-folder/index.mjs +0 -2
  110. package/esm2022/widgets/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +0 -21
  111. package/esm2022/widgets/select-modal/components/select-modal-search/index.mjs +0 -2
  112. package/esm2022/widgets/select-modal/components/select-modal-search/select-modal-search.component.mjs +0 -32
  113. package/esm2022/widgets/select-modal/index.mjs +0 -4
  114. package/esm2022/widgets/select-modal/select-modal.component.mjs +0 -35
  115. package/esm2022/widgets/select-modal/select-modal.interfaces.mjs +0 -2
  116. package/esm2022/widgets/select-modal/select-modal.service.mjs +0 -23
  117. package/esm2022/widgets/storage-list/components/index.mjs +0 -2
  118. package/esm2022/widgets/storage-list/components/storage-list-item/index.mjs +0 -2
  119. package/esm2022/widgets/storage-list/components/storage-list-item/storage-list-item.component.mjs +0 -87
  120. package/esm2022/widgets/storage-list/index.mjs +0 -3
  121. package/esm2022/widgets/storage-list/storage-list.component.mjs +0 -17
  122. package/esm2022/widgets/storage-list/storage-list.options.mjs +0 -3
  123. package/esm2022/widgets/user-action-context-menu/activity-item/activity-item.component.mjs +0 -61
  124. package/esm2022/widgets/user-action-context-menu/activity-item/index.mjs +0 -2
  125. package/esm2022/widgets/user-action-context-menu/company-item/company-item.component.mjs +0 -68
  126. package/esm2022/widgets/user-action-context-menu/company-item/index.mjs +0 -2
  127. package/esm2022/widgets/user-action-context-menu/constants/index.mjs +0 -2
  128. package/esm2022/widgets/user-action-context-menu/constants/translations.mjs +0 -5
  129. package/esm2022/widgets/user-action-context-menu/i18n/en.json +0 -12
  130. package/esm2022/widgets/user-action-context-menu/i18n/ru.json +0 -12
  131. package/esm2022/widgets/user-action-context-menu/index.mjs +0 -5
  132. package/esm2022/widgets/user-action-context-menu/services/activity-base.service.mjs +0 -32
  133. package/esm2022/widgets/user-action-context-menu/services/activity.service.mjs +0 -35
  134. package/esm2022/widgets/user-action-context-menu/services/index.mjs +0 -3
  135. package/esm2022/widgets/user-action-context-menu/user-action-context-menu.component.mjs +0 -83
  136. package/esm2022/widgets/user-action-context-menu/user-action-context.option.mjs +0 -3
  137. package/esm2022/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +0 -41
  138. package/esm2022/widgets/utility-modal/components/criterion-modal-create/index.mjs +0 -2
  139. package/esm2022/widgets/utility-modal/components/index.mjs +0 -5
  140. package/esm2022/widgets/utility-modal/components/instruction-modal-create/index.mjs +0 -2
  141. package/esm2022/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +0 -41
  142. package/esm2022/widgets/utility-modal/components/readonly-criterion-modal/index.mjs +0 -2
  143. package/esm2022/widgets/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +0 -40
  144. package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/index.mjs +0 -2
  145. package/esm2022/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +0 -40
  146. package/esm2022/widgets/utility-modal/components/readonly-utility-modal/index.mjs +0 -2
  147. package/esm2022/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +0 -43
  148. package/esm2022/widgets/utility-modal/components/utility-modal-create/index.mjs +0 -2
  149. package/esm2022/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +0 -55
  150. package/esm2022/widgets/utility-modal/index.mjs +0 -4
  151. package/esm2022/widgets/utility-modal/utility-modal.component.mjs +0 -22
  152. package/esm2022/widgets/utility-modal/utility-modal.options.mjs +0 -3
  153. package/esm2022/widgets/utility-readonly-thumbnail/index.mjs +0 -2
  154. package/esm2022/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +0 -15
  155. package/esm2022/widgets/utility-thumbnail/index.mjs +0 -2
  156. package/esm2022/widgets/utility-thumbnail/utility-thumbnail.component.mjs +0 -94
  157. package/fesm2022/cuby-ui-core-en-D0un3--2.mjs +0 -25
  158. package/fesm2022/cuby-ui-core-en-D0un3--2.mjs.map +0 -1
  159. package/fesm2022/cuby-ui-core-ru-CMm--FpA.mjs +0 -25
  160. package/fesm2022/cuby-ui-core-ru-CMm--FpA.mjs.map +0 -1
  161. package/widgets/categories/categories.component.d.ts +0 -25
  162. package/widgets/categories/components/categories-list/categories-list.component.d.ts +0 -8
  163. package/widgets/categories/components/categories-list/index.d.ts +0 -1
  164. package/widgets/categories/components/category-form/category-form.component.d.ts +0 -28
  165. package/widgets/categories/components/category-form/index.d.ts +0 -1
  166. package/widgets/categories/components/category-item/category-item.component.d.ts +0 -42
  167. package/widgets/categories/components/category-item/index.d.ts +0 -1
  168. package/widgets/categories/components/create-category-item/create-category-item.component.d.ts +0 -10
  169. package/widgets/categories/components/create-category-item/index.d.ts +0 -1
  170. package/widgets/categories/components/index.d.ts +0 -2
  171. package/widgets/categories/index.d.ts +0 -2
  172. package/widgets/categories/services/index.d.ts +0 -1
  173. package/widgets/categories/services/selected-category.service.d.ts +0 -18
  174. package/widgets/checklist-block/checklist-block.component.d.ts +0 -21
  175. package/widgets/checklist-block/checklist-block.options.d.ts +0 -12
  176. package/widgets/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +0 -27
  177. package/widgets/checklist-block/components/checklist-block-list/index.d.ts +0 -1
  178. package/widgets/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +0 -30
  179. package/widgets/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +0 -1
  180. package/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.d.ts +0 -11
  181. package/widgets/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +0 -1
  182. package/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.d.ts +0 -10
  183. package/widgets/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +0 -1
  184. package/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +0 -41
  185. package/widgets/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +0 -5
  186. package/widgets/checklist-block/components/checklist-block-list-item-container/index.d.ts +0 -1
  187. package/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +0 -51
  188. package/widgets/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +0 -14
  189. package/widgets/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +0 -2
  190. package/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +0 -33
  191. package/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +0 -4
  192. package/widgets/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +0 -1
  193. package/widgets/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +0 -8
  194. package/widgets/checklist-block/components/checklist-block-title-control/index.d.ts +0 -1
  195. package/widgets/checklist-block/components/index.d.ts +0 -1
  196. package/widgets/checklist-block/index.d.ts +0 -1
  197. package/widgets/checklist-block/services/checklist-block.service.d.ts +0 -19
  198. package/widgets/checklist-block/services/index.d.ts +0 -1
  199. package/widgets/criterion-info/criterion-info.component.d.ts +0 -43
  200. package/widgets/criterion-info/index.d.ts +0 -1
  201. package/widgets/criterion-info-form/criterion-info-form.component.d.ts +0 -39
  202. package/widgets/criterion-info-form/criterion-info-form.options.d.ts +0 -7
  203. package/widgets/criterion-info-form/index.d.ts +0 -2
  204. package/widgets/criterion-readonly-info/criterion-readonly-info.component.d.ts +0 -26
  205. package/widgets/criterion-readonly-info/index.d.ts +0 -1
  206. package/widgets/delete-modal/delete-modal.component.d.ts +0 -13
  207. package/widgets/delete-modal/delete-modal.options.d.ts +0 -7
  208. package/widgets/delete-modal/index.d.ts +0 -2
  209. package/widgets/framer-preview/framer-preview.component.d.ts +0 -26
  210. package/widgets/framer-preview/framer-preview.options.d.ts +0 -5
  211. package/widgets/framer-preview/index.d.ts +0 -2
  212. package/widgets/general-control-error-hint/general-control-error-hint.component.d.ts +0 -9
  213. package/widgets/general-control-error-hint/index.d.ts +0 -1
  214. package/widgets/index.d.ts +0 -14
  215. package/widgets/instruction-info/index.d.ts +0 -1
  216. package/widgets/instruction-info/instruction-info.component.d.ts +0 -45
  217. package/widgets/instruction-info-form/index.d.ts +0 -2
  218. package/widgets/instruction-info-form/instruction-info-form.component.d.ts +0 -43
  219. package/widgets/instruction-info-form/instruction-info-form.options.d.ts +0 -9
  220. package/widgets/instruction-readonly-info/index.d.ts +0 -1
  221. package/widgets/instruction-readonly-info/instruction-readonly-info.component.d.ts +0 -26
  222. package/widgets/loader/index.d.ts +0 -1
  223. package/widgets/loader/loader.component.d.ts +0 -20
  224. package/widgets/select-modal/components/index.d.ts +0 -2
  225. package/widgets/select-modal/components/select-modal-folder/index.d.ts +0 -1
  226. package/widgets/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +0 -10
  227. package/widgets/select-modal/components/select-modal-search/index.d.ts +0 -1
  228. package/widgets/select-modal/components/select-modal-search/select-modal-search.component.d.ts +0 -12
  229. package/widgets/select-modal/index.d.ts +0 -3
  230. package/widgets/select-modal/select-modal.component.d.ts +0 -13
  231. package/widgets/select-modal/select-modal.interfaces.d.ts +0 -15
  232. package/widgets/select-modal/select-modal.service.d.ts +0 -13
  233. package/widgets/storage-list/components/index.d.ts +0 -1
  234. package/widgets/storage-list/components/storage-list-item/index.d.ts +0 -1
  235. package/widgets/storage-list/components/storage-list-item/storage-list-item.component.d.ts +0 -24
  236. package/widgets/storage-list/index.d.ts +0 -2
  237. package/widgets/storage-list/storage-list.component.d.ts +0 -10
  238. package/widgets/storage-list/storage-list.options.d.ts +0 -16
  239. package/widgets/user-action-context-menu/activity-item/activity-item.component.d.ts +0 -17
  240. package/widgets/user-action-context-menu/activity-item/index.d.ts +0 -1
  241. package/widgets/user-action-context-menu/company-item/company-item.component.d.ts +0 -22
  242. package/widgets/user-action-context-menu/company-item/index.d.ts +0 -1
  243. package/widgets/user-action-context-menu/constants/index.d.ts +0 -1
  244. package/widgets/user-action-context-menu/constants/translations.d.ts +0 -2
  245. package/widgets/user-action-context-menu/index.d.ts +0 -4
  246. package/widgets/user-action-context-menu/services/activity-base.service.d.ts +0 -14
  247. package/widgets/user-action-context-menu/services/activity.service.d.ts +0 -14
  248. package/widgets/user-action-context-menu/services/index.d.ts +0 -2
  249. package/widgets/user-action-context-menu/user-action-context-menu.component.d.ts +0 -29
  250. package/widgets/user-action-context-menu/user-action-context.option.d.ts +0 -15
  251. package/widgets/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +0 -18
  252. package/widgets/utility-modal/components/criterion-modal-create/index.d.ts +0 -1
  253. package/widgets/utility-modal/components/index.d.ts +0 -4
  254. package/widgets/utility-modal/components/instruction-modal-create/index.d.ts +0 -1
  255. package/widgets/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +0 -18
  256. package/widgets/utility-modal/components/readonly-criterion-modal/index.d.ts +0 -1
  257. package/widgets/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +0 -16
  258. package/widgets/utility-modal/components/readonly-instruction-modal/index.d.ts +0 -1
  259. package/widgets/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +0 -16
  260. package/widgets/utility-modal/components/readonly-utility-modal/index.d.ts +0 -1
  261. package/widgets/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +0 -18
  262. package/widgets/utility-modal/components/utility-modal-create/index.d.ts +0 -1
  263. package/widgets/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +0 -25
  264. package/widgets/utility-modal/index.d.ts +0 -3
  265. package/widgets/utility-modal/utility-modal.component.d.ts +0 -10
  266. package/widgets/utility-modal/utility-modal.options.d.ts +0 -12
  267. package/widgets/utility-readonly-thumbnail/index.d.ts +0 -1
  268. package/widgets/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +0 -8
  269. package/widgets/utility-thumbnail/index.d.ts +0 -1
  270. package/widgets/utility-thumbnail/utility-thumbnail.component.d.ts +0 -21
@@ -1,35 +0,0 @@
1
- import { UpperCasePipe } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, inject, input } from '@angular/core';
3
- import { CuiLetDirective } from '@cuby-ui/cdk';
4
- import { TranslocoDirective } from '@jsverse/transloco';
5
- import { CuiNodeChecklistApiService } from '@cuby-ui/api';
6
- import { CuiCheckListBlockListItemActionCardComponent } from '../checklist-block-list-item-action-card';
7
- import { CuiCheckListBlockService } from '../../services';
8
- import * as i0 from "@angular/core";
9
- export class CuiCheckListBlockListItemActionWithoutVerificationComponent {
10
- constructor() {
11
- this.nodeCheckListApiService = inject(CuiNodeChecklistApiService);
12
- this.checkListBlockService = inject(CuiCheckListBlockService);
13
- this.checkListItem = input.required();
14
- }
15
- onCheckListActionChanged(actionContent, actionId) {
16
- const requestData = {
17
- nodeCheckListId: this.checkListItem().id,
18
- assigneeActionType: 'ASSIGN',
19
- actionId,
20
- contentId: actionContent.id,
21
- isEnable: actionContent.isEnable,
22
- isRequired: actionContent.isRequired
23
- };
24
- this.nodeCheckListApiService
25
- .updateNodeCheckListItemActionContent(requestData)
26
- .subscribe((checkListItem) => this.checkListBlockService.updateCheckListItem(checkListItem));
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCheckListBlockListItemActionWithoutVerificationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiCheckListBlockListItemActionWithoutVerificationComponent, isStandalone: true, selector: "cui-checklist-block-list-item-action-without-verification", inputs: { checkListItem: { classPropertyName: "checkListItem", publicName: "checkListItem", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <ng-container *cuiLet=\"checkListItem().content as checkListItemContent\">\n <div class=\"action\">\n <div class=\"action__header\">\n {{ t('CONDITIONAL_LOGIC') | uppercase }}\n </div>\n <div class=\"action__content\">\n <div class=\"cards-container\">\n <cui-checklist-block-list-item-action-card\n [actionInfo]=\"checkListItemContent.actionsAssignee![0]\"\n (checkListActionChanged)=\"\n onCheckListActionChanged($event, checkListItemContent.actionsAssignee![0].id)\n \"\n />\n <cui-checklist-block-list-item-action-card\n [actionInfo]=\"checkListItemContent.actionsAssignee![1]\"\n (checkListActionChanged)=\"\n onCheckListActionChanged($event, checkListItemContent.actionsAssignee![1].id)\n \"\n />\n </div>\n </div>\n </div>\n </ng-container>\n</ng-container>\n", styles: [":host{padding-right:15px;padding-left:15px;padding-bottom:15px;border-radius:inherit}.action{display:flex;flex-direction:column;border:1px solid var(--cui-base-200);border-radius:8px}.action__content{padding:15px;display:flex;flex-direction:column;border-radius:8px;background:var(--cui-base-0);gap:16px}.action__header{font-weight:400;font-size:12px;line-height:14px;padding:15px 19px 15.5px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--cui-base-900);border-bottom:.5px solid var(--cui-base-200);border-radius:8px 8px 0 0}.cards-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-items:center;gap:16px}\n"], dependencies: [{ kind: "component", type: CuiCheckListBlockListItemActionCardComponent, selector: "cui-checklist-block-list-item-action-card", inputs: ["purposeType", "isConsiderationNeeded", "actionInfo"], outputs: ["consideredCorrectChanged", "checkListActionChanged"] }, { kind: "directive", type: CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "pipe", type: UpperCasePipe, name: "uppercase" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
- }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiCheckListBlockListItemActionWithoutVerificationComponent, decorators: [{
32
- type: Component,
33
- args: [{ selector: 'cui-checklist-block-list-item-action-without-verification', imports: [CuiCheckListBlockListItemActionCardComponent, CuiLetDirective, TranslocoDirective, UpperCasePipe], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n <ng-container *cuiLet=\"checkListItem().content as checkListItemContent\">\n <div class=\"action\">\n <div class=\"action__header\">\n {{ t('CONDITIONAL_LOGIC') | uppercase }}\n </div>\n <div class=\"action__content\">\n <div class=\"cards-container\">\n <cui-checklist-block-list-item-action-card\n [actionInfo]=\"checkListItemContent.actionsAssignee![0]\"\n (checkListActionChanged)=\"\n onCheckListActionChanged($event, checkListItemContent.actionsAssignee![0].id)\n \"\n />\n <cui-checklist-block-list-item-action-card\n [actionInfo]=\"checkListItemContent.actionsAssignee![1]\"\n (checkListActionChanged)=\"\n onCheckListActionChanged($event, checkListItemContent.actionsAssignee![1].id)\n \"\n />\n </div>\n </div>\n </div>\n </ng-container>\n</ng-container>\n", styles: [":host{padding-right:15px;padding-left:15px;padding-bottom:15px;border-radius:inherit}.action{display:flex;flex-direction:column;border:1px solid var(--cui-base-200);border-radius:8px}.action__content{padding:15px;display:flex;flex-direction:column;border-radius:8px;background:var(--cui-base-0);gap:16px}.action__header{font-weight:400;font-size:12px;line-height:14px;padding:15px 19px 15.5px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--cui-base-900);border-bottom:.5px solid var(--cui-base-200);border-radius:8px 8px 0 0}.cards-container{display:flex;flex-direction:row;flex-wrap:wrap;justify-items:center;gap:16px}\n"] }]
34
- }] });
35
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tsaXN0LWJsb2NrLWxpc3QtaXRlbS1hY3Rpb24td2l0aG91dC12ZXJpZmljYXRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL2NoZWNrbGlzdC1ibG9jay9jb21wb25lbnRzL2NoZWNrbGlzdC1ibG9jay1saXN0LWl0ZW0tYWN0aW9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MaXN0QWN0aW9uQ2hhbmdlZCk9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNoZWNrTGlzdEFjdGlvbkNoYW5nZWQoJGV2ZW50LCBjaGVja0xpc3RJdGVtQ29udGVudC5hY3Rpb25zQXNzaWduZWUhWzBdLmlkKVxuICAgICAgICAgICAgICAgICAgICAgICAgXCJcbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgPGN1aS1jaGVja2xpc3QtYmxvY2stbGlzdC1pdGVtLWFjdGlvbi1jYXJkXG4gICAgICAgICAgICAgICAgICAgICAgICBbYWN0aW9uSW5mb109XCJjaGVja0xpc3RJdGVtQ29udGVudC5hY3Rpb25zQXNzaWduZWUhWzFdXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChjaGVja0xpc3RBY3Rpb25DaGFuZ2VkKT1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2hlY2tMaXN0QWN0aW9uQ2hhbmdlZCgkZXZlbnQsIGNoZWNrTGlzdEl0ZW1Db250ZW50LmFjdGlvbnNBc3NpZ25lZSFbMV0uaWQpXG4gICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvbmctY29udGFpbmVyPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,2 +0,0 @@
1
- export { CuiCheckListBlockListItemActionWithoutVerificationComponent } from './checklist-block-list-item-action-without-verification.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvY2hlY2tsaXN0LWJsb2NrL2NvbXBvbmVudHMvY2hlY2tsaXN0LWJsb2NrLWxpc3QtaXRlbS1hY3Rpb24td2l0aG91dC12ZXJpZmljYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJEQUEyRCxFQUFFLE1BQU0sbUVBQW1FLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlDaGVja0xpc3RCbG9ja0xpc3RJdGVtQWN0aW9uV2l0aG91dFZlcmlmaWNhdGlvbkNvbXBvbmVudCB9IGZyb20gJy4vY2hlY2tsaXN0LWJsb2NrLWxpc3QtaXRlbS1hY3Rpb24td2l0aG91dC12ZXJpZmljYXRpb24uY29tcG9uZW50JztcbiJdfQ==
@@ -1,152 +0,0 @@
1
- import { NgComponentOutlet } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, computed, DestroyRef, inject, input, signal } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { NonNullableFormBuilder } from '@angular/forms';
5
- import { CuiElementDirective, CuiLetDirective, CuiDragPointerDirective } from '@cuby-ui/cdk';
6
- import { TranslocoDirective, TranslocoService } from '@jsverse/transloco';
7
- import { debounceTime, distinctUntilChanged } from 'rxjs';
8
- import { CuiTreeStructApiService, CuiNodeChecklistApiService } from '@cuby-ui/api';
9
- import { CuiTooltip } from '../../../../directives';
10
- import { CuiButtonModule, CuiContextMenuModule, CuiDialogService, CuiLabelModule, CuiSvgModule } from '../../../../components';
11
- import { CuiCheckListBlockService } from '../../services/checklist-block.service';
12
- import { CuiChecklistBlockTitleControlComponent } from '../checklist-block-title-control';
13
- import { CuiEditorBlockComponent } from '../../../../editor';
14
- import { CuiDeleteModalComponent } from '../../../../widgets';
15
- import { cuiCreateDefaultValidators } from '../../../../utils';
16
- import * as i0 from "@angular/core";
17
- import * as i1 from "../../../../directives/tooltip/tooltip.directive";
18
- import * as i2 from "../../../../components/button/button.component";
19
- import * as i3 from "../../../../components/context-menu/context-menu.component";
20
- import * as i4 from "../../../../components/svg/svg.component";
21
- export class CuiChecklistBlockListItemContainerComponent {
22
- constructor() {
23
- this.destroyRef = inject(DestroyRef);
24
- this.nonNullableFormBuilder = inject(NonNullableFormBuilder);
25
- this.translocoService = inject(TranslocoService);
26
- this.cuiDialogService = inject(CuiDialogService);
27
- this.treeStructApiService = inject(CuiTreeStructApiService);
28
- this.checkListBlockService = inject(CuiCheckListBlockService);
29
- this.nodeCheckListApiService = inject(CuiNodeChecklistApiService);
30
- this.DEFAULT_CONTROL_DELAY = 700;
31
- this.isOpen = signal(false);
32
- this.checkListBlockItem = input.required();
33
- this.config = input.required();
34
- this.index = input(0);
35
- this.componentId = this.checkListBlockService.componentId;
36
- this.rotate = computed(() => `rotate(${this.isOpen() ? '0deg' : '-90deg'})`);
37
- this.headerText = computed(() => this.checkListItem().title ? this.checkListItem().title : this.translocoService.translate('UNTITLED'));
38
- this.checkListItem = computed(() => this.checkListBlockItem().content);
39
- this.checkListItemComponent = computed(() => this.checkListBlockItem().component);
40
- this.checkListItemWithOptions = computed(() => ({
41
- ...this.checkListItem(),
42
- options: [
43
- {
44
- label: this.translocoService.translate('DUPLICATE'),
45
- icon: 'cuiIconCopy'
46
- },
47
- {
48
- label: this.translocoService.translate('DELETE'),
49
- icon: 'cuiIconTrash',
50
- color: 'var(--cui-danger)',
51
- command: this.openDeleteChecklistNodeModal.bind(this)
52
- }
53
- ]
54
- }));
55
- this.headerBorderColor = computed(() => {
56
- const checkListItem = this.checkListItem();
57
- if (checkListItem.content.actionsApprove !== null) {
58
- return 'var(--cui-violet-bg)';
59
- }
60
- if ('acceptanceCriteriaEvaluations' in checkListItem.content.actionsAssignee[0]) {
61
- return 'var(--cui-cyan-bg)';
62
- }
63
- return null;
64
- });
65
- this.iconChecklistType = computed(() => {
66
- const checkListItem = this.checkListItem();
67
- if (checkListItem.content.actionsApprove !== null) {
68
- return 'cuiIconUsersSm';
69
- }
70
- if ('acceptanceCriteriaEvaluations' in checkListItem.content.actionsAssignee[0]) {
71
- return 'cuiIconChecklist';
72
- }
73
- return 'cuiIconUserSm';
74
- });
75
- this.titleControl = this.nonNullableFormBuilder.control({ value: '', disabled: true }, cuiCreateDefaultValidators());
76
- }
77
- get isTitleEmpty() {
78
- return !this.titleControl.value;
79
- }
80
- get isTitleError() {
81
- return this.titleControl.invalid && this.titleControl.dirty;
82
- }
83
- ngOnInit() {
84
- this.initControls();
85
- }
86
- onRowToggle() {
87
- this.isOpen.update((prev) => !prev);
88
- }
89
- onAllowDrag() {
90
- this.checkListBlockService.toggleDragPermission(true);
91
- }
92
- onProhibitDrag() {
93
- this.checkListBlockService.toggleDragPermission(false);
94
- }
95
- initControls() {
96
- this.initTitleControlValue();
97
- this.initTitleControlSubscription();
98
- }
99
- initTitleControlValue() {
100
- this.titleControl.enable();
101
- this.titleControl.setValue(this.checkListItem().title ? this.checkListItem().title : '');
102
- }
103
- initTitleControlSubscription() {
104
- this.titleControl.valueChanges
105
- .pipe(debounceTime(this.DEFAULT_CONTROL_DELAY), distinctUntilChanged(), takeUntilDestroyed(this.destroyRef))
106
- .subscribe((titleValue) => {
107
- if (this.titleControl.invalid) {
108
- return;
109
- }
110
- this.nodeCheckListApiService
111
- .updateNodeCheckListItemTitle(this.checkListItem().id, titleValue)
112
- .subscribe(() => {
113
- this.checkListBlockService.updateCheckListItem({
114
- ...this.checkListItem(),
115
- title: titleValue
116
- });
117
- });
118
- });
119
- }
120
- openDeleteChecklistNodeModal() {
121
- const content = ['THIS_ACTION_WILL_PERMANENTLY_DELETE_THE_ITEM_FROM_CHECKLIST'];
122
- this.cuiDialogService
123
- .open(CuiDeleteModalComponent, {
124
- data: {
125
- title: 'DELETE_EVALUATION_CHECKLIST_ITEM_QUESTION',
126
- content,
127
- delete: () => this.treeStructApiService.deleteTreeStructElement(this.componentId(), this.checkListItem().id)
128
- }
129
- })
130
- .subscribe((data) => data?.canceled || this.checkListBlockService.deleteCheckListItem(this.checkListItem().id));
131
- }
132
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiChecklistBlockListItemContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
133
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiChecklistBlockListItemContainerComponent, isStandalone: true, selector: "cui-checklist-block-list-item-container", inputs: { checkListBlockItem: { classPropertyName: "checkListBlockItem", publicName: "checkListBlockItem", isSignal: true, isRequired: true, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null }, index: { classPropertyName: "index", publicName: "index", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <ng-container *cuiLet=\"checkListItemWithOptions() as checkListItem\">\n <header\n class=\"header\"\n [style.border-left-color]=\"headerBorderColor()\"\n [class.header__opened]=\"isOpen()\"\n >\n <button\n class=\"icon-drag\"\n cuiButton\n cuiDragPointer\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n [icon]=\"'cuiIconDragHandleDots'\"\n (mouseenter)=\"onAllowDrag()\"\n (mouseleave)=\"onProhibitDrag()\"\n ></button>\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n [style.transform]=\"rotate()\"\n icon=\"cuiIconCaretDownFillXxs\"\n (click)=\"onRowToggle()\"\n ></button>\n <cui-svg\n [icon]=\"iconChecklistType()\"\n color=\"var(--cui-base-500)\"\n />\n <div class=\"header__content\">\n <div class=\"header__numeration\">{{ index() }}.</div>\n <div class=\"header__text\">{{ headerText() }}</div>\n </div>\n @if (isTitleEmpty) {\n <cui-svg\n [cuiTooltip]=\"t('TITLE_IS_REQUIRED')\"\n icon=\"cuiIconAlertTriangle\"\n color=\"var(--cui-danger)\"\n class=\"icon\"\n />\n }\n <button\n #actionButton=\"elementRef\"\n cuiButton\n type=\"button\"\n cuiElement\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconMoreVertical\"\n class=\"list__context-menu-button\"\n ></button>\n <cui-context-menu\n [items]=\"checkListItem.options\"\n [target]=\"actionButton.nativeElement\"\n />\n </header>\n @if (isOpen()) {\n <div class=\"info\">\n <cui-checklist-block-title-control [control]=\"titleControl\" />\n <cui-editor-block\n [config]=\"config()\"\n [editorId]=\"checkListItem.textContainerId!\"\n [title]=\"titleControl.value\"\n />\n </div>\n <ng-container\n [ngComponentOutlet]=\"checkListItemComponent()\"\n [ngComponentOutletInputs]=\"{\n checkListItem: checkListItem\n }\"\n />\n }\n </ng-container>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;gap:16px;border-radius:inherit;background-color:var(--cui-base-0)}.header{padding-right:7px;padding-left:7px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:4px;background:var(--cui-base-0);border-radius:inherit;border-left:6px solid var(--cui-yellow-bg)}.header__content{display:flex;flex-direction:row;align-items:center;gap:8px;flex:1}.header__numeration{font-weight:600;font-size:13px;line-height:16px;padding-right:8px;padding-left:8px;display:flex;justify-content:center;align-items:center}.header__text{font-weight:500;font-size:14px;line-height:20px;padding-top:11px;padding-bottom:11px;flex:1;width:0;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.header__opened{background:var(--cui-badge-info-bg);border-bottom:.5px solid var(--cui-base-200);border-bottom-left-radius:0;border-bottom-right-radius:0}.header:hover{background:var(--cui-base-10)}.info{padding-right:15px;padding-left:15px;display:flex;flex-direction:column;gap:16px}.icon{padding:6px;width:max-content}\n"], dependencies: [{ kind: "directive", type: i1.CuiTooltipDirective, selector: "[cuiTooltip]:not(ng-container):not(ng-template)", inputs: ["cuiTooltipContext", "cuiTooltipAppearance", "cuiTooltip"] }, { kind: "component", type: CuiEditorBlockComponent, selector: "cui-editor-block", inputs: ["title", "editorId", "config", "required"], outputs: ["editorEmpty"] }, { kind: "component", type: CuiChecklistBlockTitleControlComponent, selector: "cui-checklist-block-title-control", inputs: ["control"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "ngmodule", type: CuiContextMenuModule }, { kind: "component", type: i3.CuiContextMenuComponent, selector: "cui-context-menu[items][target]", inputs: ["items", "target", "width", "withPaddings"] }, { kind: "directive", type: CuiElementDirective, selector: "[cuiElement]", exportAs: ["elementRef"] }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "directive", type: CuiLetDirective, selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i4.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "directive", type: CuiDragPointerDirective, selector: "[cuiDragPointer]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
134
- }
135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiChecklistBlockListItemContainerComponent, decorators: [{
136
- type: Component,
137
- args: [{ selector: 'cui-checklist-block-list-item-container', imports: [
138
- CuiTooltip,
139
- CuiEditorBlockComponent,
140
- CuiChecklistBlockTitleControlComponent,
141
- CuiButtonModule,
142
- CuiContextMenuModule,
143
- CuiElementDirective,
144
- CuiLabelModule,
145
- CuiLetDirective,
146
- CuiSvgModule,
147
- NgComponentOutlet,
148
- TranslocoDirective,
149
- CuiDragPointerDirective
150
- ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n <ng-container *cuiLet=\"checkListItemWithOptions() as checkListItem\">\n <header\n class=\"header\"\n [style.border-left-color]=\"headerBorderColor()\"\n [class.header__opened]=\"isOpen()\"\n >\n <button\n class=\"icon-drag\"\n cuiButton\n cuiDragPointer\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n [icon]=\"'cuiIconDragHandleDots'\"\n (mouseenter)=\"onAllowDrag()\"\n (mouseleave)=\"onProhibitDrag()\"\n ></button>\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n [style.transform]=\"rotate()\"\n icon=\"cuiIconCaretDownFillXxs\"\n (click)=\"onRowToggle()\"\n ></button>\n <cui-svg\n [icon]=\"iconChecklistType()\"\n color=\"var(--cui-base-500)\"\n />\n <div class=\"header__content\">\n <div class=\"header__numeration\">{{ index() }}.</div>\n <div class=\"header__text\">{{ headerText() }}</div>\n </div>\n @if (isTitleEmpty) {\n <cui-svg\n [cuiTooltip]=\"t('TITLE_IS_REQUIRED')\"\n icon=\"cuiIconAlertTriangle\"\n color=\"var(--cui-danger)\"\n class=\"icon\"\n />\n }\n <button\n #actionButton=\"elementRef\"\n cuiButton\n type=\"button\"\n cuiElement\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconMoreVertical\"\n class=\"list__context-menu-button\"\n ></button>\n <cui-context-menu\n [items]=\"checkListItem.options\"\n [target]=\"actionButton.nativeElement\"\n />\n </header>\n @if (isOpen()) {\n <div class=\"info\">\n <cui-checklist-block-title-control [control]=\"titleControl\" />\n <cui-editor-block\n [config]=\"config()\"\n [editorId]=\"checkListItem.textContainerId!\"\n [title]=\"titleControl.value\"\n />\n </div>\n <ng-container\n [ngComponentOutlet]=\"checkListItemComponent()\"\n [ngComponentOutletInputs]=\"{\n checkListItem: checkListItem\n }\"\n />\n }\n </ng-container>\n</ng-container>\n", styles: [":host{display:flex;flex-direction:column;gap:16px;border-radius:inherit;background-color:var(--cui-base-0)}.header{padding-right:7px;padding-left:7px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:4px;background:var(--cui-base-0);border-radius:inherit;border-left:6px solid var(--cui-yellow-bg)}.header__content{display:flex;flex-direction:row;align-items:center;gap:8px;flex:1}.header__numeration{font-weight:600;font-size:13px;line-height:16px;padding-right:8px;padding-left:8px;display:flex;justify-content:center;align-items:center}.header__text{font-weight:500;font-size:14px;line-height:20px;padding-top:11px;padding-bottom:11px;flex:1;width:0;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.header__opened{background:var(--cui-badge-info-bg);border-bottom:.5px solid var(--cui-base-200);border-bottom-left-radius:0;border-bottom-right-radius:0}.header:hover{background:var(--cui-base-10)}.info{padding-right:15px;padding-left:15px;display:flex;flex-direction:column;gap:16px}.icon{padding:6px;width:max-content}\n"] }]
151
- }] });
152
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tsaXN0LWJsb2NrLWxpc3QtaXRlbS1jb250YWluZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL2NoZWNrbGlzdC1ibG9jay9jb21wb25lbnRzL2NoZWNrbGlzdC1ibG9jay1saXN0LWl0ZW0tY29udGFpbmVyL2NoZWNrbGlzdC1ibG9jay1saXN0LWl0ZW0tY29udGFpbmVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy9jaGVja2xpc3QtYmxvY2svY29tcG9uZW50cy9jaGVja2xpc3QtYmxvY2stbGlzdC1pdGVtLWNvbnRhaW5lci9jaGVja2xpc3QtYmxvY2stbGlzdC1pdGVtLWNvbnRhaW5lci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJ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tTZXJ2aWNlLnVwZGF0ZUNoZWNrTGlzdEl0ZW0oe1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIC4uLnRoaXMuY2hlY2tMaXN0SXRlbSgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRpdGxlOiB0aXRsZVZhbHVlXG4gICAgICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9KTtcbiAgICB9XG5cbiAgICBwcml2YXRlIG9wZW5EZWxldGVDaGVja2xpc3ROb2RlTW9kYWwoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGNvbnRlbnQgPSBbJ1RISVNfQUNUSU9OX1dJTExfUEVSTUFORU5UTFlfREVMRVRFX1RIRV9JVEVNX0ZST01fQ0hFQ0tMSVNUJ107XG5cbiAgICAgICAgdGhpcy5jdWlEaWFsb2dTZXJ2aWNlXG4gICAgICAgICAgICAub3BlbihDdWlEZWxldGVNb2RhbENvbXBvbmVudCwge1xuICAgICAgICAgICAgICAgIGRhdGE6IHtcbiAgICAgICAgICAgICAgICAgICAgdGl0bGU6ICdERUxFVEVfRVZBTFVBVElPTl9DSEVDS0xJU1RfSVRFTV9RVUVTVElPTicsXG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQsXG4gICAgICAgICAgICAgICAgICAgIGRlbGV0ZTogKCkgPT5cbiAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMudHJlZVN0cnVjdEFwaVNlcnZpY2UuZGVsZXRlVHJlZVN0cnVjdEVsZW1lbnQodGhpcy5jb21wb25lbnRJZCgpISwgdGhpcy5jaGVja0xpc3RJdGVtKCkuaWQpXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSlcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoXG4gICAgICAgICAgICAgICAgKGRhdGEpID0+IGRhdGE/LmNhbmNlbGVkIHx8IHRoaXMuY2hlY2tMaXN0QmxvY2tTZXJ2aWNlLmRlbGV0ZUNoZWNrTGlzdEl0ZW0odGhpcy5jaGVja0xpc3RJdGVtKCkuaWQpXG4gICAgICAgICAgICApO1xuICAgIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKnRyYW5zbG9jbz1cImxldCB0XCI+XG4gICAgPG5nLWNvbnRhaW5lciAqY3VpTGV0PVwiY2hlY2tMaXN0SXRlbVdpdGhPcHRpb25zKCkgYXMgY2hlY2tMaXN0SXRlbVwiPlxuICAgICAgICA8aGVhZGVyXG4gICAgICAgICAgICBjbGFzcz1cImhlYWRlclwiXG4gICAgICAgICAgICBbc3R5bGUuYm9yZGVyLWxlZnQtY29sb3JdPVwiaGVhZGVyQm9yZGVyQ29sb3IoKVwiXG4gICAgICAgICAgICBbY2xhc3MuaGVhZGVyX19vcGVuZWRdPVwiaXNPcGVuKClcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJpY29uLWRyYWdcIlxuICAgICAgICAgICAgICAgIGN1aUJ1dHRvblxuICAgICAgICAgICAgICAgIGN1aURyYWdQb2ludGVyXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgYXBwZWFyYW5jZT1cImdob3N0XCJcbiAgICAgICAgICAgICAgICBzaXplPVwieHhzXCJcbiAgICAgICAgICAgICAgICBbaWNvbl09XCInY3VpSWNvbkRyYWdIYW5kbGVEb3RzJ1wiXG4gICAgICAgICAgICAgICAgKG1vdXNlZW50ZXIpPVwib25BbGxvd0RyYWcoKVwiXG4gICAgICAgICAgICAgICAgKG1vdXNlbGVhdmUpPVwib25Qcm9oaWJpdERyYWcoKVwiXG4gICAgICAgICAgICA+PC9idXR0b24+XG4gICAgICAgICAgICA8YnV0dG9uXG4gICAgICAgICAgICAgICAgY3VpQnV0dG9uXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgYXBwZWFyYW5jZT1cImdob3N0XCJcbiAgICAgICAgICAgICAgICBzaXplPVwieHhzXCJcbiAgICAgICAgICAgICAgICBbc3R5bGUudHJhbnNmb3JtXT1cInJvdGF0ZSgpXCJcbiAgICAgICAgICAgICAgICBpY29uPVwiY3VpSWNvbkNhcmV0RG93bkZpbGxYeHNcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJvblJvd1RvZ2dsZSgpXCJcbiAgICAgICAgICAgID48L2J1dHRvbj5cbiAgICAgICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICAgICAgW2ljb25dPVwiaWNvbkNoZWNrbGlzdFR5cGUoKVwiXG4gICAgICAgICAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktYmFzZS01MDApXCJcbiAgICAgICAgICAgIC8+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVhZGVyX19jb250ZW50XCI+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImhlYWRlcl9fbnVtZXJhdGlvblwiPnt7IGluZGV4KCkgfX0uPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImhlYWRlcl9fdGV4dFwiPnt7IGhlYWRlclRleHQoKSB9fTwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICBAaWYgKGlzVGl0bGVFbXB0eSkge1xuICAgICAgICAgICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICAgICAgICAgIFtjdWlUb29sdGlwXT1cInQoJ1RJVExFX0lTX1JFUVVJUkVEJylcIlxuICAgICAgICAgICAgICAgICAgICBpY29uPVwiY3VpSWNvbkFsZXJ0VHJpYW5nbGVcIlxuICAgICAgICAgICAgICAgICAgICBjb2xvcj1cInZhcigtLWN1aS1kYW5nZXIpXCJcbiAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJpY29uXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfVxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICNhY3Rpb25CdXR0b249XCJlbGVtZW50UmVmXCJcbiAgICAgICAgICAgICAgICBjdWlCdXR0b25cbiAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICBjdWlFbGVtZW50XG4gICAgICAgICAgICAgICAgYXBwZWFyYW5jZT1cImdob3N0XCJcbiAgICAgICAgICAgICAgICBzaXplPVwieHhzXCJcbiAgICAgICAgICAgICAgICBpY29uPVwiY3VpSWNvbk1vcmVWZXJ0aWNhbFwiXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJsaXN0X19jb250ZXh0LW1lbnUtYnV0dG9uXCJcbiAgICAgICAgICAgID48L2J1dHRvbj5cbiAgICAgICAgICAgIDxjdWktY29udGV4dC1tZW51XG4gICAgICAgICAgICAgICAgW2l0ZW1zXT1cImNoZWNrTGlzdEl0ZW0ub3B0aW9uc1wiXG4gICAgICAgICAgICAgICAgW3RhcmdldF09XCJhY3Rpb25CdXR0b24ubmF0aXZlRWxlbWVudFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICA8L2hlYWRlcj5cbiAgICAgICAgQGlmIChpc09wZW4oKSkge1xuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImluZm9cIj5cbiAgICAgICAgICAgICAgICA8Y3VpLWNoZWNrbGlzdC1ibG9jay10aXRsZS1jb250cm9sIFtjb250cm9sXT1cInRpdGxlQ29udHJvbFwiIC8+XG4gICAgICAgICAgICAgICAgPGN1aS1lZGl0b3ItYmxvY2tcbiAgICAgICAgICAgICAgICAgICAgW2NvbmZpZ109XCJjb25maWcoKVwiXG4gICAgICAgICAgICAgICAgICAgIFtlZGl0b3JJZF09XCJjaGVja0xpc3RJdGVtLnRleHRDb250YWluZXJJZCFcIlxuICAgICAgICAgICAgICAgICAgICBbdGl0bGVdPVwidGl0bGVDb250cm9sLnZhbHVlXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0XT1cImNoZWNrTGlzdEl0ZW1Db21wb25lbnQoKVwiXG4gICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0SW5wdXRzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgY2hlY2tMaXN0SXRlbTogY2hlY2tMaXN0SXRlbVxuICAgICAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgfVxuICAgIDwvbmctY29udGFpbmVyPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tsaXN0LWJsb2NrLWxpc3QtaXRlbS1jb250YWluZXIub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy9jaGVja2xpc3QtYmxvY2svY29tcG9uZW50cy9jaGVja2xpc3QtYmxvY2stbGlzdC1pdGVtLWNvbnRhaW5lci9jaGVja2xpc3QtYmxvY2stbGlzdC1pdGVtLWNvbnRhaW5lci5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOb2RlQ2hlY2tMaXN0SXRlbSB9IGZyb20gJ0BjdWJ5LXVpL2FwaSc7XG5cbmltcG9ydCB7IEN1aUNvbnRleHRNZW51SXRlbSB9IGZyb20gJy4uLy4uLy4uLy4uL2ludGVyZmFjZXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIEN1aU5vZGVDaGVja0xpc3RJdGVtV2l0aE9wdGlvbjxUPiBleHRlbmRzIE5vZGVDaGVja0xpc3RJdGVtPFQ+IHtcbiAgICByZWFkb25seSBvcHRpb25zOiBDdWlDb250ZXh0TWVudUl0ZW1bXTtcbn1cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export { CuiChecklistBlockListItemContainerComponent } from './checklist-block-list-item-container.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvY2hlY2tsaXN0LWJsb2NrL2NvbXBvbmVudHMvY2hlY2tsaXN0LWJsb2NrLWxpc3QtaXRlbS1jb250YWluZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJDQUEyQyxFQUFFLE1BQU0saURBQWlELENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlDaGVja2xpc3RCbG9ja0xpc3RJdGVtQ29udGFpbmVyQ29tcG9uZW50IH0gZnJvbSAnLi9jaGVja2xpc3QtYmxvY2stbGlzdC1pdGVtLWNvbnRhaW5lci5jb21wb25lbnQnO1xuIl19