@umbraco-cms/backoffice 14.0.0-a353ecfe → 14.0.0-e0d20272

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 (632) hide show
  1. package/dist-cms/apps/app/app.element.js +17 -7
  2. package/dist-cms/apps/app/app.element.js.map +1 -1
  3. package/dist-cms/custom-elements.json +148 -25
  4. package/dist-cms/external/backend-api/index.js +1 -1
  5. package/dist-cms/external/rxjs/index.js +2 -2
  6. package/dist-cms/external/tinymce/index.js +49 -0
  7. package/dist-cms/mocks/data/data-type.data.js +69 -1
  8. package/dist-cms/mocks/data/data-type.data.js.map +1 -1
  9. package/dist-cms/mocks/data/document-type.data.js +18 -0
  10. package/dist-cms/mocks/data/document-type.data.js.map +1 -1
  11. package/dist-cms/mocks/data/document.data.js +7 -0
  12. package/dist-cms/mocks/data/document.data.js.map +1 -1
  13. package/dist-cms/mocks/data/template.data.d.ts +1 -1
  14. package/dist-cms/mocks/data/template.data.js +14 -5
  15. package/dist-cms/mocks/data/template.data.js.map +1 -1
  16. package/dist-cms/mocks/handlers/images.handlers.d.ts +1 -0
  17. package/dist-cms/mocks/handlers/images.handlers.js +8 -0
  18. package/dist-cms/mocks/handlers/images.handlers.js.map +1 -0
  19. package/dist-cms/mocks/handlers/manifests.handlers.js +1 -1
  20. package/dist-cms/mocks/handlers/manifests.handlers.js.map +1 -1
  21. package/dist-cms/mocks/handlers/rte-embed.handlers.js +6 -2
  22. package/dist-cms/mocks/handlers/rte-embed.handlers.js.map +1 -1
  23. package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.d.ts +15 -0
  24. package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.js +17 -0
  25. package/dist-cms/packages/core/components/data-type/data-type-property-collection.class.js.map +1 -1
  26. package/dist-cms/packages/core/components/index.d.ts +1 -0
  27. package/dist-cms/packages/core/components/index.js +1 -0
  28. package/dist-cms/packages/core/components/index.js.map +1 -1
  29. package/dist-cms/packages/core/components/input-tiny-mce/index.d.ts +6 -0
  30. package/dist-cms/packages/core/components/input-tiny-mce/index.js +7 -0
  31. package/dist-cms/packages/core/components/input-tiny-mce/index.js.map +1 -0
  32. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.d.ts +5 -0
  33. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.js +46 -0
  34. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.defaults.js.map +1 -0
  35. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.d.ts +29 -0
  36. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js +270 -0
  37. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.element.js.map +1 -0
  38. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.d.ts +3 -0
  39. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.js +39 -0
  40. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.handlers.js.map +1 -0
  41. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.languages.d.ts +1 -0
  42. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.languages.js +79 -0
  43. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.languages.js.map +1 -0
  44. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.sanitizer.d.ts +6 -0
  45. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.sanitizer.js +54 -0
  46. package/dist-cms/packages/core/components/input-tiny-mce/input-tiny-mce.sanitizer.js.map +1 -0
  47. package/dist-cms/packages/core/components/input-tiny-mce/tiny-mce-plugin.d.ts +12 -0
  48. package/dist-cms/packages/core/components/input-tiny-mce/tiny-mce-plugin.js +8 -0
  49. package/dist-cms/packages/core/components/input-tiny-mce/tiny-mce-plugin.js.map +1 -0
  50. package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.d.ts +3 -3
  51. package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.js +10 -10
  52. package/dist-cms/packages/core/components/property-editor-config/property-editor-config.element.js.map +1 -1
  53. package/dist-cms/packages/core/components/property-type-based-property/property-type-based-property.element.js +3 -3
  54. package/dist-cms/packages/core/components/property-type-based-property/property-type-based-property.element.js.map +1 -1
  55. package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.d.ts +1 -1
  56. package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.js +5 -5
  57. package/dist-cms/packages/core/components/ref-property-editor-ui/ref-property-editor-ui.element.js.map +1 -1
  58. package/dist-cms/packages/core/extension-registry/models/index.d.ts +4 -2
  59. package/dist-cms/packages/core/extension-registry/models/index.js +1 -0
  60. package/dist-cms/packages/core/extension-registry/models/index.js.map +1 -1
  61. package/dist-cms/packages/core/extension-registry/models/property-editor.model.d.ts +5 -5
  62. package/dist-cms/packages/core/extension-registry/models/tinymce-plugin.model.d.ts +38 -0
  63. package/dist-cms/packages/core/extension-registry/models/tinymce-plugin.model.js +2 -0
  64. package/dist-cms/packages/core/extension-registry/models/tinymce-plugin.model.js.map +1 -0
  65. package/dist-cms/packages/core/index.d.ts +1 -0
  66. package/dist-cms/packages/core/index.js +3 -0
  67. package/dist-cms/packages/core/index.js.map +1 -1
  68. package/dist-cms/packages/core/macro/index.d.ts +1 -0
  69. package/dist-cms/packages/core/macro/index.js +2 -0
  70. package/dist-cms/packages/core/macro/index.js.map +1 -0
  71. package/dist-cms/packages/core/macro/macro.service.d.ts +26 -0
  72. package/dist-cms/packages/core/macro/macro.service.js +117 -0
  73. package/dist-cms/packages/core/macro/macro.service.js.map +1 -0
  74. package/dist-cms/packages/core/modal/common/code-editor/code-editor-modal.element.d.ts +17 -0
  75. package/dist-cms/packages/core/modal/common/code-editor/code-editor-modal.element.js +92 -0
  76. package/dist-cms/packages/core/modal/common/code-editor/code-editor-modal.element.js.map +1 -0
  77. package/dist-cms/packages/core/modal/common/embedded-media/embedded-media-modal.element.d.ts +3 -5
  78. package/dist-cms/packages/core/modal/common/embedded-media/embedded-media-modal.element.js +11 -11
  79. package/dist-cms/packages/core/modal/common/embedded-media/embedded-media-modal.element.js.map +1 -1
  80. package/dist-cms/packages/core/modal/common/manifests.js +6 -0
  81. package/dist-cms/packages/core/modal/common/manifests.js.map +1 -1
  82. package/dist-cms/packages/core/modal/token/code-editor-modal.token.d.ts +12 -0
  83. package/dist-cms/packages/core/modal/token/code-editor-modal.token.js +6 -0
  84. package/dist-cms/packages/core/modal/token/code-editor-modal.token.js.map +1 -0
  85. package/dist-cms/packages/core/modal/token/embedded-media-modal.token.d.ts +8 -7
  86. package/dist-cms/packages/core/modal/token/embedded-media-modal.token.js +2 -1
  87. package/dist-cms/packages/core/modal/token/embedded-media-modal.token.js.map +1 -1
  88. package/dist-cms/packages/core/modal/token/index.d.ts +1 -0
  89. package/dist-cms/packages/core/modal/token/index.js +1 -0
  90. package/dist-cms/packages/core/modal/token/index.js.map +1 -1
  91. package/dist-cms/packages/core/property-editors/manifests.d.ts +1 -1
  92. package/dist-cms/packages/core/property-editors/manifests.js +2 -2
  93. package/dist-cms/packages/core/property-editors/manifests.js.map +1 -1
  94. package/dist-cms/packages/core/property-editors/models/Umbraco.BlockGrid.d.ts +2 -2
  95. package/dist-cms/packages/core/property-editors/models/Umbraco.BlockGrid.js +1 -1
  96. package/dist-cms/packages/core/property-editors/models/Umbraco.BlockGrid.js.map +1 -1
  97. package/dist-cms/packages/core/property-editors/models/Umbraco.BlockList.d.ts +2 -2
  98. package/dist-cms/packages/core/property-editors/models/Umbraco.BlockList.js +1 -1
  99. package/dist-cms/packages/core/property-editors/models/Umbraco.BlockList.js.map +1 -1
  100. package/dist-cms/packages/core/property-editors/models/Umbraco.CheckboxList.d.ts +2 -2
  101. package/dist-cms/packages/core/property-editors/models/Umbraco.CheckboxList.js +1 -1
  102. package/dist-cms/packages/core/property-editors/models/Umbraco.CheckboxList.js.map +1 -1
  103. package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.EyeDropper.d.ts +2 -2
  104. package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.EyeDropper.js +1 -1
  105. package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.EyeDropper.js.map +1 -1
  106. package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.d.ts +2 -2
  107. package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.js +1 -1
  108. package/dist-cms/packages/core/property-editors/models/Umbraco.ColorPicker.js.map +1 -1
  109. package/dist-cms/packages/core/property-editors/models/Umbraco.DateTime.d.ts +2 -2
  110. package/dist-cms/packages/core/property-editors/models/Umbraco.DateTime.js +1 -1
  111. package/dist-cms/packages/core/property-editors/models/Umbraco.DateTime.js.map +1 -1
  112. package/dist-cms/packages/core/property-editors/models/Umbraco.Decimal.d.ts +2 -2
  113. package/dist-cms/packages/core/property-editors/models/Umbraco.Decimal.js +1 -1
  114. package/dist-cms/packages/core/property-editors/models/Umbraco.Decimal.js.map +1 -1
  115. package/dist-cms/packages/core/property-editors/models/Umbraco.Dropdown.Flexible.d.ts +2 -2
  116. package/dist-cms/packages/core/property-editors/models/Umbraco.Dropdown.Flexible.js +1 -1
  117. package/dist-cms/packages/core/property-editors/models/Umbraco.Dropdown.Flexible.js.map +1 -1
  118. package/dist-cms/packages/core/property-editors/models/Umbraco.EmailAddress.d.ts +2 -2
  119. package/dist-cms/packages/core/property-editors/models/Umbraco.EmailAddress.js +1 -1
  120. package/dist-cms/packages/core/property-editors/models/Umbraco.EmailAddress.js.map +1 -1
  121. package/dist-cms/packages/core/property-editors/models/Umbraco.IconPicker.d.ts +2 -2
  122. package/dist-cms/packages/core/property-editors/models/Umbraco.IconPicker.js +1 -1
  123. package/dist-cms/packages/core/property-editors/models/Umbraco.IconPicker.js.map +1 -1
  124. package/dist-cms/packages/core/property-editors/models/Umbraco.ImageCropper.d.ts +2 -2
  125. package/dist-cms/packages/core/property-editors/models/Umbraco.ImageCropper.js +1 -1
  126. package/dist-cms/packages/core/property-editors/models/Umbraco.ImageCropper.js.map +1 -1
  127. package/dist-cms/packages/core/property-editors/models/Umbraco.Integer.d.ts +2 -2
  128. package/dist-cms/packages/core/property-editors/models/Umbraco.Integer.js +1 -1
  129. package/dist-cms/packages/core/property-editors/models/Umbraco.Integer.js.map +1 -1
  130. package/dist-cms/packages/core/property-editors/models/Umbraco.JSON.d.ts +2 -2
  131. package/dist-cms/packages/core/property-editors/models/Umbraco.JSON.js +1 -1
  132. package/dist-cms/packages/core/property-editors/models/Umbraco.JSON.js.map +1 -1
  133. package/dist-cms/packages/core/property-editors/models/Umbraco.Label.d.ts +2 -2
  134. package/dist-cms/packages/core/property-editors/models/Umbraco.Label.js +1 -1
  135. package/dist-cms/packages/core/property-editors/models/Umbraco.Label.js.map +1 -1
  136. package/dist-cms/packages/core/property-editors/models/Umbraco.ListView.d.ts +2 -2
  137. package/dist-cms/packages/core/property-editors/models/Umbraco.ListView.js +1 -1
  138. package/dist-cms/packages/core/property-editors/models/Umbraco.ListView.js.map +1 -1
  139. package/dist-cms/packages/core/property-editors/models/Umbraco.MarkdownEditor.d.ts +2 -2
  140. package/dist-cms/packages/core/property-editors/models/Umbraco.MarkdownEditor.js +1 -1
  141. package/dist-cms/packages/core/property-editors/models/Umbraco.MarkdownEditor.js.map +1 -1
  142. package/dist-cms/packages/core/property-editors/models/Umbraco.MediaPicker3.d.ts +2 -2
  143. package/dist-cms/packages/core/property-editors/models/Umbraco.MediaPicker3.js +1 -1
  144. package/dist-cms/packages/core/property-editors/models/Umbraco.MediaPicker3.js.map +1 -1
  145. package/dist-cms/packages/core/property-editors/models/Umbraco.MemberGroupPicker.d.ts +2 -2
  146. package/dist-cms/packages/core/property-editors/models/Umbraco.MemberGroupPicker.js +1 -1
  147. package/dist-cms/packages/core/property-editors/models/Umbraco.MemberGroupPicker.js.map +1 -1
  148. package/dist-cms/packages/core/property-editors/models/Umbraco.MemberPicker.d.ts +2 -2
  149. package/dist-cms/packages/core/property-editors/models/Umbraco.MemberPicker.js +1 -1
  150. package/dist-cms/packages/core/property-editors/models/Umbraco.MemberPicker.js.map +1 -1
  151. package/dist-cms/packages/core/property-editors/models/Umbraco.MultiNodeTreePicker.d.ts +2 -2
  152. package/dist-cms/packages/core/property-editors/models/Umbraco.MultiNodeTreePicker.js +1 -1
  153. package/dist-cms/packages/core/property-editors/models/Umbraco.MultiNodeTreePicker.js.map +1 -1
  154. package/dist-cms/packages/core/property-editors/models/Umbraco.MultiUrlPicker.d.ts +2 -2
  155. package/dist-cms/packages/core/property-editors/models/Umbraco.MultiUrlPicker.js +1 -1
  156. package/dist-cms/packages/core/property-editors/models/Umbraco.MultiUrlPicker.js.map +1 -1
  157. package/dist-cms/packages/core/property-editors/models/Umbraco.MultipleTextString.d.ts +2 -2
  158. package/dist-cms/packages/core/property-editors/models/Umbraco.MultipleTextString.js +1 -1
  159. package/dist-cms/packages/core/property-editors/models/Umbraco.MultipleTextString.js.map +1 -1
  160. package/dist-cms/packages/core/property-editors/models/Umbraco.RadioButtonList.d.ts +2 -2
  161. package/dist-cms/packages/core/property-editors/models/Umbraco.RadioButtonList.js +1 -1
  162. package/dist-cms/packages/core/property-editors/models/Umbraco.RadioButtonList.js.map +1 -1
  163. package/dist-cms/packages/core/property-editors/models/Umbraco.RichText.d.ts +2 -0
  164. package/dist-cms/packages/core/property-editors/models/{Umbraco.TinyMCE.js → Umbraco.RichText.js} +4 -3
  165. package/dist-cms/packages/core/property-editors/models/Umbraco.RichText.js.map +1 -0
  166. package/dist-cms/packages/core/property-editors/models/Umbraco.Slider.d.ts +2 -2
  167. package/dist-cms/packages/core/property-editors/models/Umbraco.Slider.js +1 -1
  168. package/dist-cms/packages/core/property-editors/models/Umbraco.Slider.js.map +1 -1
  169. package/dist-cms/packages/core/property-editors/models/Umbraco.Tags.d.ts +2 -2
  170. package/dist-cms/packages/core/property-editors/models/Umbraco.Tags.js +1 -1
  171. package/dist-cms/packages/core/property-editors/models/Umbraco.Tags.js.map +1 -1
  172. package/dist-cms/packages/core/property-editors/models/Umbraco.TextArea.d.ts +2 -2
  173. package/dist-cms/packages/core/property-editors/models/Umbraco.TextArea.js +1 -1
  174. package/dist-cms/packages/core/property-editors/models/Umbraco.TextArea.js.map +1 -1
  175. package/dist-cms/packages/core/property-editors/models/Umbraco.TextBox.d.ts +2 -2
  176. package/dist-cms/packages/core/property-editors/models/Umbraco.TextBox.js +1 -1
  177. package/dist-cms/packages/core/property-editors/models/Umbraco.TextBox.js.map +1 -1
  178. package/dist-cms/packages/core/property-editors/models/Umbraco.TrueFalse.d.ts +2 -2
  179. package/dist-cms/packages/core/property-editors/models/Umbraco.TrueFalse.js +1 -1
  180. package/dist-cms/packages/core/property-editors/models/Umbraco.TrueFalse.js.map +1 -1
  181. package/dist-cms/packages/core/property-editors/models/Umbraco.UploadField.d.ts +2 -2
  182. package/dist-cms/packages/core/property-editors/models/Umbraco.UploadField.js +1 -1
  183. package/dist-cms/packages/core/property-editors/models/Umbraco.UploadField.js.map +1 -1
  184. package/dist-cms/packages/core/property-editors/models/Umbraco.UserPicker.d.ts +2 -2
  185. package/dist-cms/packages/core/property-editors/models/Umbraco.UserPicker.js +1 -1
  186. package/dist-cms/packages/core/property-editors/models/Umbraco.UserPicker.js.map +1 -1
  187. package/dist-cms/packages/core/property-editors/models/manifests.d.ts +2 -2
  188. package/dist-cms/packages/core/property-editors/models/manifests.js +2 -2
  189. package/dist-cms/packages/core/property-editors/models/manifests.js.map +1 -1
  190. package/dist-cms/packages/core/property-editors/uis/block-grid/config/block-configuration/manifests.js +1 -1
  191. package/dist-cms/packages/core/property-editors/uis/block-grid/config/block-configuration/manifests.js.map +1 -1
  192. package/dist-cms/packages/core/property-editors/uis/block-grid/config/group-configuration/manifests.js +1 -1
  193. package/dist-cms/packages/core/property-editors/uis/block-grid/config/group-configuration/manifests.js.map +1 -1
  194. package/dist-cms/packages/core/property-editors/uis/block-grid/config/stylesheet-picker/manifests.js +1 -1
  195. package/dist-cms/packages/core/property-editors/uis/block-grid/config/stylesheet-picker/manifests.js.map +1 -1
  196. package/dist-cms/packages/core/property-editors/uis/block-grid/manifests.js +1 -1
  197. package/dist-cms/packages/core/property-editors/uis/block-grid/manifests.js.map +1 -1
  198. package/dist-cms/packages/core/property-editors/uis/block-list/config/block-configuration/manifests.js +1 -1
  199. package/dist-cms/packages/core/property-editors/uis/block-list/config/block-configuration/manifests.js.map +1 -1
  200. package/dist-cms/packages/core/property-editors/uis/block-list/manifests.js +1 -1
  201. package/dist-cms/packages/core/property-editors/uis/block-list/manifests.js.map +1 -1
  202. package/dist-cms/packages/core/property-editors/uis/checkbox-list/manifests.js +1 -1
  203. package/dist-cms/packages/core/property-editors/uis/checkbox-list/manifests.js.map +1 -1
  204. package/dist-cms/packages/core/property-editors/uis/collection-view/config/bulk-action-permissions/manifests.js +1 -1
  205. package/dist-cms/packages/core/property-editors/uis/collection-view/config/bulk-action-permissions/manifests.js.map +1 -1
  206. package/dist-cms/packages/core/property-editors/uis/collection-view/config/column-configuration/manifests.js +1 -1
  207. package/dist-cms/packages/core/property-editors/uis/collection-view/config/column-configuration/manifests.js.map +1 -1
  208. package/dist-cms/packages/core/property-editors/uis/collection-view/config/layout-configuration/manifests.js +1 -1
  209. package/dist-cms/packages/core/property-editors/uis/collection-view/config/layout-configuration/manifests.js.map +1 -1
  210. package/dist-cms/packages/core/property-editors/uis/collection-view/config/order-by/manifests.js +1 -1
  211. package/dist-cms/packages/core/property-editors/uis/collection-view/config/order-by/manifests.js.map +1 -1
  212. package/dist-cms/packages/core/property-editors/uis/collection-view/manifests.js +1 -1
  213. package/dist-cms/packages/core/property-editors/uis/collection-view/manifests.js.map +1 -1
  214. package/dist-cms/packages/core/property-editors/uis/color-picker/manifests.js +1 -1
  215. package/dist-cms/packages/core/property-editors/uis/color-picker/manifests.js.map +1 -1
  216. package/dist-cms/packages/core/property-editors/uis/date-picker/manifests.js +1 -1
  217. package/dist-cms/packages/core/property-editors/uis/date-picker/manifests.js.map +1 -1
  218. package/dist-cms/packages/core/property-editors/uis/dropdown/manifests.js +1 -1
  219. package/dist-cms/packages/core/property-editors/uis/dropdown/manifests.js.map +1 -1
  220. package/dist-cms/packages/core/property-editors/uis/eye-dropper/manifests.js +1 -1
  221. package/dist-cms/packages/core/property-editors/uis/eye-dropper/manifests.js.map +1 -1
  222. package/dist-cms/packages/core/property-editors/uis/icon-picker/manifests.js +1 -1
  223. package/dist-cms/packages/core/property-editors/uis/icon-picker/manifests.js.map +1 -1
  224. package/dist-cms/packages/core/property-editors/uis/image-cropper/manifests.js +1 -1
  225. package/dist-cms/packages/core/property-editors/uis/image-cropper/manifests.js.map +1 -1
  226. package/dist-cms/packages/core/property-editors/uis/image-crops-configuration/manifests.js +1 -1
  227. package/dist-cms/packages/core/property-editors/uis/image-crops-configuration/manifests.js.map +1 -1
  228. package/dist-cms/packages/core/property-editors/uis/label/manifests.js +1 -1
  229. package/dist-cms/packages/core/property-editors/uis/label/manifests.js.map +1 -1
  230. package/dist-cms/packages/core/property-editors/uis/manifests.js +1 -1
  231. package/dist-cms/packages/core/property-editors/uis/manifests.js.map +1 -1
  232. package/dist-cms/packages/core/property-editors/uis/markdown-editor/manifests.js +1 -1
  233. package/dist-cms/packages/core/property-editors/uis/markdown-editor/manifests.js.map +1 -1
  234. package/dist-cms/packages/core/property-editors/uis/media-picker/manifests.js +1 -1
  235. package/dist-cms/packages/core/property-editors/uis/media-picker/manifests.js.map +1 -1
  236. package/dist-cms/packages/core/property-editors/uis/member-group-picker/manifests.js +1 -1
  237. package/dist-cms/packages/core/property-editors/uis/member-group-picker/manifests.js.map +1 -1
  238. package/dist-cms/packages/core/property-editors/uis/member-picker/manifests.js +1 -1
  239. package/dist-cms/packages/core/property-editors/uis/member-picker/manifests.js.map +1 -1
  240. package/dist-cms/packages/core/property-editors/uis/multi-url-picker/manifests.js +1 -1
  241. package/dist-cms/packages/core/property-editors/uis/multi-url-picker/manifests.js.map +1 -1
  242. package/dist-cms/packages/core/property-editors/uis/multiple-text-string/manifests.js +1 -1
  243. package/dist-cms/packages/core/property-editors/uis/multiple-text-string/manifests.js.map +1 -1
  244. package/dist-cms/packages/core/property-editors/uis/number/manifests.js +2 -2
  245. package/dist-cms/packages/core/property-editors/uis/number/manifests.js.map +1 -1
  246. package/dist-cms/packages/core/property-editors/uis/number-range/manifests.js +1 -1
  247. package/dist-cms/packages/core/property-editors/uis/number-range/manifests.js.map +1 -1
  248. package/dist-cms/packages/core/property-editors/uis/order-direction/manifests.js +1 -1
  249. package/dist-cms/packages/core/property-editors/uis/order-direction/manifests.js.map +1 -1
  250. package/dist-cms/packages/core/property-editors/uis/overlay-size/manifests.js +1 -1
  251. package/dist-cms/packages/core/property-editors/uis/overlay-size/manifests.js.map +1 -1
  252. package/dist-cms/packages/core/property-editors/uis/radio-button-list/manifests.js +1 -1
  253. package/dist-cms/packages/core/property-editors/uis/radio-button-list/manifests.js.map +1 -1
  254. package/dist-cms/packages/core/property-editors/uis/slider/manifests.js +1 -1
  255. package/dist-cms/packages/core/property-editors/uis/slider/manifests.js.map +1 -1
  256. package/dist-cms/packages/core/property-editors/uis/text-box/manifests.js +2 -2
  257. package/dist-cms/packages/core/property-editors/uis/text-box/manifests.js.map +1 -1
  258. package/dist-cms/packages/core/property-editors/uis/textarea/manifests.js +1 -1
  259. package/dist-cms/packages/core/property-editors/uis/textarea/manifests.js.map +1 -1
  260. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.d.ts +18 -0
  261. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.js +31 -0
  262. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/dimensions/property-editor-ui-tiny-mce-dimensions-configuration.element.js.map +1 -0
  263. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/manifests.d.ts +2 -0
  264. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/manifests.js +52 -0
  265. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/manifests.js.map +1 -0
  266. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.d.ts +15 -0
  267. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.js +26 -0
  268. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/max-image-size/property-editor-ui-tiny-mce-maximagesize-configuration.element.js.map +1 -0
  269. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.d.ts +16 -0
  270. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.js +45 -0
  271. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/stylesheets/property-editor-ui-tiny-mce-stylesheets-configuration.element.js.map +1 -0
  272. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.d.ts +25 -0
  273. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.js +123 -0
  274. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/toolbar/property-editor-ui-tiny-mce-toolbar-configuration.element.js.map +1 -0
  275. package/dist-cms/packages/core/property-editors/uis/tiny-mce/manifests.js +210 -7
  276. package/dist-cms/packages/core/property-editors/uis/tiny-mce/manifests.js.map +1 -1
  277. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/manifests.d.ts +2 -0
  278. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/manifests.js +84 -0
  279. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/manifests.js.map +1 -0
  280. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.d.ts +5 -0
  281. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.js +34 -0
  282. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-code-editor.plugin.js.map +1 -0
  283. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.d.ts +5 -0
  284. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.js +69 -0
  285. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-embeddedmedia.plugin.js.map +1 -0
  286. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.d.ts +6 -0
  287. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.js +168 -0
  288. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-linkpicker.plugin.js.map +1 -0
  289. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.d.ts +5 -0
  290. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.js +166 -0
  291. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-macropicker.plugin.js.map +1 -0
  292. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.d.ts +5 -0
  293. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.js +141 -0
  294. package/dist-cms/packages/core/property-editors/uis/tiny-mce/plugins/tiny-mce-mediapicker.plugin.js.map +1 -0
  295. package/dist-cms/packages/core/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.d.ts +2 -1
  296. package/dist-cms/packages/core/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.js +16 -7
  297. package/dist-cms/packages/core/property-editors/uis/tiny-mce/property-editor-ui-tiny-mce.element.js.map +1 -1
  298. package/dist-cms/packages/core/property-editors/uis/toggle/manifests.js +1 -1
  299. package/dist-cms/packages/core/property-editors/uis/toggle/manifests.js.map +1 -1
  300. package/dist-cms/packages/core/property-editors/uis/tree-picker/config/start-node/manifests.js +1 -1
  301. package/dist-cms/packages/core/property-editors/uis/tree-picker/config/start-node/manifests.js.map +1 -1
  302. package/dist-cms/packages/core/property-editors/uis/tree-picker/manifests.js +1 -1
  303. package/dist-cms/packages/core/property-editors/uis/tree-picker/manifests.js.map +1 -1
  304. package/dist-cms/packages/core/property-editors/uis/upload-field/manifests.js +1 -1
  305. package/dist-cms/packages/core/property-editors/uis/upload-field/manifests.js.map +1 -1
  306. package/dist-cms/packages/core/property-editors/uis/user-picker/manifests.js +1 -1
  307. package/dist-cms/packages/core/property-editors/uis/user-picker/manifests.js.map +1 -1
  308. package/dist-cms/packages/core/property-editors/uis/value-type/manifests.js +1 -1
  309. package/dist-cms/packages/core/property-editors/uis/value-type/manifests.js.map +1 -1
  310. package/dist-cms/packages/documents/documents/property-editors/Umbraco.ContentPicker.d.ts +2 -2
  311. package/dist-cms/packages/documents/documents/property-editors/Umbraco.ContentPicker.js +1 -1
  312. package/dist-cms/packages/documents/documents/property-editors/Umbraco.ContentPicker.js.map +1 -1
  313. package/dist-cms/packages/documents/documents/property-editors/document-picker/manifests.js +1 -1
  314. package/dist-cms/packages/documents/documents/property-editors/document-picker/manifests.js.map +1 -1
  315. package/dist-cms/packages/media/media/repository/media.repository.js +12 -24
  316. package/dist-cms/packages/media/media/repository/media.repository.js.map +1 -1
  317. package/dist-cms/packages/members/members/repository/member.repository.js +6 -21
  318. package/dist-cms/packages/members/members/repository/member.repository.js.map +1 -1
  319. package/dist-cms/packages/settings/data-types/components/ref-data-type/ref-data-type.element.d.ts +1 -1
  320. package/dist-cms/packages/settings/data-types/components/ref-data-type/ref-data-type.element.js +5 -5
  321. package/dist-cms/packages/settings/data-types/components/ref-data-type/ref-data-type.element.js.map +1 -1
  322. package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.d.ts +1 -1
  323. package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.js +1 -1
  324. package/dist-cms/packages/settings/data-types/workspace/data-type-workspace.context.js.map +1 -1
  325. package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.d.ts +1 -1
  326. package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.js +12 -12
  327. package/dist-cms/packages/settings/data-types/workspace/views/details/data-type-details-workspace-view.element.js.map +1 -1
  328. package/dist-cms/packages/settings/logviewer/repository/log-viewer.repository.js +11 -25
  329. package/dist-cms/packages/settings/logviewer/repository/log-viewer.repository.js.map +1 -1
  330. package/dist-cms/packages/tags/property-editors/tags/config/storage-type/manifests.js +1 -1
  331. package/dist-cms/packages/tags/property-editors/tags/config/storage-type/manifests.js.map +1 -1
  332. package/dist-cms/packages/tags/property-editors/tags/manifests.js +1 -1
  333. package/dist-cms/packages/tags/property-editors/tags/manifests.js.map +1 -1
  334. package/dist-cms/packages/templating/stylesheets/repository/stylesheet.repository.js +3 -20
  335. package/dist-cms/packages/templating/stylesheets/repository/stylesheet.repository.js.map +1 -1
  336. package/dist-cms/packages/templating/templates/repository/sources/template.detail.server.data.d.ts +2 -2
  337. package/dist-cms/packages/templating/templates/repository/sources/template.detail.server.data.js +2 -2
  338. package/dist-cms/packages/templating/templates/repository/sources/template.detail.server.data.js.map +1 -1
  339. package/dist-cms/packages/templating/templates/repository/sources/template.item.server.data.d.ts +1 -1
  340. package/dist-cms/packages/templating/templates/repository/sources/template.tree.server.data.d.ts +1 -1
  341. package/dist-cms/packages/templating/templates/repository/template-item.store.d.ts +1 -1
  342. package/dist-cms/packages/templating/templates/repository/template.repository.d.ts +3 -3
  343. package/dist-cms/packages/templating/templates/repository/template.repository.js +2 -2
  344. package/dist-cms/packages/templating/templates/repository/template.repository.js.map +1 -1
  345. package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js +3 -33
  346. package/dist-cms/packages/templating/templates/workspace/template-workspace-editor.element.js.map +1 -1
  347. package/dist-cms/packages/templating/templates/workspace/template-workspace.context.d.ts +6 -3
  348. package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js +35 -23
  349. package/dist-cms/packages/templating/templates/workspace/template-workspace.context.js.map +1 -1
  350. package/dist-cms/shared/auth/auth.context.d.ts +1 -0
  351. package/dist-cms/shared/auth/auth.context.js +3 -0
  352. package/dist-cms/shared/auth/auth.context.js.map +1 -1
  353. package/dist-cms/shared/auth/auth.interface.d.ts +4 -0
  354. package/dist-cms/shared/repository/repository-items.manager.d.ts +1 -1
  355. package/dist-cms/shared/repository/repository-items.manager.js +7 -2
  356. package/dist-cms/shared/repository/repository-items.manager.js.map +1 -1
  357. package/dist-cms/shared/utils/index.d.ts +6 -0
  358. package/dist-cms/shared/utils/index.js +1 -0
  359. package/dist-cms/shared/utils/index.js.map +1 -1
  360. package/dist-cms/shared/utils/media-helper.service.d.ts +44 -0
  361. package/dist-cms/shared/utils/media-helper.service.js +152 -0
  362. package/dist-cms/shared/utils/media-helper.service.js.map +1 -0
  363. package/dist-cms/tinymce/CHANGELOG.md +3253 -0
  364. package/dist-cms/tinymce/README.md +71 -0
  365. package/dist-cms/tinymce/bower.json +27 -0
  366. package/dist-cms/tinymce/composer.json +52 -0
  367. package/dist-cms/tinymce/icons/default/icons.js +191 -0
  368. package/dist-cms/tinymce/icons/default/icons.min.js +1 -0
  369. package/dist-cms/tinymce/icons/default/index.js +7 -0
  370. package/dist-cms/tinymce/langs/ar.js +407 -0
  371. package/dist-cms/tinymce/langs/az.js +406 -0
  372. package/dist-cms/tinymce/langs/be.js +406 -0
  373. package/dist-cms/tinymce/langs/bg_BG.js +406 -0
  374. package/dist-cms/tinymce/langs/bn_BD.js +406 -0
  375. package/dist-cms/tinymce/langs/ca.js +406 -0
  376. package/dist-cms/tinymce/langs/cs.js +406 -0
  377. package/dist-cms/tinymce/langs/cy.js +406 -0
  378. package/dist-cms/tinymce/langs/da.js +406 -0
  379. package/dist-cms/tinymce/langs/de.js +406 -0
  380. package/dist-cms/tinymce/langs/dv.js +406 -0
  381. package/dist-cms/tinymce/langs/el.js +406 -0
  382. package/dist-cms/tinymce/langs/eo.js +406 -0
  383. package/dist-cms/tinymce/langs/es.js +406 -0
  384. package/dist-cms/tinymce/langs/es_MX.js +406 -0
  385. package/dist-cms/tinymce/langs/et.js +406 -0
  386. package/dist-cms/tinymce/langs/eu.js +406 -0
  387. package/dist-cms/tinymce/langs/fa.js +407 -0
  388. package/dist-cms/tinymce/langs/fi.js +406 -0
  389. package/dist-cms/tinymce/langs/fr_FR.js +406 -0
  390. package/dist-cms/tinymce/langs/ga.js +406 -0
  391. package/dist-cms/tinymce/langs/gl.js +406 -0
  392. package/dist-cms/tinymce/langs/he_IL.js +407 -0
  393. package/dist-cms/tinymce/langs/hi.js +406 -0
  394. package/dist-cms/tinymce/langs/hr.js +406 -0
  395. package/dist-cms/tinymce/langs/hu_HU.js +406 -0
  396. package/dist-cms/tinymce/langs/hy.js +406 -0
  397. package/dist-cms/tinymce/langs/id.js +406 -0
  398. package/dist-cms/tinymce/langs/is_IS.js +406 -0
  399. package/dist-cms/tinymce/langs/it.js +406 -0
  400. package/dist-cms/tinymce/langs/ja.js +406 -0
  401. package/dist-cms/tinymce/langs/kab.js +406 -0
  402. package/dist-cms/tinymce/langs/kk.js +406 -0
  403. package/dist-cms/tinymce/langs/ko_KR.js +406 -0
  404. package/dist-cms/tinymce/langs/ku.js +407 -0
  405. package/dist-cms/tinymce/langs/lt.js +406 -0
  406. package/dist-cms/tinymce/langs/lv.js +406 -0
  407. package/dist-cms/tinymce/langs/nb_NO.js +406 -0
  408. package/dist-cms/tinymce/langs/ne.js +406 -0
  409. package/dist-cms/tinymce/langs/nl.js +406 -0
  410. package/dist-cms/tinymce/langs/nl_BE.js +406 -0
  411. package/dist-cms/tinymce/langs/oc.js +406 -0
  412. package/dist-cms/tinymce/langs/pl.js +406 -0
  413. package/dist-cms/tinymce/langs/pt_BR.js +406 -0
  414. package/dist-cms/tinymce/langs/ro.js +406 -0
  415. package/dist-cms/tinymce/langs/ru.js +406 -0
  416. package/dist-cms/tinymce/langs/sk.js +406 -0
  417. package/dist-cms/tinymce/langs/sl_SI.js +406 -0
  418. package/dist-cms/tinymce/langs/sq.js +406 -0
  419. package/dist-cms/tinymce/langs/sr.js +406 -0
  420. package/dist-cms/tinymce/langs/sv_SE.js +406 -0
  421. package/dist-cms/tinymce/langs/ta.js +406 -0
  422. package/dist-cms/tinymce/langs/tg.js +406 -0
  423. package/dist-cms/tinymce/langs/th_TH.js +406 -0
  424. package/dist-cms/tinymce/langs/tr.js +406 -0
  425. package/dist-cms/tinymce/langs/ug.js +406 -0
  426. package/dist-cms/tinymce/langs/uk.js +406 -0
  427. package/dist-cms/tinymce/langs/vi.js +406 -0
  428. package/dist-cms/tinymce/langs/zh-Hans.js +406 -0
  429. package/dist-cms/tinymce/langs/zh-Hant.js +406 -0
  430. package/dist-cms/tinymce/langs/zh_HK.js +406 -0
  431. package/dist-cms/tinymce/langs/zh_MO.js +406 -0
  432. package/dist-cms/tinymce/langs/zh_SG.js +406 -0
  433. package/dist-cms/tinymce/license.txt +21 -0
  434. package/dist-cms/tinymce/models/dom/index.js +7 -0
  435. package/dist-cms/tinymce/models/dom/model.js +8040 -0
  436. package/dist-cms/tinymce/models/dom/model.min.js +4 -0
  437. package/dist-cms/tinymce/package.json +32 -0
  438. package/dist-cms/tinymce/plugins/accordion/index.js +7 -0
  439. package/dist-cms/tinymce/plugins/accordion/plugin.js +1033 -0
  440. package/dist-cms/tinymce/plugins/accordion/plugin.min.js +4 -0
  441. package/dist-cms/tinymce/plugins/advlist/index.js +7 -0
  442. package/dist-cms/tinymce/plugins/advlist/plugin.js +259 -0
  443. package/dist-cms/tinymce/plugins/advlist/plugin.min.js +4 -0
  444. package/dist-cms/tinymce/plugins/anchor/index.js +7 -0
  445. package/dist-cms/tinymce/plugins/anchor/plugin.js +214 -0
  446. package/dist-cms/tinymce/plugins/anchor/plugin.min.js +4 -0
  447. package/dist-cms/tinymce/plugins/autolink/index.js +7 -0
  448. package/dist-cms/tinymce/plugins/autolink/plugin.js +228 -0
  449. package/dist-cms/tinymce/plugins/autolink/plugin.min.js +4 -0
  450. package/dist-cms/tinymce/plugins/autoresize/index.js +7 -0
  451. package/dist-cms/tinymce/plugins/autoresize/plugin.js +192 -0
  452. package/dist-cms/tinymce/plugins/autoresize/plugin.min.js +4 -0
  453. package/dist-cms/tinymce/plugins/autosave/index.js +7 -0
  454. package/dist-cms/tinymce/plugins/autosave/plugin.js +233 -0
  455. package/dist-cms/tinymce/plugins/autosave/plugin.min.js +4 -0
  456. package/dist-cms/tinymce/plugins/charmap/index.js +7 -0
  457. package/dist-cms/tinymce/plugins/charmap/plugin.js +1658 -0
  458. package/dist-cms/tinymce/plugins/charmap/plugin.min.js +4 -0
  459. package/dist-cms/tinymce/plugins/code/index.js +7 -0
  460. package/dist-cms/tinymce/plugins/code/plugin.js +85 -0
  461. package/dist-cms/tinymce/plugins/code/plugin.min.js +4 -0
  462. package/dist-cms/tinymce/plugins/codesample/index.js +7 -0
  463. package/dist-cms/tinymce/plugins/codesample/plugin.js +2463 -0
  464. package/dist-cms/tinymce/plugins/codesample/plugin.min.js +4 -0
  465. package/dist-cms/tinymce/plugins/directionality/index.js +7 -0
  466. package/dist-cms/tinymce/plugins/directionality/plugin.js +395 -0
  467. package/dist-cms/tinymce/plugins/directionality/plugin.min.js +4 -0
  468. package/dist-cms/tinymce/plugins/emoticons/index.js +7 -0
  469. package/dist-cms/tinymce/plugins/emoticons/js/emojiimages.js +1 -0
  470. package/dist-cms/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
  471. package/dist-cms/tinymce/plugins/emoticons/js/emojis.js +1 -0
  472. package/dist-cms/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
  473. package/dist-cms/tinymce/plugins/emoticons/plugin.js +595 -0
  474. package/dist-cms/tinymce/plugins/emoticons/plugin.min.js +4 -0
  475. package/dist-cms/tinymce/plugins/fullscreen/index.js +7 -0
  476. package/dist-cms/tinymce/plugins/fullscreen/plugin.js +1196 -0
  477. package/dist-cms/tinymce/plugins/fullscreen/plugin.min.js +4 -0
  478. package/dist-cms/tinymce/plugins/help/index.js +7 -0
  479. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ar.js +90 -0
  480. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +90 -0
  481. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ca.js +90 -0
  482. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/cs.js +90 -0
  483. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/da.js +90 -0
  484. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/de.js +90 -0
  485. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/el.js +90 -0
  486. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/en.js +90 -0
  487. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/es.js +90 -0
  488. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/eu.js +90 -0
  489. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/fa.js +90 -0
  490. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/fi.js +90 -0
  491. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +90 -0
  492. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/he_IL.js +90 -0
  493. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/hi.js +90 -0
  494. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/hr.js +90 -0
  495. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +90 -0
  496. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/id.js +90 -0
  497. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/it.js +90 -0
  498. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ja.js +90 -0
  499. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/kk.js +90 -0
  500. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +90 -0
  501. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ms.js +90 -0
  502. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +90 -0
  503. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/nl.js +90 -0
  504. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/pl.js +90 -0
  505. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +90 -0
  506. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +90 -0
  507. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ro.js +90 -0
  508. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/ru.js +90 -0
  509. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/sk.js +90 -0
  510. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +90 -0
  511. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +90 -0
  512. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/th_TH.js +90 -0
  513. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/tr.js +90 -0
  514. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/uk.js +90 -0
  515. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/vi.js +90 -0
  516. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +84 -0
  517. package/dist-cms/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +90 -0
  518. package/dist-cms/tinymce/plugins/help/plugin.js +893 -0
  519. package/dist-cms/tinymce/plugins/help/plugin.min.js +4 -0
  520. package/dist-cms/tinymce/plugins/image/index.js +7 -0
  521. package/dist-cms/tinymce/plugins/image/plugin.js +1504 -0
  522. package/dist-cms/tinymce/plugins/image/plugin.min.js +4 -0
  523. package/dist-cms/tinymce/plugins/importcss/index.js +7 -0
  524. package/dist-cms/tinymce/plugins/importcss/plugin.js +344 -0
  525. package/dist-cms/tinymce/plugins/importcss/plugin.min.js +4 -0
  526. package/dist-cms/tinymce/plugins/insertdatetime/index.js +7 -0
  527. package/dist-cms/tinymce/plugins/insertdatetime/plugin.js +187 -0
  528. package/dist-cms/tinymce/plugins/insertdatetime/plugin.min.js +4 -0
  529. package/dist-cms/tinymce/plugins/link/index.js +7 -0
  530. package/dist-cms/tinymce/plugins/link/plugin.js +1241 -0
  531. package/dist-cms/tinymce/plugins/link/plugin.min.js +4 -0
  532. package/dist-cms/tinymce/plugins/lists/index.js +7 -0
  533. package/dist-cms/tinymce/plugins/lists/plugin.js +1948 -0
  534. package/dist-cms/tinymce/plugins/lists/plugin.min.js +4 -0
  535. package/dist-cms/tinymce/plugins/media/index.js +7 -0
  536. package/dist-cms/tinymce/plugins/media/plugin.js +1235 -0
  537. package/dist-cms/tinymce/plugins/media/plugin.min.js +4 -0
  538. package/dist-cms/tinymce/plugins/nonbreaking/index.js +7 -0
  539. package/dist-cms/tinymce/plugins/nonbreaking/plugin.js +123 -0
  540. package/dist-cms/tinymce/plugins/nonbreaking/plugin.min.js +4 -0
  541. package/dist-cms/tinymce/plugins/pagebreak/index.js +7 -0
  542. package/dist-cms/tinymce/plugins/pagebreak/plugin.js +117 -0
  543. package/dist-cms/tinymce/plugins/pagebreak/plugin.min.js +4 -0
  544. package/dist-cms/tinymce/plugins/preview/index.js +7 -0
  545. package/dist-cms/tinymce/plugins/preview/plugin.js +97 -0
  546. package/dist-cms/tinymce/plugins/preview/plugin.min.js +4 -0
  547. package/dist-cms/tinymce/plugins/quickbars/index.js +7 -0
  548. package/dist-cms/tinymce/plugins/quickbars/plugin.js +438 -0
  549. package/dist-cms/tinymce/plugins/quickbars/plugin.min.js +4 -0
  550. package/dist-cms/tinymce/plugins/save/index.js +7 -0
  551. package/dist-cms/tinymce/plugins/save/plugin.js +118 -0
  552. package/dist-cms/tinymce/plugins/save/plugin.min.js +4 -0
  553. package/dist-cms/tinymce/plugins/searchreplace/index.js +7 -0
  554. package/dist-cms/tinymce/plugins/searchreplace/plugin.js +1093 -0
  555. package/dist-cms/tinymce/plugins/searchreplace/plugin.min.js +4 -0
  556. package/dist-cms/tinymce/plugins/table/index.js +7 -0
  557. package/dist-cms/tinymce/plugins/table/plugin.js +3462 -0
  558. package/dist-cms/tinymce/plugins/table/plugin.min.js +4 -0
  559. package/dist-cms/tinymce/plugins/template/index.js +7 -0
  560. package/dist-cms/tinymce/plugins/template/plugin.js +567 -0
  561. package/dist-cms/tinymce/plugins/template/plugin.min.js +4 -0
  562. package/dist-cms/tinymce/plugins/visualblocks/index.js +7 -0
  563. package/dist-cms/tinymce/plugins/visualblocks/plugin.js +98 -0
  564. package/dist-cms/tinymce/plugins/visualblocks/plugin.min.js +4 -0
  565. package/dist-cms/tinymce/plugins/visualchars/index.js +7 -0
  566. package/dist-cms/tinymce/plugins/visualchars/plugin.js +560 -0
  567. package/dist-cms/tinymce/plugins/visualchars/plugin.min.js +4 -0
  568. package/dist-cms/tinymce/plugins/wordcount/index.js +7 -0
  569. package/dist-cms/tinymce/plugins/wordcount/plugin.js +405 -0
  570. package/dist-cms/tinymce/plugins/wordcount/plugin.min.js +4 -0
  571. package/dist-cms/tinymce/skins/content/dark/content.css +66 -0
  572. package/dist-cms/tinymce/skins/content/dark/content.min.css +1 -0
  573. package/dist-cms/tinymce/skins/content/default/content.css +61 -0
  574. package/dist-cms/tinymce/skins/content/default/content.min.css +1 -0
  575. package/dist-cms/tinymce/skins/content/document/content.css +66 -0
  576. package/dist-cms/tinymce/skins/content/document/content.min.css +1 -0
  577. package/dist-cms/tinymce/skins/content/tinymce-5/content.css +61 -0
  578. package/dist-cms/tinymce/skins/content/tinymce-5/content.min.css +1 -0
  579. package/dist-cms/tinymce/skins/content/tinymce-5-dark/content.css +66 -0
  580. package/dist-cms/tinymce/skins/content/tinymce-5-dark/content.min.css +1 -0
  581. package/dist-cms/tinymce/skins/content/writer/content.css +62 -0
  582. package/dist-cms/tinymce/skins/content/writer/content.min.css +1 -0
  583. package/dist-cms/tinymce/skins/ui/oxide/content.css +785 -0
  584. package/dist-cms/tinymce/skins/ui/oxide/content.inline.css +779 -0
  585. package/dist-cms/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  586. package/dist-cms/tinymce/skins/ui/oxide/content.min.css +1 -0
  587. package/dist-cms/tinymce/skins/ui/oxide/skin.css +3688 -0
  588. package/dist-cms/tinymce/skins/ui/oxide/skin.min.css +1 -0
  589. package/dist-cms/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  590. package/dist-cms/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  591. package/dist-cms/tinymce/skins/ui/oxide-dark/content.css +766 -0
  592. package/dist-cms/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  593. package/dist-cms/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  594. package/dist-cms/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  595. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.css +3691 -0
  596. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  597. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  598. package/dist-cms/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  599. package/dist-cms/tinymce/skins/ui/tinymce-5/content.css +785 -0
  600. package/dist-cms/tinymce/skins/ui/tinymce-5/content.inline.css +779 -0
  601. package/dist-cms/tinymce/skins/ui/tinymce-5/content.inline.min.css +1 -0
  602. package/dist-cms/tinymce/skins/ui/tinymce-5/content.min.css +1 -0
  603. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.css +3782 -0
  604. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.min.css +1 -0
  605. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +30 -0
  606. package/dist-cms/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +1 -0
  607. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.css +766 -0
  608. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.inline.css +779 -0
  609. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +1 -0
  610. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/content.min.css +1 -0
  611. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.css +3782 -0
  612. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.min.css +1 -0
  613. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +30 -0
  614. package/dist-cms/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +1 -0
  615. package/dist-cms/tinymce/themes/silver/index.js +7 -0
  616. package/dist-cms/tinymce/themes/silver/theme.js +30167 -0
  617. package/dist-cms/tinymce/themes/silver/theme.min.js +4 -0
  618. package/dist-cms/tinymce/tinymce.d.ts +3206 -0
  619. package/dist-cms/tinymce/tinymce.js +31297 -0
  620. package/dist-cms/tinymce/tinymce.min.js +4 -0
  621. package/dist-cms/tsconfig.tsbuildinfo +1 -1
  622. package/dist-cms/umbraco-package-schema.json +83 -7
  623. package/dist-cms/vscode-html-custom-data.json +86 -17
  624. package/package.json +4 -1
  625. package/dist-cms/packages/core/property-editors/models/Umbraco.TinyMCE.d.ts +0 -2
  626. package/dist-cms/packages/core/property-editors/models/Umbraco.TinyMCE.js.map +0 -1
  627. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/manifests.d.ts +0 -2
  628. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/manifests.js +0 -13
  629. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/manifests.js.map +0 -1
  630. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.d.ts +0 -16
  631. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.js +0 -34
  632. package/dist-cms/packages/core/property-editors/uis/tiny-mce/config/configuration/property-editor-ui-tiny-mce-configuration.element.js.map +0 -1
@@ -0,0 +1,893 @@
1
+ /**
2
+ * TinyMCE version 6.5.1 (2023-06-19)
3
+ */
4
+
5
+ (function () {
6
+ 'use strict';
7
+
8
+ const Cell = initial => {
9
+ let value = initial;
10
+ const get = () => {
11
+ return value;
12
+ };
13
+ const set = v => {
14
+ value = v;
15
+ };
16
+ return {
17
+ get,
18
+ set
19
+ };
20
+ };
21
+
22
+ var global$4 = tinymce.util.Tools.resolve('tinymce.PluginManager');
23
+
24
+ let unique = 0;
25
+ const generate = prefix => {
26
+ const date = new Date();
27
+ const time = date.getTime();
28
+ const random = Math.floor(Math.random() * 1000000000);
29
+ unique++;
30
+ return prefix + '_' + random + unique + String(time);
31
+ };
32
+
33
+ const get$1 = customTabs => {
34
+ const addTab = spec => {
35
+ var _a;
36
+ const name = (_a = spec.name) !== null && _a !== void 0 ? _a : generate('tab-name');
37
+ const currentCustomTabs = customTabs.get();
38
+ currentCustomTabs[name] = spec;
39
+ customTabs.set(currentCustomTabs);
40
+ };
41
+ return { addTab };
42
+ };
43
+
44
+ const register$2 = (editor, dialogOpener) => {
45
+ editor.addCommand('mceHelp', dialogOpener);
46
+ };
47
+
48
+ const option = name => editor => editor.options.get(name);
49
+ const register$1 = editor => {
50
+ const registerOption = editor.options.register;
51
+ registerOption('help_tabs', { processor: 'array' });
52
+ };
53
+ const getHelpTabs = option('help_tabs');
54
+ const getForcedPlugins = option('forced_plugins');
55
+
56
+ const register = (editor, dialogOpener) => {
57
+ editor.ui.registry.addButton('help', {
58
+ icon: 'help',
59
+ tooltip: 'Help',
60
+ onAction: dialogOpener
61
+ });
62
+ editor.ui.registry.addMenuItem('help', {
63
+ text: 'Help',
64
+ icon: 'help',
65
+ shortcut: 'Alt+0',
66
+ onAction: dialogOpener
67
+ });
68
+ };
69
+
70
+ const hasProto = (v, constructor, predicate) => {
71
+ var _a;
72
+ if (predicate(v, constructor.prototype)) {
73
+ return true;
74
+ } else {
75
+ return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
76
+ }
77
+ };
78
+ const typeOf = x => {
79
+ const t = typeof x;
80
+ if (x === null) {
81
+ return 'null';
82
+ } else if (t === 'object' && Array.isArray(x)) {
83
+ return 'array';
84
+ } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
85
+ return 'string';
86
+ } else {
87
+ return t;
88
+ }
89
+ };
90
+ const isType = type => value => typeOf(value) === type;
91
+ const isSimpleType = type => value => typeof value === type;
92
+ const eq = t => a => t === a;
93
+ const isString = isType('string');
94
+ const isUndefined = eq(undefined);
95
+ const isNullable = a => a === null || a === undefined;
96
+ const isNonNullable = a => !isNullable(a);
97
+ const isFunction = isSimpleType('function');
98
+
99
+ const constant = value => {
100
+ return () => {
101
+ return value;
102
+ };
103
+ };
104
+ const never = constant(false);
105
+
106
+ class Optional {
107
+ constructor(tag, value) {
108
+ this.tag = tag;
109
+ this.value = value;
110
+ }
111
+ static some(value) {
112
+ return new Optional(true, value);
113
+ }
114
+ static none() {
115
+ return Optional.singletonNone;
116
+ }
117
+ fold(onNone, onSome) {
118
+ if (this.tag) {
119
+ return onSome(this.value);
120
+ } else {
121
+ return onNone();
122
+ }
123
+ }
124
+ isSome() {
125
+ return this.tag;
126
+ }
127
+ isNone() {
128
+ return !this.tag;
129
+ }
130
+ map(mapper) {
131
+ if (this.tag) {
132
+ return Optional.some(mapper(this.value));
133
+ } else {
134
+ return Optional.none();
135
+ }
136
+ }
137
+ bind(binder) {
138
+ if (this.tag) {
139
+ return binder(this.value);
140
+ } else {
141
+ return Optional.none();
142
+ }
143
+ }
144
+ exists(predicate) {
145
+ return this.tag && predicate(this.value);
146
+ }
147
+ forall(predicate) {
148
+ return !this.tag || predicate(this.value);
149
+ }
150
+ filter(predicate) {
151
+ if (!this.tag || predicate(this.value)) {
152
+ return this;
153
+ } else {
154
+ return Optional.none();
155
+ }
156
+ }
157
+ getOr(replacement) {
158
+ return this.tag ? this.value : replacement;
159
+ }
160
+ or(replacement) {
161
+ return this.tag ? this : replacement;
162
+ }
163
+ getOrThunk(thunk) {
164
+ return this.tag ? this.value : thunk();
165
+ }
166
+ orThunk(thunk) {
167
+ return this.tag ? this : thunk();
168
+ }
169
+ getOrDie(message) {
170
+ if (!this.tag) {
171
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
172
+ } else {
173
+ return this.value;
174
+ }
175
+ }
176
+ static from(value) {
177
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
178
+ }
179
+ getOrNull() {
180
+ return this.tag ? this.value : null;
181
+ }
182
+ getOrUndefined() {
183
+ return this.value;
184
+ }
185
+ each(worker) {
186
+ if (this.tag) {
187
+ worker(this.value);
188
+ }
189
+ }
190
+ toArray() {
191
+ return this.tag ? [this.value] : [];
192
+ }
193
+ toString() {
194
+ return this.tag ? `some(${ this.value })` : 'none()';
195
+ }
196
+ }
197
+ Optional.singletonNone = new Optional(false);
198
+
199
+ const nativeSlice = Array.prototype.slice;
200
+ const nativeIndexOf = Array.prototype.indexOf;
201
+ const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);
202
+ const contains = (xs, x) => rawIndexOf(xs, x) > -1;
203
+ const map = (xs, f) => {
204
+ const len = xs.length;
205
+ const r = new Array(len);
206
+ for (let i = 0; i < len; i++) {
207
+ const x = xs[i];
208
+ r[i] = f(x, i);
209
+ }
210
+ return r;
211
+ };
212
+ const filter = (xs, pred) => {
213
+ const r = [];
214
+ for (let i = 0, len = xs.length; i < len; i++) {
215
+ const x = xs[i];
216
+ if (pred(x, i)) {
217
+ r.push(x);
218
+ }
219
+ }
220
+ return r;
221
+ };
222
+ const findUntil = (xs, pred, until) => {
223
+ for (let i = 0, len = xs.length; i < len; i++) {
224
+ const x = xs[i];
225
+ if (pred(x, i)) {
226
+ return Optional.some(x);
227
+ } else if (until(x, i)) {
228
+ break;
229
+ }
230
+ }
231
+ return Optional.none();
232
+ };
233
+ const find = (xs, pred) => {
234
+ return findUntil(xs, pred, never);
235
+ };
236
+ const sort = (xs, comparator) => {
237
+ const copy = nativeSlice.call(xs, 0);
238
+ copy.sort(comparator);
239
+ return copy;
240
+ };
241
+
242
+ const keys = Object.keys;
243
+ const hasOwnProperty = Object.hasOwnProperty;
244
+ const get = (obj, key) => {
245
+ return has(obj, key) ? Optional.from(obj[key]) : Optional.none();
246
+ };
247
+ const has = (obj, key) => hasOwnProperty.call(obj, key);
248
+
249
+ const cat = arr => {
250
+ const r = [];
251
+ const push = x => {
252
+ r.push(x);
253
+ };
254
+ for (let i = 0; i < arr.length; i++) {
255
+ arr[i].each(push);
256
+ }
257
+ return r;
258
+ };
259
+
260
+ var global$3 = tinymce.util.Tools.resolve('tinymce.Resource');
261
+
262
+ var global$2 = tinymce.util.Tools.resolve('tinymce.util.I18n');
263
+
264
+ const pLoadHtmlByLangCode = (baseUrl, langCode) => global$3.load(`tinymce.html-i18n.help-keynav.${ langCode }`, `${ baseUrl }/js/i18n/keynav/${ langCode }.js`);
265
+ const pLoadI18nHtml = baseUrl => pLoadHtmlByLangCode(baseUrl, global$2.getCode()).catch(() => pLoadHtmlByLangCode(baseUrl, 'en'));
266
+ const initI18nLoad = (editor, baseUrl) => {
267
+ editor.on('init', () => {
268
+ pLoadI18nHtml(baseUrl);
269
+ });
270
+ };
271
+
272
+ const pTab = async pluginUrl => {
273
+ const body = {
274
+ type: 'htmlpanel',
275
+ presets: 'document',
276
+ html: await pLoadI18nHtml(pluginUrl)
277
+ };
278
+ return {
279
+ name: 'keyboardnav',
280
+ title: 'Keyboard Navigation',
281
+ items: [body]
282
+ };
283
+ };
284
+
285
+ var global$1 = tinymce.util.Tools.resolve('tinymce.Env');
286
+
287
+ const convertText = source => {
288
+ const isMac = global$1.os.isMacOS() || global$1.os.isiOS();
289
+ const mac = {
290
+ alt: '&#x2325;',
291
+ ctrl: '&#x2303;',
292
+ shift: '&#x21E7;',
293
+ meta: '&#x2318;',
294
+ access: '&#x2303;&#x2325;'
295
+ };
296
+ const other = {
297
+ meta: 'Ctrl ',
298
+ access: 'Shift + Alt '
299
+ };
300
+ const replace = isMac ? mac : other;
301
+ const shortcut = source.split('+');
302
+ const updated = map(shortcut, segment => {
303
+ const search = segment.toLowerCase().trim();
304
+ return has(replace, search) ? replace[search] : segment;
305
+ });
306
+ return isMac ? updated.join('').replace(/\s/, '') : updated.join('+');
307
+ };
308
+
309
+ const shortcuts = [
310
+ {
311
+ shortcuts: ['Meta + B'],
312
+ action: 'Bold'
313
+ },
314
+ {
315
+ shortcuts: ['Meta + I'],
316
+ action: 'Italic'
317
+ },
318
+ {
319
+ shortcuts: ['Meta + U'],
320
+ action: 'Underline'
321
+ },
322
+ {
323
+ shortcuts: ['Meta + A'],
324
+ action: 'Select all'
325
+ },
326
+ {
327
+ shortcuts: [
328
+ 'Meta + Y',
329
+ 'Meta + Shift + Z'
330
+ ],
331
+ action: 'Redo'
332
+ },
333
+ {
334
+ shortcuts: ['Meta + Z'],
335
+ action: 'Undo'
336
+ },
337
+ {
338
+ shortcuts: ['Access + 1'],
339
+ action: 'Heading 1'
340
+ },
341
+ {
342
+ shortcuts: ['Access + 2'],
343
+ action: 'Heading 2'
344
+ },
345
+ {
346
+ shortcuts: ['Access + 3'],
347
+ action: 'Heading 3'
348
+ },
349
+ {
350
+ shortcuts: ['Access + 4'],
351
+ action: 'Heading 4'
352
+ },
353
+ {
354
+ shortcuts: ['Access + 5'],
355
+ action: 'Heading 5'
356
+ },
357
+ {
358
+ shortcuts: ['Access + 6'],
359
+ action: 'Heading 6'
360
+ },
361
+ {
362
+ shortcuts: ['Access + 7'],
363
+ action: 'Paragraph'
364
+ },
365
+ {
366
+ shortcuts: ['Access + 8'],
367
+ action: 'Div'
368
+ },
369
+ {
370
+ shortcuts: ['Access + 9'],
371
+ action: 'Address'
372
+ },
373
+ {
374
+ shortcuts: ['Alt + 0'],
375
+ action: 'Open help dialog'
376
+ },
377
+ {
378
+ shortcuts: ['Alt + F9'],
379
+ action: 'Focus to menubar'
380
+ },
381
+ {
382
+ shortcuts: ['Alt + F10'],
383
+ action: 'Focus to toolbar'
384
+ },
385
+ {
386
+ shortcuts: ['Alt + F11'],
387
+ action: 'Focus to element path'
388
+ },
389
+ {
390
+ shortcuts: ['Ctrl + F9'],
391
+ action: 'Focus to contextual toolbar'
392
+ },
393
+ {
394
+ shortcuts: ['Shift + Enter'],
395
+ action: 'Open popup menu for split buttons'
396
+ },
397
+ {
398
+ shortcuts: ['Meta + K'],
399
+ action: 'Insert link (if link plugin activated)'
400
+ },
401
+ {
402
+ shortcuts: ['Meta + S'],
403
+ action: 'Save (if save plugin activated)'
404
+ },
405
+ {
406
+ shortcuts: ['Meta + F'],
407
+ action: 'Find (if searchreplace plugin activated)'
408
+ },
409
+ {
410
+ shortcuts: ['Meta + Shift + F'],
411
+ action: 'Switch to or from fullscreen mode'
412
+ }
413
+ ];
414
+
415
+ const tab$2 = () => {
416
+ const shortcutList = map(shortcuts, shortcut => {
417
+ const shortcutText = map(shortcut.shortcuts, convertText).join(' or ');
418
+ return [
419
+ shortcut.action,
420
+ shortcutText
421
+ ];
422
+ });
423
+ const tablePanel = {
424
+ type: 'table',
425
+ header: [
426
+ 'Action',
427
+ 'Shortcut'
428
+ ],
429
+ cells: shortcutList
430
+ };
431
+ return {
432
+ name: 'shortcuts',
433
+ title: 'Handy Shortcuts',
434
+ items: [tablePanel]
435
+ };
436
+ };
437
+
438
+ const urls = map([
439
+ {
440
+ key: 'accordion',
441
+ name: 'Accordion'
442
+ },
443
+ {
444
+ key: 'advlist',
445
+ name: 'Advanced List'
446
+ },
447
+ {
448
+ key: 'anchor',
449
+ name: 'Anchor'
450
+ },
451
+ {
452
+ key: 'autolink',
453
+ name: 'Autolink'
454
+ },
455
+ {
456
+ key: 'autoresize',
457
+ name: 'Autoresize'
458
+ },
459
+ {
460
+ key: 'autosave',
461
+ name: 'Autosave'
462
+ },
463
+ {
464
+ key: 'charmap',
465
+ name: 'Character Map'
466
+ },
467
+ {
468
+ key: 'code',
469
+ name: 'Code'
470
+ },
471
+ {
472
+ key: 'codesample',
473
+ name: 'Code Sample'
474
+ },
475
+ {
476
+ key: 'colorpicker',
477
+ name: 'Color Picker'
478
+ },
479
+ {
480
+ key: 'directionality',
481
+ name: 'Directionality'
482
+ },
483
+ {
484
+ key: 'emoticons',
485
+ name: 'Emoticons'
486
+ },
487
+ {
488
+ key: 'fullscreen',
489
+ name: 'Full Screen'
490
+ },
491
+ {
492
+ key: 'help',
493
+ name: 'Help'
494
+ },
495
+ {
496
+ key: 'image',
497
+ name: 'Image'
498
+ },
499
+ {
500
+ key: 'importcss',
501
+ name: 'Import CSS'
502
+ },
503
+ {
504
+ key: 'insertdatetime',
505
+ name: 'Insert Date/Time'
506
+ },
507
+ {
508
+ key: 'link',
509
+ name: 'Link'
510
+ },
511
+ {
512
+ key: 'lists',
513
+ name: 'Lists'
514
+ },
515
+ {
516
+ key: 'media',
517
+ name: 'Media'
518
+ },
519
+ {
520
+ key: 'nonbreaking',
521
+ name: 'Nonbreaking'
522
+ },
523
+ {
524
+ key: 'pagebreak',
525
+ name: 'Page Break'
526
+ },
527
+ {
528
+ key: 'preview',
529
+ name: 'Preview'
530
+ },
531
+ {
532
+ key: 'quickbars',
533
+ name: 'Quick Toolbars'
534
+ },
535
+ {
536
+ key: 'save',
537
+ name: 'Save'
538
+ },
539
+ {
540
+ key: 'searchreplace',
541
+ name: 'Search and Replace'
542
+ },
543
+ {
544
+ key: 'table',
545
+ name: 'Table'
546
+ },
547
+ {
548
+ key: 'template',
549
+ name: 'Template'
550
+ },
551
+ {
552
+ key: 'textcolor',
553
+ name: 'Text Color'
554
+ },
555
+ {
556
+ key: 'visualblocks',
557
+ name: 'Visual Blocks'
558
+ },
559
+ {
560
+ key: 'visualchars',
561
+ name: 'Visual Characters'
562
+ },
563
+ {
564
+ key: 'wordcount',
565
+ name: 'Word Count'
566
+ },
567
+ {
568
+ key: 'a11ychecker',
569
+ name: 'Accessibility Checker',
570
+ type: 'premium'
571
+ },
572
+ {
573
+ key: 'advcode',
574
+ name: 'Advanced Code Editor',
575
+ type: 'premium'
576
+ },
577
+ {
578
+ key: 'advtable',
579
+ name: 'Advanced Tables',
580
+ type: 'premium'
581
+ },
582
+ {
583
+ key: 'advtemplate',
584
+ name: 'Advanced Templates',
585
+ type: 'premium',
586
+ slug: 'advanced-templates'
587
+ },
588
+ {
589
+ key: 'casechange',
590
+ name: 'Case Change',
591
+ type: 'premium'
592
+ },
593
+ {
594
+ key: 'checklist',
595
+ name: 'Checklist',
596
+ type: 'premium'
597
+ },
598
+ {
599
+ key: 'editimage',
600
+ name: 'Enhanced Image Editing',
601
+ type: 'premium'
602
+ },
603
+ {
604
+ key: 'footnotes',
605
+ name: 'Footnotes',
606
+ type: 'premium'
607
+ },
608
+ {
609
+ key: 'typography',
610
+ name: 'Advanced Typography',
611
+ type: 'premium',
612
+ slug: 'advanced-typography'
613
+ },
614
+ {
615
+ key: 'mediaembed',
616
+ name: 'Enhanced Media Embed',
617
+ type: 'premium',
618
+ slug: 'introduction-to-mediaembed'
619
+ },
620
+ {
621
+ key: 'export',
622
+ name: 'Export',
623
+ type: 'premium'
624
+ },
625
+ {
626
+ key: 'formatpainter',
627
+ name: 'Format Painter',
628
+ type: 'premium'
629
+ },
630
+ {
631
+ key: 'inlinecss',
632
+ name: 'Inline CSS',
633
+ type: 'premium',
634
+ slug: 'inline-css'
635
+ },
636
+ {
637
+ key: 'linkchecker',
638
+ name: 'Link Checker',
639
+ type: 'premium'
640
+ },
641
+ {
642
+ key: 'mentions',
643
+ name: 'Mentions',
644
+ type: 'premium'
645
+ },
646
+ {
647
+ key: 'mergetags',
648
+ name: 'Merge Tags',
649
+ type: 'premium'
650
+ },
651
+ {
652
+ key: 'pageembed',
653
+ name: 'Page Embed',
654
+ type: 'premium'
655
+ },
656
+ {
657
+ key: 'permanentpen',
658
+ name: 'Permanent Pen',
659
+ type: 'premium'
660
+ },
661
+ {
662
+ key: 'powerpaste',
663
+ name: 'PowerPaste',
664
+ type: 'premium',
665
+ slug: 'introduction-to-powerpaste'
666
+ },
667
+ {
668
+ key: 'rtc',
669
+ name: 'Real-Time Collaboration',
670
+ type: 'premium',
671
+ slug: 'rtc-introduction'
672
+ },
673
+ {
674
+ key: 'tinymcespellchecker',
675
+ name: 'Spell Checker Pro',
676
+ type: 'premium',
677
+ slug: 'introduction-to-tiny-spellchecker'
678
+ },
679
+ {
680
+ key: 'autocorrect',
681
+ name: 'Spelling Autocorrect',
682
+ type: 'premium'
683
+ },
684
+ {
685
+ key: 'tableofcontents',
686
+ name: 'Table of Contents',
687
+ type: 'premium'
688
+ },
689
+ {
690
+ key: 'tinycomments',
691
+ name: 'Tiny Comments',
692
+ type: 'premium',
693
+ slug: 'introduction-to-tiny-comments'
694
+ },
695
+ {
696
+ key: 'tinydrive',
697
+ name: 'Tiny Drive',
698
+ type: 'premium',
699
+ slug: 'tinydrive-introduction'
700
+ }
701
+ ], item => ({
702
+ ...item,
703
+ type: item.type || 'opensource',
704
+ slug: item.slug || item.key
705
+ }));
706
+
707
+ const tab$1 = editor => {
708
+ const availablePlugins = () => {
709
+ const premiumPlugins = filter(urls, ({type}) => {
710
+ return type === 'premium';
711
+ });
712
+ const sortedPremiumPlugins = sort(map(premiumPlugins, p => p.name), (s1, s2) => s1.localeCompare(s2));
713
+ const premiumPluginList = map(sortedPremiumPlugins, pluginName => `<li>${ pluginName }</li>`).join('');
714
+ return '<div data-mce-tabstop="1" tabindex="-1">' + '<p><b>' + global$2.translate('Premium plugins:') + '</b></p>' + '<ul>' + premiumPluginList + '<li class="tox-help__more-link" "><a href="https://www.tiny.cloud/pricing/?utm_campaign=editor_referral&utm_medium=help_dialog&utm_source=tinymce" rel="noopener" target="_blank">' + global$2.translate('Learn more...') + '</a></li>' + '</ul>' + '</div>';
715
+ };
716
+ const makeLink = p => `<a href="${ p.url }" target="_blank" rel="noopener">${ p.name }</a>`;
717
+ const identifyUnknownPlugin = (editor, key) => {
718
+ const getMetadata = editor.plugins[key].getMetadata;
719
+ if (isFunction(getMetadata)) {
720
+ const metadata = getMetadata();
721
+ return {
722
+ name: metadata.name,
723
+ html: makeLink(metadata)
724
+ };
725
+ } else {
726
+ return {
727
+ name: key,
728
+ html: key
729
+ };
730
+ }
731
+ };
732
+ const getPluginData = (editor, key) => find(urls, x => {
733
+ return x.key === key;
734
+ }).fold(() => {
735
+ return identifyUnknownPlugin(editor, key);
736
+ }, x => {
737
+ const name = x.type === 'premium' ? `${ x.name }*` : x.name;
738
+ const html = makeLink({
739
+ name,
740
+ url: `https://www.tiny.cloud/docs/tinymce/6/${ x.slug }/`
741
+ });
742
+ return {
743
+ name,
744
+ html
745
+ };
746
+ });
747
+ const getPluginKeys = editor => {
748
+ const keys$1 = keys(editor.plugins);
749
+ const forcedPlugins = getForcedPlugins(editor);
750
+ return isUndefined(forcedPlugins) ? keys$1 : filter(keys$1, k => !contains(forcedPlugins, k));
751
+ };
752
+ const pluginLister = editor => {
753
+ const pluginKeys = getPluginKeys(editor);
754
+ const sortedPluginData = sort(map(pluginKeys, k => getPluginData(editor, k)), (pd1, pd2) => pd1.name.localeCompare(pd2.name));
755
+ const pluginLis = map(sortedPluginData, key => {
756
+ return '<li>' + key.html + '</li>';
757
+ });
758
+ const count = pluginLis.length;
759
+ const pluginsString = pluginLis.join('');
760
+ const html = '<p><b>' + global$2.translate([
761
+ 'Plugins installed ({0}):',
762
+ count
763
+ ]) + '</b></p>' + '<ul>' + pluginsString + '</ul>';
764
+ return html;
765
+ };
766
+ const installedPlugins = editor => {
767
+ if (editor == null) {
768
+ return '';
769
+ }
770
+ return '<div data-mce-tabstop="1" tabindex="-1">' + pluginLister(editor) + '</div>';
771
+ };
772
+ const htmlPanel = {
773
+ type: 'htmlpanel',
774
+ presets: 'document',
775
+ html: [
776
+ installedPlugins(editor),
777
+ availablePlugins()
778
+ ].join('')
779
+ };
780
+ return {
781
+ name: 'plugins',
782
+ title: 'Plugins',
783
+ items: [htmlPanel]
784
+ };
785
+ };
786
+
787
+ var global = tinymce.util.Tools.resolve('tinymce.EditorManager');
788
+
789
+ const tab = () => {
790
+ const getVersion = (major, minor) => major.indexOf('@') === 0 ? 'X.X.X' : major + '.' + minor;
791
+ const version = getVersion(global.majorVersion, global.minorVersion);
792
+ const changeLogLink = '<a href="https://www.tiny.cloud/docs/tinymce/6/changelog/?utm_campaign=editor_referral&utm_medium=help_dialog&utm_source=tinymce" rel="noopener" target="_blank">TinyMCE ' + version + '</a>';
793
+ const htmlPanel = {
794
+ type: 'htmlpanel',
795
+ html: '<p>' + global$2.translate([
796
+ 'You are using {0}',
797
+ changeLogLink
798
+ ]) + '</p>',
799
+ presets: 'document'
800
+ };
801
+ return {
802
+ name: 'versions',
803
+ title: 'Version',
804
+ items: [htmlPanel]
805
+ };
806
+ };
807
+
808
+ const parseHelpTabsSetting = (tabsFromSettings, tabs) => {
809
+ const newTabs = {};
810
+ const names = map(tabsFromSettings, t => {
811
+ var _a;
812
+ if (isString(t)) {
813
+ if (has(tabs, t)) {
814
+ newTabs[t] = tabs[t];
815
+ }
816
+ return t;
817
+ } else {
818
+ const name = (_a = t.name) !== null && _a !== void 0 ? _a : generate('tab-name');
819
+ newTabs[name] = t;
820
+ return name;
821
+ }
822
+ });
823
+ return {
824
+ tabs: newTabs,
825
+ names
826
+ };
827
+ };
828
+ const getNamesFromTabs = tabs => {
829
+ const names = keys(tabs);
830
+ const idx = names.indexOf('versions');
831
+ if (idx !== -1) {
832
+ names.splice(idx, 1);
833
+ names.push('versions');
834
+ }
835
+ return {
836
+ tabs,
837
+ names
838
+ };
839
+ };
840
+ const pParseCustomTabs = async (editor, customTabs, pluginUrl) => {
841
+ const shortcuts = tab$2();
842
+ const nav = await pTab(pluginUrl);
843
+ const plugins = tab$1(editor);
844
+ const versions = tab();
845
+ const tabs = {
846
+ [shortcuts.name]: shortcuts,
847
+ [nav.name]: nav,
848
+ [plugins.name]: plugins,
849
+ [versions.name]: versions,
850
+ ...customTabs.get()
851
+ };
852
+ return Optional.from(getHelpTabs(editor)).fold(() => getNamesFromTabs(tabs), tabsFromSettings => parseHelpTabsSetting(tabsFromSettings, tabs));
853
+ };
854
+ const init = (editor, customTabs, pluginUrl) => () => {
855
+ pParseCustomTabs(editor, customTabs, pluginUrl).then(({tabs, names}) => {
856
+ const foundTabs = map(names, name => get(tabs, name));
857
+ const dialogTabs = cat(foundTabs);
858
+ const body = {
859
+ type: 'tabpanel',
860
+ tabs: dialogTabs
861
+ };
862
+ editor.windowManager.open({
863
+ title: 'Help',
864
+ size: 'medium',
865
+ body,
866
+ buttons: [{
867
+ type: 'cancel',
868
+ name: 'close',
869
+ text: 'Close',
870
+ primary: true
871
+ }],
872
+ initialData: {}
873
+ });
874
+ });
875
+ };
876
+
877
+ var Plugin = () => {
878
+ global$4.add('help', (editor, pluginUrl) => {
879
+ const customTabs = Cell({});
880
+ const api = get$1(customTabs);
881
+ register$1(editor);
882
+ const dialogOpener = init(editor, customTabs, pluginUrl);
883
+ register(editor, dialogOpener);
884
+ register$2(editor, dialogOpener);
885
+ editor.shortcuts.add('Alt+0', 'Open help dialog', 'mceHelp');
886
+ initI18nLoad(editor, pluginUrl);
887
+ return api;
888
+ });
889
+ };
890
+
891
+ Plugin();
892
+
893
+ })();