@talrace/ngx-noder 0.0.7 → 0.0.9

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 (657) hide show
  1. package/README.md +75 -66
  2. package/esm2022/lib/apart-components/add-link-dialog/add-link-dialog.component.mjs +67 -0
  3. package/esm2022/lib/apart-components/add-link-dialog/validation.helper.mjs +7 -0
  4. package/esm2022/lib/apart-components/add-link-mobile/add-link-mobile.component.mjs +47 -0
  5. package/esm2022/lib/apart-components/confirm-dialog/confirm-dialog.component.mjs +32 -0
  6. package/esm2022/lib/apart-components/editor-search/editor-search-dialog.component.mjs +64 -0
  7. package/esm2022/lib/apart-components/editor-title/editor-title.component.mjs +89 -0
  8. package/esm2022/lib/apart-components/editor-title-mobile/editor-title-mobile.component.mjs +22 -0
  9. package/esm2022/lib/apart-components/editor-toolbar/components/base-toolbar.component.mjs +117 -0
  10. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/color-picker/color-picker.component.mjs +37 -0
  11. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/font/font.component.mjs +49 -0
  12. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/font-size/font-size.component.mjs +90 -0
  13. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/font-style/font-style.component.mjs +81 -0
  14. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/format/format.component.mjs +28 -0
  15. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/heading/heading.component.mjs +22 -0
  16. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/numbering/numbering.component.mjs +53 -0
  17. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/print/print.component.mjs +18 -0
  18. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/undo-redo/undo-redo.component.mjs +27 -0
  19. package/esm2022/lib/apart-components/editor-toolbar/components/buttons/zoom/zoom.component.mjs +71 -0
  20. package/esm2022/lib/apart-components/editor-toolbar/components/menu-dropdowns/menu-dropdowns.component.mjs +94 -0
  21. package/esm2022/lib/apart-components/editor-toolbar/components/menu-dropdowns-mobile/menu-dropdowns-mobile.component.mjs +24 -0
  22. package/esm2022/lib/apart-components/editor-toolbar/components/toolbar-actions/toolbar-actions.component.mjs +65 -0
  23. package/esm2022/lib/apart-components/editor-toolbar/editor-mobile-toolbar/editor-mobile-toolbar.component.mjs +84 -0
  24. package/esm2022/lib/apart-components/editor-toolbar/editor-toolbar/editor-toolbar.component.mjs +90 -0
  25. package/esm2022/lib/apart-components/editor-toolbar/editor-toolbar.module.mjs +117 -0
  26. package/esm2022/lib/apart-components/editor-toolbar/shared/constants/editor-toolbar-modes.const.mjs +8 -0
  27. package/esm2022/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/constants/numbering-templates.const.mjs +6 -6
  28. package/esm2022/lib/apart-components/editor-toolbar/shared/constants/svg-icons.const.mjs +157 -0
  29. package/esm2022/lib/apart-components/editor-toolbar/shared/enums/alignment.enum.mjs +8 -0
  30. package/esm2022/lib/apart-components/editor-toolbar/shared/enums/editor-toolbar-mode.enum.mjs +11 -0
  31. package/esm2022/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/numbering-template-type.enum.mjs +1 -1
  32. package/esm2022/lib/apart-components/editor-toolbar/shared/enums/numbering-type.enum.mjs +6 -0
  33. package/esm2022/lib/apart-components/editor-toolbar/shared/services/custom-icon.service.mjs +34 -0
  34. package/esm2022/lib/apart-components/editor-toolbar/shared/services/editor-toolbar.service.mjs +26 -0
  35. package/esm2022/lib/apart-components/editor-toolbar/shared/services/toolbar-core.service.mjs +60 -0
  36. package/esm2022/lib/apart-components/editor-toolbar/shared/toolbar-styles.helper.mjs +48 -0
  37. package/esm2022/lib/apart-components/insert-table/insert-table.component.mjs +54 -0
  38. package/esm2022/lib/apart-components/insert-table-mobile/insert-table-mobile.component.mjs +84 -0
  39. package/esm2022/lib/apart-components/text-format-mobile/text-format-mobile.component.mjs +123 -0
  40. package/esm2022/lib/editor/components/edges/edge-element.model.mjs +9 -0
  41. package/esm2022/lib/editor/components/edges/edge-type.enum.mjs +6 -0
  42. package/esm2022/lib/editor/components/edges/edge.component.mjs +99 -0
  43. package/esm2022/lib/editor/components/edges/edges.mjs +127 -0
  44. package/esm2022/lib/editor/components/edges/page-type.enum.mjs +7 -0
  45. package/esm2022/lib/editor/components/editor.component.mjs +112 -0
  46. package/esm2022/lib/editor/components/external-element/external-element.service.mjs +6 -0
  47. package/esm2022/lib/editor/components/external-element/external-elements.const.mjs +4 -0
  48. package/esm2022/lib/editor/components/external-element/external-sidenav.interface.mjs +2 -0
  49. package/esm2022/lib/editor/components/external-element/external.component.mjs +41 -0
  50. package/esm2022/lib/editor/components/external-element/models/element-data.model.mjs +9 -0
  51. package/esm2022/lib/editor/components/external-element/models/external-element.model.mjs +11 -0
  52. package/esm2022/lib/editor/components/external-element/models/external-sidenav.model.mjs +15 -0
  53. package/esm2022/lib/editor/components/image/components/image.component.mjs +88 -0
  54. package/esm2022/lib/editor/components/image/image-api.service.mjs +36 -0
  55. package/esm2022/lib/editor/components/image/input-handler/image-input.handler.mjs +55 -0
  56. package/esm2022/lib/editor/components/image/resizer/coordinate.mjs +2 -0
  57. package/esm2022/lib/editor/components/image/resizer/direction-wrapper.mjs +19 -0
  58. package/esm2022/lib/editor/components/image/resizer/direction.enum.mjs +12 -0
  59. package/esm2022/lib/editor/components/image/resizer/resizer.component.mjs +106 -0
  60. package/esm2022/lib/editor/components/image/resizer/size-delta.mjs +2 -0
  61. package/esm2022/lib/editor/components/image/resizer/size-wrapper.mjs +52 -0
  62. package/esm2022/lib/editor/components/image/size.mjs +2 -0
  63. package/esm2022/lib/editor/components/shared/abstract/base.component.mjs +59 -0
  64. package/esm2022/lib/editor/components/shared/abstract/destroy.component.mjs +18 -0
  65. package/esm2022/lib/editor/components/shared/custom-component.hepler.mjs +43 -0
  66. package/esm2022/lib/editor/components/shared/custom-components.interface.mjs +2 -0
  67. package/esm2022/lib/editor/components/shared/custom-content-markers.const.mjs +3 -0
  68. package/esm2022/lib/editor/components/shared/custom-content.mjs +2 -0
  69. package/esm2022/lib/editor/components/shared/services/component.service.mjs +64 -0
  70. package/esm2022/lib/editor/components/shared/services/custom-content.service.mjs +129 -0
  71. package/esm2022/lib/editor/components/shared/services/overlay.service.mjs +55 -0
  72. package/esm2022/lib/editor/components/tab/tab.component.mjs +44 -0
  73. package/esm2022/lib/editor/components/tab/tab.helper.mjs +6 -0
  74. package/esm2022/lib/editor/components/table/cell-resizer/cell-resizer.mjs +118 -0
  75. package/esm2022/lib/editor/components/table/components/table-cell.component.mjs +97 -0
  76. package/esm2022/lib/editor/components/table/components/table.component.mjs +410 -0
  77. package/esm2022/lib/{+shared/editor/core → editor/components/table}/enums/hrule.enum.mjs +1 -1
  78. package/esm2022/lib/editor/components/table/enums/reisizer-side.enum.mjs +8 -0
  79. package/esm2022/lib/editor/components/table/enums/vertical-merge.enum.mjs +6 -0
  80. package/esm2022/lib/editor/components/table/models/cell-data.model.mjs +17 -0
  81. package/esm2022/lib/editor/components/table/models/cell-resizer-parameters.model.mjs +9 -0
  82. package/esm2022/lib/editor/components/table/models/row-data.model.mjs +8 -0
  83. package/esm2022/lib/editor/components/table/models/selection-range.model.mjs +7 -0
  84. package/esm2022/lib/editor/components/table/overlay-menu/overlay-menu.component.mjs +74 -0
  85. package/esm2022/lib/editor/components/table/selection/table-selection.mjs +376 -0
  86. package/esm2022/lib/editor/content/constants/display-values.const.mjs +8 -0
  87. package/esm2022/lib/editor/content/constants/document-info.const.mjs +13 -0
  88. package/esm2022/lib/editor/content/constants/editor.const.mjs +70 -0
  89. package/esm2022/lib/editor/content/contents.interface.mjs +2 -0
  90. package/esm2022/lib/editor/content/display-data/display-data.mjs +839 -0
  91. package/esm2022/lib/editor/content/display-data/display-token.model.mjs +12 -0
  92. package/esm2022/lib/editor/content/display-data/format-ext.model.mjs +10 -0
  93. package/esm2022/lib/editor/content/display-data/general-properties.model.mjs +11 -0
  94. package/esm2022/lib/editor/content/display-data/indent.model.mjs +9 -0
  95. package/esm2022/lib/editor/content/display-data/line-info.model.mjs +9 -0
  96. package/esm2022/lib/editor/content/display-data/lines.mjs +96 -0
  97. package/esm2022/lib/editor/content/display-data/models/paragraph-info.model.mjs +8 -0
  98. package/esm2022/lib/editor/content/display-data/paragraph-info.interface.mjs +2 -0
  99. package/esm2022/lib/editor/content/display-data/paragraph.mjs +56 -0
  100. package/esm2022/lib/editor/content/display-data/text-line-info.mjs +35 -0
  101. package/esm2022/lib/editor/content/display-data/toolbar-styles.interface.mjs +2 -0
  102. package/esm2022/lib/editor/content/helpers/content-style.helper.mjs +78 -0
  103. package/esm2022/lib/editor/content/helpers/display-token.helper.mjs +62 -0
  104. package/esm2022/lib/{+shared/editor → editor/content}/helpers/format.helper.mjs +1 -1
  105. package/esm2022/lib/{+shared/editor → editor/content}/helpers/indexed-element.helper.mjs +1 -1
  106. package/esm2022/lib/editor/content/helpers/scaling.helper.mjs +9 -0
  107. package/esm2022/lib/editor/content/margin.model.mjs +16 -0
  108. package/esm2022/lib/editor/content/page-vertical-data.model.mjs +9 -0
  109. package/esm2022/lib/{+shared/editor/core/enums → editor/content}/vertical-alignment.enum.mjs +1 -1
  110. package/esm2022/lib/editor/core/event-emitting.mjs +56 -0
  111. package/esm2022/lib/editor/display/cell.interface.mjs +2 -0
  112. package/esm2022/lib/editor/display/event.helper.mjs +18 -0
  113. package/esm2022/lib/editor/display/layers/cursor.layer.mjs +102 -0
  114. package/esm2022/lib/editor/display/layers/layer.config.mjs +2 -0
  115. package/esm2022/lib/editor/display/layers/pages.layer.mjs +97 -0
  116. package/esm2022/lib/editor/display/layers/print.pages.layer.mjs +7 -0
  117. package/esm2022/lib/editor/display/layers/print.text.layer.mjs +7 -0
  118. package/esm2022/lib/editor/display/layers/selection.layer.mjs +119 -0
  119. package/esm2022/lib/editor/display/layers/text.layer.mjs +201 -0
  120. package/esm2022/lib/editor/display/print/print.helper.mjs +40 -0
  121. package/esm2022/lib/editor/display/print/print.renderer.mjs +67 -0
  122. package/esm2022/lib/editor/display/print/print.rendering.helper.mjs +7 -0
  123. package/esm2022/lib/editor/display/render-changes.interface.mjs +2 -0
  124. package/esm2022/lib/editor/display/render-changes.model.mjs +25 -0
  125. package/esm2022/lib/editor/display/renderer.mjs +206 -0
  126. package/esm2022/lib/editor/display/rendering.helper.mjs +185 -0
  127. package/esm2022/lib/editor/display/renderloop.mjs +26 -0
  128. package/esm2022/lib/editor/display/virtual.renderer.mjs +317 -0
  129. package/esm2022/lib/editor/display/visible-range.interface.mjs +2 -0
  130. package/esm2022/lib/editor/editor.module.mjs +67 -0
  131. package/esm2022/lib/editor/execution/distance.model.mjs +10 -0
  132. package/esm2022/lib/editor/execution/edit.session.mjs +561 -0
  133. package/esm2022/lib/editor/execution/editor.mjs +1387 -0
  134. package/esm2022/lib/editor/execution/helpers/dom.helper.mjs +42 -0
  135. package/esm2022/lib/editor/execution/helpers/format-style.helper.mjs +32 -0
  136. package/esm2022/lib/editor/execution/helpers/image.helpet.mjs +12 -0
  137. package/esm2022/lib/editor/execution/helpers/page.helper.mjs +12 -0
  138. package/esm2022/lib/editor/execution/helpers/paragraph-style.helper.mjs +41 -0
  139. package/esm2022/lib/editor/execution/helpers/paragraph.helper.mjs +177 -0
  140. package/esm2022/lib/editor/execution/regulator.service.mjs +206 -0
  141. package/esm2022/lib/editor/execution/targeting/cell-session-source.model.mjs +19 -0
  142. package/esm2022/lib/editor/execution/targeting/edge-session-source.model.mjs +15 -0
  143. package/esm2022/lib/editor/execution/targeting/main-session-source.model.mjs +8 -0
  144. package/esm2022/lib/editor/execution/targeting/session-source.model.mjs +3 -0
  145. package/esm2022/lib/editor/execution/targeting/session.model.mjs +10 -0
  146. package/esm2022/lib/editor/gadgets/font-metrics/editor-version.const.mjs +2 -0
  147. package/esm2022/lib/editor/gadgets/font-metrics/font-metric-size.interface.mjs +2 -0
  148. package/esm2022/lib/editor/gadgets/font-metrics/font-metrics.helper.mjs +88 -0
  149. package/esm2022/lib/editor/gadgets/history/operation-history.mjs +206 -0
  150. package/esm2022/lib/editor/gadgets/history/operation.type.mjs +2 -0
  151. package/esm2022/lib/editor/gadgets/history/operations-history-info.model.mjs +7 -0
  152. package/esm2022/lib/editor/gadgets/numbering/numbering-data.model.mjs +9 -0
  153. package/esm2022/lib/{+shared/editor/core/enums → editor/gadgets/numbering}/numbering-marker-type.enum.mjs +1 -1
  154. package/esm2022/lib/editor/gadgets/numbering/numbering-paragraph-style.model.mjs +13 -0
  155. package/esm2022/lib/editor/gadgets/numbering/numbering.helper.mjs +149 -0
  156. package/esm2022/lib/editor/gadgets/page-break/break-types.enum.mjs +7 -0
  157. package/esm2022/lib/editor/gadgets/page-break/break.helper.mjs +18 -0
  158. package/esm2022/lib/editor/gadgets/scrollbar.mjs +81 -0
  159. package/esm2022/lib/editor/gadgets/search/replace.interface.mjs +2 -0
  160. package/esm2022/lib/editor/gadgets/search/search-iteration.interface.mjs +2 -0
  161. package/esm2022/lib/editor/gadgets/search/search.mjs +231 -0
  162. package/esm2022/lib/editor/gadgets/unicode/unicode-chars.const.mjs +5 -0
  163. package/esm2022/lib/editor/gadgets/unicode/unicode.helper.mjs +20 -0
  164. package/esm2022/lib/editor/interaction/base.handler.mjs +19 -0
  165. package/esm2022/lib/editor/interaction/document.handler.mjs +27 -0
  166. package/esm2022/lib/editor/interaction/editor.service.mjs +346 -0
  167. package/esm2022/lib/editor/interaction/input.handler.mjs +152 -0
  168. package/esm2022/lib/{+shared/enums → editor/interaction}/mode.enum.mjs +1 -1
  169. package/esm2022/lib/editor/interaction/mouse-button.enum.mjs +7 -0
  170. package/esm2022/lib/editor/interaction/mouse.handler.mjs +50 -0
  171. package/esm2022/lib/editor/interaction/text-input.mjs +53 -0
  172. package/esm2022/lib/editor/operations/commands.service.mjs +20 -0
  173. package/esm2022/lib/editor/operations/enums/command-type.enum.mjs +32 -0
  174. package/esm2022/lib/editor/operations/enums/target-type.enum.mjs +7 -0
  175. package/esm2022/lib/editor/operations/helpers/break-operations.helper.mjs +9 -0
  176. package/esm2022/lib/editor/operations/helpers/content-operations.helper.mjs +15 -0
  177. package/esm2022/lib/editor/operations/helpers/format-operations.helper.mjs +85 -0
  178. package/esm2022/lib/editor/operations/helpers/image-operations.helper.mjs +19 -0
  179. package/esm2022/lib/editor/operations/helpers/indexed-element-operations.helper.mjs +43 -0
  180. package/esm2022/lib/editor/operations/helpers/link-operations.helper.mjs +63 -0
  181. package/esm2022/lib/editor/operations/helpers/numbering-operations.helper.mjs +55 -0
  182. package/esm2022/lib/editor/operations/helpers/paragraph-operations.helper.mjs +114 -0
  183. package/esm2022/lib/editor/operations/helpers/tab-operations.helper.mjs +16 -0
  184. package/esm2022/lib/editor/operations/helpers/table-operations.helper.mjs +374 -0
  185. package/esm2022/lib/editor/operations/operations-helper.helper.mjs +431 -0
  186. package/esm2022/lib/editor/operations/save-commands.helper.mjs +127 -0
  187. package/esm2022/lib/editor/operations/target-operations.helper.mjs +23 -0
  188. package/esm2022/lib/editor/positioning/alignments.const.mjs +8 -0
  189. package/esm2022/lib/editor/positioning/content.helper.mjs +36 -0
  190. package/esm2022/lib/editor/positioning/cursor-paragraph.mjs +13 -0
  191. package/esm2022/lib/editor/positioning/cursor-position.interface.mjs +2 -0
  192. package/esm2022/lib/editor/positioning/insert-index.interface.mjs +2 -0
  193. package/esm2022/lib/editor/positioning/line-width.helper.mjs +13 -0
  194. package/esm2022/lib/editor/positioning/position.helper.mjs +196 -0
  195. package/esm2022/lib/editor/positioning/range.mjs +94 -0
  196. package/esm2022/lib/editor/positioning/selection.mjs +317 -0
  197. package/esm2022/lib/editor/revision.helper.mjs +92 -0
  198. package/esm2022/lib/models/generated/cell.model.mjs +1 -1
  199. package/esm2022/lib/models/generated/command.model.mjs +5 -1
  200. package/esm2022/lib/models/generated/insert-paragraph.model.mjs +20 -0
  201. package/esm2022/lib/models/generated/replace.model.mjs +5 -1
  202. package/esm2022/public-api.mjs +37 -31
  203. package/fesm2022/talrace-ngx-noder.mjs +8169 -7285
  204. package/fesm2022/talrace-ngx-noder.mjs.map +1 -1
  205. package/lib/apart-components/add-link-dialog/add-link-dialog.component.d.ts +26 -0
  206. package/lib/apart-components/add-link-dialog/validation.helper.d.ts +5 -0
  207. package/lib/apart-components/add-link-mobile/add-link-mobile.component.d.ts +19 -0
  208. package/lib/{+shared → apart-components}/confirm-dialog/confirm-dialog.component.d.ts +2 -1
  209. package/lib/{+shared → apart-components}/editor-search/editor-search-dialog.component.d.ts +6 -7
  210. package/lib/apart-components/editor-title/editor-title.component.d.ts +25 -0
  211. package/lib/apart-components/editor-title-mobile/editor-title-mobile.component.d.ts +6 -0
  212. package/lib/apart-components/editor-toolbar/components/base-toolbar.component.d.ts +49 -0
  213. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/color-picker/color-picker.component.d.ts +1 -1
  214. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/font/font.component.d.ts +2 -2
  215. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/font-size/font-size.component.d.ts +1 -1
  216. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/font-style/font-style.component.d.ts +1 -1
  217. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/format/format.component.d.ts +2 -2
  218. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/heading/heading.component.d.ts +1 -1
  219. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/numbering/numbering.component.d.ts +3 -3
  220. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/print/print.component.d.ts +1 -1
  221. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/undo-redo/undo-redo.component.d.ts +1 -1
  222. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/zoom/zoom.component.d.ts +1 -1
  223. package/lib/apart-components/editor-toolbar/components/menu-dropdowns/menu-dropdowns.component.d.ts +36 -0
  224. package/lib/apart-components/editor-toolbar/components/menu-dropdowns-mobile/menu-dropdowns-mobile.component.d.ts +14 -0
  225. package/lib/apart-components/editor-toolbar/components/toolbar-actions/toolbar-actions.component.d.ts +23 -0
  226. package/lib/apart-components/editor-toolbar/editor-mobile-toolbar/editor-mobile-toolbar.component.d.ts +26 -0
  227. package/lib/apart-components/editor-toolbar/editor-toolbar/editor-toolbar.component.d.ts +40 -0
  228. package/lib/apart-components/editor-toolbar/editor-toolbar.module.d.ts +32 -0
  229. package/lib/apart-components/editor-toolbar/shared/constants/editor-toolbar-modes.const.d.ts +2 -0
  230. package/lib/apart-components/editor-toolbar/shared/constants/numbering-templates.const.d.ts +6 -0
  231. package/lib/apart-components/editor-toolbar/shared/enums/editor-toolbar-mode.enum.d.ts +9 -0
  232. package/lib/apart-components/editor-toolbar/shared/services/editor-toolbar.service.d.ts +14 -0
  233. package/lib/apart-components/editor-toolbar/shared/services/toolbar-core.service.d.ts +38 -0
  234. package/lib/apart-components/editor-toolbar/shared/toolbar-styles.helper.d.ts +4 -0
  235. package/lib/{+shared → apart-components}/insert-table/insert-table.component.d.ts +1 -1
  236. package/lib/apart-components/insert-table-mobile/insert-table-mobile.component.d.ts +30 -0
  237. package/lib/apart-components/text-format-mobile/text-format-mobile.component.d.ts +35 -0
  238. package/lib/{+shared/editor/core/models → editor/components/edges}/edge-element.model.d.ts +1 -1
  239. package/lib/editor/components/edges/edge.component.d.ts +44 -0
  240. package/lib/{+shared/editor/core → editor}/components/edges/edges.d.ts +7 -7
  241. package/lib/{+shared/editor → editor/components}/editor.component.d.ts +11 -11
  242. package/lib/{+shared/editor/custom-components → editor/components}/external-element/external-sidenav.interface.d.ts +1 -1
  243. package/lib/{+shared/editor/custom-components → editor/components}/external-element/external.component.d.ts +4 -4
  244. package/lib/{+shared/editor/custom-components → editor/components}/external-element/models/external-element.model.d.ts +2 -1
  245. package/lib/{+shared/editor/custom-components → editor/components}/image/components/image.component.d.ts +4 -4
  246. package/lib/editor/components/image/image-api.service.d.ts +17 -0
  247. package/lib/{+shared/editor/custom-components → editor/components}/image/input-handler/image-input.handler.d.ts +3 -0
  248. package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/resizer.component.d.ts +2 -2
  249. package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/size-wrapper.d.ts +1 -1
  250. package/lib/{+shared/editor/custom-components → editor/components}/shared/abstract/base.component.d.ts +6 -4
  251. package/lib/editor/components/shared/abstract/destroy.component.d.ts +9 -0
  252. package/lib/{+shared/editor/custom-components/shared/helpers → editor/components/shared}/custom-component.hepler.d.ts +3 -3
  253. package/lib/editor/components/shared/custom-components.interface.d.ts +13 -0
  254. package/lib/editor/components/shared/custom-content.d.ts +5 -0
  255. package/lib/{+shared/editor/custom-components/shared/services/component → editor/components/shared/services}/component.service.d.ts +1 -1
  256. package/lib/{+shared/editor/custom-components/shared/services/custom-content → editor/components/shared/services}/custom-content.service.d.ts +14 -13
  257. package/lib/{+shared/editor/custom-components → editor/components}/tab/tab.component.d.ts +2 -2
  258. package/lib/{+shared/editor/custom-components → editor/components}/table/cell-resizer/cell-resizer.d.ts +2 -1
  259. package/lib/editor/components/table/components/table-cell.component.d.ts +45 -0
  260. package/lib/{+shared/editor/custom-components → editor/components}/table/components/table.component.d.ts +27 -11
  261. package/lib/{+shared/editor/custom-components → editor/components}/table/models/cell-data.model.d.ts +1 -1
  262. package/lib/{+shared/editor/custom-components → editor/components}/table/overlay-menu/overlay-menu.component.d.ts +2 -2
  263. package/lib/{+shared/editor/custom-components → editor/components}/table/selection/table-selection.d.ts +5 -3
  264. package/lib/{+shared/editor/core → editor/content}/constants/editor.const.d.ts +5 -3
  265. package/lib/editor/content/contents.interface.d.ts +22 -0
  266. package/lib/editor/content/display-data/display-data.d.ts +103 -0
  267. package/lib/{+shared/editor/core/models → editor/content/display-data}/display-token.model.d.ts +1 -1
  268. package/lib/{+shared/editor/core/models → editor/content/display-data}/format-ext.model.d.ts +1 -1
  269. package/lib/editor/content/display-data/general-properties.model.d.ts +13 -0
  270. package/lib/{+shared/editor/core/models → editor/content/display-data}/line-info.model.d.ts +1 -0
  271. package/lib/{+shared/editor/core/layers → editor/content/display-data}/lines.d.ts +1 -1
  272. package/lib/editor/content/display-data/models/paragraph-info.model.d.ts +9 -0
  273. package/lib/{+shared/editor/core/paging → editor/content/display-data}/paragraph.d.ts +9 -5
  274. package/lib/{+shared/editor/core/paging → editor/content/display-data}/text-line-info.d.ts +5 -2
  275. package/lib/{+shared/editor/core/interfaces → editor/content/display-data}/toolbar-styles.interface.d.ts +1 -1
  276. package/lib/editor/content/helpers/content-style.helper.d.ts +10 -0
  277. package/lib/editor/content/helpers/display-token.helper.d.ts +6 -0
  278. package/lib/{+shared/editor → editor/content}/helpers/indexed-element.helper.d.ts +1 -1
  279. package/lib/editor/content/helpers/scaling.helper.d.ts +4 -0
  280. package/lib/{+shared/editor/core/paging → editor/content}/page-vertical-data.model.d.ts +1 -1
  281. package/lib/{+shared/editor/core/base → editor/core}/event-emitting.d.ts +0 -5
  282. package/lib/{+shared/editor/core → editor/display}/layers/cursor.layer.d.ts +7 -8
  283. package/lib/{+shared/editor/core/interfaces → editor/display/layers}/layer.config.d.ts +2 -2
  284. package/lib/{+shared/editor/core → editor/display}/layers/pages.layer.d.ts +5 -6
  285. package/lib/editor/display/layers/print.text.layer.d.ts +4 -0
  286. package/lib/{+shared/editor/core → editor/display}/layers/selection.layer.d.ts +5 -6
  287. package/lib/editor/display/layers/text.layer.d.ts +33 -0
  288. package/lib/{+shared/helpers → editor/display/print}/print.helper.d.ts +3 -3
  289. package/lib/editor/display/print/print.renderer.d.ts +21 -0
  290. package/lib/{+shared/editor/core/helpers → editor/display/print}/print.rendering.helper.d.ts +2 -2
  291. package/lib/{+shared/editor/core/models → editor/display}/render-changes.model.d.ts +1 -1
  292. package/lib/{+shared/editor/core → editor/display}/renderer.d.ts +10 -13
  293. package/lib/{+shared/editor/core/helpers → editor/display}/rendering.helper.d.ts +10 -10
  294. package/lib/{+shared/editor/core/layers → editor/display}/renderloop.d.ts +2 -2
  295. package/lib/{+shared/editor/core → editor/display}/virtual.renderer.d.ts +14 -29
  296. package/lib/editor/editor.module.d.ts +31 -0
  297. package/lib/editor/execution/edit.session.d.ts +113 -0
  298. package/lib/{+shared/editor/core → editor/execution}/editor.d.ts +55 -46
  299. package/lib/{+shared/editor/core → editor/execution}/helpers/format-style.helper.d.ts +1 -5
  300. package/lib/editor/execution/helpers/image.helpet.d.ts +4 -0
  301. package/lib/{+shared/editor/core → editor/execution}/helpers/page.helper.d.ts +1 -1
  302. package/lib/{+shared/editor/core → editor/execution}/helpers/paragraph-style.helper.d.ts +1 -1
  303. package/lib/{+shared/editor/core → editor/execution}/helpers/paragraph.helper.d.ts +14 -8
  304. package/lib/{+shared/editor → editor}/execution/regulator.service.d.ts +16 -15
  305. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/cell-session-source.model.d.ts +3 -3
  306. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/edge-session-source.model.d.ts +3 -3
  307. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/main-session-source.model.d.ts +1 -1
  308. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/session-source.model.d.ts +1 -1
  309. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/session.model.d.ts +3 -3
  310. package/lib/{+shared/editor/core/helpers → editor/gadgets/font-metrics}/font-metrics.helper.d.ts +1 -1
  311. package/lib/{+shared/editor/operation-history → editor/gadgets/history}/operation-history.d.ts +9 -7
  312. package/lib/{+shared/editor/operation-history → editor/gadgets/history}/operation.type.d.ts +2 -1
  313. package/lib/{+shared/editor/core/models → editor/gadgets/numbering}/numbering-data.model.d.ts +1 -1
  314. package/lib/editor/gadgets/numbering/numbering-paragraph-style.model.d.ts +6 -0
  315. package/lib/editor/gadgets/numbering/numbering.helper.d.ts +26 -0
  316. package/lib/{+shared/editor/helpers → editor/gadgets/page-break}/break.helper.d.ts +2 -2
  317. package/lib/{+shared/editor/core/layers → editor/gadgets}/scrollbar.d.ts +9 -18
  318. package/lib/{+shared/editor/core → editor/gadgets/search}/search.d.ts +4 -4
  319. package/lib/editor/interaction/base.handler.d.ts +9 -0
  320. package/lib/editor/interaction/document.handler.d.ts +10 -0
  321. package/lib/{+shared/editor → editor}/interaction/editor.service.d.ts +36 -21
  322. package/lib/{+shared/editor → editor}/interaction/input.handler.d.ts +4 -5
  323. package/lib/{+shared/editor → editor}/interaction/mouse.handler.d.ts +1 -1
  324. package/lib/{+shared/editor → editor}/operations/enums/command-type.enum.d.ts +11 -10
  325. package/lib/{+shared/editor → editor}/operations/helpers/break-operations.helper.d.ts +2 -2
  326. package/lib/{+shared/editor → editor}/operations/helpers/format-operations.helper.d.ts +2 -2
  327. package/lib/editor/operations/helpers/image-operations.helper.d.ts +7 -0
  328. package/lib/{+shared/editor → editor}/operations/helpers/indexed-element-operations.helper.d.ts +1 -1
  329. package/lib/editor/operations/helpers/link-operations.helper.d.ts +8 -0
  330. package/lib/{+shared/editor → editor}/operations/helpers/numbering-operations.helper.d.ts +3 -3
  331. package/lib/{+shared/editor → editor}/operations/helpers/paragraph-operations.helper.d.ts +3 -2
  332. package/lib/{+shared/editor → editor}/operations/helpers/tab-operations.helper.d.ts +1 -1
  333. package/lib/{+shared/editor → editor}/operations/helpers/table-operations.helper.d.ts +6 -6
  334. package/lib/{+shared/editor/operations/helpers → editor/operations}/operations-helper.helper.d.ts +21 -19
  335. package/lib/{+shared/editor/operations/helpers → editor/operations}/save-commands.helper.d.ts +28 -22
  336. package/lib/editor/operations/target-operations.helper.d.ts +6 -0
  337. package/lib/editor/positioning/content.helper.d.ts +15 -0
  338. package/lib/editor/positioning/cursor-paragraph.d.ts +7 -0
  339. package/lib/{+shared/editor/core/interfaces → editor/positioning}/cursor-position.interface.d.ts +1 -1
  340. package/lib/{+shared/editor/core/helpers → editor/positioning}/line-width.helper.d.ts +2 -2
  341. package/lib/{+shared/editor/core/helpers → editor/positioning}/position.helper.d.ts +11 -11
  342. package/lib/{+shared/editor/core → editor/positioning}/range.d.ts +12 -12
  343. package/lib/{+shared/editor → editor}/positioning/selection.d.ts +13 -10
  344. package/lib/editor/revision.helper.d.ts +15 -0
  345. package/lib/models/generated/cell.model.d.ts +1 -0
  346. package/lib/models/generated/command.model.d.ts +2 -0
  347. package/lib/models/generated/insert-paragraph.model.d.ts +10 -0
  348. package/lib/models/generated/replace.model.d.ts +2 -0
  349. package/package.json +1 -1
  350. package/public-api.d.ts +36 -30
  351. package/src/_ngx-noder.theme.scss +49 -13
  352. package/src/assets/fonts/nc-iconfont.css +112 -106
  353. package/src/assets/fonts/nc-iconfont.eot +0 -0
  354. package/src/assets/fonts/nc-iconfont.svg +4 -1
  355. package/src/assets/fonts/nc-iconfont.ttf +0 -0
  356. package/src/assets/fonts/nc-iconfont.woff +0 -0
  357. package/src/lib/{+shared → apart-components}/add-link-dialog/_add-link-dialog.theme.scss +4 -4
  358. package/src/lib/apart-components/add-link-mobile/_add-link-mobile.theme.scss +25 -0
  359. package/src/lib/apart-components/confirm-dialog/_theme.scss +30 -0
  360. package/src/lib/apart-components/editor-title/_editor-title.theme.scss +28 -0
  361. package/src/lib/apart-components/editor-title-mobile/_editor-title-mobile.theme.scss +42 -0
  362. package/src/lib/apart-components/editor-toolbar/_editor-toolbar.theme.scss +27 -0
  363. package/src/lib/apart-components/editor-toolbar/_theme.scss +25 -0
  364. package/src/lib/apart-components/editor-toolbar/components/buttons/color-picker/_color-picker.theme.scss +12 -0
  365. package/src/lib/apart-components/editor-toolbar/components/buttons/font/_font.theme.scss +12 -0
  366. package/src/lib/apart-components/editor-toolbar/components/buttons/font-size/_font-size.theme.scss +14 -0
  367. package/src/lib/apart-components/editor-toolbar/components/buttons/font-style/_font-style.theme.scss +21 -0
  368. package/src/lib/apart-components/editor-toolbar/components/buttons/format/_format.theme.scss +21 -0
  369. package/src/lib/apart-components/editor-toolbar/components/buttons/numbering/_numbering.theme.scss +70 -0
  370. package/src/lib/apart-components/editor-toolbar/components/buttons/undo-redo/_undo-redo.theme.scss +16 -0
  371. package/src/lib/apart-components/editor-toolbar/components/menu-dropdowns/_menu-dropdowns.theme.scss +26 -0
  372. package/src/lib/apart-components/editor-toolbar/components/menu-dropdowns-mobile/_menu-dropdowns-mobile.theme.scss +33 -0
  373. package/src/lib/apart-components/editor-toolbar/components/toolbar-actions/_toolbar-actions.theme.scss +22 -0
  374. package/src/lib/{+shared → apart-components}/insert-table/_insert-table.theme.scss +10 -7
  375. package/src/lib/apart-components/insert-table-mobile/_insert-table-mobile.theme.scss +54 -0
  376. package/src/lib/apart-components/text-format-mobile/_text-format-mobile.theme.scss +86 -0
  377. package/src/lib/editor/_theme.scss +5 -0
  378. package/src/lib/editor/components/_editor.theme.scss +112 -0
  379. package/src/scss/_fonts.scss +3 -0
  380. package/src/scss/base-editor.scss +329 -0
  381. package/src/styles.scss +3 -58
  382. package/esm2022/lib/+shared/abstract/base-api.service.mjs +0 -99
  383. package/esm2022/lib/+shared/abstract/observer.component.mjs +0 -24
  384. package/esm2022/lib/+shared/confirm-dialog/confirm-dialog.component.mjs +0 -28
  385. package/esm2022/lib/+shared/constants/default-file-name.const.mjs +0 -2
  386. package/esm2022/lib/+shared/constants/paginator-sizes.const.mjs +0 -3
  387. package/esm2022/lib/+shared/editor/core/base/event-emitting.mjs +0 -71
  388. package/esm2022/lib/+shared/editor/core/components/edges/edge-type.enum.mjs +0 -6
  389. package/esm2022/lib/+shared/editor/core/components/edges/edge.component.mjs +0 -100
  390. package/esm2022/lib/+shared/editor/core/components/edges/edges.mjs +0 -104
  391. package/esm2022/lib/+shared/editor/core/constants/alignments.const.mjs +0 -8
  392. package/esm2022/lib/+shared/editor/core/constants/clipboardEventTypes.const.mjs +0 -6
  393. package/esm2022/lib/+shared/editor/core/constants/content-style-change.const.mjs +0 -15
  394. package/esm2022/lib/+shared/editor/core/constants/display-values.const.mjs +0 -8
  395. package/esm2022/lib/+shared/editor/core/constants/document-info.const.mjs +0 -13
  396. package/esm2022/lib/+shared/editor/core/constants/editor-version.const.mjs +0 -2
  397. package/esm2022/lib/+shared/editor/core/constants/editor.const.mjs +0 -62
  398. package/esm2022/lib/+shared/editor/core/constants/unicode-chars.const.mjs +0 -5
  399. package/esm2022/lib/+shared/editor/core/document.mjs +0 -134
  400. package/esm2022/lib/+shared/editor/core/edit.session.mjs +0 -1102
  401. package/esm2022/lib/+shared/editor/core/editor.mjs +0 -1279
  402. package/esm2022/lib/+shared/editor/core/enums/break-types.enum.mjs +0 -7
  403. package/esm2022/lib/+shared/editor/core/enums/mouse-button.enum.mjs +0 -7
  404. package/esm2022/lib/+shared/editor/core/enums/page-type.enum.mjs +0 -7
  405. package/esm2022/lib/+shared/editor/core/helpers/content-style.helper.mjs +0 -156
  406. package/esm2022/lib/+shared/editor/core/helpers/delta.helper.mjs +0 -18
  407. package/esm2022/lib/+shared/editor/core/helpers/dom.helper.mjs +0 -42
  408. package/esm2022/lib/+shared/editor/core/helpers/event.helper.mjs +0 -18
  409. package/esm2022/lib/+shared/editor/core/helpers/font-metrics.helper.mjs +0 -88
  410. package/esm2022/lib/+shared/editor/core/helpers/format-style.helper.mjs +0 -72
  411. package/esm2022/lib/+shared/editor/core/helpers/line-width.helper.mjs +0 -13
  412. package/esm2022/lib/+shared/editor/core/helpers/numbering.helper.mjs +0 -83
  413. package/esm2022/lib/+shared/editor/core/helpers/page.helper.mjs +0 -12
  414. package/esm2022/lib/+shared/editor/core/helpers/paragraph-style.helper.mjs +0 -41
  415. package/esm2022/lib/+shared/editor/core/helpers/paragraph.helper.mjs +0 -132
  416. package/esm2022/lib/+shared/editor/core/helpers/position.helper.mjs +0 -191
  417. package/esm2022/lib/+shared/editor/core/helpers/print.rendering.helper.mjs +0 -7
  418. package/esm2022/lib/+shared/editor/core/helpers/rendering.helper.mjs +0 -186
  419. package/esm2022/lib/+shared/editor/core/helpers/unicode.helper.mjs +0 -20
  420. package/esm2022/lib/+shared/editor/core/interfaces/cell.interface.mjs +0 -2
  421. package/esm2022/lib/+shared/editor/core/interfaces/cursor-position.interface.mjs +0 -2
  422. package/esm2022/lib/+shared/editor/core/interfaces/font-metric-size.interface.mjs +0 -2
  423. package/esm2022/lib/+shared/editor/core/interfaces/layer.config.mjs +0 -2
  424. package/esm2022/lib/+shared/editor/core/interfaces/paragraph-info.interface.mjs +0 -2
  425. package/esm2022/lib/+shared/editor/core/interfaces/render-changes.interface.mjs +0 -2
  426. package/esm2022/lib/+shared/editor/core/interfaces/replace.interface.mjs +0 -2
  427. package/esm2022/lib/+shared/editor/core/interfaces/search-iteration.interface.mjs +0 -2
  428. package/esm2022/lib/+shared/editor/core/interfaces/toolbar-styles.interface.mjs +0 -2
  429. package/esm2022/lib/+shared/editor/core/interfaces/visible-line-info.interface.mjs +0 -2
  430. package/esm2022/lib/+shared/editor/core/interfaces/visible-range.interface.mjs +0 -2
  431. package/esm2022/lib/+shared/editor/core/keyboard/text-input.mjs +0 -53
  432. package/esm2022/lib/+shared/editor/core/layers/cursor.layer.mjs +0 -103
  433. package/esm2022/lib/+shared/editor/core/layers/edges.layer.mjs +0 -99
  434. package/esm2022/lib/+shared/editor/core/layers/lines.mjs +0 -96
  435. package/esm2022/lib/+shared/editor/core/layers/pages.layer.mjs +0 -106
  436. package/esm2022/lib/+shared/editor/core/layers/print.edges.layer.mjs +0 -7
  437. package/esm2022/lib/+shared/editor/core/layers/print.pages.layer.mjs +0 -7
  438. package/esm2022/lib/+shared/editor/core/layers/print.text.layer.mjs +0 -7
  439. package/esm2022/lib/+shared/editor/core/layers/renderloop.mjs +0 -26
  440. package/esm2022/lib/+shared/editor/core/layers/scrollbar.mjs +0 -100
  441. package/esm2022/lib/+shared/editor/core/layers/selection.layer.mjs +0 -115
  442. package/esm2022/lib/+shared/editor/core/layers/text.layer.mjs +0 -124
  443. package/esm2022/lib/+shared/editor/core/models/display-token.model.mjs +0 -12
  444. package/esm2022/lib/+shared/editor/core/models/distance.model.mjs +0 -10
  445. package/esm2022/lib/+shared/editor/core/models/edge-element.model.mjs +0 -9
  446. package/esm2022/lib/+shared/editor/core/models/format-ext.model.mjs +0 -10
  447. package/esm2022/lib/+shared/editor/core/models/indent.model.mjs +0 -9
  448. package/esm2022/lib/+shared/editor/core/models/line-info.model.mjs +0 -9
  449. package/esm2022/lib/+shared/editor/core/models/margin.model.mjs +0 -16
  450. package/esm2022/lib/+shared/editor/core/models/numbering-data.model.mjs +0 -9
  451. package/esm2022/lib/+shared/editor/core/models/render-changes.model.mjs +0 -25
  452. package/esm2022/lib/+shared/editor/core/paging/page-vertical-data.model.mjs +0 -9
  453. package/esm2022/lib/+shared/editor/core/paging/pages.wrap.mjs +0 -219
  454. package/esm2022/lib/+shared/editor/core/paging/paragraph.mjs +0 -52
  455. package/esm2022/lib/+shared/editor/core/paging/text-line-info.mjs +0 -34
  456. package/esm2022/lib/+shared/editor/core/point.mjs +0 -13
  457. package/esm2022/lib/+shared/editor/core/print.renderer.mjs +0 -72
  458. package/esm2022/lib/+shared/editor/core/range.mjs +0 -94
  459. package/esm2022/lib/+shared/editor/core/renderer.mjs +0 -217
  460. package/esm2022/lib/+shared/editor/core/search.mjs +0 -231
  461. package/esm2022/lib/+shared/editor/core/virtual.renderer.mjs +0 -356
  462. package/esm2022/lib/+shared/editor/custom-components/external-element/element-toolbar/element-toolbar.component.mjs +0 -35
  463. package/esm2022/lib/+shared/editor/custom-components/external-element/external-element.service.mjs +0 -6
  464. package/esm2022/lib/+shared/editor/custom-components/external-element/external-elements.const.mjs +0 -4
  465. package/esm2022/lib/+shared/editor/custom-components/external-element/external-sidenav.interface.mjs +0 -2
  466. package/esm2022/lib/+shared/editor/custom-components/external-element/external.component.mjs +0 -41
  467. package/esm2022/lib/+shared/editor/custom-components/external-element/models/element-data.model.mjs +0 -9
  468. package/esm2022/lib/+shared/editor/custom-components/external-element/models/external-element.model.mjs +0 -10
  469. package/esm2022/lib/+shared/editor/custom-components/external-element/models/external-sidenav.model.mjs +0 -15
  470. package/esm2022/lib/+shared/editor/custom-components/image/components/image.component.mjs +0 -87
  471. package/esm2022/lib/+shared/editor/custom-components/image/input-handler/image-input.handler.mjs +0 -38
  472. package/esm2022/lib/+shared/editor/custom-components/image/interfaces/size.mjs +0 -2
  473. package/esm2022/lib/+shared/editor/custom-components/image/resizer/coordinate.mjs +0 -2
  474. package/esm2022/lib/+shared/editor/custom-components/image/resizer/direction-wrapper.mjs +0 -19
  475. package/esm2022/lib/+shared/editor/custom-components/image/resizer/direction.enum.mjs +0 -12
  476. package/esm2022/lib/+shared/editor/custom-components/image/resizer/resizer.component.mjs +0 -106
  477. package/esm2022/lib/+shared/editor/custom-components/image/resizer/size-delta.mjs +0 -2
  478. package/esm2022/lib/+shared/editor/custom-components/image/resizer/size-wrapper.mjs +0 -52
  479. package/esm2022/lib/+shared/editor/custom-components/image/services/image-api.service.mjs +0 -14
  480. package/esm2022/lib/+shared/editor/custom-components/shared/abstract/base.component.mjs +0 -57
  481. package/esm2022/lib/+shared/editor/custom-components/shared/constants/custom-content-markers.const.mjs +0 -3
  482. package/esm2022/lib/+shared/editor/custom-components/shared/helpers/custom-component.hepler.mjs +0 -43
  483. package/esm2022/lib/+shared/editor/custom-components/shared/interfaces/custom-components.interface.mjs +0 -2
  484. package/esm2022/lib/+shared/editor/custom-components/shared/services/component/component.service.mjs +0 -64
  485. package/esm2022/lib/+shared/editor/custom-components/shared/services/custom-content/custom-content.service.mjs +0 -120
  486. package/esm2022/lib/+shared/editor/custom-components/shared/services/overlay/overlay.service.mjs +0 -55
  487. package/esm2022/lib/+shared/editor/custom-components/shared/types/custom-content.mjs +0 -2
  488. package/esm2022/lib/+shared/editor/custom-components/tab/tab.component.mjs +0 -43
  489. package/esm2022/lib/+shared/editor/custom-components/table/cell-resizer/cell-resizer.mjs +0 -118
  490. package/esm2022/lib/+shared/editor/custom-components/table/components/table-cell.component.mjs +0 -95
  491. package/esm2022/lib/+shared/editor/custom-components/table/components/table.component.mjs +0 -293
  492. package/esm2022/lib/+shared/editor/custom-components/table/enums/reisizer-side.enum.mjs +0 -8
  493. package/esm2022/lib/+shared/editor/custom-components/table/enums/vertical-merge.enum.mjs +0 -6
  494. package/esm2022/lib/+shared/editor/custom-components/table/models/cell-data.model.mjs +0 -18
  495. package/esm2022/lib/+shared/editor/custom-components/table/models/cell-resizer-parameters.model.mjs +0 -9
  496. package/esm2022/lib/+shared/editor/custom-components/table/models/row-data.model.mjs +0 -8
  497. package/esm2022/lib/+shared/editor/custom-components/table/models/selection-range.model.mjs +0 -7
  498. package/esm2022/lib/+shared/editor/custom-components/table/overlay-menu/overlay-menu.component.mjs +0 -74
  499. package/esm2022/lib/+shared/editor/custom-components/table/selection/table-selection.mjs +0 -358
  500. package/esm2022/lib/+shared/editor/editor.component.mjs +0 -103
  501. package/esm2022/lib/+shared/editor/editor.module.mjs +0 -85
  502. package/esm2022/lib/+shared/editor/execution/models/cell-session-source.model.mjs +0 -19
  503. package/esm2022/lib/+shared/editor/execution/models/edge-session-source.model.mjs +0 -15
  504. package/esm2022/lib/+shared/editor/execution/models/general-properties.model.mjs +0 -11
  505. package/esm2022/lib/+shared/editor/execution/models/main-session-source.model.mjs +0 -8
  506. package/esm2022/lib/+shared/editor/execution/models/session-source.model.mjs +0 -3
  507. package/esm2022/lib/+shared/editor/execution/models/session.model.mjs +0 -10
  508. package/esm2022/lib/+shared/editor/execution/regulator.service.mjs +0 -193
  509. package/esm2022/lib/+shared/editor/helpers/break.helper.mjs +0 -18
  510. package/esm2022/lib/+shared/editor/helpers/content.helper.mjs +0 -30
  511. package/esm2022/lib/+shared/editor/helpers/tab.helper.mjs +0 -6
  512. package/esm2022/lib/+shared/editor/interaction/editor.service.mjs +0 -309
  513. package/esm2022/lib/+shared/editor/interaction/input.handler.mjs +0 -160
  514. package/esm2022/lib/+shared/editor/interaction/mouse.handler.mjs +0 -49
  515. package/esm2022/lib/+shared/editor/interfaces/contents.interface.mjs +0 -2
  516. package/esm2022/lib/+shared/editor/interfaces/insert-index.interface.mjs +0 -2
  517. package/esm2022/lib/+shared/editor/operation-history/operation-history.mjs +0 -184
  518. package/esm2022/lib/+shared/editor/operation-history/operation.type.mjs +0 -2
  519. package/esm2022/lib/+shared/editor/operation-history/operations-history-info.model.mjs +0 -7
  520. package/esm2022/lib/+shared/editor/operations/enums/command-type.enum.mjs +0 -31
  521. package/esm2022/lib/+shared/editor/operations/enums/target-type.enum.mjs +0 -7
  522. package/esm2022/lib/+shared/editor/operations/helpers/break-operations.helper.mjs +0 -9
  523. package/esm2022/lib/+shared/editor/operations/helpers/content-operations.helper.mjs +0 -15
  524. package/esm2022/lib/+shared/editor/operations/helpers/format-operations.helper.mjs +0 -56
  525. package/esm2022/lib/+shared/editor/operations/helpers/image-operations.helper.mjs +0 -19
  526. package/esm2022/lib/+shared/editor/operations/helpers/indexed-element-operations.helper.mjs +0 -43
  527. package/esm2022/lib/+shared/editor/operations/helpers/link-operations.helper.mjs +0 -28
  528. package/esm2022/lib/+shared/editor/operations/helpers/numbering-operations.helper.mjs +0 -55
  529. package/esm2022/lib/+shared/editor/operations/helpers/operations-helper.helper.mjs +0 -394
  530. package/esm2022/lib/+shared/editor/operations/helpers/paragraph-operations.helper.mjs +0 -83
  531. package/esm2022/lib/+shared/editor/operations/helpers/save-commands.helper.mjs +0 -118
  532. package/esm2022/lib/+shared/editor/operations/helpers/tab-operations.helper.mjs +0 -16
  533. package/esm2022/lib/+shared/editor/operations/helpers/table-operations.helper.mjs +0 -371
  534. package/esm2022/lib/+shared/editor/operations/helpers/target-operations.helper.mjs +0 -23
  535. package/esm2022/lib/+shared/editor/positioning/selection.mjs +0 -307
  536. package/esm2022/lib/+shared/editor/store/editor.actions.mjs +0 -13
  537. package/esm2022/lib/+shared/editor-header/editor-header.component.mjs +0 -314
  538. package/esm2022/lib/+shared/editor-search/editor-search-dialog.component.mjs +0 -71
  539. package/esm2022/lib/+shared/editor-toolbar/color-picker/color-picker.component.mjs +0 -32
  540. package/esm2022/lib/+shared/editor-toolbar/constants/svg-icons.const.mjs +0 -157
  541. package/esm2022/lib/+shared/editor-toolbar/editor-toolbar.component.mjs +0 -115
  542. package/esm2022/lib/+shared/editor-toolbar/editor-toolbar.module.mjs +0 -107
  543. package/esm2022/lib/+shared/editor-toolbar/enums/alignment.enum.mjs +0 -8
  544. package/esm2022/lib/+shared/editor-toolbar/enums/numbering-type.enum.mjs +0 -6
  545. package/esm2022/lib/+shared/editor-toolbar/font/font.component.mjs +0 -45
  546. package/esm2022/lib/+shared/editor-toolbar/font-size/font-size.component.mjs +0 -85
  547. package/esm2022/lib/+shared/editor-toolbar/font-style/font-style.component.mjs +0 -80
  548. package/esm2022/lib/+shared/editor-toolbar/format/format.component.mjs +0 -28
  549. package/esm2022/lib/+shared/editor-toolbar/heading/heading.component.mjs +0 -23
  550. package/esm2022/lib/+shared/editor-toolbar/helpers/toolbar-styles.helper.mjs +0 -55
  551. package/esm2022/lib/+shared/editor-toolbar/numbering/numbering.component.mjs +0 -53
  552. package/esm2022/lib/+shared/editor-toolbar/print/print.component.mjs +0 -18
  553. package/esm2022/lib/+shared/editor-toolbar/undo-redo/undo-redo.component.mjs +0 -27
  554. package/esm2022/lib/+shared/editor-toolbar/zoom/zoom.component.mjs +0 -74
  555. package/esm2022/lib/+shared/helpers/print.helper.mjs +0 -40
  556. package/esm2022/lib/+shared/insert-table/insert-table.component.mjs +0 -54
  557. package/esm2022/lib/+shared/services/commands.service.mjs +0 -20
  558. package/esm2022/lib/+shared/services/custom-icon.service.mjs +0 -34
  559. package/lib/+shared/abstract/base-api.service.d.ts +0 -23
  560. package/lib/+shared/abstract/observer.component.d.ts +0 -10
  561. package/lib/+shared/constants/default-file-name.const.d.ts +0 -1
  562. package/lib/+shared/constants/paginator-sizes.const.d.ts +0 -2
  563. package/lib/+shared/editor/core/components/edges/edge.component.d.ts +0 -45
  564. package/lib/+shared/editor/core/constants/clipboardEventTypes.const.d.ts +0 -5
  565. package/lib/+shared/editor/core/constants/content-style-change.const.d.ts +0 -14
  566. package/lib/+shared/editor/core/document.d.ts +0 -56
  567. package/lib/+shared/editor/core/edit.session.d.ts +0 -159
  568. package/lib/+shared/editor/core/helpers/content-style.helper.d.ts +0 -16
  569. package/lib/+shared/editor/core/helpers/delta.helper.d.ts +0 -6
  570. package/lib/+shared/editor/core/helpers/numbering.helper.d.ts +0 -19
  571. package/lib/+shared/editor/core/interfaces/visible-line-info.interface.d.ts +0 -5
  572. package/lib/+shared/editor/core/layers/edges.layer.d.ts +0 -24
  573. package/lib/+shared/editor/core/layers/print.edges.layer.d.ts +0 -4
  574. package/lib/+shared/editor/core/layers/print.text.layer.d.ts +0 -5
  575. package/lib/+shared/editor/core/layers/text.layer.d.ts +0 -22
  576. package/lib/+shared/editor/core/paging/pages.wrap.d.ts +0 -41
  577. package/lib/+shared/editor/core/point.d.ts +0 -7
  578. package/lib/+shared/editor/core/print.renderer.d.ts +0 -25
  579. package/lib/+shared/editor/custom-components/external-element/element-toolbar/element-toolbar.component.d.ts +0 -14
  580. package/lib/+shared/editor/custom-components/image/services/image-api.service.d.ts +0 -8
  581. package/lib/+shared/editor/custom-components/shared/interfaces/custom-components.interface.d.ts +0 -13
  582. package/lib/+shared/editor/custom-components/shared/types/custom-content.d.ts +0 -5
  583. package/lib/+shared/editor/custom-components/table/components/table-cell.component.d.ts +0 -45
  584. package/lib/+shared/editor/editor.module.d.ts +0 -30
  585. package/lib/+shared/editor/execution/models/general-properties.model.d.ts +0 -7
  586. package/lib/+shared/editor/helpers/content.helper.d.ts +0 -9
  587. package/lib/+shared/editor/interfaces/contents.interface.d.ts +0 -22
  588. package/lib/+shared/editor/operations/helpers/image-operations.helper.d.ts +0 -7
  589. package/lib/+shared/editor/operations/helpers/link-operations.helper.d.ts +0 -6
  590. package/lib/+shared/editor/operations/helpers/target-operations.helper.d.ts +0 -6
  591. package/lib/+shared/editor/store/editor.actions.d.ts +0 -11
  592. package/lib/+shared/editor-header/editor-header.component.d.ts +0 -101
  593. package/lib/+shared/editor-toolbar/constants/numbering-templates.const.d.ts +0 -6
  594. package/lib/+shared/editor-toolbar/editor-toolbar.component.d.ts +0 -44
  595. package/lib/+shared/editor-toolbar/editor-toolbar.module.d.ts +0 -28
  596. package/lib/+shared/editor-toolbar/helpers/toolbar-styles.helper.d.ts +0 -6
  597. package/src/lib/+shared/editor/_editor.theme.scss +0 -35
  598. package/src/lib/+shared/editor/custom-components/external-element/element-toolbar/_element-toolbar.theme.scss +0 -10
  599. package/src/lib/+shared/editor-header/_editor-header.theme.scss +0 -106
  600. package/src/lib/+shared/editor-toolbar/_editor-toolbar.theme.scss +0 -33
  601. package/src/lib/+shared/editor-toolbar/numbering/_numbering.theme.scss +0 -29
  602. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/constants/svg-icons.const.d.ts +0 -0
  603. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/alignment.enum.d.ts +0 -0
  604. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/numbering-template-type.enum.d.ts +0 -0
  605. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/numbering-type.enum.d.ts +0 -0
  606. /package/lib/{+shared → apart-components/editor-toolbar/shared}/services/custom-icon.service.d.ts +0 -0
  607. /package/lib/{+shared/editor/core → editor}/components/edges/edge-type.enum.d.ts +0 -0
  608. /package/lib/{+shared/editor/core/enums → editor/components/edges}/page-type.enum.d.ts +0 -0
  609. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/external-element.service.d.ts +0 -0
  610. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/external-elements.const.d.ts +0 -0
  611. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/models/element-data.model.d.ts +0 -0
  612. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/models/external-sidenav.model.d.ts +0 -0
  613. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/coordinate.d.ts +0 -0
  614. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/direction-wrapper.d.ts +0 -0
  615. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/direction.enum.d.ts +0 -0
  616. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/size-delta.d.ts +0 -0
  617. /package/lib/{+shared/editor/custom-components/image/interfaces → editor/components/image}/size.d.ts +0 -0
  618. /package/lib/{+shared/editor/custom-components/shared/constants → editor/components/shared}/custom-content-markers.const.d.ts +0 -0
  619. /package/lib/{+shared/editor/custom-components/shared/services/overlay → editor/components/shared/services}/overlay.service.d.ts +0 -0
  620. /package/lib/{+shared/editor/helpers → editor/components/tab}/tab.helper.d.ts +0 -0
  621. /package/lib/{+shared/editor/core → editor/components/table}/enums/hrule.enum.d.ts +0 -0
  622. /package/lib/{+shared/editor/custom-components → editor/components}/table/enums/reisizer-side.enum.d.ts +0 -0
  623. /package/lib/{+shared/editor/custom-components → editor/components}/table/enums/vertical-merge.enum.d.ts +0 -0
  624. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/cell-resizer-parameters.model.d.ts +0 -0
  625. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/row-data.model.d.ts +0 -0
  626. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/selection-range.model.d.ts +0 -0
  627. /package/lib/{+shared/editor/core → editor/content}/constants/display-values.const.d.ts +0 -0
  628. /package/lib/{+shared/editor/core → editor/content}/constants/document-info.const.d.ts +0 -0
  629. /package/lib/{+shared/editor/core/models → editor/content/display-data}/indent.model.d.ts +0 -0
  630. /package/lib/{+shared/editor/core/interfaces → editor/content/display-data}/paragraph-info.interface.d.ts +0 -0
  631. /package/lib/{+shared/editor → editor/content}/helpers/format.helper.d.ts +0 -0
  632. /package/lib/{+shared/editor/core/models → editor/content}/margin.model.d.ts +0 -0
  633. /package/lib/{+shared/editor/core/enums → editor/content}/vertical-alignment.enum.d.ts +0 -0
  634. /package/lib/{+shared/editor/core/interfaces → editor/display}/cell.interface.d.ts +0 -0
  635. /package/lib/{+shared/editor/core/helpers → editor/display}/event.helper.d.ts +0 -0
  636. /package/lib/{+shared/editor/core → editor/display}/layers/print.pages.layer.d.ts +0 -0
  637. /package/lib/{+shared/editor/core/interfaces → editor/display}/render-changes.interface.d.ts +0 -0
  638. /package/lib/{+shared/editor/core/interfaces → editor/display}/visible-range.interface.d.ts +0 -0
  639. /package/lib/{+shared/editor/core/models → editor/execution}/distance.model.d.ts +0 -0
  640. /package/lib/{+shared/editor/core → editor/execution}/helpers/dom.helper.d.ts +0 -0
  641. /package/lib/{+shared/editor/core/constants → editor/gadgets/font-metrics}/editor-version.const.d.ts +0 -0
  642. /package/lib/{+shared/editor/core/interfaces → editor/gadgets/font-metrics}/font-metric-size.interface.d.ts +0 -0
  643. /package/lib/{+shared/editor/operation-history → editor/gadgets/history}/operations-history-info.model.d.ts +0 -0
  644. /package/lib/{+shared/editor/core/enums → editor/gadgets/numbering}/numbering-marker-type.enum.d.ts +0 -0
  645. /package/lib/{+shared/editor/core/enums → editor/gadgets/page-break}/break-types.enum.d.ts +0 -0
  646. /package/lib/{+shared/editor/core/interfaces → editor/gadgets/search}/replace.interface.d.ts +0 -0
  647. /package/lib/{+shared/editor/core/interfaces → editor/gadgets/search}/search-iteration.interface.d.ts +0 -0
  648. /package/lib/{+shared/editor/core/constants → editor/gadgets/unicode}/unicode-chars.const.d.ts +0 -0
  649. /package/lib/{+shared/editor/core/helpers → editor/gadgets/unicode}/unicode.helper.d.ts +0 -0
  650. /package/lib/{+shared/enums → editor/interaction}/mode.enum.d.ts +0 -0
  651. /package/lib/{+shared/editor/core/enums → editor/interaction}/mouse-button.enum.d.ts +0 -0
  652. /package/lib/{+shared/editor/core/keyboard → editor/interaction}/text-input.d.ts +0 -0
  653. /package/lib/{+shared/services → editor/operations}/commands.service.d.ts +0 -0
  654. /package/lib/{+shared/editor → editor}/operations/enums/target-type.enum.d.ts +0 -0
  655. /package/lib/{+shared/editor → editor}/operations/helpers/content-operations.helper.d.ts +0 -0
  656. /package/lib/{+shared/editor/core/constants → editor/positioning}/alignments.const.d.ts +0 -0
  657. /package/lib/{+shared/editor/interfaces → editor/positioning}/insert-index.interface.d.ts +0 -0
@@ -0,0 +1,84 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';
2
+ import { ACTIONS_MENU_MODS } from '../shared/constants/editor-toolbar-modes.const';
3
+ import { EditorToolbarMode } from '../shared/enums/editor-toolbar-mode.enum';
4
+ import { ToolbarActionsComponent } from '../components/toolbar-actions/toolbar-actions.component';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../shared/services/custom-icon.service";
7
+ import * as i2 from "../../../editor/interaction/editor.service";
8
+ import * as i3 from "../shared/services/toolbar-core.service";
9
+ import * as i4 from "@angular/common";
10
+ import * as i5 from "../components/buttons/font/font.component";
11
+ import * as i6 from "../components/buttons/font-size/font-size.component";
12
+ import * as i7 from "@angular/material/button";
13
+ import * as i8 from "@angular/material/icon";
14
+ import * as i9 from "../components/buttons/font-style/font-style.component";
15
+ import * as i10 from "../components/buttons/format/format.component";
16
+ import * as i11 from "../components/buttons/undo-redo/undo-redo.component";
17
+ export class EditorMobileToolbarComponent extends ToolbarActionsComponent {
18
+ constructor(cdr, customIconService, editorService, injector, toolbarCoreService) {
19
+ super(cdr, customIconService, injector, editorService);
20
+ this.toolbarCoreService = toolbarCoreService;
21
+ this.openFileFromDisk = new EventEmitter();
22
+ this.createDocument = new EventEmitter();
23
+ this.saveAs = new EventEmitter();
24
+ this.rename = new EventEmitter();
25
+ this.delete = new EventEmitter();
26
+ this.insertPageBreak = new EventEmitter();
27
+ this.textFormat = new EventEmitter();
28
+ this.editorToolbarMode = EditorToolbarMode;
29
+ this.actionsMenuMods = ACTIONS_MENU_MODS;
30
+ this.toolbarCoreService.actions = this.getActions();
31
+ }
32
+ onInsertLink() {
33
+ this.toolbarCoreService.backTitle = 'Insert Link';
34
+ this.toolbarCoreService.mode = EditorToolbarMode.Insert;
35
+ this.insertLink.emit();
36
+ }
37
+ onInsertTable() {
38
+ this.toolbarCoreService.backTitle = 'Insert Table';
39
+ this.toolbarCoreService.mode = EditorToolbarMode.Insert;
40
+ this.insertTable.emit();
41
+ }
42
+ onTextFormat() {
43
+ this.toolbarCoreService.backTitle = 'Text Format';
44
+ this.toolbarCoreService.mode = EditorToolbarMode.Insert;
45
+ this.textFormat.emit();
46
+ }
47
+ getActions() {
48
+ return {
49
+ new: () => this.createDocument.emit(),
50
+ openFrom: () => this.openFileFromDisk.emit(),
51
+ saveAs: () => this.saveAs.emit(),
52
+ rename: () => this.rename.emit(),
53
+ print: () => this.print.emit(),
54
+ delete: () => this.delete.emit(),
55
+ insertImage: () => this.insertImage.emit(),
56
+ insertTable: () => this.onInsertTable(),
57
+ insertLink: () => this.onInsertLink(),
58
+ insertCustomElement: (model) => this.onCreateElement(model),
59
+ insertPageBreak: () => this.insertPageBreak.emit(),
60
+ textFormat: () => this.onTextFormat()
61
+ };
62
+ }
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorMobileToolbarComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.CustomIconService }, { token: i2.EditorService }, { token: i0.Injector }, { token: i3.ToolbarCoreService }], target: i0.ɵɵFactoryTarget.Component }); }
64
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EditorMobileToolbarComponent, selector: "app-nod-editor-mobile-toolbar", outputs: { openFileFromDisk: "openFileFromDisk", createDocument: "createDocument", saveAs: "saveAs", rename: "rename", delete: "delete", insertPageBreak: "insertPageBreak", textFormat: "textFormat" }, usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"{ mode: toolbarCoreService.mode$ | async, isViewOnly: editorService.isViewOnly$ | async } as data\">\n <div class=\"menu-action\">\n <button\n *ngIf=\"data.mode === editorToolbarMode.Base; else back\"\n mat-button\n id=\"editor-mobile-toolbar-sandwich\"\n (click)=\"toolbarCoreService.openBurgerMenu()\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-sandwich\" />\n </button>\n <ng-template #back>\n <div class=\"back-container\">\n <button\n mat-button\n id=\"editor-mobile-toolbar-back\"\n (click)=\"toolbarCoreService.back()\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-back\" />\n </button>\n <div class=\"back-title\">{{ toolbarCoreService.backTitle }}</div>\n </div>\n </ng-template>\n </div>\n <div\n *ngIf=\"styles && !data.isViewOnly && actionsMenuMods.includes(data.mode)\"\n class=\"actions\">\n <app-nod-undo-redo\n [canUndo]=\"canUndo\"\n [canRedo]=\"canRedo\"\n (undo)=\"undo.emit()\"\n (redo)=\"redo.emit()\" />\n <div class=\"separator\"></div>\n <div\n class=\"main-actions\"\n [ngSwitch]=\"data.mode\">\n <ng-container *ngSwitchCase=\"editorToolbarMode.Base\">\n <button\n mat-button\n id=\"editor-mobile-toolbar-text-format\"\n (click)=\"toolbarCoreService.mode = editorToolbarMode.TextFormat\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-text\" />\n </button>\n <button\n mat-button\n id=\"editor-mobile-toolbar-style-format\"\n (click)=\"toolbarCoreService.mode = editorToolbarMode.StyleFormat\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-format-combined\" />\n </button>\n <button\n mat-button\n id=\"editor-mobile-toolbar-align-format\"\n (click)=\"toolbarCoreService.mode = editorToolbarMode.AlignFormat\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-format-alignleft\" />\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"editorToolbarMode.TextFormat\">\n <app-nod-font\n [isDisabled]=\"data.isViewOnly\"\n [styles]=\"styles\"\n (selectFont)=\"onApplyFontFamily($event)\" />\n <div class=\"separator\"></div>\n <app-nod-font-size\n [isDisabled]=\"data.isViewOnly\"\n [fontSize]=\"styles.fontSize\"\n (selectFontSize)=\"onApplyFontSize($event)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"editorToolbarMode.StyleFormat\">\n <app-nod-font-style\n [isDisabled]=\"data.isViewOnly\"\n [bold]=\"styles.bold\"\n [italic]=\"styles.italic\"\n [underline]=\"styles.underline\"\n (toggleBold)=\"onApplyBold($event)\"\n (toggleItalic)=\"onApplyItalic($event)\"\n (toggleUnderline)=\"onApplyUnderline($event)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"editorToolbarMode.AlignFormat\">\n <app-nod-format\n [isDisabled]=\"data.isViewOnly\"\n [alignment]=\"styles.alignment\"\n (selectAlignment)=\"onApplyAlignment($event)\" />\n </ng-container>\n </div>\n </div>\n</ng-container>\n", styles: ["button.mdc-button{min-width:28px;min-height:28px;height:28px;padding:0;margin:0 4px}button.mdc-button mat-icon{font-size:24px;height:24px;width:24px;margin:0}:host::ng-deep{display:flex;position:relative;width:100%;height:32px}:host::ng-deep mat-button-toggle,:host::ng-deep .mat-button-toggle-button{height:32px;width:32px;border-radius:4px}:host::ng-deep mat-button-toggle mat-icon,:host::ng-deep .mat-button-toggle-button mat-icon{font-size:24px;height:24px;width:24px;border-radius:4px}:host::ng-deep mat-button-toggle .mat-button-toggle-label-content,:host::ng-deep .mat-button-toggle-button .mat-button-toggle-label-content{padding:0 2px}.menu-action{z-index:1}.actions{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%}.main-actions{display:flex;align-items:center;height:100%}.separator{border-left:1px solid;opacity:.1;height:100%;margin:0 8px}app-nod-font{max-width:142px}.back-container{display:flex}.back-title{font-size:14px;font-weight:400;padding-left:10px}\n"], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i5.FontComponent, selector: "app-nod-font", inputs: ["isDisabled", "styles"], outputs: ["selectFont"] }, { kind: "component", type: i6.FontSizeComponent, selector: "app-nod-font-size", inputs: ["isDisabled", "fontSize"], outputs: ["selectFontSize"] }, { kind: "component", type: i7.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i8.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i9.FontStyleComponent, selector: "app-nod-font-style", inputs: ["isDisabled", "bold", "italic", "underline", "fontColor", "highlightColor"], outputs: ["toggleBold", "toggleItalic", "toggleUnderline", "selectFontColor", "selectHighlightColor"] }, { kind: "component", type: i10.FormatComponent, selector: "app-nod-format", inputs: ["isDisabled", "alignment"], outputs: ["selectAlignment"] }, { kind: "component", type: i11.UndoRedoComponent, selector: "app-nod-undo-redo", inputs: ["canUndo", "canRedo"], outputs: ["undo", "redo"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
65
+ }
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorMobileToolbarComponent, decorators: [{
67
+ type: Component,
68
+ args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'app-nod-editor-mobile-toolbar', template: "<ng-container *ngIf=\"{ mode: toolbarCoreService.mode$ | async, isViewOnly: editorService.isViewOnly$ | async } as data\">\n <div class=\"menu-action\">\n <button\n *ngIf=\"data.mode === editorToolbarMode.Base; else back\"\n mat-button\n id=\"editor-mobile-toolbar-sandwich\"\n (click)=\"toolbarCoreService.openBurgerMenu()\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-sandwich\" />\n </button>\n <ng-template #back>\n <div class=\"back-container\">\n <button\n mat-button\n id=\"editor-mobile-toolbar-back\"\n (click)=\"toolbarCoreService.back()\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-back\" />\n </button>\n <div class=\"back-title\">{{ toolbarCoreService.backTitle }}</div>\n </div>\n </ng-template>\n </div>\n <div\n *ngIf=\"styles && !data.isViewOnly && actionsMenuMods.includes(data.mode)\"\n class=\"actions\">\n <app-nod-undo-redo\n [canUndo]=\"canUndo\"\n [canRedo]=\"canRedo\"\n (undo)=\"undo.emit()\"\n (redo)=\"redo.emit()\" />\n <div class=\"separator\"></div>\n <div\n class=\"main-actions\"\n [ngSwitch]=\"data.mode\">\n <ng-container *ngSwitchCase=\"editorToolbarMode.Base\">\n <button\n mat-button\n id=\"editor-mobile-toolbar-text-format\"\n (click)=\"toolbarCoreService.mode = editorToolbarMode.TextFormat\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-text\" />\n </button>\n <button\n mat-button\n id=\"editor-mobile-toolbar-style-format\"\n (click)=\"toolbarCoreService.mode = editorToolbarMode.StyleFormat\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-format-combined\" />\n </button>\n <button\n mat-button\n id=\"editor-mobile-toolbar-align-format\"\n (click)=\"toolbarCoreService.mode = editorToolbarMode.AlignFormat\">\n <mat-icon\n fontSet=\"noder-icon\"\n fontIcon=\"icon-format-alignleft\" />\n </button>\n </ng-container>\n <ng-container *ngSwitchCase=\"editorToolbarMode.TextFormat\">\n <app-nod-font\n [isDisabled]=\"data.isViewOnly\"\n [styles]=\"styles\"\n (selectFont)=\"onApplyFontFamily($event)\" />\n <div class=\"separator\"></div>\n <app-nod-font-size\n [isDisabled]=\"data.isViewOnly\"\n [fontSize]=\"styles.fontSize\"\n (selectFontSize)=\"onApplyFontSize($event)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"editorToolbarMode.StyleFormat\">\n <app-nod-font-style\n [isDisabled]=\"data.isViewOnly\"\n [bold]=\"styles.bold\"\n [italic]=\"styles.italic\"\n [underline]=\"styles.underline\"\n (toggleBold)=\"onApplyBold($event)\"\n (toggleItalic)=\"onApplyItalic($event)\"\n (toggleUnderline)=\"onApplyUnderline($event)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"editorToolbarMode.AlignFormat\">\n <app-nod-format\n [isDisabled]=\"data.isViewOnly\"\n [alignment]=\"styles.alignment\"\n (selectAlignment)=\"onApplyAlignment($event)\" />\n </ng-container>\n </div>\n </div>\n</ng-container>\n", styles: ["button.mdc-button{min-width:28px;min-height:28px;height:28px;padding:0;margin:0 4px}button.mdc-button mat-icon{font-size:24px;height:24px;width:24px;margin:0}:host::ng-deep{display:flex;position:relative;width:100%;height:32px}:host::ng-deep mat-button-toggle,:host::ng-deep .mat-button-toggle-button{height:32px;width:32px;border-radius:4px}:host::ng-deep mat-button-toggle mat-icon,:host::ng-deep .mat-button-toggle-button mat-icon{font-size:24px;height:24px;width:24px;border-radius:4px}:host::ng-deep mat-button-toggle .mat-button-toggle-label-content,:host::ng-deep .mat-button-toggle-button .mat-button-toggle-label-content{padding:0 2px}.menu-action{z-index:1}.actions{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%}.main-actions{display:flex;align-items:center;height:100%}.separator{border-left:1px solid;opacity:.1;height:100%;margin:0 8px}app-nod-font{max-width:142px}.back-container{display:flex}.back-title{font-size:14px;font-weight:400;padding-left:10px}\n"] }]
69
+ }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.CustomIconService }, { type: i2.EditorService }, { type: i0.Injector }, { type: i3.ToolbarCoreService }], propDecorators: { openFileFromDisk: [{
70
+ type: Output
71
+ }], createDocument: [{
72
+ type: Output
73
+ }], saveAs: [{
74
+ type: Output
75
+ }], rename: [{
76
+ type: Output
77
+ }], delete: [{
78
+ type: Output
79
+ }], insertPageBreak: [{
80
+ type: Output
81
+ }], textFormat: [{
82
+ type: Output
83
+ }] } });
84
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLW1vYmlsZS10b29sYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3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PGRpdiBjbGFzcz1cImJhY2stY29udGFpbmVyXCI+XG4gICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBtYXQtYnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGlkPVwiZWRpdG9yLW1vYmlsZS10b29sYmFyLWJhY2tcIlxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwidG9vbGJhckNvcmVTZXJ2aWNlLmJhY2soKVwiPlxuICAgICAgICAgICAgICAgICAgICA8bWF0LWljb25cbiAgICAgICAgICAgICAgICAgICAgICAgIGZvbnRTZXQ9XCJub2Rlci1pY29uXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGZvbnRJY29uPVwiaWNvbi1iYWNrXCIgLz5cbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYmFjay10aXRsZVwiPnt7IHRvb2xiYXJDb3JlU2VydmljZS5iYWNrVGl0bGUgfX08L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgIDwvZGl2PlxuICAgIDxkaXZcbiAgICAgICAgKm5nSWY9XCJzdHlsZXMgJiYgIWRhdGEuaXNWaWV3T25seSAmJiBhY3Rpb25zTWVudU1vZHMuaW5jbHVkZXMoZGF0YS5tb2RlKVwiXG4gICAgICAgIGNsYXNzPVwiYWN0aW9uc1wiPlxuICAgICAgICA8YXBwLW5vZC11bmRvLXJlZG9cbiAgICAgICAgICAgIFtjYW5VbmRvXT1cImNhblVuZG9cIlxuICAgICAgICAgICAgW2NhblJlZG9dPVwiY2FuUmVkb1wiXG4gICAgICAgICAgICAodW5kbyk9XCJ1bmRvLmVtaXQoKVwiXG4gICAgICAgICAgICAocmVkbyk9XCJyZWRvLmVtaXQoKVwiIC8+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJzZXBhcmF0b3JcIj48L2Rpdj5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgY2xhc3M9XCJtYWluLWFjdGlvbnNcIlxuICAgICAgICAgICAgW25nU3dpdGNoXT1cImRhdGEubW9kZVwiPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hDYXNlPVwiZWRpdG9yVG9vbGJhck1vZGUuQmFzZVwiPlxuICAgICAgICAgICAgICAgIDxidXR0b25cbiAgICAgICAgICAgICAgICAgICAgbWF0LWJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBpZD1cImVkaXRvci1tb2JpbGUtdG9vbGJhci10ZXh0LWZvcm1hdFwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJ0b29sYmFyQ29yZVNlcnZpY2UubW9kZSA9IGVkaXRvclRvb2xiYXJNb2RlLlRleHRGb3JtYXRcIj5cbiAgICAgICAgICAgICAgICAgICAgPG1hdC1pY29uXG4gICAgICAgICAgICAgICAgICAgICAgICBmb250U2V0PVwibm9kZXItaWNvblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBmb250SWNvbj1cImljb24tdGV4dFwiIC8+XG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBtYXQtYnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGlkPVwiZWRpdG9yLW1vYmlsZS10b29sYmFyLXN0eWxlLWZvcm1hdFwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJ0b29sYmFyQ29yZVNlcnZpY2UubW9kZSA9IGVkaXRvclRvb2xiYXJNb2RlLlN0eWxlRm9ybWF0XCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvblxuICAgICAgICAgICAgICAgICAgICAgICAgZm9udFNldD1cIm5vZGVyLWljb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgZm9udEljb249XCJpY29uLWZvcm1hdC1jb21iaW5lZFwiIC8+XG4gICAgICAgICAgICAgICAgPC9idXR0b24+XG4gICAgICAgICAgICAgICAgPGJ1dHRvblxuICAgICAgICAgICAgICAgICAgICBtYXQtYnV0dG9uXG4gICAgICAgICAgICAgICAgICAgIGlkPVwiZWRpdG9yLW1vYmlsZS10b29sYmFyLWFsaWduLWZvcm1hdFwiXG4gICAgICAgICAgICAgICAgICAgIChjbGljayk9XCJ0b29sYmFyQ29yZVNlcnZpY2UubW9kZSA9IGVkaXRvclRvb2xiYXJNb2RlLkFsaWduRm9ybWF0XCI+XG4gICAgICAgICAgICAgICAgICAgIDxtYXQtaWNvblxuICAgICAgICAgICAgICAgICAgICAgICAgZm9udFNldD1cIm5vZGVyLWljb25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgZm9udEljb249XCJpY29uLWZvcm1hdC1hbGlnbmxlZnRcIiAvPlxuICAgICAgICAgICAgICAgIDwvYnV0dG9uPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1N3aXRjaENhc2U9XCJlZGl0b3JUb29sYmFyTW9kZS5UZXh0Rm9ybWF0XCI+XG4gICAgICAgICAgICAgICAgPGFwcC1ub2QtZm9udFxuICAgICAgICAgICAgICAgICAgICBbaXNEaXNhYmxlZF09XCJkYXRhLmlzVmlld09ubHlcIlxuICAgICAgICAgICAgICAgICAgICBbc3R5bGVzXT1cInN0eWxlc1wiXG4gICAgICAgICAgICAgICAgICAgIChzZWxlY3RGb250KT1cIm9uQXBwbHlGb250RmFtaWx5KCRldmVudClcIiAvPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJzZXBhcmF0b3JcIj48L2Rpdj5cbiAgICAgICAgICAgICAgICA8YXBwLW5vZC1mb250LXNpemVcbiAgICAgICAgICAgICAgICAgICAgW2lzRGlzYWJsZWRdPVwiZGF0YS5pc1ZpZXdPbmx5XCJcbiAgICAgICAgICAgICAgICAgICAgW2ZvbnRTaXplXT1cInN0eWxlcy5mb250U2l6ZVwiXG4gICAgICAgICAgICAgICAgICAgIChzZWxlY3RGb250U2l6ZSk9XCJvbkFwcGx5Rm9udFNpemUoJGV2ZW50KVwiIC8+XG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nU3dpdGNoQ2FzZT1cImVkaXRvclRvb2xiYXJNb2RlLlN0eWxlRm9ybWF0XCI+XG4gICAgICAgICAgICAgICAgPGFwcC1ub2QtZm9udC1zdHlsZVxuICAgICAgICAgICAgICAgICAgICBbaXNEaXNhYmxlZF09XCJkYXRhLmlzVmlld09ubHlcIlxuICAgICAgICAgICAgICAgICAgICBbYm9sZF09XCJzdHlsZXMuYm9sZFwiXG4gICAgICAgICAgICAgICAgICAgIFtpdGFsaWNdPVwic3R5bGVzLml0YWxpY1wiXG4gICAgICAgICAgICAgICAgICAgIFt1bmRlcmxpbmVdPVwic3R5bGVzLnVuZGVybGluZVwiXG4gICAgICAgICAgICAgICAgICAgICh0b2dnbGVCb2xkKT1cIm9uQXBwbHlCb2xkKCRldmVudClcIlxuICAgICAgICAgICAgICAgICAgICAodG9nZ2xlSXRhbGljKT1cIm9uQXBwbHlJdGFsaWMoJGV2ZW50KVwiXG4gICAgICAgICAgICAgICAgICAgICh0b2dnbGVVbmRlcmxpbmUpPVwib25BcHBseVVuZGVybGluZSgkZXZlbnQpXCIgLz5cbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdTd2l0Y2hDYXNlPVwiZWRpdG9yVG9vbGJhck1vZGUuQWxpZ25Gb3JtYXRcIj5cbiAgICAgICAgICAgICAgICA8YXBwLW5vZC1mb3JtYXRcbiAgICAgICAgICAgICAgICAgICAgW2lzRGlzYWJsZWRdPVwiZGF0YS5pc1ZpZXdPbmx5XCJcbiAgICAgICAgICAgICAgICAgICAgW2FsaWdubWVudF09XCJzdHlsZXMuYWxpZ25tZW50XCJcbiAgICAgICAgICAgICAgICAgICAgKHNlbGVjdEFsaWdubWVudCk9XCJvbkFwcGx5QWxpZ25tZW50KCRldmVudClcIiAvPlxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
@@ -0,0 +1,90 @@
1
+ import { ChangeDetectionStrategy, Component, EventEmitter, Output } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../editor/interaction/editor.service";
4
+ import * as i2 from "@angular/common";
5
+ import * as i3 from "../components/menu-dropdowns/menu-dropdowns.component";
6
+ import * as i4 from "../components/toolbar-actions/toolbar-actions.component";
7
+ export class EditorToolbarComponent {
8
+ constructor(editorService) {
9
+ this.editorService = editorService;
10
+ this.openFileFromDisk = new EventEmitter();
11
+ this.addCustomElement = new EventEmitter();
12
+ this.saveAs = new EventEmitter();
13
+ this.print = new EventEmitter();
14
+ this.insertPageBreak = new EventEmitter();
15
+ this.createDocument = new EventEmitter();
16
+ this.insertImage = new EventEmitter();
17
+ this.rename = new EventEmitter();
18
+ this.delete = new EventEmitter();
19
+ this.openEditMenu = new EventEmitter();
20
+ this.redo = new EventEmitter();
21
+ this.undo = new EventEmitter();
22
+ this.cutSelected = new EventEmitter();
23
+ this.copySelected = new EventEmitter();
24
+ this.pasteClipboardData = new EventEmitter();
25
+ this.selectAll = new EventEmitter();
26
+ this.removeSelected = new EventEmitter();
27
+ this.insertLink = new EventEmitter();
28
+ this.createElement = new EventEmitter();
29
+ this.changeParagraphStyle = new EventEmitter();
30
+ this.changeTextStyle = new EventEmitter();
31
+ this.setNumberingTemplateType = new EventEmitter();
32
+ this.removeNumberings = new EventEmitter();
33
+ this.insertTable = new EventEmitter();
34
+ }
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorToolbarComponent, deps: [{ token: i1.EditorService }], target: i0.ɵɵFactoryTarget.Component }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: EditorToolbarComponent, selector: "app-nod-editor-toolbar", outputs: { openFileFromDisk: "openFileFromDisk", addCustomElement: "addCustomElement", saveAs: "saveAs", print: "print", insertPageBreak: "insertPageBreak", createDocument: "createDocument", insertImage: "insertImage", rename: "rename", delete: "delete", openEditMenu: "openEditMenu", redo: "redo", undo: "undo", cutSelected: "cutSelected", copySelected: "copySelected", pasteClipboardData: "pasteClipboardData", selectAll: "selectAll", removeSelected: "removeSelected", insertLink: "insertLink", createElement: "createElement", changeParagraphStyle: "changeParagraphStyle", changeTextStyle: "changeTextStyle", setNumberingTemplateType: "setNumberingTemplateType", removeNumberings: "removeNumberings", insertTable: "insertTable" }, ngImport: i0, template: "<app-nod-menu-dropdowns\n (openFileFromDisk)=\"openFileFromDisk.emit()\"\n (addCustomElement)=\"addCustomElement.emit($event)\"\n (saveAs)=\"saveAs.emit()\"\n (print)=\"print.emit()\"\n (insertPageBreak)=\"insertPageBreak.emit()\"\n (createDocument)=\"createDocument.emit()\"\n (insertImage)=\"insertImage.emit()\"\n (rename)=\"rename.emit()\"\n (delete)=\"delete.emit()\"\n (openEditMenu)=\"openEditMenu.emit()\"\n (redo)=\"redo.emit()\"\n (undo)=\"undo.emit()\"\n (cutSelected)=\"cutSelected.emit()\"\n (copySelected)=\"copySelected.emit()\"\n (pasteClipboardData)=\"pasteClipboardData.emit()\"\n (selectAll)=\"selectAll.emit()\"\n (removeSelected)=\"removeSelected.emit()\"\n (insertLink)=\"insertLink.emit()\"\n (createElement)=\"createElement.emit($event)\"\n (changeParagraphStyle)=\"changeParagraphStyle.emit($event)\"\n (changeTextStyle)=\"changeTextStyle.emit($event)\"\n (setNumberingTemplateType)=\"setNumberingTemplateType.emit($event)\"\n (removeNumberings)=\"removeNumberings.emit()\"\n (insertTable)=\"insertTable.emit($event)\" />\n<app-nod-toolbar-actions\n *ngIf=\"(editorService.styles$ | async) && (editorService.isViewOnly$ | async) === false\"\n (print)=\"print.emit()\"\n (redo)=\"redo.emit()\"\n (undo)=\"undo.emit()\"\n (changeParagraphStyle)=\"changeParagraphStyle.emit($event)\"\n (changeTextStyle)=\"changeTextStyle.emit($event)\"\n (setNumberingTemplateType)=\"setNumberingTemplateType.emit($event)\"\n (removeNumberings)=\"removeNumberings.emit()\"\n (createElement)=\"createElement.emit($event)\"\n (insertImage)=\"insertImage.emit()\"\n (insertLink)=\"insertLink.emit()\"\n (insertTable)=\"insertTable.emit($event)\" />\n", styles: [":host ::ng-deep{display:flex;position:relative;width:100%;height:32px}app-nod-toolbar-actions{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.MenuDropdownsComponent, selector: "app-nod-menu-dropdowns", outputs: ["openFileFromDisk", "addCustomElement", "saveAs", "insertPageBreak", "createDocument", "rename", "delete", "openEditMenu", "cutSelected", "copySelected", "pasteClipboardData", "selectAll", "removeSelected"] }, { kind: "component", type: i4.ToolbarActionsComponent, selector: "app-nod-toolbar-actions" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
+ }
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorToolbarComponent, decorators: [{
39
+ type: Component,
40
+ args: [{ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'app-nod-editor-toolbar', template: "<app-nod-menu-dropdowns\n (openFileFromDisk)=\"openFileFromDisk.emit()\"\n (addCustomElement)=\"addCustomElement.emit($event)\"\n (saveAs)=\"saveAs.emit()\"\n (print)=\"print.emit()\"\n (insertPageBreak)=\"insertPageBreak.emit()\"\n (createDocument)=\"createDocument.emit()\"\n (insertImage)=\"insertImage.emit()\"\n (rename)=\"rename.emit()\"\n (delete)=\"delete.emit()\"\n (openEditMenu)=\"openEditMenu.emit()\"\n (redo)=\"redo.emit()\"\n (undo)=\"undo.emit()\"\n (cutSelected)=\"cutSelected.emit()\"\n (copySelected)=\"copySelected.emit()\"\n (pasteClipboardData)=\"pasteClipboardData.emit()\"\n (selectAll)=\"selectAll.emit()\"\n (removeSelected)=\"removeSelected.emit()\"\n (insertLink)=\"insertLink.emit()\"\n (createElement)=\"createElement.emit($event)\"\n (changeParagraphStyle)=\"changeParagraphStyle.emit($event)\"\n (changeTextStyle)=\"changeTextStyle.emit($event)\"\n (setNumberingTemplateType)=\"setNumberingTemplateType.emit($event)\"\n (removeNumberings)=\"removeNumberings.emit()\"\n (insertTable)=\"insertTable.emit($event)\" />\n<app-nod-toolbar-actions\n *ngIf=\"(editorService.styles$ | async) && (editorService.isViewOnly$ | async) === false\"\n (print)=\"print.emit()\"\n (redo)=\"redo.emit()\"\n (undo)=\"undo.emit()\"\n (changeParagraphStyle)=\"changeParagraphStyle.emit($event)\"\n (changeTextStyle)=\"changeTextStyle.emit($event)\"\n (setNumberingTemplateType)=\"setNumberingTemplateType.emit($event)\"\n (removeNumberings)=\"removeNumberings.emit()\"\n (createElement)=\"createElement.emit($event)\"\n (insertImage)=\"insertImage.emit()\"\n (insertLink)=\"insertLink.emit()\"\n (insertTable)=\"insertTable.emit($event)\" />\n", styles: [":host ::ng-deep{display:flex;position:relative;width:100%;height:32px}app-nod-toolbar-actions{display:flex;position:absolute;align-items:center;justify-content:center;width:100%;height:100%}\n"] }]
41
+ }], ctorParameters: () => [{ type: i1.EditorService }], propDecorators: { openFileFromDisk: [{
42
+ type: Output
43
+ }], addCustomElement: [{
44
+ type: Output
45
+ }], saveAs: [{
46
+ type: Output
47
+ }], print: [{
48
+ type: Output
49
+ }], insertPageBreak: [{
50
+ type: Output
51
+ }], createDocument: [{
52
+ type: Output
53
+ }], insertImage: [{
54
+ type: Output
55
+ }], rename: [{
56
+ type: Output
57
+ }], delete: [{
58
+ type: Output
59
+ }], openEditMenu: [{
60
+ type: Output
61
+ }], redo: [{
62
+ type: Output
63
+ }], undo: [{
64
+ type: Output
65
+ }], cutSelected: [{
66
+ type: Output
67
+ }], copySelected: [{
68
+ type: Output
69
+ }], pasteClipboardData: [{
70
+ type: Output
71
+ }], selectAll: [{
72
+ type: Output
73
+ }], removeSelected: [{
74
+ type: Output
75
+ }], insertLink: [{
76
+ type: Output
77
+ }], createElement: [{
78
+ type: Output
79
+ }], changeParagraphStyle: [{
80
+ type: Output
81
+ }], changeTextStyle: [{
82
+ type: Output
83
+ }], setNumberingTemplateType: [{
84
+ type: Output
85
+ }], removeNumberings: [{
86
+ type: Output
87
+ }], insertTable: [{
88
+ type: Output
89
+ }] } });
90
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLXRvb2xiYXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW5vZGVyL3NyYy9saWIvYXBhcnQtY29tcG9uZW50cy9lZGl0b3ItdG9vbGJhci9lZGl0b3ItdG9vbGJhci9lZGl0b3ItdG9vbGJhci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbm9kZXIvc3JjL2xpYi9hcGFydC1jb21wb25lbnRzL2VkaXRvci10b29sYmFyL2VkaXRvci10b29sYmFyL2VkaXRvci10b29sYmFyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7O0FBY3pGLE1BQU0sT0FBTyxzQkFBc0I7SUFpRC9CLFlBQW1CLGFBQTRCO1FBQTVCLGtCQUFhLEdBQWIsYUFBYSxDQUFlO1FBaERyQyxxQkFBZ0IsR0FBRyxJQUFJ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iaW5zZXJ0VGFibGUuZW1pdCgkZXZlbnQpXCIgLz5cbiJdfQ==
@@ -0,0 +1,117 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { MatAutocompleteModule } from '@angular/material/autocomplete';
3
+ import { MatButtonModule } from '@angular/material/button';
4
+ import { MatButtonToggleModule } from '@angular/material/button-toggle';
5
+ import { MatExpansionModule } from '@angular/material/expansion';
6
+ import { MatIconModule } from '@angular/material/icon';
7
+ import { MatMenuModule } from '@angular/material/menu';
8
+ import { NgModule } from '@angular/core';
9
+ import { ReactiveFormsModule } from '@angular/forms';
10
+ import { ColorPickerComponent } from './components/buttons/color-picker/color-picker.component';
11
+ import { CustomIconService } from './shared/services/custom-icon.service';
12
+ import { EditorMobileToolbarComponent } from './editor-mobile-toolbar/editor-mobile-toolbar.component';
13
+ import { EditorToolbarComponent } from './editor-toolbar/editor-toolbar.component';
14
+ import { EditorToolbarService } from './shared/services/editor-toolbar.service';
15
+ import { FontComponent } from './components/buttons/font/font.component';
16
+ import { FontSizeComponent } from './components/buttons/font-size/font-size.component';
17
+ import { FontStyleComponent } from './components/buttons/font-style/font-style.component';
18
+ import { FormatComponent } from './components/buttons/format/format.component';
19
+ import { HeadingComponent } from './components/buttons/heading/heading.component';
20
+ import { InsertTableComponent } from '../../apart-components/insert-table/insert-table.component';
21
+ import { InsertTableMobileComponent } from '../insert-table-mobile/insert-table-mobile.component';
22
+ import { MenuDropdownsComponent } from './components/menu-dropdowns/menu-dropdowns.component';
23
+ import { MenuDropdownsMobileComponent } from './components/menu-dropdowns-mobile/menu-dropdowns-mobile.component';
24
+ import { NumberingComponent } from './components/buttons/numbering/numbering.component';
25
+ import { PrintComponent } from './components/buttons/print/print.component';
26
+ import { TextFormatMobileComponent } from '../text-format-mobile/text-format-mobile.component';
27
+ import { ToolbarActionsComponent } from './components/toolbar-actions/toolbar-actions.component';
28
+ import { ToolbarCoreService } from './shared/services/toolbar-core.service';
29
+ import { UndoRedoComponent } from './components/buttons/undo-redo/undo-redo.component';
30
+ import { ZoomComponent } from './components/buttons/zoom/zoom.component';
31
+ import * as i0 from "@angular/core";
32
+ export class EditorToolbarModule {
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.12", ngImport: i0, type: EditorToolbarModule, declarations: [EditorMobileToolbarComponent,
35
+ EditorToolbarComponent,
36
+ FontStyleComponent,
37
+ FontStyleComponent,
38
+ FormatComponent,
39
+ FormatComponent,
40
+ HeadingComponent,
41
+ HeadingComponent,
42
+ MenuDropdownsComponent,
43
+ MenuDropdownsMobileComponent,
44
+ NumberingComponent,
45
+ PrintComponent,
46
+ ToolbarActionsComponent,
47
+ UndoRedoComponent,
48
+ ZoomComponent], imports: [ColorPickerComponent,
49
+ CommonModule,
50
+ FontComponent,
51
+ FontSizeComponent,
52
+ InsertTableComponent,
53
+ InsertTableMobileComponent,
54
+ MatAutocompleteModule,
55
+ MatButtonModule,
56
+ MatButtonToggleModule,
57
+ MatExpansionModule,
58
+ MatIconModule,
59
+ MatMenuModule,
60
+ ReactiveFormsModule,
61
+ TextFormatMobileComponent], exports: [EditorMobileToolbarComponent, EditorToolbarComponent] }); }
62
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorToolbarModule, providers: [CustomIconService, EditorToolbarService, ToolbarCoreService], imports: [ColorPickerComponent,
63
+ CommonModule,
64
+ FontComponent,
65
+ FontSizeComponent,
66
+ InsertTableComponent,
67
+ InsertTableMobileComponent,
68
+ MatAutocompleteModule,
69
+ MatButtonModule,
70
+ MatButtonToggleModule,
71
+ MatExpansionModule,
72
+ MatIconModule,
73
+ MatMenuModule,
74
+ ReactiveFormsModule,
75
+ TextFormatMobileComponent] }); }
76
+ }
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EditorToolbarModule, decorators: [{
78
+ type: NgModule,
79
+ args: [{
80
+ declarations: [
81
+ EditorMobileToolbarComponent,
82
+ EditorToolbarComponent,
83
+ FontStyleComponent,
84
+ FontStyleComponent,
85
+ FormatComponent,
86
+ FormatComponent,
87
+ HeadingComponent,
88
+ HeadingComponent,
89
+ MenuDropdownsComponent,
90
+ MenuDropdownsMobileComponent,
91
+ NumberingComponent,
92
+ PrintComponent,
93
+ ToolbarActionsComponent,
94
+ UndoRedoComponent,
95
+ ZoomComponent
96
+ ],
97
+ imports: [
98
+ ColorPickerComponent,
99
+ CommonModule,
100
+ FontComponent,
101
+ FontSizeComponent,
102
+ InsertTableComponent,
103
+ InsertTableMobileComponent,
104
+ MatAutocompleteModule,
105
+ MatButtonModule,
106
+ MatButtonToggleModule,
107
+ MatExpansionModule,
108
+ MatIconModule,
109
+ MatMenuModule,
110
+ ReactiveFormsModule,
111
+ TextFormatMobileComponent
112
+ ],
113
+ providers: [CustomIconService, EditorToolbarService, ToolbarCoreService],
114
+ exports: [EditorMobileToolbarComponent, EditorToolbarComponent]
115
+ }]
116
+ }] });
117
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLXRvb2xiYXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW5vZGVyL3NyYy9saWIvYXBhcnQtY29tcG9uZW50cy9lZGl0b3ItdG9vbGJhci9lZGl0b3ItdG9vbGJhci5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQ3ZF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gJy4vY29tcG9uZW50cy9idXR0b25zL3VuZG8tcmVkby91bmRvLXJlZG8uY29tcG9uZW50JztcbmltcG9ydCB7IFpvb21Db21wb25lbnQgfSBmcm9tICcuL2NvbXBvbmVudHMvYnV0dG9ucy96b29tL3pvb20uY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICAgICAgRWRpdG9yTW9iaWxlVG9vbGJhckNvbXBvbmVudCxcbiAgICAgICAgRWRpdG9yVG9vbGJhckNvbXBvbmVudCxcbiAgICAgICAgRm9udFN0eWxlQ29tcG9uZW50LFxuICAgICAgICBGb250U3R5bGVDb21wb25lbnQsXG4gICAgICAgIEZvcm1hdENvbXBvbmVudCxcbiAgICAgICAgRm9ybWF0Q29tcG9uZW50LFxuICAgICAgICBIZWFkaW5nQ29tcG9uZW50LFxuICAgICAgICBIZWFkaW5nQ29tcG9uZW50LFxuICAgICAgICBNZW51RHJvcGRvd25zQ29tcG9uZW50LFxuICAgICAgICBNZW51RHJvcGRvd25zTW9iaWxlQ29tcG9uZW50LFxuICAgICAgICBOdW1iZXJpbmdDb21wb25lbnQsXG4gICAgICAgIFByaW50Q29tcG9uZW50LFxuICAgICAgICBUb29sYmFyQWN0aW9uc0NvbXBvbmVudCxcbiAgICAgICAgVW5kb1JlZG9Db21wb25lbnQsXG4gICAgICAgIFpvb21Db21wb25lbnRcbiAgICBdLFxuICAgIGltcG9ydHM6IFtcbiAgICAgICAgQ29sb3JQaWNrZXJDb21wb25lbnQsXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgRm9udENvbXBvbmVudCxcbiAgICAgICAgRm9udFNpemVDb21wb25lbnQsXG4gICAgICAgIEluc2VydFRhYmxlQ29tcG9uZW50LFxuICAgICAgICBJbnNlcnRUYWJsZU1vYmlsZUNvbXBvbmVudCxcbiAgICAgICAgTWF0QXV0b2NvbXBsZXRlTW9kdWxlLFxuICAgICAgICBNYXRCdXR0b25Nb2R1bGUsXG4gICAgICAgIE1hdEJ1dHRvblRvZ2dsZU1vZHVsZSxcbiAgICAgICAgTWF0RXhwYW5zaW9uTW9kdWxlLFxuICAgICAgICBNYXRJY29uTW9kdWxlLFxuICAgICAgICBNYXRNZW51TW9kdWxlLFxuICAgICAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxuICAgICAgICBUZXh0Rm9ybWF0TW9iaWxlQ29tcG9uZW50XG4gICAgXSxcbiAgICBwcm92aWRlcnM6IFtDdXN0b21JY29uU2VydmljZSwgRWRpdG9yVG9vbGJhclNlcnZpY2UsIFRvb2xiYXJDb3JlU2VydmljZV0sXG4gICAgZXhwb3J0czogW0VkaXRvck1vYmlsZVRvb2xiYXJDb21wb25lbnQsIEVkaXRvclRvb2xiYXJDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIEVkaXRvclRvb2xiYXJNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,8 @@
1
+ import { EditorToolbarMode } from '../../../../apart-components/editor-toolbar/shared/enums/editor-toolbar-mode.enum';
2
+ export const ACTIONS_MENU_MODS = [
3
+ EditorToolbarMode.Base,
4
+ EditorToolbarMode.AlignFormat,
5
+ EditorToolbarMode.StyleFormat,
6
+ EditorToolbarMode.TextFormat
7
+ ];
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdG9yLXRvb2xiYXItbW9kZXMuY29uc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbm9kZXIvc3JjL2xpYi9hcGFydC1jb21wb25lbnRzL2VkaXRvci10b29sYmFyL3NoYXJlZC9jb25zdGFudHMvZWRpdG9yLXRvb2xiYXItbW9kZXMuY29uc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sbUZBQW1GLENBQUM7QUFFdEgsTUFBTSxDQUFDLE1BQU0saUJBQWlCLEdBQUc7SUFDN0IsaUJBQWlCLENBQUMsSUFBSTtJQUN0QixpQkFBaUIsQ0FBQyxXQUFXO0lBQzdCLGlCQUFpQixDQUFDLFdBQVc7SUFDN0IsaUJBQWlCLENBQUMsVUFBVTtDQUMvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRWRpdG9yVG9vbGJhck1vZGUgfSBmcm9tICcuLi8uLi8uLi8uLi9hcGFydC1jb21wb25lbnRzL2VkaXRvci10b29sYmFyL3NoYXJlZC9lbnVtcy9lZGl0b3ItdG9vbGJhci1tb2RlLmVudW0nO1xuXG5leHBvcnQgY29uc3QgQUNUSU9OU19NRU5VX01PRFMgPSBbXG4gICAgRWRpdG9yVG9vbGJhck1vZGUuQmFzZSxcbiAgICBFZGl0b3JUb29sYmFyTW9kZS5BbGlnbkZvcm1hdCxcbiAgICBFZGl0b3JUb29sYmFyTW9kZS5TdHlsZUZvcm1hdCxcbiAgICBFZGl0b3JUb29sYmFyTW9kZS5UZXh0Rm9ybWF0XG5dO1xuIl19