@tangelo/tangelo-configuration-toolkit 1.6.1 → 1.8.0-beta.2

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 (679) hide show
  1. package/README.md +1 -1
  2. package/index.js +1 -1
  3. package/package.json +13 -12
  4. package/src/cli.js +43 -20
  5. package/src/lib/gulp-batch-replace-with-filter.js +19 -19
  6. package/src/lib/npm-package-update.js +51 -0
  7. package/src/modules/build/oxygen.js +2 -2
  8. package/src/modules/deploy/config.js +2 -0
  9. package/src/modules/deploy/execute.js +6 -4
  10. package/src/modules/fonto/commands.js +2 -2
  11. package/src/modules/git/index.js +34 -7
  12. package/src/modules/migrate/steps.js +7 -6
  13. package/src/modules/sql/index.js +27 -0
  14. package/build/project/.gitattributes +0 -1
  15. package/build/project/.gitmodules +0 -4
  16. package/build/project/config/cmscustom/tangelo/default/_log.xsl +0 -60
  17. package/build/project/config/cmscustom/tangelo/default/export/esef/config.xml +0 -9
  18. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_in/_util.xsl +0 -5
  19. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_in/_xml.xsl +0 -133
  20. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_in/root.xsl +0 -34
  21. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/_charts.xsl +0 -29
  22. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/_navigation.xsl +0 -65
  23. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/_page.xsl +0 -48
  24. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/_tables.xsl +0 -186
  25. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/_text.xsl +0 -19
  26. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/_util.xsl +0 -6
  27. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/css/bootstrap.min.css +0 -5
  28. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/css/style.scss +0 -205
  29. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/css/tangelo.scss +0 -52
  30. package/build/project/config/cmscustom/tangelo/default/export/esef/esef_out/root.xsl +0 -41
  31. package/build/project/config/cmscustom/tangelo/default/export/ods/_elements.xsl +0 -178
  32. package/build/project/config/cmscustom/tangelo/default/export/ods/_style.xsl +0 -283
  33. package/build/project/config/cmscustom/tangelo/default/export/ods/base.xsl +0 -194
  34. package/build/project/config/cmscustom/tangelo/default/export/ods/ods-config.xml +0 -9
  35. package/build/project/config/cmscustom/tangelo/default/export/ods/pre-process-ods.xsl +0 -17
  36. package/build/project/config/cmscustom/tangelo/default/export/odt/_elements.xsl +0 -157
  37. package/build/project/config/cmscustom/tangelo/default/export/odt/_style.xsl +0 -202
  38. package/build/project/config/cmscustom/tangelo/default/export/odt/_tables.xsl +0 -232
  39. package/build/project/config/cmscustom/tangelo/default/export/odt/base.xsl +0 -205
  40. package/build/project/config/cmscustom/tangelo/default/export/odt/odt-config.xml +0 -8
  41. package/build/project/config/cmscustom/tangelo/default/fonto/config/configuration.js +0 -44
  42. package/build/project/config/cmscustom/tangelo/default/fonto/config/fonto-manifest.json +0 -23
  43. package/build/project/config/cmscustom/tangelo/default/fonto/config.json +0 -23
  44. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/chapter.xml +0 -1
  45. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/document.xml +0 -1
  46. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/faqitem.xml +0 -1
  47. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/fileitem.xml +0 -1
  48. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/glossary.xml +0 -1
  49. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/newsitem.xml +0 -1
  50. package/build/project/config/cmscustom/tangelo/default/fonto/dev-cms/files/paragraph.xml +0 -1
  51. package/build/project/config/cmscustom/tangelo/default/fonto/manifest.json +0 -17
  52. package/build/project/config/cmscustom/tangelo/default/fonto/packages/localization/src/messages.nl.json +0 -1
  53. package/build/project/config/cmscustom/tangelo/default/fonto/packages/masthead/fonto-manifest.json +0 -6
  54. package/build/project/config/cmscustom/tangelo/default/fonto/packages/masthead/src/Masthead.jsx +0 -29
  55. package/build/project/config/cmscustom/tangelo/default/fonto/packages/masthead/src/install.js +0 -7
  56. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/fonto-manifest.json +0 -5
  57. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_block_attributes.json +0 -300
  58. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_chart_attributes.json +0 -233
  59. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_list_attributes.json +0 -101
  60. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_other_attributes.json +0 -74
  61. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_root_attributes.json +0 -181
  62. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_table_attributes.json +0 -256
  63. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/_xbrl_attributes.json +0 -890
  64. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/configureSxModule.js +0 -99
  65. package/build/project/config/cmscustom/tangelo/default/fonto/packages/sx-module/src/styles.scss +0 -214
  66. package/build/project/config/cmscustom/tangelo/default/hce/base.xsl +0 -231
  67. package/build/project/config/cmscustom/tangelo/default/hce/callback.js +0 -3
  68. package/build/project/config/cmscustom/tangelo/default/hce/colors.xml +0 -52
  69. package/build/project/config/cmscustom/tangelo/default/hce/hce-config.xml +0 -12
  70. package/build/project/config/cmscustom/tangelo/default/hce/template_options.js +0 -203
  71. package/build/project/config/cmscustom/tangelo/default/hce/template_options_pie.js +0 -84
  72. package/build/project/config/cmscustom/tangelo/default/hce/util.js +0 -0
  73. package/build/project/config/cmscustom/tangelo/default/import/paster_config.xml +0 -47
  74. package/build/project/config/cmscustom/tangelo/default/import/paster_config.xsd +0 -25
  75. package/build/project/config/cmscustom/tangelo/default/import/paster_table.xsl +0 -74
  76. package/build/project/config/cmscustom/tangelo/default/pdf/_general-settings.xsl +0 -18
  77. package/build/project/config/cmscustom/tangelo/default/pdf/ah-config-minimize-filesize.xml +0 -35
  78. package/build/project/config/cmscustom/tangelo/default/pdf/ah-config.xml +0 -5
  79. package/build/project/config/cmscustom/tangelo/default/pdf/ah.cmd +0 -19
  80. package/build/project/config/cmscustom/tangelo/default/pdf/ah.sh +0 -35
  81. package/build/project/config/cmscustom/tangelo/default/pdf/config/_chart.xsl +0 -41
  82. package/build/project/config/cmscustom/tangelo/default/pdf/config/_colors.xml +0 -12
  83. package/build/project/config/cmscustom/tangelo/default/pdf/config/_config.xml +0 -46
  84. package/build/project/config/cmscustom/tangelo/default/pdf/config/_cover.xsl +0 -63
  85. package/build/project/config/cmscustom/tangelo/default/pdf/config/_highlightblock.xsl +0 -35
  86. package/build/project/config/cmscustom/tangelo/default/pdf/config/_image.xsl +0 -43
  87. package/build/project/config/cmscustom/tangelo/default/pdf/config/_introduction.xsl +0 -34
  88. package/build/project/config/cmscustom/tangelo/default/pdf/config/_other.xsl +0 -98
  89. package/build/project/config/cmscustom/tangelo/default/pdf/config/_pre-process.xsl +0 -92
  90. package/build/project/config/cmscustom/tangelo/default/pdf/config/_static_content.xsl +0 -53
  91. package/build/project/config/cmscustom/tangelo/default/pdf/config/_static_strings.xml +0 -8
  92. package/build/project/config/cmscustom/tangelo/default/pdf/config/_table.xsl +0 -211
  93. package/build/project/config/cmscustom/tangelo/default/pdf/config/_table_of_contents.xsl +0 -154
  94. package/build/project/config/cmscustom/tangelo/default/pdf/config/_text.xsl +0 -136
  95. package/build/project/config/cmscustom/tangelo/default/pdf/config/_title.xsl +0 -172
  96. package/build/project/config/cmscustom/tangelo/default/pdf/config/base.xsl +0 -36
  97. package/build/project/config/cmscustom/tangelo/default/pdf/hyphenation/en-GB.xml +0 -9
  98. package/build/project/config/cmscustom/tangelo/default/pdf/hyphenation/en-US.xml +0 -8
  99. package/build/project/config/cmscustom/tangelo/default/pdf/hyphenation/nl.xml +0 -7
  100. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/base.xsl +0 -71
  101. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/baseline-grid.xsl +0 -88
  102. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/bookmarks.xsl +0 -72
  103. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/config_include.xsl +0 -40
  104. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/cropmarks.xsl +0 -26
  105. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/debug.xsl +0 -66
  106. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/defaults.xsl +0 -148
  107. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/_backgroundImage.xsl +0 -89
  108. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/_elementNumber.xsl +0 -17
  109. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/chart.xsl +0 -153
  110. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/codeBlock.xsl +0 -40
  111. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/cover.xsl +0 -131
  112. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/footnote.xsl +0 -268
  113. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/footnote_ah.xsl +0 -97
  114. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/header.xsl +0 -57
  115. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/highlightblock.xsl +0 -105
  116. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/image.xsl +0 -467
  117. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/introduction.xsl +0 -59
  118. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/link.xsl +0 -239
  119. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/list.xsl +0 -205
  120. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/paragraph.xsl +0 -33
  121. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/pdfInsertion.xsl +0 -180
  122. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/table.xsl +0 -682
  123. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/text.xsl +0 -71
  124. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/title.xsl +0 -382
  125. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements/xfi.xsl +0 -29
  126. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/elements.xsl +0 -113
  127. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/_elementNumber.xsl +0 -32
  128. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/bookmarks.xsl +0 -14
  129. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/chart.xsl +0 -74
  130. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/colors.xsl +0 -178
  131. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/footnote.xsl +0 -24
  132. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/general.xsl +0 -229
  133. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/header.xsl +0 -29
  134. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/highlightblock.xsl +0 -29
  135. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/image.xsl +0 -128
  136. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/index.xsl +0 -36
  137. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/introduction.xsl +0 -26
  138. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/link.xsl +0 -20
  139. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/list.xsl +0 -50
  140. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/paragraph.xsl +0 -21
  141. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/span.xsl +0 -93
  142. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/table-columns.xsl +0 -29
  143. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/table.xsl +0 -253
  144. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/table_of_contents.xsl +0 -60
  145. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/text.xsl +0 -48
  146. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions/title.xsl +0 -49
  147. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/functions.xsl +0 -79
  148. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/node.xsl +0 -139
  149. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/numbering.xsl +0 -13
  150. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/object_positioning.xsl +0 -698
  151. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/page-config.xsl +0 -45
  152. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/page_definitions.xsl +0 -271
  153. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/pages/abbreviation.xsl +0 -67
  154. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/pages/glossary.xsl +0 -70
  155. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/pages/index.xsl +0 -145
  156. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/pages/table_of_contents.xsl +0 -299
  157. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/parameters.xsl +0 -195
  158. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/post-process/_post-process.xsl +0 -84
  159. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/pre-process/_pre-process.xsl +0 -339
  160. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/section_column_span.xsl +0 -74
  161. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/structure.xsl +0 -486
  162. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/xsd/colors.xsd +0 -63
  163. package/build/project/config/cmscustom/tangelo/default/pdf/pdf_base/xsd/pdf_config.xsd +0 -236
  164. package/build/project/config/cmscustom/tangelo/default/pdf/post-process.xsl +0 -13
  165. package/build/project/config/cmscustom/tangelo/default/pdf/pre-process-base.xsl +0 -19
  166. package/build/project/config/cmscustom/tangelo/default/pdf/pre-process-pdf.xsl +0 -13
  167. package/build/project/config/cmscustom/tangelo/default/pdf/resources/unknown.pdf +7 -4249
  168. package/build/project/config/cmscustom/tangelo/default/pdf/root-download.xsl +0 -23
  169. package/build/project/config/cmscustom/tangelo/default/pdf/root-print.xsl +0 -24
  170. package/build/project/config/cmscustom/tangelo/default/pre-process/_auto_create_note_sectionlinks.xsl +0 -49
  171. package/build/project/config/cmscustom/tangelo/default/pre-process/_auto_prefix_to_number.xsl +0 -64
  172. package/build/project/config/cmscustom/tangelo/default/pre-process/_element-numbering.xsl +0 -92
  173. package/build/project/config/cmscustom/tangelo/default/pre-process/_lists.xsl +0 -39
  174. package/build/project/config/cmscustom/tangelo/default/pre-process/_table_add_structure.xsl +0 -169
  175. package/build/project/config/cmscustom/tangelo/default/pre-process/base.xsl +0 -51
  176. package/build/project/config/cmscustom/tangelo/default/pre-process/history/prepare-diff-xml.xsl +0 -16
  177. package/build/project/config/cmscustom/tangelo/default/prepare_xincludes.xsl +0 -70
  178. package/build/project/config/cmscustom/tangelo/default/schema/fonto.json +0 -36
  179. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_block.xsd +0 -151
  180. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_chart.xsd +0 -70
  181. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_inline.xsd +0 -140
  182. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_list.xsd +0 -61
  183. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_root.xsd +0 -84
  184. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_shared.xsd +0 -124
  185. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_table.xsd +0 -121
  186. package/build/project/config/cmscustom/tangelo/default/schema/xsd/_xbrl.xsd +0 -283
  187. package/build/project/config/cmscustom/tangelo/default/schema/xsd/chapter.xsd +0 -19
  188. package/build/project/config/cmscustom/tangelo/default/schema/xsd/cover.xsd +0 -24
  189. package/build/project/config/cmscustom/tangelo/default/schema/xsd/document.xsd +0 -20
  190. package/build/project/config/cmscustom/tangelo/default/schema/xsd/faqitem.xsd +0 -15
  191. package/build/project/config/cmscustom/tangelo/default/schema/xsd/fileitem.xsd +0 -15
  192. package/build/project/config/cmscustom/tangelo/default/schema/xsd/glossary.xsd +0 -23
  193. package/build/project/config/cmscustom/tangelo/default/schema/xsd/newsitem.xsd +0 -15
  194. package/build/project/config/cmscustom/tangelo/default/schema/xsd/paragraph.xsd +0 -16
  195. package/build/project/config/cmscustom/tangelo/default/toc/paste_below.xsl +0 -68
  196. package/build/project/config/cmscustom/tangelo/default/toc/paste_into.xsl +0 -6
  197. package/build/project/config/cmscustom/tangelo/fonts/Arial/arial.ttf +0 -0
  198. package/build/project/config/cmscustom/tangelo/fonts/Arial/arialbd.ttf +0 -0
  199. package/build/project/config/cmscustom/tangelo/fonts/Arial/arialbi.ttf +0 -0
  200. package/build/project/config/cmscustom/tangelo/fonts/Arial/ariali.ttf +0 -0
  201. package/build/project/config/cmscustom/tangelo/fonts/ah-font-config.dtd +0 -41
  202. package/build/project/config/cmscustom/tangelo/fonts/ah-font-config.xml +0 -6
  203. package/build/project/config/cmscustom/tangelo/fonts/avenir.css +0 -34
  204. package/build/project/config/txd/custom/resources/custom-UI-text.properties +0 -37
  205. package/build/project/config/txd/custom/resources/custom-UI-text_nl.properties +0 -37
  206. package/build/project/config/txp/site-resources/tangelo/default/css/tangelo.scss +0 -62
  207. package/build/project/config/txp/site-resources/tangelo/default/js/plugins.min.js +0 -9
  208. package/build/project/config/txp/site-resources/tangelo/default/js/tangelo.js +0 -3
  209. package/build/project/config/txp/site-resources/tangelo/default/tdi/css/_lib.scss +0 -51
  210. package/build/project/config/txp/site-resources/tangelo/default/tdi/js/lib.js +0 -129
  211. package/build/project/config/txp/site-resources/tangelo/default/tdi/js/preview.js +0 -22
  212. package/build/project/config/txp/site-stylesheets/tangelo/default/_navigation.xsl +0 -81
  213. package/build/project/config/txp/site-stylesheets/tangelo/default/_page.xsl +0 -70
  214. package/build/project/config/txp/site-stylesheets/tangelo/default/_search.xsl +0 -60
  215. package/build/project/config/txp/site-stylesheets/tangelo/default/_text.xsl +0 -107
  216. package/build/project/config/txp/site-stylesheets/tangelo/default/_translations.xsl +0 -67
  217. package/build/project/config/txp/site-stylesheets/tangelo/default/base.xsl +0 -51
  218. package/build/project/config/txp/site-stylesheets/tangelo/default/post-process.xsl +0 -57
  219. package/build/project/config/txp/site-stylesheets/tangelo/default/pre-process.xsl +0 -25
  220. package/build/project/config/txp/site-stylesheets/tangelo/default/tdi/_base.xsl +0 -70
  221. package/build/project/config/txp/site-stylesheets/tangelo/default/tdi/_navigation.xsl +0 -60
  222. package/build/project/config/txp/site-stylesheets/tangelo/default/tdi/_text.xsl +0 -245
  223. package/build/project/config/txp/site-stylesheets/tangelo/default/tdi/_util.xsl +0 -104
  224. package/build/project/database/config/tangelo/default/tan_contexts.sql +0 -0
  225. package/build/project/database/config/tangelo/default/tan_install.sql +0 -9
  226. package/build/project/database/config/tangelo/default/tan_xmlcache_files.sql +0 -0
  227. package/build/project/database/config/tangelo/default/tdl__tan_user_obj_privs.sql +0 -34
  228. package/build/project/database/config/tangelo/default/tdl_collection_types.sql +0 -12
  229. package/build/project/database/config/tangelo/default/tdl_collections.sql +0 -12
  230. package/build/project/database/config/tangelo/default/tdl_context_collections.sql +0 -0
  231. package/build/project/database/config/tangelo/default/tdl_file_type_extensions.sql +0 -0
  232. package/build/project/database/config/tangelo/default/tdl_file_types.sql +0 -0
  233. package/build/project/database/config/tangelo/default/tdl_install.sql +0 -14
  234. package/build/project/database/config/tangelo/default/tdl_media_types.sql +0 -0
  235. package/build/project/database/config/tangelo/default/tfq__tan_user_obj_privs.sql +0 -34
  236. package/build/project/database/config/tangelo/default/tfq_context_subjects.sql +0 -0
  237. package/build/project/database/config/tangelo/default/tfq_install.sql +0 -11
  238. package/build/project/database/config/tangelo/default/tfq_subject_types.sql +0 -12
  239. package/build/project/database/config/tangelo/default/tfq_subjects.sql +0 -12
  240. package/build/project/database/config/tangelo/default/til__tan_user_obj_privs.sql +0 -34
  241. package/build/project/database/config/tangelo/default/til_collection_imagetypes.sql +0 -15
  242. package/build/project/database/config/tangelo/default/til_collections.sql +0 -12
  243. package/build/project/database/config/tangelo/default/til_image_type_renditions.sql +0 -41
  244. package/build/project/database/config/tangelo/default/til_image_types.sql +0 -15
  245. package/build/project/database/config/tangelo/default/til_install.sql +0 -12
  246. package/build/project/database/config/tangelo/default/tmd__tan_user_obj_privs.sql +0 -0
  247. package/build/project/database/config/tangelo/default/tmd_install.sql +0 -0
  248. package/build/project/database/config/tangelo/default/tmd_types.sql +0 -0
  249. package/build/project/database/config/tangelo/default/tmd_values.sql +0 -0
  250. package/build/project/database/config/tangelo/default/tne__tan_user_obj_privs.sql +0 -34
  251. package/build/project/database/config/tangelo/default/tne_channel_sources.sql +0 -0
  252. package/build/project/database/config/tangelo/default/tne_channels.sql +0 -0
  253. package/build/project/database/config/tangelo/default/tne_context_channels.sql +0 -0
  254. package/build/project/database/config/tangelo/default/tne_install.sql +0 -14
  255. package/build/project/database/config/tangelo/default/tne_newsroom_type_weights.sql +0 -0
  256. package/build/project/database/config/tangelo/default/tne_newsroom_types.sql +0 -12
  257. package/build/project/database/config/tangelo/default/tne_newsrooms.sql +0 -12
  258. package/build/project/database/config/tangelo/default/txd__tan_user_obj_privs.sql +0 -34
  259. package/build/project/database/config/tangelo/default/txd__tan_user_obj_privs_default.sql +0 -35
  260. package/build/project/database/config/tangelo/default/txd_auto_file_generation.sql +0 -0
  261. package/build/project/database/config/tangelo/default/txd_custom_menu_items.sql +0 -0
  262. package/build/project/database/config/tangelo/default/txd_document_types.sql +0 -14
  263. package/build/project/database/config/tangelo/default/txd_export_formats.sql +0 -31
  264. package/build/project/database/config/tangelo/default/txd_export_parameters.sql +0 -41
  265. package/build/project/database/config/tangelo/default/txd_install.sql +0 -20
  266. package/build/project/database/config/tangelo/default/txd_node_types.sql +0 -30
  267. package/build/project/database/config/tangelo/default/txd_object_elements.sql +0 -24
  268. package/build/project/database/config/tangelo/default/txd_paste_stylesheets.sql +0 -579
  269. package/build/project/database/config/tangelo/default/txd_section_types.sql +0 -57
  270. package/build/project/database/config/tangelo/default/txd_xml_file_set_type_pasters.sql +0 -27
  271. package/build/project/database/config/tangelo/default/txd_xml_file_set_types.sql +0 -12
  272. package/build/project/database/create.sql +0 -39
  273. package/build/project/database/create_exists.sql +0 -1
  274. package/build/project/database/custom/create_user_tlo.sql +0 -10
  275. package/build/project/database/custom/grants_on_tlo.sql +0 -2
  276. package/build/project/database/custom/grants_to_tlo.sql +0 -15
  277. package/build/project/database/custom/plsql/tlo_include.pkb +0 -9
  278. package/build/project/database/custom/plsql/tlo_include.pks +0 -6
  279. package/build/project/database/custom/plsql/tlo_lookup.pkb +0 -15
  280. package/build/project/database/custom/plsql/tlo_lookup.pks +0 -6
  281. package/build/project/database/install.sql +0 -68
  282. package/build/project/readme.md +0 -7
  283. package/build/project/tangelo-default-implementation/.editorconfig +0 -9
  284. package/build/project/tangelo-default-implementation/src/.gitattributes +0 -1
  285. package/build/project/tangelo-default-implementation/src/.gitignore_ +0 -47
  286. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/_log.xsl +0 -60
  287. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/config.xml +0 -9
  288. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_in/_util.xsl +0 -5
  289. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_in/_xml.xsl +0 -133
  290. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_in/root.xsl +0 -34
  291. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/_charts.xsl +0 -29
  292. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/_navigation.xsl +0 -65
  293. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/_page.xsl +0 -48
  294. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/_tables.xsl +0 -186
  295. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/_text.xsl +0 -19
  296. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/_util.xsl +0 -6
  297. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/css/bootstrap.min.css +0 -5
  298. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/css/style.scss +0 -205
  299. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/css/tangelo.scss +0 -52
  300. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/esef/esef_out/root.xsl +0 -41
  301. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/ods/_elements.xsl +0 -178
  302. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/ods/_style.xsl +0 -283
  303. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/ods/base.xsl +0 -194
  304. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/ods/ods-config.xml +0 -9
  305. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/ods/pre-process-ods.xsl +0 -17
  306. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/odt/_elements.xsl +0 -157
  307. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/odt/_style.xsl +0 -202
  308. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/odt/_tables.xsl +0 -232
  309. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/odt/base.xsl +0 -205
  310. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/export/odt/odt-config.xml +0 -8
  311. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/config/configuration.js +0 -44
  312. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/config/fonto-manifest.json +0 -15
  313. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/config.json +0 -23
  314. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/chapter.xml +0 -1
  315. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/document.xml +0 -1
  316. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/faqitem.xml +0 -1
  317. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/fileitem.xml +0 -1
  318. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/glossary.xml +0 -1
  319. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/newsitem.xml +0 -1
  320. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/dev-cms/files/paragraph.xml +0 -1
  321. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/manifest.json +0 -16
  322. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/localization/src/messages.nl.json +0 -1
  323. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/masthead/fonto-manifest.json +0 -6
  324. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/masthead/src/Masthead.jsx +0 -29
  325. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/masthead/src/install.js +0 -7
  326. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/fonto-manifest.json +0 -5
  327. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_block_attributes.json +0 -300
  328. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_chart_attributes.json +0 -233
  329. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_list_attributes.json +0 -101
  330. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_other_attributes.json +0 -74
  331. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_root_attributes.json +0 -181
  332. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_table_attributes.json +0 -256
  333. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/_xbrl_attributes.json +0 -890
  334. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/configureSxModule.js +0 -99
  335. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/fonto/packages/sx-module/src/styles.scss +0 -214
  336. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/base.xsl +0 -231
  337. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/callback.js +0 -3
  338. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/colors.xml +0 -52
  339. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/hce-config.xml +0 -12
  340. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/template_options.js +0 -203
  341. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/template_options_pie.js +0 -84
  342. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/hce/util.js +0 -0
  343. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/import/me0710-custom.xsl +0 -111
  344. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/import/paster_config.xml +0 -47
  345. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/import/paster_config.xsd +0 -25
  346. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/import/paster_table.xsl +0 -74
  347. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/_general-settings.xsl +0 -18
  348. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/ah-config-minimize-filesize.xml +0 -35
  349. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/ah-config.xml +0 -5
  350. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/ah.cmd +0 -19
  351. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/ah.sh +0 -35
  352. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_chart.xsl +0 -41
  353. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_colors.xml +0 -12
  354. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_config.xml +0 -46
  355. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_cover.xsl +0 -63
  356. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_highlightblock.xsl +0 -35
  357. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_image.xsl +0 -43
  358. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_introduction.xsl +0 -34
  359. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_other.xsl +0 -98
  360. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_pre-process.xsl +0 -92
  361. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_static_content.xsl +0 -53
  362. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_static_strings.xml +0 -8
  363. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_table.xsl +0 -211
  364. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_table_of_contents.xsl +0 -154
  365. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_text.xsl +0 -136
  366. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/_title.xsl +0 -172
  367. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/config/base.xsl +0 -36
  368. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/hyphenation/en-GB.xml +0 -9
  369. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/hyphenation/en-US.xml +0 -8
  370. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/hyphenation/nl.xml +0 -7
  371. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/base.xsl +0 -71
  372. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/baseline-grid.xsl +0 -88
  373. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/bookmarks.xsl +0 -72
  374. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/config_include.xsl +0 -40
  375. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/cropmarks.xsl +0 -26
  376. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/debug.xsl +0 -66
  377. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/defaults.xsl +0 -148
  378. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/_backgroundImage.xsl +0 -89
  379. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/_elementNumber.xsl +0 -17
  380. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/chart.xsl +0 -153
  381. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/codeBlock.xsl +0 -40
  382. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/cover.xsl +0 -131
  383. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/footnote.xsl +0 -268
  384. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/footnote_ah.xsl +0 -97
  385. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/header.xsl +0 -57
  386. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/highlightblock.xsl +0 -105
  387. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/image.xsl +0 -467
  388. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/introduction.xsl +0 -59
  389. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/link.xsl +0 -239
  390. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/list.xsl +0 -205
  391. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/paragraph.xsl +0 -33
  392. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/pdfInsertion.xsl +0 -180
  393. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/table.xsl +0 -682
  394. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/text.xsl +0 -71
  395. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/title.xsl +0 -382
  396. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements/xfi.xsl +0 -29
  397. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/elements.xsl +0 -113
  398. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/_elementNumber.xsl +0 -32
  399. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/bookmarks.xsl +0 -14
  400. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/chart.xsl +0 -74
  401. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/colors.xsl +0 -178
  402. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/footnote.xsl +0 -24
  403. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/general.xsl +0 -229
  404. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/header.xsl +0 -29
  405. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/highlightblock.xsl +0 -29
  406. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/image.xsl +0 -128
  407. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/index.xsl +0 -36
  408. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/introduction.xsl +0 -26
  409. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/link.xsl +0 -20
  410. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/list.xsl +0 -50
  411. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/paragraph.xsl +0 -21
  412. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/span.xsl +0 -93
  413. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/table-columns.xsl +0 -29
  414. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/table.xsl +0 -253
  415. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/table_of_contents.xsl +0 -60
  416. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/text.xsl +0 -48
  417. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions/title.xsl +0 -49
  418. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/functions.xsl +0 -79
  419. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/node.xsl +0 -139
  420. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/numbering.xsl +0 -13
  421. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/object_positioning.xsl +0 -698
  422. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/page-config.xsl +0 -45
  423. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/page_definitions.xsl +0 -271
  424. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/pages/abbreviation.xsl +0 -67
  425. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/pages/glossary.xsl +0 -70
  426. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/pages/index.xsl +0 -145
  427. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/pages/table_of_contents.xsl +0 -299
  428. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/parameters.xsl +0 -195
  429. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/post-process/_post-process.xsl +0 -84
  430. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/pre-process/_pre-process.xsl +0 -339
  431. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/section_column_span.xsl +0 -74
  432. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/structure.xsl +0 -486
  433. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/xsd/colors.xsd +0 -63
  434. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pdf_base/xsd/pdf_config.xsd +0 -236
  435. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/post-process.xsl +0 -13
  436. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pre-process-base.xsl +0 -19
  437. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/pre-process-pdf.xsl +0 -13
  438. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/resources/unknown.pdf +7 -4249
  439. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/root-download.xsl +0 -23
  440. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pdf/root-print.xsl +0 -24
  441. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/_auto_create_note_sectionlinks.xsl +0 -49
  442. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/_auto_prefix_to_number.xsl +0 -64
  443. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/_element-numbering.xsl +0 -92
  444. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/_lists.xsl +0 -39
  445. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/_table_add_structure.xsl +0 -169
  446. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/base.xsl +0 -51
  447. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/pre-process/history/prepare-diff-xml.xsl +0 -16
  448. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/prepare_xincludes.xsl +0 -70
  449. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/resolve_templates.xsl +0 -57
  450. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/fonto.json +0 -36
  451. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_block.xsd +0 -151
  452. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_chart.xsd +0 -70
  453. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_inline.xsd +0 -140
  454. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_list.xsd +0 -61
  455. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_root.xsd +0 -84
  456. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_shared.xsd +0 -124
  457. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_table.xsd +0 -121
  458. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/_xbrl.xsd +0 -283
  459. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/chapter.xsd +0 -19
  460. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/cover.xsd +0 -24
  461. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/document.xsd +0 -20
  462. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/faqitem.xsd +0 -15
  463. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/fileitem.xsd +0 -15
  464. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/glossary.xsd +0 -23
  465. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/newsitem.xsd +0 -15
  466. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/schema/xsd/paragraph.xsd +0 -16
  467. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/toc/paste_below.xsl +0 -68
  468. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/[project]/toc/paste_into.xsl +0 -6
  469. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/Arial/arial.ttf +0 -0
  470. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/Arial/arialbd.ttf +0 -0
  471. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/Arial/arialbi.ttf +0 -0
  472. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/Arial/ariali.ttf +0 -0
  473. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/ah-font-config.dtd +0 -41
  474. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/ah-font-config.xml +0 -6
  475. package/build/project/tangelo-default-implementation/src/config/cmscustom/[customer]/fonts/avenir.css +0 -34
  476. package/build/project/tangelo-default-implementation/src/config/txd/custom/resources/custom-UI-text.properties +0 -46
  477. package/build/project/tangelo-default-implementation/src/config/txd/custom/resources/custom-UI-text_nl.properties +0 -46
  478. package/build/project/tangelo-default-implementation/src/config/txp/site-configs/[customer]/[project].xml +0 -20
  479. package/build/project/tangelo-default-implementation/src/config/txp/site-resources/[customer]/[project]/css/tangelo.scss +0 -62
  480. package/build/project/tangelo-default-implementation/src/config/txp/site-resources/[customer]/[project]/js/plugins.min.js +0 -9
  481. package/build/project/tangelo-default-implementation/src/config/txp/site-resources/[customer]/[project]/js/tangelo.js +0 -3
  482. package/build/project/tangelo-default-implementation/src/config/txp/site-resources/[customer]/[project]/tdi/css/_lib.scss +0 -51
  483. package/build/project/tangelo-default-implementation/src/config/txp/site-resources/[customer]/[project]/tdi/js/lib.js +0 -129
  484. package/build/project/tangelo-default-implementation/src/config/txp/site-resources/[customer]/[project]/tdi/js/preview.js +0 -22
  485. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/_navigation.xsl +0 -81
  486. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/_page.xsl +0 -70
  487. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/_search.xsl +0 -60
  488. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/_text.xsl +0 -107
  489. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/_translations.xsl +0 -67
  490. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/base.xsl +0 -51
  491. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/post-process.xsl +0 -57
  492. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/pre-process.xsl +0 -25
  493. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/tdi/_base.xsl +0 -71
  494. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/tdi/_json.xsl +0 -141
  495. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/tdi/_navigation.xsl +0 -60
  496. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/tdi/_text.xsl +0 -245
  497. package/build/project/tangelo-default-implementation/src/config/txp/site-stylesheets/[customer]/[project]/tdi/_util.xsl +0 -104
  498. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tan_contexts.sql +0 -0
  499. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tan_install.sql +0 -9
  500. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tan_xmlcache_files.sql +0 -0
  501. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl__tan_user_obj_privs.sql +0 -34
  502. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_collection_types.sql +0 -12
  503. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_collections.sql +0 -12
  504. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_context_collections.sql +0 -0
  505. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_file_type_extensions.sql +0 -0
  506. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_file_types.sql +0 -0
  507. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_install.sql +0 -14
  508. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tdl_media_types.sql +0 -0
  509. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tfq__tan_user_obj_privs.sql +0 -34
  510. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tfq_context_subjects.sql +0 -0
  511. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tfq_install.sql +0 -11
  512. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tfq_subject_types.sql +0 -12
  513. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tfq_subjects.sql +0 -12
  514. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/til__tan_user_obj_privs.sql +0 -34
  515. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/til_collection_imagetypes.sql +0 -15
  516. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/til_collections.sql +0 -12
  517. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/til_image_type_renditions.sql +0 -41
  518. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/til_image_types.sql +0 -15
  519. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/til_install.sql +0 -12
  520. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tmd__tan_user_obj_privs.sql +0 -0
  521. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tmd_install.sql +0 -0
  522. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tmd_types.sql +0 -0
  523. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tmd_values.sql +0 -0
  524. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne__tan_user_obj_privs.sql +0 -34
  525. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_channel_sources.sql +0 -0
  526. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_channels.sql +0 -0
  527. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_context_channels.sql +0 -0
  528. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_install.sql +0 -14
  529. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_newsroom_type_weights.sql +0 -0
  530. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_newsroom_types.sql +0 -12
  531. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/tne_newsrooms.sql +0 -12
  532. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd__tan_user_obj_privs.sql +0 -37
  533. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd__tan_user_obj_privs_default.sql +0 -38
  534. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_auto_file_generation.sql +0 -0
  535. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_custom_menu_items.sql +0 -15
  536. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_document_types.sql +0 -17
  537. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_export_formats.sql +0 -49
  538. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_export_parameters.sql +0 -41
  539. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_install.sql +0 -20
  540. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_node_types.sql +0 -30
  541. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_object_elements.sql +0 -39
  542. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_paste_stylesheets.sql +0 -579
  543. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_section_types.sql +0 -99
  544. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_xml_file_set_type_pasters.sql +0 -45
  545. package/build/project/tangelo-default-implementation/src/database/config/[customer]/[project]/txd_xml_file_set_types.sql +0 -15
  546. package/build/project/tangelo-default-implementation/src/database/create.sql +0 -39
  547. package/build/project/tangelo-default-implementation/src/database/create_exists.sql +0 -1
  548. package/build/project/tangelo-default-implementation/src/database/custom/create_user_[custom-schema].sql +0 -10
  549. package/build/project/tangelo-default-implementation/src/database/custom/grants_on_[custom-schema].sql +0 -2
  550. package/build/project/tangelo-default-implementation/src/database/custom/grants_to_[custom-schema].sql +0 -15
  551. package/build/project/tangelo-default-implementation/src/database/custom/plsql/[custom-schema]_include.pkb +0 -9
  552. package/build/project/tangelo-default-implementation/src/database/custom/plsql/[custom-schema]_include.pks +0 -6
  553. package/build/project/tangelo-default-implementation/src/database/custom/plsql/[custom-schema]_lookup.pkb +0 -15
  554. package/build/project/tangelo-default-implementation/src/database/custom/plsql/[custom-schema]_lookup.pks +0 -6
  555. package/build/project/tangelo-default-implementation/src/database/decade/create_user_dcf.sql +0 -10
  556. package/build/project/tangelo-default-implementation/src/database/decade/dcf_id.seq +0 -7
  557. package/build/project/tangelo-default-implementation/src/database/decade/dcf_includes_xml.tab +0 -49
  558. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/create_user_decade.sql +0 -10
  559. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/demo_values.dat +0 -311
  560. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/demo_values.tab +0 -17
  561. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/grants_on_decade.sql +0 -1
  562. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/grants_to_decade.sql +0 -1
  563. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/install.sql +0 -63
  564. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/plsql/include_mjb.pkb +0 -588
  565. package/build/project/tangelo-default-implementation/src/database/decade/dev-dummy-schema/plsql/include_mjb.pks +0 -272
  566. package/build/project/tangelo-default-implementation/src/database/decade/grants_on_dcf.sql +0 -4
  567. package/build/project/tangelo-default-implementation/src/database/decade/grants_to_dcf.sql +0 -7
  568. package/build/project/tangelo-default-implementation/src/database/decade/plsql/dcf_include.pkb +0 -763
  569. package/build/project/tangelo-default-implementation/src/database/decade/plsql/dcf_include.pks +0 -122
  570. package/build/project/tangelo-default-implementation/src/database/decade/plsql/dcf_lookup.pkb +0 -595
  571. package/build/project/tangelo-default-implementation/src/database/decade/plsql/dcf_lookup.pks +0 -54
  572. package/build/project/tangelo-default-implementation/src/database/decade/plsql/dcf_update.pkb +0 -114
  573. package/build/project/tangelo-default-implementation/src/database/decade/plsql/dcf_update.pks +0 -23
  574. package/build/project/tangelo-default-implementation/src/database/install.sql +0 -93
  575. package/build/project/tangelo-default-implementation/src/database/tdi/create_user_tdi.sql +0 -10
  576. package/build/project/tangelo-default-implementation/src/database/tdi/grants_on_tdi.sql +0 -3
  577. package/build/project/tangelo-default-implementation/src/database/tdi/grants_to_tdi.sql +0 -25
  578. package/build/project/tangelo-default-implementation/src/database/tdi/install.sql +0 -76
  579. package/build/project/tangelo-default-implementation/src/database/tdi/plsql/tdi_include.pkb +0 -142
  580. package/build/project/tangelo-default-implementation/src/database/tdi/plsql/tdi_include.pks +0 -52
  581. package/build/project/tangelo-default-implementation/src/database/tdi/plsql/tdi_lookup.pkb +0 -619
  582. package/build/project/tangelo-default-implementation/src/database/tdi/plsql/tdi_lookup.pks +0 -64
  583. package/build/project/tangelo-default-implementation/src/database/tdi/plsql/tdi_numbering.pkb +0 -425
  584. package/build/project/tangelo-default-implementation/src/database/tdi/plsql/tdi_numbering.pks +0 -76
  585. package/build/project/tangelo-default-implementation/src/database/tdi/tan_xmlcache_files.sql +0 -17
  586. package/build/project/tangelo-default-implementation/src/readme.md +0 -7
  587. package/build/project/tangelo-default-implementation/tct/build/init.js +0 -81
  588. package/build/project/tangelo-default-implementation/tct/build/oxygen/create-SEF.cmd +0 -3
  589. package/build/project/tangelo-default-implementation/tct/build/oxygen/createProjectFile.sef.json +0 -1
  590. package/build/project/tangelo-default-implementation/tct/build/oxygen/createProjectFile.xsl +0 -308
  591. package/build/project/tangelo-default-implementation/tct/build/oxygen/stylesheetPaths.json +0 -67
  592. package/build/project/tangelo-default-implementation/tct/build/project-config.js +0 -96
  593. package/build/project/tangelo-default-implementation/tct/build/project.js +0 -182
  594. package/build/project/tangelo-default-implementation/tct/fonto/compatibleVersions.json +0 -1
  595. package/build/project/tangelo-default-implementation/tct/migrate/411-412.js +0 -15
  596. package/build/project/tangelo-default-implementation/tct/migrate/412-413.js +0 -76
  597. package/build/project/tangelo-default-implementation/tct/migrate/413-420.js +0 -330
  598. package/build/project/tangelo-default-implementation/tct/migrate/420-421.js +0 -58
  599. package/build/project/tangelo-default-implementation/tct/migrate/421-422.js +0 -26
  600. package/build/project/tangelo-default-implementation/tct/migrate/422-51/step1.js +0 -83
  601. package/build/project/tangelo-default-implementation/tct/migrate/422-51/step2.js +0 -82
  602. package/build/project/tangelo-default-implementation/tct/migrate/422-51/step3.js +0 -642
  603. package/build/project/tangelo-default-implementation/tct/migrate/422-51/step4.js +0 -64
  604. package/build/project/tangelo-default-implementation/tct/migrate/422-51.js +0 -6
  605. package/build/project/tangelo-default-implementation/tct/migrate/522-53/all_step1.js +0 -167
  606. package/build/project/tangelo-default-implementation/tct/migrate/522-53/all_step2.js +0 -58
  607. package/build/project/tangelo-default-implementation/tct/migrate/522-53/all_step3.js +0 -41
  608. package/build/project/tangelo-default-implementation/tct/migrate/522-53/copyFiles.js +0 -28
  609. package/build/project/tangelo-default-implementation/tct/migrate/522-53/create-SEF.cmd +0 -3
  610. package/build/project/tangelo-default-implementation/tct/migrate/522-53/fontodiff.js +0 -67
  611. package/build/project/tangelo-default-implementation/tct/migrate/522-53/other.js +0 -148
  612. package/build/project/tangelo-default-implementation/tct/migrate/522-53/pdfPrePostProces.js +0 -338
  613. package/build/project/tangelo-default-implementation/tct/migrate/522-53/pdfPrePostProces.sef.json +0 -1
  614. package/build/project/tangelo-default-implementation/tct/migrate/522-53/pdfPrePostProces.xsl +0 -119
  615. package/build/project/tangelo-default-implementation/tct/migrate/522-53/rename.js +0 -17
  616. package/build/project/tangelo-default-implementation/tct/migrate/522-53.js +0 -10
  617. package/build/project/tangelo-default-implementation/tct/migrate/code-cleanup.js +0 -10
  618. package/build/project/tangelo-default-implementation/tct/sql/generate/core/create.sql +0 -21
  619. package/build/project/tangelo-default-implementation/tct/sql/generate/core/skip.sql +0 -0
  620. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tan_contexts.sql +0 -32
  621. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tan_user_obj_privs.sql +0 -58
  622. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tan_user_obj_privs_default.sql +0 -59
  623. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tan_xmlcache_files.sql +0 -30
  624. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tdl_collection_types.sql +0 -33
  625. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tdl_collections.sql +0 -33
  626. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tdl_context_collections.sql +0 -37
  627. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tdl_file_type_extensions.sql +0 -38
  628. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tdl_file_types.sql +0 -38
  629. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tdl_media_types.sql +0 -33
  630. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tfq_context_subjects.sql +0 -37
  631. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tfq_subject_types.sql +0 -33
  632. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tfq_subjects.sql +0 -33
  633. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/til_collection_imagetypes.sql +0 -33
  634. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/til_collections.sql +0 -36
  635. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/til_image_type_renditions.sql +0 -35
  636. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/til_image_types.sql +0 -33
  637. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tmd_types.sql +0 -35
  638. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tmd_values.sql +0 -33
  639. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tne_channel_sources.sql +0 -37
  640. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tne_channels.sql +0 -37
  641. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tne_context_channels.sql +0 -38
  642. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tne_newsroom_type_weights.sql +0 -33
  643. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tne_newsroom_types.sql +0 -33
  644. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/tne_newsrooms.sql +0 -33
  645. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_auto_file_generation.sql +0 -34
  646. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_custom_menu_items.sql +0 -33
  647. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_document_types.sql +0 -35
  648. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_export_formats.sql +0 -33
  649. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_export_parameters.sql +0 -37
  650. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_node_types.sql +0 -37
  651. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_object_elements.sql +0 -33
  652. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_paste_stylesheets.sql +0 -42
  653. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_section_types.sql +0 -37
  654. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_xml_file_set_type_pasters.sql +0 -37
  655. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tables/txd_xml_file_set_types.sql +0 -38
  656. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tan.sql +0 -21
  657. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tdl.sql +0 -46
  658. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tfq.sql +0 -31
  659. package/build/project/tangelo-default-implementation/tct/sql/generate/core/til.sql +0 -35
  660. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tmd.sql +0 -26
  661. package/build/project/tangelo-default-implementation/tct/sql/generate/core/tne.sql +0 -46
  662. package/build/project/tangelo-default-implementation/tct/sql/generate/core/txd.sql +0 -76
  663. package/build/project/tangelo-default-implementation/tct/sql/generate/dev/upsert_script_creator.tst +0 -109
  664. package/build/project/tangelo-default-implementation/tct/sql/generate/start.sql +0 -55
  665. package/build/project/tangelo-default-implementation/tct/sql/remove/core/tan_default_user_obj_privs.sql +0 -5
  666. package/build/project/tangelo-default-implementation/tct/sql/remove/core/tan_user_obj_privs.sql +0 -5
  667. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_auto_file_generation.sql +0 -4
  668. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_custom_menu_items.sql +0 -4
  669. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_document_types.sql +0 -4
  670. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_export_formats.sql +0 -4
  671. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_export_parameters.sql +0 -8
  672. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_node_types.sql +0 -9
  673. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_object_elements.sql +0 -4
  674. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_paste_stylesheets.sql +0 -13
  675. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_section_types.sql +0 -4
  676. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_xml_file_set_type_pasters.sql +0 -9
  677. package/build/project/tangelo-default-implementation/tct/sql/remove/core/txd_xml_file_set_types.sql +0 -10
  678. package/build/project/tangelo-default-implementation/tct/sql/remove/start.sql +0 -73
  679. package/test/all.ps1 +0 -50
@@ -1,642 +0,0 @@
1
- module.exports = {
2
-
3
- replaceInFiles: [{
4
- files : ['config/**/prepare_xincludes.xsl'],
5
- fromtoPairs : [
6
- /* removal of $vaXopus */
7
- [/\s+href="\{\$plsservlet\}[^"]*"/g, ''],
8
- [/\s*<xsl:if\s+test="\$vaXopus(\s+and\s+@applyNumbering\[.*?\])?\s*">.*?<\/xsl:if>/gs , ''],
9
- [/\s*<xsl:when\s+test="\$vaXopus(\s+and\s+@applyNumbering\[.*?\])?\s*">.*?<\/xsl:when>/gs , ''],
10
- [/ or \$vaXopus/g , ''],
11
- [/\$vaXopus or /g , ''],
12
- [/ and not(\$vaXopus)/g , ''],
13
- [/not(\$vaXopus) and /g , ''],
14
- [/(\s*)<xsl:if\s+test="not\(\$vaXopus\)">(\s*)(.*?)<\/xsl:if>/gs , '$1$3'],
15
- [/test="not(\$vaXopus)"/g , 'test="true()"'],
16
- [/<xsl:variable\s+name="vaXopus".*?\/>/g , ''],
17
- [/not\(\/prepareData\)/g , '$vaXopus'],
18
- [/not\(\$prepindb\)/gi , '$vaXopus'],
19
- [/(\s|")\/prepareData(\s|")/g , '$1not($vaXopus)$2'],
20
- [/(\s|")\$prepindb(\s|")/gi , '$1not($vaXopus)$2'],
21
- [/<xsl:variable name="prepindb">.*?<\/xsl:variable>/gis , ''],
22
-
23
- /* general changes */
24
- [/<xsl:choose>(?!\s*<xsl:when)\s*<xsl:otherwise>(.*?)<\/xsl:otherwise>\s*<\/xsl:choose>/gs , '$1'], /* unwrap xsl:otherwise content */
25
- [/<xsl:choose>\s*<\/xsl:choose>/gs , ''],
26
- [/<xsl:when\s+test="\s*"\s*((\/>)|(>\s*<\/xsl:when>))/gs , ''], /* remove empty xsl:when without a test condition */
27
- [/<xsl:when\s+test="[^"]*"\s*((\/>)|(>\s*<\/xsl:when>))(?!\s*(<!--[^>]*>)*\s*<xsl:(when|otherwise))/gs , ''], /* remove empty xsl:when when no other xsl:when or xsl:otherwise follows */
28
- [/<xsl:otherwise>\s*<\/xsl:otherwise>/gs , '']
29
- ]
30
- },{
31
- files : ['config/**/schema/xsd/**/*.xsd'],
32
- fromtoPairs : [
33
- /* tbody & table/col changes */
34
- [/(\s*)<xs:element\s+ref="tbody"\s*\/\>(.*?)(<\/xs:sequence>)/gs , '$2 <xs:element name="col" type="table-col" maxOccurs="unbounded"/>$1<xs:element name="tr" type="table-row" maxOccurs="unbounded"/>\n $3'],
35
- [/(\s*)<xs:element\s+name="tbody"\s*type="tbody(Type)?"[^>]*\/\>(.*?)(<\/xs:sequence>)/gs , '$3 <xs:element name="col" type="table-col" maxOccurs="unbounded"/>$1<xs:element name="tr" type="table-row" maxOccurs="unbounded"/>\n $4'],
36
- [/^(\s*)<xs:complexType\s+name="tbody(Type)?">\s*<xs:sequence>\s*<xs:element\s+name="tr"[^>]*>\s*<xs:complexType>(([^<]|<[^\/]|<\/[^x]|<\/xs:[^c]|<\/xs:c[^o])*)<\/xs:complexType>\s+<\/xs:element>([^<]|<[^\/]|<\/[^x]|<\/xs:[^s]|<\/xs:s[^e])*<\/xs:sequence>\s+<\/xs:complexType>/gms , '$1<xs:complexType name="table-row">$3</xs:complexType>'],
37
- [/^(\s*)(<xs:complexType\s+name="tbody(Type)?">\s*<xs:sequence>([^<]|<[^\/]|<\/[^x]|<\/xs:[^s]|<\/xs:s[^e])*<\/xs:sequence>.*?<\/xs:complexType>)/gms , '$1<!-- *!FIX: XSD-510-TAB-001 !* $2 -->'],
38
- [/^(\s*)(<xs:element name="tbody">\s*<xs:complexType>\s*<xs:sequence>([^<]|<[^\/]|<\/[^x]|<\/xs:[^s]|<\/xs:s[^e])*<\/xs:sequence>([^<]|<[^\/]|<\/[^x]|<\/xs:[^c]|<\/xs:c[^o])*<\/xs:complexType>\s*<\/xs:element>)/gms , '$1<!-- *!FIX: XSD-510-TAB-002 !* $2 -->'],
39
- [/(\s*)(<xs:complexType\s+name="table(Type)?">(?!.*<xs:complexType name="table-col")(?!<xs:complexType).*?<\/xs:complexType>)/gs , '$1$2$1<xs:complexType name="table-col">\n <xs:attribute name="width" use="optional" default="0">\n <xs:simpleType>\n <xs:restriction base="xs:decimal">\n <xs:minInclusive value="0"/>\n <xs:maxInclusive value="100"/>\n </xs:restriction>\n </xs:simpleType>\n </xs:attribute>\n </xs:complexType>'],
40
- [/"tableType"/g , '"table"'],
41
- [/(\s*)<xs:complexType\s+name="tr(Type)?">/g , '$1<xs:complexType name="table-row">'],
42
- [/(<xs:attributeGroup name="(tdthAttributes|tdi-table-cell)">(\s*<xs:attribute(Group)?\s+(name|ref)="(?!width)([^\/>]*\/>|.*?<\/xsl:attribute>))*)\s*(<xs:attribute\s+name="width[^>]*>)(.*?<\/xs:attributeGroup>)/gs , '$1$8'], /* Remove width attribute */
43
- [/(\s+<xs:element name="col".*?)(\s+<xs:element (name|ref)="caption"[^>]+>)/gs, '$2$1'], // place caption before col
44
-
45
- /* xfiField changes */
46
- [/(\s*)<xs:element\s+name="xfiField">(?!.*<xs:element name="tanValue" type="shorttext-inline-mixed"\/>).*?<\/xs:element>/gs , '$1<xs:element name="xfiField">$1 <xs:complexType>$1 <xs:sequence>$1 <xs:element name="tanValue" type="shorttext-inline-mixed"/>$1 </xs:sequence>$1 <xs:attributeGroup ref="ref-xfs-cell"/>$1 </xs:complexType>$1</xs:element>$1<xs:attributeGroup name="ref-xfs-cell">$1 <xs:attribute name="xfsid" type="xs:integer" use="optional"/>$1 <xs:attribute name="xfiname" type="xs:string" use="optional"/>$1 <xs:attribute name="xficell" type="xs:string" use="optional"/>$1 <xs:attribute name="xfisyncdate" type="xs:string" use="optional"/>$1</xs:attributeGroup>'],
47
- [/("inlineElementsForShortTextType"|"tdi-shorttext-inline-mixed")/g , '"shorttext-inline-mixed"'],
48
-
49
- /* @tanDocumentId / sectionLink changes */
50
- [/(\s*)<xs:attribute\s+name="tanSectionId"(\s+type="xs:\w+"|\s+use="\w+")+\/>(?!\s*<xs:attribute name="tanDocumentId" type="xs:integer" use="optional"\/>)/g , '$1<xs:attribute name="tanSectionId" type="xs:integer" use="required"/>$1<xs:attribute name="tanDocumentId" type="xs:integer" use="optional"/>'],
51
- [/^(\s*)(<xs:complexType\s+name="interDocumentSectionLink(Type)?"\s+mixed="true">.*?<\/xs:complexType>)/gms , '$1<!-- *!FIX: XSD-510-SEC-001 !* $2-->'],
52
- [/^(\s*)(<xs:element\s+(name|ref)="interDocumentSectionLink"(\s+type="\w+")?\s*\/>)/g , '$1<!-- *!FIX: XSD-510-SEC-002 !* $2-->'],
53
- [/(\s*)(externalSectionLink|intraDocumentSectionLink|internalLink)/g , '$1sectionLink'],
54
- [/(\s*)<xs:complexType\s+name="(sectionLink(Type)|section-link)"\s+mixed="true">(\s*<xs:group\s[^>]*>)(.*?)<\/xs:complexType>/gs , '$1<xs:complexType name="$2">\n <xs:sequence>\n <xs:element name="text">\n <xs:complexType mixed="true">$4</xs:complexType>\n </xs:element>\n </xs:sequence>\n $5</xs:complexType>'],
55
- [/(\s*)<xs:complexType\s+name="(sectionLink(Type)|section-link)"\s*>\s*<xs:simpleContent>\s*<xs:extension\s+base="xs:string">(.*?)<\/xs:extension>\s*<\/xs:simpleContent>(\s*<\/xs:complexType>)/gs , '$1<xs:complexType name="$2">\n <xs:sequence>\n <xs:element name="text">\n <xs:complexType mixed="true"/>\n </xs:element>\n </xs:sequence>\n $4</xs:complexType>'],
56
- [/(<xs:element\s+(name|ref)="sectionLink"[^>]*>)(\s*<xs:element\s+(name|ref)="sectionLink"[^>]*>)/gs , '$1'],
57
-
58
- /* chart changes */
59
- [/(\s*)<xs:attributeGroup name="chart(Attributes)?">((?!<xs:attributeGroup).*?)<\/xs:attributeGroup>/gs , '$1<!-- *!FIX: XSD-510-CHA-001 !* -->$1<xs:complexType name="chart">$1 <xs:sequence>$1 <xs:element name="title" type="shorttext-inline-mixed" minOccurs="0"/>\n<!-- <xs:element name="subtitle" type="shorttext-inline-mixed" minOccurs="0"/>-->\n<!-- <xs:element name="caption" type="shorttext-inline-mixed" minOccurs="0"/>-->\n<!-- <xs:element ref="yAxis" minOccurs="0" maxOccurs="2"/>-->$1 <xs:element name="table" type="table"/>$1 </xs:sequence>$1 <xs:attribute name="width" type="enum-width" use="optional"/>$1 <xs:attribute name="float" type="enum-float" use="optional"/>$3$1</xs:complexType>'],
60
- [/(\s*)<xs:attribute\s+name="chartType"/g , '$1<xs:attribute name="type"'],
61
- [/(\s*)<xs:element\s+name="table"\s+type="table(Type)?"\s*\/>(?!\s*<xs:element name="chart" type="chart"\/>)(?!([^<]|<[^\/]|<\/xs:[^c])*<xs:attribute\sname="(chartType|type)")/g , '$1<xs:element name="table" type="table"/>$1<xs:element name="chart" type="chart"/><!-- *!FIX: XSD-510-CHA-002 !* -->'],
62
- [/(\s*)<xs:attributeGroup\s+ref="chartAttributes"\s*\/>/g , ''],
63
- [/"floatValues"/g , '"enum-float"'],
64
-
65
- /* header changes */
66
- [/(\s*<xs:simpleType\s+name="(headerValues|enum-header-type)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="A"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h1" type="shorttext-inline-mixed"/>$5'],
67
- [/(\s*<xs:simpleType\s+name="(headerValues|enum-header-type)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="B"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h2" type="shorttext-inline-mixed"/>$5'],
68
- [/(\s*<xs:simpleType\s+name="(headerValues|enum-header-type)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="C"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h3" type="shorttext-inline-mixed"/>$5'],
69
- [/(\s*<xs:simpleType\s+name="(headerValues|enum-header-type)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="D"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h4" type="shorttext-inline-mixed"/>$5'],
70
- [/(\s*<xs:simpleType\s+name="(headerValues|enum-header-type)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="E"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h5" type="shorttext-inline-mixed"/>$5'],
71
- [/(\s*<xs:simpleType\s+name="(headerValues|enum-header-type)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="F"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h6" type="shorttext-inline-mixed"/>$5'],
72
- [/((\s*<xs:simpleType\s+name="enum-header-type">)[^<]*<xs:restriction[^<]*(<xs:enumeration\s+value="[^"]*"[^>]*>\s*)*)(<xs:enumeration value="auto")/gs , '$1<xs:element name="h0" type="shorttext-inline-mixed"/><!-- TDD-944 auto-header -->$4'],
73
- [/(\s*<xs:simpleType\s+name="(headerValues)">)(?!<xs:simpleType)(.*?)(<xs:enumeration\s+value="auto"\/>)(.*?<\/xs:simpleType>)/gs , '$1$3<xs:element name="h0" type="shorttext-inline-mixed"/><!-- TDD-944 auto-header -->$5'],
74
- [/(\s*)<xs:simpleType\s+name="(headerValues|enum-header-type)">\s*<xs:restriction\s+base="xs:string">(?!<xs:simpleType)(.*?)<\/xs:restriction>\s*<\/xs:simpleType>/gs , '$1<xs:group name="headings">$1 <xs:choice>$3</xs:choice>$1</xs:group>\n <!-- <xs:complexType name="headingsType" mixed="true">\n <!-/- *!FIX: XSD-510-HEA-002 !* -/-><xs:complexContent mixed="true">\n <xs:extension base="shorttext-inline-mixed">\n <xs:choice minOccurs="0">\n <xs:element name="footnote" type="footnoteType"/>\n <xs:element name="footnoteRef" type="footnoteRefType"/>\n </xs:choice>\n </xs:extension>\n </xs:complexContent>\n </xs:complexType>-->'],
75
- [/^(\s*)(<xs:complexType\s+name="header(Type)?"\s+mixed="true">(?!<xs:complexType).*?<\/xs:complexType>)/gms , '$1<!-- *!FIX: XSD-510-HEA-003 !* $2-->'],
76
- [/<xs:element\s+name="header"\s+type="header(Type)?"\/>/g , '<xs:group ref="headings"/>'],
77
- [/<xs:element\s+ref="header"\/>/g , '<xs:group ref="headings"/>'],
78
- [/^(\s*)(<xs:element\s+name="header">\s*<xs:complexType.*?<\/xs:complexType>\s*<\/xs:element>)/gms , '$1 <!-- *!FIX: XSD-510-HEA-004 !* $2 -->'],
79
-
80
- /* content-output changes */
81
- [/"content-output"/g , '"output"'],
82
-
83
- /* li/p changes */
84
- [/(\s*)<xs:complexType\s+name="li(Type)?"\s+mixed="true">(?!.*<xs:element ref="p"\/><!-- \*!FIX:).*?(\s*)(<xs:element.*?\/>\s*)<\/xs:choice>.*?<\/xs:complexType>/gs , '$1<xs:complexType name="li">$1 <xs:choice maxOccurs="unbounded">$1 <xs:element ref="p"/><!-- *!FIX: XSD-510-LIS-001 !* -->$1 $4$1 </xs:choice>$1</xs:complexType>'],
85
- [/(<xs:element\s+name="li"\s*>([^<]|<[^\/]|<\/[^x]|<\/xs:[^e]|<\/xs:e[^l])*)<xs:complexType mixed="true">/gs , '<xs:element name="li">\n <xs:complexType><!-- *!FIX: XSD-510-LIS-002 !* -->'],
86
- [/"liType"/g , '"li"'],
87
-
88
- /* figure changes */
89
- [/(\s*)(<xs:complexType name="text(Type)?">.*?)(<xs:element\s+name="(inTextImage|image)"\s+type="(inTextImage|image)(Type)?"\s*\/>)(.*?<\/xs:choice>\s*<\/xs:complexType>)/gs , '$1$2<xs:element name="figure" type="figure"/>$8'],
90
- [/(\s*)(<xs:complexType name="introduction(Type)?">.*?)(<xs:element\s+name="(inTextImage|image)"\s+type="(inTextImage|image)(Type|IdType)?"([^\/\>]*)\/>)(.*?<\/xs:(choice|sequence)>\s*<\/xs:complexType>)/gs , '$1$2<xs:element name="figure" type="figure" $8/>$9'],
91
- [/(\s*)(<xs:complexType name="highlightblock(Type)?">.*?)(<xs:element\s+name="(inTextImage|image)"\s+type="(inTextImage|image)(Type|IdType)?"([^\/\>]*)\/>)(.*?<\/xs:(choice|sequence)>\s*<\/xs:complexType>)/gs , '$1$2<xs:element name="figure" type="figure" $8/>$9'],
92
- [/(\s*)<xs:complexType\s+name="(inTextImage|image)(Type)?">(\s*<xs:sequence[^>]*>.*?)(<xs:element\s+name="caption".*?>.*?<\/xs:sequence>.*?)(<xs:attribute\s+name="tanImageId" type="xs:integer"\s+use="required"\/>\s*|<xs:attributeGroup ref="ref-image"\/>\s*)(.*?<\/xs:complexType>)/gs , '$1<xs:complexType name="figure">$4<xs:element name="image">\n <xs:complexType>\n <xs:attributeGroup ref="ref-image"/>\n </xs:complexType>\n </xs:element>\n $5$7'],
93
- [/(\s*)<xs:complexType\s+name="(inTextImage|image)(Type)?">(\s*<xs:sequence>.*?)(<\/xs:sequence>.*?)(<xs:attribute\s+name="tanImageId" type="xs:integer"\s+use="required"\/>\s*)(.*?<\/xs:complexType>)/gs , '$1<xs:complexType name="figure">$4<xs:element name="image">$1 <xs:complexType>$1 <xs:attributeGroup ref="ref-image"/>$1 </xs:complexType>$1 </xs:element>$1 $5$7'],
94
- [/^(\s*)(<xs:complexType\s+name="full[pP]ageImage(Type)?">)(?!\s*<xs:sequence)(.*?)<xs:attribute name="tanImageId" type="xs:integer" use="required"\/>(.*?<\/xs:complexType>)/gms , '$1$2\n <xs:sequence>\n <xs:element name="image">\n <xs:complexType>\n <xs:attributeGroup ref="ref-image"/>\n </xs:complexType>\n </xs:element>\n </xs:sequence>$4$5'],
95
- [/"tdi-image"/g , '"ref-image"'],
96
-
97
- /* hyperlink changes */
98
- [/^(\s*)(?!<!--)(<xs:element\s+name="(link|externalLink)">.*?<\/xs:element>)/gms , '$1<!-- *!FIX: XSD-510-HYP-001 !* $2 -->'],
99
- [/^(\s*)(<xs:element\s+ref="link"\s*\/>)/gm , '$1<!-- *!FIX: XSD-510-HYP-002 !* $2 -->'],
100
- [/"emailLink"/g , '"hyperlink"'],
101
- [/xs:element\s+name="(link|externalLink)"/g , 'xs:element name="hyperlink"'],
102
-
103
- /* change attribute use="required" to use="optional" */
104
- [/(<xs:attribute\s+(name|ref)\s*=\s*"(?!(tanFileId|tanImageId|tanSectionId|tanDocumentId|id|address))[^"]*"[^>]*)use\s*=\s*"required"([^>]*\/?>)/g , '$1use="optional"$4'], // required > optional for all except listed attribtues
105
- [/(<xs:attribute\s(?![^>]*default\s*=\s*")(?![^>]*type\s*=\s*"xs:)[^>]*use\s*=\s*"optional")([^>]*\/?>)/g , '$1 default="*!FIX: XSD-510-ATT-001 !*"$2'], // optional attributes; no default type (xs:); and no default value
106
- [/(<xs:attribute\s+ref="[^"]*"(?![^>]*default\s*=\s*")[^>]*use\s*=\s*"optional")([^>]*\/?>)/g , '$1 default="*!FIX: XSD-510-ATT-002 !*"$2'], // optional attributes; no default type (xs:); and no default value
107
- [/(<xs:attribute\s(?![^>]*ref=")(?![^>]*type\s*=\s*")[^>]*)([^>]*\/>)/g , '$1 type="*!FIX: XSD-510-ATT-003 !*"$2'], // self closing attributes without a type
108
- [/default="\*!FIX: XSD-510-ATT-001 !\*" type="tdi-double-min-0"/g , 'default="0" type="tdi-double-min-0"'],
109
- [/default="\*!FIX: XSD-510-ATT-001 !\*" type="tdi-double-min-1"/g , 'default="10" type="tdi-double-min-1"'],
110
- [/(default=")\*!FIX: XSD-510-ATT-001 !\*("[^>]*>\s*(<!--[^>]*>\s*)*<xs:simpleType>\s*(<!--[^>]*>\s*)*<xs:restriction[^>]*>\s*(<!--[^>]*>\s*)*<xs:enumeration\s+value="([^"]*)")/gs , '$1$6$2'],
111
-
112
- /* remove task */
113
- [/\s*<xs:element\s+name="task".*?<\/xs:element>/gs, ''],
114
- [/\s*<xs:element\s+ref="task".*?\>/g, ''],
115
-
116
- /* highlight > mark */
117
- [/name="highlight"/g, 'name="mark"'],
118
- [/"mark\s*\|\s*mark"/g, '"mark"'],
119
-
120
- /* downloadLink > fileLink */
121
- [/"downloadLink"/g, '"fileLink"'],
122
-
123
- /* schema xsd (for example references to ../shared/copus/xsd) */
124
- [/xopus\/xsd/g , 'schema/xsd'],
125
-
126
- /* general changes */
127
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
128
- ]
129
- },{
130
- files : ['config/**/pdf*/**/*.xsl'],
131
- fromtoPairs : [
132
- /* tbody & table/col changes */
133
- [/(\s*)(<xsl:include\s+href="pdf_table(s)?.xsl"\/>)(?!\s*<xsl:include\s+href="functions\/table-columns.xsl"\/>)/gs , '$1$2$1<xsl:include href="functions/table-columns.xsl"/>'],
134
- [/<xsl:call-template\s+name="set-table-columns"\/>/g, '<xsl:apply-templates select="." mode="set-table-columns"/>'],
135
- [/(\s*)<xsl:template\s+name="set-table-columns">.*?<\/xsl:template>/gs, ''],
136
- [/(\s*)<xsl:template\s+name="create-table-columns">.*?<\/xsl:template>/gs, ''],
137
- [/(\s*)<xsl:template\s+name="calcWidth">.*?<\/xsl:template>/gs, ''],
138
- [/(\s*)<xsl:template\s+match="[^"]*"\s+mode="comp".*?<\/xsl:template>/gs, ''],
139
- [/(<xsl:for-each-group\s*select=")tbody\/\*/g , '$1*[self::tr]'],
140
- [/tbody\//g , ''],
141
- [/<xsl:apply-templates\s+select="tbody"\s*(\/)?>/g , '<xsl:apply-templates select="." mode="table-body"$1>'],
142
- [/<xsl:template\s+match="tbody"/g , '<xsl:template match="table" mode="table-body"'],
143
- [/\[preceding-sibling::tbody\]/g , '[not(self::col or self::tr)][preceding-sibling::tr]'],
144
- [/tr\[\s*position\(\)/g , 'tr[count(preceding-sibling::tr)+1'],
145
- [/<xsl:element\s+name="tbody"\s*>(?!<xsl:element)(.*?)<\/xsl:element>/gs , '$1'],
146
- [/\[self::tbody\s+or\s+self::thead\]\/tr/g , '[self::tr]'],
147
- [/(<xsl:variable\s+name="table-column-number"\s+select=")tfn:get-column-number[^"]*"/g , '$1@startCol"'], // @startcol added in pre-proces
148
- [/(<xsl:variable\s+name="table-column-count"\s+select=")count\(\$table-configuration[^"]*"/g , '$1ancestor-or-self::table[1]/count(col)"'],
149
-
150
- /* xfiField changes */
151
- [/(\s*)(<xsl:template\s+match="xfiField">(?!.*<xsl:template match="xfiField\/tanValue").*?<\/xsl:template>)/gs , '$1$2$1<xsl:template match="xfiField/tanValue">\n <xsl:apply-templates/>\n </xsl:template>'],
152
-
153
- /* @tanDocumentId / sectionLink changes */
154
- [/(\s*)(<xsl:include\s+href="pdf_elements(s)?.xsl"\/>)(?!\s*<xsl:include\s+href="elements\/link.xsl"\/>)/gs , '$1$2$1<xsl:include href="elements/link.xsl"/>'], // use TDI link code for sectionlinks and hyperlinks; other code changes needed for custom overrules code
155
- [/(\s*)(<xsl:when\s+test="\$target-node">(?!.*<xsl:when\s+test="@tanDocumentId\s*!=\s*\$documentId"\s*>).*?<\/fo:basic-link>\s*<\/xsl:when>)/gs , '$1$2$1<xsl:when test="@tanDocumentId != $documentId"> <!-- external reference -->$1 <xsl:next-match/>$1</xsl:when>'],
156
- [/<xsl:template\s+match="(sectionLink\s*\|\s*)?intraDocumentSectionLink/g , '<xsl:template match="sectionLink'],
157
- [/^(\s*)(<xsl:template\s+match="(externalSectionLink\s*\|\s*)?interDocumentSectionLink.*?<\/xsl:template>)/gms , '$1<!-- *!FIX: PDF-510-SEC-001 !* $2 -->'],
158
-
159
- /* chart changes */
160
- [/table\[\s*not(\s*@chartType\s*)\s*\]/g , 'table'],
161
- [/table\[\s*@chartType\s*\]/g , 'chart'],
162
- [/\$highcharts.enabled\s+and\s+/g , ''],
163
- [/\\s+and\s+$highcharts.enabled/g , ''],
164
- [/<xsl:param\s+name="highcharts.enabled"[^>]*\/>/g , ''],
165
- [/<xsl:apply-templates\s+select="."\s+mode="highcharts"\/>/g , ''],
166
- [/<xsl:when\s+test="(\s*|\s*@chartType\s*)"\s*>\s*<\/xsl:when>/gs , ''],
167
- [/(<xsl:variable\s+name="position"\s*as="xs:integer"\s*>\s*)(<xsl:number count="(chart|table)\[@chartType\]"[^>]*level="any"\/>)(\s*<\/xsl:variable>)/gs , '$1<xsl:choose>\n <xsl:when test="@tpp:xmlPosition castable as xs:integer">\n <xsl:value-of select="xs:integer(@tpp:xmlPosition)"/>\n </xsl:when>\n <xsl:otherwise>\n <xsl:number count="chart" from="node[tfn:is-document-tree-node(.)]" level="any"/>\n </xsl:otherwise>\n</xsl:choose>$4'],
168
- [/\s*mode="highcharts"/g , ''],
169
- /* In old configs the table[@chartType] was not pre-processed to a chart element (or done in PDF-pre-proces step);
170
- * therefore the PDF-pre-proces settings of the table element were used for the chart
171
- * In these cases the table|table[@chartType] PDF-pre-proces should be duplicated and applied for the chart-element */
172
- [/(<xsl:template\s+match="chart"\s+priority="120">(?!.*<!-- \*!FIX: PDF-510-CHA-001).*?<\/xsl:template>)/gs , '$1\n<!-- *!FIX: PDF-510-CHA-001 !* -->'],
173
-
174
- /* header changes */
175
- [/([^\$])header\[\s*@type\s*=\s*'auto'\s*\]/g , '$1h0'],
176
- [/([^\$])header\[\s*@type\s*=\s*'A'\s*\]/g , '$1h1'],
177
- [/([^\$])header\[\s*@type\s*=\s*'B'\s*\]/g , '$1h2'],
178
- [/([^\$])header\[\s*@type\s*=\s*'C'\s*\]/g , '$1h3'],
179
- [/([^\$])header\[\s*@type\s*=\s*'D'\s*\]/g , '$1h4'],
180
- [/([^\$])header\[\s*@type\s*=\s*'E'\s*\]/g , '$1h5'],
181
- [/([^\$])header\[\s*@type\s*=\s*'F'\s*\]/g , '$1h6'],
182
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'auto'|\[\s*@type\s*=\s*'auto'\s*\])/g , '$1[self::h0]'],
183
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'A'|\[\s*@type\s*=\s*'A'\s*\])/g , '$1[self::h1]'],
184
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'B'|\[\s*@type\s*=\s*'B'\s*\])/g , '$1[self::h2]'],
185
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'C'|\[\s*@type\s*=\s*'C'\s*\])/g , '$1[self::h3]'],
186
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'D'|\[\s*@type\s*=\s*'D'\s*\])/g , '$1[self::h4]'],
187
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'E'|\[\s*@type\s*=\s*'E'\s*\])/g , '$1[self::h5]'],
188
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'F'|\[\s*@type\s*=\s*'F'\s*\])/g , '$1[self::h6]'],
189
- [/(<xsl:template\s+match=")header(\[\s*@type|\/@type\[\s*\.)\s*=\s*'auto'\s*\]([^"\w][^"]*)?(")/g , '$1h0$3"'],
190
- [/(<xsl:template\s+match=")header([^"\w][^"]*)?"/g , '$1h0$2|h1$2|h2$2|h3$2|h4$2|h5$2|h6$2"'],
191
- [/(section\/text\/)header("\s+mode="baseline-grid")/g , '$1h0|$1h1|$1h2|$1h3|$1h4|$1h5|$1h6|$1h7|$1h8$2'],
192
- [/((match|select)=(?!"(\$header-settings|\$object-settings))("[^"]*[^\w-_\."@\$]|")header([^\w-_\."][^"]*"|")[^>]*>)(?!\s+<!-\\?-\s+\*!FIX)/g , '$1 <!-- *!FIX: PDF-510-HEA-001 !* -->'],
193
- [/(\$header(-element)?(\/@type|\[\s*@type)(?!.*<!-- \*!FIX:).*$)/gm , '$1 <!-- *!FIX: PDF-510-HEA-001 !* -->'],
194
-
195
- /* content-output changes */
196
- [/([^\w-\.])content-output([^\w-\.])/g , '$1output$2'],
197
-
198
- /* li/p changes */
199
- /* in most cases no changes required due to apply-templates */
200
-
201
- /* figure changes */
202
- [/(<xsl:template\s+match="(\s*\w*\s*\|\s*)*)(image)((\s*\|\s*\w*\s*)*"[^>]*>)/g , '$1image[not(parent::figure)] | figure$4'],
203
- [/(<xsl:apply-templates\s+select=")\.("\s+mode="render-image"\s*>)/g , '$1(.[tanImageSetInfo],image[tanImageSetInfo])[1]$2'],
204
- [/(tfn:get-image-((sub)?title|caption)-position\()\.(\))/g , '$1(parent::figure,.)[1]$4'],
205
- [/(<xsl:apply-templates select=")(title|subtitle|caption)([^"]*"\s+mode="image"\s*(\/)?>)/g , '$1($2,../$2)[1]$3'],
206
- [/(<xsl:variable name="image-scale-method" select=")if \(@scale\) then @scale (else 'scale-to-fit'")/g , '$1if ((@scale,../@scale)[1]) then (@scale,../@scale)[1] $2'],
207
- [/<xsl:if test="@area='ancestor-element' and @percentage">/g , `<xsl:if test="(@area,../@area)[1]='ancestor-element' and (@percentage,../@percentage)[1]">`],
208
- [/(match="([^"]*\/)?fullpageImage[^\/]([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t]|<\/xsl:te[^m])*?[^\/])(tanImageSetInfo)/gs , '$1image/$4'],
209
- [/(\s)(image|inTextImage)(\[not\(ancestor::table\)\]|\/@float)/gs , '$1figure$3'],
210
- [/(\stext\/)(image|inTextImage)/gs , '$1figure'],
211
-
212
- /* hyperlink changes */
213
- [/<xsl:template\s+match="link"\s*>.*?<\/xsl:template>/gs, ''], // remove; correct code is copied with elements/link.xslt
214
- [/<xsl:template\s+match="link"\s+mode="get-basic-link"\s*>.*?<\/xsl:template>/gs, ''], // remove; correct code is copied with elements/link.xslt
215
- [/<xsl:template\s+match="emailLink".*?<\/xsl:template>/gs, ''], // remove; correct code is copied with elements/link.xslt
216
-
217
- /* highlight > mark */
218
- [/(?!\s+class\s*=)(\s+\S+[^\w-_\.'\?@])highlight([^\w-_\.'])/g, '$1mark$2'],
219
- [/"mark\s*\|\s*mark"/g, '"mark"'],
220
-
221
- /* downloadLink > fileLink */
222
- [/([^\w-_\.'])downloadLink([^\w-_\.'])/g, '$1fileLink$2'],
223
-
224
- /* track changes & comments */
225
- [/<xsl:include\s+href="(pdf)?_trackchanges\.xsl"\/>/g , '<xsl:include href="../../../../tdi/pdf/pdf_base/elements/trackchanges.xsl"/>'],
226
- [/(<xsl:include\s+href="(\.\.\/)+tdi\/pdf\/pdf_base\/elements\/trackchanges\.xsl"\/>)(?!\s*<xsl:include href="(\.\.\/)+tdi\/pdf\/pdf_base\/elements\/_comments.xsl)/gs , '$1\n <xsl:include href="../../../../tdi/pdf/pdf_base/elements/_comments.xsl"/>'],
227
- [/(<xsl:include href="(pdf_)?functions\.xsl"\/>)(?!.*<xsl:include\s+href="(\.\.\/)+tdi\/pdf\/pdf_base\/functions\/trackchanges\.xsl)/gs , '$1\n <xsl:include href="../../../../tdi/pdf/pdf_base/functions/trackchanges.xsl"/>'],
228
- [/(<xsl:include href="(pdf_)?functions\.xsl"\/>)(?!.*<xsl:include\s+href="(\.\.\/)+tdi\/_util\.xsl)/gs , '$1\n <xsl:include href="../../../../tdi/_util.xsl"/>'],
229
- [/^(\s*<xsl:when\s+test="self::trackchanges-overview.*?<\/xsl:when>)/gms , '<!-- *!FIX: PDF-510-TC-001 !* $1 -->'],
230
- [/<xsl:include\s+href="trackchanges\.xsl"\/>/g , ''],
231
-
232
- /* parameters changes / additions */
233
- [/^((?!.*<xsl:(variable|param)\s+name="documentId").*<xsl:variable name="parameters"[^>]*\/>)/gs , '$1\n <xsl:variable name="documentId" as="xs:string?" select="/document/@id"/>'],
234
- [/^((?!.*<xsl:(variable|param)\s+name="documentVersionId").*<xsl:variable name="parameters"[^>]*\/>)/gs , '$1\n <xsl:variable name="documentVersionId" as="xs:string?" select="/document/version/@id"/>'],
235
- [/^((?!.*<xsl:(variable|param)\s+name="document.language").*<xsl:variable name="parameters"[^>]*\/>)/gs , '$1\n <xsl:variable name="document.language" as="xs:string" select="/document/@locale"/>'],
236
- [/^((?!.*<xsl:(variable|param)\s+name="xfiMarking.enabled").*<xsl:variable name="parameters"[^>]*\/>)/gs , `$1\n <xsl:variable name="xfiMarking.enabled" as="xs:boolean" select="$xfiMarking='true'"/>`],
237
- [/^((?!.*<xsl:(variable|param)\s+name="xfiMarking").*<xsl:variable name="parameters"[^>]*\/>)/gs , `$1\n <xsl:param name="xfiMarking" as="xs:string" select="'false'"/>`],
238
- [/^((?!.*<xsl:(variable|param)\s+name="comments.enabled").*<xsl:variable name="parameters"[^>]*\/>)/gs , `$1\n <xsl:variable name="comments.enabled" as="xs:boolean" select="$comments='true'"/>`],
239
- [/^((?!.*<xsl:(variable|param)\s+name="comments").*<xsl:variable name="parameters"[^>]*\/>)/gs , `$1\n <xsl:param name="comments" as="xs:string" select="'false'"/>`],
240
- [/^((?!.*<xsl:(variable|param)\s+name="dateTime-format-picture").*<xsl:variable name="parameters"[^>]*\/>)/gs , `$1\n <xsl:variable name="dateTime-format-picture" as="xs:string" select="'[D01]/[M01]/[Y0001] [h1]:[m01]'"/>`],
241
- [/^((?!.*<xsl:(variable|param)\s+name="trackchange-add-color").*<xsl:variable name="parameters"[^>]*\/>)/gs , `$1\n <xsl:variable name="trackchange-add-color" as="xs:string*" select="tfn:get-parameter('trackchange-add-color','green')"/>\n <xsl:variable name="trackchange-remove-color" as="xs:string*" select="tfn:get-parameter('trackchange-remove-color','red')"/>`],
242
- [/^((?!.*<xsl:include\s+href="(\.\.\/)+tdi\/pdf\/pdf_base\/_parameters.xsl").*<xsl:variable name="parameters"[^>]*\/>)/gs , '$1\n <xsl:include href="../../../../tdi/pdf/pdf_base/_parameters.xsl"/>'],
243
- [/^((?!.*<xsl:function\s+name="tfn:get-parameter").*<xsl:variable name="parameters"[^>]*\/>)/gs , '$1\n <xsl:function name="tfn:get-parameter" as="xs:string?">\n <xsl:param name="name" as="xs:string"/>\n <xsl:param name="default" as="xs:string?"/>\n <xsl:value-of select="if ($parameters/param[@name=$name]) then $parameters/param[@name=$name]/@value else $default"/>\n </xsl:function>'],
244
- [/<xsl:variable\s+name="document">/g , '<xsl:variable name="document-xml">'],
245
- [/\$document([^\w-\.])/g , '$document-xml$1'],
246
-
247
- [/(<xsl:template name="output-xml">(?!.*<xsl:function\s+name="tfn:is-document-tree-node").*?<\/xsl:template>)/gs , '$1\n <xsl:function name="tfn:is-document-tree-node" as="xs:boolean">\n <xsl:param name="node" as="element(node)"/>\n <xsl:sequence select="exists($node[not(ancestor::*[not(self::document|self::node)])])"/> \n </xsl:function>'],
248
- [/(^(?!.*<xsl:function name="tfn:static-string".*<xsl:function name="tfn:static-string").*<xsl:function\s+name="tfn:static-string".*?<\/xsl:function>)/gs , '$1\n<xsl:function name="tfn:static-string" as="xs:string">\n <xsl:param name="id"/>\n <xsl:param name="locale"/>\n <!-- migration; added 2-argument function to keep code working\n for actual working locale static strings see TDI\n -->\n <xsl:sequence select="tfn:static-string($id)"/>\n </xsl:function>'],
249
-
250
- /* general changes */
251
- [/<xsl:choose>(?!\s*<xsl:when)\s*<xsl:otherwise>(.*?)<\/xsl:otherwise>\s*<\/xsl:choose>/gs , '$1'], /* unwrap xsl:otherwise content */
252
- [/<xsl:choose>\s*<\/xsl:choose>/gs , ''], /* remove empty xsl:choose */
253
- [/<xsl:when\s+test="\s*"\s*((\/>)|(>\s*<\/xsl:when>))/gs , ''], /* remove empty xsl:when without a test condition */
254
- [/<xsl:when\s+test="[^"]*"\s*((\/>)|(>\s*<\/xsl:when>))(?!\s*(<!--[^>]*>)*\s*<xsl:(when|otherwise))/gs , ''], /* remove empty xsl:when when no other xsl:when or xsl:otherwise follows */
255
- [/<xsl:otherwise>\s*<\/xsl:otherwise>/gs , ''], /* remove empty xsl:otherwise */
256
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
257
- ]
258
- },{
259
- files : ['config/**/export/**/*.xsl'],
260
- fromtoPairs : [
261
- /* tbody & table/col changes */
262
- [/tbody\//g , ''],
263
- [/\[preceding-sibling::tbody\]/g , '[not(self::col or self::tr)][preceding-sibling::tr]'],
264
- [/tr\[\s*position\(\)/g , 'tr[count(preceding-sibling::tr)+1'],
265
-
266
- /* @tanDocumentId / sectionLink changes */
267
- [/(externalSectionLink|(inter|intra)DocumentSectionLink)/g , 'sectionLink'],
268
- [/"sectionLink\s*\|\s*sectionLink"/g , '"sectionLink"'],
269
- [/sectionLink\/text\(\)/g , 'sectionLink/text/text()'],
270
-
271
- /* chart changes */
272
- [/table\[\s*not(\s*@chartType\s*)\s*\]/g , 'table'],
273
- [/table\[\s*@chartType\s*\]/g , 'chart'],
274
- [/@chartType/g , '@type *!FIX: EXP-510-CHA-001 !*'],
275
-
276
- /* header changes */
277
- [/([^\$])header\[\s*@type\s*=\s*'auto'\s*\]/g , '$1h0'],
278
- [/([^\$])header\[\s*@type\s*=\s*'A'\s*\]/g , '$1h1'],
279
- [/([^\$])header\[\s*@type\s*=\s*'B'\s*\]/g , '$1h2'],
280
- [/([^\$])header\[\s*@type\s*=\s*'C'\s*\]/g , '$1h3'],
281
- [/([^\$])header\[\s*@type\s*=\s*'D'\s*\]/g , '$1h4'],
282
- [/([^\$])header\[\s*@type\s*=\s*'E'\s*\]/g , '$1h5'],
283
- [/([^\$])header\[\s*@type\s*=\s*'F'\s*\]/g , '$1h6'],
284
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'auto'|\[\s*@type\s*=\s*'auto'\s*\])/g , '$1[self::h0]'],
285
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'A'|\[\s*@type\s*=\s*'A'\s*\])/g , '$1[self::h1]'],
286
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'B'|\[\s*@type\s*=\s*'B'\s*\])/g , '$1[self::h2]'],
287
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'C'|\[\s*@type\s*=\s*'C'\s*\])/g , '$1[self::h3]'],
288
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'D'|\[\s*@type\s*=\s*'D'\s*\])/g , '$1[self::h4]'],
289
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'E'|\[\s*@type\s*=\s*'E'\s*\])/g , '$1[self::h5]'],
290
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'F'|\[\s*@type\s*=\s*'F'\s*\])/g , '$1[self::h6]'],
291
- [/((match|select)=("[^"]*[^\w-_\.@"]|")header([^\w-_\."][^"]*"|")[^>]*>)(?!\s+<!-\\?-\s+\*!FIX)/g , '$1 <!-- *!FIX: EXP-510-HEA-001 !* -->'],
292
- [/(\$header(-element)?(\/@type|\[\s*@type)(?!.*<!-- \*!FIX:).*$)/gm , '$1 <!-- *!FIX: PDF-510-HEA-001 !* -->'],
293
-
294
- /* content-output changes */
295
- [/([^\w-\.])content-output([^\w-\.])/g , '$1output$2'],
296
-
297
- /* li/p changes */
298
- /* in most cases no changes required due to apply-templates */
299
-
300
- /* figure changes */
301
- [/(introduction|text)\/(image|inTextImage)([^\w-\.])/g , '$1/figure$3'],
302
-
303
- /* hyperlink changes */
304
- [/([^\w-\.@\$])(emailLink)(?!\s*(href|rel))([^\w-\.])/g , `$1hyperlink[starts-with(@address,'mailto:')]$4`],
305
- [/(<xsl:template\s+match="([^"]*\/)?hyperlink([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t])*)(@url|@URL)/g , `$1@address`],
306
- [/([^<][^\w-\.@\$])(link|externalLink|emailLink)(?!\s*(href|rel))([^\w-\.])(?![^<]*-->)/g , '$1hyperlink$4'],
307
-
308
- /* highlight > mark */
309
- [/(?!\s+class\s*=)(\s+\S+[^\w-_\.'\?@])highlight([^\w-_\.'])/g, '$1mark$2'],
310
- [/"mark\s*\|\s*mark"/g, '"mark"'],
311
-
312
- /* downloadLink > fileLink */
313
- [/([^\w-_\.'])downloadLink([^\w-_\.'])/g, '$1fileLink$2'],
314
-
315
- /* general changes */
316
- [/<xsl:choose>(?!\s*<xsl:when)\s*<xsl:otherwise>(.*?)<\/xsl:otherwise>\s*<\/xsl:choose>/gs , '$1'], /* unwrap xsl:otherwise content */
317
- [/<xsl:choose>\s*<\/xsl:choose>/gs , ''], /* remove empty xsl:choose */
318
- [/<xsl:when\s+test="\s*"\s*((\/>)|(>\s*<\/xsl:when>))/gs , ''], /* remove empty xsl:when without a test condition */
319
- [/<xsl:when\s+test="[^"]*"\s*((\/>)|(>\s*<\/xsl:when>))(?!\s*(<!--[^>]*>)*\s*<xsl:(when|otherwise))/gs , ''], /* remove empty xsl:when when no other xsl:when or xsl:otherwise follows */
320
- [/<xsl:otherwise>\s*<\/xsl:otherwise>/gs , ''], /* remove empty xsl:otherwise */
321
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
322
-
323
- ]
324
- },{
325
- files : ['**/hce/**/*.xml'],
326
- fromtoPairs : [
327
- /* in documenttype chart config change p_extract_xpath */
328
- [/table\[@chartType\]/g , 'chart']
329
- ]
330
- },{
331
- files : ['**/hce/**/*.xsl'],
332
- fromtoPairs : [
333
- [/chart\/tbody/g , 'chart/table'],
334
- [/tbody\//g , ''],
335
- // [/([^\w-\.])table([^\w-\.])/g , '$1chart$2'], not all tables can be changes into chart...
336
- [/::table([^\w-\.])/g , '::chart$1'],
337
- [/([^\w-\.])table\/@/g , '$1chart/@'],
338
- [/@chartType/g , '@type'],
339
- [/tr\[\s*position\(\)/g , 'tr[count(preceding-sibling::tr)+1'],
340
- [/chart\/tr/g , 'chart//tr'],
341
- [/(match="\/"[^\/]([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t]|<\/xsl:te[^m])*?[^\/])(\*\/table)/gs , '$1*/chart'],
342
- [/(<xsl:template\s+match=")table("\s+mode="hc-options"\s*>)/g , '$1chart$2'],
343
- ]
344
- },{
345
- files : ['**/hce/**/*.xml'],
346
- fromtoPairs : [
347
- [/^(?!.*\*!FIX:)(.*p_extract_xpath.*)$/gs , '<!-- *!FIX: HCE-510-CHA-001 !* -->\n$1']
348
- ]
349
- },{
350
- files : ['config/**/import/paster_table.xsl'],
351
- fromtoPairs : [
352
- [/<xsl:include(\s*href=".*tdi\/import\/)/g , '<xsl:import$1'],
353
- [/(<xsl:stylesheet[^>]*>\s*(<xsl:output[^>]*>)?\s*(?!.*<xsl:import\s*href=".*tdi\/import\/_paster_util\.xsl"))/gs , '$1<xsl:import href="../../../tdi/import/_paster_util.xsl"/> <!-- *!FIX: IMP-510-TAB-001 !* -->\n'],
354
- [/(<xsl:stylesheet[^>]*>\s*(<xsl:output[^>]*>)?\s*(?!.*<xsl:import\s*href=".*tdi\/import\/_paster_compare\.xsl"))/gs , '$1<xsl:import href="../../../tdi/import/_paster_compare.xsl"/><!-- *!FIX: IMP-510-TAB-002 !* -->\n'],
355
- [/(<xsl:stylesheet[^>]*>\s*(<xsl:output[^>]*>)?\s*(?!.*<xsl:import\s*href=".*tdi\/import\/_paster_styling\.xsl"))/gs , '$1<xsl:import href="../../../tdi/import/_paster_styling.xsl"/><!-- *!FIX: IMP-510-TAB-003 !* -->\n'],
356
- [/(<xsl:stylesheet[^>]*>\s*(<xsl:output[^>]*>)?\s*(?!.*<xsl:import\s*href=".*tdi\/import\/_paster_table\.xsl"))/gs , '$1<xsl:import href="../../../tdi/import/_paster_table.xsl"/> <!-- *!FIX: IMP-510-TAB-004 !* -->\n'],
357
- [/(<xsl:include[^>]*>(?!\s*<!-\\?- \*!FIX))/g , '$1 <!-- *!FIX: IMP-510-TAB-005 !* -->'],
358
-
359
- /* general changes */
360
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
361
- ]
362
- },{
363
- files : ['config/**/import/**/*.xsl'],
364
- fromtoPairs : [
365
- /* general */
366
- [/^(\s*)(<xsl:template\s+match="currentxml\/\*">.*?<\/xsl:template>)/gms , '$1<!-- *!FIX: IMP-510-TAB-006 !* $2 -->'],
367
- [/^(\s*)(<xsl:template\s+match="cell"\s+mode="apply-default-width">.*?<\/xsl:template>)/gms , '$1<!-- *!FIX: IMP-510-TAB-007 !* $2 -->'],
368
- [/<xsl:variable\s+name="table.numeric"[^>]*>/g, '<xsl:variable name="cols.width.fixed" as="xs:boolean" select="exists(//cell/v)"/><!-- numeric table, so use $col.width -->'],
369
- [/\$table.numeric/g , '$cols.width.fixed'],
370
-
371
- /* tbody & table/col changes */
372
- [/tbody\//g , ''],
373
- [/tr\[\s*position\(\)/g , 'tr[count(preceding-sibling::tr)+1'],
374
- [/<xsl:variable\s*name="cols.width.applied"[^>]*>/g , ''],
375
-
376
- /* @tanDocumentId / sectionLink changes */
377
- [/(<xsl:key\s+name="current_sectionlinks"\s+match="([^"]*)")[^>]*>/g , `$1 use="normalize-space(string-join(.//text(),''))"/>`],
378
- [/sectionLink(\/text)?\/text()\/normalize-space()/g , 'sectionLink/normalize-space()'],
379
- [/(externalSectionLink|(inter|intra)DocumentSectionLink)/g , 'sectionLink'],
380
- [/"sectionLink\s*\|\s*sectionLink"/g , '"sectionLink"'],
381
- [/sectionLink\/text\(\)\/normalize-space\(\)/g , 'sectionLink/normalize-space()'],
382
- [/sectionLink\/text\(\)/g , 'sectionLink/text/text()'],
383
-
384
- /* header changes */
385
- [/([^\$])header\[\s*@type\s*=\s*'auto'\s*\]/g , '$1h0'],
386
- [/([^\$])header\[\s*@type\s*=\s*'A'\s*\]/g , '$1h1'],
387
- [/([^\$])header\[\s*@type\s*=\s*'B'\s*\]/g , '$1h2'],
388
- [/([^\$])header\[\s*@type\s*=\s*'C'\s*\]/g , '$1h3'],
389
- [/([^\$])header\[\s*@type\s*=\s*'D'\s*\]/g , '$1h4'],
390
- [/([^\$])header\[\s*@type\s*=\s*'E'\s*\]/g , '$1h5'],
391
- [/([^\$])header\[\s*@type\s*=\s*'F'\s*\]/g , '$1h6'],
392
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'auto'|\[\s*@type\s*=\s*'auto'\s*\])/g , '$1[self::h0]'],
393
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'A'|\[\s*@type\s*=\s*'A'\s*\])/g , '$1[self::h1]'],
394
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'B'|\[\s*@type\s*=\s*'B'\s*\])/g , '$1[self::h2]'],
395
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'C'|\[\s*@type\s*=\s*'C'\s*\])/g , '$1[self::h3]'],
396
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'D'|\[\s*@type\s*=\s*'D'\s*\])/g , '$1[self::h4]'],
397
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'E'|\[\s*@type\s*=\s*'E'\s*\])/g , '$1[self::h5]'],
398
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'F'|\[\s*@type\s*=\s*'F'\s*\])/g , '$1[self::h6]'],
399
- [/\$element\s*!=\s*'header'/g , `not(matches($element,'h\\d'))`],
400
-
401
- /* li/p changes */
402
- // handled in TDI; if not; it should be removed from customer paster
403
-
404
- /* hyperlink changes */
405
- [/<link\s+url="([^"]*)">(.*?)<\/link>/gs , '<hyperlink address="$1">$2<\/hyperlink>'],
406
-
407
- /* track changes */
408
- // handled in TDI; if not; it should be removed from customer paster
409
-
410
- /* general changes */
411
- [/<xsl:choose>(?!\s*<xsl:when)\s*<xsl:otherwise>(.*?)<\/xsl:otherwise>\s*<\/xsl:choose>/gs , '$1'], /* unwrap xsl:otherwise content */
412
- [/<xsl:choose>\s*<\/xsl:choose>/gs , ''], /* remove empty xsl:choose */
413
- [/<xsl:when\s+test="\s*"\s*((\/>)|(>\s*<\/xsl:when>))/gs , ''], /* remove empty xsl:when without a test condition */
414
- [/<xsl:when\s+test="[^"]*"\s*((\/>)|(>\s*<\/xsl:when>))(?!\s*(<!--[^>]*>)*\s*<xsl:(when|otherwise))/gs , ''], /* remove empty xsl:when when no other xsl:when or xsl:otherwise follows */
415
- [/<xsl:otherwise>\s*<\/xsl:otherwise>/gs , ''], /* remove empty xsl:otherwise */
416
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
417
- ]
418
- },{
419
- files : ['config/**/import/**/*.xml'],
420
- fromtoPairs : [
421
- [/(<element\s+name="header">(?!\s*<!-\\?-\s*\*!FIX))/g , '$1<!-- *!FIX: IMP-510-HEA-001 !* -->'],
422
- [/^\s*(<attributes\s+type="[^"]*"\/>)/gm , '<!-- $1 *!FIX: IMP-510-HEA-002 !* -->'],
423
- [/(xsi:noNamespaceSchemaLocation="(?!(\.\.\/)*tdi)[^"]*")/g , 'xsi:noNamespaceSchemaLocation="../../../tdi/import/paster_config.xsd"'],
424
- [/(list-contents-in-paragraph="[^"]*"\s*)/g , ''],
425
-
426
- /* general changes */
427
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
428
- ]
429
- },{
430
- files : ['config/**/pre-process/**/*.xsl'],
431
- fromtoPairs : [
432
- /* add table structure reference */
433
- [/(<xsl:(include|import)\s+href="(\.\.\/)+tdi\/pre-process\/_pre-process.xsl"\s*\/>)(?!.*_table_add_structure\.xsl)/gs , '$1\n <xsl:include href="_table_add_structure.xsl"/>'],
434
-
435
- /* tbody & table/col changes */
436
- [/tbody\//g , ''],
437
- [/\[preceding-sibling::tbody\]/g , '[not(self::col or self::tr)][preceding-sibling::tr]'],
438
- [/tr\[\s*position\(\)/g , 'tr[count(preceding-sibling::tr)+1'],
439
-
440
- /* @tanDocumentId / sectionLink changes */
441
- [/(externalSectionLink|(inter|intra)DocumentSectionLink)/g , 'sectionLink'],
442
- [/sectionLink\/text\(\)/g , 'sectionLink/text/text()'],
443
- [/"sectionLink\s*\|\s*sectionLink"/g , '"sectionLink"'],
444
-
445
- /* chart changes */
446
- [/table\[\s*not(\s*@chartType\s*)\s*\]/g , 'table'],
447
- [/table\[\s*@chartType\s*\]/g , 'chart'],
448
- [/@chartType/g , '@type *!FIX: PRE-510-CHA-001 !*'],
449
-
450
- /* header changes */
451
- [/([^\$])header\[\s*@type\s*=\s*'auto'\s*\]/g , '$1h0'],
452
- [/([^\$])header\[\s*@type\s*=\s*'A'\s*\]/g , '$1h1'],
453
- [/([^\$])header\[\s*@type\s*=\s*'B'\s*\]/g , '$1h2'],
454
- [/([^\$])header\[\s*@type\s*=\s*'C'\s*\]/g , '$1h3'],
455
- [/([^\$])header\[\s*@type\s*=\s*'D'\s*\]/g , '$1h4'],
456
- [/([^\$])header\[\s*@type\s*=\s*'E'\s*\]/g , '$1h5'],
457
- [/([^\$])header\[\s*@type\s*=\s*'F'\s*\]/g , '$1h6'],
458
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'auto'|\[\s*@type\s*=\s*'auto'\s*\])/g , '$1[self::h0]'],
459
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'A'|\[\s*@type\s*=\s*'A'\s*\])/g , '$1[self::h1]'],
460
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'B'|\[\s*@type\s*=\s*'B'\s*\])/g , '$1[self::h2]'],
461
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'C'|\[\s*@type\s*=\s*'C'\s*\])/g , '$1[self::h3]'],
462
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'D'|\[\s*@type\s*=\s*'D'\s*\])/g , '$1[self::h4]'],
463
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'E'|\[\s*@type\s*=\s*'E'\s*\])/g , '$1[self::h5]'],
464
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'F'|\[\s*@type\s*=\s*'F'\s*\])/g , '$1[self::h6]'],
465
-
466
- [/((match|select)=("[^"]*[^\w-_\.@"]|")header([^\w-_\."][^"]*"|")[^>]*>)(?!\s+<!-\\?-\s+\*!FIX)/g , '$1 <!-- *!FIX: PRE-510-HEA-001 !* -->'],
467
- [/(\$header(-element)?(\/@type|\[\s*@type)(?!.*<!-- \*!FIX:).*$)/gm , '$1 <!-- *!FIX: PDF-510-HEA-001 !* -->'],
468
-
469
- /* content-output changes */
470
- [/([^\w-\.])content-output([^\w-\.])/g , '$1output$2'],
471
-
472
- /* li/p changes */
473
- /* in most cases no changes required due to apply-templates */
474
-
475
- /* figure changes */
476
- [/(introduction|text)\/(image|inTextImage)([^\w-\.])/g , '$1/figure$3'],
477
-
478
- /* hyperlink changes */
479
- [/([^\w-\.@\$])(emailLink)(?!\s*(href|rel))([^\w-\.])/g , `$1hyperlink[starts-with(@address,'mailto:')]$4`],
480
- [/(<xsl:template\s+match="([^"]*\/)?hyperlink([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t])*)(@url|@URL)/g , `$1@address`],
481
- [/([^\w-\.@\$])(link|externalLink|emailLink)(?!\s*(href|rel))([^\w-\.])(?![^<]*-->)/g , '$1hyperlink$4'],
482
-
483
- /* highlight > mark */
484
- [/(?!\s+class\s*=)(\s+\S+[^\w-_\.'\?@])highlight([^\w-_\.'])/g, '$1mark$2'],
485
- [/"mark\s*\|\s*mark"/g, '"mark"'],
486
-
487
- /* downloadLink > fileLink */
488
- [/([^\w-_\.'])downloadLink([^\w-_\.'])/g, '$1fileLink$2'],
489
-
490
- /* general changes */
491
- [/<xsl:choose>(?!\s*<xsl:when)\s*<xsl:otherwise>(.*?)<\/xsl:otherwise>\s*<\/xsl:choose>/gs , '$1'], /* unwrap xsl:otherwise content */
492
- [/<xsl:choose>\s*<\/xsl:choose>/gs , ''], /* remove empty xsl:choose */
493
- [/<xsl:when\s+test="\s*"\s*((\/>)|(>\s*<\/xsl:when>))/gs , ''], /* remove empty xsl:when without a test condition */
494
- [/<xsl:when\s+test="[^"]*"\s*((\/>)|(>\s*<\/xsl:when>))(?!\s*(<!--[^>]*>)*\s*<xsl:(when|otherwise))/gs , ''], /* remove empty xsl:when when no other xsl:when or xsl:otherwise follows */
495
- [/<xsl:otherwise>\s*<\/xsl:otherwise>/gs , ''], /* remove empty xsl:otherwise */
496
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
497
- ]
498
- },{
499
- files : ['config/**/toc/**/*.xsl'],
500
- fromtoPairs : [
501
- /* header changes */
502
- [/([^\$])header\[\s*@type\s*=\s*'auto'\s*\]/g , '$1h0'],
503
- [/([^\$])header\[\s*@type\s*=\s*'A'\s*\]/g , '$1h1'],
504
- [/([^\$])header\[\s*@type\s*=\s*'B'\s*\]/g , '$1h2'],
505
- [/([^\$])header\[\s*@type\s*=\s*'C'\s*\]/g , '$1h3'],
506
- [/([^\$])header\[\s*@type\s*=\s*'D'\s*\]/g , '$1h4'],
507
- [/([^\$])header\[\s*@type\s*=\s*'E'\s*\]/g , '$1h5'],
508
- [/([^\$])header\[\s*@type\s*=\s*'F'\s*\]/g , '$1h6'],
509
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'auto'|\[\s*@type\s*=\s*'auto'\s*\])/g , '$1[self::h0]'],
510
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'A'|\[\s*@type\s*=\s*'A'\s*\])/g , '$1[self::h1]'],
511
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'B'|\[\s*@type\s*=\s*'B'\s*\])/g , '$1[self::h2]'],
512
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'C'|\[\s*@type\s*=\s*'C'\s*\])/g , '$1[self::h3]'],
513
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'D'|\[\s*@type\s*=\s*'D'\s*\])/g , '$1[self::h4]'],
514
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'E'|\[\s*@type\s*=\s*'E'\s*\])/g , '$1[self::h5]'],
515
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'F'|\[\s*@type\s*=\s*'F'\s*\])/g , '$1[self::h6]'],
516
-
517
- [/([^\w-\.\/])header([^\w-\.][^>]*>(?!\s*\*!FIX))/g , '$1h1$2 <!-- *!FIX: TOC-510-HEA-001 !* -->'],
518
- [/(<\/header>(?!\s*\*!FIX))/g , '</h1> <!-- *!FIX: TOC-510-HEA-002 !* -->'],
519
-
520
- /* figure changes */
521
- [/(introduction|text)\/(image|inTextImage)([^\w-\.])/g , '$1/figure$3']
522
- ]
523
- },{
524
- files : ['config/**/txp/**/*.xsl'],
525
- fromtoPairs : [
526
- /* tbody & table/col changes */
527
- [/tbody\//g , ''],
528
- [/\[preceding-sibling::tbody\]/g , '[not(self::col or self::tr)][preceding-sibling::tr]'],
529
- [/tr\[\s*position\(\)/g , 'tr[count(preceding-sibling::tr)+1'],
530
- [/(match="([^"]*\/)?table([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t]|<\/xsl:te[^m])*<table(\s[^>]*)?>)(?!.*<xsl:for-each\s+select="col")/gs , `$1\n <!-- *!FIX: TXP-510-TAB-001 !* -->\n <xsl:for-each select="col">\n <col style="{if (@width[xs:double(.) gt 0]) then concat('width:',@width,'%;') else ''}"/>\n </xsl:for-each>`], // table should occur in match attribute; than after the table-element (do not go over "</xsl:tem") add column-logic with FIX -->
531
- [/(<xsl:template\s+name="(td|th|cell|tdth)Attributes([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t]|<\/xsl:te[^m])*)^(?!\s*<--)\s*(<xsl:if test="@width">.*?<\/xsl:if>)/gms , '$1<!--$2-->'], // remove cell/@width
532
-
533
- /* @tanDocumentId / sectionLink changes */
534
- [/([^\w-\.])(externalSectionLink|(inter|intra)DocumentSectionLink)|internalLink([^\w-\.])/g , '$1sectionLink$4'],
535
- [/sectionLink\/text\(\)/g , 'sectionLink/text/text()'],
536
- [/"sectionLink\s*\|\s*sectionLink"/g , '"sectionLink"'],
537
- [/(<xsl:if\s+test="\$show-text-content">\s*<xsl:apply-templates)\/>/gs , '$1 select="text/node()"/>'],
538
-
539
- /* chart changes */
540
- [/table\[\s*not(\s*@chartType\s*)\s*\]/g , 'table'],
541
- [/table\[\s*@chartType\s*\]/g , 'chart'],
542
- [/@chartType/g , '@type *!FIX: TXP-510-CHA-001 !*'],
543
-
544
- /* header changes */
545
- [/([^\$])header\[\s*@type\s*=\s*'auto'\s*\]/g , '$1h0'],
546
- [/([^\$])header\[\s*@type\s*=\s*'A'\s*\]/g , '$1h1'],
547
- [/([^\$])header\[\s*@type\s*=\s*'B'\s*\]/g , '$1h2'],
548
- [/([^\$])header\[\s*@type\s*=\s*'C'\s*\]/g , '$1h3'],
549
- [/([^\$])header\[\s*@type\s*=\s*'D'\s*\]/g , '$1h4'],
550
- [/([^\$])header\[\s*@type\s*=\s*'E'\s*\]/g , '$1h5'],
551
- [/([^\$])header\[\s*@type\s*=\s*'F'\s*\]/g , '$1h6'],
552
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'auto'|\[\s*@type\s*=\s*'auto'\s*\])/g , '$1[self::h0]'],
553
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'A'|\[\s*@type\s*=\s*'A'\s*\])/g , '$1[self::h1]'],
554
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'B'|\[\s*@type\s*=\s*'B'\s*\])/g , '$1[self::h2]'],
555
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'C'|\[\s*@type\s*=\s*'C'\s*\])/g , '$1[self::h3]'],
556
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'D'|\[\s*@type\s*=\s*'D'\s*\])/g , '$1[self::h4]'],
557
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'E'|\[\s*@type\s*=\s*'E'\s*\])/g , '$1[self::h5]'],
558
- [/((\$header(-element)?)|header)(\/@type\s*=\s*'F'|\[\s*@type\s*=\s*'F'\s*\])/g , '$1[self::h6]'],
559
- [/((match|select)=("[^"]*[^\w-_\.@"]|")header([^\w-_\."][^"]*"|")[^>]*>)(?!\s+<!-\\?-\s+\*!FIX)/g , '$1 <!-- *!FIX: TXP-510-HEA-001 !* -->'],
560
- [/(\$header(-element)?(\/@type|\[\s*@type)(?!.*<!-- \*!FIX:).*$)/gm , '$1 <!-- *!FIX: PDF-510-HEA-001 !* -->'],
561
-
562
- /* content-output changes */
563
- [/([^\w-\.])content-output([^\w-\.])/g , '$1output$2'],
564
-
565
- /* li changes */
566
- [/(<xsl:apply-templates\s+select="@continueNumbering(\[\.\s*=\s*'true'\])?"\/>)(?!\s*<xsl:if test="@start">)/gs, '$1\n <xsl:if test="@start">\n <xsl:attribute name="start" select="@start"/>\n </xsl:if>'],
567
-
568
- /* figure changes */
569
- [/(text\/(\/)?)(inTextImage|image)([^\w-\.])/g , '$1figure$4'],
570
- /*
571
- [/(introduction|text|li|highlightblock)\/(image|inTextImage)([^\w-\.])/g , '$1/figure$3'],
572
- [/TODO inside template match?: tanImageSetInfo(?!,image\/tanImageSetInfo\)\[1\]/g , '(tanImageSetInfo,image/tanImageSetInfo)[1]'],
573
- */
574
- /* hyperlink changes */
575
- [/([^\w-\.@\$])(emailLink)(?!\s*(href|rel))([^\w-\.])/g , `$1hyperlink[starts-with(@address,'mailto:')]$4`],
576
- [/(<xsl:template\s+match="([^"]*\/)?hyperlink([^<]|<[^\/]|<\/[^x]|<\/xsl:[^t])*)(@url|@URL)/g , `$1@address`],
577
- [/([^\w-\.@\$])(link|externalLink|emailLink)(?!\s*(href|rel))([^\w-\.])(?![^<]*-->)/g , '$1hyperlink$4'],
578
-
579
- /* highlight > mark */
580
- [/(?!\s+class\s*=)(\s+\S+[^\w-_\.'\?@])highlight([^\w-_\.'])/g, '$1mark$2'],
581
- [/"mark\s*\|\s*mark"/g, '"mark"'],
582
-
583
- /* downloadLink > fileLink */
584
- [/([^\w-_\.'])downloadLink([^\w-_\.'])/g, '$1fileLink$2'],
585
-
586
- /* general changes */
587
- [/<xsl:choose>(?!\s*<xsl:when)\s*<xsl:otherwise>(.*?)<\/xsl:otherwise>\s*<\/xsl:choose>/gs , '$1'], /* unwrap xsl:otherwise content */
588
- [/<xsl:choose>\s*<\/xsl:choose>/gs , ''], /* remove empty xsl:choose */
589
- [/<xsl:when\s+test="\s*"\s*((\/>)|(>\s*<\/xsl:when>))/gs , ''], /* remove empty xsl:when without a test condition */
590
- [/<xsl:when\s+test="[^"]*"\s*((\/>)|(>\s*<\/xsl:when>))(?!\s*(<!--[^>]*>)*\s*<xsl:(when|otherwise))/gs , ''], /* remove empty xsl:when when no other xsl:when or xsl:otherwise follows */
591
- [/<xsl:otherwise>\s*<\/xsl:otherwise>/gs , ''], /* remove empty xsl:otherwise */
592
- [/(<!--([^<-]|<[^!]|-[^-]|<!-\\-)*?)<!--(([^<-]|<[^!]|-[^-]|<!-\\-)*?)-->/gs, '$1<!-\\-$3-\\->'] /* make subcomments (<!-- -->) valid (<!-\- -\->)) */
593
- ]
594
- },{
595
- files : ['database/config/**/txd_export_formats.sql'],
596
- fromtoPairs : [
597
- /* add general pre-proces to export formats if no multiple stylesheet transformations exist */
598
- [/'(([^',\/]*\/){2})((pdf[^\/]*)\/[^',]*)'\sxsl/g , `'$1$4/pre-process-base.xsl,$1$3' xsl`],
599
- [/'(([^',\/]*\/){2})([^',]*)'\sxsl/g , `'$1pre-process/base.xsl,$1$3' xsl`]
600
- ]
601
- },{
602
- files : ['database/config/**/*.sql'],
603
- fromtoPairs : [
604
- /* fonto dir */
605
- [/null\s*fonto_dir/g , `'[customer]/[project]*!FIX: DB-510-001 !*/fonto' fonto_dir`],
606
-
607
- /* schema xsd */
608
- [/xopus\/xsd/g , 'schema/xsd'],
609
-
610
- /* change toc-contents folder name */
611
- [/toc-contents\//g , 'toc/'],
612
- ]
613
- },{
614
- files : ['**/gitignore/xopus/css/**/*.scss'],
615
- fromtoPairs : [
616
- /* some helpful replaces in xopus scss for use in Fonto */
617
- [/azc\(/g , 'z\('],
618
- [/to_rem\(/g , 'z\('],
619
- [/^(\s*)margin-bottom:/gm , '$1--tan-margin-after:'],
620
- [/^(\s*)margin-top:/gm , '$1--tan-margin-before:'],
621
- [/^(\s*)font-size:/gm , '$1--tan-font-size:'],
622
- [/^(\s*)line-height:/gm , '$1--tan-line-height:'],
623
- [/^(\s*)font-weight:/gm , '$1--tan-font-weight:'],
624
- [/^(\s*)font-style:/gm , '$1--tan-font-style:'],
625
- [/^(\s*)color:/gm , '$1--tan-font-color:'],
626
- [/^(\s*)letter-spacing:/gm , '$1--tan-letter-spacing:'],
627
- [/^(\s*)font-family:/gm , '$1--tan-font-family:'],
628
- [/(\s(td|th)(?!(\w|-))[^\{]*\{[^\}]*(\{[^\}]*\})*[^\}]*\s)(border-bottom:)/gs , '$1--tan-cell-border-bottom:'],
629
- [/(\s(td|th)(?!(\w|-))[^\{]*\{[^\}]*(\{[^\}]*\})*[^\}]*\s)(border-top:)/gs , '$1--tan-cell-border-top:'],
630
- [/(\s(td|th)(?!(\w|-))[^\{]*\{[^\}]*(\{[^\}]*\})*[^\}]*\s)(background-color:)/gs , '$1--tan-cell-background-color:'],
631
- [/(--tan-[^:]*:[^;]*?)z\(([^\)]*)\)/g , '$1$2'],
632
- [/(--tan-[^:]*:[^;]*?[^\{]\s*)(\$[^(;\s)]*)/g , '$1#{$2}']
633
- ]
634
- },{
635
- files : ['config/**/*.xsl'],
636
- fromtoPairs : [
637
- [/((test|select|match)="[^"]*tbody[^"]*"[^>]*>)(?!.*<!-\\?-\s+\*!FIX:\s+GEN-510-001)/gs , '$1<!-- *!FIX: GEN-510-001 !* -->'], /* Left over tbody-elements FIX message */
638
- [/@chartType/g , '@type *!FIX: GEN-510-002 !*']
639
- ]
640
- }]
641
-
642
- };