@burdenoff/microfe-planmagnet 2026.930.25 → 2026.1001.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/__vite-browser-external.js +9 -0
- package/dist/_virtual/__vite-browser-external.js.map +1 -0
- package/dist/_virtual/_rolldown/runtime.js +5 -2
- package/dist/index.js +3 -1
- package/dist/node_modules/fflate/esm/browser.js +554 -0
- package/dist/node_modules/fflate/esm/browser.js.map +1 -0
- package/dist/node_modules/jszip/dist/jszip.min.js +3038 -0
- package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
- package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js +2151 -0
- package/dist/node_modules/pptxgenjs/dist/pptxgen.es.js.map +1 -0
- package/dist/node_modules/write-excel-file/browser/index.js +3 -0
- package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js +13 -0
- package/dist/node_modules/write-excel-file/modules/export/convertFileContentToUint8ArrayBrowser.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js +21 -0
- package/dist/node_modules/write-excel-file/modules/export/convertFilesContentToUint8Arrays.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js +11 -0
- package/dist/node_modules/write-excel-file/modules/export/downloadBlob.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js +23 -0
- package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileBrowser.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js +22 -0
- package/dist/node_modules/write-excel-file/modules/export/writeXlsxFileUniversal.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js +18 -0
- package/dist/node_modules/write-excel-file/modules/getSheetData/getSheetData.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js +131 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/features/conditionalFormatting.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js +188 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/features/images.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js +52 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/features/stickyRowsOrColumns.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js +18 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/_Content_Types_.xml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js +18 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js +17 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/drawing.xml.rels.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js +11 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/rels.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js +42 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sharedStrings.xml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js +102 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/cell.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js +17 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/column.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js +15 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/columns.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js +8 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/drawingReference.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js +71 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/helpers/getCellStyleProperties.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js +56 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/mergedCellsDescription.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js +15 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageMargins.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js +13 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/pageSetup.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js +44 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js +123 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js +41 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js +11 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js +17 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js +20 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js +77 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/styles.xml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js +22 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js +13 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js +242 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/generateXlsxFileContents.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js +29 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/getFeatures.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/convertDateToSerialNumber.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js +42 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getAdditionalContent.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js +43 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getElementXml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js +93 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/getWrittenFiles.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js +39 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/features/transformContent.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js +17 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getAlignmentXml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js +29 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getBorderXml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js +14 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getCellAddress.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js +11 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFileExtensionForContentType.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js +14 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFillXml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js +12 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getFontXml.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js +24 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getOrderOfSiblings.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/getXlsxColorForHexColor.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasAlignment.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasBorder.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFill.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/hasFont.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isCellObject.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/isObject.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js +27 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/helpers/orderOfSiblings.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js +17 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeSharedStrings.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js +74 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeSheets.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js +138 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/initializeStyles.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js +40 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetData.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js +11 -0
- package/dist/node_modules/write-excel-file/modules/xlsx/validateSheetName.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xml/appendMarkupInsideElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xml/applyEnclosingElementOffset.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js +12 -0
- package/dist/node_modules/write-excel-file/modules/xml/escapeXmlSpecialCharacters.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/findElement.js +12 -0
- package/dist/node_modules/write-excel-file/modules/xml/findElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js +12 -0
- package/dist/node_modules/write-excel-file/modules/xml/findElementInsideElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js +41 -0
- package/dist/node_modules/write-excel-file/modules/xml/findElementsNonRecursive_.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js +14 -0
- package/dist/node_modules/write-excel-file/modules/xml/getAttributesString.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js +42 -0
- package/dist/node_modules/write-excel-file/modules/xml/getChildElements.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js +8 -0
- package/dist/node_modules/write-excel-file/modules/xml/getClosingTagMarkup.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js +8 -0
- package/dist/node_modules/write-excel-file/modules/xml/getMarkupInsideElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xml/getOpeningTagMarkup.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xml/getSelfClosingTagMarkup.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js +64 -0
- package/dist/node_modules/write-excel-file/modules/xml/insertElementMarkupAccordingToOrderOfSiblings.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xml/prependMarkupInsideElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js +9 -0
- package/dist/node_modules/write-excel-file/modules/xml/removeInvalidXmlCharacters.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js +8 -0
- package/dist/node_modules/write-excel-file/modules/xml/replaceElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js +10 -0
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeName.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js +11 -0
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeAttributeValue.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js +11 -0
- package/dist/node_modules/write-excel-file/modules/xml/sanitizeTextContent.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js +8 -0
- package/dist/node_modules/write-excel-file/modules/xml/setMarkupInsideElement.js.map +1 -0
- package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js +18 -0
- package/dist/node_modules/write-excel-file/modules/zip/zipToArrayBuffer.js.map +1 -0
- package/dist/planmagnet/PlanMagnetRoot.d.ts.map +1 -1
- package/dist/planmagnet/PlanMagnetRoot.js +160 -147
- package/dist/planmagnet/PlanMagnetRoot.js.map +1 -1
- package/dist/planmagnet/PlanMagnetRoutes.d.ts.map +1 -1
- package/dist/planmagnet/PlanMagnetRoutes.js +126 -106
- package/dist/planmagnet/PlanMagnetRoutes.js.map +1 -1
- package/dist/planmagnet/comments/CommentThread.js +36 -36
- package/dist/planmagnet/comments/RoadmapComments.js +21 -21
- package/dist/planmagnet/controls/AutomationRuleControls.js +24 -24
- package/dist/planmagnet/controls/FeatureControls.js +60 -60
- package/dist/planmagnet/controls/Pickers.d.ts +10 -0
- package/dist/planmagnet/controls/Pickers.d.ts.map +1 -1
- package/dist/planmagnet/controls/Pickers.js +75 -27
- package/dist/planmagnet/controls/Pickers.js.map +1 -1
- package/dist/planmagnet/controls/SyncControls.js +59 -59
- package/dist/planmagnet/discussion/WorkItemDiscussionPanel.js +15 -15
- package/dist/planmagnet/docs/DocSuggestionsPanel.js +12 -12
- package/dist/planmagnet/docs/DocVersionCompare.js +3 -3
- package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts +12 -0
- package/dist/planmagnet/forecast/DeliveryForecastCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/DeliveryForecastCard.js +208 -0
- package/dist/planmagnet/forecast/DeliveryForecastCard.js.map +1 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts +5 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.js +190 -0
- package/dist/planmagnet/forecast/ProjectOutlookCard.js.map +1 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts +5 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js +99 -0
- package/dist/planmagnet/forecast/ProjectRiskSummaryCard.js.map +1 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.d.ts +8 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.d.ts.map +1 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.js +185 -0
- package/dist/planmagnet/forecast/ResourceForecastCard.js.map +1 -0
- package/dist/planmagnet/forecast/riskFlags.d.ts +35 -0
- package/dist/planmagnet/forecast/riskFlags.d.ts.map +1 -0
- package/dist/planmagnet/forecast/riskFlags.js +37 -0
- package/dist/planmagnet/forecast/riskFlags.js.map +1 -0
- package/dist/planmagnet/index.d.ts +2 -0
- package/dist/planmagnet/index.d.ts.map +1 -1
- package/dist/planmagnet/index.js +2 -0
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js +216 -182
- package/dist/planmagnet/pages/AnalyticsAnalyticsPagePage.js.map +1 -1
- package/dist/planmagnet/pages/AutomationAutomationRuleDetailPagePage.js +11 -11
- package/dist/planmagnet/pages/AutomationCreateAutomationRulePagePage.js +4 -4
- package/dist/planmagnet/pages/DocsDocDetailPagePage.js +163 -163
- package/dist/planmagnet/pages/DocsDocDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js +165 -165
- package/dist/planmagnet/pages/IntegrationsNewSyncPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts +2 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js +234 -0
- package/dist/planmagnet/pages/ProjectsAtRiskPagePage.js.map +1 -0
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js +206 -182
- package/dist/planmagnet/pages/ProjectsProjectDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts +6 -0
- package/dist/planmagnet/pages/ReportsCreateReportPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ReportsCreateReportPagePage.js +5 -177
- package/dist/planmagnet/pages/ReportsCreateReportPagePage.js.map +1 -1
- package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts +3 -0
- package/dist/planmagnet/pages/ReportsEditReportPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/ReportsEditReportPagePage.js +15 -0
- package/dist/planmagnet/pages/ReportsEditReportPagePage.js.map +1 -0
- package/dist/planmagnet/pages/ReportsReportPagePage.d.ts +7 -0
- package/dist/planmagnet/pages/ReportsReportPagePage.d.ts.map +1 -0
- package/dist/planmagnet/pages/ReportsReportPagePage.js +226 -0
- package/dist/planmagnet/pages/ReportsReportPagePage.js.map +1 -0
- package/dist/planmagnet/pages/ReportsReportsPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/ReportsReportsPagePage.js +224 -496
- package/dist/planmagnet/pages/ReportsReportsPagePage.js.map +1 -1
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.d.ts.map +1 -1
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js +88 -83
- package/dist/planmagnet/pages/TeamTeamDetailPagePage.js.map +1 -1
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.d.ts.map +1 -1
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js +139 -112
- package/dist/planmagnet/pages/analytics/SprintDeliveryCards.js.map +1 -1
- package/dist/planmagnet/pages/analytics/StatusFlowCard.js +21 -21
- package/dist/planmagnet/product/ProductControls.js +91 -91
- package/dist/planmagnet/reports/ExportMenu.d.ts +9 -0
- package/dist/planmagnet/reports/ExportMenu.d.ts.map +1 -0
- package/dist/planmagnet/reports/ExportMenu.js +116 -0
- package/dist/planmagnet/reports/ExportMenu.js.map +1 -0
- package/dist/planmagnet/reports/PrintReportView.d.ts +24 -0
- package/dist/planmagnet/reports/PrintReportView.d.ts.map +1 -0
- package/dist/planmagnet/reports/PrintReportView.js +75 -0
- package/dist/planmagnet/reports/PrintReportView.js.map +1 -0
- package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts +8 -0
- package/dist/planmagnet/reports/ReportBuilderCanvas.d.ts.map +1 -0
- package/dist/planmagnet/reports/ReportBuilderCanvas.js +261 -0
- package/dist/planmagnet/reports/ReportBuilderCanvas.js.map +1 -0
- package/dist/planmagnet/reports/ReportBuilderPage.d.ts +5 -0
- package/dist/planmagnet/reports/ReportBuilderPage.d.ts.map +1 -0
- package/dist/planmagnet/reports/ReportBuilderPage.js +198 -0
- package/dist/planmagnet/reports/ReportBuilderPage.js.map +1 -0
- package/dist/planmagnet/reports/ReportRunHistory.d.ts +8 -0
- package/dist/planmagnet/reports/ReportRunHistory.d.ts.map +1 -0
- package/dist/planmagnet/reports/ReportRunHistory.js +63 -0
- package/dist/planmagnet/reports/ReportRunHistory.js.map +1 -0
- package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts +7 -0
- package/dist/planmagnet/reports/ReportWidgetRenderer.d.ts.map +1 -0
- package/dist/planmagnet/reports/ReportWidgetRenderer.js +251 -0
- package/dist/planmagnet/reports/ReportWidgetRenderer.js.map +1 -0
- package/dist/planmagnet/reports/SchedulesPanel.d.ts +4 -0
- package/dist/planmagnet/reports/SchedulesPanel.d.ts.map +1 -0
- package/dist/planmagnet/reports/SchedulesPanel.js +457 -0
- package/dist/planmagnet/reports/SchedulesPanel.js.map +1 -0
- package/dist/planmagnet/reports/ShareDialog.d.ts +5 -0
- package/dist/planmagnet/reports/ShareDialog.d.ts.map +1 -0
- package/dist/planmagnet/reports/ShareDialog.js +234 -0
- package/dist/planmagnet/reports/ShareDialog.js.map +1 -0
- package/dist/planmagnet/reports/SharedReportPage.d.ts +4 -0
- package/dist/planmagnet/reports/SharedReportPage.d.ts.map +1 -0
- package/dist/planmagnet/reports/SharedReportPage.js +180 -0
- package/dist/planmagnet/reports/SharedReportPage.js.map +1 -0
- package/dist/planmagnet/reports/WidgetEditorDialog.d.ts +10 -0
- package/dist/planmagnet/reports/WidgetEditorDialog.d.ts.map +1 -0
- package/dist/planmagnet/reports/WidgetEditorDialog.js +220 -0
- package/dist/planmagnet/reports/WidgetEditorDialog.js.map +1 -0
- package/dist/planmagnet/reports/reportExportPptx.d.ts +4 -0
- package/dist/planmagnet/reports/reportExportPptx.d.ts.map +1 -0
- package/dist/planmagnet/reports/reportExportPptx.js +118 -0
- package/dist/planmagnet/reports/reportExportPptx.js.map +1 -0
- package/dist/planmagnet/reports/reportExportXlsx.d.ts +4 -0
- package/dist/planmagnet/reports/reportExportXlsx.d.ts.map +1 -0
- package/dist/planmagnet/reports/reportExportXlsx.js +42 -0
- package/dist/planmagnet/reports/reportExportXlsx.js.map +1 -0
- package/dist/planmagnet/reports/reportGraphql.d.ts +28 -0
- package/dist/planmagnet/reports/reportGraphql.d.ts.map +1 -0
- package/dist/planmagnet/reports/reportGraphql.js +360 -0
- package/dist/planmagnet/reports/reportGraphql.js.map +1 -0
- package/dist/planmagnet/reports/reportModel.d.ts +198 -0
- package/dist/planmagnet/reports/reportModel.d.ts.map +1 -0
- package/dist/planmagnet/reports/reportModel.js +328 -0
- package/dist/planmagnet/reports/reportModel.js.map +1 -0
- package/dist/planmagnet/reports/sharedReportRoute.d.ts +15 -0
- package/dist/planmagnet/reports/sharedReportRoute.d.ts.map +1 -0
- package/dist/planmagnet/reports/sharedReportRoute.js +9 -0
- package/dist/planmagnet/reports/sharedReportRoute.js.map +1 -0
- package/dist/planmagnet/roadmaps/RoadmapControls.js +60 -60
- package/dist/planmagnet/roadmaps/RoadmapNowNextLater.js +30 -30
- package/dist/planmagnet/roadmaps/RoadmapReviewPanel.js +21 -21
- package/dist/planmagnet/roadmaps/RoadmapVersionsPanel.js +22 -22
- package/package.json +6 -4
package/dist/node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"processMergedCells.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/files/sheet.xml/processMergedCells.js"],"sourcesContent":["import getCellStyleProperties from './helpers/getCellStyleProperties.js';\n\n// Supports \"merging cells\" across columns and rows.\n// https://rdrr.io/cran/openxlsx/man/mergeCells.html\n//\n// Returned result example for merged cells range \"A2:C3\":\n// { mergedCells: [ [0, 1], [2, 2] ] }\n//\n// Data example:\n//\n// rows:\n// [\n// [...],\n// [\n// { type: String, value: 'abc', columnSpan: 3, rowSpan: 2 },\n// { ... },\n// { ... }\n// ],\n// [...]\n// ]\n\nexport default function processMergedCells(sheetData, features) {\n var mergedCells = [];\n var _cloneSheetData = function cloneSheetData() {\n // The code will apply the style from the originating \"merged\" cells\n // to their adjacent `null` cells, so clone `sheetData` to prevent mutating it.\n sheetData = sheetData.slice();\n // Also clone each row of `sheetData`.\n var i = 0;\n while (i < sheetData.length) {\n sheetData[i] = sheetData[i].slice();\n i++;\n }\n // `sheetData` has been cloned. No need to clone it again.\n _cloneSheetData = function cloneSheetData() {\n return sheetData;\n };\n // Return the cloned `sheetData`.\n return sheetData;\n };\n var rowIndex = 0;\n while (rowIndex < sheetData.length) {\n var row = sheetData[rowIndex];\n var columnIndex = 0;\n while (columnIndex < row.length) {\n var cell = row[columnIndex];\n if (cell) {\n var _cell$rowSpan = cell.rowSpan,\n rowSpan = _cell$rowSpan === void 0 ? 1 : _cell$rowSpan;\n\n // `cell.span` property was renamed to `cell.columnSpan`.\n var columnSpan = typeof cell.span === 'number' ? cell.span : cell.columnSpan;\n if (typeof columnSpan !== 'number') {\n columnSpan = 1;\n }\n if (columnSpan > 1 || rowSpan > 1) {\n // Validate that `columnSpan`-ning or `rowSpan`-ning cells only overlap\n // `null` or `undefined` ones. Especially that `columnSpan`-ning or `rowSpan`-ning cells\n // don't overlap other `columnSpan`-ning or `rowSpan`-ning cells.\n processSpanningCells(sheetData, rowIndex, columnIndex, columnSpan, rowSpan, _cloneSheetData, features);\n\n // Add \"merged cells\" entry:\n // `[ [fromRowIndex, fromColumnIndex], [toRowIndex, toColumnIndex] ]`.\n mergedCells.push([[rowIndex, columnIndex], [rowIndex + (rowSpan ? rowSpan - 1 : 0), columnIndex + (columnSpan ? columnSpan - 1 : 0)]]);\n }\n }\n columnIndex++;\n }\n rowIndex++;\n }\n return {\n sheetData: sheetData,\n mergedCells: mergedCells\n };\n}\n\n// Validate that a `columnSpan`-ning / `rowSpan`-ning cell doesn't overlap\n// with other cells, especially `columnSpan`-ning / `rowSpan`-ning ones,\n// because those ones would make MS Office 2007 Excel say:\n// \"Excel found unreadable content in 'file.xlsx'.\n// Do you want to recover the contents of this workbook?\n// If you trust the source of this workbook, click Yes\".\nfunction processSpanningCells(sheetData, rowIndex, columnIndex, columnSpan, rowSpan, cloneSheetData, features) {\n var cellStyleProperties = getCellStyleProperties(sheetData[rowIndex][columnIndex], features);\n if (cellStyleProperties) {\n sheetData = cloneSheetData();\n }\n var i = rowIndex;\n while (i <= rowIndex + (rowSpan - 1)) {\n var j = columnIndex;\n while (j <= columnIndex + (columnSpan - 1)) {\n var cell = sheetData[i][j];\n if (i > rowIndex || j > columnIndex) {\n // Validate that all hidden cells are `null` or `undefined`.\n if (cell !== null && cell !== undefined) {\n throw new Error(\"[write-excel-file] When using `columnSpan` or `rowSpan` parameters, all hidden overlapped cells should be represented by `null`s or `undefined`s. Cell at row \".concat(rowIndex + 1, \" and column \").concat(columnIndex + 1, \" is configured with `columnSpan` \").concat(columnSpan, \" and `rowSpan` \").concat(rowSpan, \". Cell at row \").concat(i + 1, \" and column \").concat(j + 1, \" is neither `null` nor `undefined`: \").concat(JSON.stringify(cell)));\n }\n // Apply the style from the original cell to this `null` cell.\n // https://gitlab.com/catamphetamine/write-excel-file/-/issues/43\n if (cellStyleProperties) {\n sheetData[i][j] = cellStyleProperties;\n }\n }\n j++;\n }\n i++;\n }\n}\n//# sourceMappingURL=processMergedCells.js.map"],"x_google_ignoreList":[0],"mappings":";;AAqBA,SAAwB,EAAmB,GAAW,GAAU;AAoB9D,MAnBA,IAAI,IAAc,EAAE,EAChB,IAAkB,WAA0B;AAG9C,MAAY,EAAU,OAAO;AAG7B,OADA,IAAI,IAAI,GACD,IAAI,EAAU,QAEnB,CADA,EAAU,KAAK,EAAU,GAAG,OAAO,EACnC;AAOF,SAJA,IAAkB,WAA0B;AAC1C,UAAO;KAGF;IAEL,IAAW,GACR,IAAW,EAAU,SAAQ;AAGlC,OAFA,IAAI,IAAM,EAAU,IAChB,IAAc,GACX,IAAc,EAAI,SAAQ;GAC/B,IAAI,IAAO,EAAI;AACf,OAAI,GAAM;IACR,IAAI,IAAgB,EAAK,SACvB,IAAU,MAAkB,KAAK,IAAI,IAAI,GAGvC,IAAa,OAAO,EAAK,QAAS,WAAW,EAAK,OAAO,EAAK;AAIlE,IAHI,OAAO,KAAe,aACxB,IAAa,KAEX,IAAa,KAAK,IAAU,OAI9B,EAAqB,GAAW,GAAU,GAAa,GAAY,GAAS,GAAiB,EAAS,EAItG,EAAY,KAAK,CAAC,CAAC,GAAU,EAAY,EAAE,CAAC,KAAY,IAAU,IAAU,IAAI,IAAI,KAAe,IAAa,IAAa,IAAI,GAAG,CAAC,CAAC;;AAG1I;;AAEF;;AAEF,QAAO;EACM;EACE;EACd;;AASH,SAAS,EAAqB,GAAW,GAAU,GAAa,GAAY,GAAS,GAAgB,GAAU;CAC7G,IAAI,IAAsB,EAAuB,EAAU,GAAU,IAAc,EAAS;AAC5F,CAAI,MACF,IAAY,GAAgB;AAG9B,MADA,IAAI,IAAI,GACD,KAAK,KAAY,IAAU,KAAI;AAEpC,OADA,IAAI,IAAI,GACD,KAAK,KAAe,IAAa,KAAI;GAC1C,IAAI,IAAO,EAAU,GAAG;AACxB,OAAI,IAAI,KAAY,IAAI,GAAa;AAEnC,QAAI,KAAS,KACX,OAAU,MAAM,yKAAwK,IAAW,gBAA0B,IAAc,uCAA+C,qBAAsC,kBAAkC,IAAI,gBAA0B,IAAI,4CAAkD,KAAK,UAAU,EAAK,GAAE;AAI9c,IAAI,MACF,EAAU,GAAG,KAAK;;AAGtB;;AAEF"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import e from "./cell.js";
|
|
2
|
+
import t from "./helpers/getCellStyleProperties.js";
|
|
3
|
+
import n from "../../helpers/isCellObject.js";
|
|
4
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.js
|
|
5
|
+
function r(e) {
|
|
6
|
+
"@babel/helpers - typeof";
|
|
7
|
+
return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
8
|
+
return typeof e;
|
|
9
|
+
} : function(e) {
|
|
10
|
+
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
11
|
+
}, r(e);
|
|
12
|
+
}
|
|
13
|
+
function i(e, t) {
|
|
14
|
+
var n = Object.keys(e);
|
|
15
|
+
if (Object.getOwnPropertySymbols) {
|
|
16
|
+
var r = Object.getOwnPropertySymbols(e);
|
|
17
|
+
t && (r = r.filter(function(t) {
|
|
18
|
+
return Object.getOwnPropertyDescriptor(e, t).enumerable;
|
|
19
|
+
})), n.push.apply(n, r);
|
|
20
|
+
}
|
|
21
|
+
return n;
|
|
22
|
+
}
|
|
23
|
+
function a(e) {
|
|
24
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
25
|
+
var n = arguments[t] == null ? {} : arguments[t];
|
|
26
|
+
t % 2 ? i(Object(n), !0).forEach(function(t) {
|
|
27
|
+
o(e, t, n[t]);
|
|
28
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i(Object(n)).forEach(function(t) {
|
|
29
|
+
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
return e;
|
|
33
|
+
}
|
|
34
|
+
function o(e, t, n) {
|
|
35
|
+
return (t = s(t)) in e ? Object.defineProperty(e, t, {
|
|
36
|
+
value: n,
|
|
37
|
+
enumerable: !0,
|
|
38
|
+
configurable: !0,
|
|
39
|
+
writable: !0
|
|
40
|
+
}) : e[t] = n, e;
|
|
41
|
+
}
|
|
42
|
+
function s(e) {
|
|
43
|
+
var t = c(e, "string");
|
|
44
|
+
return r(t) == "symbol" ? t : t + "";
|
|
45
|
+
}
|
|
46
|
+
function c(e, t) {
|
|
47
|
+
if (r(e) != "object" || !e) return e;
|
|
48
|
+
var n = e[Symbol.toPrimitive];
|
|
49
|
+
if (n !== void 0) {
|
|
50
|
+
var i = n.call(e, t || "default");
|
|
51
|
+
if (r(i) != "object") return i;
|
|
52
|
+
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
53
|
+
}
|
|
54
|
+
return (t === "string" ? String : Number)(e);
|
|
55
|
+
}
|
|
56
|
+
function l(e, t) {
|
|
57
|
+
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
58
|
+
if (n) return (n = n.call(e)).next.bind(n);
|
|
59
|
+
if (Array.isArray(e) || (n = u(e)) || t && e && typeof e.length == "number") {
|
|
60
|
+
n && (e = n);
|
|
61
|
+
var r = 0;
|
|
62
|
+
return function() {
|
|
63
|
+
return r >= e.length ? { done: !0 } : {
|
|
64
|
+
done: !1,
|
|
65
|
+
value: e[r++]
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
70
|
+
}
|
|
71
|
+
function u(e, t) {
|
|
72
|
+
if (e) {
|
|
73
|
+
if (typeof e == "string") return d(e, t);
|
|
74
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
75
|
+
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) ? d(e, t) : void 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function d(e, t) {
|
|
79
|
+
(t == null || t > e.length) && (t = e.length);
|
|
80
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
81
|
+
return r;
|
|
82
|
+
}
|
|
83
|
+
function f(e, t, r, i) {
|
|
84
|
+
for (var a, o = l(t), s; !(s = o()).done;) {
|
|
85
|
+
var c = s.value;
|
|
86
|
+
n(c) && c.height && (a === void 0 || a < c.height) && (a = c.height);
|
|
87
|
+
}
|
|
88
|
+
var u = r, d = t.map(function(t, n) {
|
|
89
|
+
return p(e, t, n, u, i);
|
|
90
|
+
}).join(""), f = { r: r + 1 };
|
|
91
|
+
return a && (f.ht = a, f.customHeight = 1), e("row", f, d, r);
|
|
92
|
+
}
|
|
93
|
+
function p(r, i, o, s, c) {
|
|
94
|
+
var l = c.findOrCreateCellStyle, u = c.findOrCreateSharedString, d = c.hasDefaultFont, f = c.dateFormat, p = c.features;
|
|
95
|
+
if (i == null) return "";
|
|
96
|
+
var g = n(i) ? i : { value: i }, _ = t(g, p), v = g.type, y = g.value, b = g.format;
|
|
97
|
+
if (m(y) ? y = null : v === void 0 && (v = h(y), v === void 0 && (v = String, y = String(y))), b) {
|
|
98
|
+
if (v !== Date && v !== Number && v !== String && v !== "Formula") throw Error(`\`format\` "${b}" was specified on a cell of type \`${v}\`. \`format\` could only be specified on a cell of type \`Date\`, \`Number\`, \`String\` or \`"Formula"\`.`);
|
|
99
|
+
if (v === String && b !== "@") throw Error(`\`format\` "${b}" was specified on a cell of type \`String\`. The only supported \`format\` for a cell of type \`String\` is "@".`);
|
|
100
|
+
} else v === Date && (b = f);
|
|
101
|
+
var x = !!b, S = !!_, C;
|
|
102
|
+
return (d || x || S) && (C = l(a({ format: b }, _))), e(r, {
|
|
103
|
+
value: y,
|
|
104
|
+
type: v,
|
|
105
|
+
cellStyleId: C,
|
|
106
|
+
findOrCreateSharedString: u
|
|
107
|
+
}, o, s);
|
|
108
|
+
}
|
|
109
|
+
function m(e) {
|
|
110
|
+
return e == null || e === "";
|
|
111
|
+
}
|
|
112
|
+
function h(e) {
|
|
113
|
+
switch (r(e)) {
|
|
114
|
+
case "string": return String;
|
|
115
|
+
case "number": return Number;
|
|
116
|
+
case "boolean": return Boolean;
|
|
117
|
+
default: if (e instanceof Date) return Date;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
export { f as default };
|
|
122
|
+
|
|
123
|
+
//# sourceMappingURL=row.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"row.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/files/sheet.xml/row.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; }\nimport generateCell from './cell.js';\nimport getCellStyleProperties from './helpers/getCellStyleProperties.js';\nimport isCellObject from '../../helpers/isCellObject.js';\nexport default function generateRow(tag, row, index, parameters) {\n // Calculate row height.\n var rowHeight;\n for (var _iterator = _createForOfIteratorHelperLoose(row), _step; !(_step = _iterator()).done;) {\n var cell = _step.value;\n if (isCellObject(cell)) {\n if (cell.height) {\n if (rowHeight === undefined || rowHeight < cell.height) {\n rowHeight = cell.height;\n }\n }\n }\n }\n\n // Generate `<r/>` element inner XML.\n var rowIndex = index;\n var rowCellsXml = row.map(function (cell, index) {\n return getCellXml(tag, cell, index, rowIndex, parameters);\n }).join('');\n var rowAttributes = {\n r: index + 1\n };\n if (rowHeight) {\n rowAttributes.ht = rowHeight;\n rowAttributes.customHeight = 1;\n }\n return tag('row', rowAttributes, rowCellsXml, index);\n}\nfunction getCellXml(tag, cell, index, rowIndex, _ref) {\n var findOrCreateCellStyle = _ref.findOrCreateCellStyle,\n findOrCreateSharedString = _ref.findOrCreateSharedString,\n hasDefaultFont = _ref.hasDefaultFont,\n dateFormat = _ref.dateFormat,\n features = _ref.features;\n if (cell === undefined || cell === null) {\n return '';\n }\n var cellObject = isCellObject(cell) ? cell : {\n value: cell\n };\n var cellStyleProperties = getCellStyleProperties(cellObject, features);\n var type = cellObject.type,\n value = cellObject.value,\n format = cellObject.format;\n if (isEmpty(value)) {\n value = null;\n } else {\n // Get cell value type.\n if (type === undefined) {\n type = detectValueType(value);\n if (type === undefined) {\n // The default cell value type is `String`.\n type = String;\n value = String(value);\n }\n }\n }\n\n // Validate `format` property.\n if (format) {\n if (type !== Date && type !== Number && type !== String && type !== 'Formula') {\n throw new Error(\"`format` \\\"\".concat(format, \"\\\" was specified on a cell of type `\").concat(type, \"`. `format` could only be specified on a cell of type `Date`, `Number`, `String` or `\\\"Formula\\\"`.\"));\n }\n if (type === String && format !== '@') {\n throw new Error(\"`format` \\\"\".concat(format, \"\\\" was specified on a cell of type `String`. The only supported `format` for a cell of type `String` is \\\"@\\\".\"));\n }\n } else {\n if (type === Date) {\n format = dateFormat;\n }\n }\n var hasFormat = Boolean(format);\n var hasCellStyle = Boolean(cellStyleProperties);\n var cellStyleId;\n if (hasDefaultFont || hasFormat || hasCellStyle) {\n cellStyleId = findOrCreateCellStyle(_objectSpread({\n format: format\n }, cellStyleProperties));\n }\n return generateCell(tag, {\n value: value,\n type: type,\n cellStyleId: cellStyleId,\n findOrCreateSharedString: findOrCreateSharedString\n }, index, rowIndex);\n}\nfunction isEmpty(value) {\n return value === undefined || value === null || value === '';\n}\nfunction detectValueType(value) {\n switch (_typeof(value)) {\n case 'string':\n return String;\n case 'number':\n return Number;\n case 'boolean':\n return Boolean;\n default:\n if (value instanceof Date) {\n return Date;\n }\n }\n}\n//# sourceMappingURL=row.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import e from "../../helpers/features/getAdditionalContent.js";
|
|
2
|
+
import t from "../../helpers/features/transformContent.js";
|
|
3
|
+
import n from "../../helpers/features/getElementXml.js";
|
|
4
|
+
import r from "./sheetViews.js";
|
|
5
|
+
import i from "./columns.js";
|
|
6
|
+
import a from "./sheetData.js";
|
|
7
|
+
import o from "./processMergedCells.js";
|
|
8
|
+
import s from "./mergedCellsDescription.js";
|
|
9
|
+
import c from "./pageMargins.js";
|
|
10
|
+
import l from "./pageSetup.js";
|
|
11
|
+
import u from "./drawingReference.js";
|
|
12
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js
|
|
13
|
+
function d(d, f) {
|
|
14
|
+
var p = d.sheetData, m = d.sheetOptions, h = d.sheetIndex, g = d.sheetId, _ = d.hasDefaultFont, v = d.findOrCreateCellStyle, y = d.findOrCreateSharedString, b = m.columns, x = m.dateFormat, S = m.orientation, C = m.showGridLines, w = m.rightToLeft, T = m.zoomScale, E = o(p, { features: f }), D = E.sheetData, O = E.mergedCells, k = {
|
|
15
|
+
sheetIndex: h,
|
|
16
|
+
sheetId: g
|
|
17
|
+
}, A = function(e, t, r, i) {
|
|
18
|
+
return n("xl/worksheets/sheet{id}.xml", e, t, r, i, k, m, f);
|
|
19
|
+
}, j = "<?xml version=\"1.0\" ?><worksheet xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\" xmlns:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\" xmlns:mv=\"urn:schemas-microsoft-com:mac:vml\" xmlns:mx=\"http://schemas.microsoft.com/office/mac/excel/2008/main\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:x14=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main\" xmlns:x14ac=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac\" xmlns:xm=\"http://schemas.microsoft.com/office/excel/2006/main\">" + r(A, {
|
|
20
|
+
showGridLines: C,
|
|
21
|
+
rightToLeft: w,
|
|
22
|
+
zoomScale: T
|
|
23
|
+
}, h) + i(A, b) + a(A, D, {
|
|
24
|
+
findOrCreateCellStyle: v,
|
|
25
|
+
findOrCreateSharedString: y,
|
|
26
|
+
hasDefaultFont: _,
|
|
27
|
+
dateFormat: x,
|
|
28
|
+
features: f
|
|
29
|
+
}) + s(A, O) + c(A, { orientation: S }) + l(A, { orientation: S }) + u(A) + e("xl/worksheets/sheet{id}.xml", f, m, {
|
|
30
|
+
sheetIndex: h,
|
|
31
|
+
sheetId: g
|
|
32
|
+
}) + "</worksheet>";
|
|
33
|
+
return j = t(j, "xl/worksheets/sheet{id}.xml", f, m, {
|
|
34
|
+
sheetIndex: h,
|
|
35
|
+
sheetId: g
|
|
36
|
+
}), j;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { d as default };
|
|
40
|
+
|
|
41
|
+
//# sourceMappingURL=sheet.xml.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.xml.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheet.xml.js"],"sourcesContent":["import generateSheetViews from './sheetViews.js';\nimport generateColumnsDescription from './columns.js';\nimport generateSheetData from './sheetData.js';\nimport processMergedCells from './processMergedCells.js';\nimport generateMergedCellsDescription from './mergedCellsDescription.js';\nimport generatePageMargins from './pageMargins.js';\nimport generatePageSetup from './pageSetup.js';\nimport generateDrawingReference from './drawingReference.js';\nimport getAdditionalContent from '../../helpers/features/getAdditionalContent.js';\nimport transformContent from '../../helpers/features/transformContent.js';\nimport getElementXml from '../../helpers/features/getElementXml.js';\nexport default function generateSheetXml(sheetXmlParameters, features) {\n var sheetData_ = sheetXmlParameters.sheetData,\n sheetOptions = sheetXmlParameters.sheetOptions,\n sheetIndex = sheetXmlParameters.sheetIndex,\n sheetId = sheetXmlParameters.sheetId,\n hasDefaultFont = sheetXmlParameters.hasDefaultFont,\n findOrCreateCellStyle = sheetXmlParameters.findOrCreateCellStyle,\n findOrCreateSharedString = sheetXmlParameters.findOrCreateSharedString;\n var columns = sheetOptions.columns,\n dateFormat = sheetOptions.dateFormat,\n orientation = sheetOptions.orientation,\n showGridLines = sheetOptions.showGridLines,\n rightToLeft = sheetOptions.rightToLeft,\n zoomScale = sheetOptions.zoomScale;\n var _processMergedCells = processMergedCells(sheetData_, {\n features: features\n }),\n sheetData = _processMergedCells.sheetData,\n mergedCells = _processMergedCells.mergedCells;\n\n // A parameter that will be used inside the `tag()` function below.\n var tagFunctionProperties = {\n sheetIndex: sheetIndex,\n sheetId: sheetId\n };\n\n /**\r\n * Creates XML tag markup.\r\n * @param {string} tagName\r\n * @param {object} attributes\r\n * @param {string} [innerXml]\r\n * @param {number} [index]\r\n * @returns {string}\r\n */\n var tag = function tag(tagName, attributes, innerXml, index) {\n return getElementXml('xl/worksheets/sheet{id}.xml', tagName, attributes, innerXml, index, tagFunctionProperties, sheetOptions, features);\n };\n var xml = '<?xml version=\"1.0\" ?>' + '<worksheet xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\" xmlns:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\" xmlns:mv=\"urn:schemas-microsoft-com:mac:vml\" xmlns:mx=\"http://schemas.microsoft.com/office/mac/excel/2008/main\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:x14=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main\" xmlns:x14ac=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac\" xmlns:xm=\"http://schemas.microsoft.com/office/excel/2006/main\">' +\n // The order of elements is dictated by the XLSX spec.\n //\n // `<sheetViews/>`\n generateSheetViews(tag, {\n showGridLines: showGridLines,\n rightToLeft: rightToLeft,\n zoomScale: zoomScale\n }, sheetIndex) +\n // `<cols/>`\n generateColumnsDescription(tag, columns) +\n // `<sheetData/>`\n generateSheetData(tag, sheetData, {\n findOrCreateCellStyle: findOrCreateCellStyle,\n findOrCreateSharedString: findOrCreateSharedString,\n hasDefaultFont: hasDefaultFont,\n dateFormat: dateFormat,\n features: features\n }) +\n // `<mergeCells/>`\n generateMergedCellsDescription(tag, mergedCells) +\n // `<pageMargins/>`\n generatePageMargins(tag, {\n orientation: orientation\n }) +\n // `<pageSetup/>`\n generatePageSetup(tag, {\n orientation: orientation\n }) +\n // `<drawing/>`\n generateDrawingReference(tag) +\n // Apply any plugins that insert additional content to this XML.\n getAdditionalContent('xl/worksheets/sheet{id}.xml', features, sheetOptions, {\n sheetIndex: sheetIndex,\n sheetId: sheetId\n }) + '</worksheet>';\n\n // Apply any plugins that transform this XML.\n xml = transformContent(xml, 'xl/worksheets/sheet{id}.xml', features, sheetOptions, {\n sheetIndex: sheetIndex,\n sheetId: sheetId\n });\n return xml;\n}\n//# sourceMappingURL=sheet.xml.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAWA,SAAwB,EAAiB,GAAoB,GAAU;CACrE,IAAI,IAAa,EAAmB,WAClC,IAAe,EAAmB,cAClC,IAAa,EAAmB,YAChC,IAAU,EAAmB,SAC7B,IAAiB,EAAmB,gBACpC,IAAwB,EAAmB,uBAC3C,IAA2B,EAAmB,0BAC5C,IAAU,EAAa,SACzB,IAAa,EAAa,YAC1B,IAAc,EAAa,aAC3B,IAAgB,EAAa,eAC7B,IAAc,EAAa,aAC3B,IAAY,EAAa,WACvB,IAAsB,EAAmB,GAAY,EAC3C,aACX,CAAC,EACF,IAAY,EAAoB,WAChC,IAAc,EAAoB,aAGhC,IAAwB;EACd;EACH;EACV,EAUG,IAAM,SAAa,GAAS,GAAY,GAAU,GAAO;AAC3D,SAAO,EAAc,+BAA+B,GAAS,GAAY,GAAU,GAAO,GAAuB,GAAc,EAAS;IAEtI,IAAM,klBAIV,EAAmB,GAAK;EACP;EACF;EACF;EACZ,EAAE,EAAW,GAEd,EAA2B,GAAK,EAAQ,GAExC,EAAkB,GAAK,GAAW;EACT;EACG;EACV;EACJ;EACF;EACX,CAAC,GAEF,EAA+B,GAAK,EAAY,GAEhD,EAAoB,GAAK,EACV,gBACd,CAAC,GAEF,EAAkB,GAAK,EACR,gBACd,CAAC,GAEF,EAAyB,EAAI,GAE7B,EAAqB,+BAA+B,GAAU,GAAc;EAC9D;EACH;EACV,CAAC,GAAG;AAOL,QAJA,IAAM,EAAiB,GAAK,+BAA+B,GAAU,GAAc;EACrE;EACH;EACV,CAAC,EACK"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import e from "./row.js";
|
|
2
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js
|
|
3
|
+
function t(t, n, r) {
|
|
4
|
+
return t("sheetData", null, n.map(function(n, i) {
|
|
5
|
+
return e(t, n, i, r);
|
|
6
|
+
}).join(""));
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as default };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=sheetData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheetData.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetData.js"],"sourcesContent":["import generateRow from './row.js';\nexport default function generateSheetData(tag, sheetData, parameters) {\n var sheetDataXml = sheetData.map(function (row, index) {\n return generateRow(tag, row, index, parameters);\n }).join('');\n return tag('sheetData', null, sheetDataXml);\n}\n//# sourceMappingURL=sheetData.js.map"],"x_google_ignoreList":[0],"mappings":";;AACA,SAAwB,EAAkB,GAAK,GAAW,GAAY;AAIpE,QAAO,EAAI,aAAa,MAHL,EAAU,IAAI,SAAU,GAAK,GAAO;AACrD,SAAO,EAAY,GAAK,GAAK,GAAO,EAAW;GAC/C,CAAC,KAAK,GAAG,CACgC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js
|
|
2
|
+
function e(e, n, r) {
|
|
3
|
+
if (!t(n)) return "";
|
|
4
|
+
var i = n.showGridLines, a = n.rightToLeft, o = n.zoomScale, s = {
|
|
5
|
+
tabSelected: +(r === 0),
|
|
6
|
+
workbookViewId: 0
|
|
7
|
+
};
|
|
8
|
+
return i === !1 && (s.showGridLines = !1), a && (s.rightToLeft = 1), typeof o == "number" && (s.zoomScale = Math.round(o * 100)), e("sheetViews", null, e("sheetView", s, null, 0));
|
|
9
|
+
}
|
|
10
|
+
function t(e) {
|
|
11
|
+
var t = e.showGridLines, n = e.rightToLeft, r = e.zoomScale;
|
|
12
|
+
return t === !1 || n || typeof r == "number";
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { e as default };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=sheetViews.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheetViews.js","names":[],"sources":["../../../../../../../node_modules/write-excel-file/modules/xlsx/files/sheet.xml/sheetViews.js"],"sourcesContent":["import getSelfClosingTagMarkup from '../../../xml/getSelfClosingTagMarkup.js';\nexport default function generateSheetViews(tag, viewProperties, sheetIndex) {\n if (!hasView(viewProperties)) {\n return '';\n }\n var showGridLines = viewProperties.showGridLines,\n rightToLeft = viewProperties.rightToLeft,\n zoomScale = viewProperties.zoomScale;\n var sheetViewAttributes = {\n tabSelected: sheetIndex === 0 ? 1 : 0,\n // The first sheet is selected by default.\n workbookViewId: 0\n };\n if (showGridLines === false) {\n sheetViewAttributes.showGridLines = false;\n }\n if (rightToLeft) {\n sheetViewAttributes.rightToLeft = 1;\n }\n if (typeof zoomScale === 'number') {\n // Convert the scale number to a percentage.\n //\n // Excel 2007 doesn't like fractional `zoomScale` percentage values.\n // To work around that, it rounds the resulting percentage value.\n //\n sheetViewAttributes.zoomScale = Math.round(zoomScale * 100);\n }\n var sheetViewXml = tag('sheetView', sheetViewAttributes, null, 0);\n return tag('sheetViews', null, sheetViewXml);\n}\nfunction hasView(_ref) {\n var showGridLines = _ref.showGridLines,\n rightToLeft = _ref.rightToLeft,\n zoomScale = _ref.zoomScale;\n return showGridLines === false || rightToLeft || typeof zoomScale === 'number';\n}\n//# sourceMappingURL=sheetViews.js.map"],"x_google_ignoreList":[0],"mappings":";AACA,SAAwB,EAAmB,GAAK,GAAgB,GAAY;AAC1E,KAAI,CAAC,EAAQ,EAAe,CAC1B,QAAO;CAET,IAAI,IAAgB,EAAe,eACjC,IAAc,EAAe,aAC7B,IAAY,EAAe,WACzB,IAAsB;EACxB,aAAa,QAAe;EAE5B,gBAAgB;EACjB;AAgBD,QAfI,MAAkB,OACpB,EAAoB,gBAAgB,KAElC,MACF,EAAoB,cAAc,IAEhC,OAAO,KAAc,aAMvB,EAAoB,YAAY,KAAK,MAAM,IAAY,IAAI,GAGtD,EAAI,cAAc,MADN,EAAI,aAAa,GAAqB,MAAM,EAAE,CACrB;;AAE9C,SAAS,EAAQ,GAAM;CACrB,IAAI,IAAgB,EAAK,eACvB,IAAc,EAAK,aACnB,IAAY,EAAK;AACnB,QAAO,MAAkB,MAAS,KAAe,OAAO,KAAc"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import e from "../helpers/features/getAdditionalContent.js";
|
|
2
|
+
import t from "../helpers/features/transformContent.js";
|
|
3
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
var i = n.sheetIndex, a = n.sheetId, o = n.sheetOptions, s = n.features, c = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">" + r(a) + e("xl/worksheets/_rels/sheet{id}.xml.rels", s, o, {
|
|
6
|
+
sheetIndex: i,
|
|
7
|
+
sheetId: a
|
|
8
|
+
}) + "</Relationships>";
|
|
9
|
+
return c = t(c, "xl/worksheets/_rels/sheet{id}.xml.rels", s, o, {
|
|
10
|
+
sheetIndex: i,
|
|
11
|
+
sheetId: a
|
|
12
|
+
}), c;
|
|
13
|
+
}
|
|
14
|
+
function r(e) {
|
|
15
|
+
return `<Relationship Id="rId-drawing-1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing${e}.xml"/>`;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
export { n as default, r as getDrawingRelationshipXml };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=sheet.xml.rels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sheet.xml.rels.js","names":[],"sources":["../../../../../../node_modules/write-excel-file/modules/xlsx/files/sheet.xml.rels.js"],"sourcesContent":["import getAdditionalContent from '../helpers/features/getAdditionalContent.js';\nimport transformContent from '../helpers/features/transformContent.js';\nexport default function generateSheetXmlRels(_ref) {\n var sheetIndex = _ref.sheetIndex,\n sheetId = _ref.sheetId,\n sheetOptions = _ref.sheetOptions,\n features = _ref.features;\n var xml = '<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>' + '<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">' +\n // Each sheet has at most one \"drawing\", so a globally-unique drawing ID is assumed to be the sheet ID.\n getDrawingRelationshipXml(sheetId) +\n // Apply any plugins that insert additional content to this XML.\n getAdditionalContent('xl/worksheets/_rels/sheet{id}.xml.rels', features, sheetOptions, {\n sheetIndex: sheetIndex,\n sheetId: sheetId\n }) + '</Relationships>';\n\n // Apply any plugins that transform this XML.\n xml = transformContent(xml, 'xl/worksheets/_rels/sheet{id}.xml.rels', features, sheetOptions, {\n sheetIndex: sheetIndex,\n sheetId: sheetId\n });\n return xml;\n}\nexport function getDrawingRelationshipXml(sheetId) {\n return \"<Relationship Id=\\\"rId-drawing-1\\\" Type=\\\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing\\\" Target=\\\"../drawings/drawing\".concat(sheetId, \".xml\\\"/>\");\n}\n//# sourceMappingURL=sheet.xml.rels.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAwB,EAAqB,GAAM;CACjD,IAAI,IAAa,EAAK,YACpB,IAAU,EAAK,SACf,IAAe,EAAK,cACpB,IAAW,EAAK,UACd,IAAM,wJAEV,EAA0B,EAAQ,GAElC,EAAqB,0CAA0C,GAAU,GAAc;EACzE;EACH;EACV,CAAC,GAAG;AAOL,QAJA,IAAM,EAAiB,GAAK,0CAA0C,GAAU,GAAc;EAChF;EACH;EACV,CAAC,EACK;;AAET,SAAgB,EAA0B,GAAS;AACjD,QAAO,kJAA8J"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import e from "../helpers/features/getAdditionalContent.js";
|
|
2
|
+
import t from "../helpers/features/transformContent.js";
|
|
3
|
+
import n from "../../xml/sanitizeAttributeValue.js";
|
|
4
|
+
import r from "../helpers/hasAlignment.js";
|
|
5
|
+
import i from "../helpers/getFillXml.js";
|
|
6
|
+
import a from "../helpers/getBorderXml.js";
|
|
7
|
+
import o from "../helpers/getFontXml.js";
|
|
8
|
+
import s from "../helpers/getAlignmentXml.js";
|
|
9
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/styles.xml.js
|
|
10
|
+
function c(e, t) {
|
|
11
|
+
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
12
|
+
if (n) return (n = n.call(e)).next.bind(n);
|
|
13
|
+
if (Array.isArray(e) || (n = l(e)) || t && e && typeof e.length == "number") {
|
|
14
|
+
n && (e = n);
|
|
15
|
+
var r = 0;
|
|
16
|
+
return function() {
|
|
17
|
+
return r >= e.length ? { done: !0 } : {
|
|
18
|
+
done: !1,
|
|
19
|
+
value: e[r++]
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
24
|
+
}
|
|
25
|
+
function l(e, t) {
|
|
26
|
+
if (e) {
|
|
27
|
+
if (typeof e == "string") return u(e, t);
|
|
28
|
+
var n = {}.toString.call(e).slice(8, -1);
|
|
29
|
+
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) ? u(e, t) : void 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function u(e, t) {
|
|
33
|
+
(t == null || t > e.length) && (t = e.length);
|
|
34
|
+
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
35
|
+
return r;
|
|
36
|
+
}
|
|
37
|
+
function d(l, u, d) {
|
|
38
|
+
var f = l.formats, p = l.styles, m = l.fonts, h = l.fills, g = l.borders, _ = "<?xml version=\"1.0\" ?>";
|
|
39
|
+
if (_ += "<styleSheet xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\">", f.length > 0) {
|
|
40
|
+
_ += `<numFmts count="${f.length}">`;
|
|
41
|
+
for (var v = 0; v < f.length; v++) _ += `<numFmt numFmtId="${100 + v}" formatCode="${n(f[v])}"/>`;
|
|
42
|
+
_ += "</numFmts>";
|
|
43
|
+
}
|
|
44
|
+
_ += `<fonts count="${m.length}">`;
|
|
45
|
+
for (var y = c(m), b; !(b = y()).done;) {
|
|
46
|
+
var x = b.value;
|
|
47
|
+
_ += o(x);
|
|
48
|
+
}
|
|
49
|
+
_ += "</fonts>", _ += `<fills count="${h.length}">`;
|
|
50
|
+
for (var S = c(h), C; !(C = S()).done;) {
|
|
51
|
+
var w = C.value;
|
|
52
|
+
w.gray125 ? (_ += "<fill>", _ += "<patternFill patternType=\"gray125\"/>", _ += "</fill>") : _ += i(w);
|
|
53
|
+
}
|
|
54
|
+
_ += "</fills>", _ += `<borders count="${g.length}">`;
|
|
55
|
+
for (var T = c(g), E; !(E = T()).done;) {
|
|
56
|
+
var D = E.value;
|
|
57
|
+
_ += a(D);
|
|
58
|
+
}
|
|
59
|
+
_ += "</borders>", _ += `<cellXfs count="${p.length}">`;
|
|
60
|
+
for (var O = c(p), k; !(k = O()).done;) {
|
|
61
|
+
var A = k.value, j = A.fontId, M = A.fillId, N = A.borderId, P = A.alignment, F = A.formatId;
|
|
62
|
+
_ += "<xf " + [
|
|
63
|
+
F === void 0 ? void 0 : `numFmtId="${F}" applyNumberFormat="1"`,
|
|
64
|
+
j === void 0 ? void 0 : `fontId="${j}" applyFont="1"`,
|
|
65
|
+
M === void 0 ? void 0 : `fillId="${M}" applyFill="1"`,
|
|
66
|
+
N === void 0 ? void 0 : `borderId="${N}" applyBorder="1"`,
|
|
67
|
+
r(P) ? "applyAlignment=\"1\"" : void 0
|
|
68
|
+
].filter(function(e) {
|
|
69
|
+
return e;
|
|
70
|
+
}).join(" ") + ">" + (r(P) ? s(P) : "") + "</xf>";
|
|
71
|
+
}
|
|
72
|
+
return _ += "</cellXfs>", _ += e("xl/styles.xml", d, u), _ += "</styleSheet>", _ = t(_, "xl/styles.xml", d, u), _;
|
|
73
|
+
}
|
|
74
|
+
//#endregion
|
|
75
|
+
export { d as default };
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=styles.xml.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.xml.js","names":[],"sources":["../../../../../../node_modules/write-excel-file/modules/xlsx/files/styles.xml.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 sanitizeAttributeValue from '../../xml/sanitizeAttributeValue.js';\nimport getFillXml from '../helpers/getFillXml.js';\nimport getBorderXml from '../helpers/getBorderXml.js';\nimport getFontXml from '../helpers/getFontXml.js';\nimport hasAlignment from '../helpers/hasAlignment.js';\nimport getAlignmentXml from '../helpers/getAlignmentXml.js';\nimport getAdditionalContent from '../helpers/features/getAdditionalContent.js';\nimport transformContent from '../helpers/features/transformContent.js';\nimport { FORMAT_ID_STARTS_FROM } from '../initializeStyles.js';\nexport default function generateStylesXml(cellStyles, sheetsOptions, features) {\n var formats = cellStyles.formats,\n styles = cellStyles.styles,\n fonts = cellStyles.fonts,\n fills = cellStyles.fills,\n borders = cellStyles.borders;\n var xml = '<?xml version=\"1.0\" ?>';\n xml += '<styleSheet xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\">';\n\n // Turns out, as weird as it sounds, the order of XML elements matters to MS Office Excel.\n // https://social.msdn.microsoft.com/Forums/office/en-US/cc47ab65-dab7-4e32-b676-b641aa1e1411/how-to-validate-the-xlsx-that-i-generate?forum=oxmlsdk\n // For example, previously this library was inserting `<cellXfs/>` before `<fonts/>`\n // and that caused MS Office 2007 Excel to throw an error about the file being corrupt:\n // \"Excel found unreadable content in '*.xlsx'. Do you want to recover the contents of this workbook?\"\n // \"Excel was able to open the file by repairing or removing the unreadable content.\"\n // \"Removed Part: /xl/styles.xml part with XML error. (Styles) Load error. Line 1, column ...\"\n // \"Repaired Records: Cell information from /xl/worksheets/sheet1.xml part\"\n\n if (formats.length > 0) {\n xml += \"<numFmts count=\\\"\".concat(formats.length, \"\\\">\");\n for (var i = 0; i < formats.length; i++) {\n xml += \"<numFmt numFmtId=\\\"\".concat(FORMAT_ID_STARTS_FROM + i, \"\\\" formatCode=\\\"\").concat(sanitizeAttributeValue(formats[i]), \"\\\"/>\");\n }\n xml += \"</numFmts>\";\n }\n xml += \"<fonts count=\\\"\".concat(fonts.length, \"\\\">\");\n for (var _iterator = _createForOfIteratorHelperLoose(fonts), _step; !(_step = _iterator()).done;) {\n var font = _step.value;\n xml += getFontXml(font);\n }\n xml += '</fonts>';\n\n // MS Office 2007 Excel seems to require a `<fills/>` element to always exist.\n // without it, MS Office 2007 Excel thinks that the file is broken.\n xml += \"<fills count=\\\"\".concat(fills.length, \"\\\">\");\n for (var _iterator2 = _createForOfIteratorHelperLoose(fills), _step2; !(_step2 = _iterator2()).done;) {\n var fill = _step2.value;\n if (fill.gray125) {\n // \"gray125\" fill.\n // For some weird reason, MS Office 2007 Excel seems to require \"gray125\" fill to be present in styles.\n // Otherwise, if it's absent, it would replace the first custom `<fill/>` with a \"gray125\" fill.\n xml += '<fill>';\n xml += '<patternFill patternType=\"gray125\"/>';\n xml += '</fill>';\n } else {\n xml += getFillXml(fill);\n }\n }\n xml += '</fills>';\n\n // MS Office 2007 Excel seems to require a `<borders/>` element to exist:\n // without it, MS Office 2007 Excel thinks that the file is broken.\n xml += \"<borders count=\\\"\".concat(borders.length, \"\\\">\");\n for (var _iterator3 = _createForOfIteratorHelperLoose(borders), _step3; !(_step3 = _iterator3()).done;) {\n var border = _step3.value;\n xml += getBorderXml(border);\n }\n xml += '</borders>';\n\n // What are `<cellXfs/>` and `<cellStyleXfs/>`:\n // http://officeopenxml.com/SSstyles.php\n //\n // `<cellStyleXfs/>` are referenced from `<cellXfs/>` as `<xf xfId=\"...\"/>`.\n // `<cellStyleXfs/>` defines abstract \"cell styles\" that can be \"extended\"\n // by \"cell styles\" defined by `<cellXfs/>` that can be applied to individual cells:\n // 1. `<cellStyleXfs><xf .../></cellStyleXfs>`\n // 2. `<cellXfs><xf xfId={cellStyleXfs.xf.index}/></cellXfs>`\n // 3. `<c s={cellXfs.xf.index}/>`\n // Seems like \"cell styles\" defined by `<cellXfs/>` have to reference\n // some abstract \"cell styles\" defined by `<cellStyleXfs/>` by the spec.\n // Otherwise, there would be no need to use `<cellStyleXfs/>` at all.\n // The naming is ambiguous and weird. The whole scheme is needlessly redundant.\n\n // xml += '<cellStyleXfs count=\"2\">'\n // xml += '<xf numFmtId=\"0\" fontId=\"0\" fillId=\"0\" borderId=\"0\"/>'\n // // `applyFont=\"1\"` means apply a custom font in this \"abstract\" \"cell style\"\n // // rather than using a default font.\n // // Seems like by default `applyFont` is `\"0\"` meaning that,\n // // unless `\"1\"` is specified, it would ignore the `fontId` attribute.\n // xml += '<xf numFmtId=\"0\" fontId=\"1\" applyFont=\"1\" fillId=\"0\" borderId=\"0\"/>'\n // xml += '</cellStyleXfs>'\n\n xml += \"<cellXfs count=\\\"\".concat(styles.length, \"\\\">\");\n for (var _iterator4 = _createForOfIteratorHelperLoose(styles), _step4; !(_step4 = _iterator4()).done;) {\n var cellStyle = _step4.value;\n var fontId = cellStyle.fontId,\n fillId = cellStyle.fillId,\n borderId = cellStyle.borderId,\n alignment = cellStyle.alignment,\n formatId = cellStyle.formatId;\n // `applyNumberFormat=\"1\"` means \"apply the `numFmtId` attribute\".\n // Seems like by default `applyNumberFormat` is `\"0\"` meaning that,\n // unless `\"1\"` is specified, it would ignore the `numFmtId` attribute.\n xml += '<xf ' + [formatId === undefined ? undefined : \"numFmtId=\\\"\".concat(formatId, \"\\\" applyNumberFormat=\\\"1\\\"\"), fontId === undefined ? undefined : \"fontId=\\\"\".concat(fontId, \"\\\" applyFont=\\\"1\\\"\"), fillId === undefined ? undefined : \"fillId=\\\"\".concat(fillId, \"\\\" applyFill=\\\"1\\\"\"), borderId === undefined ? undefined : \"borderId=\\\"\".concat(borderId, \"\\\" applyBorder=\\\"1\\\"\"), hasAlignment(alignment) ? 'applyAlignment=\"1\"' : undefined\n // 'xfId=\"0\"'\n ].filter(function (_) {\n return _;\n }).join(' ') + '>' + (\n // Possible horizontal alignment values:\n // left, center, right, fill, justify, center_across, distributed.\n // Possible vertical alignment values:\n // top, vcenter, bottom, vjustify, vdistributed.\n // https://xlsxwriter.readthedocs.io/format.html#set_align\n hasAlignment(alignment) ? getAlignmentXml(alignment) : '') + '</xf>';\n }\n xml += \"</cellXfs>\";\n\n // Apply any plugins that insert additional content to this XML.\n xml += getAdditionalContent('xl/styles.xml', features, sheetsOptions);\n xml += '</styleSheet>';\n\n // Apply any plugins that transform this XML.\n xml = transformContent(xml, 'xl/styles.xml', features, sheetsOptions);\n return xml;\n}\n//# sourceMappingURL=styles.xml.js.map"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import e from "../helpers/features/getAdditionalContent.js";
|
|
2
|
+
import t from "../helpers/features/transformContent.js";
|
|
3
|
+
import n from "../helpers/features/getElementXml.js";
|
|
4
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js
|
|
5
|
+
function r(r) {
|
|
6
|
+
var a = r.sheetIdsAndNames, o = r.features, s = r.sheetsOptions, c = function(e, t, r, a) {
|
|
7
|
+
return n("xl/workbook.xml", e, t, r, a, i, s, o);
|
|
8
|
+
}, l = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><workbook xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:mx=\"http://schemas.microsoft.com/office/mac/excel/2008/main\" xmlns:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\" xmlns:mv=\"urn:schemas-microsoft-com:mac:vml\" xmlns:x14=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main\" xmlns:x14ac=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac\" xmlns:xm=\"http://schemas.microsoft.com/office/excel/2006/main\">" + c("workbookPr") + c("bookViews", null, c("workbookView", null, null, 0)) + c("sheets", null, a.map(function(e, t) {
|
|
9
|
+
var n = e.sheetId, r = e.sheetName;
|
|
10
|
+
return c("sheet", {
|
|
11
|
+
"r:id": `rId${n}`,
|
|
12
|
+
sheetId: n,
|
|
13
|
+
name: r
|
|
14
|
+
}, null, t);
|
|
15
|
+
}).join("")) + c("definedNames") + c("calcPr") + e("xl/workbook.xml", o, s) + "</workbook>";
|
|
16
|
+
return l = t(l, "xl/workbook.xml", o, s), l;
|
|
17
|
+
}
|
|
18
|
+
var i = {};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { r as default };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=workbook.xml.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbook.xml.js","names":[],"sources":["../../../../../../node_modules/write-excel-file/modules/xlsx/files/workbook.xml.js"],"sourcesContent":["import getAdditionalContent from '../helpers/features/getAdditionalContent.js';\nimport transformContent from '../helpers/features/transformContent.js';\nimport sanitizeAttributeValue from '../../xml/sanitizeAttributeValue.js';\nimport getElementXml from '../helpers/features/getElementXml.js';\nexport default function generateWorkbookXml(_ref) {\n var sheetIdsAndNames = _ref.sheetIdsAndNames,\n features = _ref.features,\n sheetsOptions = _ref.sheetsOptions;\n /**\r\n * Creates XML tag markup.\r\n * @param {string} tagName\r\n * @param {object} attributes\r\n * @param {string} [innerXml]\r\n * @param {number} [index]\r\n * @returns {string}\r\n */\n var tag = function tag(tagName, attributes, innerXml, index) {\n return getElementXml('xl/workbook.xml', tagName, attributes, innerXml, index, EMPTY_OBJECT, sheetsOptions, features);\n };\n var xml = '<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>' + '<workbook xmlns=\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:mx=\"http://schemas.microsoft.com/office/mac/excel/2008/main\" xmlns:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\" xmlns:mv=\"urn:schemas-microsoft-com:mac:vml\" xmlns:x14=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main\" xmlns:x14ac=\"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac\" xmlns:xm=\"http://schemas.microsoft.com/office/excel/2006/main\">' +\n // The order of elements is dictated by the XLSX spec.\n //\n // <workbookPr/>\n tag('workbookPr') +\n // <bookViews/>\n tag('bookViews', null, tag('workbookView', null, null, 0)) +\n // <sheets/>\n tag('sheets', null, sheetIdsAndNames.map(function (_ref2, i) {\n var sheetId = _ref2.sheetId,\n sheetName = _ref2.sheetName;\n return tag('sheet', {\n 'r:id': \"rId\".concat(sheetId),\n sheetId: sheetId,\n name: sheetName\n }, null, i);\n }).join('')) +\n // <definedNames/>\n tag('definedNames') +\n // <calcPr/>\n tag('calcPr') +\n // Apply any plugins that insert additional content to this XML.\n getAdditionalContent('xl/workbook.xml', features, sheetsOptions) + '</workbook>';\n\n // Apply any plugins that transform this XML.\n xml = transformContent(xml, 'xl/workbook.xml', features, sheetsOptions);\n return xml;\n}\nvar EMPTY_OBJECT = {};\n//# sourceMappingURL=workbook.xml.js.map"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,SAAwB,EAAoB,GAAM;CAChD,IAAI,IAAmB,EAAK,kBAC1B,IAAW,EAAK,UAChB,IAAgB,EAAK,eASnB,IAAM,SAAa,GAAS,GAAY,GAAU,GAAO;AAC3D,SAAO,EAAc,mBAAmB,GAAS,GAAY,GAAU,GAAO,GAAc,GAAe,EAAS;IAElH,IAAM,snBAIV,EAAI,aAAa,GAEjB,EAAI,aAAa,MAAM,EAAI,gBAAgB,MAAM,MAAM,EAAE,CAAC,GAE1D,EAAI,UAAU,MAAM,EAAiB,IAAI,SAAU,GAAO,GAAG;EAC3D,IAAI,IAAU,EAAM,SAClB,IAAY,EAAM;AACpB,SAAO,EAAI,SAAS;GAClB,QAAQ,MAAa;GACZ;GACT,MAAM;GACP,EAAE,MAAM,EAAE;GACX,CAAC,KAAK,GAAG,CAAC,GAEZ,EAAI,eAAe,GAEnB,EAAI,SAAS,GAEb,EAAqB,mBAAmB,GAAU,EAAc,GAAG;AAInE,QADA,IAAM,EAAiB,GAAK,mBAAmB,GAAU,EAAc,EAChE;;AAET,IAAI,IAAe,EAAE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import e from "../helpers/features/getAdditionalContent.js";
|
|
2
|
+
import t from "../helpers/features/transformContent.js";
|
|
3
|
+
//#region node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
var r = n.sheetIds, i = n.features, a = n.sheetsOptions, o = "<?xml version=\"1.0\" ?><Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">" + r.map(function(e) {
|
|
6
|
+
return `<Relationship Id="rId${e}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet${e}.xml"/>`;
|
|
7
|
+
}).join("") + `<Relationship Id="rId${r.length + 1}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/><Relationship Id="rId${r.length + 2}" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/>` + e("xl/_rels/workbook.xml.rels", i, a) + "</Relationships>";
|
|
8
|
+
return o = t(o, "xl/_rels/workbook.xml.rels", i, a), o;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as default };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=workbook.xml.rels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbook.xml.rels.js","names":[],"sources":["../../../../../../node_modules/write-excel-file/modules/xlsx/files/workbook.xml.rels.js"],"sourcesContent":["import getAdditionalContent from '../helpers/features/getAdditionalContent.js';\nimport transformContent from '../helpers/features/transformContent.js';\nexport default function generateWorkbookXmlRels(_ref) {\n var sheetIds = _ref.sheetIds,\n features = _ref.features,\n sheetsOptions = _ref.sheetsOptions;\n var xml = '<?xml version=\"1.0\" ?>' + '<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">' + sheetIds.map(function (id) {\n return \"<Relationship Id=\\\"rId\".concat(id, \"\\\" Type=\\\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet\\\" Target=\\\"worksheets/sheet\").concat(id, \".xml\\\"/>\");\n }).join('') + \"<Relationship Id=\\\"rId\".concat(sheetIds.length + 1, \"\\\" Type=\\\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings\\\" Target=\\\"sharedStrings.xml\\\"/>\") + \"<Relationship Id=\\\"rId\".concat(sheetIds.length + 2, \"\\\" Type=\\\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles\\\" Target=\\\"styles.xml\\\"/>\") +\n // Apply any plugins that insert additional content to this XML.\n getAdditionalContent('xl/_rels/workbook.xml.rels', features, sheetsOptions) + '</Relationships>';\n\n // Apply any plugins that transform this XML.\n xml = transformContent(xml, 'xl/_rels/workbook.xml.rels', features, sheetsOptions);\n return xml;\n}\n//# sourceMappingURL=workbook.xml.rels.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAEA,SAAwB,EAAwB,GAAM;CACpD,IAAI,IAAW,EAAK,UAClB,IAAW,EAAK,UAChB,IAAgB,EAAK,eACnB,IAAM,mHAAoH,EAAS,IAAI,SAAU,GAAI;AACvJ,SAAO,wBAAgC,mHAAkI;GACzK,CAAC,KAAK,GAAG,GAAG,wBAAgC,EAAS,SAAS,gJAAqK,EAAS,SAAS,+GAEvP,EAAqB,8BAA8B,GAAU,EAAc,GAAG;AAI9E,QADA,IAAM,EAAiB,GAAK,8BAA8B,GAAU,EAAc,EAC3E"}
|