@tangelo/tangelo-configuration-toolkit 1.5.5 → 1.8.0-beta.0

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