@cuby-ui/core 0.0.487 → 0.0.488

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 (1160) hide show
  1. package/animations/animations.d.ts +36 -0
  2. package/animations/index.d.ts +1 -0
  3. package/classes/accessors.d.ts +17 -0
  4. package/classes/driver.d.ts +16 -0
  5. package/classes/index.d.ts +3 -0
  6. package/classes/vehicle.d.ts +6 -0
  7. package/components/accordion/accordion-item/accordion-item.component.d.ts +14 -0
  8. package/components/accordion/accordion-item/accordion-item.options.d.ts +1 -0
  9. package/components/accordion/accordion.component.d.ts +5 -0
  10. package/components/accordion/accordion.directive.d.ts +15 -0
  11. package/components/accordion/accordion.module.d.ts +11 -0
  12. package/components/accordion/index.d.ts +4 -0
  13. package/components/alert/alert.component.d.ts +13 -0
  14. package/components/alert/alert.interfaces.d.ts +9 -0
  15. package/components/alert/alert.module.d.ts +11 -0
  16. package/components/alert/alert.service.d.ts +7 -0
  17. package/components/alert/alert.tokens.d.ts +16 -0
  18. package/components/alert/alert.types.d.ts +3 -0
  19. package/components/alert/alerts.component.d.ts +17 -0
  20. package/components/alert/index.d.ts +8 -0
  21. package/components/alert-hint/alert-hint.component.d.ts +11 -0
  22. package/components/alert-hint/error-status.d.ts +1 -0
  23. package/components/alert-hint/index.d.ts +2 -0
  24. package/components/badge/badge.component.d.ts +10 -0
  25. package/components/badge/badge.module.d.ts +8 -0
  26. package/components/badge/badge.options.d.ts +12 -0
  27. package/components/badge/index.d.ts +3 -0
  28. package/components/banner/banner.component.d.ts +21 -0
  29. package/components/banner/banner.module.d.ts +11 -0
  30. package/components/banner/banner.options.d.ts +13 -0
  31. package/components/banner/index.d.ts +3 -0
  32. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -0
  33. package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -0
  34. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -0
  35. package/components/breadcrumbs/index.d.ts +3 -0
  36. package/components/button/button.component.d.ts +39 -0
  37. package/components/button/button.module.d.ts +9 -0
  38. package/components/button/button.options.d.ts +14 -0
  39. package/components/button/index.d.ts +3 -0
  40. package/components/button-group/button-group.component.d.ts +5 -0
  41. package/components/button-group/button-group.module.d.ts +7 -0
  42. package/components/button-group/index.d.ts +2 -0
  43. package/components/card-wrapper/card-wrapper.component.d.ts +7 -0
  44. package/components/card-wrapper/index.d.ts +1 -0
  45. package/components/checkbox/checkbox.component.d.ts +5 -0
  46. package/components/checkbox/checkbox.module.d.ts +7 -0
  47. package/components/checkbox/index.d.ts +2 -0
  48. package/components/content-header/content-header.component.d.ts +8 -0
  49. package/components/content-header/index.d.ts +1 -0
  50. package/components/content-wrapper/content-wrapper.component.d.ts +11 -0
  51. package/components/content-wrapper/index.d.ts +1 -0
  52. package/components/context-menu/context-menu.component.d.ts +41 -0
  53. package/components/context-menu/context-menu.module.d.ts +9 -0
  54. package/components/context-menu/index.d.ts +2 -0
  55. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -0
  56. package/components/dialog/dialog-header/dialog-header.component.d.ts +12 -0
  57. package/components/dialog/dialog.component.d.ts +33 -0
  58. package/components/dialog/dialog.interfaces.d.ts +11 -0
  59. package/components/dialog/dialog.module.d.ts +14 -0
  60. package/components/dialog/dialog.service.d.ts +7 -0
  61. package/components/dialog/dialog.tokens.d.ts +8 -0
  62. package/components/dialog/dialogs.component.d.ts +18 -0
  63. package/components/dialog/index.d.ts +8 -0
  64. package/components/dropdown/dropdown-wrapper.component.d.ts +9 -0
  65. package/components/dropdown/dropdown.directive.d.ts +41 -0
  66. package/components/dropdown/dropdown.interfaces.d.ts +8 -0
  67. package/components/dropdown/index.d.ts +3 -0
  68. package/components/empty-state/empty-state.component.d.ts +7 -0
  69. package/components/empty-state/index.d.ts +1 -0
  70. package/components/file-icon/file-icon.component.d.ts +9 -0
  71. package/components/file-icon/file-icon.options.d.ts +12 -0
  72. package/components/file-icon/index.d.ts +1 -0
  73. package/components/form-field/form-field.component.d.ts +5 -0
  74. package/components/form-field/form-field.module.d.ts +7 -0
  75. package/components/form-field/index.d.ts +2 -0
  76. package/components/ghost-input/ghost-input.component.d.ts +6 -0
  77. package/components/ghost-input/index.d.ts +1 -0
  78. package/components/hint/hint.component.d.ts +7 -0
  79. package/components/hint/hint.module.d.ts +7 -0
  80. package/components/hint/index.d.ts +2 -0
  81. package/components/icon-button/icon-button.component.d.ts +13 -0
  82. package/components/icon-button/icon-button.module.d.ts +9 -0
  83. package/components/icon-button/index.d.ts +2 -0
  84. package/components/index.d.ts +41 -0
  85. package/components/input-number/index.d.ts +2 -0
  86. package/components/input-number/input-number.component.d.ts +38 -0
  87. package/components/input-number/input-number.module.d.ts +12 -0
  88. package/components/input-password/index.d.ts +2 -0
  89. package/components/input-password/input-password.component.d.ts +31 -0
  90. package/components/input-password/input-password.module.d.ts +11 -0
  91. package/components/input-text/index.d.ts +2 -0
  92. package/components/input-text/input-text.component.d.ts +31 -0
  93. package/components/input-text/input-text.module.d.ts +11 -0
  94. package/components/input-time/index.d.ts +3 -0
  95. package/components/input-time/input-time.component.d.ts +36 -0
  96. package/components/input-time/input-time.module.d.ts +12 -0
  97. package/components/input-time/input-time.options.d.ts +7 -0
  98. package/components/label/index.d.ts +2 -0
  99. package/components/label/label.component.d.ts +6 -0
  100. package/components/label/label.module.d.ts +8 -0
  101. package/components/layout/index.d.ts +1 -0
  102. package/components/layout/layout.component.d.ts +6 -0
  103. package/components/letter-box/index.d.ts +1 -0
  104. package/components/letter-box/letter-box.component.d.ts +14 -0
  105. package/components/letter-box/letter-box.interfaces.d.ts +3 -0
  106. package/components/notification/index.d.ts +3 -0
  107. package/components/notification/notification.component.d.ts +18 -0
  108. package/components/notification/notification.module.d.ts +9 -0
  109. package/components/notification/notification.options.d.ts +17 -0
  110. package/components/options-button/index.d.ts +1 -0
  111. package/components/options-button/options-button.component.d.ts +8 -0
  112. package/components/radio/index.d.ts +2 -0
  113. package/components/radio/radio.component.d.ts +5 -0
  114. package/components/radio/radio.module.d.ts +7 -0
  115. package/components/render-dynamic-components/index.d.ts +3 -0
  116. package/components/render-dynamic-components/render-dynamic-components.component.d.ts +7 -0
  117. package/components/render-dynamic-components/render-dynamic-components.options.d.ts +7 -0
  118. package/components/render-dynamic-components/render-dynamic-components.service.d.ts +12 -0
  119. package/components/root/index.d.ts +3 -0
  120. package/components/root/root.component.d.ts +10 -0
  121. package/components/root/root.module.d.ts +11 -0
  122. package/components/root/root.options.d.ts +1 -0
  123. package/components/select/index.d.ts +2 -0
  124. package/components/select/select.component.d.ts +53 -0
  125. package/components/select/select.module.d.ts +11 -0
  126. package/components/sidebar/index.d.ts +7 -0
  127. package/components/sidebar/sidebar-container/index.d.ts +1 -0
  128. package/components/sidebar/sidebar-container/sidebar-container.component.d.ts +10 -0
  129. package/components/sidebar/sidebar-header/index.d.ts +1 -0
  130. package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +12 -0
  131. package/components/sidebar/sidebar-navigation/index.d.ts +1 -0
  132. package/components/sidebar/sidebar-navigation/sidebar-navigation.component.d.ts +9 -0
  133. package/components/sidebar/sidebar-navigation-container/index.d.ts +1 -0
  134. package/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.d.ts +8 -0
  135. package/components/sidebar/sidebar-navigation-item/index.d.ts +1 -0
  136. package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +9 -0
  137. package/components/sidebar/sidebar.options.d.ts +4 -0
  138. package/components/sidebar/sidebar.service.d.ts +17 -0
  139. package/components/svg/index.d.ts +2 -0
  140. package/components/svg/svg.component.d.ts +16 -0
  141. package/components/svg/svg.module.d.ts +8 -0
  142. package/components/tab/index.d.ts +1 -0
  143. package/components/tab/tab.component.d.ts +15 -0
  144. package/components/tabs/components/abstract-tabs/abstract-tabs.component.d.ts +15 -0
  145. package/components/tabs/components/abstract-tabs/index.d.ts +1 -0
  146. package/components/tabs/components/index.d.ts +1 -0
  147. package/components/tabs/index.d.ts +5 -0
  148. package/components/tabs/services/index.d.ts +1 -0
  149. package/components/tabs/services/tabs.service.d.ts +14 -0
  150. package/components/tabs/tabs.component.d.ts +8 -0
  151. package/components/tabs/tabs.options.d.ts +21 -0
  152. package/components/tabs/tabs.provider.d.ts +3 -0
  153. package/components/textarea/index.d.ts +2 -0
  154. package/components/textarea/textarea.component.d.ts +10 -0
  155. package/components/textarea/textarea.module.d.ts +7 -0
  156. package/components/toggle/index.d.ts +2 -0
  157. package/components/toggle/toggle.component.d.ts +5 -0
  158. package/components/toggle/toggle.module.d.ts +7 -0
  159. package/directives/index.d.ts +2 -0
  160. package/directives/text-field-controller/index.d.ts +8 -0
  161. package/directives/text-field-controller/text-field-controller.module.d.ts +11 -0
  162. package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -0
  163. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -0
  164. package/directives/text-field-controller/text-field-id.directive.d.ts +8 -0
  165. package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -0
  166. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -0
  167. package/directives/text-field-controller/text-field-size.directive.d.ts +9 -0
  168. package/directives/text-field-controller/text-field.controller.d.ts +20 -0
  169. package/directives/tooltip/index.d.ts +16 -0
  170. package/directives/tooltip/tooltip-describe.directive.d.ts +16 -0
  171. package/directives/tooltip/tooltip-driver.directive.d.ts +7 -0
  172. package/directives/tooltip/tooltip-host.directive.d.ts +9 -0
  173. package/directives/tooltip/tooltip-hover.directive.d.ts +21 -0
  174. package/directives/tooltip/tooltip-manual.directive.d.ts +13 -0
  175. package/directives/tooltip/tooltip-options.directive.d.ts +36 -0
  176. package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -0
  177. package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -0
  178. package/directives/tooltip/tooltip-position.directive.d.ts +20 -0
  179. package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -0
  180. package/directives/tooltip/tooltip.component.d.ts +33 -0
  181. package/directives/tooltip/tooltip.d.ts +13 -0
  182. package/directives/tooltip/tooltip.directive.d.ts +26 -0
  183. package/directives/tooltip/tooltip.providers.d.ts +5 -0
  184. package/directives/tooltip/tooltip.service.d.ts +13 -0
  185. package/directives/tooltip/tooltips.component.d.ts +12 -0
  186. package/editor/components/editor-attaches-tool/editor-attaches-tool.component.d.ts +19 -0
  187. package/editor/components/editor-attaches-tool/editor-attaches-tool.options.d.ts +18 -0
  188. package/editor/components/editor-attaches-tool/index.d.ts +2 -0
  189. package/editor/components/editor-image-tool/editor-image-tool.component.d.ts +14 -0
  190. package/editor/components/editor-image-tool/editor-image-tool.options.d.ts +26 -0
  191. package/editor/components/editor-image-tool/index.d.ts +2 -0
  192. package/editor/components/editor-tool/editor-tool.component.d.ts +22 -0
  193. package/editor/components/editor-tool-modal/editor-tool-modal.component.d.ts +24 -0
  194. package/editor/components/editor-tool-modal/editor-tool-modal.options.d.ts +8 -0
  195. package/editor/components/editor-tool-modal/index.d.ts +2 -0
  196. package/editor/components/editor-tooltip/editor-tooltip.component.d.ts +16 -0
  197. package/editor/components/editor-tooltip/editor-tooltip.options.d.ts +9 -0
  198. package/editor/components/editor-tooltip/index.d.ts +2 -0
  199. package/editor/components/editor-video-tool/editor-video-tool.component.d.ts +12 -0
  200. package/editor/components/editor-video-tool/editor-video-tool.options.d.ts +26 -0
  201. package/editor/components/editor-video-tool/index.d.ts +2 -0
  202. package/editor/components/index.d.ts +7 -0
  203. package/editor/components/marker-modal/index.d.ts +3 -0
  204. package/editor/components/marker-modal/marker-modal.component.d.ts +62 -0
  205. package/editor/components/marker-modal/marker-modal.interfaces.d.ts +7 -0
  206. package/editor/components/marker-modal/marker-modal.options.d.ts +1 -0
  207. package/editor/components/marker-select/component/select-item/select-option.component.d.ts +7 -0
  208. package/editor/components/marker-select/index.d.ts +2 -0
  209. package/editor/components/marker-select/marker-select.component.d.ts +40 -0
  210. package/editor/components/marker-select/marker-select.options.d.ts +1 -0
  211. package/editor/config/custom-elements.d.ts +2 -0
  212. package/editor/config/editor.config.d.ts +3 -0
  213. package/editor/config/index.d.ts +1 -0
  214. package/editor/constants/editor.constants.d.ts +15 -0
  215. package/editor/constants/index.d.ts +1 -0
  216. package/editor/editor.component.d.ts +74 -0
  217. package/editor/events/editor-drag.event.d.ts +2 -0
  218. package/editor/events/editor-keyboard.event.d.ts +2 -0
  219. package/editor/events/editor-modal.event.d.ts +3 -0
  220. package/editor/events/editor-tooltip.event.d.ts +2 -0
  221. package/editor/events/set-editor-events.d.ts +1 -0
  222. package/editor/index.d.ts +9 -0
  223. package/editor/interfaces/angular-element.d.ts +2 -0
  224. package/editor/interfaces/blocks-request-data.d.ts +6 -0
  225. package/editor/interfaces/combined-block-adding-event.d.ts +7 -0
  226. package/editor/interfaces/combined-block-data.d.ts +5 -0
  227. package/editor/interfaces/combined-part-block-data.d.ts +7 -0
  228. package/editor/interfaces/custom-element.d.ts +5 -0
  229. package/editor/interfaces/editor-service.d.ts +4 -0
  230. package/editor/interfaces/event-action-data.d.ts +5 -0
  231. package/editor/interfaces/file-response-data.d.ts +15 -0
  232. package/editor/interfaces/full-block-data.d.ts +8 -0
  233. package/editor/interfaces/index.d.ts +15 -0
  234. package/editor/interfaces/main-editor-config.d.ts +12 -0
  235. package/editor/interfaces/mutation-actions.d.ts +5 -0
  236. package/editor/interfaces/parent.d.ts +4 -0
  237. package/editor/interfaces/tools.d.ts +4 -0
  238. package/editor/interfaces/tune.d.ts +6 -0
  239. package/editor/pipes/file-size.pipe.d.ts +9 -0
  240. package/editor/providers/editor.provider.d.ts +2 -0
  241. package/editor/providers/index.d.ts +1 -0
  242. package/editor/services/editor-service.options.d.ts +8 -0
  243. package/editor/services/editor.service.d.ts +23 -0
  244. package/editor/services/index.d.ts +4 -0
  245. package/editor/services/markers-service.options.d.ts +4 -0
  246. package/editor/services/markers.service.d.ts +11 -0
  247. package/editor/tools/attaches.tool.d.ts +31 -0
  248. package/editor/tools/bold.tool.d.ts +11 -0
  249. package/editor/tools/combined-text-block.tool.d.ts +48 -0
  250. package/editor/tools/custom-marker.tool.d.ts +16 -0
  251. package/editor/tools/header.tool.d.ts +8 -0
  252. package/editor/tools/image.tool.d.ts +37 -0
  253. package/editor/tools/index.d.ts +11 -0
  254. package/editor/tools/italic.tool.d.ts +12 -0
  255. package/editor/tools/link-marker.tool.d.ts +15 -0
  256. package/editor/tools/list.tool.d.ts +5 -0
  257. package/editor/tools/marker.tool.d.ts +36 -0
  258. package/editor/tools/role-marker.tool.d.ts +7 -0
  259. package/editor/tools/selection-base.tool.d.ts +24 -0
  260. package/editor/tools/tool-marker.tool.d.ts +7 -0
  261. package/editor/tools/video.tool.d.ts +32 -0
  262. package/editor/utils/copy-text-to-clipboard.d.ts +1 -0
  263. package/editor/utils/create-link-modal.d.ts +3 -0
  264. package/editor/utils/create-tool-modal.d.ts +4 -0
  265. package/editor/utils/create-tools-data.d.ts +3 -0
  266. package/editor/utils/create-tooltip.d.ts +8 -0
  267. package/editor/utils/file-uploader.d.ts +27 -0
  268. package/editor/utils/generate-id.d.ts +1 -0
  269. package/editor/utils/index.d.ts +12 -0
  270. package/editor/utils/open-file-in-browser.d.ts +2 -0
  271. package/editor/utils/recalculate-indexes.d.ts +2 -0
  272. package/editor/utils/remove-element-tag-wrapper.d.ts +1 -0
  273. package/editor/utils/set-loading.d.ts +2 -0
  274. package/editor/utils/split-html.d.ts +1 -0
  275. package/editor/utils/url.validator.d.ts +2 -0
  276. package/editor/widgets/editor-block/editor-block.component.d.ts +22 -0
  277. package/editor/widgets/editor-block/index.d.ts +1 -0
  278. package/editor/widgets/editor-modal/editor-modal.component.d.ts +19 -0
  279. package/editor/widgets/editor-modal/index.d.ts +1 -0
  280. package/editor/widgets/editor-readonly/editor-readonly.component.d.ts +27 -0
  281. package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +5 -0
  282. package/editor/widgets/editor-readonly/editor-resize-observer.directive.d.ts +15 -0
  283. package/editor/widgets/editor-readonly/index.d.ts +2 -0
  284. package/editor/widgets/index.d.ts +3 -0
  285. package/esm2022/animations/animations.mjs +228 -0
  286. package/esm2022/animations/index.mjs +2 -0
  287. package/esm2022/classes/accessors.mjs +31 -0
  288. package/esm2022/classes/driver.mjs +35 -0
  289. package/esm2022/classes/index.mjs +4 -0
  290. package/esm2022/classes/vehicle.mjs +7 -0
  291. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +37 -0
  292. package/esm2022/components/accordion/accordion-item/accordion-item.options.mjs +2 -0
  293. package/esm2022/components/accordion/accordion.component.mjs +11 -0
  294. package/esm2022/components/accordion/accordion.directive.mjs +56 -0
  295. package/esm2022/components/accordion/accordion.module.mjs +21 -0
  296. package/esm2022/components/accordion/index.mjs +5 -0
  297. package/esm2022/components/alert/alert.component.mjs +36 -0
  298. package/esm2022/components/alert/alert.interfaces.mjs +2 -0
  299. package/esm2022/components/alert/alert.module.mjs +21 -0
  300. package/esm2022/components/alert/alert.service.mjs +17 -0
  301. package/esm2022/components/alert/alert.tokens.mjs +20 -0
  302. package/esm2022/components/alert/alert.types.mjs +2 -0
  303. package/esm2022/components/alert/alerts.component.mjs +34 -0
  304. package/esm2022/components/alert/index.mjs +9 -0
  305. package/esm2022/components/alert-hint/alert-hint.component.mjs +28 -0
  306. package/esm2022/components/alert-hint/error-status.mjs +2 -0
  307. package/esm2022/components/alert-hint/index.mjs +2 -0
  308. package/esm2022/components/badge/badge.component.mjs +31 -0
  309. package/esm2022/components/badge/badge.module.mjs +18 -0
  310. package/esm2022/components/badge/badge.options.mjs +8 -0
  311. package/esm2022/components/badge/index.mjs +3 -0
  312. package/esm2022/components/banner/banner.component.mjs +68 -0
  313. package/esm2022/components/banner/banner.module.mjs +21 -0
  314. package/esm2022/components/banner/banner.options.mjs +6 -0
  315. package/esm2022/components/banner/index.mjs +4 -0
  316. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -0
  317. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -0
  318. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +20 -0
  319. package/esm2022/components/breadcrumbs/index.mjs +4 -0
  320. package/esm2022/components/button/button.component.mjs +133 -0
  321. package/esm2022/components/button/button.module.mjs +19 -0
  322. package/esm2022/components/button/button.options.mjs +11 -0
  323. package/esm2022/components/button/index.mjs +4 -0
  324. package/esm2022/components/button-group/button-group.component.mjs +11 -0
  325. package/esm2022/components/button-group/button-group.module.mjs +16 -0
  326. package/esm2022/components/button-group/index.mjs +3 -0
  327. package/esm2022/components/card-wrapper/card-wrapper.component.mjs +18 -0
  328. package/esm2022/components/card-wrapper/index.mjs +2 -0
  329. package/esm2022/components/checkbox/checkbox.component.mjs +11 -0
  330. package/esm2022/components/checkbox/checkbox.module.mjs +16 -0
  331. package/esm2022/components/checkbox/index.mjs +3 -0
  332. package/esm2022/components/content-header/content-header.component.mjs +19 -0
  333. package/esm2022/components/content-header/index.mjs +2 -0
  334. package/esm2022/components/content-wrapper/content-wrapper.component.mjs +29 -0
  335. package/esm2022/components/content-wrapper/index.mjs +2 -0
  336. package/esm2022/components/context-menu/context-menu.component.mjs +148 -0
  337. package/esm2022/components/context-menu/context-menu.module.mjs +19 -0
  338. package/esm2022/components/context-menu/index.mjs +3 -0
  339. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -0
  340. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -0
  341. package/esm2022/components/dialog/dialog.component.mjs +67 -0
  342. package/esm2022/components/dialog/dialog.interfaces.mjs +2 -0
  343. package/esm2022/components/dialog/dialog.module.mjs +24 -0
  344. package/esm2022/components/dialog/dialog.service.mjs +17 -0
  345. package/esm2022/components/dialog/dialog.tokens.mjs +12 -0
  346. package/esm2022/components/dialog/dialogs.component.mjs +49 -0
  347. package/esm2022/components/dialog/index.mjs +9 -0
  348. package/esm2022/components/dropdown/dropdown-wrapper.component.mjs +23 -0
  349. package/esm2022/components/dropdown/dropdown.directive.mjs +182 -0
  350. package/esm2022/components/dropdown/dropdown.interfaces.mjs +2 -0
  351. package/esm2022/components/dropdown/index.mjs +3 -0
  352. package/esm2022/components/empty-state/empty-state.component.mjs +17 -0
  353. package/esm2022/components/empty-state/index.mjs +2 -0
  354. package/esm2022/components/file-icon/file-icon.component.mjs +22 -0
  355. package/esm2022/components/file-icon/file-icon.options.mjs +120 -0
  356. package/esm2022/components/file-icon/index.mjs +2 -0
  357. package/esm2022/components/form-field/form-field.component.mjs +11 -0
  358. package/esm2022/components/form-field/form-field.module.mjs +16 -0
  359. package/esm2022/components/form-field/index.mjs +3 -0
  360. package/esm2022/components/ghost-input/ghost-input.component.mjs +16 -0
  361. package/esm2022/components/ghost-input/index.mjs +2 -0
  362. package/esm2022/components/hint/hint.component.mjs +19 -0
  363. package/esm2022/components/hint/hint.module.mjs +16 -0
  364. package/esm2022/components/hint/index.mjs +3 -0
  365. package/esm2022/components/icon-button/icon-button.component.mjs +32 -0
  366. package/esm2022/components/icon-button/icon-button.module.mjs +19 -0
  367. package/esm2022/components/icon-button/index.mjs +3 -0
  368. package/esm2022/components/index.mjs +42 -0
  369. package/esm2022/components/input-number/index.mjs +3 -0
  370. package/esm2022/components/input-number/input-number.component.mjs +107 -0
  371. package/esm2022/components/input-number/input-number.module.mjs +22 -0
  372. package/esm2022/components/input-password/index.mjs +3 -0
  373. package/esm2022/components/input-password/input-password.component.mjs +83 -0
  374. package/esm2022/components/input-password/input-password.module.mjs +21 -0
  375. package/esm2022/components/input-text/index.mjs +3 -0
  376. package/esm2022/components/input-text/input-text.component.mjs +81 -0
  377. package/esm2022/components/input-text/input-text.module.mjs +21 -0
  378. package/esm2022/components/input-time/index.mjs +4 -0
  379. package/esm2022/components/input-time/input-time.component.mjs +93 -0
  380. package/esm2022/components/input-time/input-time.module.mjs +22 -0
  381. package/esm2022/components/input-time/input-time.options.mjs +8 -0
  382. package/esm2022/components/label/index.mjs +3 -0
  383. package/esm2022/components/label/label.component.mjs +17 -0
  384. package/esm2022/components/label/label.module.mjs +18 -0
  385. package/esm2022/components/layout/index.mjs +2 -0
  386. package/esm2022/components/layout/layout.component.mjs +16 -0
  387. package/esm2022/components/letter-box/index.mjs +2 -0
  388. package/esm2022/components/letter-box/letter-box.component.mjs +43 -0
  389. package/esm2022/components/letter-box/letter-box.interfaces.mjs +2 -0
  390. package/esm2022/components/notification/index.mjs +4 -0
  391. package/esm2022/components/notification/notification.component.mjs +47 -0
  392. package/esm2022/components/notification/notification.module.mjs +19 -0
  393. package/esm2022/components/notification/notification.options.mjs +53 -0
  394. package/esm2022/components/options-button/index.mjs +2 -0
  395. package/esm2022/components/options-button/options-button.component.mjs +20 -0
  396. package/esm2022/components/radio/index.mjs +3 -0
  397. package/esm2022/components/radio/radio.component.mjs +11 -0
  398. package/esm2022/components/radio/radio.module.mjs +16 -0
  399. package/esm2022/components/render-dynamic-components/index.mjs +3 -0
  400. package/esm2022/components/render-dynamic-components/render-dynamic-components.component.mjs +17 -0
  401. package/esm2022/components/render-dynamic-components/render-dynamic-components.options.mjs +2 -0
  402. package/esm2022/components/render-dynamic-components/render-dynamic-components.service.mjs +29 -0
  403. package/esm2022/components/root/index.mjs +4 -0
  404. package/esm2022/components/root/root.component.mjs +27 -0
  405. package/esm2022/components/root/root.module.mjs +21 -0
  406. package/esm2022/components/root/root.options.mjs +2 -0
  407. package/esm2022/components/select/index.mjs +3 -0
  408. package/esm2022/components/select/select.component.mjs +171 -0
  409. package/esm2022/components/select/select.module.mjs +21 -0
  410. package/esm2022/components/sidebar/index.mjs +7 -0
  411. package/esm2022/components/sidebar/sidebar-container/index.mjs +2 -0
  412. package/esm2022/components/sidebar/sidebar-container/sidebar-container.component.mjs +30 -0
  413. package/esm2022/components/sidebar/sidebar-header/index.mjs +2 -0
  414. package/esm2022/components/sidebar/sidebar-header/sidebar-header.component.mjs +27 -0
  415. package/esm2022/components/sidebar/sidebar-navigation/index.mjs +2 -0
  416. package/esm2022/components/sidebar/sidebar-navigation/sidebar-navigation.component.mjs +16 -0
  417. package/esm2022/components/sidebar/sidebar-navigation-container/index.mjs +2 -0
  418. package/esm2022/components/sidebar/sidebar-navigation-container/sidebar-navigation-container.component.mjs +16 -0
  419. package/esm2022/components/sidebar/sidebar-navigation-item/index.mjs +2 -0
  420. package/esm2022/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.mjs +21 -0
  421. package/esm2022/components/sidebar/sidebar.options.mjs +2 -0
  422. package/esm2022/components/sidebar/sidebar.service.mjs +39 -0
  423. package/esm2022/components/svg/index.mjs +3 -0
  424. package/esm2022/components/svg/svg.component.mjs +48 -0
  425. package/esm2022/components/svg/svg.module.mjs +18 -0
  426. package/esm2022/components/tab/index.mjs +2 -0
  427. package/esm2022/components/tab/tab.component.mjs +36 -0
  428. package/esm2022/components/tabs/components/abstract-tabs/abstract-tabs.component.mjs +40 -0
  429. package/esm2022/components/tabs/components/abstract-tabs/index.mjs +2 -0
  430. package/esm2022/components/tabs/components/index.mjs +2 -0
  431. package/esm2022/components/tabs/index.mjs +6 -0
  432. package/esm2022/components/tabs/services/index.mjs +2 -0
  433. package/esm2022/components/tabs/services/tabs.service.mjs +27 -0
  434. package/esm2022/components/tabs/tabs.component.mjs +17 -0
  435. package/esm2022/components/tabs/tabs.options.mjs +5 -0
  436. package/esm2022/components/tabs/tabs.provider.mjs +9 -0
  437. package/esm2022/components/textarea/index.mjs +3 -0
  438. package/esm2022/components/textarea/textarea.component.mjs +35 -0
  439. package/esm2022/components/textarea/textarea.module.mjs +16 -0
  440. package/esm2022/components/toggle/index.mjs +3 -0
  441. package/esm2022/components/toggle/toggle.component.mjs +11 -0
  442. package/esm2022/components/toggle/toggle.module.mjs +16 -0
  443. package/esm2022/cuby-ui-core.mjs +5 -0
  444. package/esm2022/directives/index.mjs +3 -0
  445. package/esm2022/directives/text-field-controller/index.mjs +9 -0
  446. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -0
  447. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -0
  448. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -0
  449. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -0
  450. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -0
  451. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -0
  452. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -0
  453. package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -0
  454. package/esm2022/directives/tooltip/index.mjs +17 -0
  455. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +47 -0
  456. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -0
  457. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -0
  458. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +50 -0
  459. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -0
  460. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -0
  461. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -0
  462. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -0
  463. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +91 -0
  464. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -0
  465. package/esm2022/directives/tooltip/tooltip.component.mjs +109 -0
  466. package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -0
  467. package/esm2022/directives/tooltip/tooltip.mjs +27 -0
  468. package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -0
  469. package/esm2022/directives/tooltip/tooltip.service.mjs +28 -0
  470. package/esm2022/directives/tooltip/tooltips.component.mjs +33 -0
  471. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +60 -0
  472. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.options.mjs +2 -0
  473. package/esm2022/editor/components/editor-attaches-tool/index.mjs +3 -0
  474. package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +43 -0
  475. package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +2 -0
  476. package/esm2022/editor/components/editor-image-tool/index.mjs +3 -0
  477. package/esm2022/editor/components/editor-tool/editor-tool.component.mjs +74 -0
  478. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +69 -0
  479. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +2 -0
  480. package/esm2022/editor/components/editor-tool-modal/index.mjs +3 -0
  481. package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +45 -0
  482. package/esm2022/editor/components/editor-tooltip/editor-tooltip.options.mjs +2 -0
  483. package/esm2022/editor/components/editor-tooltip/index.mjs +3 -0
  484. package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +41 -0
  485. package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +2 -0
  486. package/esm2022/editor/components/editor-video-tool/index.mjs +3 -0
  487. package/esm2022/editor/components/index.mjs +8 -0
  488. package/esm2022/editor/components/marker-modal/index.mjs +3 -0
  489. package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +261 -0
  490. package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +2 -0
  491. package/esm2022/editor/components/marker-modal/marker-modal.options.mjs +2 -0
  492. package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +15 -0
  493. package/esm2022/editor/components/marker-select/index.mjs +3 -0
  494. package/esm2022/editor/components/marker-select/marker-select.component.mjs +155 -0
  495. package/esm2022/editor/components/marker-select/marker-select.options.mjs +2 -0
  496. package/esm2022/editor/config/custom-elements.mjs +32 -0
  497. package/esm2022/editor/config/editor.config.mjs +30 -0
  498. package/esm2022/editor/config/index.mjs +2 -0
  499. package/esm2022/editor/constants/editor.constants.mjs +20 -0
  500. package/esm2022/editor/constants/index.mjs +2 -0
  501. package/esm2022/editor/editor.component.mjs +393 -0
  502. package/esm2022/editor/events/editor-drag.event.mjs +7 -0
  503. package/esm2022/editor/events/editor-keyboard.event.mjs +33 -0
  504. package/esm2022/editor/events/editor-modal.event.mjs +31 -0
  505. package/esm2022/editor/events/editor-tooltip.event.mjs +63 -0
  506. package/esm2022/editor/events/set-editor-events.mjs +11 -0
  507. package/esm2022/editor/i18n/en.json +14 -0
  508. package/esm2022/editor/index.mjs +8 -0
  509. package/esm2022/editor/interfaces/angular-element.mjs +2 -0
  510. package/esm2022/editor/interfaces/blocks-request-data.mjs +2 -0
  511. package/esm2022/editor/interfaces/combined-block-adding-event.mjs +2 -0
  512. package/esm2022/editor/interfaces/combined-block-data.mjs +2 -0
  513. package/esm2022/editor/interfaces/combined-part-block-data.mjs +2 -0
  514. package/esm2022/editor/interfaces/custom-element.mjs +2 -0
  515. package/esm2022/editor/interfaces/editor-service.mjs +2 -0
  516. package/esm2022/editor/interfaces/event-action-data.mjs +2 -0
  517. package/esm2022/editor/interfaces/file-response-data.mjs +2 -0
  518. package/esm2022/editor/interfaces/full-block-data.mjs +2 -0
  519. package/esm2022/editor/interfaces/index.mjs +15 -0
  520. package/esm2022/editor/interfaces/main-editor-config.mjs +2 -0
  521. package/esm2022/editor/interfaces/mutation-actions.mjs +2 -0
  522. package/esm2022/editor/interfaces/parent.mjs +2 -0
  523. package/esm2022/editor/interfaces/tools.mjs +2 -0
  524. package/esm2022/editor/interfaces/tune.mjs +2 -0
  525. package/esm2022/editor/pipes/file-size.pipe.mjs +25 -0
  526. package/esm2022/editor/providers/editor.provider.mjs +19 -0
  527. package/esm2022/editor/providers/index.mjs +2 -0
  528. package/esm2022/editor/services/editor-service.options.mjs +4 -0
  529. package/esm2022/editor/services/editor.service.mjs +138 -0
  530. package/esm2022/editor/services/index.mjs +5 -0
  531. package/esm2022/editor/services/markers-service.options.mjs +2 -0
  532. package/esm2022/editor/services/markers.service.mjs +79 -0
  533. package/esm2022/editor/tools/attaches.tool.mjs +102 -0
  534. package/esm2022/editor/tools/bold.tool.mjs +33 -0
  535. package/esm2022/editor/tools/combined-text-block.tool.mjs +363 -0
  536. package/esm2022/editor/tools/custom-marker.tool.mjs +88 -0
  537. package/esm2022/editor/tools/header.tool.mjs +16 -0
  538. package/esm2022/editor/tools/image.tool.mjs +157 -0
  539. package/esm2022/editor/tools/index.mjs +12 -0
  540. package/esm2022/editor/tools/italic.tool.mjs +35 -0
  541. package/esm2022/editor/tools/link-marker.tool.mjs +80 -0
  542. package/esm2022/editor/tools/list.tool.mjs +10 -0
  543. package/esm2022/editor/tools/marker.tool.mjs +144 -0
  544. package/esm2022/editor/tools/role-marker.tool.mjs +17 -0
  545. package/esm2022/editor/tools/selection-base.tool.mjs +92 -0
  546. package/esm2022/editor/tools/tool-marker.tool.mjs +14 -0
  547. package/esm2022/editor/tools/video.tool.mjs +132 -0
  548. package/esm2022/editor/utils/copy-text-to-clipboard.mjs +17 -0
  549. package/esm2022/editor/utils/create-link-modal.mjs +22 -0
  550. package/esm2022/editor/utils/create-tool-modal.mjs +45 -0
  551. package/esm2022/editor/utils/create-tools-data.mjs +56 -0
  552. package/esm2022/editor/utils/create-tooltip.mjs +43 -0
  553. package/esm2022/editor/utils/file-uploader.mjs +60 -0
  554. package/esm2022/editor/utils/generate-id.mjs +4 -0
  555. package/esm2022/editor/utils/index.mjs +13 -0
  556. package/esm2022/editor/utils/open-file-in-browser.mjs +9 -0
  557. package/esm2022/editor/utils/recalculate-indexes.mjs +32 -0
  558. package/esm2022/editor/utils/remove-element-tag-wrapper.mjs +11 -0
  559. package/esm2022/editor/utils/set-loading.mjs +14 -0
  560. package/esm2022/editor/utils/split-html.mjs +128 -0
  561. package/esm2022/editor/utils/url.validator.mjs +12 -0
  562. package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +63 -0
  563. package/esm2022/editor/widgets/editor-block/index.mjs +2 -0
  564. package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +42 -0
  565. package/esm2022/editor/widgets/editor-modal/index.mjs +2 -0
  566. package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +36 -0
  567. package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +2 -0
  568. package/esm2022/editor/widgets/editor-readonly/editor-resize-observer.directive.mjs +51 -0
  569. package/esm2022/editor/widgets/editor-readonly/index.mjs +2 -0
  570. package/esm2022/editor/widgets/index.mjs +4 -0
  571. package/esm2022/index.mjs +12 -0
  572. package/esm2022/interceptors/auth.interceptor.mjs +15 -0
  573. package/esm2022/interceptors/error-handler.interceptor.mjs +23 -0
  574. package/esm2022/interceptors/index.mjs +5 -0
  575. package/esm2022/interceptors/loader.interceptor.mjs +12 -0
  576. package/esm2022/interceptors/x-ndjson.interceptor.mjs +48 -0
  577. package/esm2022/interfaces/context-menu-item.mjs +2 -0
  578. package/esm2022/interfaces/error-notification-service.mjs +2 -0
  579. package/esm2022/interfaces/error-stategy.mjs +2 -0
  580. package/esm2022/interfaces/image.mjs +2 -0
  581. package/esm2022/interfaces/index.mjs +6 -0
  582. package/esm2022/interfaces/option.mjs +2 -0
  583. package/esm2022/operators/handle-error.mjs +12 -0
  584. package/esm2022/operators/index.mjs +2 -0
  585. package/esm2022/providers/auth.options.mjs +3 -0
  586. package/esm2022/providers/auth.provider.mjs +31 -0
  587. package/esm2022/providers/error-handler.options.mjs +2 -0
  588. package/esm2022/providers/error-handler.provider.mjs +23 -0
  589. package/esm2022/providers/index.mjs +4 -0
  590. package/esm2022/services/auth.service.mjs +31 -0
  591. package/esm2022/services/browser-auth.service.mjs +31 -0
  592. package/esm2022/services/error-resolver-factory.service.mjs +75 -0
  593. package/esm2022/services/global-handler-error.service.mjs +26 -0
  594. package/esm2022/services/index.mjs +10 -0
  595. package/esm2022/services/loader.options.mjs +6 -0
  596. package/esm2022/services/loader.service.mjs +60 -0
  597. package/esm2022/services/mobile-auth.service.mjs +25 -0
  598. package/esm2022/services/position.service.mjs +23 -0
  599. package/esm2022/services/theme.options.mjs +6 -0
  600. package/esm2022/services/theme.service.mjs +30 -0
  601. package/esm2022/services/token.options.mjs +2 -0
  602. package/esm2022/services/token.service.mjs +121 -0
  603. package/esm2022/services/visual-viewport.service.mjs +28 -0
  604. package/esm2022/tokens/animations-speed.mjs +8 -0
  605. package/esm2022/tokens/error-notification-service.mjs +15 -0
  606. package/esm2022/tokens/error-translation-prefix.mjs +6 -0
  607. package/esm2022/tokens/index.mjs +6 -0
  608. package/esm2022/tokens/reduced-motion.mjs +5 -0
  609. package/esm2022/tokens/viewport.mjs +31 -0
  610. package/esm2022/types/appearance.mjs +2 -0
  611. package/esm2022/types/button-theme.mjs +2 -0
  612. package/esm2022/types/hint-type.mjs +2 -0
  613. package/esm2022/types/index.mjs +11 -0
  614. package/esm2022/types/point.mjs +2 -0
  615. package/esm2022/types/portal-item.mjs +2 -0
  616. package/esm2022/types/position.mjs +2 -0
  617. package/esm2022/types/resizing.mjs +2 -0
  618. package/esm2022/types/shape.mjs +2 -0
  619. package/esm2022/types/size.mjs +2 -0
  620. package/esm2022/types/status.mjs +2 -0
  621. package/esm2022/utils/check-fixed-position.mjs +7 -0
  622. package/esm2022/utils/default-validators/create-default-validators.mjs +19 -0
  623. package/esm2022/utils/default-validators/create-default-validators.options.mjs +2 -0
  624. package/esm2022/utils/default-validators/extra-spaces.options.mjs +11 -0
  625. package/esm2022/utils/default-validators/extra-spaces.validators.mjs +11 -0
  626. package/esm2022/utils/default-validators/index.mjs +2 -0
  627. package/esm2022/utils/format/index.mjs +3 -0
  628. package/esm2022/utils/format/remove-spaces.mjs +4 -0
  629. package/esm2022/utils/format/replace.mjs +5 -0
  630. package/esm2022/utils/index.mjs +5 -0
  631. package/esm2022/utils/miscellaneous/index.mjs +4 -0
  632. package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -0
  633. package/esm2022/utils/miscellaneous/override-options.mjs +11 -0
  634. package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -0
  635. package/esm2022/widgets/assets/constants/index.mjs +2 -0
  636. package/esm2022/widgets/assets/constants/translations.mjs +5 -0
  637. package/esm2022/widgets/assets/i18n/en.json +45 -0
  638. package/esm2022/widgets/assets/i18n/ru.json +45 -0
  639. package/esm2022/widgets/assets/index.mjs +2 -0
  640. package/esm2022/widgets/index.mjs +5 -0
  641. package/esm2022/widgets/model/circle-loader-size.type.mjs +2 -0
  642. package/esm2022/widgets/model/index.mjs +11 -0
  643. package/esm2022/widgets/model/resource-state-service.interface.mjs +2 -0
  644. package/esm2022/widgets/model/resource-state-service.token.mjs +3 -0
  645. package/esm2022/widgets/model/resources-block.options.mjs +2 -0
  646. package/esm2022/widgets/model/subject-modal-service.interface.mjs +2 -0
  647. package/esm2022/widgets/model/subject-modal-service.token.mjs +3 -0
  648. package/esm2022/widgets/model/used-elements-service.interface.mjs +2 -0
  649. package/esm2022/widgets/model/used-elements-service.token.mjs +3 -0
  650. package/esm2022/widgets/model/utility-service.interface.mjs +2 -0
  651. package/esm2022/widgets/model/utility-service.token.mjs +3 -0
  652. package/esm2022/widgets/service/index.mjs +5 -0
  653. package/esm2022/widgets/service/resource-state-base.service.mjs +19 -0
  654. package/esm2022/widgets/service/subject-modal-base.service.mjs +15 -0
  655. package/esm2022/widgets/service/used-elements-base.service.mjs +17 -0
  656. package/esm2022/widgets/service/utility-base.service.mjs +129 -0
  657. package/esm2022/widgets/ui/assignee-role-item/assignee-role-item.component.mjs +31 -0
  658. package/esm2022/widgets/ui/assignee-role-item/index.mjs +2 -0
  659. package/esm2022/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.mjs +48 -0
  660. package/esm2022/widgets/ui/assignee-roles-tabs/index.mjs +2 -0
  661. package/esm2022/widgets/ui/button-change-theme/button-change-theme.component.mjs +27 -0
  662. package/esm2022/widgets/ui/button-change-theme/index.mjs +2 -0
  663. package/esm2022/widgets/ui/categories/categories.component.mjs +78 -0
  664. package/esm2022/widgets/ui/categories/components/categories-list/categories-list.component.mjs +17 -0
  665. package/esm2022/widgets/ui/categories/components/categories-list/index.mjs +2 -0
  666. package/esm2022/widgets/ui/categories/components/category-form/category-form.component.mjs +79 -0
  667. package/esm2022/widgets/ui/categories/components/category-form/index.mjs +2 -0
  668. package/esm2022/widgets/ui/categories/components/category-item/category-item.component.mjs +126 -0
  669. package/esm2022/widgets/ui/categories/components/category-item/index.mjs +2 -0
  670. package/esm2022/widgets/ui/categories/components/create-category-item/create-category-item.component.mjs +25 -0
  671. package/esm2022/widgets/ui/categories/components/create-category-item/index.mjs +2 -0
  672. package/esm2022/widgets/ui/categories/components/index.mjs +3 -0
  673. package/esm2022/widgets/ui/categories/index.mjs +3 -0
  674. package/esm2022/widgets/ui/categories/services/index.mjs +2 -0
  675. package/esm2022/widgets/ui/categories/services/selected-category.service.mjs +38 -0
  676. package/esm2022/widgets/ui/checklist-block/checklist-block.component.mjs +75 -0
  677. package/esm2022/widgets/ui/checklist-block/checklist-block.options.mjs +2 -0
  678. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.mjs +85 -0
  679. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list/index.mjs +2 -0
  680. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.mjs +133 -0
  681. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.mjs +2 -0
  682. 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
  683. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.mjs +2 -0
  684. 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
  685. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.mjs +2 -0
  686. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.mjs +152 -0
  687. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.mjs +2 -0
  688. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.mjs +2 -0
  689. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.mjs +282 -0
  690. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.mjs +2 -0
  691. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.mjs +2 -0
  692. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.mjs +117 -0
  693. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.mjs +2 -0
  694. package/esm2022/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.mjs +2 -0
  695. package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.mjs +39 -0
  696. package/esm2022/widgets/ui/checklist-block/components/checklist-block-title-control/index.mjs +2 -0
  697. package/esm2022/widgets/ui/checklist-block/components/index.mjs +2 -0
  698. package/esm2022/widgets/ui/checklist-block/index.mjs +2 -0
  699. package/esm2022/widgets/ui/checklist-block/services/checklist-block.service.mjs +50 -0
  700. package/esm2022/widgets/ui/checklist-block/services/index.mjs +2 -0
  701. package/esm2022/widgets/ui/circle-loader/circle-loader.component.mjs +20 -0
  702. package/esm2022/widgets/ui/circle-loader/index.mjs +2 -0
  703. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.mjs +78 -0
  704. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.mjs +2 -0
  705. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item/index.mjs +3 -0
  706. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.mjs +17 -0
  707. package/esm2022/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.mjs +2 -0
  708. package/esm2022/widgets/ui/consumable-form/components/index.mjs +4 -0
  709. package/esm2022/widgets/ui/consumable-form/consumable-form.component.mjs +184 -0
  710. package/esm2022/widgets/ui/consumable-form/consumable-form.options.mjs +2 -0
  711. package/esm2022/widgets/ui/consumable-form/index.mjs +2 -0
  712. package/esm2022/widgets/ui/criterion-info/criterion-info.component.mjs +137 -0
  713. package/esm2022/widgets/ui/criterion-info/index.mjs +2 -0
  714. package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.component.mjs +147 -0
  715. package/esm2022/widgets/ui/criterion-info-form/criterion-info-form.options.mjs +2 -0
  716. package/esm2022/widgets/ui/criterion-info-form/index.mjs +2 -0
  717. package/esm2022/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.mjs +72 -0
  718. package/esm2022/widgets/ui/criterion-readonly-info/index.mjs +2 -0
  719. package/esm2022/widgets/ui/delete-modal/delete-modal.component.mjs +39 -0
  720. package/esm2022/widgets/ui/delete-modal/delete-modal.options.mjs +2 -0
  721. package/esm2022/widgets/ui/delete-modal/index.mjs +2 -0
  722. package/esm2022/widgets/ui/framer-preview/framer-preview.component.mjs +77 -0
  723. package/esm2022/widgets/ui/framer-preview/framer-preview.options.mjs +2 -0
  724. package/esm2022/widgets/ui/framer-preview/index.mjs +2 -0
  725. package/esm2022/widgets/ui/general-control-error-hint/general-control-error-hint.component.mjs +21 -0
  726. package/esm2022/widgets/ui/general-control-error-hint/index.mjs +2 -0
  727. package/esm2022/widgets/ui/index.mjs +30 -0
  728. package/esm2022/widgets/ui/inserted/index.mjs +2 -0
  729. package/esm2022/widgets/ui/inserted/inserted.component.mjs +17 -0
  730. package/esm2022/widgets/ui/instruction-info/index.mjs +2 -0
  731. package/esm2022/widgets/ui/instruction-info/instruction-info.component.mjs +147 -0
  732. package/esm2022/widgets/ui/instruction-info-form/index.mjs +2 -0
  733. package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.component.mjs +153 -0
  734. package/esm2022/widgets/ui/instruction-info-form/instruction-info-form.options.mjs +2 -0
  735. package/esm2022/widgets/ui/instruction-readonly-info/index.mjs +2 -0
  736. package/esm2022/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.mjs +72 -0
  737. package/esm2022/widgets/ui/linear-loader/index.mjs +2 -0
  738. package/esm2022/widgets/ui/linear-loader/linear-loader.component.mjs +11 -0
  739. package/esm2022/widgets/ui/modal-criteria-tab/index.mjs +2 -0
  740. package/esm2022/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.mjs +45 -0
  741. package/esm2022/widgets/ui/modal-divided-section/index.mjs +3 -0
  742. package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.component.mjs +58 -0
  743. package/esm2022/widgets/ui/modal-divided-section/modal-divided-section.interfaces.mjs +2 -0
  744. package/esm2022/widgets/ui/modal-header/index.mjs +2 -0
  745. package/esm2022/widgets/ui/modal-header/modal-header.component.mjs +31 -0
  746. package/esm2022/widgets/ui/modal-header-inserted-buttons/index.mjs +2 -0
  747. package/esm2022/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.mjs +22 -0
  748. package/esm2022/widgets/ui/modal-header-tabs/index.mjs +2 -0
  749. package/esm2022/widgets/ui/modal-header-tabs/modal-header-tabs.component.mjs +19 -0
  750. package/esm2022/widgets/ui/modal-info-tab/index.mjs +3 -0
  751. package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.component.mjs +19 -0
  752. package/esm2022/widgets/ui/modal-info-tab/modal-info-tab.options.mjs +2 -0
  753. package/esm2022/widgets/ui/modal-instructions-tab/index.mjs +2 -0
  754. package/esm2022/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.mjs +31 -0
  755. package/esm2022/widgets/ui/modal-operation-part/index.mjs +2 -0
  756. package/esm2022/widgets/ui/modal-operation-part/modal-operation-part.component.mjs +119 -0
  757. package/esm2022/widgets/ui/modal-resources-tab/index.mjs +2 -0
  758. package/esm2022/widgets/ui/modal-resources-tab/modal-resources-tab.component.mjs +33 -0
  759. package/esm2022/widgets/ui/render-dynamic-modal/index.mjs +3 -0
  760. package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.mjs +29 -0
  761. package/esm2022/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.mjs +2 -0
  762. package/esm2022/widgets/ui/resources-block/components/index.mjs +4 -0
  763. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/index.mjs +2 -0
  764. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.mjs +53 -0
  765. package/esm2022/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.mjs +2 -0
  766. package/esm2022/widgets/ui/resources-block/components/resources-block-content/index.mjs +2 -0
  767. package/esm2022/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.mjs +38 -0
  768. package/esm2022/widgets/ui/resources-block/components/resources-block-part/index.mjs +2 -0
  769. package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.mjs +57 -0
  770. package/esm2022/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.mjs +2 -0
  771. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/index.mjs +2 -0
  772. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.mjs +56 -0
  773. package/esm2022/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
  774. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/index.mjs +2 -0
  775. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.mjs +56 -0
  776. package/esm2022/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.mjs +2 -0
  777. package/esm2022/widgets/ui/resources-block/components/resources-options/index.mjs +2 -0
  778. package/esm2022/widgets/ui/resources-block/components/resources-options/resources-options.component.mjs +42 -0
  779. package/esm2022/widgets/ui/resources-block/index.mjs +3 -0
  780. package/esm2022/widgets/ui/resources-block/resources-block.component.mjs +137 -0
  781. package/esm2022/widgets/ui/resources-block-tabs/index.mjs +2 -0
  782. package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.component.mjs +57 -0
  783. package/esm2022/widgets/ui/resources-block-tabs/resources-block-tabs.options.mjs +10 -0
  784. package/esm2022/widgets/ui/select-modal/components/index.mjs +3 -0
  785. package/esm2022/widgets/ui/select-modal/components/select-modal-folder/index.mjs +2 -0
  786. package/esm2022/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.mjs +21 -0
  787. package/esm2022/widgets/ui/select-modal/components/select-modal-search/index.mjs +2 -0
  788. package/esm2022/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.mjs +32 -0
  789. package/esm2022/widgets/ui/select-modal/index.mjs +4 -0
  790. package/esm2022/widgets/ui/select-modal/select-modal.component.mjs +35 -0
  791. package/esm2022/widgets/ui/select-modal/select-modal.interfaces.mjs +2 -0
  792. package/esm2022/widgets/ui/select-modal/select-modal.service.mjs +23 -0
  793. package/esm2022/widgets/ui/stated-loader/index.mjs +2 -0
  794. package/esm2022/widgets/ui/stated-loader/stated-loader.component.mjs +36 -0
  795. package/esm2022/widgets/ui/storage-list/components/index.mjs +2 -0
  796. package/esm2022/widgets/ui/storage-list/components/storage-list-item/index.mjs +2 -0
  797. package/esm2022/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.mjs +87 -0
  798. package/esm2022/widgets/ui/storage-list/index.mjs +3 -0
  799. package/esm2022/widgets/ui/storage-list/storage-list.component.mjs +17 -0
  800. package/esm2022/widgets/ui/storage-list/storage-list.options.mjs +3 -0
  801. package/esm2022/widgets/ui/toolbox-form/components/index.mjs +2 -0
  802. package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/index.mjs +2 -0
  803. package/esm2022/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.mjs +19 -0
  804. package/esm2022/widgets/ui/toolbox-form/index.mjs +3 -0
  805. package/esm2022/widgets/ui/toolbox-form/tool-form.component.mjs +106 -0
  806. package/esm2022/widgets/ui/toolbox-form/tool-form.options.mjs +2 -0
  807. package/esm2022/widgets/ui/user-action-context-menu/activity-item/activity-item.component.mjs +59 -0
  808. package/esm2022/widgets/ui/user-action-context-menu/activity-item/index.mjs +2 -0
  809. package/esm2022/widgets/ui/user-action-context-menu/company-item/company-item.component.mjs +67 -0
  810. package/esm2022/widgets/ui/user-action-context-menu/company-item/index.mjs +2 -0
  811. package/esm2022/widgets/ui/user-action-context-menu/index.mjs +4 -0
  812. package/esm2022/widgets/ui/user-action-context-menu/services/activity-base.service.mjs +32 -0
  813. package/esm2022/widgets/ui/user-action-context-menu/services/activity.service.mjs +35 -0
  814. package/esm2022/widgets/ui/user-action-context-menu/services/index.mjs +3 -0
  815. package/esm2022/widgets/ui/user-action-context-menu/user-action-context-menu.component.mjs +80 -0
  816. package/esm2022/widgets/ui/user-action-context-menu/user-action-context.option.mjs +3 -0
  817. package/esm2022/widgets/ui/utility-info-readonly/index.mjs +3 -0
  818. package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.component.mjs +94 -0
  819. package/esm2022/widgets/ui/utility-info-readonly/utility-info-readonly.options.mjs +2 -0
  820. package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.mjs +41 -0
  821. package/esm2022/widgets/ui/utility-modal/components/criterion-modal-create/index.mjs +2 -0
  822. package/esm2022/widgets/ui/utility-modal/components/index.mjs +5 -0
  823. package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/index.mjs +2 -0
  824. package/esm2022/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.mjs +41 -0
  825. package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/index.mjs +2 -0
  826. package/esm2022/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.mjs +40 -0
  827. package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/index.mjs +2 -0
  828. package/esm2022/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.mjs +40 -0
  829. package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/index.mjs +2 -0
  830. package/esm2022/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.mjs +43 -0
  831. package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/index.mjs +2 -0
  832. package/esm2022/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.mjs +55 -0
  833. package/esm2022/widgets/ui/utility-modal/index.mjs +4 -0
  834. package/esm2022/widgets/ui/utility-modal/utility-modal.component.mjs +22 -0
  835. package/esm2022/widgets/ui/utility-modal/utility-modal.options.mjs +3 -0
  836. package/esm2022/widgets/ui/utility-readonly-thumbnail/index.mjs +2 -0
  837. package/esm2022/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.mjs +15 -0
  838. package/esm2022/widgets/ui/utility-thumbnail/index.mjs +2 -0
  839. package/esm2022/widgets/ui/utility-thumbnail/utility-thumbnail.component.mjs +95 -0
  840. package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs +91 -0
  841. package/fesm2022/cuby-ui-core-en-BvvbrGg1.mjs.map +1 -0
  842. package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs +29 -0
  843. package/fesm2022/cuby-ui-core-en-CnpigsdW.mjs.map +1 -0
  844. package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs +91 -0
  845. package/fesm2022/cuby-ui-core-ru-bROcEQBf.mjs.map +1 -0
  846. package/fesm2022/cuby-ui-core.mjs +12156 -0
  847. package/fesm2022/cuby-ui-core.mjs.map +1 -0
  848. package/fonts/Inter-Bold.eot +0 -0
  849. package/fonts/Inter-Bold.otf +0 -0
  850. package/fonts/Inter-Bold.svg +25443 -0
  851. package/fonts/Inter-Bold.ttf +0 -0
  852. package/fonts/Inter-Bold.woff +0 -0
  853. package/fonts/Inter-Bold.woff2 +0 -0
  854. package/fonts/Inter-Medium.eot +0 -0
  855. package/fonts/Inter-Medium.otf +0 -0
  856. package/fonts/Inter-Medium.svg +25400 -0
  857. package/fonts/Inter-Medium.ttf +0 -0
  858. package/fonts/Inter-Medium.woff +0 -0
  859. package/fonts/Inter-Medium.woff2 +0 -0
  860. package/fonts/Inter-Regular.eot +0 -0
  861. package/fonts/Inter-Regular.otf +0 -0
  862. package/fonts/Inter-Regular.svg +24341 -0
  863. package/fonts/Inter-Regular.ttf +0 -0
  864. package/fonts/Inter-Regular.woff +0 -0
  865. package/fonts/Inter-Regular.woff2 +0 -0
  866. package/fonts/Inter-SemiBold.eot +0 -0
  867. package/fonts/Inter-SemiBold.otf +0 -0
  868. package/fonts/Inter-SemiBold.svg +25459 -0
  869. package/fonts/Inter-SemiBold.ttf +0 -0
  870. package/fonts/Inter-SemiBold.woff +0 -0
  871. package/fonts/Inter-SemiBold.woff2 +0 -0
  872. package/fonts/Nunito-ExtraBoldItalic.eot +0 -0
  873. package/fonts/Nunito-ExtraBoldItalic.otf +0 -0
  874. package/fonts/Nunito-ExtraBoldItalic.svg +9508 -0
  875. package/fonts/Nunito-ExtraBoldItalic.ttf +0 -0
  876. package/fonts/Nunito-ExtraBoldItalic.woff +0 -0
  877. package/fonts/Nunito-ExtraBoldItalic.woff2 +0 -0
  878. package/index.d.ts +11 -0
  879. package/interceptors/auth.interceptor.d.ts +2 -0
  880. package/interceptors/error-handler.interceptor.d.ts +2 -0
  881. package/interceptors/index.d.ts +4 -0
  882. package/interceptors/loader.interceptor.d.ts +2 -0
  883. package/interceptors/x-ndjson.interceptor.d.ts +2 -0
  884. package/interfaces/context-menu-item.d.ts +7 -0
  885. package/interfaces/error-notification-service.d.ts +3 -0
  886. package/interfaces/error-stategy.d.ts +3 -0
  887. package/interfaces/image.d.ts +5 -0
  888. package/interfaces/index.d.ts +5 -0
  889. package/interfaces/option.d.ts +5 -0
  890. package/operators/handle-error.d.ts +2 -0
  891. package/operators/index.d.ts +1 -0
  892. package/package.json +4 -7
  893. package/providers/auth.options.d.ts +15 -0
  894. package/providers/auth.provider.d.ts +3 -0
  895. package/providers/error-handler.options.d.ts +6 -0
  896. package/providers/error-handler.provider.d.ts +3 -0
  897. package/providers/index.d.ts +4 -0
  898. package/services/auth.service.d.ts +8 -0
  899. package/services/browser-auth.service.d.ts +10 -0
  900. package/services/error-resolver-factory.service.d.ts +10 -0
  901. package/services/global-handler-error.service.d.ts +10 -0
  902. package/services/index.d.ts +9 -0
  903. package/services/loader.options.d.ts +7 -0
  904. package/services/loader.service.d.ts +21 -0
  905. package/services/mobile-auth.service.d.ts +8 -0
  906. package/services/position.service.d.ts +10 -0
  907. package/services/theme.options.d.ts +5 -0
  908. package/services/theme.service.d.ts +12 -0
  909. package/services/token.options.d.ts +31 -0
  910. package/services/token.service.d.ts +26 -0
  911. package/services/visual-viewport.service.d.ts +9 -0
  912. package/styles/direcive/flex-container.scss +3 -0
  913. package/styles/fonts.scss +69 -0
  914. package/styles/global.scss +10 -0
  915. package/styles/mixins/buttons.scss +13 -0
  916. package/styles/mixins/flex.scss +11 -0
  917. package/styles/mixins/headings.scss +115 -0
  918. package/styles/mixins/inputs.scss +91 -0
  919. package/styles/mixins/lists.scss +41 -0
  920. package/styles/mixins/paddings.scss +35 -0
  921. package/styles/mixins/shadows.scss +42 -0
  922. package/styles/mixins/texts.scss +224 -0
  923. package/styles/reset.scss +111 -0
  924. package/styles/theme.scss +427 -0
  925. package/styles/variables/colors.scss +288 -0
  926. package/styles/variables/fonts.scss +2 -0
  927. package/tokens/animations-speed.d.ts +4 -0
  928. package/tokens/error-notification-service.d.ts +3 -0
  929. package/tokens/error-translation-prefix.d.ts +2 -0
  930. package/tokens/index.d.ts +5 -0
  931. package/tokens/reduced-motion.d.ts +1 -0
  932. package/tokens/viewport.d.ts +7 -0
  933. package/types/appearance.d.ts +11 -0
  934. package/types/button-theme.d.ts +5 -0
  935. package/types/hint-type.d.ts +1 -0
  936. package/types/index.d.ts +10 -0
  937. package/types/point.d.ts +1 -0
  938. package/types/portal-item.d.ts +9 -0
  939. package/types/position.d.ts +2 -0
  940. package/types/resizing.d.ts +3 -0
  941. package/types/shape.d.ts +1 -0
  942. package/types/size.d.ts +6 -0
  943. package/types/status.d.ts +1 -0
  944. package/utils/check-fixed-position.d.ts +1 -0
  945. package/utils/default-validators/create-default-validators.d.ts +5 -0
  946. package/utils/default-validators/create-default-validators.options.d.ts +5 -0
  947. package/utils/default-validators/extra-spaces.options.d.ts +2 -0
  948. package/utils/default-validators/extra-spaces.validators.d.ts +3 -0
  949. package/utils/default-validators/index.d.ts +2 -0
  950. package/utils/format/index.d.ts +2 -0
  951. package/utils/format/remove-spaces.d.ts +1 -0
  952. package/utils/format/replace.d.ts +1 -0
  953. package/utils/index.d.ts +4 -0
  954. package/utils/miscellaneous/index.d.ts +3 -0
  955. package/utils/miscellaneous/is-obscured.d.ts +4 -0
  956. package/utils/miscellaneous/override-options.d.ts +1 -0
  957. package/utils/miscellaneous/to-animation-options.d.ts +4 -0
  958. package/widgets/assets/constants/index.d.ts +1 -0
  959. package/widgets/assets/constants/translations.d.ts +2 -0
  960. package/widgets/assets/index.d.ts +1 -0
  961. package/widgets/index.d.ts +4 -0
  962. package/widgets/model/circle-loader-size.type.d.ts +2 -0
  963. package/widgets/model/index.d.ts +10 -0
  964. package/widgets/model/resource-state-service.interface.d.ts +4 -0
  965. package/widgets/model/resource-state-service.token.d.ts +3 -0
  966. package/widgets/model/resources-block.options.d.ts +15 -0
  967. package/widgets/model/subject-modal-service.interface.d.ts +7 -0
  968. package/widgets/model/subject-modal-service.token.d.ts +3 -0
  969. package/widgets/model/used-elements-service.interface.d.ts +5 -0
  970. package/widgets/model/used-elements-service.token.d.ts +3 -0
  971. package/widgets/model/utility-service.interface.d.ts +23 -0
  972. package/widgets/model/utility-service.token.d.ts +3 -0
  973. package/widgets/service/index.d.ts +4 -0
  974. package/widgets/service/resource-state-base.service.d.ts +10 -0
  975. package/widgets/service/subject-modal-base.service.d.ts +11 -0
  976. package/widgets/service/used-elements-base.service.d.ts +11 -0
  977. package/widgets/service/utility-base.service.d.ts +29 -0
  978. package/widgets/ui/assignee-role-item/assignee-role-item.component.d.ts +12 -0
  979. package/widgets/ui/assignee-role-item/index.d.ts +1 -0
  980. package/widgets/ui/assignee-roles-tabs/assignee-roles-tabs.component.d.ts +18 -0
  981. package/widgets/ui/assignee-roles-tabs/index.d.ts +1 -0
  982. package/widgets/ui/button-change-theme/button-change-theme.component.d.ts +9 -0
  983. package/widgets/ui/button-change-theme/index.d.ts +1 -0
  984. package/widgets/ui/categories/categories.component.d.ts +25 -0
  985. package/widgets/ui/categories/components/categories-list/categories-list.component.d.ts +8 -0
  986. package/widgets/ui/categories/components/categories-list/index.d.ts +1 -0
  987. package/widgets/ui/categories/components/category-form/category-form.component.d.ts +28 -0
  988. package/widgets/ui/categories/components/category-form/index.d.ts +1 -0
  989. package/widgets/ui/categories/components/category-item/category-item.component.d.ts +42 -0
  990. package/widgets/ui/categories/components/category-item/index.d.ts +1 -0
  991. package/widgets/ui/categories/components/create-category-item/create-category-item.component.d.ts +10 -0
  992. package/widgets/ui/categories/components/create-category-item/index.d.ts +1 -0
  993. package/widgets/ui/categories/components/index.d.ts +2 -0
  994. package/widgets/ui/categories/index.d.ts +2 -0
  995. package/widgets/ui/categories/services/index.d.ts +1 -0
  996. package/widgets/ui/categories/services/selected-category.service.d.ts +18 -0
  997. package/widgets/ui/checklist-block/checklist-block.component.d.ts +21 -0
  998. package/widgets/ui/checklist-block/checklist-block.options.d.ts +12 -0
  999. package/widgets/ui/checklist-block/components/checklist-block-list/checklist-block-list.component.d.ts +27 -0
  1000. package/widgets/ui/checklist-block/components/checklist-block-list/index.d.ts +1 -0
  1001. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/checklist-block-list-item-action-card.component.d.ts +30 -0
  1002. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-card/index.d.ts +1 -0
  1003. 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
  1004. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-with-verification/index.d.ts +1 -0
  1005. 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
  1006. package/widgets/ui/checklist-block/components/checklist-block-list-item-action-without-verification/index.d.ts +1 -0
  1007. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.component.d.ts +41 -0
  1008. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/checklist-block-list-item-container.options.d.ts +5 -0
  1009. package/widgets/ui/checklist-block/components/checklist-block-list-item-container/index.d.ts +1 -0
  1010. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.component.d.ts +51 -0
  1011. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/checklist-block-list-item-evaluation.options.d.ts +14 -0
  1012. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation/index.d.ts +2 -0
  1013. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.component.d.ts +33 -0
  1014. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/checklist-block-list-item-evaluation-criteria.options.d.ts +4 -0
  1015. package/widgets/ui/checklist-block/components/checklist-block-list-item-evaluation-criteria/index.d.ts +1 -0
  1016. package/widgets/ui/checklist-block/components/checklist-block-title-control/checklist-block-title-control.component.d.ts +8 -0
  1017. package/widgets/ui/checklist-block/components/checklist-block-title-control/index.d.ts +1 -0
  1018. package/widgets/ui/checklist-block/components/index.d.ts +1 -0
  1019. package/widgets/ui/checklist-block/index.d.ts +1 -0
  1020. package/widgets/ui/checklist-block/services/checklist-block.service.d.ts +19 -0
  1021. package/widgets/ui/checklist-block/services/index.d.ts +1 -0
  1022. package/widgets/ui/circle-loader/circle-loader.component.d.ts +8 -0
  1023. package/widgets/ui/circle-loader/index.d.ts +1 -0
  1024. package/widgets/ui/consumable-form/components/consumable-form-item/consumable-form-item.component.d.ts +31 -0
  1025. package/widgets/ui/consumable-form/components/consumable-form-item/default-control-delay.d.ts +1 -0
  1026. package/widgets/ui/consumable-form/components/consumable-form-item/index.d.ts +2 -0
  1027. package/widgets/ui/consumable-form/components/consumable-form-item-readonly/consumable-form-item-readonly.component.d.ts +8 -0
  1028. package/widgets/ui/consumable-form/components/consumable-form-item-readonly/index.d.ts +1 -0
  1029. package/widgets/ui/consumable-form/components/index.d.ts +3 -0
  1030. package/widgets/ui/consumable-form/consumable-form.component.d.ts +46 -0
  1031. package/widgets/ui/consumable-form/consumable-form.options.d.ts +22 -0
  1032. package/widgets/ui/consumable-form/index.d.ts +1 -0
  1033. package/widgets/ui/criterion-info/criterion-info.component.d.ts +43 -0
  1034. package/widgets/ui/criterion-info/index.d.ts +1 -0
  1035. package/widgets/ui/criterion-info-form/criterion-info-form.component.d.ts +39 -0
  1036. package/widgets/ui/criterion-info-form/criterion-info-form.options.d.ts +7 -0
  1037. package/widgets/ui/criterion-info-form/index.d.ts +2 -0
  1038. package/widgets/ui/criterion-readonly-info/criterion-readonly-info.component.d.ts +26 -0
  1039. package/widgets/ui/criterion-readonly-info/index.d.ts +1 -0
  1040. package/widgets/ui/delete-modal/delete-modal.component.d.ts +13 -0
  1041. package/widgets/ui/delete-modal/delete-modal.options.d.ts +7 -0
  1042. package/widgets/ui/delete-modal/index.d.ts +2 -0
  1043. package/widgets/ui/framer-preview/framer-preview.component.d.ts +26 -0
  1044. package/widgets/ui/framer-preview/framer-preview.options.d.ts +5 -0
  1045. package/widgets/ui/framer-preview/index.d.ts +2 -0
  1046. package/widgets/ui/general-control-error-hint/general-control-error-hint.component.d.ts +9 -0
  1047. package/widgets/ui/general-control-error-hint/index.d.ts +1 -0
  1048. package/widgets/ui/index.d.ts +29 -0
  1049. package/widgets/ui/inserted/index.d.ts +1 -0
  1050. package/widgets/ui/inserted/inserted.component.d.ts +5 -0
  1051. package/widgets/ui/instruction-info/index.d.ts +1 -0
  1052. package/widgets/ui/instruction-info/instruction-info.component.d.ts +45 -0
  1053. package/widgets/ui/instruction-info-form/index.d.ts +2 -0
  1054. package/widgets/ui/instruction-info-form/instruction-info-form.component.d.ts +43 -0
  1055. package/widgets/ui/instruction-info-form/instruction-info-form.options.d.ts +9 -0
  1056. package/widgets/ui/instruction-readonly-info/index.d.ts +1 -0
  1057. package/widgets/ui/instruction-readonly-info/instruction-readonly-info.component.d.ts +26 -0
  1058. package/widgets/ui/linear-loader/index.d.ts +1 -0
  1059. package/widgets/ui/linear-loader/linear-loader.component.d.ts +5 -0
  1060. package/widgets/ui/modal-criteria-tab/index.d.ts +1 -0
  1061. package/widgets/ui/modal-criteria-tab/modal-criteria-tab.component.d.ts +15 -0
  1062. package/widgets/ui/modal-divided-section/index.d.ts +2 -0
  1063. package/widgets/ui/modal-divided-section/modal-divided-section.component.d.ts +22 -0
  1064. package/widgets/ui/modal-divided-section/modal-divided-section.interfaces.d.ts +6 -0
  1065. package/widgets/ui/modal-header/index.d.ts +1 -0
  1066. package/widgets/ui/modal-header/modal-header.component.d.ts +12 -0
  1067. package/widgets/ui/modal-header-inserted-buttons/index.d.ts +1 -0
  1068. package/widgets/ui/modal-header-inserted-buttons/modal-header-inserted-buttons.component.d.ts +7 -0
  1069. package/widgets/ui/modal-header-tabs/index.d.ts +1 -0
  1070. package/widgets/ui/modal-header-tabs/modal-header-tabs.component.d.ts +8 -0
  1071. package/widgets/ui/modal-info-tab/index.d.ts +2 -0
  1072. package/widgets/ui/modal-info-tab/modal-info-tab.component.d.ts +8 -0
  1073. package/widgets/ui/modal-info-tab/modal-info-tab.options.d.ts +4 -0
  1074. package/widgets/ui/modal-instructions-tab/index.d.ts +1 -0
  1075. package/widgets/ui/modal-instructions-tab/modal-instructions-tab.component.d.ts +15 -0
  1076. package/widgets/ui/modal-operation-part/index.d.ts +1 -0
  1077. package/widgets/ui/modal-operation-part/modal-operation-part.component.d.ts +26 -0
  1078. package/widgets/ui/modal-resources-tab/index.d.ts +1 -0
  1079. package/widgets/ui/modal-resources-tab/modal-resources-tab.component.d.ts +14 -0
  1080. package/widgets/ui/render-dynamic-modal/index.d.ts +2 -0
  1081. package/widgets/ui/render-dynamic-modal/render-dynamic-modal.component.d.ts +11 -0
  1082. package/widgets/ui/render-dynamic-modal/render-dynamic-modal.option.d.ts +5 -0
  1083. package/widgets/ui/resources-block/components/index.d.ts +5 -0
  1084. package/widgets/ui/resources-block/components/resources-block-consumables/index.d.ts +2 -0
  1085. package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.component.d.ts +17 -0
  1086. package/widgets/ui/resources-block/components/resources-block-consumables/resources-block-consumables.options.d.ts +7 -0
  1087. package/widgets/ui/resources-block/components/resources-block-content/index.d.ts +1 -0
  1088. package/widgets/ui/resources-block/components/resources-block-content/resources-block-content.component.d.ts +19 -0
  1089. package/widgets/ui/resources-block/components/resources-block-part/index.d.ts +1 -0
  1090. package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.component.d.ts +19 -0
  1091. package/widgets/ui/resources-block/components/resources-block-part/resources-block-part.options.d.ts +5 -0
  1092. package/widgets/ui/resources-block/components/resources-block-tabs/index.d.ts +1 -0
  1093. package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
  1094. package/widgets/ui/resources-block/components/resources-block-tabs/resources-block-tabs.options.d.ts +13 -0
  1095. package/widgets/ui/resources-block/components/resources-block-toolbox/index.d.ts +2 -0
  1096. package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.component.d.ts +17 -0
  1097. package/widgets/ui/resources-block/components/resources-block-toolbox/resources-block-toolbox.options.d.ts +5 -0
  1098. package/widgets/ui/resources-block/components/resources-options/index.d.ts +1 -0
  1099. package/widgets/ui/resources-block/components/resources-options/resources-options.component.d.ts +20 -0
  1100. package/widgets/ui/resources-block/index.d.ts +2 -0
  1101. package/widgets/ui/resources-block/resources-block.component.d.ts +35 -0
  1102. package/widgets/ui/resources-block-tabs/index.d.ts +1 -0
  1103. package/widgets/ui/resources-block-tabs/resources-block-tabs.component.d.ts +28 -0
  1104. package/widgets/ui/resources-block-tabs/resources-block-tabs.options.d.ts +14 -0
  1105. package/widgets/ui/select-modal/components/index.d.ts +2 -0
  1106. package/widgets/ui/select-modal/components/select-modal-folder/index.d.ts +1 -0
  1107. package/widgets/ui/select-modal/components/select-modal-folder/select-modal-folder.component.d.ts +10 -0
  1108. package/widgets/ui/select-modal/components/select-modal-search/index.d.ts +1 -0
  1109. package/widgets/ui/select-modal/components/select-modal-search/select-modal-search.component.d.ts +12 -0
  1110. package/widgets/ui/select-modal/index.d.ts +4 -0
  1111. package/widgets/ui/select-modal/select-modal.component.d.ts +13 -0
  1112. package/widgets/ui/select-modal/select-modal.interfaces.d.ts +15 -0
  1113. package/widgets/ui/select-modal/select-modal.service.d.ts +13 -0
  1114. package/widgets/ui/stated-loader/index.d.ts +1 -0
  1115. package/widgets/ui/stated-loader/stated-loader.component.d.ts +20 -0
  1116. package/widgets/ui/storage-list/components/index.d.ts +1 -0
  1117. package/widgets/ui/storage-list/components/storage-list-item/index.d.ts +1 -0
  1118. package/widgets/ui/storage-list/components/storage-list-item/storage-list-item.component.d.ts +24 -0
  1119. package/widgets/ui/storage-list/index.d.ts +2 -0
  1120. package/widgets/ui/storage-list/storage-list.component.d.ts +10 -0
  1121. package/widgets/ui/storage-list/storage-list.options.d.ts +16 -0
  1122. package/widgets/ui/toolbox-form/components/index.d.ts +1 -0
  1123. package/widgets/ui/toolbox-form/components/tool-form-readonly/index.d.ts +1 -0
  1124. package/widgets/ui/toolbox-form/components/tool-form-readonly/tool-form-readonly.component.d.ts +7 -0
  1125. package/widgets/ui/toolbox-form/index.d.ts +2 -0
  1126. package/widgets/ui/toolbox-form/tool-form.component.d.ts +34 -0
  1127. package/widgets/ui/toolbox-form/tool-form.options.d.ts +5 -0
  1128. package/widgets/ui/user-action-context-menu/activity-item/activity-item.component.d.ts +16 -0
  1129. package/widgets/ui/user-action-context-menu/activity-item/index.d.ts +1 -0
  1130. package/widgets/ui/user-action-context-menu/company-item/company-item.component.d.ts +20 -0
  1131. package/widgets/ui/user-action-context-menu/company-item/index.d.ts +1 -0
  1132. package/widgets/ui/user-action-context-menu/index.d.ts +3 -0
  1133. package/widgets/ui/user-action-context-menu/services/activity-base.service.d.ts +14 -0
  1134. package/widgets/ui/user-action-context-menu/services/activity.service.d.ts +14 -0
  1135. package/widgets/ui/user-action-context-menu/services/index.d.ts +2 -0
  1136. package/widgets/ui/user-action-context-menu/user-action-context-menu.component.d.ts +25 -0
  1137. package/widgets/ui/user-action-context-menu/user-action-context.option.d.ts +15 -0
  1138. package/widgets/ui/utility-info-readonly/index.d.ts +2 -0
  1139. package/widgets/ui/utility-info-readonly/utility-info-readonly.component.d.ts +29 -0
  1140. package/widgets/ui/utility-info-readonly/utility-info-readonly.options.d.ts +4 -0
  1141. package/widgets/ui/utility-modal/components/criterion-modal-create/criterion-modal-create.component.d.ts +18 -0
  1142. package/widgets/ui/utility-modal/components/criterion-modal-create/index.d.ts +1 -0
  1143. package/widgets/ui/utility-modal/components/index.d.ts +4 -0
  1144. package/widgets/ui/utility-modal/components/instruction-modal-create/index.d.ts +1 -0
  1145. package/widgets/ui/utility-modal/components/instruction-modal-create/instruction-modal-create.component.d.ts +18 -0
  1146. package/widgets/ui/utility-modal/components/readonly-criterion-modal/index.d.ts +1 -0
  1147. package/widgets/ui/utility-modal/components/readonly-criterion-modal/readonly-criterion-modal.component.d.ts +16 -0
  1148. package/widgets/ui/utility-modal/components/readonly-instruction-modal/index.d.ts +1 -0
  1149. package/widgets/ui/utility-modal/components/readonly-instruction-modal/readonly-instruction-modal.component.d.ts +16 -0
  1150. package/widgets/ui/utility-modal/components/readonly-utility-modal/index.d.ts +1 -0
  1151. package/widgets/ui/utility-modal/components/readonly-utility-modal/readonly-utility-modal.component.d.ts +18 -0
  1152. package/widgets/ui/utility-modal/components/utility-modal-create/index.d.ts +1 -0
  1153. package/widgets/ui/utility-modal/components/utility-modal-create/utility-modal-create.component.d.ts +25 -0
  1154. package/widgets/ui/utility-modal/index.d.ts +3 -0
  1155. package/widgets/ui/utility-modal/utility-modal.component.d.ts +10 -0
  1156. package/widgets/ui/utility-modal/utility-modal.options.d.ts +12 -0
  1157. package/widgets/ui/utility-readonly-thumbnail/index.d.ts +1 -0
  1158. package/widgets/ui/utility-readonly-thumbnail/utility-readonly-thumbnail.component.d.ts +8 -0
  1159. package/widgets/ui/utility-thumbnail/index.d.ts +1 -0
  1160. package/widgets/ui/utility-thumbnail/utility-thumbnail.component.d.ts +21 -0
@@ -0,0 +1,261 @@
1
+ import { DOCUMENT, NgIf } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, EventEmitter, HostBinding, Input, Output, computed, inject, signal } from '@angular/core';
3
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import { FormControl, FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
5
+ import { CuiClickOutsideDirective, CuiElementDirective, CuiIdService } from '@cuby-ui/cdk';
6
+ import { TranslocoDirective } from '@jsverse/transloco';
7
+ import { CuiButtonModule, CuiFormFieldModule, CuiHintModule, CuiInputModule, CuiLabelModule, CuiSvgModule } from '../../../components';
8
+ import { urlValidator } from '../../utils/url.validator';
9
+ import { EDITOR_SELECTOR } from '../../constants';
10
+ import { CuiMarkersService } from '../../services';
11
+ import { MarkerSelectComponent } from '../marker-select';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "@cuby-ui/cdk";
14
+ import * as i2 from "../../../components/button/button.component";
15
+ import * as i3 from "../../../components/form-field/form-field.component";
16
+ import * as i4 from "../../../components/hint/hint.component";
17
+ import * as i5 from "../../../components/input-text/input-text.component";
18
+ import * as i6 from "../../../directives/text-field-controller/text-field-id.directive";
19
+ import * as i7 from "../../../directives/text-field-controller/text-field-placeholder.directive";
20
+ import * as i8 from "../../../directives/text-field-controller/text-field-is-error.directive";
21
+ import * as i9 from "../../../components/label/label.component";
22
+ import * as i10 from "../../../components/svg/svg.component";
23
+ import * as i11 from "@angular/forms";
24
+ export class MarkerModalComponent {
25
+ constructor() {
26
+ this.element = inject(ElementRef).nativeElement;
27
+ this.document = inject(DOCUMENT);
28
+ this.destroyRef = inject(DestroyRef);
29
+ this.cuiClickOutsideDirective = inject(CuiClickOutsideDirective, { self: true });
30
+ this.cuiIdService = inject(CuiIdService);
31
+ this.markersService = inject(CuiMarkersService);
32
+ this.TITLE_MAX_LENGTH = 100;
33
+ this.formTitle = signal('');
34
+ this.isTitleEmpty = computed(() => !this.formTitle().length);
35
+ this.isTitleMoreThanMaxLength = computed(() => this.formTitle().length > this.TITLE_MAX_LENGTH);
36
+ this.isTitleInvalid = computed(() => this.isTitleEmpty() || this.isTitleMoreThanMaxLength());
37
+ this.titleId = this.cuiIdService.generate();
38
+ this.dataId = this.cuiIdService.generate();
39
+ this.spaceBetweenTargetAndList = 5;
40
+ this.startTitle = '';
41
+ this.isGlobal = false;
42
+ this.isTool = false;
43
+ this.saveClicked = new EventEmitter();
44
+ this.cancelClicked = new EventEmitter();
45
+ this.isVisible = signal(false);
46
+ this.isHidden = signal(true);
47
+ this.targetToggleEventListener = () => {
48
+ this.isVisible.update((prev) => !prev);
49
+ if (!this.isVisible()) {
50
+ return;
51
+ }
52
+ this.calculateDropdownPosition();
53
+ };
54
+ }
55
+ set title(value) {
56
+ this.startTitle = value;
57
+ this.formTitle.set(value);
58
+ }
59
+ set url(value) {
60
+ this.dynamicDataControl = new FormControl(value, {
61
+ nonNullable: true,
62
+ validators: [Validators.required, urlValidator()]
63
+ });
64
+ }
65
+ set tool(value) {
66
+ const tool = this.markersService.getMarkerObjectByType(value.type, value.id);
67
+ this.dynamicDataControl = new FormControl(tool, {
68
+ nonNullable: true,
69
+ validators: [Validators.required]
70
+ });
71
+ }
72
+ set space(value) {
73
+ this.spaceBetweenTargetAndList = value;
74
+ }
75
+ get isFormInvalid() {
76
+ return this.dynamicDataControl.invalid || this.isTitleInvalid();
77
+ }
78
+ get isDynamicDataErrorShown() {
79
+ return this.dynamicDataControl.invalid && this.dynamicDataControl.dirty;
80
+ }
81
+ get hide() {
82
+ return this.isHidden();
83
+ }
84
+ get fixed() {
85
+ return this.isGlobal;
86
+ }
87
+ ngOnInit() {
88
+ this.initTargetElementListener();
89
+ this.initClickOutsideSubscription();
90
+ this.initOnCloseWhenEditorScroll();
91
+ }
92
+ ngOnDestroy() {
93
+ this.destroyEventListeners();
94
+ }
95
+ onTitleLabelClick(element) {
96
+ const range = document.createRange();
97
+ const selection = window.getSelection();
98
+ range.selectNodeContents(element);
99
+ range.collapse(false);
100
+ selection?.removeAllRanges();
101
+ selection?.addRange(range);
102
+ }
103
+ onSave() {
104
+ if (this.isFormInvalid) {
105
+ return;
106
+ }
107
+ this.isVisible.set(false);
108
+ this.saveClicked.emit({ title: this.formTitle(), data: this.dynamicDataControl.value });
109
+ }
110
+ onScroll() {
111
+ this.isVisible.set(false);
112
+ }
113
+ onCancel() {
114
+ this.isVisible.set(false);
115
+ this.cancelClicked.emit();
116
+ }
117
+ onClearTitle(titleElement) {
118
+ this.formTitle.set('');
119
+ titleElement.textContent = '';
120
+ titleElement.focus();
121
+ }
122
+ onTitleChange(event) {
123
+ if (event.key === 'Enter') {
124
+ event.preventDefault();
125
+ return;
126
+ }
127
+ const target = event.target;
128
+ const value = target.textContent;
129
+ this.formTitle.set(value);
130
+ }
131
+ onTitlePaste(event) {
132
+ event.stopPropagation();
133
+ event.preventDefault();
134
+ if (!this.document) {
135
+ return;
136
+ }
137
+ const value = event.clipboardData?.getData('text/plain');
138
+ const target = event.target;
139
+ this.document.execCommand('insertText', false, value);
140
+ setTimeout(() => this.formTitle.set(target.textContent));
141
+ }
142
+ initTargetElementListener() {
143
+ this.target.addEventListener('click', this.targetToggleEventListener);
144
+ }
145
+ initClickOutsideSubscription() {
146
+ this.cuiClickOutsideDirective.cuiClickOutside.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((target) => {
147
+ if (this.element.contains(target) || this.target.contains(target) || !this.isVisible()) {
148
+ return;
149
+ }
150
+ this.isVisible.set(false);
151
+ });
152
+ }
153
+ initOnCloseWhenEditorScroll() {
154
+ this.editor = this.document.querySelector(EDITOR_SELECTOR);
155
+ this.editor.addEventListener('scroll', this.onScroll.bind(this));
156
+ }
157
+ destroyEventListeners() {
158
+ this.editor.removeEventListener('scroll', this.onScroll.bind(this));
159
+ this.target.addEventListener('click', this.targetToggleEventListener);
160
+ }
161
+ calculateDropdownPosition() {
162
+ this.isHidden.set(true);
163
+ setTimeout(() => {
164
+ const target = this.target;
165
+ const { bottom: targetRectBottom, left: targetRectLeft } = target.getBoundingClientRect();
166
+ const { clientHeight: documentClientHeight, clientWidth: documentClientWidth } = this.document.documentElement;
167
+ const distanceToBottom = documentClientHeight - (targetRectBottom + this.spaceBetweenTargetAndList);
168
+ const distanceToRight = documentClientWidth - targetRectLeft;
169
+ const isListRight = distanceToRight < this.element.offsetWidth;
170
+ const isListAbove = distanceToBottom < this.element.offsetHeight;
171
+ this.changePositionY(isListAbove, target.offsetHeight, targetRectBottom);
172
+ this.changePositionX(isListRight, target.offsetWidth, targetRectLeft);
173
+ this.isHidden.set(false);
174
+ });
175
+ }
176
+ changePositionX(isListRight, width, left) {
177
+ if (this.isGlobal) {
178
+ this.changeGlobalPositionX(isListRight, width, left);
179
+ return;
180
+ }
181
+ if (isListRight) {
182
+ this.element.style.right = '0';
183
+ this.element.style.left = 'auto';
184
+ return;
185
+ }
186
+ this.element.style.right = 'auto';
187
+ this.element.style.left = '0';
188
+ }
189
+ changePositionY(isListAbove, height, bottom) {
190
+ if (this.isGlobal) {
191
+ this.changeGlobalPositionY(isListAbove, height, bottom);
192
+ return;
193
+ }
194
+ if (isListAbove) {
195
+ this.element.style.bottom = height + this.spaceBetweenTargetAndList + 'px';
196
+ this.element.style.top = 'auto';
197
+ return;
198
+ }
199
+ this.element.style.top = height + this.spaceBetweenTargetAndList + 'px';
200
+ this.element.style.bottom = 'auto';
201
+ }
202
+ changeGlobalPositionX(isListRight, width, left) {
203
+ if (isListRight) {
204
+ this.element.style.left = left - this.element.offsetWidth + width + 'px';
205
+ return;
206
+ }
207
+ this.element.style.left = left + 'px';
208
+ }
209
+ changeGlobalPositionY(isListAbove, height, bottom) {
210
+ if (isListAbove) {
211
+ this.element.style.top =
212
+ bottom - this.element.offsetHeight - height - this.spaceBetweenTargetAndList + 'px';
213
+ return;
214
+ }
215
+ this.element.style.top = bottom + this.spaceBetweenTargetAndList + 'px';
216
+ }
217
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MarkerModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
218
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MarkerModalComponent, isStandalone: true, selector: "ng-component", inputs: { title: "title", url: "url", tool: "tool", isGlobal: "isGlobal", isTool: "isTool", target: "target", space: "space" }, outputs: { saveClicked: "saveClicked", cancelClicked: "cancelClicked" }, host: { properties: { "class._hidden": "this.hide", "class._fixed": "this.fixed" } }, hostDirectives: [{ directive: i1.CuiClickOutsideDirective }], ngImport: i0, template: "<ng-container *transloco=\"let t\">\n <ng-container *ngIf=\"isVisible()\">\n <form\n autocomplete=\"off\"\n class=\"wrapper\"\n >\n <cui-form-field>\n <!-- eslint-disable-next-line -->\n <label\n [for]=\"titleId\"\n cuiLabel\n [isRequired]=\"true\"\n (click)=\"onTitleLabelClick(titleElement)\"\n >\n {{ t('TITLE') }}\n </label>\n <!-- TODO: \u0435\u0441\u043B\u0438 \u043D\u0430\u0439\u0434\u0435\u0442\u0441\u044F \u0432\u0430\u0440\u0438\u043A \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0447\u0435\u0440\u0435\u0437 \u0444\u043E\u0440\u043C\u0443 -->\n <div\n class=\"title\"\n [class.title_invalid]=\"isTitleInvalid()\"\n >\n <div\n #titleElement\n class=\"title__text\"\n contenteditable\n attr.data-placeholder=\"{{ t('TITLE') }}...\"\n (paste)=\"onTitlePaste($event)\"\n (keyup)=\"onTitleChange($event)\"\n [innerHTML]=\"startTitle\"\n ></div>\n <button\n type=\"button\"\n class=\"title__clear\"\n (click)=\"onClearTitle(titleElement)\"\n >\n <cui-svg\n icon=\"cuiIconClear\"\n color=\"var(--cui-base-300)\"\n class=\"title__icon\"\n />\n </button>\n </div>\n\n <cui-hint\n *ngIf=\"isTitleInvalid()\"\n hintType=\"error\"\n >\n <ng-container *ngIf=\"isTitleEmpty()\">\n {{ t('FIELD_IS_REQUIRED') }}\n </ng-container>\n <ng-container *ngIf=\"isTitleMoreThanMaxLength()\">\n {{ t('PLEASE_KEEP_FIELD_UNDER_CHARACTERS', { value: TITLE_MAX_LENGTH }) }}\n </ng-container>\n </cui-hint>\n </cui-form-field>\n <cui-form-field>\n <label\n [for]=\"dataId\"\n cuiLabel\n [isRequired]=\"true\"\n >\n {{ isTool ? t('TOOL') : t('URL') }}\n </label>\n <ng-container *ngIf=\"dynamicDataControl\">\n <ng-container *ngIf=\"isTool; else input\">\n <div>\n <button\n #target=\"elementRef\"\n class=\"button tool-button\"\n cuiButton\n type=\"button\"\n cuiElement\n appearance=\"outlined-gray\"\n size=\"sm\"\n >\n {{ $any(dynamicDataControl.value)?.title || t('SELECT_TOOL') }}\n </button>\n </div>\n <cc-marker-select\n [formControl]=\"dynamicDataControl\"\n [target]=\"target.nativeElement\"\n />\n </ng-container>\n <ng-template #input>\n <cui-input-text\n [cuiTextFieldId]=\"dataId\"\n [formControl]=\"dynamicDataControl\"\n autocomplete=\"off\"\n [cuiTextFieldIsError]=\"isDynamicDataErrorShown\"\n cuiTextFieldPlaceholder=\"{{ t('LINK') }}...\"\n />\n <cui-hint\n *ngIf=\"isDynamicDataErrorShown\"\n hintType=\"error\"\n >\n <ng-container *ngIf=\"dynamicDataControl.errors?.['required']\">\n {{ t('FIELD_IS_REQUIRED') }}\n </ng-container>\n <ng-container *ngIf=\"dynamicDataControl.errors?.['url']\">\n {{ t('INVALID_URL') }}\n </ng-container>\n </cui-hint>\n </ng-template>\n </ng-container>\n </cui-form-field>\n <div class=\"buttons\">\n <button\n cuiButton\n type=\"button\"\n appearance=\"outlined-gray\"\n size=\"sm\"\n (click)=\"onCancel()\"\n >\n {{ t('CANCEL') }}\n </button>\n <button\n cuiButton\n type=\"submit\"\n appearance=\"action\"\n size=\"sm\"\n [disabled]=\"isFormInvalid\"\n (click)=\"onSave()\"\n >\n {{ t('SAVE') }}\n </button>\n </div>\n </form>\n </ng-container>\n</ng-container>\n", styles: [":host{position:absolute;z-index:1;left:0}:host._fixed{position:fixed}:host._hidden{position:fixed;visibility:hidden}:host ::ng-deep .tool-button{width:100%}:host ::ng-deep .tool-button>span{justify-content:flex-start!important}.wrapper{padding:11px;box-shadow:0 2px 4px -1px #0000000f,0 4px 6px -1px #0000001a;display:flex;flex-direction:column;gap:16px;border-radius:8px;border:1px solid var(--cui-base-200);max-width:450px;background-color:var(--cui-base-0)}.buttons{padding-top:12px;display:flex;justify-content:flex-end;gap:12px}.title{padding:7px 13px;cursor:text;display:flex;align-items:center;gap:8px;border:1px solid var(--cui-base-200);border-radius:8px;width:426px;background:var(--cui-input);color:var(--cui-base-900)}.title:hover{border-color:var(--cui-base-300)}.title:focus-within{outline:none;box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}.title_invalid,.title_invalid:focus-within{box-shadow:none;border-color:var(--cui-danger)}.title__text{flex-grow:1;text-wrap:nowrap;overflow:hidden}.title__text[data-placeholder]:empty:before{content:attr(data-placeholder);position:absolute;color:var(--cui-base-400)}.title__text:focus{outline:none}.title__clear{padding:0;visibility:hidden}.title__icon{width:16px}.title__icon ::ng-deep [stroke]{stroke:var(--cui-base-0)}.title__text:not(:empty)+.title__clear{visibility:visible}\n"], dependencies: [{ kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "directive", type: CuiElementDirective, selector: "[cuiElement]", exportAs: ["elementRef"] }, { kind: "ngmodule", type: CuiFormFieldModule }, { kind: "component", type: i3.CuiFormFieldComponent, selector: "cui-form-field" }, { kind: "ngmodule", type: CuiHintModule }, { kind: "component", type: i4.CuiHintComponent, selector: "cui-hint", inputs: ["hintType"] }, { kind: "ngmodule", type: CuiInputModule }, { kind: "component", type: i5.CuiInputTextComponent, selector: "cui-input-text" }, { kind: "directive", type: i6.CuiTextFieldIdDirective, selector: "[cuiTextFieldId]", inputs: ["cuiTextFieldId"] }, { kind: "directive", type: i7.CuiTextFieldPlaceholderDirective, selector: "[cuiTextFieldPlaceholder]", inputs: ["cuiTextFieldPlaceholder"] }, { kind: "directive", type: i8.CuiTextFieldIsErrorDirective, selector: "[cuiTextFieldIsError]", inputs: ["cuiTextFieldIsError"] }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "component", type: i9.CuiLabelComponent, selector: "label[cuiLabel]", inputs: ["isRequired"] }, { kind: "ngmodule", type: CuiSvgModule }, { kind: "component", type: i10.CuiSvgComponent, selector: "cui-svg[icon]", inputs: ["width", "height", "strokeWidth", "color", "icon"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i11.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i11.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i11.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i11.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: MarkerSelectComponent, selector: "cc-marker-select", inputs: ["target", "space"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i11.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
219
+ }
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MarkerModalComponent, decorators: [{
221
+ type: Component,
222
+ args: [{ standalone: true, imports: [
223
+ CuiButtonModule,
224
+ CuiElementDirective,
225
+ CuiFormFieldModule,
226
+ CuiHintModule,
227
+ CuiInputModule,
228
+ CuiLabelModule,
229
+ CuiSvgModule,
230
+ FormsModule,
231
+ MarkerSelectComponent,
232
+ ReactiveFormsModule,
233
+ TranslocoDirective,
234
+ NgIf
235
+ ], changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [CuiClickOutsideDirective], template: "<ng-container *transloco=\"let t\">\n <ng-container *ngIf=\"isVisible()\">\n <form\n autocomplete=\"off\"\n class=\"wrapper\"\n >\n <cui-form-field>\n <!-- eslint-disable-next-line -->\n <label\n [for]=\"titleId\"\n cuiLabel\n [isRequired]=\"true\"\n (click)=\"onTitleLabelClick(titleElement)\"\n >\n {{ t('TITLE') }}\n </label>\n <!-- TODO: \u0435\u0441\u043B\u0438 \u043D\u0430\u0439\u0434\u0435\u0442\u0441\u044F \u0432\u0430\u0440\u0438\u043A \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0447\u0435\u0440\u0435\u0437 \u0444\u043E\u0440\u043C\u0443 -->\n <div\n class=\"title\"\n [class.title_invalid]=\"isTitleInvalid()\"\n >\n <div\n #titleElement\n class=\"title__text\"\n contenteditable\n attr.data-placeholder=\"{{ t('TITLE') }}...\"\n (paste)=\"onTitlePaste($event)\"\n (keyup)=\"onTitleChange($event)\"\n [innerHTML]=\"startTitle\"\n ></div>\n <button\n type=\"button\"\n class=\"title__clear\"\n (click)=\"onClearTitle(titleElement)\"\n >\n <cui-svg\n icon=\"cuiIconClear\"\n color=\"var(--cui-base-300)\"\n class=\"title__icon\"\n />\n </button>\n </div>\n\n <cui-hint\n *ngIf=\"isTitleInvalid()\"\n hintType=\"error\"\n >\n <ng-container *ngIf=\"isTitleEmpty()\">\n {{ t('FIELD_IS_REQUIRED') }}\n </ng-container>\n <ng-container *ngIf=\"isTitleMoreThanMaxLength()\">\n {{ t('PLEASE_KEEP_FIELD_UNDER_CHARACTERS', { value: TITLE_MAX_LENGTH }) }}\n </ng-container>\n </cui-hint>\n </cui-form-field>\n <cui-form-field>\n <label\n [for]=\"dataId\"\n cuiLabel\n [isRequired]=\"true\"\n >\n {{ isTool ? t('TOOL') : t('URL') }}\n </label>\n <ng-container *ngIf=\"dynamicDataControl\">\n <ng-container *ngIf=\"isTool; else input\">\n <div>\n <button\n #target=\"elementRef\"\n class=\"button tool-button\"\n cuiButton\n type=\"button\"\n cuiElement\n appearance=\"outlined-gray\"\n size=\"sm\"\n >\n {{ $any(dynamicDataControl.value)?.title || t('SELECT_TOOL') }}\n </button>\n </div>\n <cc-marker-select\n [formControl]=\"dynamicDataControl\"\n [target]=\"target.nativeElement\"\n />\n </ng-container>\n <ng-template #input>\n <cui-input-text\n [cuiTextFieldId]=\"dataId\"\n [formControl]=\"dynamicDataControl\"\n autocomplete=\"off\"\n [cuiTextFieldIsError]=\"isDynamicDataErrorShown\"\n cuiTextFieldPlaceholder=\"{{ t('LINK') }}...\"\n />\n <cui-hint\n *ngIf=\"isDynamicDataErrorShown\"\n hintType=\"error\"\n >\n <ng-container *ngIf=\"dynamicDataControl.errors?.['required']\">\n {{ t('FIELD_IS_REQUIRED') }}\n </ng-container>\n <ng-container *ngIf=\"dynamicDataControl.errors?.['url']\">\n {{ t('INVALID_URL') }}\n </ng-container>\n </cui-hint>\n </ng-template>\n </ng-container>\n </cui-form-field>\n <div class=\"buttons\">\n <button\n cuiButton\n type=\"button\"\n appearance=\"outlined-gray\"\n size=\"sm\"\n (click)=\"onCancel()\"\n >\n {{ t('CANCEL') }}\n </button>\n <button\n cuiButton\n type=\"submit\"\n appearance=\"action\"\n size=\"sm\"\n [disabled]=\"isFormInvalid\"\n (click)=\"onSave()\"\n >\n {{ t('SAVE') }}\n </button>\n </div>\n </form>\n </ng-container>\n</ng-container>\n", styles: [":host{position:absolute;z-index:1;left:0}:host._fixed{position:fixed}:host._hidden{position:fixed;visibility:hidden}:host ::ng-deep .tool-button{width:100%}:host ::ng-deep .tool-button>span{justify-content:flex-start!important}.wrapper{padding:11px;box-shadow:0 2px 4px -1px #0000000f,0 4px 6px -1px #0000001a;display:flex;flex-direction:column;gap:16px;border-radius:8px;border:1px solid var(--cui-base-200);max-width:450px;background-color:var(--cui-base-0)}.buttons{padding-top:12px;display:flex;justify-content:flex-end;gap:12px}.title{padding:7px 13px;cursor:text;display:flex;align-items:center;gap:8px;border:1px solid var(--cui-base-200);border-radius:8px;width:426px;background:var(--cui-input);color:var(--cui-base-900)}.title:hover{border-color:var(--cui-base-300)}.title:focus-within{outline:none;box-shadow:0 0 0 2px var(--cui-focus);border-color:var(--cui-info)}.title_invalid,.title_invalid:focus-within{box-shadow:none;border-color:var(--cui-danger)}.title__text{flex-grow:1;text-wrap:nowrap;overflow:hidden}.title__text[data-placeholder]:empty:before{content:attr(data-placeholder);position:absolute;color:var(--cui-base-400)}.title__text:focus{outline:none}.title__clear{padding:0;visibility:hidden}.title__icon{width:16px}.title__icon ::ng-deep [stroke]{stroke:var(--cui-base-0)}.title__text:not(:empty)+.title__clear{visibility:visible}\n"] }]
236
+ }], propDecorators: { title: [{
237
+ type: Input
238
+ }], url: [{
239
+ type: Input
240
+ }], tool: [{
241
+ type: Input
242
+ }], isGlobal: [{
243
+ type: Input
244
+ }], isTool: [{
245
+ type: Input
246
+ }], target: [{
247
+ type: Input
248
+ }], space: [{
249
+ type: Input
250
+ }], saveClicked: [{
251
+ type: Output
252
+ }], cancelClicked: [{
253
+ type: Output
254
+ }], hide: [{
255
+ type: HostBinding,
256
+ args: ['class._hidden']
257
+ }], fixed: [{
258
+ type: HostBinding,
259
+ args: ['class._fixed']
260
+ }] } });
261
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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cmFuc2xvY289XCJsZXQgdFwiPlxuICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpc1Zpc2libGUoKVwiPlxuICAgICAgICA8Zm9ybVxuICAgICAgICAgICAgYXV0b2NvbXBsZXRlPVwib2ZmXCJcbiAgICAgICAgICAgIGNsYXNzPVwid3JhcHBlclwiXG4gICAgICAgID5cbiAgICAgICAgICAgIDxjdWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgICA8IS0tIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSAtLT5cbiAgICAgICAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgICAgICAgICAgW2Zvcl09XCJ0aXRsZUlkXCJcbiAgICAgICAgICAgICAgICAgICAgY3VpTGFiZWxcbiAgICAgICAgICAgICAgICAgICAgW2lzUmVxdWlyZWRdPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvblRpdGxlTGFiZWxDbGljayh0aXRsZUVsZW1lbnQpXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IHQoJ1RJVExFJykgfX1cbiAgICAgICAgICAgICAgICA8L2xhYmVsPlxuICAgICAgICAgICAgICAgIDwhLS0gVE9ETzog0LXRgdC70Lgg0L3QsNC50LTQtdGC0YHRjyDQstCw0YDQuNC6INGB0LTQtdC70LDRgtGMINGH0LXRgNC10Lcg0YTQvtGA0LzRgyAtLT5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidGl0bGVcIlxuICAgICAgICAgICAgICAgICAgICBbY2xhc3MudGl0bGVfaW52YWxpZF09XCJpc1RpdGxlSW52YWxpZCgpXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICAgICAgICAgICN0aXRsZUVsZW1lbnRcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidGl0bGVfX3RleHRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudGVkaXRhYmxlXG4gICAgICAgICAgICAgICAgICAgICAgICBhdHRyLmRhdGEtcGxhY2Vob2xkZXI9XCJ7eyB0KCdUSVRMRScpIH19Li4uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIChwYXN0ZSk9XCJvblRpdGxlUGFzdGUoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoa2V5dXApPVwib25UaXRsZUNoYW5nZSgkZXZlbnQpXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtpbm5lckhUTUxdPVwic3RhcnRUaXRsZVwiXG4gICAgICAgICAgICAgICAgICAgID48L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInRpdGxlX19jbGVhclwiXG4gICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib25DbGVhclRpdGxlKHRpdGxlRWxlbWVudClcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICA8Y3VpLXN2Z1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGljb249XCJjdWlJY29uQ2xlYXJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbG9yPVwidmFyKC0tY3VpLWJhc2UtMzAwKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJ0aXRsZV9faWNvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgICAgIDxjdWktaGludFxuICAgICAgICAgICAgICAgICAgICAqbmdJZj1cImlzVGl0bGVJbnZhbGlkKClcIlxuICAgICAgICAgICAgICAgICAgICBoaW50VHlwZT1cImVycm9yXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpc1RpdGxlRW1wdHkoKVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgdCgnRklFTERfSVNfUkVRVUlSRUQnKSB9fVxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImlzVGl0bGVNb3JlVGhhbk1heExlbmd0aCgpXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyB0KCdQTEVBU0VfS0VFUF9GSUVMRF9VTkRFUl9DSEFSQUNURVJTJywgeyB2YWx1ZTogVElUTEVfTUFYX0xFTkdUSCB9KSB9fVxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICA8L2N1aS1oaW50PlxuICAgICAgICAgICAgPC9jdWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgIDxjdWktZm9ybS1maWVsZD5cbiAgICAgICAgICAgICAgICA8bGFiZWxcbiAgICAgICAgICAgICAgICAgICAgW2Zvcl09XCJkYXRhSWRcIlxuICAgICAgICAgICAgICAgICAgICBjdWlMYWJlbFxuICAgICAgICAgICAgICAgICAgICBbaXNSZXF1aXJlZF09XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IGlzVG9vbCA/IHQoJ1RPT0wnKSA6IHQoJ1VSTCcpIH19XG4gICAgICAgICAgICAgICAgPC9sYWJlbD5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiZHluYW1pY0RhdGFDb250cm9sXCI+XG4gICAgICAgICAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpc1Rvb2w7IGVsc2UgaW5wdXRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAjdGFyZ2V0PVwiZWxlbWVudFJlZlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwiYnV0dG9uIHRvb2wtYnV0dG9uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY3VpQnV0dG9uXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjdWlFbGVtZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJvdXRsaW5lZC1ncmF5XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZT1cInNtXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7ICRhbnkoZHluYW1pY0RhdGFDb250cm9sLnZhbHVlKT8udGl0bGUgfHwgdCgnU0VMRUNUX1RPT0wnKSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICA8Y2MtbWFya2VyLXNlbGVjdFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJkeW5hbWljRGF0YUNvbnRyb2xcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0YXJnZXRdPVwidGFyZ2V0Lm5hdGl2ZUVsZW1lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjaW5wdXQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8Y3VpLWlucHV0LXRleHRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY3VpVGV4dEZpZWxkSWRdPVwiZGF0YUlkXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZHluYW1pY0RhdGFDb250cm9sXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBhdXRvY29tcGxldGU9XCJvZmZcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtjdWlUZXh0RmllbGRJc0Vycm9yXT1cImlzRHluYW1pY0RhdGFFcnJvclNob3duXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjdWlUZXh0RmllbGRQbGFjZWhvbGRlcj1cInt7IHQoJ0xJTksnKSB9fS4uLlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGN1aS1oaW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJpc0R5bmFtaWNEYXRhRXJyb3JTaG93blwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFR5cGU9XCJlcnJvclwiXG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImR5bmFtaWNEYXRhQ29udHJvbC5lcnJvcnM/LlsncmVxdWlyZWQnXVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyB0KCdGSUVMRF9JU19SRVFVSVJFRCcpIH19XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImR5bmFtaWNEYXRhQ29udHJvbC5lcnJvcnM/LlsndXJsJ11cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgdCgnSU5WQUxJRF9VUkwnKSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9jdWktaGludD5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDwvY3VpLWZvcm0tZmllbGQ+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYnV0dG9uc1wiPlxuICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgY3VpQnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgICAgICBhcHBlYXJhbmNlPVwib3V0bGluZWQtZ3JheVwiXG4gICAgICAgICAgICAgICAgICAgIHNpemU9XCJzbVwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvbkNhbmNlbCgpXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IHQoJ0NBTkNFTCcpIH19XG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBjdWlCdXR0b25cbiAgICAgICAgICAgICAgICAgICAgdHlwZT1cInN1Ym1pdFwiXG4gICAgICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJhY3Rpb25cIlxuICAgICAgICAgICAgICAgICAgICBzaXplPVwic21cIlxuICAgICAgICAgICAgICAgICAgICBbZGlzYWJsZWRdPVwiaXNGb3JtSW52YWxpZFwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJvblNhdmUoKVwiXG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7eyB0KCdTQVZFJykgfX1cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Zvcm0+XG4gICAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2VyLW1vZGFsLmludGVyZmFjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2VkaXRvci9jb21wb25lbnRzL21hcmtlci1tb2RhbC9tYXJrZXItbW9kYWwuaW50ZXJmYWNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBGb3JtQ29udHJvbCB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcclxuXHJcbmltcG9ydCB0eXBlIHsgVG9vbCB9IGZyb20gJy4uL2VkaXRvci10b29sLW1vZGFsL2VkaXRvci10b29sLW1vZGFsLm9wdGlvbnMnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBNYXJrZXJEYXRhIHtcclxuICAgIHJlYWRvbmx5IHRpdGxlOiBzdHJpbmc7XHJcbiAgICByZWFkb25seSBkYXRhPzogc3RyaW5nIHwgVG9vbDtcclxufVxyXG5cclxuZXhwb3J0IHR5cGUgTWFya2VyRGF0YUNvbnRyb2wgPSBGb3JtQ29udHJvbDxzdHJpbmc+IHwgRm9ybUNvbnRyb2w8VG9vbCB8IHVuZGVmaW5lZD47XHJcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export const MARKER_MODAL_SELECTOR = 'cc-marker-modal';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2VyLW1vZGFsLm9wdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2VkaXRvci9jb21wb25lbnRzL21hcmtlci1tb2RhbC9tYXJrZXItbW9kYWwub3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxxQkFBcUIsR0FBRyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBNQVJLRVJfTU9EQUxfU0VMRUNUT1IgPSAnY2MtbWFya2VyLW1vZGFsJztcclxuIl19
@@ -0,0 +1,15 @@
1
+ import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
2
+ import { NgIf } from '@angular/common';
3
+ import * as i0 from "@angular/core";
4
+ export class SelectOptionComponent {
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectOptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: SelectOptionComponent, isStandalone: true, selector: "cc-select-option", inputs: { tool: "tool" }, ngImport: i0, template: "<ng-container *ngIf=\"tool\">\n <img\n *ngIf=\"tool.image\"\n class=\"image\"\n [src]=\"tool.image\"\n alt=\"\"\n />\n <h3 class=\"title\">{{ tool.title }}</h3>\n</ng-container>\n", styles: [":host{padding:4px 8px;cursor:pointer;display:flex;align-items:center;gap:8px;border-radius:8px}@media (hover: hover){:host:hover{background-color:var(--cui-base-50)}}:host:active{background-color:var(--cui-base-50)}.title{font-weight:400;font-size:14px;line-height:20px;padding-top:2px;padding-bottom:2px;color:var(--cui-base-900)}.image{width:23px;height:23px;object-fit:cover;object-position:center}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
7
+ }
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SelectOptionComponent, decorators: [{
9
+ type: Component,
10
+ args: [{ selector: 'cc-select-option', standalone: true, imports: [NgIf], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"tool\">\n <img\n *ngIf=\"tool.image\"\n class=\"image\"\n [src]=\"tool.image\"\n alt=\"\"\n />\n <h3 class=\"title\">{{ tool.title }}</h3>\n</ng-container>\n", styles: [":host{padding:4px 8px;cursor:pointer;display:flex;align-items:center;gap:8px;border-radius:8px}@media (hover: hover){:host:hover{background-color:var(--cui-base-50)}}:host:active{background-color:var(--cui-base-50)}.title{font-weight:400;font-size:14px;line-height:20px;padding-top:2px;padding-bottom:2px;color:var(--cui-base-900)}.image{width:23px;height:23px;object-fit:cover;object-position:center}\n"] }]
11
+ }], propDecorators: { tool: [{
12
+ type: Input,
13
+ args: [{ required: true }]
14
+ }] } });
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZWN0LW9wdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2VkaXRvci9jb21wb25lbnRzL21hcmtlci1zZWxlY3QvY29tcG9uZW50L3NlbGVjdC1pdGVtL3NlbGVjdC1vcHRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9lZGl0b3IvY29tcG9uZW50cy9tYXJrZXItc2VsZWN0L2NvbXBvbmVudC9zZWxlY3QtaXRlbS9zZWxlY3Qtb3B0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFFLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFZdkMsTUFBT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pbWdcbiAgICAgICAgKm5nSWY9XCJ0b29sLmltYWdlXCJcbiAgICAgICAgY2xhc3M9XCJpbWFnZVwiXG4gICAgICAgIFtzcmNdPVwidG9vbC5pbWFnZVwiXG4gICAgICAgIGFsdD1cIlwiXG4gICAgLz5cbiAgICA8aDMgY2xhc3M9XCJ0aXRsZVwiPnt7IHRvb2wudGl0bGUgfX08L2gzPlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export { MarkerSelectComponent } from './marker-select.component';
2
+ export { MARKER_SELECT_SELECTOR } from './marker-select.options';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2VkaXRvci9jb21wb25lbnRzL21hcmtlci1zZWxlY3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDbEUsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0seUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBNYXJrZXJTZWxlY3RDb21wb25lbnQgfSBmcm9tICcuL21hcmtlci1zZWxlY3QuY29tcG9uZW50JztcclxuZXhwb3J0IHsgTUFSS0VSX1NFTEVDVF9TRUxFQ1RPUiB9IGZyb20gJy4vbWFya2VyLXNlbGVjdC5vcHRpb25zJztcclxuIl19
@@ -0,0 +1,155 @@
1
+ import { DOCUMENT, NgFor, NgIf } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, forwardRef, HostBinding, inject, Input, signal } from '@angular/core';
3
+ import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
+ import { FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';
5
+ import { CuiClickOutsideDirective } from '@cuby-ui/cdk';
6
+ import { CuiButtonModule, CuiContextMenuModule, CuiInputModule, CuiLabelModule } from '../../../components';
7
+ import { EDITOR_SELECTOR } from '../../constants';
8
+ import { CuiMarkersService } from '../../services/markers.service';
9
+ import { SelectOptionComponent } from './component/select-item/select-option.component';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@cuby-ui/cdk";
12
+ import * as i2 from "../../../components/button/button.component";
13
+ import * as i3 from "../../../components/input-text/input-text.component";
14
+ import * as i4 from "../../../directives/text-field-controller/text-field-id.directive";
15
+ import * as i5 from "../../../directives/text-field-controller/text-field-placeholder.directive";
16
+ export class MarkerSelectComponent {
17
+ constructor() {
18
+ this.document = inject(DOCUMENT);
19
+ this.destroyRef = inject(DestroyRef);
20
+ this.cuiClickOutsideDirective = inject(CuiClickOutsideDirective, { self: true });
21
+ this.element = inject(ElementRef).nativeElement;
22
+ this.markersService = inject(CuiMarkersService);
23
+ this.SPACE_BETWEEN_TARGET_AND_LIST = 5;
24
+ this.isVisible = signal(false);
25
+ this.isHidden = signal(true);
26
+ // TODO: set current type
27
+ this.elements = this.markersService.getMarkersByType("tool" /* MarkerType.tool */);
28
+ this.targetToggleEventListener = () => {
29
+ this.isVisible.update((prev) => !prev);
30
+ if (!this.isVisible()) {
31
+ return;
32
+ }
33
+ this.calculateDropdownPosition();
34
+ };
35
+ }
36
+ set space(value) {
37
+ this.SPACE_BETWEEN_TARGET_AND_LIST = value;
38
+ }
39
+ get hide() {
40
+ return this.isHidden();
41
+ }
42
+ writeValue(value) {
43
+ this.value = value;
44
+ }
45
+ registerOnChange(fn) {
46
+ this.onChange = fn;
47
+ }
48
+ registerOnTouched(fn) {
49
+ this.onTouched = fn;
50
+ }
51
+ onScroll() {
52
+ this.isVisible.set(false);
53
+ }
54
+ ngOnInit() {
55
+ this.initTargetElementListener();
56
+ this.initClickOutsideSubscription();
57
+ this.initOnCloseWhenEditorScroll();
58
+ }
59
+ ngOnDestroy() {
60
+ this.destroyEventListeners();
61
+ }
62
+ onToolClick(tool) {
63
+ this.value = tool;
64
+ this.onChange(this.value);
65
+ this.onTouched();
66
+ // this.isVisible.set(false);
67
+ }
68
+ initTargetElementListener() {
69
+ this.target.addEventListener('click', this.targetToggleEventListener);
70
+ }
71
+ initClickOutsideSubscription() {
72
+ this.cuiClickOutsideDirective.cuiClickOutside.pipe(takeUntilDestroyed(this.destroyRef)).subscribe((target) => {
73
+ if (this.target.contains(target) || !this.isVisible()) {
74
+ return;
75
+ }
76
+ this.isVisible.set(false);
77
+ });
78
+ }
79
+ initOnCloseWhenEditorScroll() {
80
+ this.editor = this.element.closest(EDITOR_SELECTOR);
81
+ this.editor?.addEventListener('scroll', this.onScroll.bind(this));
82
+ }
83
+ destroyEventListeners() {
84
+ this.editor?.removeEventListener('scroll', this.onScroll.bind(this));
85
+ this.target?.addEventListener('click', this.targetToggleEventListener);
86
+ }
87
+ calculateDropdownPosition() {
88
+ this.isHidden.set(true);
89
+ setTimeout(() => {
90
+ const target = this.target;
91
+ const { bottom: targetRectBottom, left: targetRectLeft } = target.getBoundingClientRect();
92
+ const { clientHeight: documentClientHeight, clientWidth: documentClientWidth } = this.document.documentElement;
93
+ const distanceToBottom = documentClientHeight - (targetRectBottom + this.SPACE_BETWEEN_TARGET_AND_LIST);
94
+ const distanceToRight = documentClientWidth - targetRectLeft;
95
+ const isListRight = distanceToRight < this.element.offsetWidth;
96
+ const isListAbove = distanceToBottom < this.element.offsetHeight;
97
+ this.changePositionY(isListAbove, target.offsetHeight, targetRectBottom);
98
+ this.changePositionX(isListRight, target.offsetWidth, targetRectLeft);
99
+ this.isHidden.set(false);
100
+ });
101
+ }
102
+ changePositionX(isListRight, width, left) {
103
+ if (isListRight) {
104
+ this.element.style.right = 'auto';
105
+ this.element.style.left = left;
106
+ return;
107
+ }
108
+ this.element.style.right = left - this.element.offsetWidth + width;
109
+ this.element.style.left = 'auto';
110
+ }
111
+ changePositionY(isListAbove, height, bottom) {
112
+ if (isListAbove) {
113
+ this.element.style.top =
114
+ bottom - this.element.offsetHeight - height - this.SPACE_BETWEEN_TARGET_AND_LIST + 'px';
115
+ return;
116
+ }
117
+ this.element.style.top = bottom + this.SPACE_BETWEEN_TARGET_AND_LIST + 'px';
118
+ }
119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MarkerSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
120
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MarkerSelectComponent, isStandalone: true, selector: "cc-marker-select", inputs: { target: "target", space: "space" }, host: { properties: { "class._hidden": "this.hide" } }, providers: [
121
+ {
122
+ provide: NG_VALUE_ACCESSOR,
123
+ useExisting: forwardRef(() => MarkerSelectComponent),
124
+ multi: true
125
+ }
126
+ ], hostDirectives: [{ directive: i1.CuiClickOutsideDirective }], ngImport: i0, template: "<ng-container *ngIf=\"isVisible()\">\n <div\n #dropdown\n class=\"dropdown\"\n >\n <header class=\"header\">\n <cui-input-text\n class=\"header__input\"\n cuiTextFieldId=\"estimated\"\n cuiTextFieldPlaceholder=\"Search...\"\n />\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconFiltersLines\"\n ></button>\n </header>\n <div class=\"scrollable-content\">\n <cc-select-option\n *ngFor=\"let element of elements\"\n [class._selected]=\"element.id === value?.id\"\n (click)=\"onToolClick(element)\"\n [tool]=\"element\"\n />\n </div>\n </div>\n</ng-container>\n", styles: [":host{position:fixed;z-index:10;left:0}:host._hidden{visibility:hidden}._selected{background-color:var(--cui-base-50)}.dropdown{box-shadow:0 1px 4px #0000000a,0 1px 4px #0000000a;padding-top:3px;padding-bottom:3px;display:flex;flex-direction:column;gap:4px;border-radius:8px;border:1px solid var(--cui-base-200);max-height:350px;width:345px;background:var(--cui-base-0)}.header{padding:4px 5px;display:flex;align-items:center;gap:4px}.header__input{width:100%}.footer{padding:2px 5px}.title{font-weight:400;font-size:14px;line-height:20px;padding:2px 8px;color:var(--cui-base-500);text-transform:uppercase}.scrollable-content{padding-left:5px;overflow:auto}\n"], dependencies: [{ kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "ngmodule", type: CuiContextMenuModule }, { kind: "ngmodule", type: CuiInputModule }, { kind: "component", type: i3.CuiInputTextComponent, selector: "cui-input-text" }, { kind: "directive", type: i4.CuiTextFieldIdDirective, selector: "[cuiTextFieldId]", inputs: ["cuiTextFieldId"] }, { kind: "directive", type: i5.CuiTextFieldPlaceholderDirective, selector: "[cuiTextFieldPlaceholder]", inputs: ["cuiTextFieldPlaceholder"] }, { kind: "ngmodule", type: CuiLabelModule }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "component", type: SelectOptionComponent, selector: "cc-select-option", inputs: ["tool"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
127
+ }
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MarkerSelectComponent, decorators: [{
129
+ type: Component,
130
+ args: [{ selector: 'cc-marker-select', imports: [
131
+ CuiButtonModule,
132
+ CuiContextMenuModule,
133
+ CuiInputModule,
134
+ CuiLabelModule,
135
+ FormsModule,
136
+ ReactiveFormsModule,
137
+ SelectOptionComponent,
138
+ NgIf,
139
+ NgFor
140
+ ], standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, hostDirectives: [CuiClickOutsideDirective], providers: [
141
+ {
142
+ provide: NG_VALUE_ACCESSOR,
143
+ useExisting: forwardRef(() => MarkerSelectComponent),
144
+ multi: true
145
+ }
146
+ ], template: "<ng-container *ngIf=\"isVisible()\">\n <div\n #dropdown\n class=\"dropdown\"\n >\n <header class=\"header\">\n <cui-input-text\n class=\"header__input\"\n cuiTextFieldId=\"estimated\"\n cuiTextFieldPlaceholder=\"Search...\"\n />\n <button\n cuiButton\n type=\"button\"\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconFiltersLines\"\n ></button>\n </header>\n <div class=\"scrollable-content\">\n <cc-select-option\n *ngFor=\"let element of elements\"\n [class._selected]=\"element.id === value?.id\"\n (click)=\"onToolClick(element)\"\n [tool]=\"element\"\n />\n </div>\n </div>\n</ng-container>\n", styles: [":host{position:fixed;z-index:10;left:0}:host._hidden{visibility:hidden}._selected{background-color:var(--cui-base-50)}.dropdown{box-shadow:0 1px 4px #0000000a,0 1px 4px #0000000a;padding-top:3px;padding-bottom:3px;display:flex;flex-direction:column;gap:4px;border-radius:8px;border:1px solid var(--cui-base-200);max-height:350px;width:345px;background:var(--cui-base-0)}.header{padding:4px 5px;display:flex;align-items:center;gap:4px}.header__input{width:100%}.footer{padding:2px 5px}.title{font-weight:400;font-size:14px;line-height:20px;padding:2px 8px;color:var(--cui-base-500);text-transform:uppercase}.scrollable-content{padding-left:5px;overflow:auto}\n"] }]
147
+ }], propDecorators: { target: [{
148
+ type: Input
149
+ }], space: [{
150
+ type: Input
151
+ }], hide: [{
152
+ type: HostBinding,
153
+ args: ['class._hidden']
154
+ }] } });
155
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2VyLXNlbGVjdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2VkaXRvci9jb21wb25lbnRzL21hcmtlci1zZWxlY3QvbWFya2VyLXNlbGVjdC5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bWVudC5vZmZzZXRXaWR0aCArIHdpZHRoO1xuICAgICAgICB0aGlzLmVsZW1lbnQuc3R5bGUubGVmdCA9ICdhdXRvJztcbiAgICB9XG5cbiAgICBwcml2YXRlIGNoYW5nZVBvc2l0aW9uWShpc0xpc3RBYm92ZTogYm9vbGVhbiwgaGVpZ2h0OiBudW1iZXIsIGJvdHRvbTogbnVtYmVyKTogdm9pZCB7XG4gICAgICAgIGlmIChpc0xpc3RBYm92ZSkge1xuICAgICAgICAgICAgdGhpcy5lbGVtZW50LnN0eWxlLnRvcCA9XG4gICAgICAgICAgICAgICAgYm90dG9tIC0gdGhpcy5lbGVtZW50Lm9mZnNldEhlaWdodCAtIGhlaWdodCAtIHRoaXMuU1BBQ0VfQkVUV0VFTl9UQVJHRVRfQU5EX0xJU1QgKyAncHgnO1xuXG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLmVsZW1lbnQuc3R5bGUudG9wID0gYm90dG9tICsgdGhpcy5TUEFDRV9CRVRXRUVOX1RBUkdFVF9BTkRfTElTVCArICdweCc7XG4gICAgfVxufVxuIiwiPG5nLWNvbnRhaW5lciAqbmdJZj1cImlzVmlzaWJsZSgpXCI+XG4gICAgPGRpdlxuICAgICAgICAjZHJvcGRvd25cbiAgICAgICAgY2xhc3M9XCJkcm9wZG93blwiXG4gICAgPlxuICAgICAgICA8aGVhZGVyIGNsYXNzPVwiaGVhZGVyXCI+XG4gICAgICAgICAgICA8Y3VpLWlucHV0LXRleHRcbiAgICAgICAgICAgICAgICBjbGFzcz1cImhlYWRlcl9faW5wdXRcIlxuICAgICAgICAgICAgICAgIGN1aVRleHRGaWVsZElkPVwiZXN0aW1hdGVkXCJcbiAgICAgICAgICAgICAgICBjdWlUZXh0RmllbGRQbGFjZWhvbGRlcj1cIlNlYXJjaC4uLlwiXG4gICAgICAgICAgICAvPlxuICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgIGN1aUJ1dHRvblxuICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgIGFwcGVhcmFuY2U9XCJnaG9zdFwiXG4gICAgICAgICAgICAgICAgc2l6ZT1cInh4c1wiXG4gICAgICAgICAgICAgICAgaWNvbj1cImN1aUljb25GaWx0ZXJzTGluZXNcIlxuICAgICAgICAgICAgPjwvYnV0dG9uPlxuICAgICAgICA8L2hlYWRlcj5cbiAgICAgICAgPGRpdiBjbGFzcz1cInNjcm9sbGFibGUtY29udGVudFwiPlxuICAgICAgICAgICAgPGNjLXNlbGVjdC1vcHRpb25cbiAgICAgICAgICAgICAgICAqbmdGb3I9XCJsZXQgZWxlbWVudCBvZiBlbGVtZW50c1wiXG4gICAgICAgICAgICAgICAgW2NsYXNzLl9zZWxlY3RlZF09XCJlbGVtZW50LmlkID09PSB2YWx1ZT8uaWRcIlxuICAgICAgICAgICAgICAgIChjbGljayk9XCJvblRvb2xDbGljayhlbGVtZW50KVwiXG4gICAgICAgICAgICAgICAgW3Rvb2xdPVwiZWxlbWVudFwiXG4gICAgICAgICAgICAvPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctY29udGFpbmVyPlxuIl19
@@ -0,0 +1,2 @@
1
+ export const MARKER_SELECT_SELECTOR = 'marker-select';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFya2VyLXNlbGVjdC5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9lZGl0b3IvY29tcG9uZW50cy9tYXJrZXItc2VsZWN0L21hcmtlci1zZWxlY3Qub3B0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxzQkFBc0IsR0FBRyxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgTUFSS0VSX1NFTEVDVF9TRUxFQ1RPUiA9ICdtYXJrZXItc2VsZWN0JztcclxuIl19