@burdenoff/microfe-planmagnet 2026.930.24 → 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 (318) 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/comments/CommentThread.d.ts +8 -1
  177. package/dist/planmagnet/comments/CommentThread.d.ts.map +1 -1
  178. package/dist/planmagnet/comments/CommentThread.js +188 -181
  179. package/dist/planmagnet/comments/CommentThread.js.map +1 -1
  180. package/dist/planmagnet/comments/TargetComments.d.ts +10 -2
  181. package/dist/planmagnet/comments/TargetComments.d.ts.map +1 -1
  182. package/dist/planmagnet/comments/TargetComments.js +10 -8
  183. package/dist/planmagnet/comments/TargetComments.js.map +1 -1
  184. package/dist/planmagnet/comments/WorkItemComments.d.ts +7 -1
  185. package/dist/planmagnet/comments/WorkItemComments.d.ts.map +1 -1
  186. package/dist/planmagnet/comments/WorkItemComments.js +5 -4
  187. package/dist/planmagnet/comments/WorkItemComments.js.map +1 -1
  188. package/dist/planmagnet/controls/Pickers.d.ts +10 -0
  189. package/dist/planmagnet/controls/Pickers.d.ts.map +1 -1
  190. package/dist/planmagnet/controls/Pickers.js +75 -27
  191. package/dist/planmagnet/controls/Pickers.js.map +1 -1
  192. package/dist/planmagnet/discussion/WorkItemDiscussionPanel.d.ts +8 -0
  193. package/dist/planmagnet/discussion/WorkItemDiscussionPanel.d.ts.map +1 -0
  194. package/dist/planmagnet/discussion/WorkItemDiscussionPanel.js +217 -0
  195. package/dist/planmagnet/discussion/WorkItemDiscussionPanel.js.map +1 -0
  196. package/dist/planmagnet/docs/DocDiffView.d.ts +26 -0
  197. package/dist/planmagnet/docs/DocDiffView.d.ts.map +1 -0
  198. package/dist/planmagnet/docs/DocDiffView.js +52 -0
  199. package/dist/planmagnet/docs/DocDiffView.js.map +1 -0
  200. package/dist/planmagnet/docs/DocSuggestionsPanel.d.ts +13 -0
  201. package/dist/planmagnet/docs/DocSuggestionsPanel.d.ts.map +1 -0
  202. package/dist/planmagnet/docs/DocSuggestionsPanel.js +308 -0
  203. package/dist/planmagnet/docs/DocSuggestionsPanel.js.map +1 -0
  204. package/dist/planmagnet/docs/DocVersionCompare.d.ts +7 -0
  205. package/dist/planmagnet/docs/DocVersionCompare.d.ts.map +1 -0
  206. package/dist/planmagnet/docs/DocVersionCompare.js +105 -0
  207. package/dist/planmagnet/docs/DocVersionCompare.js.map +1 -0
  208. package/dist/planmagnet/hooks/usePresence.d.ts +39 -0
  209. package/dist/planmagnet/hooks/usePresence.d.ts.map +1 -0
  210. package/dist/planmagnet/hooks/usePresence.js +146 -0
  211. package/dist/planmagnet/hooks/usePresence.js.map +1 -0
  212. package/dist/planmagnet/index.d.ts +2 -0
  213. package/dist/planmagnet/index.d.ts.map +1 -1
  214. package/dist/planmagnet/index.js +2 -0
  215. package/dist/planmagnet/links/CodeLinksPanel.d.ts +22 -0
  216. package/dist/planmagnet/links/CodeLinksPanel.d.ts.map +1 -0
  217. package/dist/planmagnet/links/CodeLinksPanel.js +94 -0
  218. package/dist/planmagnet/links/CodeLinksPanel.js.map +1 -0
  219. package/dist/planmagnet/pages/DocsDocDetailPagePage.d.ts.map +1 -1
  220. package/dist/planmagnet/pages/DocsDocDetailPagePage.js +488 -217
  221. package/dist/planmagnet/pages/DocsDocDetailPagePage.js.map +1 -1
  222. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.d.ts.map +1 -1
  223. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js +136 -130
  224. package/dist/planmagnet/pages/ProductsRoadmapDetailPagePage.js.map +1 -1
  225. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.d.ts.map +1 -1
  226. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +205 -196
  227. package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js.map +1 -1
  228. package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts +6 -0
  229. package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts.map +1 -1
  230. package/dist/planmagnet/pages/ReportsCreateReportPagePage.js +5 -177
  231. package/dist/planmagnet/pages/ReportsCreateReportPagePage.js.map +1 -1
  232. package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts +3 -0
  233. package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts.map +1 -0
  234. package/dist/planmagnet/pages/ReportsEditReportPagePage.js +15 -0
  235. package/dist/planmagnet/pages/ReportsEditReportPagePage.js.map +1 -0
  236. package/dist/planmagnet/pages/ReportsReportPagePage.d.ts +7 -0
  237. package/dist/planmagnet/pages/ReportsReportPagePage.d.ts.map +1 -0
  238. package/dist/planmagnet/pages/ReportsReportPagePage.js +226 -0
  239. package/dist/planmagnet/pages/ReportsReportPagePage.js.map +1 -0
  240. package/dist/planmagnet/pages/ReportsReportsPagePage.d.ts.map +1 -1
  241. package/dist/planmagnet/pages/ReportsReportsPagePage.js +224 -496
  242. package/dist/planmagnet/pages/ReportsReportsPagePage.js.map +1 -1
  243. package/dist/planmagnet/pages/TasksTaskDetailPagePage.d.ts.map +1 -1
  244. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js +194 -160
  245. package/dist/planmagnet/pages/TasksTaskDetailPagePage.js.map +1 -1
  246. package/dist/planmagnet/presence/PresenceAvatars.d.ts +16 -0
  247. package/dist/planmagnet/presence/PresenceAvatars.d.ts.map +1 -0
  248. package/dist/planmagnet/presence/PresenceAvatars.js +56 -0
  249. package/dist/planmagnet/presence/PresenceAvatars.js.map +1 -0
  250. package/dist/planmagnet/reports/ExportMenu.d.ts +9 -0
  251. package/dist/planmagnet/reports/ExportMenu.d.ts.map +1 -0
  252. package/dist/planmagnet/reports/ExportMenu.js +116 -0
  253. package/dist/planmagnet/reports/ExportMenu.js.map +1 -0
  254. package/dist/planmagnet/reports/PrintReportView.d.ts +24 -0
  255. package/dist/planmagnet/reports/PrintReportView.d.ts.map +1 -0
  256. package/dist/planmagnet/reports/PrintReportView.js +75 -0
  257. package/dist/planmagnet/reports/PrintReportView.js.map +1 -0
  258. package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts +8 -0
  259. package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts.map +1 -0
  260. package/dist/planmagnet/reports/ReportBuilderCanvas.js +261 -0
  261. package/dist/planmagnet/reports/ReportBuilderCanvas.js.map +1 -0
  262. package/dist/planmagnet/reports/ReportBuilderPage.d.ts +5 -0
  263. package/dist/planmagnet/reports/ReportBuilderPage.d.ts.map +1 -0
  264. package/dist/planmagnet/reports/ReportBuilderPage.js +198 -0
  265. package/dist/planmagnet/reports/ReportBuilderPage.js.map +1 -0
  266. package/dist/planmagnet/reports/ReportRunHistory.d.ts +8 -0
  267. package/dist/planmagnet/reports/ReportRunHistory.d.ts.map +1 -0
  268. package/dist/planmagnet/reports/ReportRunHistory.js +63 -0
  269. package/dist/planmagnet/reports/ReportRunHistory.js.map +1 -0
  270. package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts +7 -0
  271. package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts.map +1 -0
  272. package/dist/planmagnet/reports/ReportWidgetRenderer.js +251 -0
  273. package/dist/planmagnet/reports/ReportWidgetRenderer.js.map +1 -0
  274. package/dist/planmagnet/reports/SchedulesPanel.d.ts +4 -0
  275. package/dist/planmagnet/reports/SchedulesPanel.d.ts.map +1 -0
  276. package/dist/planmagnet/reports/SchedulesPanel.js +457 -0
  277. package/dist/planmagnet/reports/SchedulesPanel.js.map +1 -0
  278. package/dist/planmagnet/reports/ShareDialog.d.ts +5 -0
  279. package/dist/planmagnet/reports/ShareDialog.d.ts.map +1 -0
  280. package/dist/planmagnet/reports/ShareDialog.js +234 -0
  281. package/dist/planmagnet/reports/ShareDialog.js.map +1 -0
  282. package/dist/planmagnet/reports/SharedReportPage.d.ts +4 -0
  283. package/dist/planmagnet/reports/SharedReportPage.d.ts.map +1 -0
  284. package/dist/planmagnet/reports/SharedReportPage.js +180 -0
  285. package/dist/planmagnet/reports/SharedReportPage.js.map +1 -0
  286. package/dist/planmagnet/reports/WidgetEditorDialog.d.ts +10 -0
  287. package/dist/planmagnet/reports/WidgetEditorDialog.d.ts.map +1 -0
  288. package/dist/planmagnet/reports/WidgetEditorDialog.js +220 -0
  289. package/dist/planmagnet/reports/WidgetEditorDialog.js.map +1 -0
  290. package/dist/planmagnet/reports/reportExportPptx.d.ts +4 -0
  291. package/dist/planmagnet/reports/reportExportPptx.d.ts.map +1 -0
  292. package/dist/planmagnet/reports/reportExportPptx.js +118 -0
  293. package/dist/planmagnet/reports/reportExportPptx.js.map +1 -0
  294. package/dist/planmagnet/reports/reportExportXlsx.d.ts +4 -0
  295. package/dist/planmagnet/reports/reportExportXlsx.d.ts.map +1 -0
  296. package/dist/planmagnet/reports/reportExportXlsx.js +42 -0
  297. package/dist/planmagnet/reports/reportExportXlsx.js.map +1 -0
  298. package/dist/planmagnet/reports/reportGraphql.d.ts +28 -0
  299. package/dist/planmagnet/reports/reportGraphql.d.ts.map +1 -0
  300. package/dist/planmagnet/reports/reportGraphql.js +360 -0
  301. package/dist/planmagnet/reports/reportGraphql.js.map +1 -0
  302. package/dist/planmagnet/reports/reportModel.d.ts +198 -0
  303. package/dist/planmagnet/reports/reportModel.d.ts.map +1 -0
  304. package/dist/planmagnet/reports/reportModel.js +328 -0
  305. package/dist/planmagnet/reports/reportModel.js.map +1 -0
  306. package/dist/planmagnet/reports/sharedReportRoute.d.ts +14 -0
  307. package/dist/planmagnet/reports/sharedReportRoute.d.ts.map +1 -0
  308. package/dist/planmagnet/reports/sharedReportRoute.js +9 -0
  309. package/dist/planmagnet/reports/sharedReportRoute.js.map +1 -0
  310. package/dist/planmagnet/utils/graphqlErrors.d.ts +6 -0
  311. package/dist/planmagnet/utils/graphqlErrors.d.ts.map +1 -1
  312. package/dist/planmagnet/utils/graphqlErrors.js +5 -2
  313. package/dist/planmagnet/utils/graphqlErrors.js.map +1 -1
  314. package/dist/planmagnet/utils/lineDiff.d.ts +21 -0
  315. package/dist/planmagnet/utils/lineDiff.d.ts.map +1 -0
  316. package/dist/planmagnet/utils/lineDiff.js +36 -0
  317. package/dist/planmagnet/utils/lineDiff.js.map +1 -0
  318. package/package.json +6 -4
@@ -0,0 +1,242 @@
1
+ import e from "../xml/getSelfClosingTagMarkup.js";
2
+ import t from "./files/workbook.xml.js";
3
+ import n from "./files/workbook.xml.rels.js";
4
+ import r from "./files/rels.js";
5
+ import i, { getDrawingContentTypeXml as a } from "./files/_Content_Types_.xml.js";
6
+ import o from "./files/drawing.xml.js";
7
+ import s from "./files/drawing.xml.rels.js";
8
+ import c from "./helpers/isObject.js";
9
+ import l from "./files/sheet.xml/drawingReference.js";
10
+ import u from "./files/sheet.xml/sheet.xml.js";
11
+ import d, { getDrawingRelationshipXml as f } from "./files/sheet.xml.rels.js";
12
+ import p from "./files/sharedStrings.xml.js";
13
+ import m from "./files/styles.xml.js";
14
+ import h from "./getFeatures.js";
15
+ import g from "./validateSheetData.js";
16
+ import _ from "./initializeSheets.js";
17
+ import v from "../getSheetData/getSheetData.js";
18
+ import y from "./helpers/features/getWrittenFiles.js";
19
+ //#region node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js
20
+ function b(e) {
21
+ "@babel/helpers - typeof";
22
+ return b = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
23
+ return typeof e;
24
+ } : function(e) {
25
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
26
+ }, b(e);
27
+ }
28
+ var x = ["data"];
29
+ function S(e, t) {
30
+ var n = Object.keys(e);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var r = Object.getOwnPropertySymbols(e);
33
+ t && (r = r.filter(function(t) {
34
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
35
+ })), n.push.apply(n, r);
36
+ }
37
+ return n;
38
+ }
39
+ function C(e) {
40
+ for (var t = 1; t < arguments.length; t++) {
41
+ var n = arguments[t] == null ? {} : arguments[t];
42
+ t % 2 ? S(Object(n), !0).forEach(function(t) {
43
+ w(e, t, n[t]);
44
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function(t) {
45
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
46
+ });
47
+ }
48
+ return e;
49
+ }
50
+ function w(e, t, n) {
51
+ return (t = T(t)) in e ? Object.defineProperty(e, t, {
52
+ value: n,
53
+ enumerable: !0,
54
+ configurable: !0,
55
+ writable: !0
56
+ }) : e[t] = n, e;
57
+ }
58
+ function T(e) {
59
+ var t = E(e, "string");
60
+ return b(t) == "symbol" ? t : t + "";
61
+ }
62
+ function E(e, t) {
63
+ if (b(e) != "object" || !e) return e;
64
+ var n = e[Symbol.toPrimitive];
65
+ if (n !== void 0) {
66
+ var r = n.call(e, t || "default");
67
+ if (b(r) != "object") return r;
68
+ throw TypeError("@@toPrimitive must return a primitive value.");
69
+ }
70
+ return (t === "string" ? String : Number)(e);
71
+ }
72
+ function D(e, t) {
73
+ if (e == null) return {};
74
+ var n, r, i = O(e, t);
75
+ if (Object.getOwnPropertySymbols) {
76
+ var a = Object.getOwnPropertySymbols(e);
77
+ for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
78
+ }
79
+ return i;
80
+ }
81
+ function O(e, t) {
82
+ if (e == null) return {};
83
+ var n = {};
84
+ for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
85
+ if (t.indexOf(r) !== -1) continue;
86
+ n[r] = e[r];
87
+ }
88
+ return n;
89
+ }
90
+ function k(e, t) {
91
+ var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
92
+ if (n) return (n = n.call(e)).next.bind(n);
93
+ if (Array.isArray(e) || (n = A(e)) || t && e && typeof e.length == "number") {
94
+ n && (e = n);
95
+ var r = 0;
96
+ return function() {
97
+ return r >= e.length ? { done: !0 } : {
98
+ done: !1,
99
+ value: e[r++]
100
+ };
101
+ };
102
+ }
103
+ throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
104
+ }
105
+ function A(e, t) {
106
+ if (e) {
107
+ if (typeof e == "string") return j(e, t);
108
+ var n = {}.toString.call(e).slice(8, -1);
109
+ 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) ? j(e, t) : void 0;
110
+ }
111
+ }
112
+ function j(e, t) {
113
+ (t == null || t > e.length) && (t = e.length);
114
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
115
+ return r;
116
+ }
117
+ function M(e, a, c) {
118
+ var l = R(e, a, c), f = l.sheets, g = l.options, v = f.map(function(e) {
119
+ return e.data;
120
+ }), b = f.map(function(e) {
121
+ return e.options;
122
+ });
123
+ b = z(b), b = B(b);
124
+ var x = h(g.features), S = {}, C = function(e) {
125
+ return S[e];
126
+ }, w = function(e) {
127
+ for (var t = 0, n = Object.keys(e); t < n.length; t++) {
128
+ var r = n[t];
129
+ I(r), L(r, e[r]), S[r] = e[r];
130
+ }
131
+ }, T = _(v, b, g), E = T.sheets, D = T.getSharedStrings, O = T.getCellStyles;
132
+ S["[Content_Types].xml"] = i({
133
+ sheetIds: E.map(function(e) {
134
+ return e.sheetId;
135
+ }),
136
+ features: x,
137
+ sheetsOptions: b
138
+ }), S["_rels/.rels"] = r({
139
+ features: x,
140
+ sheetsOptions: b
141
+ }), S["xl/_rels/workbook.xml.rels"] = n({
142
+ sheetIds: E.map(function(e) {
143
+ return e.sheetId;
144
+ }),
145
+ features: x,
146
+ sheetsOptions: b
147
+ }), S["xl/workbook.xml"] = t({
148
+ sheetIdsAndNames: E.map(function(e) {
149
+ return {
150
+ sheetId: e.sheetId,
151
+ sheetName: e.sheetName
152
+ };
153
+ }),
154
+ features: x,
155
+ sheetsOptions: b
156
+ });
157
+ for (var A = 0, j = k(E), M; !(M = j()).done;) {
158
+ var P = M.value, F = P.sheetId, V = P.sheetXmlParameters, H = b[A];
159
+ S[`xl/worksheets/sheet${F}.xml`] = u(V, x), S[`xl/worksheets/_rels/sheet${F}.xml.rels`] = d({
160
+ sheetIndex: A,
161
+ sheetId: F,
162
+ sheetOptions: H,
163
+ features: x
164
+ }), S[`xl/drawings/drawing${F}.xml`] = o({
165
+ sheetIndex: A,
166
+ sheetId: F,
167
+ sheetOptions: H,
168
+ features: x
169
+ }), S[`xl/drawings/_rels/drawing${F}.xml.rels`] = s({
170
+ sheetIndex: A,
171
+ sheetId: F,
172
+ sheetOptions: H,
173
+ features: x
174
+ }), A++;
175
+ }
176
+ return w(y(x, b, { read: C })), S["xl/styles.xml"] = m(O(), b, x), S["xl/sharedStrings.xml"] = p(D()), N(S, E), S;
177
+ }
178
+ function N(t, n) {
179
+ for (var r = k(n), i; !(i = r()).done;) {
180
+ var o = i.value.sheetId;
181
+ if (t[`xl/drawings/drawing${o}.xml`] === "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><xdr:wsDr xmlns:xdr=\"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing\" xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\"></xdr:wsDr>") {
182
+ if (delete t[`xl/drawings/drawing${o}.xml`], delete t[`xl/drawings/_rels/drawing${o}.xml.rels`], !F(t, `xl/worksheets/sheet${o}.xml`, l(e))) throw Error(P);
183
+ F(t, `xl/worksheets/_rels/sheet${o}.xml.rels`, f(o)), F(t, "[Content_Types].xml", a(o));
184
+ }
185
+ }
186
+ }
187
+ var P = "Couldn't remove unused drawings";
188
+ function F(e, t, n) {
189
+ if (!e[t]) throw Error(`File not found: ${t}`);
190
+ if (e[t].indexOf(n) < 0) throw Error(`Substring "${n}" not found in "${t}"`);
191
+ var r = e[t], i = r.replace(n, "");
192
+ return e[t] = i, r !== i;
193
+ }
194
+ function I(e) {
195
+ if (e[0] === "/") throw Error("File path must not start with a slash (/)");
196
+ }
197
+ function L(e, t) {
198
+ if (!t) throw Error(`File \`content\` not specified: ${e}`);
199
+ }
200
+ function R(e, t, n) {
201
+ if (Array.isArray(e)) if (e.length === 0 || Array.isArray(e[0])) {
202
+ if (g(e), Array.isArray(e[0]) && e.length > 0 && Array.isArray(e[0][0])) throw Error("In order to write multiple sheets, pass an array of sheet objects");
203
+ return {
204
+ sheets: [{
205
+ data: e,
206
+ options: t || {}
207
+ }],
208
+ options: n || {}
209
+ };
210
+ } else if (c(e[0])) {
211
+ if (c(t) && Array.isArray(t.schema)) throw Error("`schema` parameter was removed, use `columns` parameter instead");
212
+ return c(t) && Array.isArray(t.columns) ? R(v(e, t.columns), t, n) : {
213
+ sheets: e.map(function(e) {
214
+ var t = e.data, n = D(e, x);
215
+ if (!t) throw Error("`data` property is required for each sheet");
216
+ return g(t), {
217
+ data: t,
218
+ options: n || {}
219
+ };
220
+ }),
221
+ options: t || {}
222
+ };
223
+ } else throw Error("Invalid first argument: must be either sheet data — an array of arrays — or an array of sheet objects");
224
+ else throw Error("Invalid first argument: must be an array");
225
+ }
226
+ function z(e) {
227
+ return e.map(function(e, t) {
228
+ return C(C({}, e), {}, { sheet: e.sheet || `Sheet${t + 1}` });
229
+ });
230
+ }
231
+ function B(e) {
232
+ var t = 0;
233
+ return e.map(function(e) {
234
+ return C(C({}, e), {}, { conditionalFormatting: e.conditionalFormatting && e.conditionalFormatting.map(function(e) {
235
+ return C(C({}, e), {}, { _globalIndex: t++ });
236
+ }) });
237
+ });
238
+ }
239
+ //#endregion
240
+ export { M as default };
241
+
242
+ //# sourceMappingURL=generateXlsxFileContents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateXlsxFileContents.js","names":["generateDrawingReferenceXml"],"sources":["../../../../../node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar _excluded = [\"data\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nfunction _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 generateWorkbookXml from './files/workbook.xml.js';\nimport generateWorkbookXmlRels from './files/workbook.xml.rels.js';\nimport generateRelsXml from './files/rels.js';\nimport generateContentTypesXml, { getDrawingContentTypeXml } from './files/[Content_Types].xml.js';\nimport generateDrawingXml, { DRAWING_XML_START, DRAWING_XML_END } from './files/drawing.xml.js';\nimport generateDrawingXmlRels from './files/drawing.xml.rels.js';\nimport generateSheetXml from './files/sheet.xml/sheet.xml.js';\nimport generateDrawingReferenceXml from './files/sheet.xml/drawingReference.js';\nimport generateSheetXmlRels, { getDrawingRelationshipXml } from './files/sheet.xml.rels.js';\nimport generateSharedStringsXml from './files/sharedStrings.xml.js';\nimport generateStylesXml from './files/styles.xml.js';\nimport getFeatures from './getFeatures.js';\nimport validateSheetData from './validateSheetData.js';\nimport initializeSheets from './initializeSheets.js';\nimport getSheetData from '../getSheetData/getSheetData.js';\nimport getWrittenFiles from './helpers/features/getWrittenFiles.js';\nimport isObject from './helpers/isObject.js';\nimport getSelfClosingTagMarkup from '../xml/getSelfClosingTagMarkup.js';\n\n/**\r\n * Creates contents (files) an `*.xlsx` file.\r\n * @param {SheetData|Object[]|Sheet[]} arg1\r\n * @param {object} arg2 — If `arg1` is `SheetData`, `arg2` is `SheetOptions` and `arg3` is `Options`. If `arg1` is `Sheet[]`, `arg2` is `Options`.\r\n * @param {object} [arg3] — If `arg1` is `SheetData`, `arg2` is `SheetOptions` and `arg3` is `Options`. If `arg1` is `Sheet[]`, `arg2` is `Options`.\r\n * @return {Record<string,string|Blob>} A map of files that exist inside an `.xlsx` file.\r\n */\nexport default function generateXlsxFileContents(arg1, arg2, arg3) {\n var _getArguments = getArguments(arg1, arg2, arg3),\n sheetsDataAndOptions = _getArguments.sheets,\n options = _getArguments.options;\n var sheetsData = sheetsDataAndOptions.map(function (sheet) {\n return sheet.data;\n });\n var sheetsOptions = sheetsDataAndOptions.map(function (sheet) {\n return sheet.options;\n });\n sheetsOptions = setSheetNames(sheetsOptions);\n\n // Here's a small hack for `conditionalFormatting` feature support.\n // `.xlsx` format is weird and has many quirks.\n // One of those quirks is each conditional formatting rule has to be assigned a globally-unique ID.\n // That itself wouldn't be an issue if that globally-unique ID could be any string,\n // but `.xlsx` format specification complicates things by demanding it to be\n // a zero-based integer index (0, 1, 2, ...) referencing a specific `<dxf>` element in \"styles.xml\" file.\n // So a conditional formatting rule ID can't be just \"sheet1-rule2\", it has to be specifically\n // an index of this rule in the list of all rules for all sheets in a given `.xlsx` file.\n // Because a sheet-specific file tranform function doesn't have access to other sheets' options,\n // here it manually sets the global indexes of all conditional formatting rules,\n // and it has to do so without mutating any input arguments.\n sheetsOptions = setConditionalFormattingRulesGlobalIndexes(sheetsOptions);\n var features = getFeatures(options.features);\n var files = {};\n var readFile = function readFile(path) {\n return files[path];\n };\n // const fileExists = (path) => Boolean(files[path])\n\n var writeFiles = function writeFiles(filesToWrite) {\n for (var _i = 0, _Object$keys = Object.keys(filesToWrite); _i < _Object$keys.length; _i++) {\n var path = _Object$keys[_i];\n validateFilePath(path);\n validateFileContent(path, filesToWrite[path]);\n files[path] = filesToWrite[path];\n }\n };\n var _initializeSheets = initializeSheets(sheetsData, sheetsOptions, options),\n sheets = _initializeSheets.sheets,\n getSharedStrings = _initializeSheets.getSharedStrings,\n getCellStyles = _initializeSheets.getCellStyles;\n files['[Content_Types].xml'] = generateContentTypesXml({\n sheetIds: sheets.map(function (_) {\n return _.sheetId;\n }),\n features: features,\n sheetsOptions: sheetsOptions\n });\n files['_rels/.rels'] = generateRelsXml({\n features: features,\n sheetsOptions: sheetsOptions\n });\n files['xl/_rels/workbook.xml.rels'] = generateWorkbookXmlRels({\n sheetIds: sheets.map(function (_) {\n return _.sheetId;\n }),\n features: features,\n sheetsOptions: sheetsOptions\n });\n files['xl/workbook.xml'] = generateWorkbookXml({\n sheetIdsAndNames: sheets.map(function (_ref) {\n var sheetId = _ref.sheetId,\n sheetName = _ref.sheetName;\n return {\n sheetId: sheetId,\n sheetName: sheetName\n };\n }),\n features: features,\n sheetsOptions: sheetsOptions\n });\n var sheetIndex = 0;\n for (var _iterator = _createForOfIteratorHelperLoose(sheets), _step; !(_step = _iterator()).done;) {\n var _step$value = _step.value,\n sheetId = _step$value.sheetId,\n sheetXmlParameters = _step$value.sheetXmlParameters;\n var sheetOptions = sheetsOptions[sheetIndex];\n files[\"xl/worksheets/sheet\".concat(sheetId, \".xml\")] = generateSheetXml(sheetXmlParameters, features);\n files[\"xl/worksheets/_rels/sheet\".concat(sheetId, \".xml.rels\")] = generateSheetXmlRels({\n sheetIndex: sheetIndex,\n sheetId: sheetId,\n sheetOptions: sheetOptions,\n features: features\n });\n files[\"xl/drawings/drawing\".concat(sheetId, \".xml\")] = generateDrawingXml({\n sheetIndex: sheetIndex,\n sheetId: sheetId,\n sheetOptions: sheetOptions,\n features: features\n });\n files[\"xl/drawings/_rels/drawing\".concat(sheetId, \".xml.rels\")] = generateDrawingXmlRels({\n sheetIndex: sheetIndex,\n sheetId: sheetId,\n sheetOptions: sheetOptions,\n features: features\n });\n sheetIndex++;\n }\n writeFiles(getWrittenFiles(features, sheetsOptions, {\n read: readFile\n }));\n\n // After sheets' XML was generated, it can generate \"styles.xml\" and \"sharedStrings.xml\".\n files['xl/styles.xml'] = generateStylesXml(getCellStyles(), sheetsOptions, features);\n files['xl/sharedStrings.xml'] = generateSharedStringsXml(getSharedStrings());\n\n // (minor minimization) Remove unused `drawing${id}.xml` files.\n removeUnusedDrawings(files, sheets);\n return files;\n}\n\n// (minor minimization)\n//\n// For each `xl/drawings/drawing${id}.xml`, see if it has no actual content,\n// i.e. the `<xdr:wsDr>` element has no child elements.\n// If that's the case, remove `xl/drawings/drawing${sheetId}.xml` and `xl/drawings/drawing${sheetId}.xml.rels`,\n// and also remove `<drawing r:id=\"...\"/>` element from `xl/worksheets/sheet${sheetId}.xml`\n// and the corresponding `<Relationship Id=\"...\" .../>` element from `xl/worksheets/_rels/sheet${sheetId}.xml.rels`\n// and the corresponding `<Override/> element from `[Content_Types].xml`.\n//\nfunction removeUnusedDrawings(files, sheets) {\n for (var _iterator2 = _createForOfIteratorHelperLoose(sheets), _step2; !(_step2 = _iterator2()).done;) {\n var sheetId = _step2.value.sheetId;\n if (files[\"xl/drawings/drawing\".concat(sheetId, \".xml\")] === DRAWING_XML_START + DRAWING_XML_END) {\n delete files[\"xl/drawings/drawing\".concat(sheetId, \".xml\")];\n delete files[\"xl/drawings/_rels/drawing\".concat(sheetId, \".xml.rels\")];\n if (!removeSubstring(files, \"xl/worksheets/sheet\".concat(sheetId, \".xml\"), generateDrawingReferenceXml(getSelfClosingTagMarkup))) {\n throw new Error(COULD_NOT_REMOVE_UNUSED_DRAWINGS);\n }\n removeSubstring(files, \"xl/worksheets/_rels/sheet\".concat(sheetId, \".xml.rels\"), getDrawingRelationshipXml(sheetId));\n removeSubstring(files, '[Content_Types].xml', getDrawingContentTypeXml(sheetId));\n }\n }\n}\nvar COULD_NOT_REMOVE_UNUSED_DRAWINGS = 'Couldn\\'t remove unused drawings';\nfunction removeSubstring(files, key, substring) {\n if (!files[key]) {\n throw new Error(\"File not found: \".concat(key));\n }\n if (files[key].indexOf(substring) < 0) {\n throw new Error(\"Substring \\\"\".concat(substring, \"\\\" not found in \\\"\").concat(key, \"\\\"\"));\n }\n var stringBeforeRemoval = files[key];\n var stringAfterRemoval = stringBeforeRemoval.replace(substring, '');\n files[key] = stringAfterRemoval;\n return stringBeforeRemoval !== stringAfterRemoval;\n}\nfunction validateFilePath(path) {\n if (path[0] === '/') {\n throw new Error(\"File path must not start with a slash (/)\");\n }\n}\nfunction validateFileContent(path, content) {\n if (!content) {\n throw new Error(\"File `content` not specified: \".concat(path));\n }\n}\nfunction getArguments(arg1, arg2, arg3) {\n if (Array.isArray(arg1)) {\n if (arg1.length === 0 || Array.isArray(arg1[0])) {\n // `arg1` is `SheetData`\n validateSheetData(arg1);\n // Validate that a developer is not using the legacy way of writing multiple sheets.\n if (Array.isArray(arg1[0]) && arg1.length > 0 && Array.isArray(arg1[0][0])) {\n throw new Error('In order to write multiple sheets, pass an array of sheet objects');\n }\n return {\n sheets: [{\n data: arg1,\n options: arg2 || {}\n }],\n options: arg3 || {}\n };\n } else if (isObject(arg1[0])) {\n // `arg1` is either `Sheet[]` or `Object[]`\n // Validate that a developer is not using a legacy parameter `schema`.\n if (isObject(arg2) && Array.isArray(arg2.schema)) {\n throw new Error('`schema` parameter was removed, use `columns` parameter instead');\n }\n if (isObject(arg2) && Array.isArray(arg2.columns)) {\n // `arg1` is `Object[]`.\n // Don't remove `columns` property from `arg2` because it's still required there\n // to apply the column `width`.\n return getArguments(getSheetData(arg1, arg2.columns), arg2, arg3);\n }\n // `arg1` is `Sheet[]`\n return {\n sheets: arg1.map(function (_ref2) {\n var data = _ref2.data,\n options = _objectWithoutProperties(_ref2, _excluded);\n if (!data) {\n throw new Error('`data` property is required for each sheet');\n }\n validateSheetData(data);\n return {\n data: data,\n options: options || {}\n };\n }),\n options: arg2 || {}\n };\n } else {\n throw new Error('Invalid first argument: must be either sheet data — an array of arrays — or an array of sheet objects');\n }\n } else {\n throw new Error('Invalid first argument: must be an array');\n }\n}\n\n// Sets a sheet name for each sheet.\nfunction setSheetNames(sheetsOptions) {\n return sheetsOptions.map(function (sheetOptions, sheetIndex) {\n return _objectSpread(_objectSpread({}, sheetOptions), {}, {\n sheet: sheetOptions.sheet || \"Sheet\".concat(sheetIndex + 1)\n });\n });\n}\n\n// Sets a `_globalIndex: number` property on each conditional formatting rule.\nfunction setConditionalFormattingRulesGlobalIndexes(sheetsOptions) {\n var globalIndex = 0;\n return sheetsOptions.map(function (sheetOptions) {\n return _objectSpread(_objectSpread({}, sheetOptions), {}, {\n conditionalFormatting: sheetOptions.conditionalFormatting && sheetOptions.conditionalFormatting.map(function (conditionalFormattingRule) {\n return _objectSpread(_objectSpread({}, conditionalFormattingRule), {}, {\n // `++` operator returns the value before the increment.\n _globalIndex: globalIndex++\n });\n })\n });\n });\n}\n//# sourceMappingURL=generateXlsxFileContents.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;IAAM,EAAQ,EAAE;;AAC3T,IAAI,IAAY,CAAC,OAAO;AACxB,SAAS,EAAQ,GAAG,GAAG;CAAE,IAAI,IAAI,OAAO,KAAK,EAAE;AAAE,KAAI,OAAO,uBAAuB;EAAE,IAAI,IAAI,OAAO,sBAAsB,EAAE;AAAE,QAAM,IAAI,EAAE,OAAO,SAAU,GAAG;AAAE,UAAO,OAAO,yBAAyB,GAAG,EAAE,CAAC;IAAc,GAAG,EAAE,KAAK,MAAM,GAAG,EAAE;;AAAI,QAAO;;AAC3P,SAAS,EAAc,GAAG;AAAE,MAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;EAAE,IAAI,IAAY,UAAU,MAAlB,OAAsC,EAAE,GAAjB,UAAU;AAAS,MAAI,IAAI,EAAQ,OAAO,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,SAAU,GAAG;AAAE,KAAgB,GAA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I,SAAU,GAAc,GAAY;AAC3D,SAAO,EAAc,EAAc,EAAE,EAAE,EAAa,EAAE,EAAE,EAAE,EACxD,OAAO,EAAa,SAAS,QAAe,IAAa,KAC1D,CAAC;GACF;;AAIJ,SAAS,EAA2C,GAAe;CACjE,IAAI,IAAc;AAClB,QAAO,EAAc,IAAI,SAAU,GAAc;AAC/C,SAAO,EAAc,EAAc,EAAE,EAAE,EAAa,EAAE,EAAE,EAAE,EACxD,uBAAuB,EAAa,yBAAyB,EAAa,sBAAsB,IAAI,SAAU,GAA2B;AACvI,UAAO,EAAc,EAAc,EAAE,EAAE,EAA0B,EAAE,EAAE,EAAE,EAErE,cAAc,KACf,CAAC;IACF,EACH,CAAC;GACF"}
@@ -0,0 +1,29 @@
1
+ import e from "./features/conditionalFormatting.js";
2
+ import t from "./features/images.js";
3
+ import n from "./features/stickyRowsOrColumns.js";
4
+ //#region node_modules/write-excel-file/modules/xlsx/getFeatures.js
5
+ function r(r) {
6
+ var i = [];
7
+ return i.push(e), i.push(t), i.push(n), r && (r.forEach(a), i = i.concat(r)), i;
8
+ }
9
+ var i = [
10
+ "[Content_Types].xml",
11
+ "_rels/.rels",
12
+ "xl/styles.xml",
13
+ "xl/workbook.xml",
14
+ "xl/_rels/workbook.xml.rels",
15
+ "xl/worksheets/sheet{id}.xml",
16
+ "xl/worksheets/_rels/sheet{id}.xml.rels",
17
+ "xl/drawings/drawing{id}.xml",
18
+ "xl/drawings/_rels/drawing{id}.xml.rels"
19
+ ];
20
+ function a(e) {
21
+ if (e.files && e.files.transform) for (var t = 0, n = Object.keys(e.files.transform); t < n.length; t++) {
22
+ var r = n[t];
23
+ if (i.indexOf(r) < 0) throw Error(`Unknown file to transform: ${r}`);
24
+ }
25
+ }
26
+ //#endregion
27
+ export { r as default };
28
+
29
+ //# sourceMappingURL=getFeatures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFeatures.js","names":["conditionalFormatting","images","stickyRowsOrColumns"],"sources":["../../../../../node_modules/write-excel-file/modules/xlsx/getFeatures.js"],"sourcesContent":["import conditionalFormatting from './features/conditionalFormatting.js';\nimport images from './features/images.js';\nimport stickyRowsOrColumns from './features/stickyRowsOrColumns.js';\nexport default function getFeatures(customFeatures) {\n var features = [];\n\n // Add \"conditional formatting\" feature implicitly.\n features.push(conditionalFormatting);\n\n // Add \"images\" feature implicitly.\n features.push(images);\n\n // Add \"sticky rows or columns\" feature implicitly.\n features.push(stickyRowsOrColumns);\n\n // Custom features might depend on \"default\" features\n // so the order of inclusion of custom features is after including \"default\" features.\n if (customFeatures) {\n customFeatures.forEach(validateFeature);\n features = features.concat(customFeatures);\n }\n return features;\n}\nvar TRANSFORMABLE_FILES = ['[Content_Types].xml', '_rels/.rels', 'xl/styles.xml', 'xl/workbook.xml', 'xl/_rels/workbook.xml.rels', 'xl/worksheets/sheet{id}.xml', 'xl/worksheets/_rels/sheet{id}.xml.rels', 'xl/drawings/drawing{id}.xml', 'xl/drawings/_rels/drawing{id}.xml.rels'];\nfunction validateFeature(feature) {\n if (feature.files && feature.files.transform) {\n for (var _i = 0, _Object$keys = Object.keys(feature.files.transform); _i < _Object$keys.length; _i++) {\n var key = _Object$keys[_i];\n if (TRANSFORMABLE_FILES.indexOf(key) < 0) {\n throw new Error(\"Unknown file to transform: \".concat(key));\n }\n }\n }\n}\n//# sourceMappingURL=getFeatures.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAGA,SAAwB,EAAY,GAAgB;CAClD,IAAI,IAAW,EAAE;AAiBjB,QAdA,EAAS,KAAKA,EAAsB,EAGpC,EAAS,KAAKC,EAAO,EAGrB,EAAS,KAAKC,EAAoB,EAI9B,MACF,EAAe,QAAQ,EAAgB,EACvC,IAAW,EAAS,OAAO,EAAe,GAErC;;AAET,IAAI,IAAsB;CAAC;CAAuB;CAAe;CAAiB;CAAmB;CAA8B;CAA+B;CAA0C;CAA+B;CAAyC;AACpR,SAAS,EAAgB,GAAS;AAChC,KAAI,EAAQ,SAAS,EAAQ,MAAM,UACjC,MAAK,IAAI,IAAK,GAAG,IAAe,OAAO,KAAK,EAAQ,MAAM,UAAU,EAAE,IAAK,EAAa,QAAQ,KAAM;EACpG,IAAI,IAAM,EAAa;AACvB,MAAI,EAAoB,QAAQ,EAAI,GAAG,EACrC,OAAU,MAAM,8BAAqC,IAAK"}
@@ -0,0 +1,9 @@
1
+ //#region node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js
2
+ var e = 25569, t = 3600 * 1e3 * 24;
3
+ function n(n) {
4
+ return n.getTime() / t + e;
5
+ }
6
+ //#endregion
7
+ export { n as default };
8
+
9
+ //# sourceMappingURL=convertDateToSerialNumber.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"convertDateToSerialNumber.js","names":[],"sources":["../../../../../../node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js"],"sourcesContent":["// \"Excel serial date\" is just\n// the count of days since `01/01/1900`\n// (seems that it may be even fractional).\n//\n// The count of days elapsed\n// since `01/01/1900` (Excel epoch)\n// till `01/01/1970` (Unix epoch).\n// Accounts for leap years\n// (19 of them, yielding 19 extra days).\nvar daysBeforeUnixEpoch = 70 * 365 + 19;\n\n// An hour, approximately, because a minute\n// may be longer than 60 seconds, see \"leap seconds\".\nvar hour = 60 * 60 * 1000;\nvar day = 24 * hour;\n\n/**\r\n * Converts a `Date` into an XLSX \"serial\" number.\r\n * @param {Date} date\r\n * @returns {number}\r\n */\nexport default function convertDateToSerialNumber(date) {\n return date.getTime() / day + daysBeforeUnixEpoch;\n}\n//# sourceMappingURL=convertDateToSerialNumber.js.map"],"x_google_ignoreList":[0],"mappings":";AASA,IAAI,IAAsB,OAKtB,IADO,OAAU,MACX;AAOV,SAAwB,EAA0B,GAAM;AACtD,QAAO,EAAK,SAAS,GAAG,IAAM"}
@@ -0,0 +1,42 @@
1
+ //#region node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.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, n, r, i) {
30
+ for (var a = "", o = e(n), s; !(s = o()).done;) {
31
+ var c = s.value, l = c.files && c.files.transform && c.files.transform[t];
32
+ if (l && l.insert) {
33
+ var u = l.insert(r, i);
34
+ u && (a += u);
35
+ }
36
+ }
37
+ return a;
38
+ }
39
+ //#endregion
40
+ export { r as default };
41
+
42
+ //# sourceMappingURL=getAdditionalContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAdditionalContent.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.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; }\n// Returns the content that should be inserted by `features` when performing a `transformName` transform.\nexport default function getAdditionalContent(fileName, features, sheetOptions, properties) {\n var content = '';\n for (var _iterator = _createForOfIteratorHelperLoose(features), _step; !(_step = _iterator()).done;) {\n var feature = _step.value;\n var transform = feature.files && feature.files.transform && feature.files.transform[fileName];\n if (transform && transform.insert) {\n var insertedContent = transform.insert(sheetOptions, properties);\n if (insertedContent) {\n content += insertedContent;\n }\n }\n }\n return content;\n}\n//# sourceMappingURL=getAdditionalContent.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;;AAEhJ,SAAwB,EAAqB,GAAU,GAAU,GAAc,GAAY;AAEzF,MAAK,IADD,IAAU,IACL,IAAY,EAAgC,EAAS,EAAE,GAAO,EAAE,IAAQ,GAAW,EAAE,OAAO;EACnG,IAAI,IAAU,EAAM,OAChB,IAAY,EAAQ,SAAS,EAAQ,MAAM,aAAa,EAAQ,MAAM,UAAU;AACpF,MAAI,KAAa,EAAU,QAAQ;GACjC,IAAI,IAAkB,EAAU,OAAO,GAAc,EAAW;AAChE,GAAI,MACF,KAAW;;;AAIjB,QAAO"}
@@ -0,0 +1,43 @@
1
+ import e from "../../../xml/getOpeningTagMarkup.js";
2
+ import t from "../../../xml/getClosingTagMarkup.js";
3
+ import n from "../../../xml/getSelfClosingTagMarkup.js";
4
+ //#region node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.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, o, c, l, u, d, f) {
33
+ for (var p = r(f), m; !(m = p()).done;) {
34
+ var h = m.value, g = h.files && h.files.transform && h.files.transform[i];
35
+ g && g.transformElementAttributes && (o = g.transformElementAttributes(a, o || s, l, d, u));
36
+ }
37
+ return c ? e(a, o) + c + t(a) : n(a, o);
38
+ }
39
+ var s = {};
40
+ //#endregion
41
+ export { o as default };
42
+
43
+ //# sourceMappingURL=getElementXml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getElementXml.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.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 getOpeningTagMarkup from '../../../xml/getOpeningTagMarkup.js';\nimport getClosingTagMarkup from '../../../xml/getClosingTagMarkup.js';\nimport getSelfClosingTagMarkup from '../../../xml/getSelfClosingTagMarkup.js';\nexport default function getElementXml(fileName, tagName, attributes,\n// Could be `undefined` or `null`\ninnerXml,\n// Could be `undefined` or `null`\nindex,\n// Could be `undefined`\nproperties, sheetOptionsOrSheetsOptions, features) {\n for (var _iterator = _createForOfIteratorHelperLoose(features), _step; !(_step = _iterator()).done;) {\n var feature = _step.value;\n var transform = feature.files && feature.files.transform && feature.files.transform[fileName];\n if (transform && transform.transformElementAttributes) {\n attributes = transform.transformElementAttributes(tagName, attributes || NO_ATTRIBUTES, index, sheetOptionsOrSheetsOptions, properties);\n }\n }\n if (innerXml) {\n return getOpeningTagMarkup(tagName, attributes) + innerXml + getClosingTagMarkup(tagName);\n } else {\n return getSelfClosingTagMarkup(tagName, attributes);\n }\n}\nvar NO_ATTRIBUTES = {};\n//# sourceMappingURL=getElementXml.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,KA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
@@ -0,0 +1,93 @@
1
+ //#region node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js
2
+ function e(t) {
3
+ "@babel/helpers - typeof";
4
+ return e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
5
+ return typeof e;
6
+ } : function(e) {
7
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
8
+ }, e(t);
9
+ }
10
+ function t(e, t) {
11
+ var n = Object.keys(e);
12
+ if (Object.getOwnPropertySymbols) {
13
+ var r = Object.getOwnPropertySymbols(e);
14
+ t && (r = r.filter(function(t) {
15
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
16
+ })), n.push.apply(n, r);
17
+ }
18
+ return n;
19
+ }
20
+ function n(e) {
21
+ for (var n = 1; n < arguments.length; n++) {
22
+ var i = arguments[n] == null ? {} : arguments[n];
23
+ n % 2 ? t(Object(i), !0).forEach(function(t) {
24
+ r(e, t, i[t]);
25
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : t(Object(i)).forEach(function(t) {
26
+ Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(i, t));
27
+ });
28
+ }
29
+ return e;
30
+ }
31
+ function r(e, t, n) {
32
+ return (t = i(t)) in e ? Object.defineProperty(e, t, {
33
+ value: n,
34
+ enumerable: !0,
35
+ configurable: !0,
36
+ writable: !0
37
+ }) : e[t] = n, e;
38
+ }
39
+ function i(t) {
40
+ var n = a(t, "string");
41
+ return e(n) == "symbol" ? n : n + "";
42
+ }
43
+ function a(t, n) {
44
+ if (e(t) != "object" || !t) return t;
45
+ var r = t[Symbol.toPrimitive];
46
+ if (r !== void 0) {
47
+ var i = r.call(t, n || "default");
48
+ if (e(i) != "object") return i;
49
+ throw TypeError("@@toPrimitive must return a primitive value.");
50
+ }
51
+ return (n === "string" ? String : Number)(t);
52
+ }
53
+ function o(e, t) {
54
+ var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
55
+ if (n) return (n = n.call(e)).next.bind(n);
56
+ if (Array.isArray(e) || (n = s(e)) || t && e && typeof e.length == "number") {
57
+ n && (e = n);
58
+ var r = 0;
59
+ return function() {
60
+ return r >= e.length ? { done: !0 } : {
61
+ done: !1,
62
+ value: e[r++]
63
+ };
64
+ };
65
+ }
66
+ throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
67
+ }
68
+ function s(e, t) {
69
+ if (e) {
70
+ if (typeof e == "string") return c(e, t);
71
+ var n = {}.toString.call(e).slice(8, -1);
72
+ 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) ? c(e, t) : void 0;
73
+ }
74
+ }
75
+ function c(e, t) {
76
+ (t == null || t > e.length) && (t = e.length);
77
+ for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
78
+ return r;
79
+ }
80
+ function l(e, t, r) {
81
+ for (var i = r.read, a = {}, s = o(e), c; !(c = s()).done;) {
82
+ var l = c.value;
83
+ if (l.files && l.files.write && l.files.write.files) {
84
+ var u = l.files.write.files(t, { read: i });
85
+ u && (a = n(n({}, a), u));
86
+ }
87
+ }
88
+ return a;
89
+ }
90
+ //#endregion
91
+ export { l as default };
92
+
93
+ //# sourceMappingURL=getWrittenFiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWrittenFiles.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _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 getWrittenFiles(features, sheetsOptions, _ref) {\n var read = _ref.read;\n var writtenFiles = {};\n for (var _iterator = _createForOfIteratorHelperLoose(features), _step; !(_step = _iterator()).done;) {\n var feature = _step.value;\n if (feature.files && feature.files.write) {\n if (feature.files.write.files) {\n var files = feature.files.write.files(sheetsOptions, {\n read: read\n });\n if (files) {\n writtenFiles = _objectSpread(_objectSpread({}, writtenFiles), files);\n }\n }\n }\n }\n return writtenFiles;\n}\n//# sourceMappingURL=getWrittenFiles.js.map"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAS,EAAQ,GAAG;AAAE;AAA2B,QAAO,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAU,GAAG;AAAE,SAAO,OAAO;KAAO,SAAU,GAAG;AAAE,SAAO,KAAmB,OAAO,UAArB,cAA+B,EAAE,gBAAgB,UAAU,MAAM,OAAO,YAAY,WAAW,OAAO;IAAM,EAAQ,EAAE;;AAC3T,SAAS,EAAQ,GAAG,GAAG;CAAE,IAAI,IAAI,OAAO,KAAK,EAAE;AAAE,KAAI,OAAO,uBAAuB;EAAE,IAAI,IAAI,OAAO,sBAAsB,EAAE;AAAE,QAAM,IAAI,EAAE,OAAO,SAAU,GAAG;AAAE,UAAO,OAAO,yBAAyB,GAAG,EAAE,CAAC;IAAc,GAAG,EAAE,KAAK,MAAM,GAAG,EAAE;;AAAI,QAAO;;AAC3P,SAAS,EAAc,GAAG;AAAE,MAAK,IAAI,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;EAAE,IAAI,IAAY,UAAU,MAAlB,OAAsC,EAAE,GAAjB,UAAU;AAAS,MAAI,IAAI,EAAQ,OAAO,EAAE,EA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bol.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, n, r, i, a) {
30
+ for (var o = e(r), s; !(s = o()).done;) {
31
+ var c = s.value, l = c.files && c.files.transform && c.files.transform[n];
32
+ l && l.transform && (t = l.transform(t, i, a));
33
+ }
34
+ return t;
35
+ }
36
+ //#endregion
37
+ export { r as default };
38
+
39
+ //# sourceMappingURL=transformContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformContent.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.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; }\n// Transforms the content by `features` when performing a `transformName` transform.\nexport default function transformContent(content, fileName, features, sheetOptions, properties) {\n for (var _iterator = _createForOfIteratorHelperLoose(features), _step; !(_step = _iterator()).done;) {\n var feature = _step.value;\n var transform = feature.files && feature.files.transform && feature.files.transform[fileName];\n if (transform && transform.transform) {\n content = transform.transform(content, sheetOptions, properties);\n }\n }\n return content;\n}\n//# sourceMappingURL=transformContent.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;;AAEhJ,SAAwB,EAAiB,GAAS,GAAU,GAAU,GAAc,GAAY;AAC9F,MAAK,IAAI,IAAY,EAAgC,EAAS,EAAE,GAAO,EAAE,IAAQ,GAAW,EAAE,OAAO;EACnG,IAAI,IAAU,EAAM,OAChB,IAAY,EAAQ,SAAS,EAAQ,MAAM,aAAa,EAAQ,MAAM,UAAU;AACpF,EAAI,KAAa,EAAU,cACzB,IAAU,EAAU,UAAU,GAAS,GAAc,EAAW;;AAGpE,QAAO"}
@@ -0,0 +1,17 @@
1
+ import e from "../../xml/sanitizeAttributeValue.js";
2
+ //#region node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js
3
+ function t(t) {
4
+ var i = t.align, a = t.alignVertical, o = t.textRotation, s = t.indent, c = t.wrap;
5
+ return "<alignment" + (i ? ` horizontal="${e(i)}"` : "") + (a ? ` vertical="${e(a)}"` : "") + (o ? ` textRotation="${r(n(o))}"` : "") + (s ? ` indent="${e(String(s))}"` : "") + (c ? " wrapText=\"1\"" : "") + "/>";
6
+ }
7
+ function n(e) {
8
+ if (!(e >= -90 && e <= 90)) throw Error(`Unsupported text rotation angle: ${e}. Values from -90 to 90 are supported.`);
9
+ return e;
10
+ }
11
+ function r(e) {
12
+ return e < 0 ? 90 - e : e;
13
+ }
14
+ //#endregion
15
+ export { t as default };
16
+
17
+ //# sourceMappingURL=getAlignmentXml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlignmentXml.js","names":[],"sources":["../../../../../../node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js"],"sourcesContent":["import sanitizeAttributeValue from '../../xml/sanitizeAttributeValue.js';\nexport default function getAlignmentXml(_ref) {\n var align = _ref.align,\n alignVertical = _ref.alignVertical,\n textRotation = _ref.textRotation,\n indent = _ref.indent,\n wrap = _ref.wrap;\n return '<alignment' + (align ? \" horizontal=\\\"\".concat(sanitizeAttributeValue(align), \"\\\"\") : '') + (alignVertical ? \" vertical=\\\"\".concat(sanitizeAttributeValue(alignVertical), \"\\\"\") : '') + (textRotation ? \" textRotation=\\\"\".concat(getTextRotation(validateTextRotation(textRotation)), \"\\\"\") : '') + (indent ? \" indent=\\\"\".concat(sanitizeAttributeValue(String(indent)), \"\\\"\") : '') + (wrap ? \" wrapText=\\\"1\\\"\" : '') + '/>';\n}\n\n// Validates text rotation parameter value.\n// Text rotation parameter value could be from -90 to 90.\n// Positive values rotate the text counterclockwise, and negative values rotate the text clockwise.\n//\n// The spec-compliant `textRotation` parameter value is weird.\n// See `getTextRotation()` function comments.\n//\n// I've searched the internet on how other libraries expect text rotation parameter to look like.\n// The consensus seems to be \"-90...90\" so that it's not as weird as the official spec defines it.\n//\n// In ClosedXML .NET library, it allows the values from -90 to 90:\n// https://docs.closedxml.io/en/latest/features/cell-format.html#orientation\n//\n// In XlsxWriter Python library, it's -90 to 90 with 270 as a special magic value:\n// https://xlsxwriter.readthedocs.io/format.html#format-set-rotation\n//\n// In Apache POI, it's also -90 to 90 and 255 as a special magic value:\n// https://copyprogramming.com/howto/how-to-rotate-text-in-a-spreadsheet-cell-using-apache-poi\n//\n// \"Specify the angle of rotation for the text within the cell.\n// The degree of rotation can range between -90 and 90 degrees, or it can be set to 0xff for vertical alignment.\"\n//\n// So -90 to 90 seems like a common-practice value range.\n//\nfunction validateTextRotation(textRotation) {\n if (!(textRotation >= -90 && textRotation <= 90)) {\n throw new Error(\"Unsupported text rotation angle: \".concat(textRotation, \". Values from -90 to 90 are supported.\"));\n }\n return textRotation;\n}\n\n// Transforms `textRotation` parameter value to the spec-compliant form.\n//\n// The XLSX specification for the value of `textRotation` is weird:\n// https://learn.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.alignment?view=openxml-2.8.1\n//\n// \"Text rotation in cells. Expressed in degrees. Values range from 0 to 180.\n// The first letter of the text is considered the center-point of the arc.\n// For 0 - 90, the value represents degrees above horizon.\n// For 91-180 the degrees below the horizon is calculated as:\n// [degrees below horizon] = 90 - textRotation\"\n//\nfunction getTextRotation(textRotation) {\n if (textRotation < 0) {\n return 90 - textRotation;\n }\n return textRotation;\n}\n//# sourceMappingURL=getAlignmentXml.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAwB,EAAgB,GAAM;CAC5C,IAAI,IAAQ,EAAK,OACf,IAAgB,EAAK,eACrB,IAAe,EAAK,cACpB,IAAS,EAAK,QACd,IAAO,EAAK;AACd,QAAO,gBAAgB,IAAQ,gBAAwB,EAAuB,EAAM,MAAU,OAAO,IAAgB,cAAsB,EAAuB,EAAc,MAAU,OAAO,IAAe,kBAA0B,EAAgB,EAAqB,EAAa,CAAC,MAAU,OAAO,IAAS,YAAoB,EAAuB,OAAO,EAAO,CAAC,MAAU,OAAO,IAAO,oBAAoB,MAAM;;AA2Bra,SAAS,EAAqB,GAAc;AAC1C,KAAI,EAAE,KAAgB,OAAO,KAAgB,IAC3C,OAAU,MAAM,oCAA2C,0CAAwD;AAErH,QAAO;;AAcT,SAAS,EAAgB,GAAc;AAIrC,QAHI,IAAe,IACV,KAAK,IAEP"}