@cuby-ui/core 0.0.227 → 0.0.231

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/components/button/button.component.d.ts +1 -1
  2. package/components/content-wrapper/content-wrapper.component.d.ts +11 -0
  3. package/components/content-wrapper/index.d.ts +1 -0
  4. package/components/empty-state/empty-state.component.d.ts +7 -0
  5. package/components/empty-state/index.d.ts +1 -0
  6. package/components/ghost-input/ghost-input.component.d.ts +6 -0
  7. package/components/ghost-input/index.d.ts +1 -0
  8. package/components/index.d.ts +3 -0
  9. package/components/sidebar/sidebar-header/sidebar-header.component.d.ts +1 -1
  10. package/components/sidebar/sidebar-navigation-item/sidebar-navigation-item.component.d.ts +1 -1
  11. package/editor/components/editor-attaches-tool/editor-attaches-tool.component.d.ts +44 -0
  12. package/editor/components/editor-attaches-tool/editor-attaches-tool.options.d.ts +17 -0
  13. package/editor/components/editor-attaches-tool/index.d.ts +2 -0
  14. package/editor/components/editor-image-tool/editor-image-tool.component.d.ts +14 -0
  15. package/editor/components/editor-image-tool/editor-image-tool.options.d.ts +26 -0
  16. package/editor/components/editor-image-tool/index.d.ts +2 -0
  17. package/editor/components/editor-tool/editor-tool.component.d.ts +22 -0
  18. package/editor/components/editor-tool-modal/editor-tool-modal.component.d.ts +24 -0
  19. package/editor/components/editor-tool-modal/editor-tool-modal.options.d.ts +8 -0
  20. package/editor/components/editor-tool-modal/index.d.ts +2 -0
  21. package/editor/components/editor-tooltip/editor-tooltip.component.d.ts +16 -0
  22. package/editor/components/editor-tooltip/editor-tooltip.options.d.ts +9 -0
  23. package/editor/components/editor-tooltip/index.d.ts +2 -0
  24. package/editor/components/editor-video-tool/editor-video-tool.component.d.ts +12 -0
  25. package/editor/components/editor-video-tool/editor-video-tool.options.d.ts +26 -0
  26. package/editor/components/editor-video-tool/index.d.ts +2 -0
  27. package/editor/components/index.d.ts +7 -0
  28. package/editor/components/marker-modal/index.d.ts +3 -0
  29. package/editor/components/marker-modal/marker-modal.component.d.ts +62 -0
  30. package/editor/components/marker-modal/marker-modal.interfaces.d.ts +7 -0
  31. package/editor/components/marker-modal/marker-modal.options.d.ts +1 -0
  32. package/editor/components/marker-select/component/select-item/select-option.component.d.ts +7 -0
  33. package/editor/components/marker-select/index.d.ts +2 -0
  34. package/editor/components/marker-select/marker-select.component.d.ts +40 -0
  35. package/editor/components/marker-select/marker-select.options.d.ts +1 -0
  36. package/editor/config/custom-elements.d.ts +2 -0
  37. package/editor/config/editor.config.d.ts +3 -0
  38. package/editor/config/editor.provider.d.ts +2 -0
  39. package/editor/config/index.d.ts +2 -0
  40. package/editor/constants/editor.constants.d.ts +15 -0
  41. package/editor/constants/index.d.ts +1 -0
  42. package/editor/editor.component.d.ts +71 -0
  43. package/editor/events/editor-drag.event.d.ts +2 -0
  44. package/editor/events/editor-keyboard.event.d.ts +2 -0
  45. package/editor/events/editor-modal.event.d.ts +3 -0
  46. package/editor/events/editor-tooltip.event.d.ts +2 -0
  47. package/editor/events/set-editor-events.d.ts +1 -0
  48. package/editor/index.d.ts +9 -0
  49. package/editor/interfaces/angular-element.d.ts +2 -0
  50. package/editor/interfaces/blocks-request-data.d.ts +6 -0
  51. package/editor/interfaces/combined-block-adding-event.d.ts +7 -0
  52. package/editor/interfaces/combined-block-data.d.ts +5 -0
  53. package/editor/interfaces/combined-part-block-data.d.ts +7 -0
  54. package/editor/interfaces/custom-element.d.ts +5 -0
  55. package/editor/interfaces/event-action-data.d.ts +5 -0
  56. package/editor/interfaces/file-response-data.d.ts +10 -0
  57. package/editor/interfaces/full-block-data.d.ts +8 -0
  58. package/editor/interfaces/index.d.ts +14 -0
  59. package/editor/interfaces/main-editor-config.d.ts +15 -0
  60. package/editor/interfaces/mutation-actions.d.ts +5 -0
  61. package/editor/interfaces/parent.d.ts +4 -0
  62. package/editor/interfaces/tools.d.ts +4 -0
  63. package/editor/interfaces/tune.d.ts +6 -0
  64. package/editor/pipes/file-size.pipe.d.ts +9 -0
  65. package/editor/services/editor-service.options.d.ts +8 -0
  66. package/editor/services/editor.service.d.ts +23 -0
  67. package/editor/services/index.d.ts +6 -0
  68. package/editor/services/jtext-api.options.d.ts +20 -0
  69. package/editor/services/jtext-api.service.d.ts +23 -0
  70. package/editor/services/markers-service.options.d.ts +4 -0
  71. package/editor/services/markers.service.d.ts +11 -0
  72. package/editor/tools/attaches.tool.d.ts +28 -0
  73. package/editor/tools/bold.tool.d.ts +11 -0
  74. package/editor/tools/combined-text-block.tool.d.ts +49 -0
  75. package/editor/tools/custom-marker.tool.d.ts +16 -0
  76. package/editor/tools/header.tool.d.ts +8 -0
  77. package/editor/tools/image.tool.d.ts +37 -0
  78. package/editor/tools/index.d.ts +11 -0
  79. package/editor/tools/italic.tool.d.ts +12 -0
  80. package/editor/tools/link-marker.tool.d.ts +15 -0
  81. package/editor/tools/list.tool.d.ts +5 -0
  82. package/editor/tools/marker.tool.d.ts +36 -0
  83. package/editor/tools/role-marker.tool.d.ts +7 -0
  84. package/editor/tools/selection-base.tool.d.ts +24 -0
  85. package/editor/tools/tool-marker.tool.d.ts +7 -0
  86. package/editor/tools/video.tool.d.ts +32 -0
  87. package/editor/utils/create-link-modal.d.ts +3 -0
  88. package/editor/utils/create-tool-modal.d.ts +4 -0
  89. package/editor/utils/create-tooltip.d.ts +8 -0
  90. package/editor/utils/file-uploader.d.ts +26 -0
  91. package/editor/utils/generate-id.d.ts +1 -0
  92. package/editor/utils/index.d.ts +9 -0
  93. package/editor/utils/recalculate-indexes.d.ts +2 -0
  94. package/editor/utils/remove-element-tag-wrapper.d.ts +1 -0
  95. package/editor/utils/split-html.d.ts +1 -0
  96. package/editor/utils/url.validator.d.ts +2 -0
  97. package/editor/widgets/editor-block/editor-block.component.d.ts +22 -0
  98. package/editor/widgets/editor-block/index.d.ts +1 -0
  99. package/editor/widgets/editor-modal/editor-modal.component.d.ts +19 -0
  100. package/editor/widgets/editor-modal/index.d.ts +1 -0
  101. package/editor/widgets/editor-readonly/editor-readonly.component.d.ts +28 -0
  102. package/editor/widgets/editor-readonly/editor-readonly.options.d.ts +5 -0
  103. package/editor/widgets/editor-readonly/index.d.ts +2 -0
  104. package/editor/widgets/index.d.ts +3 -0
  105. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +2 -2
  106. package/esm2022/components/content-wrapper/content-wrapper.component.mjs +29 -0
  107. package/esm2022/components/content-wrapper/index.mjs +2 -0
  108. package/esm2022/components/empty-state/empty-state.component.mjs +17 -0
  109. package/esm2022/components/empty-state/index.mjs +2 -0
  110. package/esm2022/components/ghost-input/ghost-input.component.mjs +16 -0
  111. package/esm2022/components/ghost-input/index.mjs +2 -0
  112. package/esm2022/components/index.mjs +4 -1
  113. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +5 -3
  114. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +6 -3
  115. package/esm2022/directives/tooltip/tooltip.component.mjs +6 -3
  116. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.component.mjs +76 -0
  117. package/esm2022/editor/components/editor-attaches-tool/editor-attaches-tool.options.mjs +2 -0
  118. package/esm2022/editor/components/editor-attaches-tool/index.mjs +3 -0
  119. package/esm2022/editor/components/editor-image-tool/editor-image-tool.component.mjs +43 -0
  120. package/esm2022/editor/components/editor-image-tool/editor-image-tool.options.mjs +2 -0
  121. package/esm2022/editor/components/editor-image-tool/index.mjs +3 -0
  122. package/esm2022/editor/components/editor-tool/editor-tool.component.mjs +74 -0
  123. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.component.mjs +69 -0
  124. package/esm2022/editor/components/editor-tool-modal/editor-tool-modal.options.mjs +2 -0
  125. package/esm2022/editor/components/editor-tool-modal/index.mjs +3 -0
  126. package/esm2022/editor/components/editor-tooltip/editor-tooltip.component.mjs +45 -0
  127. package/esm2022/editor/components/editor-tooltip/editor-tooltip.options.mjs +2 -0
  128. package/esm2022/editor/components/editor-tooltip/index.mjs +3 -0
  129. package/esm2022/editor/components/editor-video-tool/editor-video-tool.component.mjs +41 -0
  130. package/esm2022/editor/components/editor-video-tool/editor-video-tool.options.mjs +2 -0
  131. package/esm2022/editor/components/editor-video-tool/index.mjs +3 -0
  132. package/esm2022/editor/components/index.mjs +8 -0
  133. package/esm2022/editor/components/marker-modal/index.mjs +3 -0
  134. package/esm2022/editor/components/marker-modal/marker-modal.component.mjs +261 -0
  135. package/esm2022/editor/components/marker-modal/marker-modal.interfaces.mjs +2 -0
  136. package/esm2022/editor/components/marker-modal/marker-modal.options.mjs +2 -0
  137. package/esm2022/editor/components/marker-select/component/select-item/select-option.component.mjs +15 -0
  138. package/esm2022/editor/components/marker-select/index.mjs +3 -0
  139. package/esm2022/editor/components/marker-select/marker-select.component.mjs +155 -0
  140. package/esm2022/editor/components/marker-select/marker-select.options.mjs +2 -0
  141. package/esm2022/editor/config/custom-elements.mjs +32 -0
  142. package/esm2022/editor/config/editor.config.mjs +30 -0
  143. package/esm2022/editor/config/editor.provider.mjs +19 -0
  144. package/esm2022/editor/config/index.mjs +3 -0
  145. package/esm2022/editor/constants/editor.constants.mjs +20 -0
  146. package/esm2022/editor/constants/index.mjs +2 -0
  147. package/esm2022/editor/editor.component.mjs +380 -0
  148. package/esm2022/editor/events/editor-drag.event.mjs +7 -0
  149. package/esm2022/editor/events/editor-keyboard.event.mjs +33 -0
  150. package/esm2022/editor/events/editor-modal.event.mjs +31 -0
  151. package/esm2022/editor/events/editor-tooltip.event.mjs +63 -0
  152. package/esm2022/editor/events/set-editor-events.mjs +11 -0
  153. package/esm2022/editor/i18n/en.json +14 -0
  154. package/esm2022/editor/index.mjs +8 -0
  155. package/esm2022/editor/interfaces/angular-element.mjs +2 -0
  156. package/esm2022/editor/interfaces/blocks-request-data.mjs +2 -0
  157. package/esm2022/editor/interfaces/combined-block-adding-event.mjs +2 -0
  158. package/esm2022/editor/interfaces/combined-block-data.mjs +2 -0
  159. package/esm2022/editor/interfaces/combined-part-block-data.mjs +2 -0
  160. package/esm2022/editor/interfaces/custom-element.mjs +2 -0
  161. package/esm2022/editor/interfaces/event-action-data.mjs +2 -0
  162. package/esm2022/editor/interfaces/file-response-data.mjs +2 -0
  163. package/esm2022/editor/interfaces/full-block-data.mjs +2 -0
  164. package/esm2022/editor/interfaces/index.mjs +14 -0
  165. package/esm2022/editor/interfaces/main-editor-config.mjs +2 -0
  166. package/esm2022/editor/interfaces/mutation-actions.mjs +2 -0
  167. package/esm2022/editor/interfaces/parent.mjs +2 -0
  168. package/esm2022/editor/interfaces/tools.mjs +2 -0
  169. package/esm2022/editor/interfaces/tune.mjs +2 -0
  170. package/esm2022/editor/pipes/file-size.pipe.mjs +25 -0
  171. package/esm2022/editor/services/editor-service.options.mjs +4 -0
  172. package/esm2022/editor/services/editor.service.mjs +138 -0
  173. package/esm2022/editor/services/index.mjs +7 -0
  174. package/esm2022/editor/services/jtext-api.options.mjs +2 -0
  175. package/esm2022/editor/services/jtext-api.service.mjs +50 -0
  176. package/esm2022/editor/services/markers-service.options.mjs +2 -0
  177. package/esm2022/editor/services/markers.service.mjs +79 -0
  178. package/esm2022/editor/tools/attaches.tool.mjs +96 -0
  179. package/esm2022/editor/tools/bold.tool.mjs +33 -0
  180. package/esm2022/editor/tools/combined-text-block.tool.mjs +380 -0
  181. package/esm2022/editor/tools/custom-marker.tool.mjs +88 -0
  182. package/esm2022/editor/tools/header.tool.mjs +16 -0
  183. package/esm2022/editor/tools/image.tool.mjs +157 -0
  184. package/esm2022/editor/tools/index.mjs +12 -0
  185. package/esm2022/editor/tools/italic.tool.mjs +35 -0
  186. package/esm2022/editor/tools/link-marker.tool.mjs +80 -0
  187. package/esm2022/editor/tools/list.tool.mjs +10 -0
  188. package/esm2022/editor/tools/marker.tool.mjs +144 -0
  189. package/esm2022/editor/tools/role-marker.tool.mjs +17 -0
  190. package/esm2022/editor/tools/selection-base.tool.mjs +92 -0
  191. package/esm2022/editor/tools/tool-marker.tool.mjs +14 -0
  192. package/esm2022/editor/tools/video.tool.mjs +132 -0
  193. package/esm2022/editor/utils/create-link-modal.mjs +22 -0
  194. package/esm2022/editor/utils/create-tool-modal.mjs +45 -0
  195. package/esm2022/editor/utils/create-tooltip.mjs +44 -0
  196. package/esm2022/editor/utils/file-uploader.mjs +57 -0
  197. package/esm2022/editor/utils/generate-id.mjs +4 -0
  198. package/esm2022/editor/utils/index.mjs +10 -0
  199. package/esm2022/editor/utils/recalculate-indexes.mjs +32 -0
  200. package/esm2022/editor/utils/remove-element-tag-wrapper.mjs +11 -0
  201. package/esm2022/editor/utils/split-html.mjs +128 -0
  202. package/esm2022/editor/utils/url.validator.mjs +12 -0
  203. package/esm2022/editor/widgets/editor-block/editor-block.component.mjs +63 -0
  204. package/esm2022/editor/widgets/editor-block/index.mjs +2 -0
  205. package/esm2022/editor/widgets/editor-modal/editor-modal.component.mjs +47 -0
  206. package/esm2022/editor/widgets/editor-modal/index.mjs +2 -0
  207. package/esm2022/editor/widgets/editor-readonly/editor-readonly.component.mjs +40 -0
  208. package/esm2022/editor/widgets/editor-readonly/editor-readonly.options.mjs +2 -0
  209. package/esm2022/editor/widgets/editor-readonly/index.mjs +2 -0
  210. package/esm2022/editor/widgets/index.mjs +4 -0
  211. package/esm2022/index.mjs +3 -1
  212. package/esm2022/interceptors/loader.interceptor.mjs +3 -3
  213. package/esm2022/services/loader.options.mjs +2 -2
  214. package/esm2022/services/loader.service.mjs +11 -11
  215. package/esm2022/utils/default-validators/create-default-validators.mjs +12 -0
  216. package/esm2022/utils/default-validators/extra-spaces.options.mjs +11 -0
  217. package/esm2022/utils/default-validators/extra-spaces.validators.mjs +16 -0
  218. package/esm2022/utils/default-validators/index.mjs +2 -0
  219. package/esm2022/utils/index.mjs +2 -1
  220. package/esm2022/widgets/categories/categories.component.mjs +75 -0
  221. package/esm2022/widgets/categories/components/categories-list/categories-list.component.mjs +16 -0
  222. package/esm2022/widgets/categories/components/categories-list/index.mjs +2 -0
  223. package/esm2022/widgets/categories/components/category-form/category-form.component.mjs +79 -0
  224. package/esm2022/widgets/categories/components/category-form/index.mjs +2 -0
  225. package/esm2022/widgets/categories/components/category-item/category-item.component.mjs +123 -0
  226. package/esm2022/widgets/categories/components/category-item/index.mjs +2 -0
  227. package/esm2022/widgets/categories/components/create-category-item/create-category-item.component.mjs +25 -0
  228. package/esm2022/widgets/categories/components/create-category-item/index.mjs +2 -0
  229. package/esm2022/widgets/categories/components/index.mjs +3 -0
  230. package/esm2022/widgets/categories/index.mjs +3 -0
  231. package/esm2022/widgets/categories/services/index.mjs +2 -0
  232. package/esm2022/widgets/categories/services/selected-category.service.mjs +38 -0
  233. package/esm2022/widgets/general-control-error-hint/general-control-error-hint.component.mjs +21 -0
  234. package/esm2022/widgets/general-control-error-hint/index.mjs +2 -0
  235. package/esm2022/widgets/index.mjs +3 -0
  236. package/esm2022/widgets/utility-info/index.mjs +2 -0
  237. package/esm2022/widgets/utility-info/utility-info.component.mjs +246 -0
  238. package/esm2022/widgets/utility-info/utility-info.options.mjs +2 -0
  239. package/fesm2022/cuby-ui-core-en-D3DnyYmu.mjs +29 -0
  240. package/fesm2022/cuby-ui-core-en-D3DnyYmu.mjs.map +1 -0
  241. package/fesm2022/cuby-ui-core.mjs +4069 -67
  242. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  243. package/index.d.ts +2 -0
  244. package/package.json +11 -4
  245. package/services/loader.options.d.ts +2 -2
  246. package/services/loader.service.d.ts +7 -7
  247. package/utils/default-validators/create-default-validators.d.ts +5 -0
  248. package/utils/default-validators/extra-spaces.options.d.ts +2 -0
  249. package/utils/default-validators/extra-spaces.validators.d.ts +3 -0
  250. package/utils/default-validators/index.d.ts +1 -0
  251. package/utils/index.d.ts +1 -0
  252. package/widgets/categories/categories.component.d.ts +24 -0
  253. package/widgets/categories/components/categories-list/categories-list.component.d.ts +7 -0
  254. package/widgets/categories/components/categories-list/index.d.ts +1 -0
  255. package/widgets/categories/components/category-form/category-form.component.d.ts +28 -0
  256. package/widgets/categories/components/category-form/index.d.ts +1 -0
  257. package/widgets/categories/components/category-item/category-item.component.d.ts +40 -0
  258. package/widgets/categories/components/category-item/index.d.ts +1 -0
  259. package/widgets/categories/components/create-category-item/create-category-item.component.d.ts +10 -0
  260. package/widgets/categories/components/create-category-item/index.d.ts +1 -0
  261. package/widgets/categories/components/index.d.ts +2 -0
  262. package/widgets/categories/index.d.ts +2 -0
  263. package/widgets/categories/services/index.d.ts +1 -0
  264. package/widgets/categories/services/selected-category.service.d.ts +18 -0
  265. package/widgets/general-control-error-hint/general-control-error-hint.component.d.ts +9 -0
  266. package/widgets/general-control-error-hint/index.d.ts +1 -0
  267. package/widgets/index.d.ts +2 -0
  268. package/widgets/utility-info/index.d.ts +1 -0
  269. package/widgets/utility-info/utility-info.component.d.ts +53 -0
  270. package/widgets/utility-info/utility-info.options.d.ts +9 -0
@@ -10,7 +10,7 @@ export declare class CuiButtonComponent implements CuiButtonOptions, OnInit {
10
10
  protected readonly AppearanceIconColors: Record<CuiButtonOptions['appearance'], string>;
11
11
  protected readonly COLOR_BASE_500 = "var(--cui-base-500)";
12
12
  protected readonly BUTTON_ICONS_COLOR_BASE_500: CuiButtonOptions['appearance'][];
13
- protected _appearance: "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "flat" | "destructive" | "link";
13
+ protected _appearance: "link" | "flat" | "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
14
14
  protected iconColor: string;
15
15
  protected _size: "xxs" | "xs" | "sm" | "md";
16
16
  protected iconDimensions: {
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiContentWrapperComponent {
3
+ private readonly DEFAULT_BACKGROUND_COLOR;
4
+ private readonly DEFAULT_GAP;
5
+ readonly backgroundColor: import("@angular/core").InputSignal<string>;
6
+ readonly gap: import("@angular/core").InputSignal<number>;
7
+ protected get _backgroundColor(): string;
8
+ protected get _gap(): number;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiContentWrapperComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiContentWrapperComponent, "cui-content-wrapper, [cuiContentWrapper]", never, { "backgroundColor": { "alias": "backgroundColor"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
+ }
@@ -0,0 +1 @@
1
+ export * from './content-wrapper.component';
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiEmptyStateComponent {
3
+ readonly title: import("@angular/core").InputSignal<string | undefined>;
4
+ readonly subtitle: import("@angular/core").InputSignal<string | undefined>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiEmptyStateComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiEmptyStateComponent, "cui-empty-state, [cuiEmptyState]", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "subtitle": { "alias": "subtitle"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1 @@
1
+ export * from './empty-state.component';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiGhostInputComponent {
3
+ isError: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiGhostInputComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiGhostInputComponent, "input [cuiGhostInput]", never, { "isError": { "alias": "isError"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
6
+ }
@@ -0,0 +1 @@
1
+ export { CuiGhostInputComponent } from './ghost-input.component';
@@ -13,6 +13,8 @@ export * from './form-field';
13
13
  export * from './hint';
14
14
  export * from './icon-button';
15
15
  export * from './input-number';
16
+ export * from './content-wrapper';
17
+ export * from './ghost-input';
16
18
  export * from './input-password';
17
19
  export * from './input-text';
18
20
  export * from './input-time';
@@ -22,6 +24,7 @@ export * from './notification';
22
24
  export * from './radio';
23
25
  export * from './root';
24
26
  export * from './select';
27
+ export * from './empty-state';
25
28
  export * from './sidebar';
26
29
  export * from './card-wrapper';
27
30
  export * from './layout';
@@ -4,7 +4,7 @@ export declare class CuiSidebarHeaderComponent {
4
4
  private readonly document;
5
5
  private readonly sidebarService;
6
6
  protected readonly isOpened: import("@angular/core").Signal<boolean>;
7
- protected readonly buttonIcon: import("@angular/core").Signal<"cuiIconLoading" | "cuiIconCheck" | "cuiIconCheckSm" | "cuiIconCheckCircle" | "cuiIconCheckCircleSm" | "cuiIconCheckCircleV2" | "cuiIconMoreVertical" | "cuiIconMoreVerticalSm" | "cuiIconTrash" | "cuiIconTrashSm" | "cuiIconEdit" | "cuiIconEditSm" | "cuiIconArrowSortSm" | "cuiIconX" | "cuiIconXSm" | "cuiIconXCircle" | "cuiIconXCircleSm" | "cuiIconClear" | "cuiIconClearSm" | "cuiIconEye" | "cuiIconEyeSm" | "cuiIconEyeOff" | "cuiIconEyeOffSm" | "cuiIconChevronUp" | "cuiIconChevronUpSm" | "cuiIconChevronRight" | "cuiIconChevronRightSm" | "cuiIconChevronDown" | "cuiIconChevronDownSm" | "cuiIconChevronLeft" | "cuiIconChevronLeftSm" | "cuiIconChevronsRight" | "cuiIconChevronsRightSm" | "cuiIconChevronsLeft" | "cuiIconChevronsLeftSm" | "cuiIconChevronsSwitch" | "cuiIconDatabase" | "cuiIconDatabaseSm" | "cuiIconHome" | "cuiIconHomeSm" | "cuiIconUser" | "cuiIconUserSm" | "cuiIconUsers" | "cuiIconUsersBg" | "cuiIconUsersSm" | "cuiIconUserPlus" | "cuiIconUserPlusSm" | "cuiIconFormula" | "cuiIconSettings" | "cuiIconSettingsSm" | "cuiIconSettingsBold" | "cuiIconCopy" | "cuiIconCopySm" | "cuiIconSidebar" | "cuiIconSidebarSm" | "cuiIconChart" | "cuiIconFolder" | "cuiIconFolderSm" | "cuiIconFolderOpen" | "cuiIconFolderOpenSm" | "cuiIconPlus" | "cuiIconPlusSm" | "cuiIconPlusCircle" | "cuiIconFiltersLines" | "cuiIconFiltersLinesSm" | "cuiIconSearch" | "cuiIconSearchSm" | "cuiIconGrid" | "cuiIconGridSm" | "cuiIconList" | "cuiIconListSm" | "cuiIconProgress" | "cuiIconSortAZSm" | "cuiIconFlagBold" | "cuiIconFileText" | "cuiIconFileTextSm" | "cuiIconLink" | "cuiIconExternalLinkSm" | "cuiIconLinkBroken" | "cuiIconLinkBrokenSm" | "cuiIconClock" | "cuiIconClockSm" | "cuiIconInfo" | "cuiIconInfoSm" | "cuiIconInfoCircle" | "cuiIconInfoCircleBg" | "cuiIconAlertTriangle" | "cuiIconAlertTriangleSm" | "cuiIconAlertCircle" | "cuiIcon2Layers" | "cuiIcon2LayersSm" | "cuiIcon3Layers" | "cuiIcon3LayersSm" | "cuiIconLearningSm" | "cuiIconBellSm" | "cuiIconMessageCircle" | "cuiIconMessageCircleSm" | "cuiIconSlashDivider" | "cuiIconCaretDownFillXxs" | "cuiIconCaretDownFill" | "cuiIconDragHandleDots" | "cuiIconPlayCircle" | "cuiIconPlayCircleSm" | "cuiIconClipBoard" | "cuiIconUpload" | "cuiIconUploadSm" | "cuiIconMaximize" | "cuiIconMaximizeSm" | "cuiIconArrowUpRight" | "cuiIconArrowUpRightSm" | "cuiIconAddBranchSm" | "cuiIconBranch" | "cuiIconBranchSm" | "cuiIconPaperclip" | "cuiIconPaperclipSm" | "cuiIconToolsSm" | "cuiIconPartsSm" | "cuiIconEquipmentSm" | "cuiIconPrimitive" | "cuiIconPrimitiveSm" | "cuiIconSpool" | "cuiIconSpoolSm" | "cuiIconTank" | "cuiIconTankSm" | "cuiIconAssembly" | "cuiIconAssemblySm" | "cuiIconVariant" | "cuiIconVariantSm" | "cuiIconRichText" | "cuiIconRichTextSm" | "cuiIconChecklist" | "cuiIconRefreshCcwSm" | "cuiIconRefreshCcw" | "cuiIconBarChartSm" | "cuiIconBarChart" | "cuiIconCurvedArrow" | "cuiIconBulletFillSm" | "cuiIconBulletSm">;
7
+ protected readonly buttonIcon: import("@angular/core").Signal<"cuiIconLoading" | "cuiIconCheck" | "cuiIconCheckSm" | "cuiIconCheckCircle" | "cuiIconCheckCircleSm" | "cuiIconCheckCircleV2" | "cuiIconMoreVertical" | "cuiIconMoreVerticalSm" | "cuiIconTrash" | "cuiIconTrashSm" | "cuiIconEdit" | "cuiIconEditSm" | "cuiIconArrowSortSm" | "cuiIconX" | "cuiIconXSm" | "cuiIconXCircle" | "cuiIconXCircleSm" | "cuiIconClear" | "cuiIconClearSm" | "cuiIconEye" | "cuiIconEyeSm" | "cuiIconEyeOff" | "cuiIconEyeOffSm" | "cuiIconChevronUp" | "cuiIconChevronUpSm" | "cuiIconChevronRight" | "cuiIconChevronRightSm" | "cuiIconChevronDown" | "cuiIconChevronDownSm" | "cuiIconChevronLeft" | "cuiIconChevronLeftSm" | "cuiIconChevronsRight" | "cuiIconChevronsRightSm" | "cuiIconChevronsLeft" | "cuiIconChevronsLeftSm" | "cuiIconChevronsSwitch" | "cuiIconDatabase" | "cuiIconDatabaseSm" | "cuiIconHome" | "cuiIconHomeSm" | "cuiIconUser" | "cuiIconUserSm" | "cuiIconUsers" | "cuiIconUsersBg" | "cuiIconUsersSm" | "cuiIconUserPlus" | "cuiIconUserPlusSm" | "cuiIconFormula" | "cuiIconSettings" | "cuiIconSettingsSm" | "cuiIconSettingsBold" | "cuiIconCopy" | "cuiIconCopySm" | "cuiIconSidebar" | "cuiIconSidebarSm" | "cuiIconChart" | "cuiIconFolder" | "cuiIconFolderSm" | "cuiIconFolderOpen" | "cuiIconFolderOpenSm" | "cuiIconPlus" | "cuiIconPlusSm" | "cuiIconPlusCircle" | "cuiIconFiltersLines" | "cuiIconFiltersLinesSm" | "cuiIconSearch" | "cuiIconSearchSm" | "cuiIconGrid" | "cuiIconGridSm" | "cuiIconList" | "cuiIconListSm" | "cuiIconProgress" | "cuiIconSortAZSm" | "cuiIconFlagBold" | "cuiIconFileText" | "cuiIconFileTextSm" | "cuiIconLink" | "cuiIconExternalLinkSm" | "cuiIconLinkBroken" | "cuiIconLinkBrokenSm" | "cuiIconClock" | "cuiIconClockSm" | "cuiIconInfo" | "cuiIconInfoSm" | "cuiIconInfoCircle" | "cuiIconInfoCircleBg" | "cuiIconAlertTriangle" | "cuiIconAlertTriangleSm" | "cuiIconAlertCircle" | "cuiIcon2Layers" | "cuiIcon2LayersSm" | "cuiIcon3Layers" | "cuiIcon3LayersSm" | "cuiIconLearningSm" | "cuiIconBellSm" | "cuiIconMessageCircle" | "cuiIconMessageCircleSm" | "cuiIconSlashDivider" | "cuiIconCaretDownFillXxs" | "cuiIconCaretDownFill" | "cuiIconDragHandleDots" | "cuiIconPlayCircle" | "cuiIconPlayCircleSm" | "cuiIconClipBoard" | "cuiIconUpload" | "cuiIconUploadSm" | "cuiIconMaximize" | "cuiIconMaximizeSm" | "cuiIconArrowUpRight" | "cuiIconArrowUpRightSm" | "cuiIconAddBranchSm" | "cuiIconBranch" | "cuiIconBranchSm" | "cuiIconPaperclip" | "cuiIconPaperclipSm" | "cuiIconToolsSm" | "cuiIconPartsSm" | "cuiIconEquipmentSm" | "cuiIconPrimitive" | "cuiIconPrimitiveSm" | "cuiIconSpool" | "cuiIconSpoolSm" | "cuiIconTank" | "cuiIconTankSm" | "cuiIconAssembly" | "cuiIconAssemblySm" | "cuiIconVariant" | "cuiIconVariantSm" | "cuiIconRichText" | "cuiIconRichTextSm" | "cuiIconChecklist" | "cuiIconRefreshCcwSm" | "cuiIconRefreshCcw" | "cuiIconBarChartSm" | "cuiIconBarChart" | "cuiIconCurvedArrow" | "cuiIconBulletFillSm" | "cuiIconBulletSm" | "cuiIconArrowRight" | "cuiIconArrowRightSm" | "cuiIconImage" | "cuiIconCutLinearSm" | "cuiIconCutLinear" | "cuiIconForkLift" | "cuiIconPartPrimitive" | "cuiIconPartPrimitiveSm" | "cuiIconChecklistsSm" | "cuiIconViewInAr" | "cuiIconViewInArSm" | "cuiIconFloorplanSolid" | "cuiIconFloorplanSolidSm">;
8
8
  readonly headerSlot: import("@angular/core").InputSignal<TemplateRef<unknown>>;
9
9
  protected onSwitch(event: MouseEvent): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiSidebarHeaderComponent, never>;
@@ -1,7 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CuiSidebarNavigationItemComponent {
3
3
  readonly text: import("@angular/core").InputSignal<string>;
4
- readonly icon: import("@angular/core").InputSignal<"cuiIconLoading" | "cuiIconCheck" | "cuiIconCheckSm" | "cuiIconCheckCircle" | "cuiIconCheckCircleSm" | "cuiIconCheckCircleV2" | "cuiIconMoreVertical" | "cuiIconMoreVerticalSm" | "cuiIconTrash" | "cuiIconTrashSm" | "cuiIconEdit" | "cuiIconEditSm" | "cuiIconArrowSortSm" | "cuiIconX" | "cuiIconXSm" | "cuiIconXCircle" | "cuiIconXCircleSm" | "cuiIconClear" | "cuiIconClearSm" | "cuiIconEye" | "cuiIconEyeSm" | "cuiIconEyeOff" | "cuiIconEyeOffSm" | "cuiIconChevronUp" | "cuiIconChevronUpSm" | "cuiIconChevronRight" | "cuiIconChevronRightSm" | "cuiIconChevronDown" | "cuiIconChevronDownSm" | "cuiIconChevronLeft" | "cuiIconChevronLeftSm" | "cuiIconChevronsRight" | "cuiIconChevronsRightSm" | "cuiIconChevronsLeft" | "cuiIconChevronsLeftSm" | "cuiIconChevronsSwitch" | "cuiIconDatabase" | "cuiIconDatabaseSm" | "cuiIconHome" | "cuiIconHomeSm" | "cuiIconUser" | "cuiIconUserSm" | "cuiIconUsers" | "cuiIconUsersBg" | "cuiIconUsersSm" | "cuiIconUserPlus" | "cuiIconUserPlusSm" | "cuiIconFormula" | "cuiIconSettings" | "cuiIconSettingsSm" | "cuiIconSettingsBold" | "cuiIconCopy" | "cuiIconCopySm" | "cuiIconSidebar" | "cuiIconSidebarSm" | "cuiIconChart" | "cuiIconFolder" | "cuiIconFolderSm" | "cuiIconFolderOpen" | "cuiIconFolderOpenSm" | "cuiIconPlus" | "cuiIconPlusSm" | "cuiIconPlusCircle" | "cuiIconFiltersLines" | "cuiIconFiltersLinesSm" | "cuiIconSearch" | "cuiIconSearchSm" | "cuiIconGrid" | "cuiIconGridSm" | "cuiIconList" | "cuiIconListSm" | "cuiIconProgress" | "cuiIconSortAZSm" | "cuiIconFlagBold" | "cuiIconFileText" | "cuiIconFileTextSm" | "cuiIconLink" | "cuiIconExternalLinkSm" | "cuiIconLinkBroken" | "cuiIconLinkBrokenSm" | "cuiIconClock" | "cuiIconClockSm" | "cuiIconInfo" | "cuiIconInfoSm" | "cuiIconInfoCircle" | "cuiIconInfoCircleBg" | "cuiIconAlertTriangle" | "cuiIconAlertTriangleSm" | "cuiIconAlertCircle" | "cuiIcon2Layers" | "cuiIcon2LayersSm" | "cuiIcon3Layers" | "cuiIcon3LayersSm" | "cuiIconLearningSm" | "cuiIconBellSm" | "cuiIconMessageCircle" | "cuiIconMessageCircleSm" | "cuiIconSlashDivider" | "cuiIconCaretDownFillXxs" | "cuiIconCaretDownFill" | "cuiIconDragHandleDots" | "cuiIconPlayCircle" | "cuiIconPlayCircleSm" | "cuiIconClipBoard" | "cuiIconUpload" | "cuiIconUploadSm" | "cuiIconMaximize" | "cuiIconMaximizeSm" | "cuiIconArrowUpRight" | "cuiIconArrowUpRightSm" | "cuiIconAddBranchSm" | "cuiIconBranch" | "cuiIconBranchSm" | "cuiIconPaperclip" | "cuiIconPaperclipSm" | "cuiIconToolsSm" | "cuiIconPartsSm" | "cuiIconEquipmentSm" | "cuiIconPrimitive" | "cuiIconPrimitiveSm" | "cuiIconSpool" | "cuiIconSpoolSm" | "cuiIconTank" | "cuiIconTankSm" | "cuiIconAssembly" | "cuiIconAssemblySm" | "cuiIconVariant" | "cuiIconVariantSm" | "cuiIconRichText" | "cuiIconRichTextSm" | "cuiIconChecklist" | "cuiIconRefreshCcwSm" | "cuiIconRefreshCcw" | "cuiIconBarChartSm" | "cuiIconBarChart" | "cuiIconCurvedArrow" | "cuiIconBulletFillSm" | "cuiIconBulletSm" | undefined>;
4
+ readonly icon: import("@angular/core").InputSignal<"cuiIconLoading" | "cuiIconCheck" | "cuiIconCheckSm" | "cuiIconCheckCircle" | "cuiIconCheckCircleSm" | "cuiIconCheckCircleV2" | "cuiIconMoreVertical" | "cuiIconMoreVerticalSm" | "cuiIconTrash" | "cuiIconTrashSm" | "cuiIconEdit" | "cuiIconEditSm" | "cuiIconArrowSortSm" | "cuiIconX" | "cuiIconXSm" | "cuiIconXCircle" | "cuiIconXCircleSm" | "cuiIconClear" | "cuiIconClearSm" | "cuiIconEye" | "cuiIconEyeSm" | "cuiIconEyeOff" | "cuiIconEyeOffSm" | "cuiIconChevronUp" | "cuiIconChevronUpSm" | "cuiIconChevronRight" | "cuiIconChevronRightSm" | "cuiIconChevronDown" | "cuiIconChevronDownSm" | "cuiIconChevronLeft" | "cuiIconChevronLeftSm" | "cuiIconChevronsRight" | "cuiIconChevronsRightSm" | "cuiIconChevronsLeft" | "cuiIconChevronsLeftSm" | "cuiIconChevronsSwitch" | "cuiIconDatabase" | "cuiIconDatabaseSm" | "cuiIconHome" | "cuiIconHomeSm" | "cuiIconUser" | "cuiIconUserSm" | "cuiIconUsers" | "cuiIconUsersBg" | "cuiIconUsersSm" | "cuiIconUserPlus" | "cuiIconUserPlusSm" | "cuiIconFormula" | "cuiIconSettings" | "cuiIconSettingsSm" | "cuiIconSettingsBold" | "cuiIconCopy" | "cuiIconCopySm" | "cuiIconSidebar" | "cuiIconSidebarSm" | "cuiIconChart" | "cuiIconFolder" | "cuiIconFolderSm" | "cuiIconFolderOpen" | "cuiIconFolderOpenSm" | "cuiIconPlus" | "cuiIconPlusSm" | "cuiIconPlusCircle" | "cuiIconFiltersLines" | "cuiIconFiltersLinesSm" | "cuiIconSearch" | "cuiIconSearchSm" | "cuiIconGrid" | "cuiIconGridSm" | "cuiIconList" | "cuiIconListSm" | "cuiIconProgress" | "cuiIconSortAZSm" | "cuiIconFlagBold" | "cuiIconFileText" | "cuiIconFileTextSm" | "cuiIconLink" | "cuiIconExternalLinkSm" | "cuiIconLinkBroken" | "cuiIconLinkBrokenSm" | "cuiIconClock" | "cuiIconClockSm" | "cuiIconInfo" | "cuiIconInfoSm" | "cuiIconInfoCircle" | "cuiIconInfoCircleBg" | "cuiIconAlertTriangle" | "cuiIconAlertTriangleSm" | "cuiIconAlertCircle" | "cuiIcon2Layers" | "cuiIcon2LayersSm" | "cuiIcon3Layers" | "cuiIcon3LayersSm" | "cuiIconLearningSm" | "cuiIconBellSm" | "cuiIconMessageCircle" | "cuiIconMessageCircleSm" | "cuiIconSlashDivider" | "cuiIconCaretDownFillXxs" | "cuiIconCaretDownFill" | "cuiIconDragHandleDots" | "cuiIconPlayCircle" | "cuiIconPlayCircleSm" | "cuiIconClipBoard" | "cuiIconUpload" | "cuiIconUploadSm" | "cuiIconMaximize" | "cuiIconMaximizeSm" | "cuiIconArrowUpRight" | "cuiIconArrowUpRightSm" | "cuiIconAddBranchSm" | "cuiIconBranch" | "cuiIconBranchSm" | "cuiIconPaperclip" | "cuiIconPaperclipSm" | "cuiIconToolsSm" | "cuiIconPartsSm" | "cuiIconEquipmentSm" | "cuiIconPrimitive" | "cuiIconPrimitiveSm" | "cuiIconSpool" | "cuiIconSpoolSm" | "cuiIconTank" | "cuiIconTankSm" | "cuiIconAssembly" | "cuiIconAssemblySm" | "cuiIconVariant" | "cuiIconVariantSm" | "cuiIconRichText" | "cuiIconRichTextSm" | "cuiIconChecklist" | "cuiIconRefreshCcwSm" | "cuiIconRefreshCcw" | "cuiIconBarChartSm" | "cuiIconBarChart" | "cuiIconCurvedArrow" | "cuiIconBulletFillSm" | "cuiIconBulletSm" | "cuiIconArrowRight" | "cuiIconArrowRightSm" | "cuiIconImage" | "cuiIconCutLinearSm" | "cuiIconCutLinear" | "cuiIconForkLift" | "cuiIconPartPrimitive" | "cuiIconPartPrimitiveSm" | "cuiIconChecklistsSm" | "cuiIconViewInAr" | "cuiIconViewInArSm" | "cuiIconFloorplanSolid" | "cuiIconFloorplanSolidSm" | undefined>;
5
5
  readonly active: import("@angular/core").InputSignal<boolean | undefined>;
6
6
  readonly isOpen: import("@angular/core").InputSignal<boolean | undefined>;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiSidebarNavigationItemComponent, never>;
@@ -0,0 +1,44 @@
1
+ import type { CuiFileData } from '../../interfaces/file-response-data';
2
+ import { EditorToolComponent } from '../editor-tool/editor-tool.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EditorAttachesToolComponent extends EditorToolComponent {
5
+ protected readonly Extensions: {
6
+ doc: string;
7
+ docx: string;
8
+ odt: string;
9
+ pdf: string;
10
+ rtf: string;
11
+ tex: string;
12
+ txt: string;
13
+ pptx: string;
14
+ ppt: string;
15
+ mp3: string;
16
+ mp4: string;
17
+ xls: string;
18
+ html: string;
19
+ htm: string;
20
+ png: string;
21
+ jpg: string;
22
+ jpeg: string;
23
+ gif: string;
24
+ zip: string;
25
+ rar: string;
26
+ exe: string;
27
+ svg: string;
28
+ key: string;
29
+ sketch: string;
30
+ ai: string;
31
+ psd: string;
32
+ dmg: string;
33
+ json: string;
34
+ csv: string;
35
+ };
36
+ file?: CuiFileData;
37
+ title: string;
38
+ protected get color(): string;
39
+ protected get isShowLoadButton(): boolean;
40
+ protected onPreventEnter(event: KeyboardEvent): void;
41
+ private checkKey;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorAttachesToolComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorAttachesToolComponent, "ng-component", never, { "file": { "alias": "file"; "required": true; }; "title": { "alias": "title"; "required": true; }; }, {}, never, never, true, never>;
44
+ }
@@ -0,0 +1,17 @@
1
+ import type { API } from '@editorjs/editorjs';
2
+ import type { CuiFileData } from '../../interfaces/file-response-data';
3
+ import { CuiFileUploaderConfig } from '../../utils/file-uploader';
4
+ export declare const EDITOR_ATTACHES_TOOL_SELECTOR = "cc-editor-attaches-tool";
5
+ export interface CuiAttachesToolConfig extends CuiFileUploaderConfig {
6
+ readonly buttonContent: string;
7
+ }
8
+ export interface CuiAttachesToolOptions {
9
+ readonly api: API;
10
+ readonly config: CuiAttachesToolConfig;
11
+ readonly onSelectFile: () => void;
12
+ readonly readOnly: boolean;
13
+ }
14
+ export interface CuiAttachesToolData {
15
+ title: string;
16
+ file: CuiFileData;
17
+ }
@@ -0,0 +1,2 @@
1
+ export { EditorAttachesToolComponent } from './editor-attaches-tool.component';
2
+ export * from './editor-attaches-tool.options';
@@ -0,0 +1,14 @@
1
+ import { EditorToolComponent } from '../editor-tool/editor-tool.component';
2
+ import type { CuiImageTunes } from './editor-image-tool.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EditorImageToolComponent extends EditorToolComponent {
5
+ protected readonly isLoaded: import("@angular/core").WritableSignal<boolean>;
6
+ protected readonly tunesSignal: import("@angular/core").WritableSignal<CuiImageTunes>;
7
+ image: string;
8
+ set tunes(tunes: CuiImageTunes);
9
+ protected get isShowLoadButton(): boolean;
10
+ protected onPreventEnter(event: KeyboardEvent): void;
11
+ private checkKey;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorImageToolComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorImageToolComponent, "ng-component", never, { "image": { "alias": "image"; "required": true; }; "tunes": { "alias": "tunes"; "required": false; }; }, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,26 @@
1
+ import type { API } from '@editorjs/editorjs';
2
+ import type { CuiFileData } from '../../interfaces/file-response-data';
3
+ import { CuiFileUploaderConfig } from '../../utils/file-uploader';
4
+ export declare const EDITOR_IMAGE_TOOL_SELECTOR = "cc-editor-image-tool";
5
+ export type CuiImageKeysObject<V = string> = {
6
+ [key: string]: V;
7
+ };
8
+ export interface CuiImageToolConfig extends CuiFileUploaderConfig {
9
+ readonly buttonContent: string;
10
+ }
11
+ export interface CuiImageToolOptions {
12
+ readonly api: API;
13
+ readonly config: CuiImageToolConfig;
14
+ readonly onSelectFile: () => void;
15
+ readonly readOnly: boolean;
16
+ }
17
+ export interface CuiImageToolData {
18
+ caption: string;
19
+ file: CuiFileData;
20
+ tunes: CuiImageTunes;
21
+ }
22
+ export interface CuiImageTunes {
23
+ stretched?: boolean;
24
+ left?: boolean;
25
+ right?: boolean;
26
+ }
@@ -0,0 +1,2 @@
1
+ export { EditorImageToolComponent } from './editor-image-tool.component';
2
+ export * from './editor-image-tool.options';
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { API } from '@editorjs/editorjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EditorToolComponent {
5
+ private readonly window;
6
+ private readonly document;
7
+ api: API;
8
+ preview: string;
9
+ caption: string;
10
+ buttonContent: string;
11
+ readOnly: boolean;
12
+ isLoading: boolean;
13
+ fileSelected: EventEmitter<void>;
14
+ captionChanged: EventEmitter<string>;
15
+ private previousValue;
16
+ protected get isCaptionShown(): boolean;
17
+ protected onSelectFile(): void;
18
+ protected onTitleChange(event: KeyboardEvent): void;
19
+ protected onTitlePaste(event: Event): Promise<void>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorToolComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorToolComponent, "ng-component", never, { "api": { "alias": "api"; "required": true; }; "preview": { "alias": "preview"; "required": true; }; "caption": { "alias": "caption"; "required": true; }; "buttonContent": { "alias": "buttonContent"; "required": true; }; "readOnly": { "alias": "readOnly"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "fileSelected": "fileSelected"; "captionChanged": "captionChanged"; }, never, never, false, never>;
22
+ }
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { Tool } from './editor-tool-modal.options';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@cuby-ui/cdk";
5
+ export declare class EditorToolModalComponent {
6
+ private readonly element;
7
+ private readonly window;
8
+ private readonly cuiClickOutsideDirective;
9
+ private readonly SPACE_BETWEEN_TARGET_AND_LIST;
10
+ isFullscreen: import("@angular/core").WritableSignal<boolean>;
11
+ isHidden: import("@angular/core").WritableSignal<boolean>;
12
+ tool: Tool;
13
+ set marker(value: HTMLElement);
14
+ closed: EventEmitter<void>;
15
+ protected get _isHidden(): boolean;
16
+ protected get _isFullscreen(): boolean;
17
+ constructor();
18
+ protected onCloseModal(): void;
19
+ protected onMaximizeModal(): void;
20
+ private initClickOutsideSubscription;
21
+ private calculateModalPosition;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorToolModalComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorToolModalComponent, "ng-component", never, { "tool": { "alias": "tool"; "required": true; }; "marker": { "alias": "marker"; "required": false; }; }, { "closed": "closed"; }, never, never, true, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
24
+ }
@@ -0,0 +1,8 @@
1
+ import type { MarkerType } from '../../services/markers-service.options';
2
+ export interface Tool {
3
+ id: string;
4
+ image?: string;
5
+ title?: string;
6
+ type?: MarkerType;
7
+ }
8
+ export declare const EDITOR_TOOL_MODAL_SELECTOR = "cc-editor-tool-modal";
@@ -0,0 +1,2 @@
1
+ export { EditorToolModalComponent } from './editor-tool-modal.component';
2
+ export { Tool, EDITOR_TOOL_MODAL_SELECTOR } from './editor-tool-modal.options';
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { EditorTooltipButton, EditorTooltipOption, EditorTooltipOptions } from './editor-tooltip.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class EditorTooltipComponent {
5
+ protected readonly BUTTONS_OPTIONS: Map<EditorTooltipOption, EditorTooltipButton>;
6
+ protected _options: EditorTooltipOptions;
7
+ protected buttons: EditorTooltipButton[];
8
+ title: string;
9
+ set options(value: EditorTooltipOptions);
10
+ readonly copyClicked: EventEmitter<MouseEvent>;
11
+ readonly editClicked: EventEmitter<MouseEvent>;
12
+ readonly deleteClicked: EventEmitter<MouseEvent>;
13
+ private getButtonsFromOptions;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorTooltipComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorTooltipComponent, "ng-component", never, { "title": { "alias": "title"; "required": true; }; "options": { "alias": "options"; "required": false; }; }, { "copyClicked": "copyClicked"; "editClicked": "editClicked"; "deleteClicked": "deleteClicked"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1,9 @@
1
+ import type { CuiIcon } from '@cuby-ui/icons';
2
+ export type EditorTooltipOption = 'copy' | 'edit' | 'delete';
3
+ export type EditorTooltipOptions = EditorTooltipOption[];
4
+ export interface EditorTooltipButton {
5
+ readonly icon: CuiIcon;
6
+ readonly handler: (event: MouseEvent) => void;
7
+ readonly class?: string;
8
+ }
9
+ export declare const EDITOR_TOOLTIP_SELECTOR = "cc-editor-tooltip";
@@ -0,0 +1,2 @@
1
+ export { EditorTooltipComponent } from './editor-tooltip.component';
2
+ export * from './editor-tooltip.options';
@@ -0,0 +1,12 @@
1
+ import { EditorToolComponent } from '../editor-tool/editor-tool.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EditorVideoToolComponent extends EditorToolComponent {
4
+ protected isLoaded: import("@angular/core").WritableSignal<boolean>;
5
+ video: string;
6
+ protected get isShowLoadButton(): boolean;
7
+ protected onPlay(): void;
8
+ protected onPreventEnter(event: KeyboardEvent): void;
9
+ private checkKey;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<EditorVideoToolComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<EditorVideoToolComponent, "ng-component", never, { "video": { "alias": "video"; "required": true; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,26 @@
1
+ import type { API } from '@editorjs/editorjs';
2
+ import type { CuiFileData } from '../../interfaces/file-response-data';
3
+ import { CuiFileUploaderConfig } from '../../utils/file-uploader';
4
+ export declare const EDITOR_VIDEO_TOOL_SELECTOR = "cc-editor-video-tool";
5
+ export type VideoKeysObject<V = string> = {
6
+ [key: string]: V;
7
+ };
8
+ export interface CuiVideoToolConfig extends CuiFileUploaderConfig {
9
+ readonly buttonContent: string;
10
+ }
11
+ export interface CuiVideoToolPlayer {
12
+ readonly pip: boolean;
13
+ readonly controls: boolean;
14
+ readonly light: boolean;
15
+ readonly playing: boolean;
16
+ }
17
+ export interface CuiVideoToolOptions {
18
+ readonly api: API;
19
+ readonly config: CuiVideoToolConfig;
20
+ readonly onSelectFile: () => void;
21
+ readonly readOnly: boolean;
22
+ }
23
+ export interface CuiVideoToolData {
24
+ caption: string;
25
+ file: CuiFileData;
26
+ }
@@ -0,0 +1,2 @@
1
+ export { EditorVideoToolComponent } from './editor-video-tool.component';
2
+ export * from './editor-video-tool.options';
@@ -0,0 +1,7 @@
1
+ export { EditorToolModalComponent, EDITOR_TOOL_MODAL_SELECTOR, Tool } from './editor-tool-modal';
2
+ export { EditorTooltipComponent, EDITOR_TOOLTIP_SELECTOR, EditorTooltipOptions } from './editor-tooltip';
3
+ export { MarkerModalComponent, MARKER_MODAL_SELECTOR, MarkerData } from './marker-modal';
4
+ export { MarkerSelectComponent, MARKER_SELECT_SELECTOR } from './marker-select';
5
+ export { EditorAttachesToolComponent, EDITOR_ATTACHES_TOOL_SELECTOR, CuiAttachesToolConfig } from './editor-attaches-tool';
6
+ export { EditorImageToolComponent, EDITOR_IMAGE_TOOL_SELECTOR, CuiImageToolConfig } from './editor-image-tool';
7
+ export { EditorVideoToolComponent, EDITOR_VIDEO_TOOL_SELECTOR, CuiVideoToolConfig } from './editor-video-tool';
@@ -0,0 +1,3 @@
1
+ export { MarkerModalComponent } from './marker-modal.component';
2
+ export { MarkerData } from './marker-modal.interfaces';
3
+ export { MARKER_MODAL_SELECTOR } from './marker-modal.options';
@@ -0,0 +1,62 @@
1
+ import type { OnDestroy, OnInit } from '@angular/core';
2
+ import { EventEmitter } from '@angular/core';
3
+ import type { Tool } from '../editor-tool-modal';
4
+ import type { MarkerData, MarkerDataControl } from './marker-modal.interfaces';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@cuby-ui/cdk";
7
+ export declare class MarkerModalComponent implements OnInit, OnDestroy {
8
+ private readonly element;
9
+ private readonly document;
10
+ private readonly destroyRef;
11
+ private readonly cuiClickOutsideDirective;
12
+ private readonly cuiIdService;
13
+ private readonly markersService;
14
+ protected readonly TITLE_MAX_LENGTH = 100;
15
+ protected readonly formTitle: import("@angular/core").WritableSignal<string>;
16
+ protected readonly isTitleEmpty: import("@angular/core").Signal<boolean>;
17
+ protected readonly isTitleMoreThanMaxLength: import("@angular/core").Signal<boolean>;
18
+ protected readonly isTitleInvalid: import("@angular/core").Signal<boolean>;
19
+ protected readonly titleId: string;
20
+ protected readonly dataId: string;
21
+ protected dynamicDataControl: MarkerDataControl;
22
+ protected spaceBetweenTargetAndList: number;
23
+ protected startTitle: string;
24
+ set title(value: string);
25
+ set url(value: string);
26
+ set tool(value: Tool);
27
+ isGlobal: boolean;
28
+ isTool: boolean;
29
+ target: HTMLButtonElement;
30
+ set space(value: number);
31
+ saveClicked: EventEmitter<MarkerData>;
32
+ cancelClicked: EventEmitter<any>;
33
+ protected isVisible: import("@angular/core").WritableSignal<boolean>;
34
+ protected isHidden: import("@angular/core").WritableSignal<boolean>;
35
+ protected editor: HTMLElement;
36
+ protected currentTool?: Tool;
37
+ protected readonly targetToggleEventListener: () => void;
38
+ protected get isFormInvalid(): boolean;
39
+ protected get isDynamicDataErrorShown(): boolean;
40
+ protected get hide(): boolean;
41
+ protected get fixed(): boolean;
42
+ ngOnInit(): void;
43
+ ngOnDestroy(): void;
44
+ protected onTitleLabelClick(element: HTMLDivElement): void;
45
+ protected onSave(): void;
46
+ protected onScroll(): void;
47
+ protected onCancel(): void;
48
+ protected onClearTitle(titleElement: HTMLElement): void;
49
+ protected onTitleChange(event: KeyboardEvent): void;
50
+ protected onTitlePaste(event: Event): Promise<void>;
51
+ private initTargetElementListener;
52
+ private initClickOutsideSubscription;
53
+ private initOnCloseWhenEditorScroll;
54
+ private destroyEventListeners;
55
+ private calculateDropdownPosition;
56
+ private changePositionX;
57
+ private changePositionY;
58
+ private changeGlobalPositionX;
59
+ private changeGlobalPositionY;
60
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerModalComponent, never>;
61
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerModalComponent, "ng-component", never, { "title": { "alias": "title"; "required": false; }; "url": { "alias": "url"; "required": false; }; "tool": { "alias": "tool"; "required": false; }; "isGlobal": { "alias": "isGlobal"; "required": false; }; "isTool": { "alias": "isTool"; "required": false; }; "target": { "alias": "target"; "required": false; }; "space": { "alias": "space"; "required": false; }; }, { "saveClicked": "saveClicked"; "cancelClicked": "cancelClicked"; }, never, never, true, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
62
+ }
@@ -0,0 +1,7 @@
1
+ import type { FormControl } from '@angular/forms';
2
+ import type { Tool } from '../editor-tool-modal/editor-tool-modal.options';
3
+ export interface MarkerData {
4
+ readonly title: string;
5
+ readonly data?: string | Tool;
6
+ }
7
+ export type MarkerDataControl = FormControl<string> | FormControl<Tool | undefined>;
@@ -0,0 +1 @@
1
+ export declare const MARKER_MODAL_SELECTOR = "cc-marker-modal";
@@ -0,0 +1,7 @@
1
+ import type { Tool } from '../../../editor-tool-modal';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SelectOptionComponent {
4
+ tool: Tool;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectOptionComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectOptionComponent, "cc-select-option", never, { "tool": { "alias": "tool"; "required": true; }; }, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { MarkerSelectComponent } from './marker-select.component';
2
+ export { MARKER_SELECT_SELECTOR } from './marker-select.options';
@@ -0,0 +1,40 @@
1
+ import type { OnDestroy, OnInit } from '@angular/core';
2
+ import type { CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
3
+ import type { Tool } from '../editor-tool-modal/editor-tool-modal.options';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@cuby-ui/cdk";
6
+ export declare class MarkerSelectComponent implements OnInit, OnDestroy {
7
+ private readonly document;
8
+ private readonly destroyRef;
9
+ private readonly cuiClickOutsideDirective;
10
+ private readonly element;
11
+ private readonly markersService;
12
+ private SPACE_BETWEEN_TARGET_AND_LIST;
13
+ target: HTMLButtonElement;
14
+ set space(value: number);
15
+ protected isVisible: import("@angular/core").WritableSignal<boolean>;
16
+ protected isHidden: import("@angular/core").WritableSignal<boolean>;
17
+ protected editor: HTMLElement;
18
+ protected value: CuiNullable<Tool>;
19
+ protected elements: Tool[];
20
+ protected onChange: CuiOnChange<unknown>;
21
+ protected onTouched: CuiOnTouched;
22
+ protected readonly targetToggleEventListener: () => void;
23
+ protected get hide(): boolean;
24
+ writeValue(value: Tool): void;
25
+ registerOnChange(fn: CuiOnChange<unknown>): void;
26
+ registerOnTouched(fn: CuiOnTouched): void;
27
+ protected onScroll(): void;
28
+ ngOnInit(): void;
29
+ ngOnDestroy(): void;
30
+ protected onToolClick(tool: Tool): void;
31
+ private initTargetElementListener;
32
+ private initClickOutsideSubscription;
33
+ private initOnCloseWhenEditorScroll;
34
+ private destroyEventListeners;
35
+ private calculateDropdownPosition;
36
+ private changePositionX;
37
+ private changePositionY;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkerSelectComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<MarkerSelectComponent, "cc-marker-select", never, { "target": { "alias": "target"; "required": false; }; "space": { "alias": "space"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
40
+ }
@@ -0,0 +1 @@
1
+ export declare const MARKER_SELECT_SELECTOR = "marker-select";
@@ -0,0 +1,2 @@
1
+ import { CuiCustomElement } from "../interfaces";
2
+ export declare const EDITOR_CUSTOM_ELEMENTS: readonly CuiCustomElement[];
@@ -0,0 +1,3 @@
1
+ import type { EditorConfig } from '@editorjs/editorjs';
2
+ import type { CuiEditorConfig } from '../interfaces';
3
+ export declare const getEditorConfig: (id: string, config?: CuiEditorConfig) => EditorConfig;
@@ -0,0 +1,2 @@
1
+ import { Provider } from '@angular/core';
2
+ export declare function cuiProvideEditor(): Provider;
@@ -0,0 +1,2 @@
1
+ export { getEditorConfig } from './editor.config';
2
+ export { cuiProvideEditor } from './editor.provider';
@@ -0,0 +1,15 @@
1
+ import { Translation } from '@jsverse/transloco';
2
+ import type { CuiEditorConfig } from '../interfaces';
3
+ export declare const COMBINED_TEXT_BLOCK_PART = "combined-text-block-part";
4
+ export declare const COMBINED_TEXT_BLOCK = "combined-text-block";
5
+ export declare const COMBINED_TEXT_BLOCK_NAME = "paragraph";
6
+ export declare const COMBINED_TEXT_BLOCK_ADDED = "combinedTextBlockAdded";
7
+ export declare const COMBINED_TEXT_BLOCK_UPDATED = "combinedTextBlockUpdated";
8
+ export declare const COMBINED_TEXT_BLOCK_REMOVED = "combinedTextBlockRemoved";
9
+ export declare const SPLIT_MAX_LENGTH = 1000;
10
+ export declare const SPLIT_LENGTH = 500;
11
+ export declare const EDITOR_SELECTOR = "[data-editor]";
12
+ export declare const DEFAULT_PLACEHOLDER = "Type text or '/' for commands...";
13
+ export declare const DEFAULT_READONLY_PLACEHOLDER = "No 'Description' was provided";
14
+ export declare const DEFAULT_CONFIG: CuiEditorConfig;
15
+ export declare const CuiEditorTranslations: Record<string, Promise<Translation>>;
@@ -0,0 +1 @@
1
+ export * from './editor.constants';