@burdenoff/microfe-planmagnet 2026.930.25 → 2026.1001.1

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 (258) hide show
  1. package/dist/_virtual/__vite-browser-external.js +9 -0
  2. package/dist/_virtual/__vite-browser-external.js.map +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +5 -2
  4. package/dist/index.js +3 -1
  5. package/dist/node_modules/fflate/esm/browser.js +554 -0
  6. package/dist/node_modules/fflate/esm/browser.js.map +1 -0
  7. package/dist/node_modules/jszip/dist/jszip.min.js +3038 -0
  8. package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
  9. package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js +2151 -0
  10. package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js.map +1 -0
  11. package/dist/node_modules/write-excel-file/browser/index.js +3 -0
  12. package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js +13 -0
  13. package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js.map +1 -0
  14. package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js +21 -0
  15. package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js.map +1 -0
  16. package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js +11 -0
  17. package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js.map +1 -0
  18. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js +23 -0
  19. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js.map +1 -0
  20. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js +22 -0
  21. package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js.map +1 -0
  22. package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js +18 -0
  23. package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js.map +1 -0
  24. package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js +131 -0
  25. package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js.map +1 -0
  26. package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js +188 -0
  27. package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js.map +1 -0
  28. package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js +52 -0
  29. package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js.map +1 -0
  30. package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js +18 -0
  31. package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js.map +1 -0
  32. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js +18 -0
  33. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js.map +1 -0
  34. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js +17 -0
  35. package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js.map +1 -0
  36. package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js +11 -0
  37. package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js.map +1 -0
  38. package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js +42 -0
  39. package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js.map +1 -0
  40. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js +102 -0
  41. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js.map +1 -0
  42. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js +17 -0
  43. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js.map +1 -0
  44. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js +15 -0
  45. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js.map +1 -0
  46. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js +8 -0
  47. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js.map +1 -0
  48. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js +71 -0
  49. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js.map +1 -0
  50. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js +56 -0
  51. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js.map +1 -0
  52. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js +15 -0
  53. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js.map +1 -0
  54. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js +13 -0
  55. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js.map +1 -0
  56. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js +44 -0
  57. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js.map +1 -0
  58. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js +123 -0
  59. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js.map +1 -0
  60. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js +41 -0
  61. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js.map +1 -0
  62. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js +11 -0
  63. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js.map +1 -0
  64. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js +17 -0
  65. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js.map +1 -0
  66. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js +20 -0
  67. package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js.map +1 -0
  68. package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js +77 -0
  69. package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js.map +1 -0
  70. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js +22 -0
  71. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js.map +1 -0
  72. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js +13 -0
  73. package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js.map +1 -0
  74. package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js +242 -0
  75. package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js.map +1 -0
  76. package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js +29 -0
  77. package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js.map +1 -0
  78. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js +9 -0
  79. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js.map +1 -0
  80. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js +42 -0
  81. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js.map +1 -0
  82. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js +43 -0
  83. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js.map +1 -0
  84. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js +93 -0
  85. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js.map +1 -0
  86. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js +39 -0
  87. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js.map +1 -0
  88. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js +17 -0
  89. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js.map +1 -0
  90. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js +29 -0
  91. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js.map +1 -0
  92. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js +14 -0
  93. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js.map +1 -0
  94. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js +11 -0
  95. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js.map +1 -0
  96. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js +14 -0
  97. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js.map +1 -0
  98. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js +12 -0
  99. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js.map +1 -0
  100. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js +24 -0
  101. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js.map +1 -0
  102. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js +9 -0
  103. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js.map +1 -0
  104. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js +9 -0
  105. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js.map +1 -0
  106. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js +9 -0
  107. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js.map +1 -0
  108. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js +9 -0
  109. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js.map +1 -0
  110. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js +9 -0
  111. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js.map +1 -0
  112. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js +9 -0
  113. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js.map +1 -0
  114. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js +9 -0
  115. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js.map +1 -0
  116. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js +27 -0
  117. package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js.map +1 -0
  118. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js +17 -0
  119. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js.map +1 -0
  120. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js +74 -0
  121. package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js.map +1 -0
  122. package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js +138 -0
  123. package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js.map +1 -0
  124. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js +40 -0
  125. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js.map +1 -0
  126. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js +11 -0
  127. package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js.map +1 -0
  128. package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js +9 -0
  129. package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js.map +1 -0
  130. package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js +9 -0
  131. package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js.map +1 -0
  132. package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js +12 -0
  133. package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js.map +1 -0
  134. package/dist/node_modules/write-excel-file/modules/xml/findElement.js +12 -0
  135. package/dist/node_modules/write-excel-file/modules/xml/findElement.js.map +1 -0
  136. package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js +12 -0
  137. package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js.map +1 -0
  138. package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js +41 -0
  139. package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js.map +1 -0
  140. package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js +14 -0
  141. package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js.map +1 -0
  142. package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js +42 -0
  143. package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js.map +1 -0
  144. package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js +8 -0
  145. package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js.map +1 -0
  146. package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js +8 -0
  147. package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js.map +1 -0
  148. package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js +9 -0
  149. package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js.map +1 -0
  150. package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js +9 -0
  151. package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js.map +1 -0
  152. package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js +64 -0
  153. package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js.map +1 -0
  154. package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js +9 -0
  155. package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js.map +1 -0
  156. package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js +9 -0
  157. package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js.map +1 -0
  158. package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js +8 -0
  159. package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js.map +1 -0
  160. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js +10 -0
  161. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js.map +1 -0
  162. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js +11 -0
  163. package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js.map +1 -0
  164. package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js +11 -0
  165. package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js.map +1 -0
  166. package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js +8 -0
  167. package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js.map +1 -0
  168. package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js +18 -0
  169. package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js.map +1 -0
  170. package/dist/planmagnet/PlanMagnetRoot.d.ts.map +1 -1
  171. package/dist/planmagnet/PlanMagnetRoot.js +154 -147
  172. package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
  173. package/dist/planmagnet/PlanMagnetRoutes.d.ts.map +1 -1
  174. package/dist/planmagnet/PlanMagnetRoutes.js +122 -106
  175. package/dist/planmagnet/PlanMagnetRoutes.js.map +1 -1
  176. package/dist/planmagnet/controls/Pickers.d.ts +10 -0
  177. package/dist/planmagnet/controls/Pickers.d.ts.map +1 -1
  178. package/dist/planmagnet/controls/Pickers.js +75 -27
  179. package/dist/planmagnet/controls/Pickers.js.map +1 -1
  180. package/dist/planmagnet/index.d.ts +2 -0
  181. package/dist/planmagnet/index.d.ts.map +1 -1
  182. package/dist/planmagnet/index.js +2 -0
  183. package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts +6 -0
  184. package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts.map +1 -1
  185. package/dist/planmagnet/pages/ReportsCreateReportPagePage.js +5 -177
  186. package/dist/planmagnet/pages/ReportsCreateReportPagePage.js.map +1 -1
  187. package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts +3 -0
  188. package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts.map +1 -0
  189. package/dist/planmagnet/pages/ReportsEditReportPagePage.js +15 -0
  190. package/dist/planmagnet/pages/ReportsEditReportPagePage.js.map +1 -0
  191. package/dist/planmagnet/pages/ReportsReportPagePage.d.ts +7 -0
  192. package/dist/planmagnet/pages/ReportsReportPagePage.d.ts.map +1 -0
  193. package/dist/planmagnet/pages/ReportsReportPagePage.js +226 -0
  194. package/dist/planmagnet/pages/ReportsReportPagePage.js.map +1 -0
  195. package/dist/planmagnet/pages/ReportsReportsPagePage.d.ts.map +1 -1
  196. package/dist/planmagnet/pages/ReportsReportsPagePage.js +224 -496
  197. package/dist/planmagnet/pages/ReportsReportsPagePage.js.map +1 -1
  198. package/dist/planmagnet/reports/ExportMenu.d.ts +9 -0
  199. package/dist/planmagnet/reports/ExportMenu.d.ts.map +1 -0
  200. package/dist/planmagnet/reports/ExportMenu.js +116 -0
  201. package/dist/planmagnet/reports/ExportMenu.js.map +1 -0
  202. package/dist/planmagnet/reports/PrintReportView.d.ts +24 -0
  203. package/dist/planmagnet/reports/PrintReportView.d.ts.map +1 -0
  204. package/dist/planmagnet/reports/PrintReportView.js +75 -0
  205. package/dist/planmagnet/reports/PrintReportView.js.map +1 -0
  206. package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts +8 -0
  207. package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts.map +1 -0
  208. package/dist/planmagnet/reports/ReportBuilderCanvas.js +261 -0
  209. package/dist/planmagnet/reports/ReportBuilderCanvas.js.map +1 -0
  210. package/dist/planmagnet/reports/ReportBuilderPage.d.ts +5 -0
  211. package/dist/planmagnet/reports/ReportBuilderPage.d.ts.map +1 -0
  212. package/dist/planmagnet/reports/ReportBuilderPage.js +198 -0
  213. package/dist/planmagnet/reports/ReportBuilderPage.js.map +1 -0
  214. package/dist/planmagnet/reports/ReportRunHistory.d.ts +8 -0
  215. package/dist/planmagnet/reports/ReportRunHistory.d.ts.map +1 -0
  216. package/dist/planmagnet/reports/ReportRunHistory.js +63 -0
  217. package/dist/planmagnet/reports/ReportRunHistory.js.map +1 -0
  218. package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts +7 -0
  219. package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts.map +1 -0
  220. package/dist/planmagnet/reports/ReportWidgetRenderer.js +251 -0
  221. package/dist/planmagnet/reports/ReportWidgetRenderer.js.map +1 -0
  222. package/dist/planmagnet/reports/SchedulesPanel.d.ts +4 -0
  223. package/dist/planmagnet/reports/SchedulesPanel.d.ts.map +1 -0
  224. package/dist/planmagnet/reports/SchedulesPanel.js +457 -0
  225. package/dist/planmagnet/reports/SchedulesPanel.js.map +1 -0
  226. package/dist/planmagnet/reports/ShareDialog.d.ts +5 -0
  227. package/dist/planmagnet/reports/ShareDialog.d.ts.map +1 -0
  228. package/dist/planmagnet/reports/ShareDialog.js +234 -0
  229. package/dist/planmagnet/reports/ShareDialog.js.map +1 -0
  230. package/dist/planmagnet/reports/SharedReportPage.d.ts +4 -0
  231. package/dist/planmagnet/reports/SharedReportPage.d.ts.map +1 -0
  232. package/dist/planmagnet/reports/SharedReportPage.js +180 -0
  233. package/dist/planmagnet/reports/SharedReportPage.js.map +1 -0
  234. package/dist/planmagnet/reports/WidgetEditorDialog.d.ts +10 -0
  235. package/dist/planmagnet/reports/WidgetEditorDialog.d.ts.map +1 -0
  236. package/dist/planmagnet/reports/WidgetEditorDialog.js +220 -0
  237. package/dist/planmagnet/reports/WidgetEditorDialog.js.map +1 -0
  238. package/dist/planmagnet/reports/reportExportPptx.d.ts +4 -0
  239. package/dist/planmagnet/reports/reportExportPptx.d.ts.map +1 -0
  240. package/dist/planmagnet/reports/reportExportPptx.js +118 -0
  241. package/dist/planmagnet/reports/reportExportPptx.js.map +1 -0
  242. package/dist/planmagnet/reports/reportExportXlsx.d.ts +4 -0
  243. package/dist/planmagnet/reports/reportExportXlsx.d.ts.map +1 -0
  244. package/dist/planmagnet/reports/reportExportXlsx.js +42 -0
  245. package/dist/planmagnet/reports/reportExportXlsx.js.map +1 -0
  246. package/dist/planmagnet/reports/reportGraphql.d.ts +28 -0
  247. package/dist/planmagnet/reports/reportGraphql.d.ts.map +1 -0
  248. package/dist/planmagnet/reports/reportGraphql.js +360 -0
  249. package/dist/planmagnet/reports/reportGraphql.js.map +1 -0
  250. package/dist/planmagnet/reports/reportModel.d.ts +198 -0
  251. package/dist/planmagnet/reports/reportModel.d.ts.map +1 -0
  252. package/dist/planmagnet/reports/reportModel.js +328 -0
  253. package/dist/planmagnet/reports/reportModel.js.map +1 -0
  254. package/dist/planmagnet/reports/sharedReportRoute.d.ts +14 -0
  255. package/dist/planmagnet/reports/sharedReportRoute.d.ts.map +1 -0
  256. package/dist/planmagnet/reports/sharedReportRoute.js +9 -0
  257. package/dist/planmagnet/reports/sharedReportRoute.js.map +1 -0
  258. package/package.json +6 -4
@@ -0,0 +1,40 @@
1
+ //#region node_modules/write-excel-file/modules/xlsx/validateSheetData.js
2
+ function e(e, n) {
3
+ var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4
+ if (r) return (r = r.call(e)).next.bind(r);
5
+ if (Array.isArray(e) || (r = t(e)) || n && e && typeof e.length == "number") {
6
+ r && (e = r);
7
+ var i = 0;
8
+ return function() {
9
+ return i >= e.length ? { done: !0 } : {
10
+ done: !1,
11
+ value: e[i++]
12
+ };
13
+ };
14
+ }
15
+ throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
16
+ }
17
+ function t(e, t) {
18
+ if (e) {
19
+ if (typeof e == "string") return n(e, t);
20
+ var r = {}.toString.call(e).slice(8, -1);
21
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n(e, t) : void 0;
22
+ }
23
+ }
24
+ function n(e, t) {
25
+ (t == null || t > e.length) && (t = e.length);
26
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
27
+ return r;
28
+ }
29
+ function r(t) {
30
+ if (!Array.isArray(t)) throw TypeError("Expected sheet data to be an array of rows");
31
+ for (var n = e(t), r; !(r = n()).done;) {
32
+ var i = r.value;
33
+ if (Array.isArray(i)) return;
34
+ throw Error("Expected each sheet data row to be an array");
35
+ }
36
+ }
37
+ //#endregion
38
+ export { r as default };
39
+
40
+ //# sourceMappingURL=validateSheetData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateSheetData.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xlsx/validateSheetData.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nexport default function validateSheetData(data) {\n if (!Array.isArray(data)) {\n throw new TypeError('Expected sheet data to be an array of rows');\n }\n for (var _iterator = _createForOfIteratorHelperLoose(data), _step; !(_step = _iterator()).done;) {\n var row = _step.value;\n if (Array.isArray(row)) {\n return;\n } else {\n throw new Error('Expected each sheet data row to be an array');\n }\n }\n}\n//# sourceMappingURL=validateSheetData.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAgC,GAAG,GAAG;CAAE,IAAI,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,aAAa,EAAE;AAAe,KAAI,EAAG,SAAQ,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,EAAE;AAAE,KAAI,MAAM,QAAQ,EAAE,KAAK,IAAI,EAA4B,EAAE,KAAK,KAAK,KAAiB,OAAO,EAAE,UAArB,UAA6B;AAAE,QAAM,IAAI;EAAI,IAAI,IAAI;AAAG,SAAO,WAAY;AAAE,UAAO,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,GAAG;IAAE,MAAM,CAAC;IAAG,OAAO,EAAE;IAAM;;;AAAO,OAAU,UAAU,wIAAwI;;AACviB,SAAS,EAA4B,GAAG,GAAG;AAAE,KAAI,GAAG;AAAE,MAAgB,OAAO,KAAnB,SAAsB,QAAO,EAAkB,GAAG,EAAE;EAAE,IAAI,IAAI,EAAE,CAAC,SAAS,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG;AAAE,SAAoB,MAAb,YAAkB,EAAE,gBAAgB,IAAI,EAAE,YAAY,OAAiB,MAAV,SAAyB,MAAV,QAAc,MAAM,KAAK,EAAE,GAAmB,MAAhB,eAAqB,2CAA2C,KAAK,EAAE,GAAG,EAAkB,GAAG,EAAE,GAAG,KAAK;;;AACpX,SAAS,EAAkB,GAAG,GAAG;AAAE,EAAS,KAAR,QAAa,IAAI,EAAE,YAAY,IAAI,EAAE;AAAS,MAAK,IAAI,IAAI,GAAG,IAAI,MAAM,EAAE,EAAE,IAAI,GAAG,IAAK,GAAE,KAAK,EAAE;AAAI,QAAO;;AAChJ,SAAwB,EAAkB,GAAM;AAC9C,KAAI,CAAC,MAAM,QAAQ,EAAK,CACtB,OAAU,UAAU,6CAA6C;AAEnE,MAAK,IAAI,IAAY,EAAgC,EAAK,EAAE,GAAO,EAAE,IAAQ,GAAW,EAAE,OAAO;EAC/F,IAAI,IAAM,EAAM;AAChB,MAAI,MAAM,QAAQ,EAAI,CACpB;AAEA,QAAU,MAAM,8CAA8C"}
@@ -0,0 +1,11 @@
1
+ //#region node_modules/write-excel-file/modules/xlsx/validateSheetName.js
2
+ var e = /[\[\]\/\\:*?]+/;
3
+ function t(t) {
4
+ if (!t) throw Error("Sheet name can't be empty");
5
+ if (t.length > 31) throw Error(`Sheet name "${t}" can't be longer than 31 characters`);
6
+ if (e.test(t)) throw Error(`Sheet name "${t}" contains illegal characters: []/\\:*?`);
7
+ }
8
+ //#endregion
9
+ export { t as default };
10
+
11
+ //# sourceMappingURL=validateSheetName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateSheetName.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xlsx/validateSheetName.js"],"sourcesContent":["// https://stackoverflow.com/questions/451452/valid-characters-for-excel-sheet-names\n// Sheet name can't be empty.\n// Sheet name shouldn't exceed 31 characters.\n// Sheet name shouldn't contain any of the following characters: []/\\:*?\n\nvar ILLEGAL_CHARACTERS_IN_SHEET_NAME = /[\\[\\]\\/\\\\:*?]+/;\nexport default function validateSheetName(sheetName) {\n if (!sheetName) {\n throw new Error('Sheet name can\\'t be empty');\n }\n if (sheetName.length > 31) {\n throw new Error(\"Sheet name \\\"\".concat(sheetName, \"\\\" can't be longer than 31 characters\"));\n }\n if (ILLEGAL_CHARACTERS_IN_SHEET_NAME.test(sheetName)) {\n throw new Error(\"Sheet name \\\"\".concat(sheetName, \"\\\" contains illegal characters: []/\\\\:*?\"));\n }\n}\n//# sourceMappingURL=validateSheetName.js.map"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAI,IAAmC;AACvC,SAAwB,EAAkB,GAAW;AACnD,KAAI,CAAC,EACH,OAAU,MAAM,4BAA6B;AAE/C,KAAI,EAAU,SAAS,GACrB,OAAU,MAAM,eAAuB,wCAAoD;AAE7F,KAAI,EAAiC,KAAK,EAAU,CAClD,OAAU,MAAM,eAAuB,2CAAuD"}
@@ -0,0 +1,9 @@
1
+ import e from "./setMarkupInsideElement.js";
2
+ //#region node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js
3
+ function t(t, n, r) {
4
+ return n.selfClosingTag ? e(t, n, r) : t.slice(0, n.closingTagStartIndex) + r + t.slice(n.closingTagStartIndex);
5
+ }
6
+ //#endregion
7
+ export { t as default };
8
+
9
+ //# sourceMappingURL=appendMarkupInsideElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"appendMarkupInsideElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js"],"sourcesContent":["import setMarkupInsideElement from './setMarkupInsideElement.js';\n\n/**\r\n * Appends XML inside an `element` that was found in `xml` using `findElement()` function.\r\n * @param {string} xml\r\n * @param {FoundElement} element\r\n * @param {string} addedXml\r\n * @returns {string}\r\n */\nexport default function appendMarkupInsideElement(xml, element, addedXml) {\n if (element.selfClosingTag) {\n return setMarkupInsideElement(xml, element, addedXml);\n }\n return xml.slice(0, element.closingTagStartIndex) + addedXml + xml.slice(element.closingTagStartIndex);\n}\n//# sourceMappingURL=appendMarkupInsideElement.js.map"],"x_google_ignoreList":[0],"mappings":";;AASA,SAAwB,EAA0B,GAAK,GAAS,GAAU;AAIxE,QAHI,EAAQ,iBACH,EAAuB,GAAK,GAAS,EAAS,GAEhD,EAAI,MAAM,GAAG,EAAQ,qBAAqB,GAAG,IAAW,EAAI,MAAM,EAAQ,qBAAqB"}
@@ -0,0 +1,9 @@
1
+ //#region node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js
2
+ function e(e, t) {
3
+ var n = t.openingTagEndIndex + 1;
4
+ e.openingTagStartIndex += n, e.openingTagEndIndex += n, e.selfClosingTag || (e.closingTagStartIndex += n, e.closingTagEndIndex += n);
5
+ }
6
+ //#endregion
7
+ export { e as default };
8
+
9
+ //# sourceMappingURL=applyEnclosingElementOffset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applyEnclosingElementOffset.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js"],"sourcesContent":["export default function applyEnclosingElementOffset(element, enclosingElement) {\n var enclosingElementOffset = enclosingElement.openingTagEndIndex + 1;\n element.openingTagStartIndex += enclosingElementOffset;\n element.openingTagEndIndex += enclosingElementOffset;\n if (!element.selfClosingTag) {\n element.closingTagStartIndex += enclosingElementOffset;\n element.closingTagEndIndex += enclosingElementOffset;\n }\n}\n//# sourceMappingURL=applyEnclosingElementOffset.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAA4B,GAAS,GAAkB;CAC7E,IAAI,IAAyB,EAAiB,qBAAqB;AAGnE,CAFA,EAAQ,wBAAwB,GAChC,EAAQ,sBAAsB,GACzB,EAAQ,mBACX,EAAQ,wBAAwB,GAChC,EAAQ,sBAAsB"}
@@ -0,0 +1,12 @@
1
+ //#region node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js
2
+ function e(e, n) {
3
+ var r = n.isAttributeValue;
4
+ return e = t(e, "&", "&amp;"), e = t(e, ">", "&gt;"), e = t(e, "<", "&lt;"), r && (e = t(e, "'", "&apos;"), e = t(e, "\"", "&quot;")), e;
5
+ }
6
+ function t(e, t, n) {
7
+ return e.replaceAll ? e.replaceAll(t, n) : e.replace(new RegExp(t, "g"), n);
8
+ }
9
+ //#endregion
10
+ export { e as default };
11
+
12
+ //# sourceMappingURL=escapeXmlSpecialCharacters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"escapeXmlSpecialCharacters.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js"],"sourcesContent":["/**\r\n * Escapes a string for including it in XML markup: replaces \">\" with \"&gt;\", etc.\r\n * https://en.wikipedia.org/wiki/Character_encodings_in_HTML#HTML_character_references\r\n * @param {string} string\r\n * @param {boolean} options.isAttributeValue — Pass `true` if an XML attribute value is being escaped. Pass `false` otherwise.\r\n * @return {string}\r\n */\nexport default function escapeXmlSpecialCharacters(string, _ref) {\n var isAttributeValue = _ref.isAttributeValue;\n // By default, \"&\", \"<\" and \">\" characters should be escaped:\n //\n // The ampersand character (&) and the left angle bracket (<) must not appear\n // in their literal form, except when used as markup delimiters, or within a comment,\n // a processing instruction, or a CDATA section. If they are needed elsewhere,\n // they must be escaped using either numeric character references or the strings\n // \" & \" and \" < \" respectively. The right angle bracket (>) may be represented\n // using the string \" > \", and must, for compatibility, be escaped using either\n // \" > \" or a character reference when it appears in the string \" ]]> \" in content,\n // when that string is not marking the end of a CDATA section.\n //\n string = replaceAll(string, '&', '&amp;');\n string = replaceAll(string, '>', '&gt;');\n string = replaceAll(string, '<', '&lt;');\n\n // Additionally, in attribute values, single and double quotes might be required\n // to be escaped depending on what character is used for delimiting those attribute values.\n if (isAttributeValue) {\n string = replaceAll(string, '\\'', '&apos;');\n string = replaceAll(string, '\"', '&quot;');\n }\n return string;\n}\nfunction replaceAll(string, replacedSubstring, replacementSubstring) {\n if (string.replaceAll) {\n return string.replaceAll(replacedSubstring, replacementSubstring);\n }\n // There's no need to escape RegExp special characters in `replacedSubstring`\n // because this function is not exported and is only called internally\n // with a known subset of possible `replacedSubstring`s which are known\n // to not contain any RegExp special characters.\n return string.replace(new RegExp(replacedSubstring, 'g'), replacementSubstring);\n}\n\n// // Escapes any regular-expression-specific special characters.\n// function escapeRegExpSpecialCharacters(string) {\n// \tconst specialCharactersRegExp = new RegExp('[.*+?|()\\\\[\\\\]{}\\\\\\\\]', 'g')\n// \treturn string.replace(specialCharactersRegExp, '\\\\$&')\n// }\n//# sourceMappingURL=escapeXmlSpecialCharacters.js.map"],"x_google_ignoreList":[0],"mappings":";AAOA,SAAwB,EAA2B,GAAQ,GAAM;CAC/D,IAAI,IAAmB,EAAK;AAsB5B,QAVA,IAAS,EAAW,GAAQ,KAAK,QAAQ,EACzC,IAAS,EAAW,GAAQ,KAAK,OAAO,EACxC,IAAS,EAAW,GAAQ,KAAK,OAAO,EAIpC,MACF,IAAS,EAAW,GAAQ,KAAM,SAAS,EAC3C,IAAS,EAAW,GAAQ,MAAK,SAAS,GAErC;;AAET,SAAS,EAAW,GAAQ,GAAmB,GAAsB;AAQnE,QAPI,EAAO,aACF,EAAO,WAAW,GAAmB,EAAqB,GAM5D,EAAO,QAAQ,IAAI,OAAO,GAAmB,IAAI,EAAE,EAAqB"}
@@ -0,0 +1,12 @@
1
+ import e from "./findElementsNonRecursive_.js";
2
+ //#region node_modules/write-excel-file/modules/xml/findElement.js
3
+ function t(t, n) {
4
+ return e(t, {
5
+ tagName: n,
6
+ stopAfterFirstMatch: !0
7
+ })[0];
8
+ }
9
+ //#endregion
10
+ export { t as default };
11
+
12
+ //# sourceMappingURL=findElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/findElement.js"],"sourcesContent":["import findElementsNonRecursive_ from './findElementsNonRecursive_.js';\n\n/**\r\n * Finds a single element in valid XML markup.\r\n * @param {string} xml — XML markup\r\n * @param {string} tagName — The name of the element to find\r\n * @returns {object|undefined} — A found element, represented by an object with propeties: `{ openingTagStartIndex: number, openingTagEndIndex: number, openingTagAttributes: object, selfClosingTag?: boolean, closingTagStartIndex?: number, closingTagEndIndex?: number }`\r\n */\nexport default function findElement(xml, tagName) {\n var elements = findElementsNonRecursive_(xml, {\n tagName: tagName,\n stopAfterFirstMatch: true\n });\n return elements[0];\n}\n//# sourceMappingURL=findElement.js.map"],"x_google_ignoreList":[0],"mappings":";;AAQA,SAAwB,EAAY,GAAK,GAAS;AAKhD,QAJe,EAA0B,GAAK;EACnC;EACT,qBAAqB;EACtB,CAAC,CACc"}
@@ -0,0 +1,12 @@
1
+ import e from "./findElement.js";
2
+ import t from "./getMarkupInsideElement.js";
3
+ import n from "./applyEnclosingElementOffset.js";
4
+ //#region node_modules/write-excel-file/modules/xml/findElementInsideElement.js
5
+ function r(r, i, a) {
6
+ var o = e(t(r, a), i);
7
+ if (o) return n(o, a), o;
8
+ }
9
+ //#endregion
10
+ export { r as default };
11
+
12
+ //# sourceMappingURL=findElementInsideElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findElementInsideElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/findElementInsideElement.js"],"sourcesContent":["import findElement from './findElement.js';\nimport getMarkupInsideElement from './getMarkupInsideElement.js';\nimport applyEnclosingElementOffset from './applyEnclosingElementOffset.js';\n\n/**\r\n * Finds a single element in valid XML markup within bounds of a given element that was previously found using `findElement()` function.\r\n * @param {string} xml — XML markup\r\n * @param {string} tagName — The name of the element to find\r\n * @param {object} enclosingElement — An enclosing element that was previously found using `findElement()` function.\r\n * @returns {object|undefined} — A found element, represented by an object with propeties: `{ openingTagStartIndex: number, openingTagEndIndex: number, openingTagAttributes: object, selfClosingTag?: boolean, closingTagStartIndex?: number, closingTagEndIndex?: number }`\r\n */\nexport default function findElementInsideElement(xml, tagName, enclosingElement) {\n var element = findElement(getMarkupInsideElement(xml, enclosingElement), tagName);\n if (element) {\n applyEnclosingElementOffset(element, enclosingElement);\n return element;\n }\n}\n//# sourceMappingURL=findElementInsideElement.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAWA,SAAwB,EAAyB,GAAK,GAAS,GAAkB;CAC/E,IAAI,IAAU,EAAY,EAAuB,GAAK,EAAiB,EAAE,EAAQ;AACjF,KAAI,EAEF,QADA,EAA4B,GAAS,EAAiB,EAC/C"}
@@ -0,0 +1,41 @@
1
+ //#region node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js
2
+ function e(e) {
3
+ for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.tagName, a = r.stopAfterFirstMatch, o = new RegExp(n(i), a ? void 0 : "g"), s = [], c; (c = o.exec(e)) !== null;) {
4
+ for (var l = c[0], u = i || c[1], d = {}, f = /* @__PURE__ */ RegExp("\\s+([^\\s=>]+)(?:=\"([^\\s=>]+)\")", "g"), p = void 0; (p = f.exec(l)) !== null;) d[p[1]] = p[2];
5
+ var m = {
6
+ tagName: u,
7
+ openingTagStartIndex: c.index,
8
+ openingTagEndIndex: c.index + l.length - 1,
9
+ openingTagAttributes: d,
10
+ selfClosingTag: !1,
11
+ closingTagStartIndex: void 0,
12
+ closingTagEndIndex: void 0
13
+ };
14
+ if (l[l.length - 2] === "/") m.selfClosingTag = !0;
15
+ else {
16
+ var h = t(e, m.openingTagEndIndex + 1, u);
17
+ if (!h) throw Error(`Invalid XML: opening tag was found but closing tag was not: </${u}>`);
18
+ m.closingTagStartIndex = h[0], m.closingTagEndIndex = h[1];
19
+ }
20
+ if (s.push(m), a) break;
21
+ m.selfClosingTag ? o.lastIndex = m.openingTagEndIndex + 1 : o.lastIndex = m.closingTagEndIndex + 1;
22
+ }
23
+ return s;
24
+ }
25
+ function t(e, t, n) {
26
+ var r = RegExp("<(/)?" + n + "(?:\\s+[^>]+|/)?>", "g");
27
+ r.lastIndex = t;
28
+ for (var i = 0, a; (a = r.exec(e)) !== null;) {
29
+ var o = a[0];
30
+ if (a[1]) if (i > 0) i--;
31
+ else return [a.index, a.index + o.length - 1];
32
+ else i++;
33
+ }
34
+ }
35
+ function n(e) {
36
+ return "<" + (e || "([^\\s/>]+)") + "(?:\\s+[^>]+|/)?>";
37
+ }
38
+ //#endregion
39
+ export { e as default, n as getOpeningTagRegExpPattern };
40
+
41
+ //# sourceMappingURL=findElementsNonRecursive_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findElementsNonRecursive_.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js"],"sourcesContent":["/**\r\n * Finds elements in valid XML markup.\r\n * Caveat: Every time it finds an element, it doesn't \"step into\" it but rather \"steps over\" it.\r\n * @param {string} xml — XML markup\r\n * @param {string} [options.tagName] — The name of the element to find\r\n * @param {boolean} [options.stopAfterFirstMatch] — If `true`, will only return a single result.\r\n * @returns {object[]} — Found elements, each element represented by an object with propeties: `{ openingTagStartIndex: number, openingTagEndIndex: number, openingTagAttributes: object, selfClosingTag?: boolean, closingTagStartIndex?: number, closingTagEndIndex?: number }`\r\n */\nexport default function findElementsNonRecursive_(xml) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n tagName = _ref.tagName,\n stopAfterFirstMatch = _ref.stopAfterFirstMatch;\n var openingTagRegExp = new RegExp(getOpeningTagRegExpPattern(tagName), stopAfterFirstMatch ? undefined : 'g');\n var results = [];\n var openingTagMatch;\n while ((openingTagMatch = openingTagRegExp.exec(xml)) !== null) {\n var openingTag = openingTagMatch[0];\n var openingTagName = tagName || openingTagMatch[1];\n var attributes = {};\n var attributeRegExp = new RegExp('\\\\s+([^\\\\s=>]+)(?:=\"([^\\\\s=>]+)\")', 'g');\n var attributeMatch = void 0;\n while ((attributeMatch = attributeRegExp.exec(openingTag)) !== null) {\n attributes[attributeMatch[1]] = attributeMatch[2];\n }\n var result = {\n tagName: openingTagName,\n // openingTagMarkup: openingTag,\n openingTagStartIndex: openingTagMatch.index,\n openingTagEndIndex: openingTagMatch.index + openingTag.length - 1,\n openingTagAttributes: attributes,\n selfClosingTag: false,\n // closingTagMarkup: undefined,\n closingTagStartIndex: undefined,\n closingTagEndIndex: undefined\n };\n if (openingTag[openingTag.length - 2] === '/') {\n result.selfClosingTag = true;\n } else {\n var closingTagPosition = findClosingTagPosition(xml, result.openingTagEndIndex + 1, openingTagName);\n if (!closingTagPosition) {\n // `xml` is supposed to be \"valid XML\", so such situation isn't supposed to be possible.\n throw new Error(\"Invalid XML: opening tag was found but closing tag was not: </\".concat(openingTagName, \">\"));\n }\n result.closingTagStartIndex = closingTagPosition[0];\n result.closingTagEndIndex = closingTagPosition[1];\n }\n results.push(result);\n if (stopAfterFirstMatch) {\n break;\n }\n\n // Set \"start from\" index of the next match.\n if (result.selfClosingTag) {\n openingTagRegExp.lastIndex = result.openingTagEndIndex + 1;\n } else {\n openingTagRegExp.lastIndex = result.closingTagEndIndex + 1;\n }\n }\n return results;\n}\nfunction findClosingTagPosition(xml, startFromIndex, tagName) {\n var openingOrClosingTagRegExp = new RegExp('<(/)?' + tagName + '(?:\\\\s+[^>]+|/)?>', 'g');\n openingOrClosingTagRegExp.lastIndex = startFromIndex;\n var nestingLevel = 0;\n var openingOrClosingTagMatch;\n while ((openingOrClosingTagMatch = openingOrClosingTagRegExp.exec(xml)) !== null) {\n var openingOrClosingTag = openingOrClosingTagMatch[0];\n // Tells if it's a closing tag or an opening tag.\n var closingTagMarker = openingOrClosingTagMatch[1];\n if (closingTagMarker) {\n // Closing tag encountered.\n if (nestingLevel > 0) {\n nestingLevel--;\n } else {\n return [openingOrClosingTagMatch.index, openingOrClosingTagMatch.index + openingOrClosingTag.length - 1];\n }\n } else {\n // Opening tag encountered.\n nestingLevel++;\n }\n }\n}\nexport function getOpeningTagRegExpPattern(tagName) {\n return '<' + (tagName || '([^\\\\s/>]+)') + '(?:\\\\s+[^>]+|/)?>';\n}\n//# sourceMappingURL=findElementsNonRecursive_.js.map"],"x_google_ignoreList":[0],"mappings":";AAQA,SAAwB,EAA0B,GAAK;AAOrD,MANA,IAAI,IAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAA,IAAY,UAAU,KAAK,EAAE,EAC/E,IAAU,EAAK,SACf,IAAsB,EAAK,qBACzB,IAAmB,IAAI,OAAO,EAA2B,EAAQ,EAAE,IAAsB,KAAA,IAAY,IAAI,EACzG,IAAU,EAAE,EACZ,IACI,IAAkB,EAAiB,KAAK,EAAI,MAAM,OAAM;AAM9D,OALA,IAAI,IAAa,EAAgB,IAC7B,IAAiB,KAAW,EAAgB,IAC5C,IAAa,EAAE,EACf,IAAkB,gBAAI,OAAO,uCAAqC,IAAI,EACtE,IAAiB,KAAK,IAClB,IAAiB,EAAgB,KAAK,EAAW,MAAM,MAC7D,GAAW,EAAe,MAAM,EAAe;EAEjD,IAAI,IAAS;GACX,SAAS;GAET,sBAAsB,EAAgB;GACtC,oBAAoB,EAAgB,QAAQ,EAAW,SAAS;GAChE,sBAAsB;GACtB,gBAAgB;GAEhB,sBAAsB,KAAA;GACtB,oBAAoB,KAAA;GACrB;AACD,MAAI,EAAW,EAAW,SAAS,OAAO,IACxC,GAAO,iBAAiB;OACnB;GACL,IAAI,IAAqB,EAAuB,GAAK,EAAO,qBAAqB,GAAG,EAAe;AACnG,OAAI,CAAC,EAEH,OAAU,MAAM,iEAAwE,KAAqB;AAG/G,GADA,EAAO,uBAAuB,EAAmB,IACjD,EAAO,qBAAqB,EAAmB;;AAGjD,MADA,EAAQ,KAAK,EAAO,EAChB,EACF;AAIF,EAAI,EAAO,iBACT,EAAiB,YAAY,EAAO,qBAAqB,IAEzD,EAAiB,YAAY,EAAO,qBAAqB;;AAG7D,QAAO;;AAET,SAAS,EAAuB,GAAK,GAAgB,GAAS;CAC5D,IAAI,IAAgC,OAAO,UAAU,IAAU,qBAAqB,IAAI;AACxF,GAA0B,YAAY;AAGtC,MAFA,IAAI,IAAe,GACf,IACI,IAA2B,EAA0B,KAAK,EAAI,MAAM,OAAM;EAChF,IAAI,IAAsB,EAAyB;AAGnD,MADuB,EAAyB,GAG9C,KAAI,IAAe,EACjB;MAEA,QAAO,CAAC,EAAyB,OAAO,EAAyB,QAAQ,EAAoB,SAAS,EAAE;MAI1G;;;AAIN,SAAgB,EAA2B,GAAS;AAClD,QAAO,OAAO,KAAW,iBAAiB"}
@@ -0,0 +1,14 @@
1
+ import e from "./sanitizeAttributeValue.js";
2
+ import t from "./sanitizeAttributeName.js";
3
+ //#region node_modules/write-excel-file/modules/xml/getAttributesString.js
4
+ function n(n) {
5
+ return Object.keys(n).map(function(r) {
6
+ return `${t(r)}="${e(String(n[r]))}"`;
7
+ }).reduce(function(e, t) {
8
+ return e + " " + t;
9
+ }, "");
10
+ }
11
+ //#endregion
12
+ export { n as default };
13
+
14
+ //# sourceMappingURL=getAttributesString.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAttributesString.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/getAttributesString.js"],"sourcesContent":["import sanitizeAttributeName from './sanitizeAttributeName.js';\nimport sanitizeAttributeValue from './sanitizeAttributeValue.js';\n\n/**\r\n * Converts an object with XML attribute values to a string.\r\n * Examples:\r\n * { a: 'b', c: 'd' } → ' a=\"b\" c=\"d\"'\r\n * {} → ''\r\n * @param {object} attributes\r\n * @returns {string}\r\n */\nexport default function getAttributesString(attributes) {\n return Object.keys(attributes).map(function (name) {\n return \"\".concat(sanitizeAttributeName(name), \"=\\\"\").concat(sanitizeAttributeValue(String(attributes[name])), \"\\\"\");\n }).reduce(function (combined, part) {\n return combined + ' ' + part;\n }, '');\n}\n//# sourceMappingURL=getAttributesString.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAWA,SAAwB,EAAoB,GAAY;AACtD,QAAO,OAAO,KAAK,EAAW,CAAC,IAAI,SAAU,GAAM;AACjD,SAAO,GAAU,EAAsB,EAAK,KAAgB,EAAuB,OAAO,EAAW,GAAM,CAAC;GAC5G,CAAC,OAAO,SAAU,GAAU,GAAM;AAClC,SAAO,IAAW,MAAM;IACvB,GAAG"}
@@ -0,0 +1,42 @@
1
+ import e from "./findElementsNonRecursive_.js";
2
+ import t from "./getMarkupInsideElement.js";
3
+ import n from "./applyEnclosingElementOffset.js";
4
+ //#region node_modules/write-excel-file/modules/xml/getChildElements.js
5
+ function r(e, t) {
6
+ var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
7
+ if (n) return (n = n.call(e)).next.bind(n);
8
+ if (Array.isArray(e) || (n = i(e)) || t && e && typeof e.length == "number") {
9
+ n && (e = n);
10
+ var r = 0;
11
+ return function() {
12
+ return r >= e.length ? { done: !0 } : {
13
+ done: !1,
14
+ value: e[r++]
15
+ };
16
+ };
17
+ }
18
+ throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
19
+ }
20
+ function i(e, t) {
21
+ if (e) {
22
+ if (typeof e == "string") return a(e, t);
23
+ var n = {}.toString.call(e).slice(8, -1);
24
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? a(e, t) : void 0;
25
+ }
26
+ }
27
+ function a(e, t) {
28
+ (t == null || t > e.length) && (t = e.length);
29
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
30
+ return r;
31
+ }
32
+ function o(i, a) {
33
+ for (var o = e(t(i, a)), s = r(o), c; !(c = s()).done;) {
34
+ var l = c.value;
35
+ n(l, a);
36
+ }
37
+ return o;
38
+ }
39
+ //#endregion
40
+ export { o as default };
41
+
42
+ //# sourceMappingURL=getChildElements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getChildElements.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/getChildElements.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport getMarkupInsideElement from './getMarkupInsideElement.js';\nimport applyEnclosingElementOffset from './applyEnclosingElementOffset.js';\nimport findElementsNonRecursive_ from './findElementsNonRecursive_.js';\n\n/**\r\n * Returns all child elements of a given element.\r\n * @param {string} xml — XML markup\r\n * @param {object} element — A parent element that was previously found using `findElement()` function.\r\n * @returns {object[]} — Child elements, each element represented by an object with propeties: `{ openingTagStartIndex: number, openingTagEndIndex: number, openingTagAttributes: object, selfClosingTag?: boolean, closingTagStartIndex?: number, closingTagEndIndex?: number }`\r\n */\nexport default function getChildElements(xml, element) {\n var children = findElementsNonRecursive_(getMarkupInsideElement(xml, element));\n for (var _iterator = _createForOfIteratorHelperLoose(children), _step; !(_step = _iterator()).done;) {\n var child = _step.value;\n applyEnclosingElementOffset(child, element);\n }\n return children;\n}\n//# sourceMappingURL=getChildElements.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAAA,SAAS,EAAgC,GAAG,GAAG;CAAE,IAAI,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,aAAa,EAAE;AAAe,KAAI,EAAG,SAAQ,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,EAAE;AAAE,KAAI,MAAM,QAAQ,EAAE,KAAK,IAAI,EAA4B,EAAE,KAAK,KAAK,KAAiB,OAAO,EAAE,UAArB,UAA6B;AAAE,QAAM,IAAI;EAAI,IAAI,IAAI;AAAG,SAAO,WAAY;AAAE,UAAO,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,GAAG;IAAE,MAAM,CAAC;IAAG,OAAO,EAAE;IAAM;;;AAAO,OAAU,UAAU,wIAAwI;;AACviB,SAAS,EAA4B,GAAG,GAAG;AAAE,KAAI,GAAG;AAAE,MAAgB,OAAO,KAAnB,SAAsB,QAAO,EAAkB,GAAG,EAAE;EAAE,IAAI,IAAI,EAAE,CAAC,SAAS,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG;AAAE,SAAoB,MAAb,YAAkB,EAAE,gBAAgB,IAAI,EAAE,YAAY,OAAiB,MAAV,SAAyB,MAAV,QAAc,MAAM,KAAK,EAAE,GAAmB,MAAhB,eAAqB,2CAA2C,KAAK,EAAE,GAAG,EAAkB,GAAG,EAAE,GAAG,KAAK;;;AACpX,SAAS,EAAkB,GAAG,GAAG;AAAE,EAAS,KAAR,QAAa,IAAI,EAAE,YAAY,IAAI,EAAE;AAAS,MAAK,IAAI,IAAI,GAAG,IAAI,MAAM,EAAE,EAAE,IAAI,GAAG,IAAK,GAAE,KAAK,EAAE;AAAI,QAAO;;AAWhJ,SAAwB,EAAiB,GAAK,GAAS;AAErD,MAAK,IADD,IAAW,EAA0B,EAAuB,GAAK,EAAQ,CAAC,EACrE,IAAY,EAAgC,EAAS,EAAE,GAAO,EAAE,IAAQ,GAAW,EAAE,OAAO;EACnG,IAAI,IAAQ,EAAM;AAClB,IAA4B,GAAO,EAAQ;;AAE7C,QAAO"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js
2
+ function e(e) {
3
+ return "</" + e + ">";
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=getClosingTagMarkup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClosingTagMarkup.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js"],"sourcesContent":["/**\r\n * Returns XML for a \"closing tag\" with a given `tagName`.\r\n * @param {string} tagName\r\n * @returns {string}\r\n */\nexport default function getClosingTagMarkup(tagName) {\n return '</' + tagName + '>';\n}\n//# sourceMappingURL=getClosingTagMarkup.js.map"],"x_google_ignoreList":[0],"mappings":";AAKA,SAAwB,EAAoB,GAAS;AACnD,QAAO,OAAO,IAAU"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js
2
+ function e(e, t) {
3
+ return t.selfClosingTag ? "" : e.substring(t.openingTagEndIndex + 1, t.closingTagStartIndex);
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=getMarkupInsideElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMarkupInsideElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js"],"sourcesContent":["/**\r\n * Returns the XML inside an `element` that was found in `xml` using `findElement()` function.\r\n * @param {string} xml\r\n * @param {FoundElement} element\r\n * @returns {string}\r\n */\nexport default function getMarkupInsideElement(xml, element) {\n if (element.selfClosingTag) {\n return '';\n }\n return xml.substring(element.openingTagEndIndex + 1, element.closingTagStartIndex);\n}\n//# sourceMappingURL=getMarkupInsideElement.js.map"],"x_google_ignoreList":[0],"mappings":";AAMA,SAAwB,EAAuB,GAAK,GAAS;AAI3D,QAHI,EAAQ,iBACH,KAEF,EAAI,UAAU,EAAQ,qBAAqB,GAAG,EAAQ,qBAAqB"}
@@ -0,0 +1,9 @@
1
+ import e from "./getAttributesString.js";
2
+ //#region node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js
3
+ function t(t, n) {
4
+ return "<" + t + (n ? e(n) : "") + ">";
5
+ }
6
+ //#endregion
7
+ export { t as default };
8
+
9
+ //# sourceMappingURL=getOpeningTagMarkup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOpeningTagMarkup.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js"],"sourcesContent":["import getAttributesString from './getAttributesString.js';\n\n/**\r\n * Returns XML for an \"opening tag\" with a given `tagName` and optional `attributes`.\r\n * @param {string} tagName\r\n * @param {object} [attributes]\r\n * @returns {string}\r\n */\nexport default function getOpeningTagMarkup(tagName, attributes) {\n return '<' + tagName + (attributes ? getAttributesString(attributes) : '') + '>';\n}\n//# sourceMappingURL=getOpeningTagMarkup.js.map"],"x_google_ignoreList":[0],"mappings":";;AAQA,SAAwB,EAAoB,GAAS,GAAY;AAC/D,QAAO,MAAM,KAAW,IAAa,EAAoB,EAAW,GAAG,MAAM"}
@@ -0,0 +1,9 @@
1
+ import e from "./getOpeningTagMarkup.js";
2
+ //#region node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js
3
+ function t(t, n) {
4
+ return e(t, n).slice(0, -1) + "/>";
5
+ }
6
+ //#endregion
7
+ export { t as default };
8
+
9
+ //# sourceMappingURL=getSelfClosingTagMarkup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSelfClosingTagMarkup.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js"],"sourcesContent":["import getOpeningTagMarkup from './getOpeningTagMarkup.js';\n\n/**\r\n * Returns XML for an element with a given `tagName`, optional `attributes` and no child elements.\r\n * @param {string} tagName\r\n * @param {object} [attributes]\r\n * @returns {string}\r\n */\nexport default function getSelfClosingTagMarkup(tagName, attributes) {\n return getOpeningTagMarkup(tagName, attributes).slice(0, -1) + '/>';\n}\n//# sourceMappingURL=getSelfClosingTagMarkup.js.map"],"x_google_ignoreList":[0],"mappings":";;AAQA,SAAwB,EAAwB,GAAS,GAAY;AACnE,QAAO,EAAoB,GAAS,EAAW,CAAC,MAAM,GAAG,GAAG,GAAG"}
@@ -0,0 +1,64 @@
1
+ import { getOpeningTagRegExpPattern as e } from "./findElementsNonRecursive_.js";
2
+ import t from "./findElement.js";
3
+ import n from "./appendMarkupInsideElement.js";
4
+ import r from "./getChildElements.js";
5
+ import i from "./prependMarkupInsideElement.js";
6
+ //#region node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js
7
+ function a(e, t) {
8
+ var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9
+ if (n) return (n = n.call(e)).next.bind(n);
10
+ if (Array.isArray(e) || (n = o(e)) || t && e && typeof e.length == "number") {
11
+ n && (e = n);
12
+ var r = 0;
13
+ return function() {
14
+ return r >= e.length ? { done: !0 } : {
15
+ done: !1,
16
+ value: e[r++]
17
+ };
18
+ };
19
+ }
20
+ throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
21
+ }
22
+ function o(e, t) {
23
+ if (e) {
24
+ if (typeof e == "string") return s(e, t);
25
+ var n = {}.toString.call(e).slice(8, -1);
26
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? s(e, t) : void 0;
27
+ }
28
+ }
29
+ function s(e, t) {
30
+ (t == null || t > e.length) && (t = e.length);
31
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
32
+ return r;
33
+ }
34
+ function c(e, o, s) {
35
+ var c = [...arguments].slice(3);
36
+ if (c.length === 0) throw Error("At least one parent element tag name is required");
37
+ c = c.slice().reverse();
38
+ for (var u, d = function() {
39
+ var n = p.value;
40
+ if (u = u ? r(e, u).find(function(e) {
41
+ return e.tagName === n;
42
+ }) : t(e, n), !u) throw Error(`Element not found: <${n}>`);
43
+ }, f = a(c), p; !(p = f()).done;) d();
44
+ var m = o.match(l);
45
+ if (!m) throw Error(`Couldn't extract tag name from markup: ${o}`);
46
+ var h = m[1];
47
+ if (!s || s.length < 2) return n(e, u, o);
48
+ var g = r(e, u);
49
+ if (g.length === 0) return n(e, u, o);
50
+ var _ = s.indexOf(h);
51
+ if (_ < 0) return n(e, u, o);
52
+ for (var v = s.slice(0, _).reverse(), y = function() {
53
+ var t = S.value, n = g.find(function(e) {
54
+ return e.tagName === t;
55
+ });
56
+ if (n) return { v: e.slice(0, n.selfClosingTag ? n.openingTagEndIndex + 1 : n.closingTagEndIndex + 1) + o + e.slice(n.selfClosingTag ? n.openingTagEndIndex + 1 : n.closingTagEndIndex + 1) };
57
+ }, b, x = a(v), S; !(S = x()).done;) if (b = y(), b) return b.v;
58
+ return i(e, u, o);
59
+ }
60
+ var l = new RegExp(e());
61
+ //#endregion
62
+ export { c as default };
63
+
64
+ //# sourceMappingURL=insertElementMarkupAccordingToOrderOfSiblings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"insertElementMarkupAccordingToOrderOfSiblings.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport findElement from './findElement.js';\nimport { getOpeningTagRegExpPattern } from './findElementsNonRecursive_.js';\nimport appendMarkupInsideElement from './appendMarkupInsideElement.js';\nimport getChildElements from './getChildElements.js';\nimport prependMarkupInsideElement from './prependMarkupInsideElement.js';\nexport default function insertElementMarkupAccordingToOrderOfSiblings(xml, elementMarkup, orderOfSiblings) {\n for (var _len = arguments.length, parentElementTagNames = new Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n parentElementTagNames[_key - 3] = arguments[_key];\n }\n if (parentElementTagNames.length === 0) {\n throw new Error('At least one parent element tag name is required');\n }\n\n // Reorder the parent elements from top to bottom.\n parentElementTagNames = parentElementTagNames.slice().reverse();\n\n // Find the immediate parent element.\n var parentElement;\n var _loop = function _loop() {\n var parentElementTagName = _step.value;\n if (parentElement) {\n // Doesn't use `findElementInsideElement()` here in order to only search\n // in the immediate children of the `parentElement`.\n // parentElement = findElementInsideElement(xml, parentElementTagName, parentElement)\n parentElement = getChildElements(xml, parentElement).find(function (_) {\n return _.tagName === parentElementTagName;\n });\n } else {\n parentElement = findElement(xml, parentElementTagName);\n }\n if (!parentElement) {\n throw new Error(\"Element not found: <\".concat(parentElementTagName, \">\"));\n }\n };\n for (var _iterator = _createForOfIteratorHelperLoose(parentElementTagNames), _step; !(_step = _iterator()).done;) {\n _loop();\n }\n\n // Get element's tag name.\n var elementTagNameMatch = elementMarkup.match(TAG_NAME_REG_EXP);\n if (!elementTagNameMatch) {\n throw new Error(\"Couldn't extract tag name from markup: \".concat(elementMarkup));\n }\n var elementTagName = elementTagNameMatch[1];\n\n // See if the `.xlsx` specification enforces a specific order of elements in such case.\n if (!orderOfSiblings || orderOfSiblings.length < 2) {\n return appendMarkupInsideElement(xml, parentElement, elementMarkup);\n }\n var children = getChildElements(xml, parentElement);\n if (children.length === 0) {\n return appendMarkupInsideElement(xml, parentElement, elementMarkup);\n }\n var elementTagNameOrder = orderOfSiblings.indexOf(elementTagName);\n if (elementTagNameOrder < 0) {\n // The element tag name is unknown.\n return appendMarkupInsideElement(xml, parentElement, elementMarkup);\n }\n var tagNamesBeforeElement = orderOfSiblings.slice(0, elementTagNameOrder).reverse();\n var _loop2 = function _loop2() {\n var tagName = _step2.value;\n var precedingElement = children.find(function (_) {\n return _.tagName === tagName;\n });\n if (precedingElement) {\n return {\n v: xml.slice(0, precedingElement.selfClosingTag ? precedingElement.openingTagEndIndex + 1 : precedingElement.closingTagEndIndex + 1) + elementMarkup + xml.slice(precedingElement.selfClosingTag ? precedingElement.openingTagEndIndex + 1 : precedingElement.closingTagEndIndex + 1)\n };\n }\n },\n _ret;\n for (var _iterator2 = _createForOfIteratorHelperLoose(tagNamesBeforeElement), _step2; !(_step2 = _iterator2()).done;) {\n _ret = _loop2();\n if (_ret) return _ret.v;\n }\n return prependMarkupInsideElement(xml, parentElement, elementMarkup);\n}\nvar TAG_NAME_REG_EXP = new RegExp(getOpeningTagRegExpPattern());\n\n// function findOrderOfElementsInsideParentElement(orderOfElements, parentElementTagName) {\n// \tfor (const element of orderOfElements) {\n// \t\tif (Array.isArray(element)) {\n// \t\t\tif (element[0] === parentElementTagName) {\n// \t\t\t\treturn element[1]\n// \t\t\t}\n// \t\t\tconst recursionResult = findOrderOfElementsInsideParentElement(element[1], parentElementTagName)\n// \t\t\tif (recursionResult) {\n// \t\t\t\treturn recursionResult\n// \t\t\t}\n// \t\t} else {\n// \t\t\t// No order of child elements is specified for the `element`\n// \t\t\t// so there's nothing to search for inside this `element`.\n// \t\t\t// And if the `element` happens to be `parentElementTagName`,\n// \t\t\t// there's no need to look any further at all\n// \t\t\t// because it seems that no order of child elements is specified\n// \t\t\t// for the `parentElementTagName`.\n// \t\t\tif (element === parentElementTagName) {\n// \t\t\t\treturn\n// \t\t\t}\n// \t\t}\n// \t}\n// }\n//# sourceMappingURL=insertElementMarkupAccordingToOrderOfSiblings.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;AAAA,SAAS,EAAgC,GAAG,GAAG;CAAE,IAAI,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,aAAa,EAAE;AAAe,KAAI,EAAG,SAAQ,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,EAAE;AAAE,KAAI,MAAM,QAAQ,EAAE,KAAK,IAAI,EAA4B,EAAE,KAAK,KAAK,KAAiB,OAAO,EAAE,UAArB,UAA6B;AAAE,QAAM,IAAI;EAAI,IAAI,IAAI;AAAG,SAAO,WAAY;AAAE,UAAO,KAAK,EAAE,SAAS,EAAE,MAAM,CAAC,GAAG,GAAG;IAAE,MAAM,CAAC;IAAG,OAAO,EAAE;IAAM;;;AAAO,OAAU,UAAU,wIAAwI;;AACviB,SAAS,EAA4B,GAAG,GAAG;AAAE,KAAI,GAAG;AAAE,MAAgB,OAAO,KAAnB,SAAsB,QAAO,EAAkB,GAAG,EAAE;EAAE,IAAI,IAAI,EAAE,CAAC,SAAS,KAAK,EAAE,CAAC,MAAM,GAAG,GAAG;AAAE,SAAoB,MAAb,YAAkB,EAAE,gBAAgB,IAAI,EAAE,YAAY,OAAiB,MAAV,SAAyB,MAAV,QAAc,MAAM,KAAK,EAAE,GAAmB,MAAhB,eAAqB,2CAA2C,KAAK,EAAE,GAAG,EAAkB,GAAG,EAAE,GAAG,KAAK;;;AACpX,SAAS,EAAkB,GAAG,GAAG;AAAE,EAAS,KAAR,QAAa,IAAI,EAAE,YAAY,IAAI,EAAE;AAAS,MAAK,IAAI,IAAI,GAAG,IAAI,MAAM,EAAE,EAAE,IAAI,GAAG,IAAK,GAAE,KAAK,EAAE;AAAI,QAAO;;AAMhJ,SAAwB,EAA8C,GAAK,GAAe,GAAiB;CACpG,IAA6B,QACE;AAEpC,KAAI,EAAsB,WAAW,EACnC,OAAU,MAAM,mDAAmD;AAIrE,KAAwB,EAAsB,OAAO,CAAC,SAAS;AAoB/D,MAAK,IAjBD,GACA,IAAQ,WAAiB;EAC3B,IAAI,IAAuB,EAAM;AAWjC,MAVA,AAQE,IARE,IAIc,EAAiB,GAAK,EAAc,CAAC,KAAK,SAAU,GAAG;AACrE,UAAO,EAAE,YAAY;IACrB,GAEc,EAAY,GAAK,EAAqB,EAEpD,CAAC,EACH,OAAU,MAAM,uBAA8B,KAA2B;IAGpE,IAAY,EAAgC,EAAsB,EAAE,GAAO,EAAE,IAAQ,GAAW,EAAE,MACzG,IAAO;CAIT,IAAI,IAAsB,EAAc,MAAM,EAAiB;AAC/D,KAAI,CAAC,EACH,OAAU,MAAM,0CAAiD,IAAe;CAElF,IAAI,IAAiB,EAAoB;AAGzC,KAAI,CAAC,KAAmB,EAAgB,SAAS,EAC/C,QAAO,EAA0B,GAAK,GAAe,EAAc;CAErE,IAAI,IAAW,EAAiB,GAAK,EAAc;AACnD,KAAI,EAAS,WAAW,EACtB,QAAO,EAA0B,GAAK,GAAe,EAAc;CAErE,IAAI,IAAsB,EAAgB,QAAQ,EAAe;AACjE,KAAI,IAAsB,EAExB,QAAO,EAA0B,GAAK,GAAe,EAAc;AAerE,MAAK,IAbD,IAAwB,EAAgB,MAAM,GAAG,EAAoB,CAAC,SAAS,EAC/E,IAAS,WAAkB;EAC3B,IAAI,IAAU,EAAO,OACjB,IAAmB,EAAS,KAAK,SAAU,GAAG;AAChD,UAAO,EAAE,YAAY;IACrB;AACF,MAAI,EACF,QAAO,EACL,GAAG,EAAI,MAAM,GAAG,EAAiB,iBAAiB,EAAiB,qBAAqB,IAAI,EAAiB,qBAAqB,EAAE,GAAG,IAAgB,EAAI,MAAM,EAAiB,iBAAiB,EAAiB,qBAAqB,IAAI,EAAiB,qBAAqB,EAAE,EACtR;IAGL,GACO,IAAa,EAAgC,EAAsB,EAAE,GAAQ,EAAE,IAAS,GAAY,EAAE,MAE7G,KADA,IAAO,GAAQ,EACX,EAAM,QAAO,EAAK;AAExB,QAAO,EAA2B,GAAK,GAAe,EAAc;;AAEtE,IAAI,IAAmB,IAAI,OAAO,GAA4B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import e from "./setMarkupInsideElement.js";
2
+ //#region node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js
3
+ function t(t, n, r) {
4
+ return n.selfClosingTag ? e(t, n, r) : t.slice(0, n.openingTagEndIndex + 1) + r + t.slice(n.openingTagEndIndex + 1);
5
+ }
6
+ //#endregion
7
+ export { t as default };
8
+
9
+ //# sourceMappingURL=prependMarkupInsideElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prependMarkupInsideElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js"],"sourcesContent":["import setMarkupInsideElement from './setMarkupInsideElement.js';\n\n/**\r\n * Prepends XML inside an `element` that was found in `xml` using `findElement()` function.\r\n * @param {string} xml\r\n * @param {FoundElement} element\r\n * @param {string} addedXml\r\n * @returns {string}\r\n */\nexport default function prependMarkupInsideElement(xml, element, addedXml) {\n if (element.selfClosingTag) {\n return setMarkupInsideElement(xml, element, addedXml);\n }\n return xml.slice(0, element.openingTagEndIndex + 1) + addedXml + xml.slice(element.openingTagEndIndex + 1);\n}\n//# sourceMappingURL=prependMarkupInsideElement.js.map"],"x_google_ignoreList":[0],"mappings":";;AASA,SAAwB,EAA2B,GAAK,GAAS,GAAU;AAIzE,QAHI,EAAQ,iBACH,EAAuB,GAAK,GAAS,EAAS,GAEhD,EAAI,MAAM,GAAG,EAAQ,qBAAqB,EAAE,GAAG,IAAW,EAAI,MAAM,EAAQ,qBAAqB,EAAE"}
@@ -0,0 +1,9 @@
1
+ //#region node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js
2
+ var e = /((?:[\0-\x08\x0B\f\x0E-\x1F\uFFFD\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]))/g, t = /* @__PURE__ */ RegExp("([\\x7F-\\x84]|[\\x86-\\x9F]|[\\uFDD0-\\uFDEF]|(?:\\uD83F[\\uDFFE\\uDFFF])|(?:\\uD87F[\\uDFFE\\uDFFF])|(?:\\uD8BF[\\uDFFE\\uDFFF])|(?:\\uD8FF[\\uDFFE\\uDFFF])|(?:\\uD93F[\\uDFFE\\uDFFF])|(?:\\uD97F[\\uDFFE\\uDFFF])|(?:\\uD9BF[\\uDFFE\\uDFFF])|(?:\\uD9FF[\\uDFFE\\uDFFF])|(?:\\uDA3F[\\uDFFE\\uDFFF])|(?:\\uDA7F[\\uDFFE\\uDFFF])|(?:\\uDABF[\\uDFFE\\uDFFF])|(?:\\uDAFF[\\uDFFE\\uDFFF])|(?:\\uDB3F[\\uDFFE\\uDFFF])|(?:\\uDB7F[\\uDFFE\\uDFFF])|(?:\\uDBBF[\\uDFFE\\uDFFF])|(?:\\uDBFF[\\uDFFE\\uDFFF])(?:[\\0-\\t\\x0B\\f\\x0E-\\u2027\\u202A-\\uD7FF\\uE000-\\uFFFF]|[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]))", "g");
3
+ function n(n) {
4
+ return n = n.replace(e, ""), n = n.replace(t, ""), n;
5
+ }
6
+ //#endregion
7
+ export { n as default };
8
+
9
+ //# sourceMappingURL=removeInvalidXmlCharacters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeInvalidXmlCharacters.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js"],"sourcesContent":["var INVALID_CHARACTERS = /((?:[\\0-\\x08\\x0B\\f\\x0E-\\x1F\\uFFFD\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]))/g;\nvar DISCOURAGED_CHARACTERS = new RegExp(\"([\\\\x7F-\\\\x84]|[\\\\x86-\\\\x9F]|[\\\\uFDD0-\\\\uFDEF]|(?:\\\\uD83F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD87F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD8BF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD8FF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD93F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD97F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD9BF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uD9FF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDA3F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDA7F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDABF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDAFF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDB3F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDB7F[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDBBF[\\\\uDFFE\\\\uDFFF])|(?:\\\\uDBFF[\\\\uDFFE\\\\uDFFF])(?:[\\\\0-\\\\t\\\\x0B\\\\f\\\\x0E-\\\\u2027\\\\u202A-\\\\uD7FF\\\\uE000-\\\\uFFFF]|[\\\\uD800-\\\\uDBFF][\\\\uDC00-\\\\uDFFF]|[\\\\uD800-\\\\uDBFF](?![\\\\uDC00-\\\\uDFFF])|(?:[^\\\\uD800-\\\\uDBFF]|^)[\\\\uDC00-\\\\uDFFF]))\", 'g');\n\n/**\r\n * Removes \"invalid\" or \"discouraged\" XML characters from a string.\r\n * \"Invalid\" characters are \"C0 control characters\" or \"surrogate blocks\" (\"non-characters\" and \"surrogate pairs\").\r\n * \"Discouraged\" characters are the ones that're officially discouraged from use in XML documents by the XML specification.\r\n * @param {string} string - a string containing potentially invalid XML characters (non-UTF8 characters, STX, EOX etc)\r\n * @return {string} a sanitized string stripped of invalid (and by default also discouraged) XML characters\r\n */\nexport default function removeInvalidXmlCharacters(string) {\n // Remove everything forbidden by XML 1.0 specification,\n // plus the unicode replacement character U+FFFD.\n string = string.replace(INVALID_CHARACTERS, '');\n\n // Remove everything discouraged by XML 1.0 specification.\n // I.e. strictly speaking, these characters are still valid\n // but also officially discouraged from use in XML documents.\n string = string.replace(DISCOURAGED_CHARACTERS, '');\n return string;\n}\n//# sourceMappingURL=removeInvalidXmlCharacters.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAI,IAAqB,8HACrB,IAAyB,gBAAI,OAAO,uqBAAuqB,IAAI;AASntB,SAAwB,EAA2B,GAAQ;AASzD,QANA,IAAS,EAAO,QAAQ,GAAoB,GAAG,EAK/C,IAAS,EAAO,QAAQ,GAAwB,GAAG,EAC5C"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/write-excel-file/modules/xml/replaceElement.js
2
+ function e(e, t, n) {
3
+ return t.selfClosingTag ? e.slice(0, t.openingTagStartIndex) + n + e.slice(t.openingTagEndIndex + 1) : e.slice(0, t.openingTagStartIndex) + n + e.slice(t.closingTagEndIndex + 1);
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=replaceElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replaceElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/replaceElement.js"],"sourcesContent":["/**\r\n * Replaces an `element` that was found in `xml` using `findElement()` function with a given `replacementXml` markup.\r\n * @param {string} xml\r\n * @param {FoundElement} element\r\n * @param {string} replacementXml\r\n * @returns {string}\r\n */\nexport default function replaceElement(xml, element, replacementXml) {\n if (element.selfClosingTag) {\n return xml.slice(0, element.openingTagStartIndex) + replacementXml + xml.slice(element.openingTagEndIndex + 1);\n }\n return xml.slice(0, element.openingTagStartIndex) + replacementXml + xml.slice(element.closingTagEndIndex + 1);\n}\n//# sourceMappingURL=replaceElement.js.map"],"x_google_ignoreList":[0],"mappings":";AAOA,SAAwB,EAAe,GAAK,GAAS,GAAgB;AAInE,QAHI,EAAQ,iBACH,EAAI,MAAM,GAAG,EAAQ,qBAAqB,GAAG,IAAiB,EAAI,MAAM,EAAQ,qBAAqB,EAAE,GAEzG,EAAI,MAAM,GAAG,EAAQ,qBAAqB,GAAG,IAAiB,EAAI,MAAM,EAAQ,qBAAqB,EAAE"}
@@ -0,0 +1,10 @@
1
+ import e from "./removeInvalidXmlCharacters.js";
2
+ //#region node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js
3
+ function t(t) {
4
+ if (typeof t != "string") throw TypeError("Argument must be a string");
5
+ return t = e(t), t.replace(/[^a-zA-Z_0-9-.:]/g, "").replace(/^[^a-zA-Z_]+/, "");
6
+ }
7
+ //#endregion
8
+ export { t as default };
9
+
10
+ //# sourceMappingURL=sanitizeAttributeName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitizeAttributeName.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js"],"sourcesContent":["import removeInvalidXmlCharacters from './removeInvalidXmlCharacters.js';\n\n/**\r\n * Removes invalid characters and escapes \"speciaL\" characters in an XML attribute's name.\r\n * @param {string} attributeName\r\n * @returns {string}\r\n */\nexport default function sanitizeAttributeName(attributeName) {\n if (typeof attributeName !== 'string') {\n throw new TypeError('Argument must be a string');\n }\n // Remove characters that're invalid in XML.\n attributeName = removeInvalidXmlCharacters(attributeName);\n // Remove characters that're invalid in an XML attribute name.\n return attributeName.replace(/[^a-zA-Z_0-9-.:]/g, '').replace(/^[^a-zA-Z_]+/, '');\n}\n//# sourceMappingURL=sanitizeAttributeName.js.map"],"x_google_ignoreList":[0],"mappings":";;AAOA,SAAwB,EAAsB,GAAe;AAC3D,KAAI,OAAO,KAAkB,SAC3B,OAAU,UAAU,4BAA4B;AAKlD,QAFA,IAAgB,EAA2B,EAAc,EAElD,EAAc,QAAQ,qBAAqB,GAAG,CAAC,QAAQ,gBAAgB,GAAG"}
@@ -0,0 +1,11 @@
1
+ import e from "./escapeXmlSpecialCharacters.js";
2
+ import t from "./removeInvalidXmlCharacters.js";
3
+ //#region node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js
4
+ function n(n) {
5
+ if (typeof n != "string") throw TypeError("Argument must be a string");
6
+ return n = t(n), e(n, { isAttributeValue: !0 });
7
+ }
8
+ //#endregion
9
+ export { n as default };
10
+
11
+ //# sourceMappingURL=sanitizeAttributeValue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitizeAttributeValue.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js"],"sourcesContent":["import escapeXmlSpecialCharacters from './escapeXmlSpecialCharacters.js';\nimport removeInvalidXmlCharacters from './removeInvalidXmlCharacters.js';\n\n/**\r\n * Removes invalid characters and escapes \"speciaL\" characters in an XML attribute's value.\r\n * @param {string} attributeValue\r\n * @returns {string}\r\n */\nexport default function sanitizeAttributeValue(attributeValue) {\n if (typeof attributeValue !== 'string') {\n throw new TypeError('Argument must be a string');\n }\n // Remove characters that're invalid in XML.\n attributeValue = removeInvalidXmlCharacters(attributeValue);\n // Escape \"special\" characters.\n return escapeXmlSpecialCharacters(attributeValue, {\n isAttributeValue: true\n });\n}\n//# sourceMappingURL=sanitizeAttributeValue.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAQA,SAAwB,EAAuB,GAAgB;AAC7D,KAAI,OAAO,KAAmB,SAC5B,OAAU,UAAU,4BAA4B;AAKlD,QAFA,IAAiB,EAA2B,EAAe,EAEpD,EAA2B,GAAgB,EAChD,kBAAkB,IACnB,CAAC"}
@@ -0,0 +1,11 @@
1
+ import e from "./escapeXmlSpecialCharacters.js";
2
+ import t from "./removeInvalidXmlCharacters.js";
3
+ //#region node_modules/write-excel-file/modules/xml/sanitizeTextContent.js
4
+ function n(n) {
5
+ if (typeof n != "string") throw TypeError("Argument must be a string");
6
+ return n = t(n), e(n, { isAttributeValue: !1 });
7
+ }
8
+ //#endregion
9
+ export { n as default };
10
+
11
+ //# sourceMappingURL=sanitizeTextContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sanitizeTextContent.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/sanitizeTextContent.js"],"sourcesContent":["import escapeXmlSpecialCharacters from './escapeXmlSpecialCharacters.js';\nimport removeInvalidXmlCharacters from './removeInvalidXmlCharacters.js';\n\n/**\r\n * Removes invalid characters and escapes \"speciaL\" characters in an XML element's text content.\r\n * @param {string} textContent\r\n * @returns {string}\r\n */\nexport default function sanitizeTextContent(textContent) {\n if (typeof textContent !== 'string') {\n throw new TypeError('Argument must be a string');\n }\n // Remove characters that're invalid in XML.\n textContent = removeInvalidXmlCharacters(textContent);\n // Escape \"special\" characters.\n return escapeXmlSpecialCharacters(textContent, {\n isAttributeValue: false\n });\n}\n//# sourceMappingURL=sanitizeTextContent.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAQA,SAAwB,EAAoB,GAAa;AACvD,KAAI,OAAO,KAAgB,SACzB,OAAU,UAAU,4BAA4B;AAKlD,QAFA,IAAc,EAA2B,EAAY,EAE9C,EAA2B,GAAa,EAC7C,kBAAkB,IACnB,CAAC"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js
2
+ function e(e, t, n) {
3
+ return n ? t.selfClosingTag ? e.slice(0, t.openingTagEndIndex - 1) + ">" + n + "</" + t.tagName + ">" + e.slice(t.openingTagEndIndex + 1) : e.slice(0, t.openingTagEndIndex + 1) + n + e.slice(t.closingTagStartIndex) : t.selfClosingTag ? e : e.slice(0, t.openingTagEndIndex) + "/>" + e.slice(t.closingTagEndIndex + 1);
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=setMarkupInsideElement.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setMarkupInsideElement.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js"],"sourcesContent":["/**\r\n * Replaces the XML inside an `element` that was found in `xml` using `findElement()` function.\r\n * @param {string} xml\r\n * @param {FoundElement} element\r\n * @param {string} [replacementXml]\r\n * @returns {string}\r\n */\nexport default function setMarkupInsideElement(xml, element, replacementXml) {\n if (replacementXml) {\n if (element.selfClosingTag) {\n return xml.slice(0, element.openingTagEndIndex - '/'.length) + '>' + replacementXml + '</' + element.tagName + '>' + xml.slice(element.openingTagEndIndex + 1);\n }\n return xml.slice(0, element.openingTagEndIndex + 1) + replacementXml + xml.slice(element.closingTagStartIndex);\n } else {\n if (element.selfClosingTag) {\n return xml;\n }\n return xml.slice(0, element.openingTagEndIndex) + '/>' + xml.slice(element.closingTagEndIndex + 1);\n }\n}\n//# sourceMappingURL=setMarkupInsideElement.js.map"],"x_google_ignoreList":[0],"mappings":";AAOA,SAAwB,EAAuB,GAAK,GAAS,GAAgB;AAUzE,QATE,IACE,EAAQ,iBACH,EAAI,MAAM,GAAG,EAAQ,qBAAqB,EAAW,GAAG,MAAM,IAAiB,OAAO,EAAQ,UAAU,MAAM,EAAI,MAAM,EAAQ,qBAAqB,EAAE,GAEzJ,EAAI,MAAM,GAAG,EAAQ,qBAAqB,EAAE,GAAG,IAAiB,EAAI,MAAM,EAAQ,qBAAqB,GAE1G,EAAQ,iBACH,IAEF,EAAI,MAAM,GAAG,EAAQ,mBAAmB,GAAG,OAAO,EAAI,MAAM,EAAQ,qBAAqB,EAAE"}
@@ -0,0 +1,18 @@
1
+ import { zip as e } from "../../../fflate/esm/browser.js";
2
+ //#region node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js
3
+ function t(e) {
4
+ return n(e).then(function(e) {
5
+ return e.buffer;
6
+ });
7
+ }
8
+ function n(t) {
9
+ return new Promise(function(n, r) {
10
+ e(t, function(e, t) {
11
+ e ? r(e) : n(t);
12
+ });
13
+ });
14
+ }
15
+ //#endregion
16
+ export { t as default };
17
+
18
+ //# sourceMappingURL=zipToArrayBuffer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zipToArrayBuffer.js","names":[],"sources":["../../../../../node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js"],"sourcesContent":["// `fflate` readme is too complicated:\n// https://github.com/101arrowz/fflate/issues/251\n// I just used whatever approach seemed to work.\n//\n// It was a choice between \"syncrhonous\" (blocking) unzip via `zipSync()`\n// and \"asynchronous\" (non-blocking) unzip via `zip()`.\n//\n// In the readme they say that using \"asynchronous\" API will cause the compression or decompression\n// run in a separate thread by using Web (or Node) Workers, so it won't block the main thread.\n// Yet, they also say that there is an initial overhead to using workers of about 50ms for each\n// asynchronous function. For small (under about 50kB) payloads, they say that the \"asynchronous\" API\n// will be much slower compared to the \"synchronous\" one. However, when compressing larger files\n// or multiple files at once, the \"synchronous\" API causes the main thread to hang for too long,\n// and the \"asynchronous\" API is an order of magnitude better.\n//\nimport { zip } from 'fflate';\n\n/**\r\n * Creates a `*.zip` file from a map of files.\r\n * @param {Record<string,Uint8Array>} files\r\n * @return {Promise<ArrayBuffer>} Promise of `*.zip` file data.\r\n */\nexport default function zipToArrayBuffer(files) {\n return zipAsync(files).then(function (uint8Array) {\n return uint8Array.buffer;\n });\n}\nfunction zipAsync(files) {\n return new Promise(function (resolve, reject) {\n // `zip()` will resort to \"synchronous\" compression in an edge case:\n // * When an individual file size is less than `160KB`.\n zip(files, function (error, archive) {\n if (error) {\n reject(error);\n } else {\n resolve(archive);\n }\n });\n });\n}\n//# sourceMappingURL=zipToArrayBuffer.js.map"],"x_google_ignoreList":[0],"mappings":";;AAsBA,SAAwB,EAAiB,GAAO;AAC9C,QAAO,EAAS,EAAM,CAAC,KAAK,SAAU,GAAY;AAChD,SAAO,EAAW;GAClB;;AAEJ,SAAS,EAAS,GAAO;AACvB,QAAO,IAAI,QAAQ,SAAU,GAAS,GAAQ;AAG5C,IAAI,GAAO,SAAU,GAAO,GAAS;AACnC,GAAI,IACF,EAAO,EAAM,GAEb,EAAQ,EAAQ;IAElB;GACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlanMagnetRoot.d.ts","sourceRoot":"","sources":["../../src/planmagnet/PlanMagnetRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAoC3C,OAAO,KAAK,EAAW,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAW5D,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAqWlD,CAAC"}
1
+ {"version":3,"file":"PlanMagnetRoot.d.ts","sourceRoot":"","sources":["../../src/planmagnet/PlanMagnetRoot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAa,MAAM,OAAO,CAAC;AAqC3C,OAAO,KAAK,EAAW,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAW5D,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CA6WlD,CAAC"}