@cuby-ui/core 0.0.448 → 0.0.451

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 (404) hide show
  1. package/components/index.d.ts +0 -1
  2. package/esm2022/components/index.mjs +1 -2
  3. package/esm2022/index.mjs +2 -1
  4. package/esm2022/widgets/assets/constants/index.mjs +2 -0
  5. package/esm2022/widgets/assets/constants/translations.mjs +5 -0
  6. package/esm2022/widgets/assets/i18n/en.json +45 -0
  7. package/esm2022/widgets/assets/i18n/ru.json +45 -0
  8. package/esm2022/widgets/assets/index.mjs +2 -0
  9. package/esm2022/widgets/index.mjs +5 -0
  10. package/esm2022/widgets/model/index.mjs +10 -0
  11. package/esm2022/widgets/model/resource-state-service.interface.mjs +2 -0
  12. package/esm2022/widgets/model/resource-state-service.token.mjs +3 -0
  13. package/esm2022/widgets/model/resources-block.options.mjs +2 -0
  14. package/esm2022/widgets/model/subject-modal-service.interface.mjs +2 -0
  15. package/esm2022/widgets/model/subject-modal-service.token.mjs +3 -0
  16. package/esm2022/widgets/model/used-elements-service.interface.mjs +2 -0
  17. package/esm2022/widgets/model/used-elements-service.token.mjs +3 -0
  18. package/esm2022/widgets/model/utility-service.interface.mjs +2 -0
  19. package/esm2022/widgets/model/utility-service.token.mjs +3 -0
  20. package/esm2022/widgets/service/index.mjs +5 -0
  21. package/esm2022/widgets/service/resource-state-base.service.mjs +19 -0
  22. package/esm2022/widgets/service/subject-modal-base.service.mjs +15 -0
  23. package/esm2022/widgets/service/used-elements-base.service.mjs +17 -0
  24. package/esm2022/widgets/service/utility-base.service.mjs +129 -0
  25. package/esm2022/widgets/ui/assignee-role-item/assignee-role-item.component.mjs +31 -0
  26. package/esm2022/widgets/ui/assignee-role-item/index.mjs +2 -0
  27. package/esm2022/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.mjs +48 -0
  28. package/esm2022/widgets/ui/assignee-roles-tabs/index.mjs +2 -0
  29. package/esm2022/widgets/ui/categories/categories.component.mjs +78 -0
  30. package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs +17 -0
  31. package/esm2022/widgets/ui/categories/components/categories-list/index.mjs +2 -0
  32. package/esm2022/widgets/ui/categories/components/category-form/category-form.component.mjs +79 -0
  33. package/esm2022/widgets/ui/categories/components/category-form/index.mjs +2 -0
  34. package/esm2022/widgets/ui/categories/components/category-item/category-item.component.mjs +126 -0
  35. package/esm2022/widgets/ui/categories/components/category-item/index.mjs +2 -0
  36. package/esm2022/widgets/ui/categories/components/create-category-item/create-category-item.component.mjs +25 -0
  37. package/esm2022/widgets/ui/categories/components/create-category-item/index.mjs +2 -0
  38. package/esm2022/widgets/ui/categories/components/index.mjs +3 -0
  39. package/esm2022/widgets/ui/categories/index.mjs +3 -0
  40. package/esm2022/widgets/ui/categories/services/index.mjs +2 -0
  41. package/esm2022/widgets/ui/categories/services/selected-category.service.mjs +38 -0
  42. package/esm2022/widgets/ui/checklist-block/checklist-block.component.mjs +75 -0
  43. package/esm2022/widgets/ui/checklist-block/checklist-block.options.mjs +2 -0
  44. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +85 -0
  45. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/index.mjs +2 -0
  46. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +133 -0
  47. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.mjs +2 -0
  48. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.mjs +45 -0
  49. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +2 -0
  50. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.mjs +35 -0
  51. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +2 -0
  52. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +152 -0
  53. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +2 -0
  54. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.mjs +2 -0
  55. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +282 -0
  56. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +2 -0
  57. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +2 -0
  58. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +117 -0
  59. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +2 -0
  60. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +2 -0
  61. package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +39 -0
  62. package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/index.mjs +2 -0
  63. package/esm2022/widgets/ui/checklist-block/components/index.mjs +2 -0
  64. package/esm2022/widgets/ui/checklist-block/index.mjs +2 -0
  65. package/esm2022/widgets/ui/checklist-block/services/checklist-block.service.mjs +50 -0
  66. package/esm2022/widgets/ui/checklist-block/services/index.mjs +2 -0
  67. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.mjs +78 -0
  68. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.mjs +2 -0
  69. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/index.mjs +3 -0
  70. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.mjs +17 -0
  71. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.mjs +2 -0
  72. package/esm2022/widgets/ui/consumable-form/components/index.mjs +4 -0
  73. package/esm2022/widgets/ui/consumable-form/consumable-form.component.mjs +184 -0
  74. package/esm2022/widgets/ui/consumable-form/consumable-form.options.mjs +2 -0
  75. package/esm2022/widgets/ui/consumable-form/index.mjs +2 -0
  76. package/esm2022/widgets/ui/criterion-info/criterion-info.component.mjs +137 -0
  77. package/esm2022/widgets/ui/criterion-info/index.mjs +2 -0
  78. package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.component.mjs +147 -0
  79. package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.options.mjs +2 -0
  80. package/esm2022/widgets/ui/criterion-info-form/index.mjs +2 -0
  81. package/esm2022/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.mjs +72 -0
  82. package/esm2022/widgets/ui/criterion-readonly-info/index.mjs +2 -0
  83. package/esm2022/widgets/ui/delete-modal/delete-modal.component.mjs +39 -0
  84. package/esm2022/widgets/ui/delete-modal/delete-modal.options.mjs +2 -0
  85. package/esm2022/widgets/ui/delete-modal/index.mjs +2 -0
  86. package/esm2022/widgets/ui/framer-preview/framer-preview.component.mjs +77 -0
  87. package/esm2022/widgets/ui/framer-preview/framer-preview.options.mjs +2 -0
  88. package/esm2022/widgets/ui/framer-preview/index.mjs +2 -0
  89. package/esm2022/widgets/ui/general-control-error-hint/general-control-error-hint.component.mjs +21 -0
  90. package/esm2022/widgets/ui/general-control-error-hint/index.mjs +2 -0
  91. package/esm2022/widgets/ui/index.mjs +25 -0
  92. package/esm2022/widgets/ui/inserted/index.mjs +2 -2
  93. package/esm2022/widgets/ui/instruction-info/index.mjs +2 -0
  94. package/esm2022/widgets/ui/instruction-info/instruction-info.component.mjs +147 -0
  95. package/esm2022/widgets/ui/instruction-info-form/index.mjs +2 -0
  96. package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.component.mjs +153 -0
  97. package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.options.mjs +2 -0
  98. package/esm2022/widgets/ui/instruction-readonly-info/index.mjs +2 -0
  99. package/esm2022/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.mjs +72 -0
  100. package/esm2022/widgets/ui/loader/index.mjs +2 -0
  101. package/esm2022/widgets/ui/loader/loader.component.mjs +36 -0
  102. package/esm2022/widgets/ui/modal-criteria-tab/index.mjs +2 -0
  103. package/esm2022/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.mjs +45 -0
  104. package/esm2022/widgets/ui/modal-divided-section/index.mjs +3 -0
  105. package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.component.mjs +55 -0
  106. package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.interfaces.mjs +2 -0
  107. package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +2 -2
  108. package/esm2022/widgets/ui/modal-header-inserted-buttons/index.mjs +2 -0
  109. package/esm2022/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.mjs +22 -0
  110. package/esm2022/widgets/ui/modal-header-tabs/index.mjs +2 -0
  111. package/esm2022/widgets/ui/modal-header-tabs/modal-header-tabs.component.mjs +19 -0
  112. package/esm2022/widgets/ui/modal-info-tab/index.mjs +3 -0
  113. package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.component.mjs +19 -0
  114. package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.options.mjs +2 -0
  115. package/esm2022/widgets/ui/modal-instructions-tab/index.mjs +2 -0
  116. package/esm2022/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.mjs +31 -0
  117. package/esm2022/widgets/ui/modal-operation-part/index.mjs +2 -0
  118. package/esm2022/widgets/ui/modal-operation-part/modal-operation-part.component.mjs +114 -0
  119. package/esm2022/widgets/ui/modal-resources-tab/index.mjs +2 -0
  120. package/esm2022/widgets/ui/modal-resources-tab/modal-resources-tab.component.mjs +33 -0
  121. package/esm2022/widgets/ui/render-dynamic-modal/index.mjs +3 -0
  122. package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.mjs +29 -0
  123. package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.mjs +2 -0
  124. package/esm2022/widgets/ui/resources-block/components/index.mjs +4 -0
  125. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/index.mjs +2 -0
  126. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.mjs +53 -0
  127. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.mjs +2 -0
  128. package/esm2022/widgets/ui/resources-block/components/resources-block-content/index.mjs +2 -0
  129. package/esm2022/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.mjs +38 -0
  130. package/esm2022/widgets/ui/resources-block/components/resources-block-part/index.mjs +2 -0
  131. package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.mjs +57 -0
  132. package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.mjs +2 -0
  133. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/index.mjs +2 -0
  134. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.mjs +56 -0
  135. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
  136. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/index.mjs +2 -0
  137. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.mjs +56 -0
  138. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.mjs +2 -0
  139. package/esm2022/widgets/ui/resources-block/components/resources-options/index.mjs +2 -0
  140. package/esm2022/widgets/ui/resources-block/components/resources-options/resources-options.component.mjs +42 -0
  141. package/esm2022/widgets/ui/resources-block/index.mjs +3 -0
  142. package/esm2022/widgets/ui/resources-block/resources-block.component.mjs +137 -0
  143. package/esm2022/widgets/ui/resources-block-tabs/index.mjs +2 -0
  144. package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.component.mjs +57 -0
  145. package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
  146. package/esm2022/widgets/ui/select-modal/components/index.mjs +3 -0
  147. package/esm2022/widgets/ui/select-modal/components/select-modal-folder/index.mjs +2 -0
  148. package/esm2022/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +21 -0
  149. package/esm2022/widgets/ui/select-modal/components/select-modal-search/index.mjs +2 -0
  150. package/esm2022/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.mjs +32 -0
  151. package/esm2022/widgets/ui/select-modal/index.mjs +4 -0
  152. package/esm2022/widgets/ui/select-modal/select-modal.component.mjs +35 -0
  153. package/esm2022/widgets/ui/select-modal/select-modal.interfaces.mjs +2 -0
  154. package/esm2022/widgets/ui/select-modal/select-modal.service.mjs +23 -0
  155. package/esm2022/widgets/ui/storage-list/components/index.mjs +2 -0
  156. package/esm2022/widgets/ui/storage-list/components/storage-list-item/index.mjs +2 -0
  157. package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs +87 -0
  158. package/esm2022/widgets/ui/storage-list/index.mjs +3 -0
  159. package/esm2022/widgets/ui/storage-list/storage-list.component.mjs +17 -0
  160. package/esm2022/widgets/ui/storage-list/storage-list.options.mjs +3 -0
  161. package/esm2022/widgets/ui/toolbox-form/components/index.mjs +2 -0
  162. package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/index.mjs +2 -0
  163. package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.mjs +19 -0
  164. package/esm2022/widgets/ui/toolbox-form/index.mjs +3 -0
  165. package/esm2022/widgets/ui/toolbox-form/tool-form.component.mjs +106 -0
  166. package/esm2022/widgets/ui/toolbox-form/tool-form.options.mjs +2 -0
  167. package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs +61 -0
  168. package/esm2022/widgets/ui/user-action-context-menu/activity-item/index.mjs +2 -0
  169. package/esm2022/widgets/ui/user-action-context-menu/company-item/company-item.component.mjs +68 -0
  170. package/esm2022/widgets/ui/user-action-context-menu/company-item/index.mjs +2 -0
  171. package/esm2022/widgets/ui/user-action-context-menu/index.mjs +4 -0
  172. package/esm2022/widgets/ui/user-action-context-menu/services/activity-base.service.mjs +32 -0
  173. package/esm2022/widgets/ui/user-action-context-menu/services/activity.service.mjs +35 -0
  174. package/esm2022/widgets/ui/user-action-context-menu/services/index.mjs +3 -0
  175. package/esm2022/widgets/ui/user-action-context-menu/user-action-context-menu.component.mjs +83 -0
  176. package/esm2022/widgets/ui/user-action-context-menu/user-action-context.option.mjs +3 -0
  177. package/esm2022/widgets/ui/utility-info-readonly/index.mjs +3 -0
  178. package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.component.mjs +85 -0
  179. package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.options.mjs +2 -0
  180. package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +41 -0
  181. package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/index.mjs +2 -0
  182. package/esm2022/widgets/ui/utility-modal/components/index.mjs +5 -0
  183. package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/index.mjs +2 -0
  184. package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +41 -0
  185. package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/index.mjs +2 -0
  186. package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +40 -0
  187. package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/index.mjs +2 -0
  188. package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +40 -0
  189. package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/index.mjs +2 -0
  190. package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +43 -0
  191. package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/index.mjs +2 -0
  192. package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +55 -0
  193. package/esm2022/widgets/ui/utility-modal/index.mjs +4 -0
  194. package/esm2022/widgets/ui/utility-modal/utility-modal.component.mjs +22 -0
  195. package/esm2022/widgets/ui/utility-modal/utility-modal.options.mjs +3 -0
  196. package/esm2022/widgets/ui/utility-readonly-thumbnail/index.mjs +2 -0
  197. package/esm2022/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +15 -0
  198. package/esm2022/widgets/ui/utility-thumbnail/index.mjs +2 -0
  199. package/esm2022/widgets/ui/utility-thumbnail/utility-thumbnail.component.mjs +95 -0
  200. package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs +91 -0
  201. package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs.map +1 -0
  202. package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs +91 -0
  203. package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs.map +1 -0
  204. package/fesm2022/cuby-ui-core.mjs +4178 -18
  205. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  206. package/index.d.ts +1 -0
  207. package/package.json +4 -4
  208. package/widgets/assets/constants/index.d.ts +1 -0
  209. package/widgets/assets/constants/translations.d.ts +2 -0
  210. package/widgets/assets/index.d.ts +1 -0
  211. package/widgets/index.d.ts +4 -0
  212. package/widgets/model/index.d.ts +9 -0
  213. package/widgets/model/resource-state-service.interface.d.ts +4 -0
  214. package/widgets/model/resource-state-service.token.d.ts +3 -0
  215. package/widgets/model/resources-block.options.d.ts +15 -0
  216. package/widgets/model/subject-modal-service.interface.d.ts +7 -0
  217. package/widgets/model/subject-modal-service.token.d.ts +3 -0
  218. package/widgets/model/used-elements-service.interface.d.ts +5 -0
  219. package/widgets/model/used-elements-service.token.d.ts +3 -0
  220. package/widgets/model/utility-service.interface.d.ts +23 -0
  221. package/widgets/model/utility-service.token.d.ts +3 -0
  222. package/widgets/service/index.d.ts +4 -0
  223. package/widgets/service/resource-state-base.service.d.ts +10 -0
  224. package/widgets/service/subject-modal-base.service.d.ts +11 -0
  225. package/widgets/service/used-elements-base.service.d.ts +11 -0
  226. package/widgets/service/utility-base.service.d.ts +29 -0
  227. package/widgets/ui/assignee-role-item/assignee-role-item.component.d.ts +12 -0
  228. package/widgets/ui/assignee-role-item/index.d.ts +1 -0
  229. package/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.d.ts +18 -0
  230. package/widgets/ui/assignee-roles-tabs/index.d.ts +1 -0
  231. package/widgets/ui/categories/categories.component.d.ts +25 -0
  232. package/widgets/ui/categories/components/categories-list/categories-list.component.d.ts +8 -0
  233. package/widgets/ui/categories/components/categories-list/index.d.ts +1 -0
  234. package/widgets/ui/categories/components/category-form/category-form.component.d.ts +28 -0
  235. package/widgets/ui/categories/components/category-form/index.d.ts +1 -0
  236. package/widgets/ui/categories/components/category-item/category-item.component.d.ts +42 -0
  237. package/widgets/ui/categories/components/category-item/index.d.ts +1 -0
  238. package/widgets/ui/categories/components/create-category-item/create-category-item.component.d.ts +10 -0
  239. package/widgets/ui/categories/components/create-category-item/index.d.ts +1 -0
  240. package/widgets/ui/categories/components/index.d.ts +2 -0
  241. package/widgets/ui/categories/index.d.ts +2 -0
  242. package/widgets/ui/categories/services/index.d.ts +1 -0
  243. package/widgets/ui/categories/services/selected-category.service.d.ts +18 -0
  244. package/widgets/ui/checklist-block/checklist-block.component.d.ts +21 -0
  245. package/widgets/ui/checklist-block/checklist-block.options.d.ts +12 -0
  246. package/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +27 -0
  247. package/widgets/ui/checklist-block/components/checklist-block-list/index.d.ts +1 -0
  248. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +30 -0
  249. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +1 -0
  250. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/checklist-block-list-item-action-with-verification.component.d.ts +11 -0
  251. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +1 -0
  252. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/checklist-block-list-item-action-without-verification.component.d.ts +10 -0
  253. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +1 -0
  254. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +41 -0
  255. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +5 -0
  256. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.d.ts +1 -0
  257. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +51 -0
  258. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +14 -0
  259. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +2 -0
  260. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +33 -0
  261. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +4 -0
  262. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +1 -0
  263. package/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +8 -0
  264. package/widgets/ui/checklist-block/components/checklist-block-title-control/index.d.ts +1 -0
  265. package/widgets/ui/checklist-block/components/index.d.ts +1 -0
  266. package/widgets/ui/checklist-block/index.d.ts +1 -0
  267. package/widgets/ui/checklist-block/services/checklist-block.service.d.ts +19 -0
  268. package/widgets/ui/checklist-block/services/index.d.ts +1 -0
  269. package/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.d.ts +31 -0
  270. package/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.d.ts +1 -0
  271. package/widgets/ui/consumable-form/components/consumable-form-item/index.d.ts +2 -0
  272. package/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.d.ts +8 -0
  273. package/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.d.ts +1 -0
  274. package/widgets/ui/consumable-form/components/index.d.ts +3 -0
  275. package/widgets/ui/consumable-form/consumable-form.component.d.ts +46 -0
  276. package/widgets/ui/consumable-form/consumable-form.options.d.ts +22 -0
  277. package/widgets/ui/consumable-form/index.d.ts +1 -0
  278. package/widgets/ui/criterion-info/criterion-info.component.d.ts +43 -0
  279. package/widgets/ui/criterion-info/index.d.ts +1 -0
  280. package/widgets/ui/criterion-info-form/criterion-info-form.component.d.ts +39 -0
  281. package/widgets/ui/criterion-info-form/criterion-info-form.options.d.ts +7 -0
  282. package/widgets/ui/criterion-info-form/index.d.ts +2 -0
  283. package/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.d.ts +26 -0
  284. package/widgets/ui/criterion-readonly-info/index.d.ts +1 -0
  285. package/widgets/ui/delete-modal/delete-modal.component.d.ts +13 -0
  286. package/widgets/ui/delete-modal/delete-modal.options.d.ts +7 -0
  287. package/widgets/ui/delete-modal/index.d.ts +2 -0
  288. package/widgets/ui/framer-preview/framer-preview.component.d.ts +26 -0
  289. package/widgets/ui/framer-preview/framer-preview.options.d.ts +5 -0
  290. package/widgets/ui/framer-preview/index.d.ts +2 -0
  291. package/widgets/ui/general-control-error-hint/general-control-error-hint.component.d.ts +9 -0
  292. package/widgets/ui/general-control-error-hint/index.d.ts +1 -0
  293. package/widgets/ui/index.d.ts +24 -0
  294. package/widgets/ui/inserted/index.d.ts +1 -1
  295. package/widgets/ui/instruction-info/index.d.ts +1 -0
  296. package/widgets/ui/instruction-info/instruction-info.component.d.ts +45 -0
  297. package/widgets/ui/instruction-info-form/index.d.ts +2 -0
  298. package/widgets/ui/instruction-info-form/instruction-info-form.component.d.ts +43 -0
  299. package/widgets/ui/instruction-info-form/instruction-info-form.options.d.ts +9 -0
  300. package/widgets/ui/instruction-readonly-info/index.d.ts +1 -0
  301. package/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.d.ts +26 -0
  302. package/widgets/ui/loader/index.d.ts +1 -0
  303. package/widgets/ui/loader/loader.component.d.ts +20 -0
  304. package/widgets/ui/modal-criteria-tab/index.d.ts +1 -0
  305. package/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.d.ts +15 -0
  306. package/widgets/ui/modal-divided-section/index.d.ts +2 -0
  307. package/widgets/ui/modal-divided-section/modal-divided-section.component.d.ts +22 -0
  308. package/widgets/ui/modal-divided-section/modal-divided-section.interfaces.d.ts +6 -0
  309. package/widgets/ui/modal-header-inserted-buttons/index.d.ts +1 -0
  310. package/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.d.ts +7 -0
  311. package/widgets/ui/modal-header-tabs/index.d.ts +1 -0
  312. package/widgets/ui/modal-header-tabs/modal-header-tabs.component.d.ts +8 -0
  313. package/widgets/ui/modal-info-tab/index.d.ts +2 -0
  314. package/widgets/ui/modal-info-tab/modal-info-tab.component.d.ts +8 -0
  315. package/widgets/ui/modal-info-tab/modal-info-tab.options.d.ts +4 -0
  316. package/widgets/ui/modal-instructions-tab/index.d.ts +1 -0
  317. package/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.d.ts +15 -0
  318. package/widgets/ui/modal-operation-part/index.d.ts +1 -0
  319. package/widgets/ui/modal-operation-part/modal-operation-part.component.d.ts +24 -0
  320. package/widgets/ui/modal-resources-tab/index.d.ts +1 -0
  321. package/widgets/ui/modal-resources-tab/modal-resources-tab.component.d.ts +14 -0
  322. package/widgets/ui/render-dynamic-modal/index.d.ts +2 -0
  323. package/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.d.ts +11 -0
  324. package/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.d.ts +5 -0
  325. package/widgets/ui/resources-block/components/index.d.ts +5 -0
  326. package/widgets/ui/resources-block/components/resources-block-consumables/index.d.ts +2 -0
  327. package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.d.ts +17 -0
  328. package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.d.ts +7 -0
  329. package/widgets/ui/resources-block/components/resources-block-content/index.d.ts +1 -0
  330. package/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.d.ts +19 -0
  331. package/widgets/ui/resources-block/components/resources-block-part/index.d.ts +1 -0
  332. package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.d.ts +19 -0
  333. package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.d.ts +5 -0
  334. package/widgets/ui/resources-block/components/resources-block-tabs/index.d.ts +1 -0
  335. package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
  336. package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.d.ts +13 -0
  337. package/widgets/ui/resources-block/components/resources-block-toolbox/index.d.ts +2 -0
  338. package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.d.ts +17 -0
  339. package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.d.ts +5 -0
  340. package/widgets/ui/resources-block/components/resources-options/index.d.ts +1 -0
  341. package/widgets/ui/resources-block/components/resources-options/resources-options.component.d.ts +20 -0
  342. package/widgets/ui/resources-block/index.d.ts +2 -0
  343. package/widgets/ui/resources-block/resources-block.component.d.ts +35 -0
  344. package/widgets/ui/resources-block-tabs/index.d.ts +1 -0
  345. package/widgets/ui/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
  346. package/widgets/ui/resources-block-tabs/resources-block-tabs.options.d.ts +14 -0
  347. package/widgets/ui/select-modal/components/index.d.ts +2 -0
  348. package/widgets/ui/select-modal/components/select-modal-folder/index.d.ts +1 -0
  349. package/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +10 -0
  350. package/widgets/ui/select-modal/components/select-modal-search/index.d.ts +1 -0
  351. package/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.d.ts +12 -0
  352. package/widgets/ui/select-modal/index.d.ts +3 -0
  353. package/widgets/ui/select-modal/select-modal.component.d.ts +13 -0
  354. package/widgets/ui/select-modal/select-modal.interfaces.d.ts +15 -0
  355. package/widgets/ui/select-modal/select-modal.service.d.ts +13 -0
  356. package/widgets/ui/storage-list/components/index.d.ts +1 -0
  357. package/widgets/ui/storage-list/components/storage-list-item/index.d.ts +1 -0
  358. package/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.d.ts +24 -0
  359. package/widgets/ui/storage-list/index.d.ts +2 -0
  360. package/widgets/ui/storage-list/storage-list.component.d.ts +10 -0
  361. package/widgets/ui/storage-list/storage-list.options.d.ts +16 -0
  362. package/widgets/ui/toolbox-form/components/index.d.ts +1 -0
  363. package/widgets/ui/toolbox-form/components/tool-form-readonly/index.d.ts +1 -0
  364. package/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.d.ts +7 -0
  365. package/widgets/ui/toolbox-form/index.d.ts +2 -0
  366. package/widgets/ui/toolbox-form/tool-form.component.d.ts +34 -0
  367. package/widgets/ui/toolbox-form/tool-form.options.d.ts +5 -0
  368. package/widgets/ui/user-action-context-menu/activity-item/activity-item.component.d.ts +17 -0
  369. package/widgets/ui/user-action-context-menu/activity-item/index.d.ts +1 -0
  370. package/widgets/ui/user-action-context-menu/company-item/company-item.component.d.ts +22 -0
  371. package/widgets/ui/user-action-context-menu/company-item/index.d.ts +1 -0
  372. package/widgets/ui/user-action-context-menu/index.d.ts +3 -0
  373. package/widgets/ui/user-action-context-menu/services/activity-base.service.d.ts +14 -0
  374. package/widgets/ui/user-action-context-menu/services/activity.service.d.ts +14 -0
  375. package/widgets/ui/user-action-context-menu/services/index.d.ts +2 -0
  376. package/widgets/ui/user-action-context-menu/user-action-context-menu.component.d.ts +29 -0
  377. package/widgets/ui/user-action-context-menu/user-action-context.option.d.ts +15 -0
  378. package/widgets/ui/utility-info-readonly/index.d.ts +2 -0
  379. package/widgets/ui/utility-info-readonly/utility-info-readonly.component.d.ts +28 -0
  380. package/widgets/ui/utility-info-readonly/utility-info-readonly.options.d.ts +4 -0
  381. package/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +18 -0
  382. package/widgets/ui/utility-modal/components/criterion-modal-create/index.d.ts +1 -0
  383. package/widgets/ui/utility-modal/components/index.d.ts +4 -0
  384. package/widgets/ui/utility-modal/components/instruction-modal-create/index.d.ts +1 -0
  385. package/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +18 -0
  386. package/widgets/ui/utility-modal/components/readonly-criterion-modal/index.d.ts +1 -0
  387. package/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +16 -0
  388. package/widgets/ui/utility-modal/components/readonly-instruction-modal/index.d.ts +1 -0
  389. package/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +16 -0
  390. package/widgets/ui/utility-modal/components/readonly-utility-modal/index.d.ts +1 -0
  391. package/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +18 -0
  392. package/widgets/ui/utility-modal/components/utility-modal-create/index.d.ts +1 -0
  393. package/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +25 -0
  394. package/widgets/ui/utility-modal/index.d.ts +3 -0
  395. package/widgets/ui/utility-modal/utility-modal.component.d.ts +10 -0
  396. package/widgets/ui/utility-modal/utility-modal.options.d.ts +12 -0
  397. package/widgets/ui/utility-readonly-thumbnail/index.d.ts +1 -0
  398. package/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +8 -0
  399. package/widgets/ui/utility-thumbnail/index.d.ts +1 -0
  400. package/widgets/ui/utility-thumbnail/utility-thumbnail.component.d.ts +21 -0
  401. package/components/inserted/index.d.ts +0 -1
  402. package/components/inserted/inserted.component.d.ts +0 -5
  403. package/esm2022/components/inserted/index.mjs +0 -2
  404. package/esm2022/components/inserted/inserted.component.mjs +0 -15
@@ -0,0 +1,57 @@
1
+ import { Component, inject, input, output } from '@angular/core';
2
+ import { CuiDialogService } from '../../../components';
3
+ import { COMPONENTS_CONTENT } from './resources-block-tabs.options';
4
+ import { NgComponentOutlet, TitleCasePipe } from '@angular/common';
5
+ import { AssigneeRolesTabsComponent } from '../assignee-roles-tabs/assignee-roles-tabs.component';
6
+ import { AssigneeRoleItemComponent } from '../assignee-role-item/assignee-role-item.component';
7
+ import { CuiDeleteModalComponent } from '../delete-modal';
8
+ import { UtilityApiService } from '@cuby-ui/api';
9
+ import { CUI_SUBJECT_MODAL_SERVICE_TOKEN } from '../../model';
10
+ import { CuiTypedTemplateDirective } from '@cuby-ui/cdk';
11
+ import { ResourcesBlockContentComponent } from '../resources-block/components/resources-block-content';
12
+ import * as i0 from "@angular/core";
13
+ export class ResourcesBlockTabsComponent {
14
+ constructor() {
15
+ this.utilityApiService = inject(UtilityApiService);
16
+ this.cuiDialogService = inject(CuiDialogService);
17
+ this.subjectModalService = inject(CUI_SUBJECT_MODAL_SERVICE_TOKEN);
18
+ this.COMPONENTS_CONTENT = COMPONENTS_CONTENT;
19
+ this.resourceComponent = input.required();
20
+ this.utilityId = input.required();
21
+ this.buttonSlot = input.required();
22
+ this.readonly = input(false);
23
+ this.selectedIndex = input(0);
24
+ this.resourceAdded = output();
25
+ this.resourceDeleted = output();
26
+ this.selectedIndexChange = output();
27
+ }
28
+ onOpenDeleteResourceModal(resource) {
29
+ const content = [`ACTION_WILL_DELETE_${resource.contentType}_FROM_RESOURCES`];
30
+ this.cuiDialogService
31
+ .open(CuiDeleteModalComponent, {
32
+ data: {
33
+ title: `DELETE_${resource.contentType}_QUESTION`,
34
+ content,
35
+ delete: () => this.utilityApiService.deleteStructure(this.utilityId(), "RESOURCES" /* UtilityComponentType.Resources */, resource.id)
36
+ }
37
+ })
38
+ .subscribe((data) => data?.canceled || this.resourceDeleted.emit(resource));
39
+ }
40
+ onResourcesAdded() {
41
+ this.subjectModalService.addResource(this.utilityId());
42
+ }
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
44
+ 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()\"\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: "pipe", type: TitleCasePipe, name: "titlecase" }, { kind: "component", type: AssigneeRolesTabsComponent, selector: "cui-assignee-roles-tabs", inputs: ["tabs", "itemSlot", "buttonSlot", "contentSlot", "selectedIndex"], outputs: ["selectedIndexChange"] }, { kind: "component", type: AssigneeRoleItemComponent, selector: "cui-assignee-role-item", inputs: ["role", "readonly", "empty"], outputs: ["deleteClicked"] }, { kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "component", type: ResourcesBlockContentComponent, selector: "cui-resources-block-content", inputs: ["type", "utilityId", "empty", "readonly"], outputs: ["resourcesAdded"] }, { kind: "directive", type: CuiTypedTemplateDirective, selector: "ng-template[cuiTypedTemplate]", inputs: ["cuiTypedTemplate"], exportAs: ["cuiTypedTemplate"] }] }); }
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ResourcesBlockTabsComponent, decorators: [{
47
+ type: Component,
48
+ args: [{ selector: 'cui-resources-block-tabs', standalone: true, imports: [
49
+ TitleCasePipe,
50
+ AssigneeRolesTabsComponent,
51
+ AssigneeRoleItemComponent,
52
+ NgComponentOutlet,
53
+ ResourcesBlockContentComponent,
54
+ CuiTypedTemplateDirective
55
+ ], 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()\"\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" }]
56
+ }] });
57
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXRhYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3Jlc291cmNlcy1ibG9jay10YWJzL3Jlc291cmNlcy1ibG9jay10YWJzLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2stdGFicy9yZXNvdXJjZXMtYmxvY2stdGFicy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFlLE1BQU0sZUFBZSxDQUFDO0FBQzlFLE9BQU8sRUFBRSxnQk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8bnVtYmVyPigpO1xuXG4gICAgcHJvdGVjdGVkIG9uT3BlbkRlbGV0ZVJlc291cmNlTW9kYWwocmVzb3VyY2U6IFJlc291cmNlKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IGNvbnRlbnQgPSBbYEFDVElPTl9XSUxMX0RFTEVURV8ke3Jlc291cmNlLmNvbnRlbnRUeXBlfV9GUk9NX1JFU09VUkNFU2BdO1xuXG4gICAgICAgIHRoaXMuY3VpRGlhbG9nU2VydmljZVxuICAgICAgICAgICAgLm9wZW4oQ3VpRGVsZXRlTW9kYWxDb21wb25lbnQsIHtcbiAgICAgICAgICAgICAgICBkYXRhOiB7XG4gICAgICAgICAgICAgICAgICAgIHRpdGxlOiBgREVMRVRFXyR7cmVzb3VyY2UuY29udGVudFR5cGV9X1FVRVNUSU9OYCxcbiAgICAgICAgICAgICAgICAgICAgY29udGVudCxcbiAgICAgICAgICAgICAgICAgICAgZGVsZXRlOiAoKSA9PlxuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy51dGlsaXR5QXBpU2VydmljZS5kZWxldGVTdHJ1Y3R1cmUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy51dGlsaXR5SWQoKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBVdGlsaXR5Q29tcG9uZW50VHlwZS5SZXNvdXJjZXMsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVzb3VyY2UuaWRcbiAgICAgICAgICAgICAgICAgICAgICAgIClcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KVxuICAgICAgICAgICAgLnN1YnNjcmliZSgoZGF0YSkgPT4gZGF0YT8uY2FuY2VsZWQgfHwgdGhpcy5yZXNvdXJjZURlbGV0ZWQuZW1pdChyZXNvdXJjZSkpO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBvblJlc291cmNlc0FkZGVkKCk6IHZvaWQge1xuICAgICAgICB0aGlzLnN1YmplY3RNb2RhbFNlcnZpY2Uu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iAgICAgICAgICAgIFt0eXBlXT1cImVsZW1lbnQuY29udGVudFR5cGVcIlxuICAgICAgICAgICAgW3V0aWxpdHlJZF09XCJ1dGlsaXR5SWQoKVwiXG4gICAgICAgICAgICBbZW1wdHldPVwiIWVsZW1lbnQuZWxlbWVudHMubGVuZ3RoXCJcbiAgICAgICAgICAgIFtyZWFkb25seV09XCJyZWFkb25seSgpXCJcbiAgICAgICAgICAgIChyZXNvdXJjZXNBZGRlZCk9XCJvblJlc291cmNlc0FkZGVkKClcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0XT1cIkNPTVBPTkVOVFNfQ09OVEVOVFtlbGVtZW50LmNvbnRlbnRUeXBlXVwiXG4gICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0SW5wdXRzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgZWxlbWVudHM6IGVsZW1lbnQuZWxlbWVudHMsXG4gICAgICAgICAgICAgICAgICAgIGNvbnRhaW5lcklkOiBlbGVtZW50LmlkLFxuICAgICAgICAgICAgICAgICAgICB1dGlsaXR5SWQ6IHV0aWxpdHlJZCgpLFxuICAgICAgICAgICAgICAgICAgICByZWFkb25seTogcmVhZG9ubHkoKVxuICAgICAgICAgICAgICAgIH1cIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9jdWktcmVzb3VyY2VzLWJsb2NrLWNvbnRlbnQ+XG4gICAgPC9uZy10ZW1wbGF0ZT5cbjwvY3VpLWFzc2lnbmVlLXJvbGVzLXRhYnM+XG4iXX0=
@@ -0,0 +1,10 @@
1
+ import { ResourcesBlockPartComponent } from '../resources-block';
2
+ import { ResourceContentType } from '@cuby-ui/api';
3
+ import { ResourcesBlockConsumablesComponent } from '../resources-block/components/resources-block-consumables';
4
+ import { ResourcesBlockToolboxComponent } from '../resources-block/components/resources-block-toolbox';
5
+ export const COMPONENTS_CONTENT = {
6
+ [ResourceContentType.Consumables]: ResourcesBlockConsumablesComponent,
7
+ [ResourceContentType.Toolbox]: ResourcesBlockToolboxComponent,
8
+ [ResourceContentType.Part]: ResourcesBlockPartComponent
9
+ };
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2VzLWJsb2NrLXRhYnMub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9yZXNvdXJjZXMtYmxvY2stdGFicy9yZXNvdXJjZXMtYmxvY2stdGFicy5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2pFLE9BQU8sRUFBWSxtQkFBbUIsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUM3RCxPQUFPLEVBQUUsa0NBQWtDLEVBQUUsTUFBTSwyREFBMkQsQ0FBQztBQUMvRyxPQUFPLEVBQUUsOEJBQThCLEVBQUUsTUFBTSx1REFBdUQsQ0FBQztBQUd2RyxNQUFNLENBQUMsTUFBTSxrQkFBa0IsR0FBRztJQUM5QixDQUFDLG1CQUFtQixDQUFDLFdBQVcsQ0FBQyxFQUFFLGtDQUFrQztJQUNyRSxDQUFDLG1CQUFtQixDQUFDLE9BQU8sQ0FBQyxFQUFFLDhCQUE4QjtJQUM3RCxDQUFDLG1CQUFtQixDQUFDLElBQUksQ0FBQyxFQUFFLDJCQUEyQjtDQUMxRCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUmVzb3VyY2VzQmxvY2tQYXJ0Q29tcG9uZW50IH0gZnJvbSAnLi4vcmVzb3VyY2VzLWJsb2NrJztcbmltcG9ydCB7IFJlc291cmNlLCBSZXNvdXJjZUNvbnRlbnRUeXBlIH0gZnJvbSAnQGN1YnktdWkvYXBpJztcbmltcG9ydCB7IFJlc291cmNlc0Jsb2NrQ29uc3VtYWJsZXNDb21wb25lbnQgfSBmcm9tICcuLi9yZXNvdXJjZXMtYmxvY2svY29tcG9uZW50cy9yZXNvdXJjZXMtYmxvY2stY29uc3VtYWJsZXMnO1xuaW1wb3J0IHsgUmVzb3VyY2VzQmxvY2tUb29sYm94Q29tcG9uZW50IH0gZnJvbSAnLi4vcmVzb3VyY2VzLWJsb2NrL2NvbXBvbmVudHMvcmVzb3VyY2VzLWJsb2NrLXRvb2xib3gnO1xuaW1wb3J0IHsgVXRpbGl0eVN1YmplY3QgfSBmcm9tICdAY3VieS11aS9hcGknO1xuXG5leHBvcnQgY29uc3QgQ09NUE9ORU5UU19DT05URU5UID0ge1xuICAgIFtSZXNvdXJjZUNvbnRlbnRUeXBlLkNvbnN1bWFibGVzXTogUmVzb3VyY2VzQmxvY2tDb25zdW1hYmxlc0NvbXBvbmVudCxcbiAgICBbUmVzb3VyY2VDb250ZW50VHlwZS5Ub29sYm94XTogUmVzb3VyY2VzQmxvY2tUb29sYm94Q29tcG9uZW50LFxuICAgIFtSZXNvdXJjZUNvbnRlbnRUeXBlLlBhcnRdOiBSZXNvdXJjZXNCbG9ja1BhcnRDb21wb25lbnRcbn07XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVzb3VyY2VEZWxldGVPdXRwdXQge1xuICAgIHJlYWRvbmx5IHJlc291cmNlczogVXRpbGl0eVN1YmplY3RbXTtcbiAgICByZWFkb25seSBjb250YWluZXI6IFJlc291cmNlO1xufVxuIl19
@@ -0,0 +1,3 @@
1
+ export { CuiSelectModalFolderComponent } from './select-modal-folder';
2
+ export { CuiSelectModalSearchComponent } from './select-modal-search';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sdUJBQXVCLENBQUM7QUFDdEUsT0FBTyxFQUFFLDZCQUE2QixFQUFFLE1BQU0sdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlTZWxlY3RNb2RhbEZvbGRlckNvbXBvbmVudCB9IGZyb20gJy4vc2VsZWN0LW1vZGFsLWZvbGRlcic7XG5leHBvcnQgeyBDdWlTZWxlY3RNb2RhbFNlYXJjaENvbXBvbmVudCB9IGZyb20gJy4vc2VsZWN0LW1vZGFsLXNlYXJjaCc7XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export { CuiSelectModalFolderComponent } from './select-modal-folder.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL2NvbXBvbmVudHMvc2VsZWN0LW1vZGFsLWZvbGRlci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aVNlbGVjdE1vZGFsRm9sZGVyQ29tcG9uZW50IH0gZnJvbSAnLi9zZWxlY3QtbW9kYWwtZm9sZGVyLmNvbXBvbmVudCc7XG4iXX0=
@@ -0,0 +1,21 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, computed, input } from '@angular/core';
3
+ import { CuiCardWrapperComponent } from '../../../../../components';
4
+ import { CuiSvgModule } from '../../../../../components';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../../../components/svg/svg.component";
7
+ export class CuiSelectModalFolderComponent {
8
+ constructor() {
9
+ this.icon = computed(() => (this.isOpen() ? 'cuiIconFolderOpen' : 'cuiIconFolder'));
10
+ this.title = input.required();
11
+ this.buttonSlot = input.required();
12
+ this.isOpen = input(false);
13
+ }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalFolderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiSelectModalFolderComponent, isStandalone: true, selector: "cui-select-modal-folder", inputs: { title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: true, transformFunction: null }, buttonSlot: { classPropertyName: "buttonSlot", publicName: "buttonSlot", isSignal: true, isRequired: true, transformFunction: null }, isOpen: { classPropertyName: "isOpen", publicName: "isOpen", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<cui-card-wrapper class=\"wrapper\">\n <ng-container [ngTemplateOutlet]=\"buttonSlot()\" />\n\n <cui-svg\n [icon]=\"icon()\"\n class=\"icon\"\n />\n\n <span class=\"title\">{{ title() }}</span>\n</cui-card-wrapper>\n", styles: [":host{--border-color: var(--cui-base-200);--padding-horizontal: 8px;--padding-vertical: 8px}:host .wrapper{--border: var(--border-color);padding:var(--padding-vertical) var(--padding-horizontal)}.title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon{padding:2px}\n"], dependencies: [{ kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i1.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "component", type: CuiCardWrapperComponent, selector: "cui-card-wrapper, [cuiCardWrapper]", inputs: ["withBorder", "isSelected"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalFolderComponent, decorators: [{
18
+ type: Component,
19
+ args: [{ selector: 'cui-select-modal-folder', imports: [CuiSvgModule, CuiCardWrapperComponent, NgTemplateOutlet], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-card-wrapper class=\"wrapper\">\n <ng-container [ngTemplateOutlet]=\"buttonSlot()\" />\n\n <cui-svg\n [icon]=\"icon()\"\n class=\"icon\"\n />\n\n <span class=\"title\">{{ title() }}</span>\n</cui-card-wrapper>\n", styles: [":host{--border-color: var(--cui-base-200);--padding-horizontal: 8px;--padding-vertical: 8px}:host .wrapper{--border: var(--border-color);padding:var(--padding-vertical) var(--padding-horizontal)}.title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon{padding:2px}\n"] }]
20
+ }] });
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW1vZGFsLWZvbGRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL2NvbXBvbmVudHMvc2VsZWN0LW1vZGFsLWZvbGRlci9zZWxlY3QtbW9kYWwtZm9sZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9zZWxlY3QtbW9kYWwvY29tcG9uZW50cy9zZWxlY3QtbW9kYWwtZm9sZGVyL3NlbGVjdC1tb2RhbC1mb2xkZXIuY29t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Zz4oKTtcbiAgICBwdWJsaWMgcmVhZG9ubHkgYnV0dG9uU2xvdCA9IGlucHV0LnJlcXVpcmVkPFRlbXBsYXRlUmVmPHVua25vd24+PigpO1xuICAgIHB1YmxpYyByZWFkb25seSBpc09wZW4gPSBpbnB1dChmYWxzZSk7XG59XG4iLCI8Y3VpLWNhcmQtd3JhcHBlciBjbGFzcz1cIndyYXBwZXJcIj5cbiAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImJ1dHRvblNsb3QoKVwiIC8+XG5cbiAgICA8Y3VpLXN2Z1xuICAgICAgICBbaWNvbl09XCJpY29uKClcIlxuICAgICAgICBjbGFzcz1cImljb25cIlxuICAgIC8+XG5cbiAgICA8c3BhbiBjbGFzcz1cInRpdGxlXCI+e3sgdGl0bGUoKSB9fTwvc3Bhbj5cbjwvY3VpLWNhcmQtd3JhcHBlcj5cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export { CuiSelectModalSearchComponent } from './select-modal-search.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL2NvbXBvbmVudHMvc2VsZWN0LW1vZGFsLXNlYXJjaC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEN1aVNlbGVjdE1vZGFsU2VhcmNoQ29tcG9uZW50IH0gZnJvbSAnLi9zZWxlY3QtbW9kYWwtc2VhcmNoLmNvbXBvbmVudCc7XG4iXX0=
@@ -0,0 +1,32 @@
1
+ import { ChangeDetectionStrategy, Component, DestroyRef, inject, input, output } from '@angular/core';
2
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
3
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
4
+ import { debounceTime } from 'rxjs';
5
+ import { CuiIconButtonModule } from '../../../../../components';
6
+ import { CuiInputModule } from '../../../../../components';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../../../../../components/input-text/input-text.component";
9
+ import * as i2 from "../../../../../directives/text-field-controller/text-field-icon-left.directive";
10
+ import * as i3 from "../../../../../directives/text-field-controller/text-field-placeholder.directive";
11
+ import * as i4 from "../../../../../components/icon-button/icon-button.component";
12
+ import * as i5 from "@angular/forms";
13
+ export class CuiSelectModalSearchComponent {
14
+ constructor() {
15
+ this.destroyRef = inject(DestroyRef);
16
+ this.searchControl = input(new FormControl(''));
17
+ this.controlDelay = input(700);
18
+ this.searchStringChanged = output();
19
+ }
20
+ ngOnInit() {
21
+ this.searchControl()
22
+ .valueChanges.pipe(debounceTime(this.controlDelay()), takeUntilDestroyed(this.destroyRef))
23
+ .subscribe((value) => this.searchStringChanged.emit(value));
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
26
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.14", type: CuiSelectModalSearchComponent, isStandalone: true, selector: "cui-select-modal-search", inputs: { searchControl: { classPropertyName: "searchControl", publicName: "searchControl", isSignal: true, isRequired: false, transformFunction: null }, controlDelay: { classPropertyName: "controlDelay", publicName: "controlDelay", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { searchStringChanged: "searchStringChanged" }, ngImport: i0, template: "<cui-input-text\n cuiTextFieldPlaceholder=\"Search...\"\n cuiTextFieldIconLeft=\"cuiIconSearch\"\n [formControl]=\"searchControl()\"\n class=\"search\"\n/>\n<button\n class=\"filters\"\n type=\"button\"\n cuiIconButton\n icon=\"cuiIconFiltersLines\"\n></button>\n", styles: [":host{padding-right:15px;display:flex;align-items:center;gap:4px}.search{width:100%}.filters{padding:4px;width:auto;height:auto}\n"], dependencies: [{ kind: "ngmodule", type: CuiInputModule }, { kind: "component", type: i1.CuiInputTextComponent, selector: "cui-input-text" }, { kind: "directive", type: i2.CuiTextFieldIconLeftDirective, selector: "[cuiTextFieldIconLeft]", inputs: ["cuiTextFieldIconLeft"] }, { kind: "directive", type: i3.CuiTextFieldPlaceholderDirective, selector: "[cuiTextFieldPlaceholder]", inputs: ["cuiTextFieldPlaceholder"] }, { kind: "ngmodule", type: CuiIconButtonModule }, { kind: "component", type: i4.CuiIconButtonComponent, selector: "button[cuiIconButton][icon], a[cuiIconButton][icon]", inputs: ["icon", "color", "hoverColor"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalSearchComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'cui-select-modal-search', imports: [CuiInputModule, CuiIconButtonModule, ReactiveFormsModule], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-input-text\n cuiTextFieldPlaceholder=\"Search...\"\n cuiTextFieldIconLeft=\"cuiIconSearch\"\n [formControl]=\"searchControl()\"\n class=\"search\"\n/>\n<button\n class=\"filters\"\n type=\"button\"\n cuiIconButton\n icon=\"cuiIconFiltersLines\"\n></button>\n", styles: [":host{padding-right:15px;display:flex;align-items:center;gap:4px}.search{width:100%}.filters{padding:4px;width:auto;height:auto}\n"] }]
31
+ }] });
32
+ //# sourceMappingURL=data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bmx5IHNlYXJjaFN0cmluZ0NoYW5nZWQgPSBvdXRwdXQ8c3RyaW5nPigpO1xuXG4gICAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLnNlYXJjaENvbnRyb2woKVxuICAgICAgICAgICAgLnZhbHVlQ2hhbmdlcy5waXBlKGRlYm91bmNlVGltZSh0aGlzLmNvbnRyb2xEZWxheSgpKSwgdGFrZVVudGlsRGVzdHJveWVkKHRoaXMuZGVzdHJveVJlZikpXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCh2YWx1ZSkgPT4gdGhpcy5zZWFyY2hTdHJpbmdDaGFuZ2VkLmVtaXQodmFsdWUpKTtcbiAgICB9XG59XG4iLCI8Y3VpLWlucHV0LXRleHRcbiAgICBjdWlUZXh0RmllbGRQbGFjZWhvbGRlcj1cIlNlYXJjaC4uLlwiXG4gICAgY3VpVGV4dEZpZWxkSWNvbkxlZnQ9XCJjdWlJY29uU2VhcmNoXCJcbiAgICBbZm9ybUNvbnRyb2xdPVwic2VhcmNoQ29udHJvbCgpXCJcbiAgICBjbGFzcz1cInNlYXJjaFwiXG4vPlxuPGJ1dHRvblxuICAgIGNsYXNzPVwiZmlsdGVyc1wiXG4gICAgdHlwZT1cImJ1dHRvblwiXG4gICAgY3VpSWNvbkJ1dHRvblxuICAgIGljb249XCJjdWlJY29uRmlsdGVyc0xpbmVzXCJcbj48L2J1dHRvbj5cbiJdfQ==
@@ -0,0 +1,4 @@
1
+ export * from './components';
2
+ export { CuiSelectModalComponent } from './select-modal.component';
3
+ export { CuiSelectModalService } from './select-modal.service';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFDO0FBQzdCLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ25FLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9jb21wb25lbnRzJztcbmV4cG9ydCB7IEN1aVNlbGVjdE1vZGFsQ29tcG9uZW50IH0gZnJvbSAnLi9zZWxlY3QtbW9kYWwuY29tcG9uZW50JztcbmV4cG9ydCB7IEN1aVNlbGVjdE1vZGFsU2VydmljZSB9IGZyb20gJy4vc2VsZWN0LW1vZGFsLnNlcnZpY2UnO1xuIl19
@@ -0,0 +1,35 @@
1
+ import { NgComponentOutlet } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
3
+ import { TranslocoDirective } from '@jsverse/transloco';
4
+ import { CUI_DIALOG_CONTEXT, CuiDialogModule } from '../../../components';
5
+ import { CuiButtonModule } from '../../../components';
6
+ import { CuiIconButtonModule } from '../../../components';
7
+ import { CuiInputModule } from '../../../components';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../../../components/dialog/dialog-header/dialog-header.component";
10
+ export class CuiSelectModalComponent {
11
+ constructor() {
12
+ this.context = inject(CUI_DIALOG_CONTEXT);
13
+ this.data = this.context.data;
14
+ this.heading = this.data.heading;
15
+ this.leftData = this.data.leftData;
16
+ this.rightData = this.data.rightData;
17
+ }
18
+ onCancel() {
19
+ this.context.completeWith();
20
+ }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
22
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiSelectModalComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <div class=\"content\">\n <header\n class=\"header\"\n cuiDialogHeader\n [heading]=\"heading\"\n (closed)=\"onCancel()\"\n ></header>\n <div class=\"wrapper\">\n <div class=\"left-block\">\n @if (leftData) {\n <ng-container\n [ngComponentOutlet]=\"leftData.component\"\n [ngComponentOutletInputs]=\"leftData.inputs\"\n />\n }\n </div>\n <div class=\"right-block\">\n @if (rightData) {\n <ng-container\n [ngComponentOutlet]=\"rightData.component\"\n [ngComponentOutletInputs]=\"rightData.inputs\"\n />\n }\n </div>\n </div>\n </div>\n</ng-container>\n", styles: [".header{padding-right:16px;padding-left:16px}.content{display:flex;flex-direction:column;height:calc(100vh - 180px)}.wrapper{display:flex;flex-direction:row;flex-grow:1;border-top:1px solid var(--cui-base-200);width:100%;min-height:400px;overflow-y:hidden}.left-block{padding-left:16px;padding-top:19px;flex-shrink:0;display:flex;flex-direction:column;gap:16px;width:50%;border-right:1px solid var(--cui-base-200)}.right-block{position:relative;width:50%;overflow:hidden}.right-block__head{padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--cui-base-200)}.right-block__title{font-weight:500;font-size:14px;line-height:20px;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.right-block__subtitle{font-weight:400;font-size:14px;line-height:20px;margin-bottom:16px;text-transform:uppercase;color:var(--cui-base-500)}\n"], dependencies: [{ kind: "ngmodule", type: CuiButtonModule }, { kind: "ngmodule", type: CuiDialogModule }, { kind: "component", type: i1.CuiDialogHeaderComponent, selector: "header[cuiDialogHeader][heading]", inputs: ["heading", "headingContext", "subheading"], outputs: ["closed"] }, { kind: "ngmodule", type: CuiIconButtonModule }, { kind: "ngmodule", type: CuiInputModule }, { 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalComponent, decorators: [{
25
+ type: Component,
26
+ args: [{ imports: [
27
+ CuiButtonModule,
28
+ CuiDialogModule,
29
+ CuiIconButtonModule,
30
+ CuiInputModule,
31
+ NgComponentOutlet,
32
+ TranslocoDirective
33
+ ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *transloco=\"let t\">\n <div class=\"content\">\n <header\n class=\"header\"\n cuiDialogHeader\n [heading]=\"heading\"\n (closed)=\"onCancel()\"\n ></header>\n <div class=\"wrapper\">\n <div class=\"left-block\">\n @if (leftData) {\n <ng-container\n [ngComponentOutlet]=\"leftData.component\"\n [ngComponentOutletInputs]=\"leftData.inputs\"\n />\n }\n </div>\n <div class=\"right-block\">\n @if (rightData) {\n <ng-container\n [ngComponentOutlet]=\"rightData.component\"\n [ngComponentOutletInputs]=\"rightData.inputs\"\n />\n }\n </div>\n </div>\n </div>\n</ng-container>\n", styles: [".header{padding-right:16px;padding-left:16px}.content{display:flex;flex-direction:column;height:calc(100vh - 180px)}.wrapper{display:flex;flex-direction:row;flex-grow:1;border-top:1px solid var(--cui-base-200);width:100%;min-height:400px;overflow-y:hidden}.left-block{padding-left:16px;padding-top:19px;flex-shrink:0;display:flex;flex-direction:column;gap:16px;width:50%;border-right:1px solid var(--cui-base-200)}.right-block{position:relative;width:50%;overflow:hidden}.right-block__head{padding:16px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--cui-base-200)}.right-block__title{font-weight:500;font-size:14px;line-height:20px;overflow:hidden;text-overflow:ellipsis;text-wrap:nowrap}.right-block__subtitle{font-weight:400;font-size:14px;line-height:20px;margin-bottom:16px;text-transform:uppercase;color:var(--c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EgPSB0aGlzLmNvbnRleHQuZGF0YTtcbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgaGVhZGluZyA9IHRoaXMuZGF0YS5oZWFkaW5nO1xuICAgIHByb3RlY3RlZCByZWFkb25seSBsZWZ0RGF0YSA9IHRoaXMuZGF0YS5sZWZ0RGF0YTtcbiAgICBwcm90ZWN0ZWQgcmVhZG9ubHkgcmlnaHREYXRhID0gdGhpcy5kYXRhLnJpZ2h0RGF0YTtcblxuICAgIHByb3RlY3RlZCBvbkNhbmNlbCgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jb250ZXh0LmNvbXBsZXRlV2l0aCgpO1xuICAgIH1cbn1cbiIsIjxuZy1jb250YWluZXIgKnRyYW5zbG9jbz1cImxldCB0XCI+XG4gICAgPGRpdiBjbGFzcz1cImNvbnRlbnRcIj5cbiAgICAgICAgPGhlYWRlclxuICAgICAgICAgICAgY2xhc3M9XCJoZWFkZXJcIlxuICAgICAgICAgICAgY3VpRGlhbG9nSGVhZGVyXG4gICAgICAgICAgICBbaGVhZGluZ109XCJoZWFkaW5nXCJcbiAgICAgICAgICAgIChjbG9zZWQpPVwib25DYW5jZWwoKVwiXG4gICAgICAgID48L2hlYWRlcj5cbiAgICAgICAgPGRpdiBjbGFzcz1cIndyYXBwZXJcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJsZWZ0LWJsb2NrXCI+XG4gICAgICAgICAgICAgICAgQGlmIChsZWZ0RGF0YSkge1xuICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyXG4gICAgICAgICAgICAgICAgICAgICAgICBbbmdDb21wb25lbnRPdXRsZXRdPVwibGVmdERhdGEuY29tcG9uZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NvbXBvbmVudE91dGxldElucHV0c109XCJsZWZ0RGF0YS5pbnB1dHNcIlxuICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInJpZ2h0LWJsb2NrXCI+XG4gICAgICAgICAgICAgICAgQGlmIChyaWdodERhdGEpIHtcbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0XT1cInJpZ2h0RGF0YS5jb21wb25lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW25nQ29tcG9uZW50T3V0bGV0SW5wdXRzXT1cInJpZ2h0RGF0YS5pbnB1dHNcIlxuICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW1vZGFsLmludGVyZmFjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL3NlbGVjdC1tb2RhbC5pbnRlcmZhY2VzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFR5cGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuZXhwb3J0IGludGVyZmFjZSBDdWlTZWxlY3RNb2RhbERpYWxvZ0RhdGEge1xuICAgIHJlYWRvbmx5IGhlYWRpbmc6IHN0cmluZztcbiAgICByZWFkb25seSBsZWZ0RGF0YTogQ3VpU2VsZWN0TW9kYWxDb21wb25lbnREYXRhO1xuICAgIHJlYWRvbmx5IHJpZ2h0RGF0YTogQ3VpU2VsZWN0TW9kYWxDb21wb25lbnREYXRhO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEN1aVNlbGVjdE1vZGFsQ29tcG9uZW50RGF0YSB7XG4gICAgcmVhZG9ubHkgY29tcG9uZW50OiBUeXBlPHVua25vd24+O1xuICAgIHJlYWRvbmx5IGlucHV0cz86IHsgW2tleTogc3RyaW5nXTogdW5rbm93biB9O1xufVxuXG5leHBvcnQgdHlwZSBDdWlTZWxlY3RNb2RhbEVsZW1lbnQgPSB7IGlkOiBzdHJpbmcgfTtcbiJdfQ==
@@ -0,0 +1,23 @@
1
+ import { Injectable, signal } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class CuiSelectModalService {
4
+ constructor() {
5
+ this.selectedElementSignal = signal(null);
6
+ this.selectedElement = this.selectedElementSignal.asReadonly();
7
+ }
8
+ getSelectedData() {
9
+ return this.selectedElementSignal.asReadonly();
10
+ }
11
+ set(element) {
12
+ this.selectedElementSignal.set(element);
13
+ }
14
+ delete() {
15
+ this.selectedElementSignal.set(null);
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
18
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalService }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSelectModalService, decorators: [{
21
+ type: Injectable
22
+ }] });
23
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW1vZGFsLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc2VsZWN0LW1vZGFsL3NlbGVjdC1tb2RhbC5zZXJ2aWNlLnRzIl0sIm5hb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F0ZSByZWFkb25seSBzZWxlY3RlZEVsZW1lbnRTaWduYWwgPSBzaWduYWw8Q3VpTnVsbGFibGU8Q3VpU2VsZWN0TW9kYWxFbGVtZW50Pj4obnVsbCk7XG5cbiAgICBwdWJsaWMgcmVhZG9ubHkgc2VsZWN0ZWRFbGVtZW50ID0gdGhpcy5zZWxlY3RlZEVsZW1lbnRTaWduYWwuYXNSZWFkb25seSgpO1xuXG4gICAgcHVibGljIGdldFNlbGVjdGVkRGF0YTxUPigpOiBTaWduYWw8Q3VpTnVsbGFibGU8VD4+IHtcbiAgICAgICAgcmV0dXJuIHRoaXMuc2VsZWN0ZWRFbGVtZW50U2lnbmFsLmFzUmVhZG9ubHkoKSBhcyBTaWduYWw8Q3VpTnVsbGFibGU8VD4+O1xuICAgIH1cblxuICAgIHB1YmxpYyBzZXQoZWxlbWVudDogQ3VpU2VsZWN0TW9kYWxFbGVtZW50KTogdm9pZCB7XG4gICAgICAgIHRoaXMuc2VsZWN0ZWRFbGVtZW50U2lnbmFsLnNldChlbGVtZW50KTtcbiAgICB9XG5cbiAgICBwdWJsaWMgZGVsZXRlKCk6IHZvaWQge1xuICAgICAgICB0aGlzLnNlbGVjdGVkRWxlbWVudFNpZ25hbC5zZXQobnVsbCk7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,2 @@
1
+ export * from './storage-list-item';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L2NvbXBvbmVudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vc3RvcmFnZS1saXN0LWl0ZW0nO1xuIl19
@@ -0,0 +1,2 @@
1
+ export { CuiStorageListItemComponent } from './storage-list-item.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L2NvbXBvbmVudHMvc3RvcmFnZS1saXN0LWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLDJCQUEyQixFQUFFLE1BQU0sK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlTdG9yYWdlTGlzdEl0ZW1Db21wb25lbnQgfSBmcm9tICcuL3N0b3JhZ2UtbGlzdC1pdGVtLmNvbXBvbmVudCc7XG4iXX0=
@@ -0,0 +1,87 @@
1
+ import { NgTemplateOutlet } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, computed, effect, forwardRef, inject, input, signal, untracked } from '@angular/core';
3
+ import { CuiLetDirective } from '@cuby-ui/cdk';
4
+ import { finalize } from 'rxjs';
5
+ import { CuiSvgModule } from '../../../../../components';
6
+ import { CuiStorageListComponent } from '../../index';
7
+ import { CUI_STORAGE_LIST_SERVICE_TOKEN } from '../../storage-list.options';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../../../../../components/svg/svg.component";
10
+ export class CuiStorageListItemComponent {
11
+ constructor() {
12
+ this.storageListService = inject(CUI_STORAGE_LIST_SERVICE_TOKEN);
13
+ this.isLoadingChildren = false;
14
+ this.isLoadingElements = false;
15
+ this.storageChildren = signal([]);
16
+ this.storageElements = signal([]);
17
+ this.areContentOpened = signal(false);
18
+ this.openCloseButtonIcon = computed(() => this.areContentOpened() ? 'cuiIconChevronDown' : 'cuiIconChevronRight');
19
+ this.hasContent = computed(() => this.storage().children.length || this.storageChildren().length || this.storageElements().length);
20
+ this.storage = input.required();
21
+ this.elementSlot = input();
22
+ this.itemSlot = input();
23
+ this.initStorageChildrenEffect();
24
+ this.initStorageElementsEffect();
25
+ }
26
+ onToggleChildren(event) {
27
+ event.preventDefault();
28
+ this.areContentOpened.update((prevAreChildrenOpened) => !prevAreChildrenOpened);
29
+ }
30
+ initStorageChildrenEffect() {
31
+ effect(() => {
32
+ const storage = this.storage();
33
+ this.areContentOpened();
34
+ untracked(this.setChildren.bind(this, storage));
35
+ });
36
+ }
37
+ initStorageElementsEffect() {
38
+ effect(() => {
39
+ const storage = this.storage();
40
+ untracked(this.setElements.bind(this, storage));
41
+ });
42
+ }
43
+ setChildren(storage) {
44
+ const storageChildren = storage.children;
45
+ if (!storageChildren.length) {
46
+ this.storageChildren.set([]);
47
+ }
48
+ if (this.isLoadingChildren || !this.areContentOpened()) {
49
+ return;
50
+ }
51
+ if (typeof storageChildren[0] !== 'string') {
52
+ this.storageChildren.set(storageChildren);
53
+ return;
54
+ }
55
+ this.isLoadingChildren = true;
56
+ this.storageListService
57
+ .getChildren?.(storage, this.storageChildren())
58
+ .pipe(finalize(() => (this.isLoadingChildren = false)))
59
+ .subscribe((response) => this.storageChildren.set(response));
60
+ }
61
+ setElements(storage) {
62
+ const storageElements = storage.elements;
63
+ if (this.isLoadingElements) {
64
+ return;
65
+ }
66
+ if (!storageElements?.length) {
67
+ this.storageElements.set([]);
68
+ return;
69
+ }
70
+ if (this.storageElements().length) {
71
+ this.storageElements.set(storageElements);
72
+ return;
73
+ }
74
+ this.isLoadingElements = true;
75
+ this.storageListService
76
+ .getElements?.(storage, this.storageElements())
77
+ .pipe(finalize(() => (this.isLoadingElements = false)))
78
+ .subscribe((response) => this.storageElements.set(response));
79
+ }
80
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
81
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiStorageListItemComponent, isStandalone: true, selector: "li[cuiStorageListItem]", inputs: { storage: { classPropertyName: "storage", publicName: "storage", isSignal: true, isRequired: true, transformFunction: null }, elementSlot: { classPropertyName: "elementSlot", publicName: "elementSlot", isSignal: true, isRequired: false, transformFunction: null }, itemSlot: { classPropertyName: "itemSlot", publicName: "itemSlot", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ng-container *cuiLet=\"storage() as storage\">\n <div class=\"wrapper\">\n <ng-template #openCloseButton>\n @if (hasContent()) {\n <button\n type=\"button\"\n class=\"button\"\n (click)=\"onToggleChildren($event)\"\n >\n <cui-svg\n [icon]=\"openCloseButtonIcon()\"\n color=\"var(--cui-base-500)\"\n />\n </button>\n }\n </ng-template>\n\n @if (itemSlot(); as item) {\n <ng-container\n *ngTemplateOutlet=\"\n item;\n context: {\n $implicit: storage,\n openCloseButton,\n areContentOpened: areContentOpened(),\n hasContent: hasContent()\n }\n \"\n />\n }\n\n <div\n class=\"content\"\n [class.content_hidden]=\"!areContentOpened()\"\n >\n <div class=\"lists\">\n @if (storageChildren().length) {\n <cui-storage-list\n [storages]=\"storageChildren()\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n />\n }\n @if (storageElements().length && elementSlot()) {\n <ul class=\"list\">\n @for (element of storageElements(); track element.id) {\n <li class=\"item\">\n <ng-container\n *ngTemplateOutlet=\"\n elementSlot()!;\n context: { $implicit: element, storage: storage }\n \"\n />\n </li>\n }\n </ul>\n }\n </div>\n </div>\n </div>\n</ng-container>\n", styles: [".button{padding:2px;display:flex;border-radius:4px}@media (hover: hover){.button:hover{background:var(--cui-base-200)}}.button :active{background:var(--cui-base-200)}.icon{padding:2px}.wrapper{display:flex;flex-direction:column;gap:8px}.content{padding-left:20px}.content_hidden{display:none}.lists{display:flex;flex-direction:column;gap:8px;position:relative}.lists>*{z-index:1}.lists:has(>:nth-child(2)):before{content:\"\";position:absolute;top:0;bottom:0;left:8px;border-left:1px solid var(--cui-base-200)}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"], dependencies: [{ kind: "directive", type: i0.forwardRef(() => CuiLetDirective), selector: "[cuiLet]", inputs: ["cuiLet"] }, { kind: "ngmodule", type: i0.forwardRef(() => CuiSvgModule) }, { kind: "component", type: i0.forwardRef(() => i1.CuiSvgComponent), selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "directive", type: i0.forwardRef(() => NgTemplateOutlet), selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i0.forwardRef(() => CuiStorageListComponent), selector: "cui-storage-list", inputs: ["storages", "elementSlot", "itemSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
82
+ }
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListItemComponent, decorators: [{
84
+ type: Component,
85
+ args: [{ selector: 'li[cuiStorageListItem]', imports: [CuiLetDirective, CuiSvgModule, NgTemplateOutlet, forwardRef(() => CuiStorageListComponent)], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *cuiLet=\"storage() as storage\">\n <div class=\"wrapper\">\n <ng-template #openCloseButton>\n @if (hasContent()) {\n <button\n type=\"button\"\n class=\"button\"\n (click)=\"onToggleChildren($event)\"\n >\n <cui-svg\n [icon]=\"openCloseButtonIcon()\"\n color=\"var(--cui-base-500)\"\n />\n </button>\n }\n </ng-template>\n\n @if (itemSlot(); as item) {\n <ng-container\n *ngTemplateOutlet=\"\n item;\n context: {\n $implicit: storage,\n openCloseButton,\n areContentOpened: areContentOpened(),\n hasContent: hasContent()\n }\n \"\n />\n }\n\n <div\n class=\"content\"\n [class.content_hidden]=\"!areContentOpened()\"\n >\n <div class=\"lists\">\n @if (storageChildren().length) {\n <cui-storage-list\n [storages]=\"storageChildren()\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n />\n }\n @if (storageElements().length && elementSlot()) {\n <ul class=\"list\">\n @for (element of storageElements(); track element.id) {\n <li class=\"item\">\n <ng-container\n *ngTemplateOutlet=\"\n elementSlot()!;\n context: { $implicit: element, storage: storage }\n \"\n />\n </li>\n }\n </ul>\n }\n </div>\n </div>\n </div>\n</ng-container>\n", styles: [".button{padding:2px;display:flex;border-radius:4px}@media (hover: hover){.button:hover{background:var(--cui-base-200)}}.button :active{background:var(--cui-base-200)}.icon{padding:2px}.wrapper{display:flex;flex-direction:column;gap:8px}.content{padding-left:20px}.content_hidden{display:none}.lists{display:flex;flex-direction:column;gap:8px;position:relative}.lists>*{z-index:1}.lists:has(>:nth-child(2)):before{content:\"\";position:absolute;top:0;bottom:0;left:8px;border-left:1px solid var(--cui-base-200)}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"] }]
86
+ }], ctorParameters: () => [] });
87
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS1saXN0LWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS93aWRnZXRzL3VpL3N0b3JhZ2UtbGlzdC9jb21wb25lbnRzL3N0b3JhZ2UtbGlzdC1pdGVtL3N0b3JhZ2UtbGlzdC1pdGVtLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS9zdG9yYWdl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AgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxjdWktc3ZnXG4gICAgICAgICAgICAgICAgICAgICAgICBbaWNvbl09XCJvcGVuQ2xvc2VCdXR0b25JY29uKClcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY29sb3I9XCJ2YXIoLS1jdWktYmFzZS01MDApXCJcbiAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgPC9uZy10ZW1wbGF0ZT5cblxuICAgICAgICBAaWYgKGl0ZW1TbG90KCk7IGFzIGl0ZW0pIHtcbiAgICAgICAgICAgIDxuZy1jb250YWluZXJcbiAgICAgICAgICAgICAgICAqbmdUZW1wbGF0ZU91dGxldD1cIlxuICAgICAgICAgICAgICAgICAgICBpdGVtO1xuICAgICAgICAgICAgICAgICAgICBjb250ZXh0OiB7XG4gICAgICAgICAgICAgICAgICAgICAgICAkaW1wbGljaXQ6IHN0b3JhZ2UsXG4gICAgICAgICAgICAgICAgICAgICAgICBvcGVuQ2xvc2VCdXR0b24sXG4gICAgICAgICAgICAgICAgICAgICAgICBhcmVDb250ZW50T3BlbmVkOiBhcmVDb250ZW50T3BlbmVkKCksXG4gICAgICAgICAgICAgICAgICAgICAgICBoYXNDb250ZW50OiBoYXNDb250ZW50KClcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICB9XG5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgY2xhc3M9XCJjb250ZW50XCJcbiAgICAgICAgICAgIFtjbGFzcy5jb250ZW50X2hpZGRlbl09XCIhYXJlQ29udGVudE9wZW5lZCgpXCJcbiAgICAgICAgPlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImxpc3RzXCI+XG4gICAgICAgICAgICAgICAgQGlmIChzdG9yYWdlQ2hpbGRyZW4oKS5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgPGN1aS1zdG9yYWdlLWxpc3RcbiAgICAgICAgICAgICAgICAgICAgICAgIFtzdG9yYWdlc109XCJzdG9yYWdlQ2hpbGRyZW4oKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbZWxlbWVudFNsb3RdPVwiZWxlbWVudFNsb3QoKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbaXRlbVNsb3RdPVwiaXRlbVNsb3QoKVwiXG4gICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIEBpZiAoc3RvcmFnZUVsZW1lbnRzKCkubGVuZ3RoICYmIGVsZW1lbnRTbG90KCkpIHtcbiAgICAgICAgICAgICAgICAgICAgPHVsIGNsYXNzPVwibGlzdFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgQGZvciAoZWxlbWVudCBvZiBzdG9yYWdlRWxlbWVudHMoKTsgdHJhY2sgZWxlbWVudC5pZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsaSBjbGFzcz1cIml0ZW1cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nVGVtcGxhdGVPdXRsZXQ9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbGVtZW50U2xvdCgpITtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjb250ZXh0OiB7ICRpbXBsaWNpdDogZWxlbWVudCwgc3RvcmFnZTogc3RvcmFnZSB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbGk+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIDwvdWw+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export { CuiStorageListComponent } from './storage-list.component';
2
+ export * from './storage-list.options';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQ25FLGNBQWMsd0JBQXdCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlTdG9yYWdlTGlzdENvbXBvbmVudCB9IGZyb20gJy4vc3RvcmFnZS1saXN0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3N0b3JhZ2UtbGlzdC5vcHRpb25zJztcbiJdfQ==
@@ -0,0 +1,17 @@
1
+ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
+ import { CuiStorageListItemComponent } from './components';
3
+ import * as i0 from "@angular/core";
4
+ export class CuiStorageListComponent {
5
+ constructor() {
6
+ this.storages = input.required();
7
+ this.elementSlot = input();
8
+ this.itemSlot = input();
9
+ }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiStorageListComponent, isStandalone: true, selector: "cui-storage-list", inputs: { storages: { classPropertyName: "storages", publicName: "storages", isSignal: true, isRequired: true, transformFunction: null }, elementSlot: { classPropertyName: "elementSlot", publicName: "elementSlot", isSignal: true, isRequired: false, transformFunction: null }, itemSlot: { classPropertyName: "itemSlot", publicName: "itemSlot", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<ul class=\"list\">\n @for (storage of storages(); track storage.id) {\n <li\n cuiStorageListItem\n [storage]=\"storage\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n class=\"item\"\n ></li>\n }\n</ul>\n", styles: [":host{display:block}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative;z-index:0}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"], dependencies: [{ kind: "component", type: CuiStorageListItemComponent, selector: "li[cuiStorageListItem]", inputs: ["storage", "elementSlot", "itemSlot"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiStorageListComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'cui-storage-list', imports: [CuiStorageListItemComponent], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ul class=\"list\">\n @for (storage of storages(); track storage.id) {\n <li\n cuiStorageListItem\n [storage]=\"storage\"\n [elementSlot]=\"elementSlot()\"\n [itemSlot]=\"itemSlot()\"\n class=\"item\"\n ></li>\n }\n</ul>\n", styles: [":host{display:block}.list{display:flex;flex-direction:column;gap:8px}.item{position:relative;z-index:0}.item:not(:last-child):before{content:\"\";position:absolute;top:0;left:8px;bottom:-8px;z-index:-1;width:1px;background:var(--cui-base-200)}\n"] }]
16
+ }] });
17
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4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2l0ZW1TbG90XT1cIml0ZW1TbG90KClcIlxuICAgICAgICAgICAgY2xhc3M9XCJpdGVtXCJcbiAgICAgICAgPjwvbGk+XG4gICAgfVxuPC91bD5cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export const CUI_STORAGE_LIST_SERVICE_TOKEN = new InjectionToken('STORAGE_LIST_SERVICE_TOKEN');
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvcmFnZS1saXN0Lm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvc3RvcmFnZS1saXN0L3N0b3JhZ2UtbGlzdC5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFHL0MsTUFBTSxDQUFDLE1BQU0sOEJBQThCLEdBQUcsSUFBSSxjQUFjLENBQXdCLDRCQUE0QixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHR5cGUgeyBPYnNlcnZhYmxlIH0gZnJvbSAncnhqcyc7XG5cbmV4cG9ydCBjb25zdCBDVUlfU1RPUkFHRV9MSVNUX1NFUlZJQ0VfVE9LRU4gPSBuZXcgSW5qZWN0aW9uVG9rZW48Q3VpU3RvcmFnZUxpc3RTZXJ2aWNlPignU1RPUkFHRV9MSVNUX1NFUlZJQ0VfVE9LRU4nKTtcblxuZXhwb3J0IGludGVyZmFjZSBDdWlTdG9yYWdlTGlzdFNlcnZpY2U8VCA9IEN1aVN0b3JhZ2VCYXNlPiB7XG4gICAgZ2V0Q2hpbGRyZW4/KGNoaWxkcm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VhZG9ubHknO1xuIl19
@@ -0,0 +1,2 @@
1
+ export { ToolFormReadonlyComponent } from './tool-form-readonly.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdG9vbGJveC1mb3JtL2NvbXBvbmVudHMvdG9vbC1mb3JtLXJlYWRvbmx5L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgVG9vbEZvcm1SZWFkb25seUNvbXBvbmVudCB9IGZyb20gJy4vdG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudCc7XG4iXX0=
@@ -0,0 +1,19 @@
1
+ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
+ import { TranslocoDirective } from '@jsverse/transloco';
3
+ import { CuiBadgeModule } from '../../../../../components';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../../../../components/badge/badge.component";
6
+ export class ToolFormReadonlyComponent {
7
+ constructor() {
8
+ this.tool = input.required();
9
+ }
10
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolFormReadonlyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: ToolFormReadonlyComponent, isStandalone: true, selector: "cc-tool-form-readonly", inputs: { tool: { classPropertyName: "tool", publicName: "tool", isSignal: true, isRequired: true, transformFunction: null } }, host: { properties: { "class._disabled": "tool().isDelete" } }, ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <td class=\"cc-table__td info custom\">\n {{ tool().name }}\n\n @if (tool().isDelete) {\n <cui-badge\n class=\"badge\"\n [size]=\"'sm'\"\n color=\"red\"\n >\n {{ t('DELETED') }}\n </cui-badge>\n }\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().quantity }}\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().unit }}\n </td>\n</ng-container>\n", styles: [".custom{display:flex;align-items:center;padding-right:4px;padding-left:4px;min-height:53px}:host{display:contents}:host._disabled .custom{pointer-events:none;opacity:.7}:host._disabled .button{opacity:1;pointer-events:all}.info{display:flex}.badge{margin-left:auto}\n"], dependencies: [{ kind: "ngmodule", type: CuiBadgeModule }, { kind: "component", type: i1.CuiBadgeComponent, selector: "cui-badge", inputs: ["color", "size", "isWithDot"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
+ }
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ToolFormReadonlyComponent, decorators: [{
14
+ type: Component,
15
+ args: [{ selector: 'cc-tool-form-readonly', imports: [CuiBadgeModule, TranslocoDirective], changeDetection: ChangeDetectionStrategy.OnPush, host: {
16
+ '[class._disabled]': 'tool().isDelete'
17
+ }, standalone: true, template: "<ng-container *transloco=\"let t\">\n <td class=\"cc-table__td info custom\">\n {{ tool().name }}\n\n @if (tool().isDelete) {\n <cui-badge\n class=\"badge\"\n [size]=\"'sm'\"\n color=\"red\"\n >\n {{ t('DELETED') }}\n </cui-badge>\n }\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().quantity }}\n </td>\n <td class=\"cc-table__td custom\">\n {{ tool().unit }}\n </td>\n</ng-container>\n", styles: [".custom{display:flex;align-items:center;padding-right:4px;padding-left:4px;min-height:53px}:host{display:contents}:host._disabled .custom{pointer-events:none;opacity:.7}:host._disabled .button{opacity:1;pointer-events:all}.info{display:flex}.badge{margin-left:auto}\n"] }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS90b29sYm94LWZvcm0vY29tcG9uZW50cy90b29sLWZvcm0tcmVhZG9ubHkvdG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvd2lkZ2V0cy91aS90b29sYm94LWZvcm0vY29tcG9uZW50cy90b29sLWZvcm0tcmVhZG9ubHkvdG9vbC1mb3JtLXJlYWRvbmx5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRXhELE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7O0FBYzNELE1BQU0sT0FBTyx5QkFBeUI7SUFYdEM7UUFZb0IsU0FBSSxHQUFHLEtBQUssQ0FBQyxRQUFRLEVBQXVCLENBQUM7S0FDaEU7K0dBRlkseUJBQXlCO21HQUF6Qix5QkFBeUIsaVJDbEJ0QywraEJBcUJBLG9VRFpjLGNBQWMsaUpBQUUsa0JBQWtCOzs0RkFTbkMseUJBQXlCO2tCQVhyQyxTQUFTOytCQUNJLHVCQUF1QixXQUN4QixDQUFDLGNBQWMsRUFBRSxrQkFBa0IsQ0FBQ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8UmVzb3VyY2VVdGlsaXR5VG9vbD4oKTtcbn1cbiIsIjxuZy1jb250YWluZXIgKnRyYW5zbG9jbz1cImxldCB0XCI+XG4gICAgPHRkIGNsYXNzPVwiY2MtdGFibGVfX3RkIGluZm8gY3VzdG9tXCI+XG4gICAgICAgIHt7IHRvb2woKS5uYW1lIH19XG5cbiAgICAgICAgQGlmICh0b29sKCkuaXNEZWxldGUpIHtcbiAgICAgICAgICAgIDxjdWktYmFkZ2VcbiAgICAgICAgICAgICAgICBjbGFzcz1cImJhZGdlXCJcbiAgICAgICAgICAgICAgICBbc2l6ZV09XCInc20nXCJcbiAgICAgICAgICAgICAgICBjb2xvcj1cInJlZFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgdCgnREVMRVRFRCcpIH19XG4gICAgICAgICAgICA8L2N1aS1iYWRnZT5cbiAgICAgICAgfVxuICAgIDwvdGQ+XG4gICAgPHRkIGNsYXNzPVwiY2MtdGFibGVfX3RkIGN1c3RvbVwiPlxuICAgICAgICB7eyB0b29sKCkucXVhbnRpdHkgfX1cbiAgICA8L3RkPlxuICAgIDx0ZCBjbGFzcz1cImNjLXRhYmxlX190ZCBjdXN0b21cIj5cbiAgICAgICAge3sgdG9vbCgpLnVuaXQgfX1cbiAgICA8L3RkPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export { ToolFormComponent } from './tool-form.component';
2
+ export * from './components/index';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL3dpZGdldHMvdWkvdG9vbGJveC1mb3JtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQzFELGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBUb29sRm9ybUNvbXBvbmVudCB9IGZyb20gJy4vdG9vbC1mb3JtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMvaW5kZXgnO1xuIl19