qms-angular 1.0.86 → 1.0.89

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 (289) hide show
  1. package/README.md +5 -1
  2. package/bundles/qms-angular.umd.js +6943 -219
  3. package/bundles/qms-angular.umd.js.map +1 -1
  4. package/esm2015/lib/components/badges/qms-badges.component.js +1 -1
  5. package/esm2015/lib/components/banner/qms-banner/qms-banner.component.js +1 -1
  6. package/esm2015/lib/components/banner/qms-banner-confirm/qms-banner-confirm.component.js +1 -1
  7. package/esm2015/lib/components/banner/qms-banner-loading/qms-banner-loading.component.js +1 -1
  8. package/esm2015/lib/components/button/button-toggle.js +1 -1
  9. package/esm2015/lib/components/button/button.js +3 -3
  10. package/esm2015/lib/components/comment/comment.js +6 -3
  11. package/esm2015/lib/components/dialog/dialog.js +2 -2
  12. package/esm2015/lib/components/list/list.js +2 -2
  13. package/esm2015/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.js +3 -3
  14. package/esm2015/lib/components/qms-paginator/qms-paginator.component.js +16 -7
  15. package/esm2015/lib/components/related/content/related-content.component.js +2 -2
  16. package/esm2015/lib/components/related/list-other-related/list-related.component.js +1 -1
  17. package/esm2015/lib/components/related/risk/list/list.component.js +1 -1
  18. package/esm2015/lib/components/related/risk/result/result.component.js +1 -1
  19. package/esm2015/lib/components/rich-text/rich-text.js +1 -1
  20. package/esm2015/lib/components/table/table-action.js +2 -2
  21. package/esm2015/lib/components/table/table.module.js +4 -4
  22. package/esm2015/lib/components/tooltip/tooltip.js +1 -1
  23. package/esm2015/lib/components/tree/tree.component.js +1 -1
  24. package/esm2015/lib/components/treeNew/tree.component.js +18 -2
  25. package/esm2015/lib/directives/file-upload/file-upload-multiple-selector.directive.js +3 -1
  26. package/esm2015/lib/directives/file-upload/file-upload-selector.directive.js +3 -1
  27. package/esm2015/lib/directives/file-upload/file-upload.directive.js +1 -1
  28. package/esm2015/lib/directives/text-truncate/text-truncate.directive.js +58 -0
  29. package/esm2015/lib/model/en.js +63 -2
  30. package/esm2015/lib/model/no.js +63 -2
  31. package/esm2015/lib/qms-angular.module.js +4 -1
  32. package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/halo.function.js +87 -0
  33. package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/inspector.function.js +3767 -0
  34. package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/selection.function.js +56 -0
  35. package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/stencil.function.js +1003 -0
  36. package/esm2015/lib/qms-ckeditor-components/common/flowchart/config/toolbar.function.js +302 -0
  37. package/esm2015/lib/qms-ckeditor-components/common/flowchart/models/app-shapes.js +320 -0
  38. package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/keyboard-service.js +69 -0
  39. package/esm2015/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.js +412 -0
  40. package/esm2015/lib/qms-ckeditor-components/common/flowchart/themes/theme-picker.js +80 -0
  41. package/esm2015/lib/qms-ckeditor-components/common/functions/common.function.js +34 -1
  42. package/esm2015/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.js +1 -1
  43. package/esm2015/lib/qms-ckeditor-components/common/module/confirm/qms-ckeditor-confirm.component.js +3 -3
  44. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-about/qms-ckeditor-about.component.js +1 -1
  45. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/qms-ckeditor-bpmn.component.js +2 -2
  46. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-bpmn/save-template/save-template.component.js +2 -2
  47. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.js +317 -0
  48. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-imagemap/qms-ckeditor-imagemap.component.js +3 -3
  49. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/attachments/link-attachment.component.js +3 -3
  50. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-link/qms-ckeditor-link.component.js +3 -3
  51. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-load-template/qms-ckeditor-load-template.component.js +3 -3
  52. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-relation/qmsckeditor-related.component.js +3 -3
  53. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-template/qms-ckeditor-template.component.js +3 -3
  54. package/esm2015/lib/qms-ckeditor-components/components/qms-ckeditor-tooltip/qms-ckeditor-tooltip.component.js +3 -3
  55. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.component.js +35 -3
  56. package/esm2015/lib/qms-ckeditor-components/qms-ckeditor.module.js +4 -2
  57. package/esm2015/public-api.js +8 -1
  58. package/esm2015/qms-angular.js +2 -1
  59. package/fesm2015/qms-angular.js +6882 -213
  60. package/fesm2015/qms-angular.js.map +1 -1
  61. package/lib/components/comment/comment.d.ts +1 -0
  62. package/lib/components/qms-paginator/qms-paginator.component.d.ts +1 -0
  63. package/lib/components/treeNew/tree.component.d.ts +1 -0
  64. package/lib/directives/text-truncate/text-truncate.directive.d.ts +15 -0
  65. package/lib/model/en.d.ts +61 -0
  66. package/lib/model/no.d.ts +61 -0
  67. package/lib/qms-ckeditor-components/common/flowchart/config/halo.function.d.ts +37 -0
  68. package/lib/qms-ckeditor-components/common/flowchart/config/inspector.function.d.ts +7 -0
  69. package/lib/qms-ckeditor-components/common/flowchart/config/selection.function.d.ts +39 -0
  70. package/lib/qms-ckeditor-components/common/flowchart/config/stencil.function.d.ts +11 -0
  71. package/lib/qms-ckeditor-components/common/flowchart/config/toolbar.function.d.ts +224 -0
  72. package/lib/qms-ckeditor-components/common/flowchart/models/app-shapes.d.ts +58 -0
  73. package/lib/qms-ckeditor-components/common/flowchart/service/keyboard-service.d.ts +16 -0
  74. package/lib/qms-ckeditor-components/common/flowchart/service/kitchensink-service.d.ts +56 -0
  75. package/lib/qms-ckeditor-components/common/flowchart/themes/theme-picker.d.ts +35 -0
  76. package/lib/qms-ckeditor-components/common/functions/common.function.d.ts +12 -0
  77. package/lib/qms-ckeditor-components/common/models/qms-ckeditor-save-as-template.model.d.ts +2 -0
  78. package/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.d.ts +41 -0
  79. package/lib/qms-ckeditor-components/qms-ckeditor.component.d.ts +4 -0
  80. package/lib.theme.scss +179 -0
  81. package/package.json +1 -1
  82. package/public-api.d.ts +7 -0
  83. package/qms-angular.d.ts +1 -0
  84. package/qms-angular.metadata.json +1 -1
  85. package/src/assets/fonts/Material/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 +0 -0
  86. package/src/assets/fonts/Material/gok-H7zzDkdnRel8-DQ6KAXJ69wP1tGnf4ZGhUce.woff2 +0 -0
  87. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFUZ0bbck.woff2 +0 -0
  88. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFVZ0b.woff2 +0 -0
  89. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFVp0bbck.woff2 +0 -0
  90. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFW50bbck.woff2 +0 -0
  91. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFWJ0bbck.woff2 +0 -0
  92. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFWZ0bbck.woff2 +0 -0
  93. package/src/assets/fonts/OpenSans/mem8YaGs126MiZpBA-UFWp0bbck.woff2 +0 -0
  94. package/src/assets/fonts/Raleway/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2 +0 -0
  95. package/src/assets/fonts/Raleway/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2 +0 -0
  96. package/src/assets/fonts/Raleway/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2 +0 -0
  97. package/src/assets/fonts/Raleway/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2 +0 -0
  98. package/src/assets/fonts/Raleway/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2 +0 -0
  99. package/src/assets/jointjs/images/delete-icon-modern.png +0 -0
  100. package/src/assets/jointjs/images/reset-icon-modern.png +0 -0
  101. package/src/assets/jointjs/images/save-icon-modern.png +0 -0
  102. package/src/assets/jointjs/images/to-front-icon-modern.png +0 -0
  103. package/src/assets/jointjs/images/toback-icon-modern.png +0 -0
  104. package/src/assets/jointjs/images/toolbar-icons-material.png +0 -0
  105. package/src/assets/jointjs/images/toolbar-icons-modern.png +0 -0
  106. package/src/assets/jointjs/scss/rappid.scss +326 -0
  107. package/src/assets/jointjs/scss/theme-picker.scss +22 -0
  108. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js +1 -1
  109. package/src/assets/qms-ckeditor-plugin/build/ckeditor.js.map +1 -1
  110. package/src/assets/qms-ckeditor-plugin/build/translations/ar.js +1 -1
  111. package/src/assets/qms-ckeditor-plugin/build/translations/az.js +1 -1
  112. package/src/assets/qms-ckeditor-plugin/build/translations/bg.js +1 -1
  113. package/src/assets/qms-ckeditor-plugin/build/translations/ca.js +1 -1
  114. package/src/assets/qms-ckeditor-plugin/build/translations/cs.js +1 -1
  115. package/src/assets/qms-ckeditor-plugin/build/translations/da.js +1 -1
  116. package/src/assets/qms-ckeditor-plugin/build/translations/de-ch.js +1 -1
  117. package/src/assets/qms-ckeditor-plugin/build/translations/de.js +1 -1
  118. package/src/assets/qms-ckeditor-plugin/build/translations/el.js +1 -1
  119. package/src/assets/qms-ckeditor-plugin/build/translations/en-au.js +1 -1
  120. package/src/assets/qms-ckeditor-plugin/build/translations/en-gb.js +1 -1
  121. package/src/assets/qms-ckeditor-plugin/build/translations/eo.js +1 -1
  122. package/src/assets/qms-ckeditor-plugin/build/translations/es.js +1 -1
  123. package/src/assets/qms-ckeditor-plugin/build/translations/et.js +1 -1
  124. package/src/assets/qms-ckeditor-plugin/build/translations/eu.js +1 -1
  125. package/src/assets/qms-ckeditor-plugin/build/translations/fa.js +1 -1
  126. package/src/assets/qms-ckeditor-plugin/build/translations/fi.js +1 -1
  127. package/src/assets/qms-ckeditor-plugin/build/translations/fr.js +1 -1
  128. package/src/assets/qms-ckeditor-plugin/build/translations/gl.js +1 -1
  129. package/src/assets/qms-ckeditor-plugin/build/translations/he.js +1 -1
  130. package/src/assets/qms-ckeditor-plugin/build/translations/hi.js +1 -1
  131. package/src/assets/qms-ckeditor-plugin/build/translations/hr.js +1 -1
  132. package/src/assets/qms-ckeditor-plugin/build/translations/hu.js +1 -1
  133. package/src/assets/qms-ckeditor-plugin/build/translations/id.js +1 -1
  134. package/src/assets/qms-ckeditor-plugin/build/translations/it.js +1 -1
  135. package/src/assets/qms-ckeditor-plugin/build/translations/ja.js +1 -1
  136. package/src/assets/qms-ckeditor-plugin/build/translations/km.js +1 -1
  137. package/src/assets/qms-ckeditor-plugin/build/translations/kn.js +1 -1
  138. package/src/assets/qms-ckeditor-plugin/build/translations/ko.js +1 -1
  139. package/src/assets/qms-ckeditor-plugin/build/translations/ku.js +1 -1
  140. package/src/assets/qms-ckeditor-plugin/build/translations/lt.js +1 -1
  141. package/src/assets/qms-ckeditor-plugin/build/translations/lv.js +1 -1
  142. package/src/assets/qms-ckeditor-plugin/build/translations/nb.js +1 -1
  143. package/src/assets/qms-ckeditor-plugin/build/translations/ne.js +1 -1
  144. package/src/assets/qms-ckeditor-plugin/build/translations/nl.js +1 -1
  145. package/src/assets/qms-ckeditor-plugin/build/translations/no.js +1 -1
  146. package/src/assets/qms-ckeditor-plugin/build/translations/pl.js +1 -1
  147. package/src/assets/qms-ckeditor-plugin/build/translations/pt-br.js +1 -1
  148. package/src/assets/qms-ckeditor-plugin/build/translations/pt.js +1 -1
  149. package/src/assets/qms-ckeditor-plugin/build/translations/ro.js +1 -1
  150. package/src/assets/qms-ckeditor-plugin/build/translations/ru.js +1 -1
  151. package/src/assets/qms-ckeditor-plugin/build/translations/sk.js +1 -1
  152. package/src/assets/qms-ckeditor-plugin/build/translations/sl.js +1 -1
  153. package/src/assets/qms-ckeditor-plugin/build/translations/sq.js +1 -1
  154. package/src/assets/qms-ckeditor-plugin/build/translations/sr-latn.js +1 -1
  155. package/src/assets/qms-ckeditor-plugin/build/translations/sr.js +1 -1
  156. package/src/assets/qms-ckeditor-plugin/build/translations/sv.js +1 -1
  157. package/src/assets/qms-ckeditor-plugin/build/translations/th.js +1 -1
  158. package/src/assets/qms-ckeditor-plugin/build/translations/tk.js +1 -1
  159. package/src/assets/qms-ckeditor-plugin/build/translations/tr.js +1 -1
  160. package/src/assets/qms-ckeditor-plugin/build/translations/ug.js +1 -1
  161. package/src/assets/qms-ckeditor-plugin/build/translations/uk.js +1 -1
  162. package/src/assets/qms-ckeditor-plugin/build/translations/vi.js +1 -1
  163. package/src/assets/qms-ckeditor-plugin/build/translations/zh-cn.js +1 -1
  164. package/src/assets/qms-ckeditor-plugin/build/translations/zh.js +1 -1
  165. package/src/assets/qms-ckeditor-plugin/package-lock.json +12632 -345
  166. package/src/assets/qms-ckeditor-plugin/package.json +0 -2
  167. package/src/assets/qms-ckeditor-plugin/src/ckeditor.js +8 -8
  168. package/src/assets/qms-ckeditor-plugin/src/plugins/common/qmsCKEditorService.js +9 -0
  169. package/src/assets/qms-ckeditor-plugin/src/plugins/flowchart/flowchartdialogcommand.js +47 -0
  170. package/src/assets/qms-ckeditor-plugin/src/plugins/flowchart/qmsCKEditorFlowchartPlugin.js +30 -0
  171. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/heading.js +119 -0
  172. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingbuttonsui.js +103 -0
  173. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingcommand.js +96 -0
  174. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingediting.js +163 -0
  175. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/headingui.js +115 -0
  176. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/index.js +22 -0
  177. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/heading.css +35 -0
  178. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading1.svg +1 -0
  179. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading2.svg +1 -0
  180. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading3.svg +1 -0
  181. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading4.svg +1 -0
  182. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading5.svg +1 -0
  183. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/theme/icons/heading6.svg +1 -0
  184. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/title.js +598 -0
  185. package/src/assets/qms-ckeditor-plugin/src/plugins/heading/utils.js +42 -0
  186. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/insertcolumncommand.js +83 -0
  187. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/insertrowcommand.js +82 -0
  188. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/inserttablecommand.js +76 -0
  189. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/mergecellcommand.js +272 -0
  190. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/mergecellscommand.js +122 -0
  191. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/removecolumncommand.js +122 -0
  192. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/removerowcommand.js +97 -0
  193. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/selectcolumncommand.js +63 -0
  194. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/selectrowcommand.js +56 -0
  195. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/setheadercolumncommand.js +95 -0
  196. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/setheaderrowcommand.js +105 -0
  197. package/src/assets/qms-ckeditor-plugin/src/plugins/table/commands/splitcellcommand.js +68 -0
  198. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/downcast.js +529 -0
  199. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/table-cell-paragraph-post-fixer.js +136 -0
  200. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/table-cell-refresh-post-fixer.js +75 -0
  201. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/table-heading-rows-refresh-post-fixer.js +55 -0
  202. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/table-layout-post-fixer.js +399 -0
  203. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/tableproperties.js +126 -0
  204. package/src/assets/qms-ckeditor-plugin/src/plugins/table/converters/upcasttable.js +211 -0
  205. package/src/assets/qms-ckeditor-plugin/src/plugins/table/index.js +42 -0
  206. package/src/assets/qms-ckeditor-plugin/src/plugins/table/table.js +103 -0
  207. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellbackgroundcolorcommand.js +35 -0
  208. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellbordercolorcommand.js +47 -0
  209. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellborderstylecommand.js +47 -0
  210. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellborderwidthcommand.js +62 -0
  211. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellheightcommand.js +51 -0
  212. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellhorizontalalignmentcommand.js +35 -0
  213. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellpaddingcommand.js +62 -0
  214. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellpropertycommand.js +110 -0
  215. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellverticalalignmentcommand.js +43 -0
  216. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/commands/tablecellwidthcommand.js +51 -0
  217. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/tablecellpropertiesediting.js +204 -0
  218. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/tablecellpropertiesui.js +401 -0
  219. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties/ui/tablecellpropertiesview.js +829 -0
  220. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablecellproperties.js +80 -0
  221. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableclipboard.js +586 -0
  222. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableediting.js +160 -0
  223. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablekeyboard.js +343 -0
  224. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablemouse/mouseeventsobserver.js +72 -0
  225. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablemouse.js +218 -0
  226. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tablealignmentcommand.js +35 -0
  227. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tablebackgroundcolorcommand.js +35 -0
  228. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tablebordercolorcommand.js +47 -0
  229. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tableborderstylecommand.js +47 -0
  230. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tableborderwidthcommand.js +62 -0
  231. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tableheightcommand.js +51 -0
  232. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tablepropertycommand.js +98 -0
  233. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/commands/tablewidthcommand.js +51 -0
  234. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/tablepropertiesediting.js +182 -0
  235. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/tablepropertiesui.js +397 -0
  236. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties/ui/tablepropertiesview.js +714 -0
  237. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableproperties.js +81 -0
  238. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableselection.js +357 -0
  239. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tabletoolbar.js +111 -0
  240. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableui.js +359 -0
  241. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tableutils.js +909 -0
  242. package/src/assets/qms-ckeditor-plugin/src/plugins/table/tablewalker.js +538 -0
  243. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/colorinput.css +39 -0
  244. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/form.css +11 -0
  245. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/formrow.css +23 -0
  246. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/icons/table-cell-properties.svg +1 -0
  247. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/icons/table-column.svg +1 -0
  248. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/icons/table-merge-cell.svg +1 -0
  249. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/icons/table-properties.svg +1 -0
  250. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/icons/table-row.svg +1 -0
  251. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/icons/table.svg +1 -0
  252. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/inserttable.css +10 -0
  253. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/snippet.css +3876 -0
  254. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/table.css +67 -0
  255. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/tablecaption.css +53 -0
  256. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/tablecellproperties.css +28 -0
  257. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/tableediting.css +10 -0
  258. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/tableform.css +59 -0
  259. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/tableproperties.css +18 -0
  260. package/src/assets/qms-ckeditor-plugin/src/plugins/table/theme/tableselection.css +10 -0
  261. package/src/assets/qms-ckeditor-plugin/src/plugins/table/ui/colorinputview.js +343 -0
  262. package/src/assets/qms-ckeditor-plugin/src/plugins/table/ui/formrowview.js +103 -0
  263. package/src/assets/qms-ckeditor-plugin/src/plugins/table/ui/inserttableview.js +222 -0
  264. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/common.js +57 -0
  265. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/selection.js +276 -0
  266. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/structure.js +543 -0
  267. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/table-properties.js +66 -0
  268. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/ui/contextualballoon.js +130 -0
  269. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/ui/table-properties.js +397 -0
  270. package/src/assets/qms-ckeditor-plugin/src/plugins/table/utils/ui/widget.js +62 -0
  271. package/src/assets/qms-ckeditor-plugin/src/themes/icons/flowchart.svg +507 -0
  272. package/src/lib/components/comment/comment.scss +1 -0
  273. package/src/lib/components/qms-navigation-drawer/qms-navigation-drawer.component.scss +1 -0
  274. package/src/lib/components/qms-paginator/qms-paginator.component.scss +4 -1
  275. package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon1.svg +1 -0
  276. package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon2.svg +6 -0
  277. package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon3.svg +11 -0
  278. package/src/lib/qms-ckeditor-components/common/flowchart/assets/image-icon4.svg +8 -0
  279. package/src/lib/qms-ckeditor-components/common/flowchart/assets/member-female.png +0 -0
  280. package/src/lib/qms-ckeditor-components/common/flowchart/assets/member-male.png +0 -0
  281. package/src/lib/qms-ckeditor-components/common/flowchart/assets/no-color-icon.svg +72 -0
  282. package/src/lib/qms-ckeditor-components/common/flowchart/assets/toolbar-icons-material.png +0 -0
  283. package/src/lib/qms-ckeditor-components/common/flowchart/assets/toolbar-icons-modern.png +0 -0
  284. package/src/lib/qms-ckeditor-components/common/flowchart/assets/transparent-icon.svg +50 -0
  285. package/src/lib/qms-ckeditor-components/components/qms-ckeditor-flowchart/qms-ckeditor-flowchart.component.scss +68 -0
  286. package/src/lib/qms-ckeditor-components/styles/_modules.scss +9 -0
  287. package/src/themes/core/_mat-icon.scss +60 -60
  288. package/src/themes/core/_table.scss +72 -4
  289. package/src/themes/core/_typography.scss +108 -108
@@ -0,0 +1,538 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2021, CKSource - Frederico Knabben. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ /**
7
+ * @module table/tablewalker
8
+ */
9
+
10
+ // @if CK_DEBUG // import { CKEditorError } from 'ckeditor5/src/utils';
11
+
12
+ /**
13
+ * The table iterator class. It allows to iterate over table cells. For each cell the iterator yields
14
+ * {@link module:table/tablewalker~TableSlot} with proper table cell attributes.
15
+ */
16
+ export default class TableWalker {
17
+ /**
18
+ * Creates an instance of the table walker.
19
+ *
20
+ * The table walker iterates internally by traversing the table from row index = 0 and column index = 0.
21
+ * It walks row by row and column by column in order to output values defined in the constructor.
22
+ * By default it will output only the locations that are occupied by a cell. To include also spanned rows and columns,
23
+ * pass the `includeAllSlots` option to the constructor.
24
+ *
25
+ * The most important values of the iterator are column and row indexes of a cell.
26
+ *
27
+ * See {@link module:table/tablewalker~TableSlot} what values are returned by the table walker.
28
+ *
29
+ * To iterate over a given row:
30
+ *
31
+ * const tableWalker = new TableWalker( table, { startRow: 1, endRow: 2 } );
32
+ *
33
+ * for ( const tableSlot of tableWalker ) {
34
+ * console.log( 'A cell at row', tableSlot.row, 'and column', tableSlot.column );
35
+ * }
36
+ *
37
+ * For instance the code above for the following table:
38
+ *
39
+ * +----+----+----+----+----+----+
40
+ * | 00 | 02 | 03 | 04 | 05 |
41
+ * | +----+----+----+----+
42
+ * | | 12 | 14 | 15 |
43
+ * | +----+----+----+ +
44
+ * | | 22 | |
45
+ * |----+----+----+----+----+ +
46
+ * | 30 | 31 | 32 | 33 | 34 | |
47
+ * +----+----+----+----+----+----+
48
+ *
49
+ * will log in the console:
50
+ *
51
+ * 'A cell at row 1 and column 2'
52
+ * 'A cell at row 1 and column 4'
53
+ * 'A cell at row 1 and column 5'
54
+ * 'A cell at row 2 and column 2'
55
+ *
56
+ * To also iterate over spanned cells:
57
+ *
58
+ * const tableWalker = new TableWalker( table, { row: 1, includeAllSlots: true } );
59
+ *
60
+ * for ( const tableSlot of tableWalker ) {
61
+ * console.log( 'Slot at', tableSlot.row, 'x', tableSlot.column, ':', tableSlot.isAnchor ? 'is anchored' : 'is spanned' );
62
+ * }
63
+ *
64
+ * will log in the console for the table from the previous example:
65
+ *
66
+ * 'Cell at 1 x 0 : is spanned'
67
+ * 'Cell at 1 x 1 : is spanned'
68
+ * 'Cell at 1 x 2 : is anchored'
69
+ * 'Cell at 1 x 3 : is spanned'
70
+ * 'Cell at 1 x 4 : is anchored'
71
+ * 'Cell at 1 x 5 : is anchored'
72
+ *
73
+ * **Note**: Option `row` is a shortcut that sets both `startRow` and `endRow` to the same row.
74
+ * (Use either `row` or `startRow` and `endRow` but never together). Similarly the `column` option sets both `startColumn`
75
+ * and `endColumn` to the same column (Use either `column` or `startColumn` and `endColumn` but never together).
76
+ *
77
+ * @constructor
78
+ * @param {module:engine/model/element~Element} table A table over which the walker iterates.
79
+ * @param {Object} [options={}] An object with configuration.
80
+ * @param {Number} [options.row] A row index for which this iterator will output cells.
81
+ * Can't be used together with `startRow` and `endRow`.
82
+ * @param {Number} [options.startRow=0] A row index from which this iterator should start. Can't be used together with `row`.
83
+ * @param {Number} [options.endRow] A row index at which this iterator should end. Can't be used together with `row`.
84
+ * @param {Number} [options.column] A column index for which this iterator will output cells.
85
+ * Can't be used together with `startColumn` and `endColumn`.
86
+ * @param {Number} [options.startColumn=0] A column index from which this iterator should start. Can't be used together with `column`.
87
+ * @param {Number} [options.endColumn] A column index at which this iterator should end. Can't be used together with `column`.
88
+ * @param {Boolean} [options.includeAllSlots=false] Also return values for spanned cells.
89
+ */
90
+ constructor( table, options = {} ) {
91
+ /**
92
+ * The walker's table element.
93
+ *
94
+ * @readonly
95
+ * @member {module:engine/model/element~Element}
96
+ * @protected
97
+ */
98
+ this._table = table;
99
+
100
+ /**
101
+ * A row index from which this iterator will start.
102
+ *
103
+ * @readonly
104
+ * @member {Number}
105
+ * @private
106
+ */
107
+ this._startRow = options.row !== undefined ? options.row : options.startRow || 0;
108
+
109
+ /**
110
+ * A row index at which this iterator will end.
111
+ *
112
+ * @readonly
113
+ * @member {Number}
114
+ * @private
115
+ */
116
+ this._endRow = options.row !== undefined ? options.row : options.endRow;
117
+
118
+ /**
119
+ * If set, the table walker will only output cells from a given column and following ones or cells that overlap them.
120
+ *
121
+ * @readonly
122
+ * @member {Number}
123
+ * @private
124
+ */
125
+ this._startColumn = options.column !== undefined ? options.column : options.startColumn || 0;
126
+
127
+ /**
128
+ * If set, the table walker will only output cells up to a given column.
129
+ *
130
+ * @readonly
131
+ * @member {Number}
132
+ * @private
133
+ */
134
+ this._endColumn = options.column !== undefined ? options.column : options.endColumn;
135
+
136
+ /**
137
+ * Enables output of spanned cells that are normally not yielded.
138
+ *
139
+ * @readonly
140
+ * @member {Boolean}
141
+ * @private
142
+ */
143
+ this._includeAllSlots = !!options.includeAllSlots;
144
+
145
+ /**
146
+ * Row indexes to skip from the iteration.
147
+ *
148
+ * @readonly
149
+ * @member {Set<Number>}
150
+ * @private
151
+ */
152
+ this._skipRows = new Set();
153
+
154
+ /**
155
+ * The current row index.
156
+ *
157
+ * @member {Number}
158
+ * @protected
159
+ */
160
+ this._row = 0;
161
+
162
+ /**
163
+ * The current column index.
164
+ *
165
+ * @member {Number}
166
+ * @protected
167
+ */
168
+ this._column = 0;
169
+
170
+ /**
171
+ * The cell index in a parent row. For spanned cells when {@link #_includeAllSlots} is set to `true`,
172
+ * this represents the index of the next table cell.
173
+ *
174
+ * @member {Number}
175
+ * @protected
176
+ */
177
+ this._cellIndex = 0;
178
+
179
+ /**
180
+ * Holds a map of spanned cells in a table.
181
+ *
182
+ * @readonly
183
+ * @member {Map.<Number, Map.<Number, Object>>}
184
+ * @private
185
+ */
186
+ this._spannedCells = new Map();
187
+
188
+ /**
189
+ * Index of the next column where a cell is anchored.
190
+ *
191
+ * @member {Number}
192
+ * @private
193
+ */
194
+ this._nextCellAtColumn = -1;
195
+ }
196
+
197
+ /**
198
+ * Iterable interface.
199
+ *
200
+ * @returns {Iterable.<module:table/tablewalker~TableSlot>}
201
+ */
202
+ [ Symbol.iterator ]() {
203
+ return this;
204
+ }
205
+
206
+ /**
207
+ * Gets the next table walker's value.
208
+ *
209
+ * @returns {module:table/tablewalker~TableSlot} The next table walker's value.
210
+ */
211
+ next() {
212
+ const row = this._table.getChild( this._row );
213
+
214
+ // Iterator is done when there's no row (table ended) or the row is after `endRow` limit.
215
+ if ( !row || this._isOverEndRow() ) {
216
+ return { done: true };
217
+ }
218
+
219
+ if ( this._isOverEndColumn() ) {
220
+ return this._advanceToNextRow();
221
+ }
222
+
223
+ let outValue = null;
224
+
225
+ const spanData = this._getSpanned();
226
+
227
+ if ( spanData ) {
228
+ if ( this._includeAllSlots && !this._shouldSkipSlot() ) {
229
+ outValue = this._formatOutValue( spanData.cell, spanData.row, spanData.column );
230
+ }
231
+ } else {
232
+ const cell = row.getChild( this._cellIndex );
233
+
234
+ if ( !cell ) {
235
+ // If there are no more cells left in row advance to the next row.
236
+ return this._advanceToNextRow();
237
+ }
238
+
239
+ const colspan = parseInt( cell.getAttribute( 'colspan' ) || 1 );
240
+ const rowspan = parseInt( cell.getAttribute( 'rowspan' ) || 1 );
241
+
242
+ // Record this cell spans if it's not 1x1 cell.
243
+ if ( colspan > 1 || rowspan > 1 ) {
244
+ this._recordSpans( cell, rowspan, colspan );
245
+ }
246
+
247
+ if ( !this._shouldSkipSlot() ) {
248
+ outValue = this._formatOutValue( cell );
249
+ }
250
+
251
+ this._nextCellAtColumn = this._column + colspan;
252
+ }
253
+
254
+ // Advance to the next column before returning value.
255
+ this._column++;
256
+
257
+ if ( this._column == this._nextCellAtColumn ) {
258
+ this._cellIndex++;
259
+ }
260
+
261
+ // The current value will be returned only if current row and column are not skipped.
262
+ return outValue || this.next();
263
+ }
264
+
265
+ /**
266
+ * Marks a row to skip in the next iteration. It will also skip cells from the current row if there are any cells from the current row
267
+ * to output.
268
+ *
269
+ * @param {Number} row The row index to skip.
270
+ */
271
+ skipRow( row ) {
272
+ this._skipRows.add( row );
273
+ }
274
+
275
+ /**
276
+ * Advances internal cursor to the next row.
277
+ *
278
+ * @private
279
+ * @returns {module:table/tablewalker~TableSlot}
280
+ */
281
+ _advanceToNextRow() {
282
+ this._row++;
283
+ this._column = 0;
284
+ this._cellIndex = 0;
285
+ this._nextCellAtColumn = -1;
286
+
287
+ return this.next();
288
+ }
289
+
290
+ /**
291
+ * Checks if the current row is over {@link #_endRow}.
292
+ *
293
+ * @private
294
+ * @returns {Boolean}
295
+ */
296
+ _isOverEndRow() {
297
+ // If #_endRow is defined skip all rows after it.
298
+ return this._endRow !== undefined && this._row > this._endRow;
299
+ }
300
+
301
+ /**
302
+ * Checks if the current cell is over {@link #_endColumn}
303
+ *
304
+ * @private
305
+ * @returns {Boolean}
306
+ */
307
+ _isOverEndColumn() {
308
+ // If #_endColumn is defined skip all cells after it.
309
+ return this._endColumn !== undefined && this._column > this._endColumn;
310
+ }
311
+
312
+ /**
313
+ * A common method for formatting the iterator's output value.
314
+ *
315
+ * @private
316
+ * @param {module:engine/model/element~Element} cell The table cell to output.
317
+ * @param {Number} [anchorRow] The row index of a cell anchor slot.
318
+ * @param {Number} [anchorColumn] The column index of a cell anchor slot.
319
+ * @returns {{done: Boolean, value: {cell: *, row: Number, column: *, rowspan: *, colspan: *, cellIndex: Number}}}
320
+ */
321
+ _formatOutValue( cell, anchorRow = this._row, anchorColumn = this._column ) {
322
+ return {
323
+ done: false,
324
+ value: new TableSlot( this, cell, anchorRow, anchorColumn )
325
+ };
326
+ }
327
+
328
+ /**
329
+ * Checks if the current slot should be skipped.
330
+ *
331
+ * @private
332
+ * @returns {Boolean}
333
+ */
334
+ _shouldSkipSlot() {
335
+ const rowIsMarkedAsSkipped = this._skipRows.has( this._row );
336
+ const rowIsBeforeStartRow = this._row < this._startRow;
337
+
338
+ const columnIsBeforeStartColumn = this._column < this._startColumn;
339
+ const columnIsAfterEndColumn = this._endColumn !== undefined && this._column > this._endColumn;
340
+
341
+ return rowIsMarkedAsSkipped || rowIsBeforeStartRow || columnIsBeforeStartColumn || columnIsAfterEndColumn;
342
+ }
343
+
344
+ /**
345
+ * Returns the cell element that is spanned over the current cell location.
346
+ *
347
+ * @private
348
+ * @returns {module:engine/model/element~Element}
349
+ */
350
+ _getSpanned() {
351
+ const rowMap = this._spannedCells.get( this._row );
352
+
353
+ // No spans for given row.
354
+ if ( !rowMap ) {
355
+ return null;
356
+ }
357
+
358
+ // If spans for given rows has entry for column it means that this location if spanned by other cell.
359
+ return rowMap.get( this._column ) || null;
360
+ }
361
+
362
+ /**
363
+ * Updates spanned cells map relative to the current cell location and its span dimensions.
364
+ *
365
+ * @private
366
+ * @param {module:engine/model/element~Element} cell A cell that is spanned.
367
+ * @param {Number} rowspan Cell height.
368
+ * @param {Number} colspan Cell width.
369
+ */
370
+ _recordSpans( cell, rowspan, colspan ) {
371
+ const data = {
372
+ cell,
373
+ row: this._row,
374
+ column: this._column
375
+ };
376
+
377
+ for ( let rowToUpdate = this._row; rowToUpdate < this._row + rowspan; rowToUpdate++ ) {
378
+ for ( let columnToUpdate = this._column; columnToUpdate < this._column + colspan; columnToUpdate++ ) {
379
+ if ( rowToUpdate != this._row || columnToUpdate != this._column ) {
380
+ this._markSpannedCell( rowToUpdate, columnToUpdate, data );
381
+ }
382
+ }
383
+ }
384
+ }
385
+
386
+ /**
387
+ * Marks the cell location as spanned by another cell.
388
+ *
389
+ * @private
390
+ * @param {Number} row The row index of the cell location.
391
+ * @param {Number} column The column index of the cell location.
392
+ * @param {Object} data A spanned cell details (cell element, anchor row and column).
393
+ */
394
+ _markSpannedCell( row, column, data ) {
395
+ if ( !this._spannedCells.has( row ) ) {
396
+ this._spannedCells.set( row, new Map() );
397
+ }
398
+
399
+ const rowSpans = this._spannedCells.get( row );
400
+
401
+ rowSpans.set( column, data );
402
+ }
403
+ }
404
+
405
+ /**
406
+ * An object returned by {@link module:table/tablewalker~TableWalker} when traversing table cells.
407
+ */
408
+ class TableSlot {
409
+ /**
410
+ * Creates an instance of the table walker value.
411
+ *
412
+ * @protected
413
+ * @param {module:table/tablewalker~TableWalker} tableWalker The table walker instance.
414
+ * @param {module:engine/model/element~Element} cell The current table cell.
415
+ * @param {Number} anchorRow The row index of a cell anchor slot.
416
+ * @param {Number} anchorColumn The column index of a cell anchor slot.
417
+ */
418
+ constructor( tableWalker, cell, anchorRow, anchorColumn ) {
419
+ /**
420
+ * The current table cell.
421
+ *
422
+ * @readonly
423
+ * @member {module:engine/model/element~Element}
424
+ */
425
+ this.cell = cell;
426
+
427
+ /**
428
+ * The row index of a table slot.
429
+ *
430
+ * @readonly
431
+ * @member {Number}
432
+ */
433
+ this.row = tableWalker._row;
434
+
435
+ /**
436
+ * The column index of a table slot.
437
+ *
438
+ * @readonly
439
+ * @member {Number}
440
+ */
441
+ this.column = tableWalker._column;
442
+
443
+ /**
444
+ * The row index of a cell anchor slot.
445
+ *
446
+ * @readonly
447
+ * @member {Number}
448
+ */
449
+ this.cellAnchorRow = anchorRow;
450
+
451
+ /**
452
+ * The column index of a cell anchor slot.
453
+ *
454
+ * @readonly
455
+ * @member {Number}
456
+ */
457
+ this.cellAnchorColumn = anchorColumn;
458
+
459
+ /**
460
+ * The index of the current cell in the parent row.
461
+ *
462
+ * @readonly
463
+ * @member {Number}
464
+ * @private
465
+ */
466
+ this._cellIndex = tableWalker._cellIndex;
467
+
468
+ /**
469
+ * The table element.
470
+ *
471
+ * @readonly
472
+ * @member {module:engine/model/element~Element}
473
+ * @private
474
+ */
475
+ this._table = tableWalker._table;
476
+ }
477
+
478
+ /**
479
+ * Whether the cell is anchored in the current slot.
480
+ *
481
+ * @readonly
482
+ * @returns {Boolean}
483
+ */
484
+ get isAnchor() {
485
+ return this.row === this.cellAnchorRow && this.column === this.cellAnchorColumn;
486
+ }
487
+
488
+ /**
489
+ * The width of a cell defined by a `colspan` attribute. If the model attribute is not present, it is set to `1`.
490
+ *
491
+ * @readonly
492
+ * @returns {Number}
493
+ */
494
+ get cellWidth() {
495
+ return parseInt( this.cell.getAttribute( 'colspan' ) || 1 );
496
+ }
497
+
498
+ /**
499
+ * The height of a cell defined by a `rowspan` attribute. If the model attribute is not present, it is set to `1`.
500
+ *
501
+ * @readonly
502
+ * @returns {Number}
503
+ */
504
+ get cellHeight() {
505
+ return parseInt( this.cell.getAttribute( 'rowspan' ) || 1 );
506
+ }
507
+
508
+ /**
509
+ * Returns the {@link module:engine/model/position~Position} before the table slot.
510
+ *
511
+ * @returns {module:engine/model/position~Position}
512
+ */
513
+ getPositionBefore() {
514
+ const model = this._table.root.document.model;
515
+
516
+ return model.createPositionAt( this._table.getChild( this.row ), this._cellIndex );
517
+ }
518
+
519
+ // @if CK_DEBUG // get isSpanned() { throwMissingGetterError( 'isSpanned' ); }
520
+ // @if CK_DEBUG // get colspan() { throwMissingGetterError( 'colspan' ); }
521
+ // @if CK_DEBUG // get rowspan() { throwMissingGetterError( 'rowspan' ); }
522
+ // @if CK_DEBUG // get cellIndex() { throwMissingGetterError( 'cellIndex' ); }
523
+ }
524
+
525
+ /**
526
+ * This `TableSlot`'s getter (property) was removed in CKEditor 5 v20.0.0.
527
+ *
528
+ * Check out the new `TableWalker`'s API in the documentation.
529
+ *
530
+ * @error tableslot-getter-removed
531
+ * @param {String} getterName
532
+ */
533
+
534
+ // @if CK_DEBUG // function throwMissingGetterError( getterName ) {
535
+ // @if CK_DEBUG // throw new CKEditorError( 'tableslot-getter-removed', this, {
536
+ // @if CK_DEBUG // getterName
537
+ // @if CK_DEBUG // } );
538
+ // @if CK_DEBUG // }
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ .ck.ck-input-color {
7
+ width: 100%;
8
+ display: flex;
9
+ flex-direction: row-reverse;
10
+
11
+ & > input.ck.ck-input-text {
12
+ min-width: auto;
13
+ flex-grow: 1;
14
+ }
15
+
16
+ & > div.ck.ck-dropdown {
17
+ min-width: auto;
18
+
19
+ /* This dropdown has no arrow but a color preview instead. */
20
+ & > .ck-input-color__button .ck-dropdown__arrow {
21
+ display: none;
22
+ }
23
+ }
24
+
25
+ & .ck.ck-input-color__button {
26
+ /* Resolving issue with misaligned buttons on Safari (see #10589) */
27
+ display: flex;
28
+
29
+ & .ck.ck-input-color__button__preview {
30
+ position: relative;
31
+ overflow: hidden;
32
+
33
+ & > .ck.ck-input-color__button__preview__no-color-indicator {
34
+ position: absolute;
35
+ display: block;
36
+ }
37
+ }
38
+ }
39
+ }
@@ -0,0 +1,11 @@
1
+ /*
2
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ /*
7
+ * Note: This file should contain the wireframe styles only. But since there are no such styles,
8
+ * it acts as a message to the builder telling that it should look for the corresponding styles
9
+ * **in the theme** when compiling the editor.
10
+ */
11
+
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ .ck.ck-form__row {
7
+ display: flex;
8
+ flex-direction: row;
9
+ flex-wrap: nowrap;
10
+ justify-content: space-between;
11
+
12
+ /* Ignore labels that work as fieldset legends */
13
+ & > *:not(.ck-label) {
14
+ flex-grow: 1;
15
+ }
16
+
17
+ &.ck-table-form__action-row {
18
+ & .ck-button-save,
19
+ & .ck-button-cancel {
20
+ justify-content: center;
21
+ }
22
+ }
23
+ }
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M18 7v1H2V7h16zm0 5v1H2v-1h16z" opacity=".6"/><path d="M14 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V1a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1zm-2 1H8v4h4V2zm0 6H8v4h4V8zm0 6H8v4h4v-4z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v7h-1V2zm6 5v1H2V7h16zM8 12v1H2v-1h6z" opacity=".6"/><path d="M7 7h12a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1zm1 2v9h10V9H8z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 1h15A1.5 1.5 0 0 1 19 2.5v15a1.5 1.5 0 0 1-1.5 1.5h-15A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1zM2 2v16h16V2H2z" opacity=".6"/><path d="M7 2h1v16H7V2zm5 0h1v16h-1V2z" opacity=".6"/><path d="M1 6h18a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1zm1 2v4h4V8H2zm6 0v4h4V8H8zm6 0v4h4V8h-4z"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3 6v3h4V6H3zm0 4v3h4v-3H3zm0 4v3h4v-3H3zm5 3h4v-3H8v3zm5 0h4v-3h-4v3zm4-4v-3h-4v3h4zm0-4V6h-4v3h4zm1.5 8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 17V4c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13zM12 13v-3H8v3h4zm0-4V6H8v3h4z"/></svg>
@@ -0,0 +1,10 @@
1
+ /*
2
+ * Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4
+ */
5
+
6
+ .ck .ck-insert-table-dropdown__grid {
7
+ display: flex;
8
+ flex-direction: row;
9
+ flex-wrap: wrap;
10
+ }