@talrace/ngx-noder 0.0.7 → 0.0.8

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 (647) hide show
  1. package/README.md +75 -66
  2. package/esm2022/lib/apart-components/add-link-dialog/add-link-dialog.component.mjs +61 -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 +111 -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 +55 -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 +108 -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 +38 -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 +163 -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 +401 -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 +18 -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 +366 -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 +62 -0
  89. package/esm2022/lib/editor/content/contents.interface.mjs +2 -0
  90. package/esm2022/lib/editor/content/display-data/display-token.model.mjs +12 -0
  91. package/esm2022/lib/editor/content/display-data/document.mjs +134 -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/pages.wrap.mjs +226 -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 +52 -0
  100. package/esm2022/lib/editor/content/display-data/text-line-info.mjs +34 -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 +96 -0
  103. package/esm2022/lib/{+shared/editor → editor/content}/helpers/format.helper.mjs +1 -1
  104. package/esm2022/lib/{+shared/editor → editor/content}/helpers/indexed-element.helper.mjs +1 -1
  105. package/esm2022/lib/editor/content/helpers/scaling.helper.mjs +9 -0
  106. package/esm2022/lib/editor/content/margin.model.mjs +16 -0
  107. package/esm2022/lib/editor/content/page-vertical-data.model.mjs +9 -0
  108. package/esm2022/lib/{+shared/editor/core/enums → editor/content}/vertical-alignment.enum.mjs +1 -1
  109. package/esm2022/lib/editor/core/event-emitting.mjs +56 -0
  110. package/esm2022/lib/editor/display/cell.interface.mjs +2 -0
  111. package/esm2022/lib/editor/display/event.helper.mjs +18 -0
  112. package/esm2022/lib/editor/display/layers/cursor.layer.mjs +101 -0
  113. package/esm2022/lib/editor/display/layers/layer.config.mjs +2 -0
  114. package/esm2022/lib/editor/display/layers/pages.layer.mjs +97 -0
  115. package/esm2022/lib/editor/display/layers/print.pages.layer.mjs +7 -0
  116. package/esm2022/lib/editor/display/layers/print.text.layer.mjs +7 -0
  117. package/esm2022/lib/editor/display/layers/selection.layer.mjs +113 -0
  118. package/esm2022/lib/editor/display/layers/text.layer.mjs +203 -0
  119. package/esm2022/lib/editor/display/print/print.helper.mjs +40 -0
  120. package/esm2022/lib/editor/display/print/print.renderer.mjs +67 -0
  121. package/esm2022/lib/editor/display/print/print.rendering.helper.mjs +7 -0
  122. package/esm2022/lib/editor/display/render-changes.interface.mjs +2 -0
  123. package/esm2022/lib/editor/display/render-changes.model.mjs +25 -0
  124. package/esm2022/lib/editor/display/renderer.mjs +206 -0
  125. package/esm2022/lib/editor/display/rendering.helper.mjs +187 -0
  126. package/esm2022/lib/editor/display/renderloop.mjs +26 -0
  127. package/esm2022/lib/editor/display/virtual.renderer.mjs +317 -0
  128. package/esm2022/lib/editor/display/visible-range.interface.mjs +2 -0
  129. package/esm2022/lib/editor/editor.module.mjs +67 -0
  130. package/esm2022/lib/editor/execution/distance.model.mjs +10 -0
  131. package/esm2022/lib/editor/execution/edit.session.mjs +1117 -0
  132. package/esm2022/lib/editor/execution/editor.mjs +1346 -0
  133. package/esm2022/lib/editor/execution/helpers/delta.helper.mjs +18 -0
  134. package/esm2022/lib/editor/execution/helpers/dom.helper.mjs +42 -0
  135. package/esm2022/lib/editor/execution/helpers/format-style.helper.mjs +64 -0
  136. package/esm2022/lib/editor/execution/helpers/page.helper.mjs +12 -0
  137. package/esm2022/lib/editor/execution/helpers/paragraph-style.helper.mjs +41 -0
  138. package/esm2022/lib/editor/execution/helpers/paragraph.helper.mjs +169 -0
  139. package/esm2022/lib/editor/execution/regulator.service.mjs +198 -0
  140. package/esm2022/lib/editor/execution/targeting/cell-session-source.model.mjs +19 -0
  141. package/esm2022/lib/editor/execution/targeting/edge-session-source.model.mjs +15 -0
  142. package/esm2022/lib/editor/execution/targeting/main-session-source.model.mjs +8 -0
  143. package/esm2022/lib/editor/execution/targeting/session-source.model.mjs +3 -0
  144. package/esm2022/lib/editor/execution/targeting/session.model.mjs +10 -0
  145. package/esm2022/lib/editor/gadgets/font-metrics/editor-version.const.mjs +2 -0
  146. package/esm2022/lib/editor/gadgets/font-metrics/font-metric-size.interface.mjs +2 -0
  147. package/esm2022/lib/editor/gadgets/font-metrics/font-metrics.helper.mjs +88 -0
  148. package/esm2022/lib/editor/gadgets/history/operation-history.mjs +206 -0
  149. package/esm2022/lib/editor/gadgets/history/operation.type.mjs +2 -0
  150. package/esm2022/lib/editor/gadgets/history/operations-history-info.model.mjs +7 -0
  151. package/esm2022/lib/editor/gadgets/numbering/numbering-data.model.mjs +9 -0
  152. package/esm2022/lib/{+shared/editor/core/enums → editor/gadgets/numbering}/numbering-marker-type.enum.mjs +1 -1
  153. package/esm2022/lib/editor/gadgets/numbering/numbering.helper.mjs +82 -0
  154. package/esm2022/lib/editor/gadgets/page-break/break-types.enum.mjs +7 -0
  155. package/esm2022/lib/editor/gadgets/page-break/break.helper.mjs +18 -0
  156. package/esm2022/lib/editor/gadgets/scrollbar.mjs +81 -0
  157. package/esm2022/lib/editor/gadgets/search/replace.interface.mjs +2 -0
  158. package/esm2022/lib/editor/gadgets/search/search-iteration.interface.mjs +2 -0
  159. package/esm2022/lib/editor/gadgets/search/search.mjs +231 -0
  160. package/esm2022/lib/editor/gadgets/unicode/unicode-chars.const.mjs +5 -0
  161. package/esm2022/lib/editor/gadgets/unicode/unicode.helper.mjs +20 -0
  162. package/esm2022/lib/editor/interaction/base.handler.mjs +19 -0
  163. package/esm2022/lib/editor/interaction/document.handler.mjs +27 -0
  164. package/esm2022/lib/editor/interaction/editor.service.mjs +325 -0
  165. package/esm2022/lib/editor/interaction/input.handler.mjs +149 -0
  166. package/esm2022/lib/{+shared/enums → editor/interaction}/mode.enum.mjs +1 -1
  167. package/esm2022/lib/editor/interaction/mouse-button.enum.mjs +7 -0
  168. package/esm2022/lib/editor/interaction/mouse.handler.mjs +49 -0
  169. package/esm2022/lib/editor/interaction/text-input.mjs +53 -0
  170. package/esm2022/lib/editor/operations/commands.service.mjs +20 -0
  171. package/esm2022/lib/editor/operations/enums/command-type.enum.mjs +32 -0
  172. package/esm2022/lib/editor/operations/enums/target-type.enum.mjs +7 -0
  173. package/esm2022/lib/editor/operations/helpers/break-operations.helper.mjs +9 -0
  174. package/esm2022/lib/editor/operations/helpers/content-operations.helper.mjs +15 -0
  175. package/esm2022/lib/editor/operations/helpers/format-operations.helper.mjs +55 -0
  176. package/esm2022/lib/editor/operations/helpers/image-operations.helper.mjs +19 -0
  177. package/esm2022/lib/editor/operations/helpers/indexed-element-operations.helper.mjs +43 -0
  178. package/esm2022/lib/editor/operations/helpers/link-operations.helper.mjs +28 -0
  179. package/esm2022/lib/editor/operations/helpers/numbering-operations.helper.mjs +55 -0
  180. package/esm2022/lib/editor/operations/helpers/paragraph-operations.helper.mjs +114 -0
  181. package/esm2022/lib/editor/operations/helpers/tab-operations.helper.mjs +16 -0
  182. package/esm2022/lib/editor/operations/helpers/table-operations.helper.mjs +374 -0
  183. package/esm2022/lib/editor/operations/operations-helper.helper.mjs +432 -0
  184. package/esm2022/lib/editor/operations/save-commands.helper.mjs +127 -0
  185. package/esm2022/lib/editor/operations/target-operations.helper.mjs +23 -0
  186. package/esm2022/lib/editor/positioning/alignments.const.mjs +8 -0
  187. package/esm2022/lib/editor/positioning/content.helper.mjs +36 -0
  188. package/esm2022/lib/editor/positioning/cursor-paragraph.mjs +13 -0
  189. package/esm2022/lib/editor/positioning/cursor-position.interface.mjs +2 -0
  190. package/esm2022/lib/editor/positioning/insert-index.interface.mjs +2 -0
  191. package/esm2022/lib/editor/positioning/line-width.helper.mjs +13 -0
  192. package/esm2022/lib/editor/positioning/position.helper.mjs +194 -0
  193. package/esm2022/lib/editor/positioning/range.mjs +94 -0
  194. package/esm2022/lib/editor/positioning/selection.mjs +307 -0
  195. package/esm2022/lib/editor/revision.helper.mjs +91 -0
  196. package/esm2022/lib/models/generated/cell.model.mjs +1 -1
  197. package/esm2022/lib/models/generated/command.model.mjs +5 -1
  198. package/esm2022/lib/models/generated/insert-paragraph.model.mjs +20 -0
  199. package/esm2022/lib/models/generated/replace.model.mjs +5 -1
  200. package/esm2022/public-api.mjs +37 -31
  201. package/fesm2022/talrace-ngx-noder.mjs +3398 -2731
  202. package/fesm2022/talrace-ngx-noder.mjs.map +1 -1
  203. package/lib/apart-components/add-link-dialog/add-link-dialog.component.d.ts +27 -0
  204. package/lib/apart-components/add-link-dialog/validation.helper.d.ts +5 -0
  205. package/lib/apart-components/add-link-mobile/add-link-mobile.component.d.ts +19 -0
  206. package/lib/{+shared → apart-components}/confirm-dialog/confirm-dialog.component.d.ts +2 -1
  207. package/lib/{+shared → apart-components}/editor-search/editor-search-dialog.component.d.ts +6 -7
  208. package/lib/apart-components/editor-title/editor-title.component.d.ts +25 -0
  209. package/lib/apart-components/editor-title-mobile/editor-title-mobile.component.d.ts +6 -0
  210. package/lib/apart-components/editor-toolbar/components/base-toolbar.component.d.ts +49 -0
  211. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/color-picker/color-picker.component.d.ts +1 -1
  212. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/font/font.component.d.ts +2 -2
  213. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/font-size/font-size.component.d.ts +1 -1
  214. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/font-style/font-style.component.d.ts +1 -1
  215. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/format/format.component.d.ts +2 -2
  216. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/heading/heading.component.d.ts +1 -1
  217. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/numbering/numbering.component.d.ts +3 -3
  218. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/print/print.component.d.ts +1 -1
  219. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/undo-redo/undo-redo.component.d.ts +1 -1
  220. package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/components/buttons}/zoom/zoom.component.d.ts +1 -1
  221. package/lib/apart-components/editor-toolbar/components/menu-dropdowns/menu-dropdowns.component.d.ts +36 -0
  222. package/lib/apart-components/editor-toolbar/components/menu-dropdowns-mobile/menu-dropdowns-mobile.component.d.ts +14 -0
  223. package/lib/apart-components/editor-toolbar/components/toolbar-actions/toolbar-actions.component.d.ts +23 -0
  224. package/lib/apart-components/editor-toolbar/editor-mobile-toolbar/editor-mobile-toolbar.component.d.ts +26 -0
  225. package/lib/apart-components/editor-toolbar/editor-toolbar/editor-toolbar.component.d.ts +40 -0
  226. package/lib/apart-components/editor-toolbar/editor-toolbar.module.d.ts +32 -0
  227. package/lib/apart-components/editor-toolbar/shared/constants/editor-toolbar-modes.const.d.ts +2 -0
  228. package/lib/apart-components/editor-toolbar/shared/constants/numbering-templates.const.d.ts +6 -0
  229. package/lib/apart-components/editor-toolbar/shared/enums/editor-toolbar-mode.enum.d.ts +9 -0
  230. package/lib/apart-components/editor-toolbar/shared/services/editor-toolbar.service.d.ts +14 -0
  231. package/lib/apart-components/editor-toolbar/shared/services/toolbar-core.service.d.ts +38 -0
  232. package/lib/{+shared/editor-toolbar/helpers → apart-components/editor-toolbar/shared}/toolbar-styles.helper.d.ts +2 -2
  233. package/lib/{+shared → apart-components}/insert-table/insert-table.component.d.ts +1 -1
  234. package/lib/apart-components/insert-table-mobile/insert-table-mobile.component.d.ts +30 -0
  235. package/lib/apart-components/text-format-mobile/text-format-mobile.component.d.ts +35 -0
  236. package/lib/{+shared/editor/core/models → editor/components/edges}/edge-element.model.d.ts +1 -1
  237. package/lib/editor/components/edges/edge.component.d.ts +44 -0
  238. package/lib/{+shared/editor/core → editor}/components/edges/edges.d.ts +7 -7
  239. package/lib/{+shared/editor → editor/components}/editor.component.d.ts +11 -11
  240. package/lib/{+shared/editor/custom-components → editor/components}/external-element/external-sidenav.interface.d.ts +1 -1
  241. package/lib/{+shared/editor/custom-components → editor/components}/external-element/external.component.d.ts +4 -4
  242. package/lib/{+shared/editor/custom-components → editor/components}/external-element/models/external-element.model.d.ts +2 -1
  243. package/lib/{+shared/editor/custom-components → editor/components}/image/components/image.component.d.ts +4 -4
  244. package/lib/editor/components/image/image-api.service.d.ts +17 -0
  245. package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/resizer.component.d.ts +2 -2
  246. package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/size-wrapper.d.ts +1 -1
  247. package/lib/{+shared/editor/custom-components → editor/components}/shared/abstract/base.component.d.ts +6 -4
  248. package/lib/editor/components/shared/abstract/destroy.component.d.ts +9 -0
  249. package/lib/{+shared/editor/custom-components/shared/helpers → editor/components/shared}/custom-component.hepler.d.ts +3 -3
  250. package/lib/editor/components/shared/custom-components.interface.d.ts +13 -0
  251. package/lib/editor/components/shared/custom-content.d.ts +5 -0
  252. package/lib/{+shared/editor/custom-components/shared/services/component → editor/components/shared/services}/component.service.d.ts +1 -1
  253. package/lib/editor/components/shared/services/custom-content.service.d.ts +33 -0
  254. package/lib/{+shared/editor/custom-components → editor/components}/tab/tab.component.d.ts +2 -2
  255. package/lib/{+shared/editor/custom-components → editor/components}/table/cell-resizer/cell-resizer.d.ts +2 -1
  256. package/lib/editor/components/table/components/table-cell.component.d.ts +45 -0
  257. package/lib/{+shared/editor/custom-components → editor/components}/table/components/table.component.d.ts +26 -11
  258. package/lib/{+shared/editor/custom-components → editor/components}/table/overlay-menu/overlay-menu.component.d.ts +2 -2
  259. package/lib/{+shared/editor/custom-components → editor/components}/table/selection/table-selection.d.ts +3 -3
  260. package/lib/{+shared/editor/core → editor/content}/constants/editor.const.d.ts +3 -3
  261. package/lib/editor/content/contents.interface.d.ts +22 -0
  262. package/lib/{+shared/editor/core/models → editor/content/display-data}/display-token.model.d.ts +1 -1
  263. package/lib/{+shared/editor/core → editor/content/display-data}/document.d.ts +9 -9
  264. package/lib/{+shared/editor/core/models → editor/content/display-data}/format-ext.model.d.ts +1 -1
  265. package/lib/{+shared/editor/execution/models → editor/content/display-data}/general-properties.model.d.ts +2 -1
  266. package/lib/{+shared/editor/core/models → editor/content/display-data}/line-info.model.d.ts +1 -0
  267. package/lib/{+shared/editor/core/layers → editor/content/display-data}/lines.d.ts +1 -1
  268. package/lib/editor/content/display-data/pages.wrap.d.ts +42 -0
  269. package/lib/{+shared/editor/core/paging → editor/content/display-data}/paragraph.d.ts +8 -5
  270. package/lib/{+shared/editor/core/paging → editor/content/display-data}/text-line-info.d.ts +4 -2
  271. package/lib/editor/content/helpers/content-style.helper.d.ts +11 -0
  272. package/lib/{+shared/editor → editor/content}/helpers/indexed-element.helper.d.ts +1 -1
  273. package/lib/editor/content/helpers/scaling.helper.d.ts +4 -0
  274. package/lib/{+shared/editor/core/paging → editor/content}/page-vertical-data.model.d.ts +1 -1
  275. package/lib/{+shared/editor/core/base → editor/core}/event-emitting.d.ts +0 -5
  276. package/lib/{+shared/editor/core → editor/display}/layers/cursor.layer.d.ts +7 -8
  277. package/lib/{+shared/editor/core/interfaces → editor/display/layers}/layer.config.d.ts +2 -2
  278. package/lib/{+shared/editor/core → editor/display}/layers/pages.layer.d.ts +5 -6
  279. package/lib/editor/display/layers/print.text.layer.d.ts +4 -0
  280. package/lib/{+shared/editor/core → editor/display}/layers/selection.layer.d.ts +5 -6
  281. package/lib/editor/display/layers/text.layer.d.ts +34 -0
  282. package/lib/{+shared/helpers → editor/display/print}/print.helper.d.ts +3 -3
  283. package/lib/editor/display/print/print.renderer.d.ts +23 -0
  284. package/lib/{+shared/editor/core/helpers → editor/display/print}/print.rendering.helper.d.ts +2 -2
  285. package/lib/{+shared/editor/core/models → editor/display}/render-changes.model.d.ts +1 -1
  286. package/lib/{+shared/editor/core → editor/display}/renderer.d.ts +10 -13
  287. package/lib/{+shared/editor/core/helpers → editor/display}/rendering.helper.d.ts +10 -10
  288. package/lib/{+shared/editor/core/layers → editor/display}/renderloop.d.ts +2 -2
  289. package/lib/{+shared/editor/core → editor/display}/virtual.renderer.d.ts +14 -29
  290. package/lib/editor/editor.module.d.ts +31 -0
  291. package/lib/{+shared/editor/core → editor/execution}/edit.session.d.ts +65 -63
  292. package/lib/{+shared/editor/core → editor/execution}/editor.d.ts +48 -42
  293. package/lib/editor/execution/helpers/delta.helper.d.ts +6 -0
  294. package/lib/{+shared/editor/core → editor/execution}/helpers/format-style.helper.d.ts +3 -5
  295. package/lib/{+shared/editor/core → editor/execution}/helpers/page.helper.d.ts +1 -1
  296. package/lib/{+shared/editor/core → editor/execution}/helpers/paragraph-style.helper.d.ts +1 -1
  297. package/lib/{+shared/editor/core → editor/execution}/helpers/paragraph.helper.d.ts +14 -8
  298. package/lib/{+shared/editor → editor}/execution/regulator.service.d.ts +16 -15
  299. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/cell-session-source.model.d.ts +3 -3
  300. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/edge-session-source.model.d.ts +3 -3
  301. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/main-session-source.model.d.ts +1 -1
  302. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/session-source.model.d.ts +1 -1
  303. package/lib/{+shared/editor/execution/models → editor/execution/targeting}/session.model.d.ts +3 -3
  304. package/lib/{+shared/editor/core/helpers → editor/gadgets/font-metrics}/font-metrics.helper.d.ts +1 -1
  305. package/lib/{+shared/editor/operation-history → editor/gadgets/history}/operation-history.d.ts +9 -7
  306. package/lib/{+shared/editor/operation-history → editor/gadgets/history}/operation.type.d.ts +2 -1
  307. package/lib/{+shared/editor/core/models → editor/gadgets/numbering}/numbering-data.model.d.ts +1 -1
  308. package/lib/{+shared/editor/core/helpers → editor/gadgets/numbering}/numbering.helper.d.ts +8 -8
  309. package/lib/{+shared/editor/helpers → editor/gadgets/page-break}/break.helper.d.ts +2 -2
  310. package/lib/{+shared/editor/core/layers → editor/gadgets}/scrollbar.d.ts +9 -18
  311. package/lib/{+shared/editor/core → editor/gadgets/search}/search.d.ts +4 -4
  312. package/lib/editor/interaction/base.handler.d.ts +9 -0
  313. package/lib/editor/interaction/document.handler.d.ts +10 -0
  314. package/lib/{+shared/editor → editor}/interaction/editor.service.d.ts +24 -18
  315. package/lib/{+shared/editor → editor}/interaction/input.handler.d.ts +4 -5
  316. package/lib/{+shared/editor → editor}/interaction/mouse.handler.d.ts +1 -1
  317. package/lib/{+shared/editor → editor}/operations/enums/command-type.enum.d.ts +11 -10
  318. package/lib/{+shared/editor → editor}/operations/helpers/break-operations.helper.d.ts +2 -2
  319. package/lib/{+shared/editor → editor}/operations/helpers/format-operations.helper.d.ts +2 -2
  320. package/lib/editor/operations/helpers/image-operations.helper.d.ts +7 -0
  321. package/lib/{+shared/editor → editor}/operations/helpers/indexed-element-operations.helper.d.ts +1 -1
  322. package/lib/{+shared/editor → editor}/operations/helpers/link-operations.helper.d.ts +1 -1
  323. package/lib/{+shared/editor → editor}/operations/helpers/numbering-operations.helper.d.ts +3 -3
  324. package/lib/{+shared/editor → editor}/operations/helpers/paragraph-operations.helper.d.ts +3 -2
  325. package/lib/{+shared/editor → editor}/operations/helpers/tab-operations.helper.d.ts +1 -1
  326. package/lib/{+shared/editor → editor}/operations/helpers/table-operations.helper.d.ts +6 -6
  327. package/lib/{+shared/editor/operations/helpers → editor/operations}/operations-helper.helper.d.ts +21 -19
  328. package/lib/{+shared/editor/operations/helpers → editor/operations}/save-commands.helper.d.ts +28 -22
  329. package/lib/editor/operations/target-operations.helper.d.ts +6 -0
  330. package/lib/{+shared/editor/helpers → editor/positioning}/content.helper.d.ts +10 -5
  331. package/lib/editor/positioning/cursor-paragraph.d.ts +7 -0
  332. package/lib/{+shared/editor/core/interfaces → editor/positioning}/cursor-position.interface.d.ts +1 -1
  333. package/lib/{+shared/editor/core/helpers → editor/positioning}/line-width.helper.d.ts +2 -2
  334. package/lib/{+shared/editor/core/helpers → editor/positioning}/position.helper.d.ts +9 -9
  335. package/lib/{+shared/editor/core → editor/positioning}/range.d.ts +12 -12
  336. package/lib/{+shared/editor → editor}/positioning/selection.d.ts +10 -10
  337. package/lib/editor/revision.helper.d.ts +15 -0
  338. package/lib/models/generated/cell.model.d.ts +1 -0
  339. package/lib/models/generated/command.model.d.ts +2 -0
  340. package/lib/models/generated/insert-paragraph.model.d.ts +10 -0
  341. package/lib/models/generated/replace.model.d.ts +2 -0
  342. package/package.json +1 -1
  343. package/public-api.d.ts +36 -30
  344. package/src/_ngx-noder.theme.scss +20 -13
  345. package/src/assets/fonts/nc-iconfont.css +112 -106
  346. package/src/assets/fonts/nc-iconfont.eot +0 -0
  347. package/src/assets/fonts/nc-iconfont.svg +4 -1
  348. package/src/assets/fonts/nc-iconfont.ttf +0 -0
  349. package/src/assets/fonts/nc-iconfont.woff +0 -0
  350. package/src/lib/{+shared → apart-components}/add-link-dialog/_add-link-dialog.theme.scss +4 -4
  351. package/src/lib/apart-components/add-link-mobile/_add-link-mobile.theme.scss +25 -0
  352. package/src/lib/apart-components/confirm-dialog/_theme.scss +30 -0
  353. package/src/lib/apart-components/editor-title/_editor-title.theme.scss +28 -0
  354. package/src/lib/apart-components/editor-title-mobile/_editor-title-mobile.theme.scss +42 -0
  355. package/src/lib/apart-components/editor-toolbar/_editor-toolbar.theme.scss +27 -0
  356. package/src/lib/apart-components/editor-toolbar/_theme.scss +25 -0
  357. package/src/lib/apart-components/editor-toolbar/components/buttons/color-picker/_color-picker.theme.scss +12 -0
  358. package/src/lib/apart-components/editor-toolbar/components/buttons/font/_font.theme.scss +12 -0
  359. package/src/lib/apart-components/editor-toolbar/components/buttons/font-size/_font-size.theme.scss +14 -0
  360. package/src/lib/apart-components/editor-toolbar/components/buttons/font-style/_font-style.theme.scss +21 -0
  361. package/src/lib/apart-components/editor-toolbar/components/buttons/format/_format.theme.scss +21 -0
  362. package/src/lib/apart-components/editor-toolbar/components/buttons/numbering/_numbering.theme.scss +70 -0
  363. package/src/lib/apart-components/editor-toolbar/components/buttons/undo-redo/_undo-redo.theme.scss +16 -0
  364. package/src/lib/apart-components/editor-toolbar/components/menu-dropdowns/_menu-dropdowns.theme.scss +26 -0
  365. package/src/lib/apart-components/editor-toolbar/components/menu-dropdowns-mobile/_menu-dropdowns-mobile.theme.scss +33 -0
  366. package/src/lib/apart-components/editor-toolbar/components/toolbar-actions/_toolbar-actions.theme.scss +22 -0
  367. package/src/lib/{+shared → apart-components}/insert-table/_insert-table.theme.scss +10 -7
  368. package/src/lib/apart-components/insert-table-mobile/_insert-table-mobile.theme.scss +54 -0
  369. package/src/lib/apart-components/text-format-mobile/_text-format-mobile.theme.scss +86 -0
  370. package/src/lib/editor/_theme.scss +5 -0
  371. package/src/lib/editor/components/_editor.theme.scss +112 -0
  372. package/src/scss/_fonts.scss +3 -0
  373. package/src/scss/base-editor.scss +329 -0
  374. package/src/styles.scss +3 -58
  375. package/esm2022/lib/+shared/abstract/base-api.service.mjs +0 -99
  376. package/esm2022/lib/+shared/abstract/observer.component.mjs +0 -24
  377. package/esm2022/lib/+shared/confirm-dialog/confirm-dialog.component.mjs +0 -28
  378. package/esm2022/lib/+shared/constants/default-file-name.const.mjs +0 -2
  379. package/esm2022/lib/+shared/constants/paginator-sizes.const.mjs +0 -3
  380. package/esm2022/lib/+shared/editor/core/base/event-emitting.mjs +0 -71
  381. package/esm2022/lib/+shared/editor/core/components/edges/edge-type.enum.mjs +0 -6
  382. package/esm2022/lib/+shared/editor/core/components/edges/edge.component.mjs +0 -100
  383. package/esm2022/lib/+shared/editor/core/components/edges/edges.mjs +0 -104
  384. package/esm2022/lib/+shared/editor/core/constants/alignments.const.mjs +0 -8
  385. package/esm2022/lib/+shared/editor/core/constants/clipboardEventTypes.const.mjs +0 -6
  386. package/esm2022/lib/+shared/editor/core/constants/content-style-change.const.mjs +0 -15
  387. package/esm2022/lib/+shared/editor/core/constants/display-values.const.mjs +0 -8
  388. package/esm2022/lib/+shared/editor/core/constants/document-info.const.mjs +0 -13
  389. package/esm2022/lib/+shared/editor/core/constants/editor-version.const.mjs +0 -2
  390. package/esm2022/lib/+shared/editor/core/constants/editor.const.mjs +0 -62
  391. package/esm2022/lib/+shared/editor/core/constants/unicode-chars.const.mjs +0 -5
  392. package/esm2022/lib/+shared/editor/core/document.mjs +0 -134
  393. package/esm2022/lib/+shared/editor/core/edit.session.mjs +0 -1102
  394. package/esm2022/lib/+shared/editor/core/editor.mjs +0 -1279
  395. package/esm2022/lib/+shared/editor/core/enums/break-types.enum.mjs +0 -7
  396. package/esm2022/lib/+shared/editor/core/enums/mouse-button.enum.mjs +0 -7
  397. package/esm2022/lib/+shared/editor/core/enums/page-type.enum.mjs +0 -7
  398. package/esm2022/lib/+shared/editor/core/helpers/content-style.helper.mjs +0 -156
  399. package/esm2022/lib/+shared/editor/core/helpers/delta.helper.mjs +0 -18
  400. package/esm2022/lib/+shared/editor/core/helpers/dom.helper.mjs +0 -42
  401. package/esm2022/lib/+shared/editor/core/helpers/event.helper.mjs +0 -18
  402. package/esm2022/lib/+shared/editor/core/helpers/font-metrics.helper.mjs +0 -88
  403. package/esm2022/lib/+shared/editor/core/helpers/format-style.helper.mjs +0 -72
  404. package/esm2022/lib/+shared/editor/core/helpers/line-width.helper.mjs +0 -13
  405. package/esm2022/lib/+shared/editor/core/helpers/numbering.helper.mjs +0 -83
  406. package/esm2022/lib/+shared/editor/core/helpers/page.helper.mjs +0 -12
  407. package/esm2022/lib/+shared/editor/core/helpers/paragraph-style.helper.mjs +0 -41
  408. package/esm2022/lib/+shared/editor/core/helpers/paragraph.helper.mjs +0 -132
  409. package/esm2022/lib/+shared/editor/core/helpers/position.helper.mjs +0 -191
  410. package/esm2022/lib/+shared/editor/core/helpers/print.rendering.helper.mjs +0 -7
  411. package/esm2022/lib/+shared/editor/core/helpers/rendering.helper.mjs +0 -186
  412. package/esm2022/lib/+shared/editor/core/helpers/unicode.helper.mjs +0 -20
  413. package/esm2022/lib/+shared/editor/core/interfaces/cell.interface.mjs +0 -2
  414. package/esm2022/lib/+shared/editor/core/interfaces/cursor-position.interface.mjs +0 -2
  415. package/esm2022/lib/+shared/editor/core/interfaces/font-metric-size.interface.mjs +0 -2
  416. package/esm2022/lib/+shared/editor/core/interfaces/layer.config.mjs +0 -2
  417. package/esm2022/lib/+shared/editor/core/interfaces/paragraph-info.interface.mjs +0 -2
  418. package/esm2022/lib/+shared/editor/core/interfaces/render-changes.interface.mjs +0 -2
  419. package/esm2022/lib/+shared/editor/core/interfaces/replace.interface.mjs +0 -2
  420. package/esm2022/lib/+shared/editor/core/interfaces/search-iteration.interface.mjs +0 -2
  421. package/esm2022/lib/+shared/editor/core/interfaces/toolbar-styles.interface.mjs +0 -2
  422. package/esm2022/lib/+shared/editor/core/interfaces/visible-line-info.interface.mjs +0 -2
  423. package/esm2022/lib/+shared/editor/core/interfaces/visible-range.interface.mjs +0 -2
  424. package/esm2022/lib/+shared/editor/core/keyboard/text-input.mjs +0 -53
  425. package/esm2022/lib/+shared/editor/core/layers/cursor.layer.mjs +0 -103
  426. package/esm2022/lib/+shared/editor/core/layers/edges.layer.mjs +0 -99
  427. package/esm2022/lib/+shared/editor/core/layers/lines.mjs +0 -96
  428. package/esm2022/lib/+shared/editor/core/layers/pages.layer.mjs +0 -106
  429. package/esm2022/lib/+shared/editor/core/layers/print.edges.layer.mjs +0 -7
  430. package/esm2022/lib/+shared/editor/core/layers/print.pages.layer.mjs +0 -7
  431. package/esm2022/lib/+shared/editor/core/layers/print.text.layer.mjs +0 -7
  432. package/esm2022/lib/+shared/editor/core/layers/renderloop.mjs +0 -26
  433. package/esm2022/lib/+shared/editor/core/layers/scrollbar.mjs +0 -100
  434. package/esm2022/lib/+shared/editor/core/layers/selection.layer.mjs +0 -115
  435. package/esm2022/lib/+shared/editor/core/layers/text.layer.mjs +0 -124
  436. package/esm2022/lib/+shared/editor/core/models/display-token.model.mjs +0 -12
  437. package/esm2022/lib/+shared/editor/core/models/distance.model.mjs +0 -10
  438. package/esm2022/lib/+shared/editor/core/models/edge-element.model.mjs +0 -9
  439. package/esm2022/lib/+shared/editor/core/models/format-ext.model.mjs +0 -10
  440. package/esm2022/lib/+shared/editor/core/models/indent.model.mjs +0 -9
  441. package/esm2022/lib/+shared/editor/core/models/line-info.model.mjs +0 -9
  442. package/esm2022/lib/+shared/editor/core/models/margin.model.mjs +0 -16
  443. package/esm2022/lib/+shared/editor/core/models/numbering-data.model.mjs +0 -9
  444. package/esm2022/lib/+shared/editor/core/models/render-changes.model.mjs +0 -25
  445. package/esm2022/lib/+shared/editor/core/paging/page-vertical-data.model.mjs +0 -9
  446. package/esm2022/lib/+shared/editor/core/paging/pages.wrap.mjs +0 -219
  447. package/esm2022/lib/+shared/editor/core/paging/paragraph.mjs +0 -52
  448. package/esm2022/lib/+shared/editor/core/paging/text-line-info.mjs +0 -34
  449. package/esm2022/lib/+shared/editor/core/point.mjs +0 -13
  450. package/esm2022/lib/+shared/editor/core/print.renderer.mjs +0 -72
  451. package/esm2022/lib/+shared/editor/core/range.mjs +0 -94
  452. package/esm2022/lib/+shared/editor/core/renderer.mjs +0 -217
  453. package/esm2022/lib/+shared/editor/core/search.mjs +0 -231
  454. package/esm2022/lib/+shared/editor/core/virtual.renderer.mjs +0 -356
  455. package/esm2022/lib/+shared/editor/custom-components/external-element/element-toolbar/element-toolbar.component.mjs +0 -35
  456. package/esm2022/lib/+shared/editor/custom-components/external-element/external-element.service.mjs +0 -6
  457. package/esm2022/lib/+shared/editor/custom-components/external-element/external-elements.const.mjs +0 -4
  458. package/esm2022/lib/+shared/editor/custom-components/external-element/external-sidenav.interface.mjs +0 -2
  459. package/esm2022/lib/+shared/editor/custom-components/external-element/external.component.mjs +0 -41
  460. package/esm2022/lib/+shared/editor/custom-components/external-element/models/element-data.model.mjs +0 -9
  461. package/esm2022/lib/+shared/editor/custom-components/external-element/models/external-element.model.mjs +0 -10
  462. package/esm2022/lib/+shared/editor/custom-components/external-element/models/external-sidenav.model.mjs +0 -15
  463. package/esm2022/lib/+shared/editor/custom-components/image/components/image.component.mjs +0 -87
  464. package/esm2022/lib/+shared/editor/custom-components/image/input-handler/image-input.handler.mjs +0 -38
  465. package/esm2022/lib/+shared/editor/custom-components/image/interfaces/size.mjs +0 -2
  466. package/esm2022/lib/+shared/editor/custom-components/image/resizer/coordinate.mjs +0 -2
  467. package/esm2022/lib/+shared/editor/custom-components/image/resizer/direction-wrapper.mjs +0 -19
  468. package/esm2022/lib/+shared/editor/custom-components/image/resizer/direction.enum.mjs +0 -12
  469. package/esm2022/lib/+shared/editor/custom-components/image/resizer/resizer.component.mjs +0 -106
  470. package/esm2022/lib/+shared/editor/custom-components/image/resizer/size-delta.mjs +0 -2
  471. package/esm2022/lib/+shared/editor/custom-components/image/resizer/size-wrapper.mjs +0 -52
  472. package/esm2022/lib/+shared/editor/custom-components/image/services/image-api.service.mjs +0 -14
  473. package/esm2022/lib/+shared/editor/custom-components/shared/abstract/base.component.mjs +0 -57
  474. package/esm2022/lib/+shared/editor/custom-components/shared/constants/custom-content-markers.const.mjs +0 -3
  475. package/esm2022/lib/+shared/editor/custom-components/shared/helpers/custom-component.hepler.mjs +0 -43
  476. package/esm2022/lib/+shared/editor/custom-components/shared/interfaces/custom-components.interface.mjs +0 -2
  477. package/esm2022/lib/+shared/editor/custom-components/shared/services/component/component.service.mjs +0 -64
  478. package/esm2022/lib/+shared/editor/custom-components/shared/services/custom-content/custom-content.service.mjs +0 -120
  479. package/esm2022/lib/+shared/editor/custom-components/shared/services/overlay/overlay.service.mjs +0 -55
  480. package/esm2022/lib/+shared/editor/custom-components/shared/types/custom-content.mjs +0 -2
  481. package/esm2022/lib/+shared/editor/custom-components/tab/tab.component.mjs +0 -43
  482. package/esm2022/lib/+shared/editor/custom-components/table/cell-resizer/cell-resizer.mjs +0 -118
  483. package/esm2022/lib/+shared/editor/custom-components/table/components/table-cell.component.mjs +0 -95
  484. package/esm2022/lib/+shared/editor/custom-components/table/components/table.component.mjs +0 -293
  485. package/esm2022/lib/+shared/editor/custom-components/table/enums/reisizer-side.enum.mjs +0 -8
  486. package/esm2022/lib/+shared/editor/custom-components/table/enums/vertical-merge.enum.mjs +0 -6
  487. package/esm2022/lib/+shared/editor/custom-components/table/models/cell-data.model.mjs +0 -18
  488. package/esm2022/lib/+shared/editor/custom-components/table/models/cell-resizer-parameters.model.mjs +0 -9
  489. package/esm2022/lib/+shared/editor/custom-components/table/models/row-data.model.mjs +0 -8
  490. package/esm2022/lib/+shared/editor/custom-components/table/models/selection-range.model.mjs +0 -7
  491. package/esm2022/lib/+shared/editor/custom-components/table/overlay-menu/overlay-menu.component.mjs +0 -74
  492. package/esm2022/lib/+shared/editor/custom-components/table/selection/table-selection.mjs +0 -358
  493. package/esm2022/lib/+shared/editor/editor.component.mjs +0 -103
  494. package/esm2022/lib/+shared/editor/editor.module.mjs +0 -85
  495. package/esm2022/lib/+shared/editor/execution/models/cell-session-source.model.mjs +0 -19
  496. package/esm2022/lib/+shared/editor/execution/models/edge-session-source.model.mjs +0 -15
  497. package/esm2022/lib/+shared/editor/execution/models/general-properties.model.mjs +0 -11
  498. package/esm2022/lib/+shared/editor/execution/models/main-session-source.model.mjs +0 -8
  499. package/esm2022/lib/+shared/editor/execution/models/session-source.model.mjs +0 -3
  500. package/esm2022/lib/+shared/editor/execution/models/session.model.mjs +0 -10
  501. package/esm2022/lib/+shared/editor/execution/regulator.service.mjs +0 -193
  502. package/esm2022/lib/+shared/editor/helpers/break.helper.mjs +0 -18
  503. package/esm2022/lib/+shared/editor/helpers/content.helper.mjs +0 -30
  504. package/esm2022/lib/+shared/editor/helpers/tab.helper.mjs +0 -6
  505. package/esm2022/lib/+shared/editor/interaction/editor.service.mjs +0 -309
  506. package/esm2022/lib/+shared/editor/interaction/input.handler.mjs +0 -160
  507. package/esm2022/lib/+shared/editor/interaction/mouse.handler.mjs +0 -49
  508. package/esm2022/lib/+shared/editor/interfaces/contents.interface.mjs +0 -2
  509. package/esm2022/lib/+shared/editor/interfaces/insert-index.interface.mjs +0 -2
  510. package/esm2022/lib/+shared/editor/operation-history/operation-history.mjs +0 -184
  511. package/esm2022/lib/+shared/editor/operation-history/operation.type.mjs +0 -2
  512. package/esm2022/lib/+shared/editor/operation-history/operations-history-info.model.mjs +0 -7
  513. package/esm2022/lib/+shared/editor/operations/enums/command-type.enum.mjs +0 -31
  514. package/esm2022/lib/+shared/editor/operations/enums/target-type.enum.mjs +0 -7
  515. package/esm2022/lib/+shared/editor/operations/helpers/break-operations.helper.mjs +0 -9
  516. package/esm2022/lib/+shared/editor/operations/helpers/content-operations.helper.mjs +0 -15
  517. package/esm2022/lib/+shared/editor/operations/helpers/format-operations.helper.mjs +0 -56
  518. package/esm2022/lib/+shared/editor/operations/helpers/image-operations.helper.mjs +0 -19
  519. package/esm2022/lib/+shared/editor/operations/helpers/indexed-element-operations.helper.mjs +0 -43
  520. package/esm2022/lib/+shared/editor/operations/helpers/link-operations.helper.mjs +0 -28
  521. package/esm2022/lib/+shared/editor/operations/helpers/numbering-operations.helper.mjs +0 -55
  522. package/esm2022/lib/+shared/editor/operations/helpers/operations-helper.helper.mjs +0 -394
  523. package/esm2022/lib/+shared/editor/operations/helpers/paragraph-operations.helper.mjs +0 -83
  524. package/esm2022/lib/+shared/editor/operations/helpers/save-commands.helper.mjs +0 -118
  525. package/esm2022/lib/+shared/editor/operations/helpers/tab-operations.helper.mjs +0 -16
  526. package/esm2022/lib/+shared/editor/operations/helpers/table-operations.helper.mjs +0 -371
  527. package/esm2022/lib/+shared/editor/operations/helpers/target-operations.helper.mjs +0 -23
  528. package/esm2022/lib/+shared/editor/positioning/selection.mjs +0 -307
  529. package/esm2022/lib/+shared/editor/store/editor.actions.mjs +0 -13
  530. package/esm2022/lib/+shared/editor-header/editor-header.component.mjs +0 -314
  531. package/esm2022/lib/+shared/editor-search/editor-search-dialog.component.mjs +0 -71
  532. package/esm2022/lib/+shared/editor-toolbar/color-picker/color-picker.component.mjs +0 -32
  533. package/esm2022/lib/+shared/editor-toolbar/constants/svg-icons.const.mjs +0 -157
  534. package/esm2022/lib/+shared/editor-toolbar/editor-toolbar.component.mjs +0 -115
  535. package/esm2022/lib/+shared/editor-toolbar/editor-toolbar.module.mjs +0 -107
  536. package/esm2022/lib/+shared/editor-toolbar/enums/alignment.enum.mjs +0 -8
  537. package/esm2022/lib/+shared/editor-toolbar/enums/numbering-type.enum.mjs +0 -6
  538. package/esm2022/lib/+shared/editor-toolbar/font/font.component.mjs +0 -45
  539. package/esm2022/lib/+shared/editor-toolbar/font-size/font-size.component.mjs +0 -85
  540. package/esm2022/lib/+shared/editor-toolbar/font-style/font-style.component.mjs +0 -80
  541. package/esm2022/lib/+shared/editor-toolbar/format/format.component.mjs +0 -28
  542. package/esm2022/lib/+shared/editor-toolbar/heading/heading.component.mjs +0 -23
  543. package/esm2022/lib/+shared/editor-toolbar/helpers/toolbar-styles.helper.mjs +0 -55
  544. package/esm2022/lib/+shared/editor-toolbar/numbering/numbering.component.mjs +0 -53
  545. package/esm2022/lib/+shared/editor-toolbar/print/print.component.mjs +0 -18
  546. package/esm2022/lib/+shared/editor-toolbar/undo-redo/undo-redo.component.mjs +0 -27
  547. package/esm2022/lib/+shared/editor-toolbar/zoom/zoom.component.mjs +0 -74
  548. package/esm2022/lib/+shared/helpers/print.helper.mjs +0 -40
  549. package/esm2022/lib/+shared/insert-table/insert-table.component.mjs +0 -54
  550. package/esm2022/lib/+shared/services/commands.service.mjs +0 -20
  551. package/esm2022/lib/+shared/services/custom-icon.service.mjs +0 -34
  552. package/lib/+shared/abstract/base-api.service.d.ts +0 -23
  553. package/lib/+shared/abstract/observer.component.d.ts +0 -10
  554. package/lib/+shared/constants/default-file-name.const.d.ts +0 -1
  555. package/lib/+shared/constants/paginator-sizes.const.d.ts +0 -2
  556. package/lib/+shared/editor/core/components/edges/edge.component.d.ts +0 -45
  557. package/lib/+shared/editor/core/constants/clipboardEventTypes.const.d.ts +0 -5
  558. package/lib/+shared/editor/core/constants/content-style-change.const.d.ts +0 -14
  559. package/lib/+shared/editor/core/helpers/content-style.helper.d.ts +0 -16
  560. package/lib/+shared/editor/core/helpers/delta.helper.d.ts +0 -6
  561. package/lib/+shared/editor/core/interfaces/visible-line-info.interface.d.ts +0 -5
  562. package/lib/+shared/editor/core/layers/edges.layer.d.ts +0 -24
  563. package/lib/+shared/editor/core/layers/print.edges.layer.d.ts +0 -4
  564. package/lib/+shared/editor/core/layers/print.text.layer.d.ts +0 -5
  565. package/lib/+shared/editor/core/layers/text.layer.d.ts +0 -22
  566. package/lib/+shared/editor/core/paging/pages.wrap.d.ts +0 -41
  567. package/lib/+shared/editor/core/point.d.ts +0 -7
  568. package/lib/+shared/editor/core/print.renderer.d.ts +0 -25
  569. package/lib/+shared/editor/custom-components/external-element/element-toolbar/element-toolbar.component.d.ts +0 -14
  570. package/lib/+shared/editor/custom-components/image/services/image-api.service.d.ts +0 -8
  571. package/lib/+shared/editor/custom-components/shared/interfaces/custom-components.interface.d.ts +0 -13
  572. package/lib/+shared/editor/custom-components/shared/services/custom-content/custom-content.service.d.ts +0 -30
  573. package/lib/+shared/editor/custom-components/shared/types/custom-content.d.ts +0 -5
  574. package/lib/+shared/editor/custom-components/table/components/table-cell.component.d.ts +0 -45
  575. package/lib/+shared/editor/editor.module.d.ts +0 -30
  576. package/lib/+shared/editor/interfaces/contents.interface.d.ts +0 -22
  577. package/lib/+shared/editor/operations/helpers/image-operations.helper.d.ts +0 -7
  578. package/lib/+shared/editor/operations/helpers/target-operations.helper.d.ts +0 -6
  579. package/lib/+shared/editor/store/editor.actions.d.ts +0 -11
  580. package/lib/+shared/editor-header/editor-header.component.d.ts +0 -101
  581. package/lib/+shared/editor-toolbar/constants/numbering-templates.const.d.ts +0 -6
  582. package/lib/+shared/editor-toolbar/editor-toolbar.component.d.ts +0 -44
  583. package/lib/+shared/editor-toolbar/editor-toolbar.module.d.ts +0 -28
  584. package/src/lib/+shared/editor/_editor.theme.scss +0 -35
  585. package/src/lib/+shared/editor/custom-components/external-element/element-toolbar/_element-toolbar.theme.scss +0 -10
  586. package/src/lib/+shared/editor-header/_editor-header.theme.scss +0 -106
  587. package/src/lib/+shared/editor-toolbar/_editor-toolbar.theme.scss +0 -33
  588. package/src/lib/+shared/editor-toolbar/numbering/_numbering.theme.scss +0 -29
  589. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/constants/svg-icons.const.d.ts +0 -0
  590. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/alignment.enum.d.ts +0 -0
  591. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/numbering-template-type.enum.d.ts +0 -0
  592. /package/lib/{+shared/editor-toolbar → apart-components/editor-toolbar/shared}/enums/numbering-type.enum.d.ts +0 -0
  593. /package/lib/{+shared → apart-components/editor-toolbar/shared}/services/custom-icon.service.d.ts +0 -0
  594. /package/lib/{+shared/editor/core → editor}/components/edges/edge-type.enum.d.ts +0 -0
  595. /package/lib/{+shared/editor/core/enums → editor/components/edges}/page-type.enum.d.ts +0 -0
  596. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/external-element.service.d.ts +0 -0
  597. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/external-elements.const.d.ts +0 -0
  598. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/models/element-data.model.d.ts +0 -0
  599. /package/lib/{+shared/editor/custom-components → editor/components}/external-element/models/external-sidenav.model.d.ts +0 -0
  600. /package/lib/{+shared/editor/custom-components → editor/components}/image/input-handler/image-input.handler.d.ts +0 -0
  601. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/coordinate.d.ts +0 -0
  602. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/direction-wrapper.d.ts +0 -0
  603. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/direction.enum.d.ts +0 -0
  604. /package/lib/{+shared/editor/custom-components → editor/components}/image/resizer/size-delta.d.ts +0 -0
  605. /package/lib/{+shared/editor/custom-components/image/interfaces → editor/components/image}/size.d.ts +0 -0
  606. /package/lib/{+shared/editor/custom-components/shared/constants → editor/components/shared}/custom-content-markers.const.d.ts +0 -0
  607. /package/lib/{+shared/editor/custom-components/shared/services/overlay → editor/components/shared/services}/overlay.service.d.ts +0 -0
  608. /package/lib/{+shared/editor/helpers → editor/components/tab}/tab.helper.d.ts +0 -0
  609. /package/lib/{+shared/editor/core → editor/components/table}/enums/hrule.enum.d.ts +0 -0
  610. /package/lib/{+shared/editor/custom-components → editor/components}/table/enums/reisizer-side.enum.d.ts +0 -0
  611. /package/lib/{+shared/editor/custom-components → editor/components}/table/enums/vertical-merge.enum.d.ts +0 -0
  612. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/cell-data.model.d.ts +0 -0
  613. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/cell-resizer-parameters.model.d.ts +0 -0
  614. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/row-data.model.d.ts +0 -0
  615. /package/lib/{+shared/editor/custom-components → editor/components}/table/models/selection-range.model.d.ts +0 -0
  616. /package/lib/{+shared/editor/core → editor/content}/constants/display-values.const.d.ts +0 -0
  617. /package/lib/{+shared/editor/core → editor/content}/constants/document-info.const.d.ts +0 -0
  618. /package/lib/{+shared/editor/core/models → editor/content/display-data}/indent.model.d.ts +0 -0
  619. /package/lib/{+shared/editor/core/interfaces → editor/content/display-data}/paragraph-info.interface.d.ts +0 -0
  620. /package/lib/{+shared/editor/core/interfaces → editor/content/display-data}/toolbar-styles.interface.d.ts +0 -0
  621. /package/lib/{+shared/editor → editor/content}/helpers/format.helper.d.ts +0 -0
  622. /package/lib/{+shared/editor/core/models → editor/content}/margin.model.d.ts +0 -0
  623. /package/lib/{+shared/editor/core/enums → editor/content}/vertical-alignment.enum.d.ts +0 -0
  624. /package/lib/{+shared/editor/core/interfaces → editor/display}/cell.interface.d.ts +0 -0
  625. /package/lib/{+shared/editor/core/helpers → editor/display}/event.helper.d.ts +0 -0
  626. /package/lib/{+shared/editor/core → editor/display}/layers/print.pages.layer.d.ts +0 -0
  627. /package/lib/{+shared/editor/core/interfaces → editor/display}/render-changes.interface.d.ts +0 -0
  628. /package/lib/{+shared/editor/core/interfaces → editor/display}/visible-range.interface.d.ts +0 -0
  629. /package/lib/{+shared/editor/core/models → editor/execution}/distance.model.d.ts +0 -0
  630. /package/lib/{+shared/editor/core → editor/execution}/helpers/dom.helper.d.ts +0 -0
  631. /package/lib/{+shared/editor/core/constants → editor/gadgets/font-metrics}/editor-version.const.d.ts +0 -0
  632. /package/lib/{+shared/editor/core/interfaces → editor/gadgets/font-metrics}/font-metric-size.interface.d.ts +0 -0
  633. /package/lib/{+shared/editor/operation-history → editor/gadgets/history}/operations-history-info.model.d.ts +0 -0
  634. /package/lib/{+shared/editor/core/enums → editor/gadgets/numbering}/numbering-marker-type.enum.d.ts +0 -0
  635. /package/lib/{+shared/editor/core/enums → editor/gadgets/page-break}/break-types.enum.d.ts +0 -0
  636. /package/lib/{+shared/editor/core/interfaces → editor/gadgets/search}/replace.interface.d.ts +0 -0
  637. /package/lib/{+shared/editor/core/interfaces → editor/gadgets/search}/search-iteration.interface.d.ts +0 -0
  638. /package/lib/{+shared/editor/core/constants → editor/gadgets/unicode}/unicode-chars.const.d.ts +0 -0
  639. /package/lib/{+shared/editor/core/helpers → editor/gadgets/unicode}/unicode.helper.d.ts +0 -0
  640. /package/lib/{+shared/enums → editor/interaction}/mode.enum.d.ts +0 -0
  641. /package/lib/{+shared/editor/core/enums → editor/interaction}/mouse-button.enum.d.ts +0 -0
  642. /package/lib/{+shared/editor/core/keyboard → editor/interaction}/text-input.d.ts +0 -0
  643. /package/lib/{+shared/services → editor/operations}/commands.service.d.ts +0 -0
  644. /package/lib/{+shared/editor → editor}/operations/enums/target-type.enum.d.ts +0 -0
  645. /package/lib/{+shared/editor → editor}/operations/helpers/content-operations.helper.d.ts +0 -0
  646. /package/lib/{+shared/editor/core/constants → editor/positioning}/alignments.const.d.ts +0 -0
  647. /package/lib/{+shared/editor/interfaces → editor/positioning}/insert-index.interface.d.ts +0 -0
@@ -0,0 +1,329 @@
1
+ @use '@angular/material' as mat;
2
+
3
+ div.ngx-colors-overlay.noder-color-picker-overlay .opened .colors {
4
+ .circle.wrapper.color,
5
+ .circle.button {
6
+ flex: initial;
7
+ }
8
+
9
+ .circle.button,
10
+ .circle.wrapper.color,
11
+ .circle.color.circle-border {
12
+ height: 20px;
13
+ width: 20px;
14
+
15
+ .selected {
16
+ width: 14px;
17
+ height: 14px;
18
+ }
19
+ }
20
+ }
21
+
22
+ .mat-mdc-menu-panel.insert-table {
23
+ max-width: unset;
24
+ border-radius: 8px;
25
+ }
26
+
27
+ .base-editor,
28
+ .noder-modal {
29
+ * {
30
+ box-sizing: border-box;
31
+ }
32
+
33
+ @include mat.form-field-density(-4);
34
+
35
+ ::-webkit-scrollbar {
36
+ width: 8px;
37
+ height: 8px;
38
+ }
39
+
40
+ ::-webkit-scrollbar-thumb {
41
+ border-radius: 4px;
42
+ }
43
+ }
44
+
45
+ .base-editor {
46
+ .noder-editor {
47
+ position: relative;
48
+ line-height: 1;
49
+ font-size: 12pt;
50
+ font-family: 'Courier New', Courier, monospace;
51
+ text-align: left;
52
+ width: 100%;
53
+ height: 100%;
54
+ }
55
+
56
+ .noder-scroller {
57
+ position: absolute;
58
+ overflow: hidden;
59
+ top: 0;
60
+ bottom: 0;
61
+ user-select: none;
62
+ cursor: text;
63
+ }
64
+
65
+ .noder-scrollbar {
66
+ overflow: hidden scroll;
67
+ contain: strict;
68
+ position: absolute;
69
+ right: 0;
70
+ bottom: 0;
71
+ z-index: 6;
72
+ top: 0;
73
+ }
74
+
75
+ .noder-scrollbar-inner {
76
+ position: absolute;
77
+ cursor: text;
78
+ left: 0;
79
+ top: 0;
80
+ }
81
+
82
+ .noder-text-input {
83
+ position: absolute;
84
+ z-index: 0;
85
+ width: 0.5em;
86
+ height: 1em;
87
+ opacity: 0;
88
+ background: transparent;
89
+ appearance: none;
90
+ border: none;
91
+ resize: none;
92
+ overflow: hidden;
93
+ font: inherit;
94
+ padding: 0 1px;
95
+ margin: 0 -1px;
96
+ contain: strict;
97
+ user-select: text;
98
+ }
99
+
100
+ .noder-layer {
101
+ z-index: 1;
102
+ position: absolute;
103
+
104
+ /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312 */
105
+ word-wrap: normal;
106
+ white-space: pre;
107
+ height: 100%;
108
+ width: 100%;
109
+ box-sizing: border-box;
110
+
111
+ /* setting pointer-events: auto; on node under the mouse, which changes
112
+ during scroll, will break mouse wheel scrolling in Safari */
113
+ pointer-events: none;
114
+ }
115
+
116
+ .noder-text-layer {
117
+ font: inherit !important;
118
+ position: absolute;
119
+ contain: style size layout;
120
+ pointer-events: auto;
121
+ }
122
+
123
+ .noder-line {
124
+ display: flex;
125
+ align-items: baseline;
126
+ line-height: normal;
127
+
128
+ .hyperlink-hover {
129
+ cursor: pointer;
130
+ }
131
+
132
+ > * {
133
+ display: inline-block;
134
+ font-kerning: none;
135
+
136
+ &.paragraph-symbol {
137
+ align-self: flex-end;
138
+ }
139
+ }
140
+ }
141
+
142
+ .noder-content {
143
+ position: inherit;
144
+ box-sizing: border-box;
145
+ min-width: 100%;
146
+ contain: style size layout;
147
+ inset: 0;
148
+ }
149
+
150
+ .noder-line-group {
151
+ display: inline-flex;
152
+
153
+ .lines-container {
154
+ width: 100%;
155
+ }
156
+
157
+ .numberingMarker {
158
+ display: inline-flex;
159
+
160
+ span {
161
+ align-self: end;
162
+ }
163
+ }
164
+ }
165
+
166
+ .noder-text-layer > .noder-line,
167
+ .noder-text-layer > .noder-line-group,
168
+ .noder-text-layer > .noder-edge-group {
169
+ contain: style size layout;
170
+ position: absolute;
171
+ top: 0;
172
+ left: 0;
173
+ right: 0;
174
+ }
175
+
176
+ .noder-text-layer > .noder-line-group:has(.focused) {
177
+ z-index: 1;
178
+ }
179
+
180
+ .noder-line-group:has(.lines-container > .noder-line:first-child > span:not(:empty)) {
181
+ align-items: baseline;
182
+ }
183
+
184
+ .noder-cursor-layer {
185
+ z-index: 4;
186
+
187
+ &.selecting {
188
+ display: none;
189
+ }
190
+ }
191
+
192
+ .noder-cursor {
193
+ z-index: 4;
194
+ position: absolute;
195
+ box-sizing: border-box;
196
+ border-left: 2px solid;
197
+
198
+ /* workaround for smooth cursor repaintng whole screen in chrome */
199
+ transform: translateZ(0);
200
+ }
201
+
202
+ .noder-hidden-cursors .noder-cursor {
203
+ opacity: 0;
204
+ }
205
+
206
+ .noder-hidden-cursors {
207
+ visibility: hidden;
208
+ }
209
+
210
+ .noder-animate-blinking .noder-cursor {
211
+ animation-duration: 1000ms;
212
+ animation-timing-function: step-end;
213
+ animation-name: blink-noder-animate;
214
+ animation-iteration-count: infinite;
215
+ }
216
+
217
+ .noder-animate-blinking.noder-smooth-blinking .noder-cursor {
218
+ animation-duration: 1000ms;
219
+ animation-timing-function: ease-in-out;
220
+ animation-name: blink-noder-animate-smooth;
221
+ }
222
+
223
+ @keyframes blink-noder-animate {
224
+ 0%,
225
+ 100% {
226
+ opacity: 1;
227
+ }
228
+
229
+ 60% {
230
+ opacity: 0;
231
+ }
232
+ }
233
+
234
+ @keyframes blink-noder-animate-smooth {
235
+ 0%,
236
+ 100% {
237
+ opacity: 1;
238
+ }
239
+
240
+ 45% {
241
+ opacity: 1;
242
+ }
243
+
244
+ 60% {
245
+ opacity: 0;
246
+ }
247
+
248
+ 85% {
249
+ opacity: 0;
250
+ }
251
+ }
252
+
253
+ .noder-selection-layer .noder-selection {
254
+ position: absolute;
255
+ z-index: 5;
256
+ }
257
+
258
+ .noder-selection-layer.text-selection .noder-selection {
259
+ background-color: rgb(94, 168, 247, 0.4);
260
+ }
261
+
262
+ .noder-selection-layer.notes-highlight .noder-selection {
263
+ background: rgb(255, 255, 0, 0.4);
264
+ }
265
+
266
+ .noder-underline {
267
+ text-decoration: underline;
268
+ }
269
+
270
+ .noder-bold {
271
+ font-weight: bold;
272
+ }
273
+
274
+ .noder-italic {
275
+ font-style: italic;
276
+ }
277
+
278
+ .page {
279
+ width: 100%;
280
+ position: absolute;
281
+ }
282
+
283
+ .page-label {
284
+ position: absolute;
285
+ top: 40px;
286
+ right: 96px;
287
+ font-family: 'Courier New', Courier, monospace;
288
+ font-size: 16px;
289
+ line-height: 1;
290
+ }
291
+
292
+ .font-baseline {
293
+ visibility: hidden;
294
+ height: 500px;
295
+
296
+ span::after {
297
+ content: '';
298
+ height: 100%;
299
+ display: inline-block;
300
+ }
301
+ }
302
+
303
+ .ruler-line {
304
+ position: absolute;
305
+ top: 0;
306
+ bottom: 0;
307
+ width: 0;
308
+ border-left: 1px solid rgb(0, 0, 0, 0.4);
309
+ opacity: 0.5;
310
+ display: none;
311
+ z-index: 1;
312
+
313
+ &.visible {
314
+ display: block;
315
+ }
316
+ }
317
+
318
+ .drawer-container {
319
+ .mat-button-toggle-button {
320
+ height: 48px;
321
+ border-radius: 4px;
322
+ }
323
+
324
+ .mat-button-toggle-checked button {
325
+ height: 48px;
326
+ border-radius: 4px;
327
+ }
328
+ }
329
+ }
package/src/styles.scss CHANGED
@@ -1,58 +1,3 @@
1
- @use '@angular/material' as mat;
2
-
3
- @import 'ngx-noder.theme';
4
- @import 'scss/variables';
5
- @import 'scss/fonts';
6
- @import 'base-editor';
7
- @import './assets/fonts/nc-iconfont.css';
8
-
9
- * {
10
- box-sizing: border-box;
11
- }
12
-
13
- @include mat.form-field-density(-4);
14
-
15
- ::-webkit-scrollbar {
16
- width: 8px;
17
- height: 8px;
18
- }
19
-
20
- ::-webkit-scrollbar-thumb {
21
- border-radius: 4px;
22
- }
23
-
24
- div.ngx-colors-overlay.color-picker-overlay .opened .colors {
25
- .circle.wrapper.color,
26
- .circle.button {
27
- flex: initial;
28
- }
29
-
30
- .circle.button,
31
- .circle.wrapper.color,
32
- .circle.color.circle-border {
33
- height: 20px;
34
- width: 20px;
35
-
36
- .selected {
37
- width: 14px;
38
- height: 14px;
39
- }
40
- }
41
- }
42
-
43
- .dialog-panel mat-dialog-container .mat-mdc-dialog-surface {
44
- border-radius: 15px;
45
- }
46
-
47
- div.mat-mdc-menu-panel {
48
- overflow: visible;
49
- }
50
-
51
- mat-option.mat-mdc-option.editor-mode-option {
52
- font-size: 14px;
53
- font-weight: bold;
54
-
55
- .mat-pseudo-checkbox {
56
- display: none;
57
- }
58
- }
1
+ @import './scss/fonts';
2
+ @import './scss/base-editor';
3
+ @import './assets/fonts/nc-iconfont';
@@ -1,99 +0,0 @@
1
- import { catchError, finalize, map, share } from 'rxjs/operators';
2
- import { Directive } from '@angular/core';
3
- import { HttpHeaders } from '@angular/common/http';
4
- import { throwError } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@angular/common/http";
7
- import * as i2 from "@ngxs/store";
8
- export class BaseApiService {
9
- constructor(http, store) {
10
- this.http = http;
11
- this.store = store;
12
- this.apiRelativePath = '/api/';
13
- this._inFlight = {};
14
- }
15
- handleError(response) {
16
- console.error(`${response.status} - ${response.statusText || response.error}`);
17
- return throwError(() => response);
18
- }
19
- httpGet(url, ctor, headers = null, useApiRelativePath = true) {
20
- if (this._inFlight[url.toLowerCase()]) {
21
- return this._inFlight[url.toLowerCase()];
22
- }
23
- const request = this.http
24
- .get(useApiRelativePath ? `${this.apiRelativePath}${url}` : url, { observe: 'response', headers: this.getHeaders(headers) })
25
- .pipe(map((res) => this.mapType(res, ctor)), share(), catchError((error) => this.handleError(error)), finalize(() => this.clearInFlight(url)));
26
- this._inFlight[url.toLowerCase()] = request;
27
- return request;
28
- }
29
- httpGetBlob(url) {
30
- if (this._inFlight[url.toLowerCase()]) {
31
- return this._inFlight[url.toLowerCase()];
32
- }
33
- return this.http.get(`${this.apiRelativePath}${url}`, {
34
- responseType: 'blob',
35
- headers: this.getHeaders()
36
- });
37
- }
38
- httpPost(url, ctor, data = null, headers = null, useApiRelativePath = true) {
39
- const request = this.http
40
- .post(useApiRelativePath ? this.apiRelativePath + url : url, data, {
41
- observe: 'response',
42
- headers: this.getHeaders(headers)
43
- })
44
- .pipe(map((res) => this.mapType(res, ctor)), share(), catchError((error) => this.handleError(error)));
45
- return request;
46
- }
47
- httpPostFile(url, file) {
48
- const formData = new FormData();
49
- formData.set('file', file);
50
- return this.httpPost(url, x => x, formData);
51
- }
52
- httpPut(url, ctor, data = null, headers = null) {
53
- const request = this.http
54
- .put(this.apiRelativePath + url, data, { observe: 'response', headers: this.getHeaders(headers) })
55
- .pipe(map((res) => this.mapType(res, ctor)), share(), catchError((error) => this.handleError(error)));
56
- return request;
57
- }
58
- httpDelete(url, id, ctor, headers = null) {
59
- const path = id ? this.apiRelativePath + url + '/' + id : this.apiRelativePath + url;
60
- const request = this.http
61
- .delete(path, {
62
- observe: 'response',
63
- headers: this.getHeaders(headers)
64
- })
65
- .pipe(map((res) => this.mapType(res, ctor)), share());
66
- request.subscribe({ error: (error) => this.handleError(error) });
67
- return request;
68
- }
69
- getHeaders(headers = null) {
70
- if (!headers) {
71
- headers = new HttpHeaders();
72
- }
73
- return headers.set('require-user', 'true');
74
- }
75
- clearInFlight(url) {
76
- if (this._inFlight[url.toLowerCase()]) {
77
- delete this._inFlight[url.toLowerCase()];
78
- }
79
- }
80
- mapType(res, ctor) {
81
- const val = res.status === 204 ? null : res.body;
82
- if (val === null) {
83
- return null;
84
- }
85
- if (val === '[]') {
86
- return [];
87
- }
88
- if (Array.isArray(val)) {
89
- return val.map(x => ctor(x));
90
- }
91
- return ctor(val);
92
- }
93
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: BaseApiService, deps: [{ token: i1.HttpClient }, { token: i2.Store }], target: i0.ɵɵFactoryTarget.Directive }); }
94
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: BaseApiService, ngImport: i0 }); }
95
- }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: BaseApiService, decorators: [{
97
- type: Directive
98
- }], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Store }] });
99
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1hcGkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1ub2Rlci9zcmMvbGliLytzaGFyZWQvYWJzdHJhY3QvYmFzZS1hcGkuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxH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lmICh2YWwgPT09IG51bGwpIHtcbiAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHZhbCA9PT0gJ1tdJykge1xuICAgICAgICAgICAgcmV0dXJuIFtdO1xuICAgICAgICB9XG4gICAgICAgIGlmIChBcnJheS5pc0FycmF5KHZhbCkpIHtcbiAgICAgICAgICAgIHJldHVybiB2YWwubWFwKHggPT4gY3Rvcih4KSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIGN0b3IodmFsKTtcbiAgICB9XG59XG4iXX0=
@@ -1,24 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class ObserverComponent {
4
- constructor() {
5
- this.subscriptions = [];
6
- }
7
- ngOnDestroy() {
8
- this.clearSubscriptions();
9
- }
10
- clearSubscriptions() {
11
- while (this.subscriptions.length) {
12
- const s = this.subscriptions.shift();
13
- if (s && s.unsubscribe) {
14
- s.unsubscribe();
15
- }
16
- }
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ObserverComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.1", type: ObserverComponent, ngImport: i0 }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ObserverComponent, decorators: [{
22
- type: Directive
23
- }] });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JzZXJ2ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW5vZGVyL3NyYy9saWIvK3NoYXJlZC9hYnN0cmFjdC9vYnNlcnZlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJ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zdWJzY3JpcHRpb25zLmxlbmd0aCkge1xuICAgICAgICAgICAgY29uc3QgcyA9IHRoaXMuc3Vic2NyaXB0aW9ucy5zaGlmdCgpO1xuICAgICAgICAgICAgaWYgKHMgJiYgcy51bnN1YnNjcmliZSkge1xuICAgICAgICAgICAgICAgIHMudW5zdWJzY3JpYmUoKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, Inject } from '@angular/core';
3
- import { MatButtonModule } from '@angular/material/button';
4
- import { MatDialogModule, MAT_DIALOG_DATA } from '@angular/material/dialog';
5
- import { MatIconModule } from '@angular/material/icon';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/material/dialog";
8
- import * as i2 from "@angular/material/button";
9
- import * as i3 from "@angular/material/icon";
10
- export class ConfirmDialogComponent {
11
- constructor(data, ref) {
12
- this.data = data;
13
- this.ref = ref;
14
- }
15
- onClose(status) {
16
- this.ref.close(status);
17
- }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: MAT_DIALOG_DATA }, { token: i1.MatDialogRef }], target: i0.ɵɵFactoryTarget.Component }); }
19
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.1", type: ConfirmDialogComponent, isStandalone: true, selector: "app-confirm-dialog", ngImport: i0, template: "<p class=\"title\">{{ data.title ? data.title : 'Confirmation' }}</p>\n<div class=\"content\">\n <p>{{ data.message }}</p>\n</div>\n<div class=\"actions\">\n <button\n id=\"confirm-dialog-cancel-btn\"\n mat-button\n (click)=\"onClose(false)\">\n <mat-icon\n fontSet=\"nc-icon\"\n fontIcon=\"icon-cancel-thin\"></mat-icon>\n {{ data.cancel ? data.cancel : 'Cancel' }}\n </button>\n <button\n id=\"confirm-dialog-confirm-btn\"\n mat-raised-button\n class=\"delete-btn\"\n color=\"primary\"\n (click)=\"onClose(true)\">\n <mat-icon\n fontSet=\"nc-icon\"\n fontIcon=\"icon-done-thin\"></mat-icon>\n {{ data.confirm ? data.confirm : 'Delete' }}\n </button>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-width:400px;max-width:440px;min-height:208px}.title{font-size:18px;font-weight:700;text-transform:capitalize;padding:24px 24px 12px;margin:0}.content{display:flex;flex:1;font-size:16px;line-height:20px;padding:20px 24px 16px}.content p{margin:0;overflow:hidden;text-overflow:ellipsis}.actions{display:flex;justify-content:center;margin-bottom:24px;gap:8px}.actions button{height:40px;width:120px}.actions button mat-icon{font-size:24px;height:24px;width:24px}.actions button .mat-button-toggle-label-content{padding:0 2px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatDialogModule }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }] }); }
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.1", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
22
- type: Component,
23
- args: [{ standalone: true, imports: [CommonModule, MatDialogModule, MatButtonModule, MatIconModule], selector: 'app-confirm-dialog', template: "<p class=\"title\">{{ data.title ? data.title : 'Confirmation' }}</p>\n<div class=\"content\">\n <p>{{ data.message }}</p>\n</div>\n<div class=\"actions\">\n <button\n id=\"confirm-dialog-cancel-btn\"\n mat-button\n (click)=\"onClose(false)\">\n <mat-icon\n fontSet=\"nc-icon\"\n fontIcon=\"icon-cancel-thin\"></mat-icon>\n {{ data.cancel ? data.cancel : 'Cancel' }}\n </button>\n <button\n id=\"confirm-dialog-confirm-btn\"\n mat-raised-button\n class=\"delete-btn\"\n color=\"primary\"\n (click)=\"onClose(true)\">\n <mat-icon\n fontSet=\"nc-icon\"\n fontIcon=\"icon-done-thin\"></mat-icon>\n {{ data.confirm ? data.confirm : 'Delete' }}\n </button>\n</div>\n", styles: [":host{display:flex;flex-direction:column;min-width:400px;max-width:440px;min-height:208px}.title{font-size:18px;font-weight:700;text-transform:capitalize;padding:24px 24px 12px;margin:0}.content{display:flex;flex:1;font-size:16px;line-height:20px;padding:20px 24px 16px}.content p{margin:0;overflow:hidden;text-overflow:ellipsis}.actions{display:flex;justify-content:center;margin-bottom:24px;gap:8px}.actions button{height:40px;width:120px}.actions button mat-icon{font-size:24px;height:24px;width:24px}.actions button .mat-button-toggle-label-content{padding:0 2px}\n"] }]
24
- }], ctorParameters: () => [{ type: undefined, decorators: [{
25
- type: Inject,
26
- args: [MAT_DIALOG_DATA]
27
- }] }, { type: i1.MatDialogRef }] });
28
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW5vZGVyL3NyYy9saWIvK3NoYXJlZC9jb25maXJtLWRpYWxvZy9jb25maXJtLWRpYWxvZy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbm9kZXIvc3JjL2xpYi8rc2hhcmVkL2NvbmZpcm0tZGlhbG9nL2NvbmZpcm0tZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNsRCxPQUFPLEVBQ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bnRcIj5cbiAgICA8cD57eyBkYXRhLm1lc3NhZ2UgfX08L3A+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJhY3Rpb25zXCI+XG4gICAgPGJ1dHRvblxuICAgICAgICBpZD1cImNvbmZpcm0tZGlhbG9nLWNhbmNlbC1idG5cIlxuICAgICAgICBtYXQtYnV0dG9uXG4gICAgICAgIChjbGljayk9XCJvbkNsb3NlKGZhbHNlKVwiPlxuICAgICAgICA8bWF0LWljb25cbiAgICAgICAgICAgIGZvbnRTZXQ9XCJuYy1pY29uXCJcbiAgICAgICAgICAgIGZvbnRJY29uPVwiaWNvbi1jYW5jZWwtdGhpblwiPjwvbWF0LWljb24+XG4gICAgICAgIHt7IGRhdGEuY2FuY2VsID8gZGF0YS5jYW5jZWwgOiAnQ2FuY2VsJyB9fVxuICAgIDwvYnV0dG9uPlxuICAgIDxidXR0b25cbiAgICAgICAgaWQ9XCJjb25maXJtLWRpYWxvZy1jb25maXJtLWJ0blwiXG4gICAgICAgIG1hdC1yYWlzZWQtYnV0dG9uXG4gICAgICAgIGNsYXNzPVwiZGVsZXRlLWJ0blwiXG4gICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXG4gICAgICAgIChjbGljayk9XCJvbkNsb3NlKHRydWUpXCI+XG4gICAgICAgIDxtYXQtaWNvblxuICAgICAgICAgICAgZm9udFNldD1cIm5jLWljb25cIlxuICAgICAgICAgICAgZm9udEljb249XCJpY29uLWRvbmUtdGhpblwiPjwvbWF0LWljb24+XG4gICAgICAgIHt7IGRhdGEuY29uZmlybSA/IGRhdGEuY29uZmlybSA6ICdEZWxldGUnIH19XG4gICAgPC9idXR0b24+XG48L2Rpdj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export const DEFAULT_FILE_NAME = 'Untitled document';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1maWxlLW5hbWUuY29uc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbm9kZXIvc3JjL2xpYi8rc2hhcmVkL2NvbnN0YW50cy9kZWZhdWx0LWZpbGUtbmFtZS5jb25zdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUMsTUFBTSxpQkFBaUIsR0FBRyxtQkFBbUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBERUZBVUxUX0ZJTEVfTkFNRSA9ICdVbnRpdGxlZCBkb2N1bWVudCc7XG4iXX0=
@@ -1,3 +0,0 @@
1
- export const PaginatorSizes = [5, 10, 20, 50];
2
- export const DefaultPageSize = 20;
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdG9yLXNpemVzLmNvbnN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LW5vZGVyL3NyYy9saWIvK3NoYXJlZC9jb25zdGFudHMvcGFnaW5hdG9yLXNpemVzLmNvbnN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxDQUFDLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFDO0FBRTlDLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxFQUFFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY29uc3QgUGFnaW5hdG9yU2l6ZXMgPSBbNSwgMTAsIDIwLCA1MF07XG5cbmV4cG9ydCBjb25zdCBEZWZhdWx0UGFnZVNpemUgPSAyMDtcbiJdfQ==
@@ -1,71 +0,0 @@
1
- export class EventEmitting {
2
- constructor() {
3
- this.eventRegistry = {};
4
- this.defaultHandlers = {};
5
- }
6
- addEventListener(eventName, callback, toStart = false) {
7
- this.eventRegistry[eventName] ??= [];
8
- const listeners = this.eventRegistry[eventName];
9
- if (listeners.includes(callback)) {
10
- return callback;
11
- }
12
- if (toStart) {
13
- listeners.unshift(callback);
14
- }
15
- else {
16
- listeners.push(callback);
17
- }
18
- return callback;
19
- }
20
- removeEventListener(eventName, callback) {
21
- if (!this.eventRegistry[eventName]) {
22
- return;
23
- }
24
- const index = this.eventRegistry[eventName].indexOf(callback);
25
- if (index < 0) {
26
- return;
27
- }
28
- this.eventRegistry[eventName].splice(index, 1);
29
- }
30
- emit(eventName, data) {
31
- const listeners = this.eventRegistry[eventName]?.slice() || [];
32
- const defaultHandler = this.defaultHandlers[eventName];
33
- if (!listeners.length && !defaultHandler) {
34
- return;
35
- }
36
- data ??= {};
37
- data['type'] ??= eventName;
38
- for (const listener of listeners) {
39
- listener(data, this);
40
- }
41
- if (!defaultHandler) {
42
- return;
43
- }
44
- defaultHandler(data, this);
45
- }
46
- signal(eventName, data) {
47
- const listeners = this.eventRegistry[eventName]?.slice() || [];
48
- if (!listeners.length) {
49
- return;
50
- }
51
- for (const listener of listeners) {
52
- listener(data, this);
53
- }
54
- }
55
- setDefaultHandler(eventName, callback) {
56
- this.defaultHandlers[eventName] = callback;
57
- }
58
- removeDefaultHandler(eventName) {
59
- if (!this.defaultHandlers || !this.defaultHandlers[eventName]) {
60
- return;
61
- }
62
- delete this.defaultHandlers[eventName];
63
- }
64
- removeAllListeners(eventName) {
65
- if (!this.eventRegistry[eventName] || !this.eventRegistry[eventName].length) {
66
- return;
67
- }
68
- this.eventRegistry[eventName] = [];
69
- }
70
- }
71
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXZlbnQtZW1pdHRpbmcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbm9kZXIvc3JjL2xpYi8rc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AgICAgICAgaWYgKCF0aGlzLmRlZmF1bHRIYW5kbGVycyB8fCAhdGhpcy5kZWZhdWx0SGFuZGxlcnNbZXZlbnROYW1lXSkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgZGVsZXRlIHRoaXMuZGVmYXVsdEhhbmRsZXJzW2V2ZW50TmFtZV07XG4gICAgfVxuXG4gICAgcmVtb3ZlQWxsTGlzdGVuZXJzKGV2ZW50TmFtZTogc3RyaW5nKTogdm9pZCB7XG4gICAgICAgIGlmICghdGhpcy5ldmVudFJlZ2lzdHJ5W2V2ZW50TmFtZV0gfHwgIXRoaXMuZXZlbnRSZWdpc3RyeVtldmVudE5hbWVdLmxlbmd0aCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgdGhpcy5ldmVudFJlZ2lzdHJ5W2V2ZW50TmFtZV0gPSBbXTtcbiAgICB9XG59XG4iXX0=
@@ -1,6 +0,0 @@
1
- export var EdgeType;
2
- (function (EdgeType) {
3
- EdgeType[EdgeType["Header"] = 0] = "Header";
4
- EdgeType[EdgeType["Footer"] = 1] = "Footer";
5
- })(EdgeType || (EdgeType = {}));
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRnZS10eXBlLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtbm9kZXIvc3JjL2xpYi8rc2hhcmVkL2VkaXRvci9jb3JlL2NvbXBvbmVudHMvZWRnZXMvZWRnZS10eXBlLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksUUFHWDtBQUhELFdBQVksUUFBUTtJQUNoQiwyQ0FBTSxDQUFBO0lBQ04sMkNBQU0sQ0FBQTtBQUNWLENBQUMsRUFIVyxRQUFRLEtBQVIsUUFBUSxRQUduQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEVkZ2VUeXBlIHtcbiAgICBIZWFkZXIsXG4gICAgRm9vdGVyXG59XG4iXX0=