office-viewer 0.2.1 → 0.3.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.
- package/README.md +13 -3
- package/dist/index.css +500 -0
- package/dist/index.css.map +1 -0
- package/esm/Excel.d.ts +59 -0
- package/esm/Excel.js +200 -0
- package/esm/OfficeViewer.d.ts +10 -0
- package/esm/RenderOptions.d.ts +25 -0
- package/esm/UnSupport.d.ts +13 -0
- package/esm/UnSupport.js +33 -0
- package/esm/Word.d.ts +7 -24
- package/esm/Word.js +24 -21
- package/esm/common/__tests__/autoParse.test.d.ts +1 -0
- package/esm/common/autoParse.d.ts +9 -0
- package/esm/common/autoParse.js +192 -0
- package/esm/common/parseAttributes.d.ts +6 -0
- package/esm/common/parseAttributes.js +27 -0
- package/esm/common/parseChildren.d.ts +8 -0
- package/esm/common/parseContentType.d.ts +7 -0
- package/esm/common/parseContentType.js +50 -0
- package/esm/common/parseRelationship.d.ts +5 -0
- package/esm/common/parseRelationship.js +46 -0
- package/esm/createOfficeViewer.d.ts +16 -0
- package/esm/createOfficeViewer.js +98 -0
- package/esm/excel/StyleSheet.d.ts +8 -0
- package/esm/excel/StyleSheet.js +11 -0
- package/esm/excel/Workbook.d.ts +180 -0
- package/esm/excel/Workbook.js +209 -0
- package/esm/excel/data/LocalDataProvider.d.ts +146 -0
- package/esm/excel/data/LocalDataProvider.js +784 -0
- package/esm/excel/data/applyAutoFilter.d.ts +10 -0
- package/esm/excel/data/applyAutoFilter.js +86 -0
- package/esm/excel/data/autoFilter/CellValueNum.d.ts +5 -0
- package/esm/excel/data/autoFilter/__test__/customFilter.test.d.ts +1 -0
- package/esm/excel/data/autoFilter/__test__/filters.test.d.ts +1 -0
- package/esm/excel/data/autoFilter/__test__/sortByRange.test.d.ts +1 -0
- package/esm/excel/data/autoFilter/applySortState.d.ts +6 -0
- package/esm/excel/data/autoFilter/applySortState.js +36 -0
- package/esm/excel/data/autoFilter/customFilter.d.ts +6 -0
- package/esm/excel/data/autoFilter/customFilter.js +78 -0
- package/esm/excel/data/autoFilter/evalCustomFilter.d.ts +9 -0
- package/esm/excel/data/autoFilter/evalCustomFilter.js +61 -0
- package/esm/excel/data/autoFilter/filters.d.ts +3 -0
- package/esm/excel/data/autoFilter/filters.js +55 -0
- package/esm/excel/data/autoFilter/inDateGroupItems.d.ts +6 -0
- package/esm/excel/data/autoFilter/inDateGroupItems.js +71 -0
- package/esm/excel/data/autoFilter/sortByRange.d.ts +8 -0
- package/esm/excel/data/autoFilter/sortByRange.js +50 -0
- package/esm/excel/data/defaultFont.d.ts +25 -0
- package/esm/excel/data/defaultFont.js +27 -0
- package/esm/excel/data/getThemeColor.d.ts +2 -0
- package/esm/excel/data/getThemeColor.js +71 -0
- package/esm/excel/data/numfmt/amountInWords.d.ts +4 -0
- package/esm/excel/data/numfmt/amountInWords.js +39 -0
- package/esm/excel/data/numfmtExtend.d.ts +10 -0
- package/esm/excel/data/numfmtExtend.js +29 -0
- package/esm/excel/edit/Command.d.ts +19 -0
- package/esm/excel/edit/ui/CellEditor.d.ts +27 -0
- package/esm/excel/edit/ui/CellEditor.js +65 -0
- package/esm/excel/io/csv/emptyXLSX.d.ts +2 -0
- package/esm/excel/io/csv/emptyXLSX.js +6 -0
- package/esm/excel/io/excel/__tests__/parseSharedStrings.test.d.ts +1 -0
- package/esm/excel/io/excel/drawing/getRelationPath.d.ts +2 -0
- package/esm/excel/io/excel/drawing/getRelationPath.js +11 -0
- package/esm/excel/io/excel/drawing/parseAnchorCommon.d.ts +9 -0
- package/esm/excel/io/excel/drawing/parseAnchorCommon.js +78 -0
- package/esm/excel/io/excel/drawing/parseChart.d.ts +3 -0
- package/esm/excel/io/excel/drawing/parseChart.js +11 -0
- package/esm/excel/io/excel/drawing/parseDrawing.d.ts +8 -0
- package/esm/excel/io/excel/drawing/parseDrawing.js +103 -0
- package/esm/excel/io/excel/drawing/parsePic.d.ts +4 -0
- package/esm/excel/io/excel/drawing/parsePic.js +23 -0
- package/esm/excel/io/excel/drawing/parseShape.d.ts +4 -0
- package/esm/excel/io/excel/drawing/parseShape.js +159 -0
- package/esm/excel/io/excel/getRelPath.d.ts +4 -0
- package/esm/excel/io/excel/getRelPath.js +10 -0
- package/esm/excel/io/excel/initValueForContainsBlanks.d.ts +6 -0
- package/esm/excel/io/excel/initValueForContainsBlanks.js +58 -0
- package/esm/excel/io/excel/initValueForTable.d.ts +5 -0
- package/esm/excel/io/excel/initValueForTable.js +31 -0
- package/esm/excel/io/excel/parseDefinedNames.d.ts +5 -0
- package/esm/excel/io/excel/parseDefinedNames.js +11 -0
- package/esm/excel/io/excel/parseSharedStrings.d.ts +9 -0
- package/esm/excel/io/excel/parseSharedStrings.js +173 -0
- package/esm/excel/io/excel/parseSheet.d.ts +9 -0
- package/esm/excel/io/excel/parseSheet.js +84 -0
- package/esm/excel/io/excel/parseTableParts.d.ts +5 -0
- package/esm/excel/io/excel/parseTableParts.js +67 -0
- package/esm/excel/io/excel/parseTableStyleDef.d.ts +3 -0
- package/esm/excel/io/excel/parseTheme.d.ts +6 -0
- package/esm/excel/io/excel/parseTheme.js +42 -0
- package/esm/excel/io/excel/parseWorkbook.d.ts +8 -0
- package/esm/excel/io/excel/parseWorkbook.js +105 -0
- package/esm/excel/io/excel/parseWorkbookPr.d.ts +6 -0
- package/esm/excel/io/excel/parseWorkbookPr.js +13 -0
- package/esm/excel/io/excel/parseWorkbookView.d.ts +6 -0
- package/esm/excel/io/excel/parseWorkbookView.js +13 -0
- package/esm/excel/io/excel/parseWorksheet.d.ts +9 -0
- package/esm/excel/io/excel/parseWorksheet.js +207 -0
- package/esm/excel/io/excel/preset/defaultTheme.d.ts +1 -0
- package/esm/excel/io/excel/preset/defaultTheme.js +3 -0
- package/esm/excel/io/excel/preset/presetCellStyles.d.ts +3 -0
- package/esm/excel/io/excel/preset/presetIconSet.d.ts +6 -0
- package/esm/excel/io/excel/preset/presetIconSet.js +55 -0
- package/esm/excel/io/excel/preset/presetIcons.d.ts +3 -0
- package/esm/excel/io/excel/preset/presetIcons.js +44 -0
- package/esm/excel/io/excel/preset/presetTableStyles.d.ts +3 -0
- package/esm/excel/io/excel/preset/presetTableStyles.js +35117 -0
- package/esm/excel/io/excel/stylesheet/parseColor.d.ts +5 -0
- package/esm/excel/io/excel/stylesheet/parseColor.js +11 -0
- package/esm/excel/io/excel/util/Range.d.ts +66 -0
- package/esm/excel/io/excel/util/Range.js +120 -0
- package/esm/excel/io/excel/util/__tests__/makeBlankValue.test.d.ts +1 -0
- package/esm/excel/io/excel/util/decodeAddress.d.ts +11 -0
- package/esm/excel/io/excel/util/decodeAddress.js +63 -0
- package/esm/excel/io/excel/util/fromExcelDate.d.ts +14 -0
- package/esm/excel/io/excel/util/fromExcelDate.js +26 -0
- package/esm/excel/io/excel/util/lettersToNumber.d.ts +4 -0
- package/esm/excel/io/excel/util/makeBlankValue.d.ts +6 -0
- package/esm/excel/io/excel/util/makeBlankValue.js +21 -0
- package/esm/excel/io/excel/util/numberToLetters.d.ts +4 -0
- package/esm/excel/io/excel/util/numberToLetters.js +13 -0
- package/esm/excel/io/excel/worksheet/parseSheetData.d.ts +11 -0
- package/esm/excel/io/excel/worksheet/parseSheetData.js +154 -0
- package/esm/excel/io/parseExcel.d.ts +10 -0
- package/esm/excel/io/parseExcel.js +39 -0
- package/esm/excel/lang/en_US.d.ts +24 -0
- package/esm/excel/lang/en_US.js +25 -0
- package/esm/excel/lang/lang.d.ts +30 -0
- package/esm/excel/lang/lang.js +19 -0
- package/esm/excel/lang/zh_CN.d.ts +2 -0
- package/esm/excel/lang/zh_CN.js +25 -0
- package/esm/excel/print/printStyle.d.ts +4 -0
- package/esm/excel/print/printStyle.js +8 -0
- package/esm/excel/print/renderInIframe.d.ts +7 -0
- package/esm/excel/print/renderInIframe.js +26 -0
- package/esm/excel/render/Canvas.d.ts +108 -0
- package/esm/excel/render/Canvas.js +332 -0
- package/esm/excel/render/Consts.d.ts +20 -0
- package/esm/excel/render/Consts.js +22 -0
- package/esm/excel/render/ExcelRender.d.ts +120 -0
- package/esm/excel/render/ExcelRender.js +422 -0
- package/esm/excel/render/Icons.d.ts +13 -0
- package/esm/excel/render/Icons.js +15 -0
- package/esm/excel/render/IndexedColors.d.ts +1 -0
- package/esm/excel/render/IndexedColors.js +70 -0
- package/esm/excel/render/Line.d.ts +6 -0
- package/esm/excel/render/Rect.d.ts +17 -0
- package/esm/excel/render/Rect.js +20 -0
- package/esm/excel/render/ScrollBar.d.ts +54 -0
- package/esm/excel/render/ScrollBar.js +137 -0
- package/esm/excel/render/SelectionCanvas.d.ts +33 -0
- package/esm/excel/render/SelectionCanvas.js +92 -0
- package/esm/excel/render/SheetCanvas.d.ts +33 -0
- package/esm/excel/render/SheetCanvas.js +42 -0
- package/esm/excel/render/__test__/autoWrapText.test.d.ts +1 -0
- package/esm/excel/render/__test__/tokenizer.test.d.ts +1 -0
- package/esm/excel/render/autoFilter/AutoFilterIconUI.d.ts +33 -0
- package/esm/excel/render/autoFilter/AutoFilterIconUI.js +85 -0
- package/esm/excel/render/autoFilter/AutoFilterMenuUI.d.ts +13 -0
- package/esm/excel/render/autoFilter/AutoFilterMenuUI.js +34 -0
- package/esm/excel/render/autoFilter/filterColumn/CustomFiltersUI.d.ts +46 -0
- package/esm/excel/render/autoFilter/filterColumn/CustomFiltersUI.js +158 -0
- package/esm/excel/render/autoFilter/filterColumn/FilterColumnUI.d.ts +10 -0
- package/esm/excel/render/autoFilter/filterColumn/FilterColumnUI.js +47 -0
- package/esm/excel/render/autoFilter/filterColumn/FiltersUI.d.ts +10 -0
- package/esm/excel/render/autoFilter/filterColumn/FiltersUI.js +37 -0
- package/esm/excel/render/autoFilter/filterColumn/OperatorTypeUI.d.ts +5 -0
- package/esm/excel/render/autoFilter/filterColumn/buildOperatorOptions.d.ts +2 -0
- package/esm/excel/render/autoFilter/filterColumn/buildOperatorOptions.js +95 -0
- package/esm/excel/render/autoFilter/filterColumn/fromOperatorUI.d.ts +6 -0
- package/esm/excel/render/autoFilter/filterColumn/fromOperatorUI.js +48 -0
- package/esm/excel/render/autoFilter/filterColumn/getCustomFilters.d.ts +2 -0
- package/esm/excel/render/autoFilter/filterColumn/getCustomFilters.js +10 -0
- package/esm/excel/render/autoFilter/filterColumn/getFilterValues.d.ts +5 -0
- package/esm/excel/render/autoFilter/filterColumn/getFilterValues.js +31 -0
- package/esm/excel/render/autoFilter/filterColumn/hasFilterColumn.d.ts +5 -0
- package/esm/excel/render/autoFilter/filterColumn/hasFilterColumn.js +37 -0
- package/esm/excel/render/autoFilter/filterColumn/setCustomFilters.d.ts +5 -0
- package/esm/excel/render/autoFilter/filterColumn/setCustomFilters.js +19 -0
- package/esm/excel/render/autoFilter/filterColumn/setFilterValues.d.ts +6 -0
- package/esm/excel/render/autoFilter/filterColumn/setFilterValues.js +45 -0
- package/esm/excel/render/autoFilter/filterColumn/toOperatorUI.d.ts +6 -0
- package/esm/excel/render/autoFilter/filterColumn/toOperatorUI.js +30 -0
- package/esm/excel/render/autoFilter/renderAutoFilter.d.ts +2 -0
- package/esm/excel/render/autoFilter/renderAutoFilter.js +31 -0
- package/esm/excel/render/autoFilter/renderAutoFilterIcon.d.ts +6 -0
- package/esm/excel/render/autoFilter/renderAutoFilterIcon.js +52 -0
- package/esm/excel/render/autoFilter/sortState/ColumnSortOrder.d.ts +1 -0
- package/esm/excel/render/autoFilter/sortState/SortButtonUI.d.ts +12 -0
- package/esm/excel/render/autoFilter/sortState/SortButtonUI.js +41 -0
- package/esm/excel/render/autoFilter/sortState/SortStateUI.d.ts +22 -0
- package/esm/excel/render/autoFilter/sortState/SortStateUI.js +65 -0
- package/esm/excel/render/autoFilter/sortState/getColumnSortOrder.d.ts +6 -0
- package/esm/excel/render/autoFilter/sortState/getColumnSortOrder.js +36 -0
- package/esm/excel/render/autoFilter/sortState/setColumnSortOrder.d.ts +7 -0
- package/esm/excel/render/autoFilter/sortState/setColumnSortOrder.js +55 -0
- package/esm/excel/render/canvas/draw.d.ts +5 -0
- package/esm/excel/render/canvas/drawOffscreenCanvas.d.ts +6 -0
- package/esm/excel/render/canvas/drawOffscreenCanvas.js +14 -0
- package/esm/excel/render/canvas/setPixelRatio.d.ts +4 -0
- package/esm/excel/render/canvas/setPixelRatio.js +17 -0
- package/esm/excel/render/cell/CellInfoWithSize.d.ts +5 -0
- package/esm/excel/render/cell/LinkPosition.d.ts +14 -0
- package/esm/excel/render/cell/autoClip.d.ts +6 -0
- package/esm/excel/render/cell/autoClip.js +44 -0
- package/esm/excel/render/cell/autoWrapText.d.ts +24 -0
- package/esm/excel/render/cell/autoWrapText.js +157 -0
- package/esm/excel/render/cell/border/drawDoubleBorder.d.ts +2 -0
- package/esm/excel/render/cell/border/drawDoubleBorder.js +75 -0
- package/esm/excel/render/cell/border/setLineStyle.d.ts +5 -0
- package/esm/excel/render/cell/border/setLineStyle.js +43 -0
- package/esm/excel/render/cell/cellToMergeCell.d.ts +8 -0
- package/esm/excel/render/cell/cellToMergeCell.js +35 -0
- package/esm/excel/render/cell/checkFont.d.ts +8 -0
- package/esm/excel/render/cell/checkFont.js +31 -0
- package/esm/excel/render/cell/drawCell.d.ts +19 -0
- package/esm/excel/render/cell/drawCell.js +44 -0
- package/esm/excel/render/cell/drawCellBackground.d.ts +3 -0
- package/esm/excel/render/cell/drawCellBackground.js +11 -0
- package/esm/excel/render/cell/drawCellBorder.d.ts +6 -0
- package/esm/excel/render/cell/drawCellBorder.js +47 -0
- package/esm/excel/render/cell/drawCells.d.ts +9 -0
- package/esm/excel/render/cell/drawCells.js +54 -0
- package/esm/excel/render/cell/drawDataBar.d.ts +3 -0
- package/esm/excel/render/cell/drawDataBar.js +31 -0
- package/esm/excel/render/cell/drawDataBarX14.d.ts +7 -0
- package/esm/excel/render/cell/drawDataBarX14.js +48 -0
- package/esm/excel/render/cell/drawIconSet.d.ts +3 -0
- package/esm/excel/render/cell/drawIconSet.js +13 -0
- package/esm/excel/render/cell/drawMultiLineText.d.ts +8 -0
- package/esm/excel/render/cell/drawMultiLineText.js +107 -0
- package/esm/excel/render/cell/drawSingleLineRichText.d.ts +10 -0
- package/esm/excel/render/cell/drawSingleLineRichText.js +55 -0
- package/esm/excel/render/cell/drawSingleLineText.d.ts +17 -0
- package/esm/excel/render/cell/drawSingleLineText.js +73 -0
- package/esm/excel/render/cell/drawTextInCell.d.ts +15 -0
- package/esm/excel/render/cell/drawTextInCell.js +105 -0
- package/esm/excel/render/cell/frozen/drawFrozen.d.ts +17 -0
- package/esm/excel/render/cell/frozen/drawFrozen.js +45 -0
- package/esm/excel/render/cell/frozen/drawLeftFrozen.d.ts +10 -0
- package/esm/excel/render/cell/frozen/drawLeftFrozen.js +26 -0
- package/esm/excel/render/cell/frozen/drawTopFrozen.d.ts +10 -0
- package/esm/excel/render/cell/frozen/drawTopFrozen.js +26 -0
- package/esm/excel/render/cell/frozen/drawTopLeftFrozen.d.ts +14 -0
- package/esm/excel/render/cell/frozen/drawTopLeftFrozen.js +46 -0
- package/esm/excel/render/cell/frozen/getFrozenLeftViewPointRange.d.ts +14 -0
- package/esm/excel/render/cell/frozen/getFrozenLeftViewPointRange.js +32 -0
- package/esm/excel/render/cell/frozen/getFrozenRange.d.ts +5 -0
- package/esm/excel/render/cell/frozen/getFrozenRange.js +25 -0
- package/esm/excel/render/cell/frozen/getFrozenTopLeftViewPointRange.d.ts +5 -0
- package/esm/excel/render/cell/frozen/getFrozenTopLeftViewPointRange.js +22 -0
- package/esm/excel/render/cell/frozen/getFrozenTopViewPointRange.d.ts +14 -0
- package/esm/excel/render/cell/frozen/getFrozenTopViewPointRange.js +33 -0
- package/esm/excel/render/cell/genFontStr.d.ts +31 -0
- package/esm/excel/render/cell/genFontStr.js +61 -0
- package/esm/excel/render/cell/getBackgroundColor.d.ts +3 -0
- package/esm/excel/render/cell/getBackgroundColor.js +38 -0
- package/esm/excel/render/cell/isPointerOnLink.d.ts +5 -0
- package/esm/excel/render/cell/isPointerOnLink.js +39 -0
- package/esm/excel/render/cell/measureTextWithCache.d.ts +23 -0
- package/esm/excel/render/cell/measureTextWithCache.js +30 -0
- package/esm/excel/render/cell/tokenizer.d.ts +24 -0
- package/esm/excel/render/cell/tokenizer.js +94 -0
- package/esm/excel/render/dnd/DragState.d.ts +22 -0
- package/esm/excel/render/dnd/getMouseRelativePosition.d.ts +7 -0
- package/esm/excel/render/dnd/getMouseRelativePosition.js +11 -0
- package/esm/excel/render/dnd/handleDragCell.d.ts +4 -0
- package/esm/excel/render/dnd/handleDragCell.js +75 -0
- package/esm/excel/render/dnd/handleDragColGrid.d.ts +4 -0
- package/esm/excel/render/dnd/handleDragColGrid.js +23 -0
- package/esm/excel/render/dnd/handleDragColHeader.d.ts +4 -0
- package/esm/excel/render/dnd/handleDragColHeader.js +51 -0
- package/esm/excel/render/dnd/handleDragRowGrid.d.ts +4 -0
- package/esm/excel/render/dnd/handleDragRowGrid.js +23 -0
- package/esm/excel/render/dnd/handleDragRowHeader.d.ts +4 -0
- package/esm/excel/render/dnd/handleDragRowHeader.js +51 -0
- package/esm/excel/render/dnd/handleMousedown.d.ts +12 -0
- package/esm/excel/render/dnd/handleMousedown.js +74 -0
- package/esm/excel/render/dnd/handleMousemove.d.ts +4 -0
- package/esm/excel/render/dnd/handleMousemove.js +38 -0
- package/esm/excel/render/dnd/handleMouseup.d.ts +1 -0
- package/esm/excel/render/dnd/handleMouseup.js +17 -0
- package/esm/excel/render/dnd/mousedownCell.d.ts +10 -0
- package/esm/excel/render/dnd/mousedownCell.js +31 -0
- package/esm/excel/render/dnd/mousedownColHeader.d.ts +22 -0
- package/esm/excel/render/dnd/mousedownColHeader.js +29 -0
- package/esm/excel/render/dnd/mousedownCorner.d.ts +8 -0
- package/esm/excel/render/dnd/mousedownCorner.js +13 -0
- package/esm/excel/render/dnd/mousedownRowHeader.d.ts +22 -0
- package/esm/excel/render/dnd/mousedownRowHeader.js +29 -0
- package/esm/excel/render/dnd/removeEventListener.d.ts +4 -0
- package/esm/excel/render/dnd/removeEventListener.js +14 -0
- package/esm/excel/render/dnd/selectAll.d.ts +5 -0
- package/esm/excel/render/dnd/selectAll.js +26 -0
- package/esm/excel/render/drawing/BaseDrawingRender.d.ts +11 -0
- package/esm/excel/render/drawing/BaseDrawingRender.js +29 -0
- package/esm/excel/render/drawing/EChartsRender.d.ts +7 -0
- package/esm/excel/render/drawing/EChartsRender.js +20 -0
- package/esm/excel/render/drawing/PicRender.d.ts +6 -0
- package/esm/excel/render/drawing/PicRender.js +57 -0
- package/esm/excel/render/drawing/ResizeBox.d.ts +51 -0
- package/esm/excel/render/drawing/ResizeBox.js +83 -0
- package/esm/excel/render/drawing/chart/buildLabel.d.ts +63 -0
- package/esm/excel/render/drawing/chart/buildLabel.js +6 -0
- package/esm/excel/render/drawing/chart/calcPercentStacked.d.ts +5 -0
- package/esm/excel/render/drawing/chart/calcPercentStacked.js +43 -0
- package/esm/excel/render/drawing/chart/convertAxis.d.ts +11 -0
- package/esm/excel/render/drawing/chart/convertAxis.js +55 -0
- package/esm/excel/render/drawing/chart/convertLegend.d.ts +5 -0
- package/esm/excel/render/drawing/chart/convertLegend.js +38 -0
- package/esm/excel/render/drawing/chart/convertTitle.d.ts +8 -0
- package/esm/excel/render/drawing/chart/convertTitle.js +54 -0
- package/esm/excel/render/drawing/chart/fromAreaChart.d.ts +74 -0
- package/esm/excel/render/drawing/chart/fromAreaChart.js +51 -0
- package/esm/excel/render/drawing/chart/fromBarChart.d.ts +11 -0
- package/esm/excel/render/drawing/chart/fromBarChart.js +44 -0
- package/esm/excel/render/drawing/chart/fromDoughnutChart.d.ts +18 -0
- package/esm/excel/render/drawing/chart/fromDoughnutChart.js +48 -0
- package/esm/excel/render/drawing/chart/fromLineChart.d.ts +73 -0
- package/esm/excel/render/drawing/chart/fromLineChart.js +50 -0
- package/esm/excel/render/drawing/chart/fromPieChart.d.ts +10 -0
- package/esm/excel/render/drawing/chart/fromPieChart.js +40 -0
- package/esm/excel/render/drawing/chart/getData.d.ts +6 -0
- package/esm/excel/render/drawing/chart/getData.js +16 -0
- package/esm/excel/render/drawing/chart/getStack.d.ts +5 -0
- package/esm/excel/render/drawing/chart/getStack.js +17 -0
- package/esm/excel/render/drawing/convertToEChartOptions.d.ts +8 -0
- package/esm/excel/render/drawing/convertToEChartOptions.js +66 -0
- package/esm/excel/render/drawing/drawChart.d.ts +4 -0
- package/esm/excel/render/drawing/drawChart.js +49 -0
- package/esm/excel/render/drawing/drawDrawing.d.ts +8 -0
- package/esm/excel/render/drawing/drawDrawing.js +105 -0
- package/esm/excel/render/drawing/drawPic.d.ts +5 -0
- package/esm/excel/render/drawing/drawPic.js +68 -0
- package/esm/excel/render/drawing/drawShape.d.ts +9 -0
- package/esm/excel/render/drawing/drawShape.js +134 -0
- package/esm/excel/render/drawing/findPositionInViewRange.d.ts +7 -0
- package/esm/excel/render/drawing/findPositionInViewRange.js +28 -0
- package/esm/excel/render/drawing/getAbsoluteAnchorPosition.d.ts +11 -0
- package/esm/excel/render/drawing/getAbsoluteAnchorPosition.js +33 -0
- package/esm/excel/render/drawing/getOneCellAnchorPosition.d.ts +8 -0
- package/esm/excel/render/drawing/getOneCellAnchorPosition.js +31 -0
- package/esm/excel/render/drawing/getPositionByMaker.d.ts +11 -0
- package/esm/excel/render/drawing/getRectFromAnchorPoint.d.ts +18 -0
- package/esm/excel/render/drawing/getRectFromAnchorPoint.js +43 -0
- package/esm/excel/render/drawing/getTwoCellAnchorPosition.d.ts +8 -0
- package/esm/excel/render/drawing/getTwoCellAnchorPosition.js +37 -0
- package/esm/excel/render/formulaBar/FormulaBar.d.ts +29 -0
- package/esm/excel/render/formulaBar/FormulaBar.js +86 -0
- package/esm/excel/render/grid/drawGridLines.d.ts +12 -0
- package/esm/excel/render/grid/drawGridLines.js +40 -0
- package/esm/excel/render/header/drawRowColHeaders.d.ts +10 -0
- package/esm/excel/render/header/drawRowColHeaders.js +144 -0
- package/esm/excel/render/keyboard/handleCopy.d.ts +5 -0
- package/esm/excel/render/keyboard/handleCopy.js +19 -0
- package/esm/excel/render/keyboard/handleKeydown.d.ts +5 -0
- package/esm/excel/render/keyboard/handleKeydown.js +14 -0
- package/esm/excel/render/keyboard/handlePaste.d.ts +5 -0
- package/esm/excel/render/keyboard/handlePaste.js +16 -0
- package/esm/excel/render/keyboard/handleSelectAll.d.ts +5 -0
- package/esm/excel/render/keyboard/handleSelectAll.js +17 -0
- package/esm/excel/render/keyboard/handleSheetArrowKey.d.ts +5 -0
- package/esm/excel/render/keyboard/handleSheetArrowKey.js +41 -0
- package/esm/excel/render/scroll/Scroll.d.ts +7 -0
- package/esm/excel/render/selection/Position.d.ts +9 -0
- package/esm/excel/render/selection/SheetSelection.d.ts +29 -0
- package/esm/excel/render/selection/binarySearchSize.d.ts +8 -0
- package/esm/excel/render/selection/binarySearchSize.js +27 -0
- package/esm/excel/render/selection/buildHTML/buildBorder.d.ts +6 -0
- package/esm/excel/render/selection/buildHTML/buildBorder.js +36 -0
- package/esm/excel/render/selection/buildHTML/cellInfoToStyle.d.ts +6 -0
- package/esm/excel/render/selection/buildHTML/cellInfoToStyle.js +66 -0
- package/esm/excel/render/selection/buildHTML/rangeToHTML.d.ts +11 -0
- package/esm/excel/render/selection/buildHTML/rangeToHTML.js +64 -0
- package/esm/excel/render/selection/copySelection.d.ts +7 -0
- package/esm/excel/render/selection/copySelection.js +28 -0
- package/esm/excel/render/selection/drawAllSelection.d.ts +7 -0
- package/esm/excel/render/selection/drawAllSelection.js +17 -0
- package/esm/excel/render/selection/drawCellRanges.d.ts +10 -0
- package/esm/excel/render/selection/drawCellRanges.js +45 -0
- package/esm/excel/render/selection/drawCellSelection.d.ts +13 -0
- package/esm/excel/render/selection/drawCellSelection.js +77 -0
- package/esm/excel/render/selection/drawColSelection.d.ts +12 -0
- package/esm/excel/render/selection/drawColSelection.js +20 -0
- package/esm/excel/render/selection/drawRowSelection.d.ts +12 -0
- package/esm/excel/render/selection/drawRowSelection.js +21 -0
- package/esm/excel/render/selection/drawSelectionHeaderHighlight.d.ts +6 -0
- package/esm/excel/render/selection/drawSelectionHeaderHighlight.js +17 -0
- package/esm/excel/render/selection/findCell.d.ts +7 -0
- package/esm/excel/render/selection/findCell.js +15 -0
- package/esm/excel/render/selection/findInViewRange.d.ts +13 -0
- package/esm/excel/render/selection/findInViewRange.js +12 -0
- package/esm/excel/render/selection/findInViewRangeX.d.ts +10 -0
- package/esm/excel/render/selection/findInViewRangeX.js +42 -0
- package/esm/excel/render/selection/findInViewRangeY.d.ts +10 -0
- package/esm/excel/render/selection/findInViewRangeY.js +41 -0
- package/esm/excel/render/selection/getCellPosition.d.ts +43 -0
- package/esm/excel/render/selection/getCellPosition.js +131 -0
- package/esm/excel/render/selection/getRangePosition.d.ts +12 -0
- package/esm/excel/render/selection/getRangePosition.js +67 -0
- package/esm/excel/render/selection/hitTest.d.ts +41 -0
- package/esm/excel/render/selection/hitTest.js +46 -0
- package/esm/excel/render/selection/hitTestInRange.d.ts +7 -0
- package/esm/excel/render/selection/hitTestInRange.js +56 -0
- package/esm/excel/render/selection/updateCursor.d.ts +5 -0
- package/esm/excel/render/selection/updateCursor.js +22 -0
- package/esm/excel/render/sheetTab/SheetList.d.ts +43 -0
- package/esm/excel/render/sheetTab/SheetList.js +285 -0
- package/esm/excel/render/sheetTab/SheetTabBar.d.ts +8 -0
- package/esm/excel/render/sheetTab/SheetTabBar.js +20 -0
- package/esm/excel/render/sheetTab/StatusBar.d.ts +14 -0
- package/esm/excel/render/sheetTab/StatusBar.js +83 -0
- package/esm/excel/render/sheetTab/ZoomLevel.d.ts +6 -0
- package/esm/excel/render/sheetTab/ZoomLevel.js +39 -0
- package/esm/excel/render/sparkline/Numbers.d.ts +1 -0
- package/esm/excel/render/sparkline/applyColor.d.ts +7 -0
- package/esm/excel/render/sparkline/applyColor.js +36 -0
- package/esm/excel/render/sparkline/drawSparkline.d.ts +7 -0
- package/esm/excel/render/sparkline/drawSparkline.js +86 -0
- package/esm/excel/render/sparkline/renderColumn.d.ts +7 -0
- package/esm/excel/render/sparkline/renderColumn.js +47 -0
- package/esm/excel/render/sparkline/renderLine.d.ts +7 -0
- package/esm/excel/render/sparkline/renderLine.js +107 -0
- package/esm/excel/render/sparkline/renderSparkline.d.ts +9 -0
- package/esm/excel/render/sparkline/renderSparkline.js +59 -0
- package/esm/excel/render/sparkline/renderStacked.d.ts +7 -0
- package/esm/excel/render/sparkline/renderStacked.js +61 -0
- package/esm/excel/render/ui/Button.d.ts +7 -0
- package/esm/excel/render/ui/CheckBox.d.ts +16 -0
- package/esm/excel/render/ui/CheckBox.js +48 -0
- package/esm/excel/render/ui/CheckBoxList.d.ts +16 -0
- package/esm/excel/render/ui/CheckBoxList.js +109 -0
- package/esm/excel/render/ui/Divider.d.ts +3 -0
- package/esm/excel/render/ui/Divider.js +13 -0
- package/esm/excel/render/ui/Input.d.ts +11 -0
- package/esm/excel/render/ui/Input.js +48 -0
- package/esm/excel/render/ui/Radio.d.ts +11 -0
- package/esm/excel/render/ui/Radio.js +52 -0
- package/esm/excel/render/ui/Select.d.ts +13 -0
- package/esm/excel/render/ui/Select.js +29 -0
- package/esm/excel/render/widget/Widget.d.ts +29 -0
- package/esm/excel/sheet/BuiltInNumFmt.d.ts +5 -0
- package/esm/excel/sheet/BuiltInNumFmt.js +39 -0
- package/esm/excel/sheet/ColWidth.d.ts +19 -0
- package/esm/excel/sheet/ColWidth.js +30 -0
- package/esm/excel/sheet/ExcelRenderOptions.d.ts +149 -0
- package/esm/excel/sheet/RangeCache.d.ts +32 -0
- package/esm/excel/sheet/RangeCache.js +99 -0
- package/esm/excel/sheet/RowFilter.d.ts +3 -0
- package/esm/excel/sheet/Sheet.d.ts +280 -0
- package/esm/excel/sheet/Sheet.js +675 -0
- package/esm/excel/sheet/SheetBounding.d.ts +22 -0
- package/esm/excel/sheet/ViewRange.d.ts +52 -0
- package/esm/excel/sheet/__test__/applyDxf.test.d.ts +1 -0
- package/esm/excel/sheet/__test__/colWidth.test.d.ts +1 -0
- package/esm/excel/sheet/__test__/getViewRange.test.d.ts +1 -0
- package/esm/excel/sheet/applyConditionalFormat.d.ts +6 -0
- package/esm/excel/sheet/applyConditionalFormat.js +112 -0
- package/esm/excel/sheet/applyDxf.d.ts +6 -0
- package/esm/excel/sheet/applyDxf.js +20 -0
- package/esm/excel/sheet/applyTablePartsStyle.d.ts +6 -0
- package/esm/excel/sheet/applyTablePartsStyle.js +34 -0
- package/esm/excel/sheet/cfRule/__test__/aboveAverage.test.d.ts +1 -0
- package/esm/excel/sheet/cfRule/__test__/cellIs.test.d.ts +1 -0
- package/esm/excel/sheet/cfRule/__test__/top10.test.d.ts +1 -0
- package/esm/excel/sheet/cfRule/aboveAverage.d.ts +9 -0
- package/esm/excel/sheet/cfRule/aboveAverage.js +70 -0
- package/esm/excel/sheet/cfRule/applyCfRuleDxf.d.ts +7 -0
- package/esm/excel/sheet/cfRule/applyCfRuleDxf.js +13 -0
- package/esm/excel/sheet/cfRule/cellIs.d.ts +22 -0
- package/esm/excel/sheet/cfRule/cellIs.js +155 -0
- package/esm/excel/sheet/cfRule/colorScale.d.ts +8 -0
- package/esm/excel/sheet/cfRule/colorScale.js +141 -0
- package/esm/excel/sheet/cfRule/containsBlanks.d.ts +7 -0
- package/esm/excel/sheet/cfRule/containsBlanks.js +14 -0
- package/esm/excel/sheet/cfRule/containsErrors.d.ts +7 -0
- package/esm/excel/sheet/cfRule/containsErrors.js +15 -0
- package/esm/excel/sheet/cfRule/containsText.d.ts +7 -0
- package/esm/excel/sheet/cfRule/containsText.js +17 -0
- package/esm/excel/sheet/cfRule/dataBar.d.ts +8 -0
- package/esm/excel/sheet/cfRule/dataBar.js +232 -0
- package/esm/excel/sheet/cfRule/duplicateValues.d.ts +8 -0
- package/esm/excel/sheet/cfRule/duplicateValues.js +45 -0
- package/esm/excel/sheet/cfRule/getMinMax.d.ts +5 -0
- package/esm/excel/sheet/cfRule/getMinMax.js +37 -0
- package/esm/excel/sheet/cfRule/iconSet.d.ts +8 -0
- package/esm/excel/sheet/cfRule/iconSet.js +109 -0
- package/esm/excel/sheet/cfRule/notContainsText.d.ts +7 -0
- package/esm/excel/sheet/cfRule/notContainsText.js +17 -0
- package/esm/excel/sheet/cfRule/timePeriod.d.ts +9 -0
- package/esm/excel/sheet/cfRule/timePeriod.js +129 -0
- package/esm/excel/sheet/cfRule/top10.d.ts +9 -0
- package/esm/excel/sheet/cfRule/top10.js +72 -0
- package/esm/excel/sheet/cfRule/uniqueValues.d.ts +8 -0
- package/esm/excel/sheet/cfRule/uniqueValues.js +46 -0
- package/esm/excel/sheet/getCellAbsolutePosition.d.ts +10 -0
- package/esm/excel/sheet/getCellAbsolutePosition.js +41 -0
- package/esm/excel/sheet/getViewPointData.d.ts +24 -0
- package/esm/excel/sheet/getViewPointData.js +171 -0
- package/esm/excel/sheet/getViewRange.d.ts +68 -0
- package/esm/excel/sheet/getViewRange.js +193 -0
- package/esm/excel/sheet/table/__test__/calcTableRelativePosition.test.d.ts +1 -0
- package/esm/excel/sheet/table/applyTableStyle.d.ts +5 -0
- package/esm/excel/sheet/table/applyTableStyle.js +87 -0
- package/esm/excel/sheet/table/buildTableStyle.d.ts +13 -0
- package/esm/excel/sheet/table/buildTableStyle.js +68 -0
- package/esm/excel/sheet/table/calcTableRelativePosition.d.ts +11 -0
- package/esm/excel/sheet/table/calcTableRelativePosition.js +90 -0
- package/esm/excel/types/CT_Color.d.ts +9 -0
- package/esm/excel/types/CT_Color.js +20 -0
- package/esm/excel/types/CT_ExtensionList.d.ts +6 -0
- package/esm/excel/types/CT_ExtensionList.js +11 -0
- package/esm/excel/types/CT_Theme.d.ts +15 -0
- package/esm/excel/types/CellInfo.d.ts +57 -0
- package/esm/excel/types/CellValue.d.ts +14 -0
- package/esm/excel/types/DataBarDisplay.d.ts +58 -0
- package/esm/excel/types/ExcelFile.d.ts +12 -0
- package/esm/excel/types/Ext.d.ts +10 -0
- package/esm/excel/types/Ext.js +21 -0
- package/esm/excel/types/FontSize.d.ts +7 -0
- package/esm/excel/types/FontStyle.d.ts +16 -0
- package/esm/excel/types/IChartSpace.d.ts +7 -0
- package/esm/excel/types/IDataProvider.d.ts +158 -0
- package/esm/excel/types/IDrawing.d.ts +51 -0
- package/esm/excel/types/IRElt.d.ts +11 -0
- package/esm/excel/types/IRPrElt.d.ts +28 -0
- package/esm/excel/types/IRelationship.d.ts +10 -0
- package/esm/excel/types/ISheet.d.ts +14 -0
- package/esm/excel/types/ISheet.js +16 -0
- package/esm/excel/types/IWorkbook.d.ts +41 -0
- package/esm/excel/types/IWorksheet.d.ts +37 -0
- package/esm/excel/types/RangeRef.d.ts +21 -0
- package/esm/excel/types/RichText.d.ts +7 -0
- package/esm/excel/types/StringItem.d.ts +5 -0
- package/esm/excel/types/TableStyleDef.d.ts +8 -0
- package/esm/excel/types/X14CF/CT_Cfvo.d.ts +8 -0
- package/esm/excel/types/X14CF/CT_Cfvo.js +14 -0
- package/esm/excel/types/X14CF/ST_CfvoType.d.ts +1 -0
- package/esm/excel/types/X14CF/X14CfRule.d.ts +10 -0
- package/esm/excel/types/X14CF/X14CfRule.js +21 -0
- package/esm/excel/types/X14CF/X14ConditionalFormatting.d.ts +6 -0
- package/esm/excel/types/X14CF/X14ConditionalFormatting.js +11 -0
- package/esm/excel/types/X14CF/X14ConditionalFormattings.d.ts +6 -0
- package/esm/excel/types/X14CF/X14ConditionalFormattings.js +11 -0
- package/esm/excel/types/X14CF/X14DataBar.d.ts +18 -0
- package/esm/excel/types/X14CF/X14DataBar.js +54 -0
- package/esm/excel/types/X14CF/X14IconSet.d.ts +11 -0
- package/esm/excel/types/X14CF/X14IconSet.js +27 -0
- package/esm/excel/types/X14Sparkline/X14Sparkline.d.ts +6 -0
- package/esm/excel/types/X14Sparkline/X14Sparkline.js +10 -0
- package/esm/excel/types/X14Sparkline/X14SparklineGroup.d.ts +35 -0
- package/esm/excel/types/X14Sparkline/X14SparklineGroup.js +108 -0
- package/esm/excel/types/X14Sparkline/X14SparklineGroups.d.ts +6 -0
- package/esm/excel/types/X14Sparkline/X14SparklineGroups.js +11 -0
- package/esm/excel/types/X14Sparkline/x14:sparklines.d.ts +6 -0
- package/esm/excel/types/X14Sparkline/x14_sparklines.js +11 -0
- package/esm/excel/types/worksheet/CellData.d.ts +56 -0
- package/esm/excel/types/worksheet/CellData.js +38 -0
- package/esm/excel/types/worksheet/ICell.d.ts +39 -0
- package/esm/excel/types/worksheet/ICell.js +22 -0
- package/esm/index.d.ts +3 -1
- package/esm/index.js +2 -0
- package/esm/openxml/Attributes.d.ts +33 -0
- package/esm/openxml/Attributes.js +3 -0
- package/esm/openxml/ChartTypes.d.ts +2971 -0
- package/esm/openxml/ChartTypes.js +5154 -0
- package/esm/openxml/ContentType.d.ts +5 -0
- package/esm/openxml/ContentType.js +1 -1
- package/esm/openxml/DMLTypes.d.ts +1836 -0
- package/esm/openxml/DMLTypes.js +2849 -0
- package/esm/openxml/ExcelTypes.d.ts +5147 -0
- package/esm/openxml/ExcelTypes.js +5362 -0
- package/esm/openxml/Style.js +3 -3
- package/esm/openxml/Theme.js +1 -1
- package/esm/openxml/Types.d.ts +2757 -95
- package/esm/openxml/colorNameMap.d.ts +6 -0
- package/esm/openxml/drawing/Blip.d.ts +1 -1
- package/esm/openxml/drawing/CustomGeom.js +1 -1
- package/esm/openxml/drawing/Drawing.js +1 -1
- package/esm/openxml/drawing/Geom.js +1 -1
- package/esm/openxml/drawing/ShapeProperties.d.ts +1 -0
- package/esm/openxml/drawing/ShapeProperties.js +7 -7
- package/esm/openxml/drawing/Transform.js +1 -1
- package/esm/openxml/drawing/svg/shapeToSVG.d.ts +11 -2
- package/esm/openxml/drawing/svg/shapeToSVG.js +6 -6
- package/esm/openxml/word/Body.js +2 -2
- package/esm/openxml/word/Header.js +2 -2
- package/esm/openxml/word/Hyperlink.d.ts +1 -1
- package/esm/openxml/word/Note.js +1 -1
- package/esm/openxml/word/Paragraph.js +2 -2
- package/esm/openxml/word/Run.js +1 -1
- package/esm/openxml/word/Section.js +1 -1
- package/esm/openxml/word/Tab.js +1 -1
- package/esm/openxml/word/WDocument.js +1 -1
- package/esm/openxml/word/wps/WPS.js +2 -2
- package/esm/openxml/word/wps/WPSStyle.js +4 -4
- package/esm/package/PackageParser.d.ts +4 -0
- package/esm/package/XMLPackageParser.d.ts +5 -1
- package/esm/package/ZipPackageParser.d.ts +5 -1
- package/esm/package/ZipPackageParser.js +30 -2
- package/esm/util/EventEmitter.d.ts +38 -0
- package/esm/util/EventEmitter.js +112 -0
- package/esm/util/H.d.ts +7 -0
- package/esm/util/H.js +69 -0
- package/esm/util/LRUCache.d.ts +17 -0
- package/esm/util/LinkedMap.d.ts +40 -0
- package/esm/util/__tests__/autoSpace.test.d.ts +1 -0
- package/esm/util/__tests__/color.test.d.ts +1 -0
- package/esm/util/__tests__/replaceVar.test.d.ts +2 -0
- package/esm/util/__tests__/xml.test.d.ts +1 -0
- package/esm/util/arrayBufferToString.d.ts +1 -0
- package/esm/util/arrayBufferToString.js +7 -0
- package/esm/util/base64ToArrayBuffer.d.ts +1 -0
- package/esm/util/base64ToArrayBuffer.js +10 -0
- package/esm/util/binarySearch.d.ts +5 -0
- package/esm/util/binarySearch.js +23 -0
- package/esm/util/color.d.ts +5 -0
- package/esm/util/color.js +101 -1
- package/esm/util/createObject.d.ts +0 -1
- package/esm/util/createObject.js +2 -10
- package/esm/util/debounce.d.ts +1 -0
- package/esm/util/debounce.js +15 -0
- package/esm/util/emuToPx.d.ts +4 -0
- package/esm/util/emuToPx.js +14 -0
- package/esm/util/escapeHTML.d.ts +4 -0
- package/esm/util/escapeHTML.js +13 -0
- package/esm/util/fileType.d.ts +1 -0
- package/esm/util/fileType.js +17 -1
- package/esm/util/getChineseDay.d.ts +4 -0
- package/esm/util/isFontAvailable.d.ts +5 -0
- package/esm/util/isFontAvailable.js +37 -0
- package/esm/util/isNumeric.d.ts +4 -0
- package/esm/util/isNumeric.js +8 -0
- package/esm/util/isObject.d.ts +6 -0
- package/esm/util/isObject.js +10 -0
- package/esm/util/isValidURL.d.ts +4 -0
- package/esm/util/isValidURL.js +18 -0
- package/esm/util/isVisible.d.ts +4 -0
- package/esm/util/joinPath.d.ts +6 -0
- package/esm/util/joinPath.js +27 -0
- package/esm/util/mergeRun.js +1 -1
- package/esm/util/number.d.ts +9 -0
- package/esm/util/number.js +20 -0
- package/esm/util/objectEqual.d.ts +4 -0
- package/esm/util/objectEqual.js +13 -0
- package/esm/util/onClickOutside.d.ts +4 -0
- package/esm/util/onClickOutside.js +13 -0
- package/esm/util/ptToPx.d.ts +4 -0
- package/esm/util/ptToPx.js +10 -0
- package/esm/util/px2pt.d.ts +1 -0
- package/esm/util/px2pt.js +5 -0
- package/esm/util/runWorker.d.ts +6 -0
- package/esm/util/saxes.d.ts +638 -0
- package/esm/util/saxes.js +2077 -0
- package/esm/util/stringToArray.d.ts +10 -0
- package/esm/util/stringToArray.js +84 -0
- package/esm/util/stripNumber.d.ts +4 -0
- package/esm/util/stripNumber.js +14 -0
- package/esm/util/throttle.d.ts +5 -0
- package/esm/util/xml.d.ts +44 -0
- package/esm/util/xml.js +85 -1
- package/esm/util/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/esm/util/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/esm/util/xmlchars/xml/1.0/ed5.js +89 -0
- package/esm/util/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/esm/util/xmlchars/xml/1.1/ed2.js +21 -0
- package/esm/util/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/esm/util/xmlchars/xmlns/1.0/ed3.js +57 -0
- package/esm/word/parse/Footnotes.d.ts +3 -0
- package/esm/word/parse/Footnotes.js +25 -0
- package/esm/word/parse/modifyColor.js +106 -0
- package/esm/word/parse/parseBorder.d.ts +13 -0
- package/esm/word/parse/parseBorder.js +59 -0
- package/esm/word/parse/parseCellMargin.d.ts +2 -0
- package/esm/word/parse/parseChildColor.d.ts +4 -0
- package/esm/word/parse/parseChildColor.js +66 -0
- package/esm/word/parse/parseColor.d.ts +26 -0
- package/esm/word/parse/parseColor.js +126 -0
- package/esm/word/parse/parseEndnotes.d.ts +3 -0
- package/esm/word/parse/parseEndnotes.js +25 -0
- package/esm/word/parse/parseFont.d.ts +7 -0
- package/esm/word/parse/parseInd.d.ts +5 -0
- package/esm/word/parse/parseInsideBorders.d.ts +9 -0
- package/esm/word/parse/parsePr.d.ts +11 -0
- package/esm/word/parse/parsePr.js +424 -0
- package/esm/word/parse/parseShape.d.ts +10 -0
- package/esm/word/parse/parseShape.js +239 -0
- package/esm/word/parse/parseSpacing.d.ts +7 -0
- package/esm/word/parse/parseTable.d.ts +3 -0
- package/esm/word/parse/parseTable.js +62 -0
- package/esm/word/parse/parseTablePr.d.ts +3 -0
- package/esm/word/parse/parseTablePr.js +185 -0
- package/esm/word/parse/parseTc.d.ts +10 -0
- package/esm/word/parse/parseTc.js +64 -0
- package/esm/word/parse/parseTcPr.d.ts +5 -0
- package/esm/word/parse/parseTcPr.js +99 -0
- package/esm/word/parse/parseTextDirection.d.ts +2 -0
- package/esm/word/parse/parseTr.d.ts +6 -0
- package/esm/word/parse/parseTr.js +49 -0
- package/esm/word/parse/parseTrHeight.d.ts +2 -0
- package/esm/word/parse/parseTrPr.d.ts +3 -0
- package/esm/word/parse/parseTrPr.js +59 -0
- package/esm/word/render/fixAbsolutePosition.d.ts +8 -0
- package/esm/word/render/renderBody.d.ts +10 -0
- package/esm/word/render/renderBody.js +207 -0
- package/esm/word/render/renderBookmark.d.ts +6 -0
- package/esm/word/render/renderBookmark.js +17 -0
- package/esm/word/render/renderBr.d.ts +8 -0
- package/esm/word/render/renderBr.js +16 -0
- package/esm/word/render/renderCustGeom.d.ts +4 -0
- package/esm/word/render/renderCustGeom.js +10 -0
- package/esm/word/render/renderDocument.d.ts +7 -0
- package/esm/word/render/renderDocument.js +14 -0
- package/esm/word/render/renderDrawing.d.ts +9 -0
- package/esm/word/render/renderDrawing.js +255 -0
- package/esm/word/render/renderFont.d.ts +5 -0
- package/esm/word/render/renderFont.js +39 -0
- package/esm/word/render/renderGeom.d.ts +4 -0
- package/esm/word/render/renderGeom.js +14 -0
- package/esm/word/render/renderHeader.d.ts +6 -0
- package/esm/word/render/renderHeader.js +40 -0
- package/esm/word/render/renderHyperLink.d.ts +7 -0
- package/esm/word/render/renderHyperLink.js +44 -0
- package/esm/word/render/renderInlineText.d.ts +6 -0
- package/esm/word/render/renderInlineText.js +39 -0
- package/esm/word/render/renderInstrText.d.ts +8 -0
- package/esm/word/render/renderInstrText.js +40 -0
- package/esm/word/render/renderMath.d.ts +3 -0
- package/esm/word/render/renderMath.js +7 -0
- package/esm/word/render/renderNoBreakHyphen.js +9 -0
- package/esm/word/render/renderNotes.d.ts +5 -0
- package/esm/word/render/renderNotes.js +77 -0
- package/esm/word/render/renderNumbering.d.ts +7 -0
- package/esm/word/render/renderNumbering.js +159 -0
- package/esm/word/render/renderParagraph.d.ts +7 -0
- package/esm/word/render/renderParagraph.js +97 -0
- package/esm/word/render/renderPict.d.ts +6 -0
- package/esm/word/render/renderRuby.d.ts +6 -0
- package/esm/word/render/renderRuby.js +53 -0
- package/esm/word/render/renderRun.d.ts +16 -0
- package/esm/word/render/renderRun.js +146 -0
- package/esm/word/render/renderSection.d.ts +7 -0
- package/esm/word/render/renderSection.js +110 -0
- package/esm/word/render/renderSeparator.js +9 -0
- package/esm/word/render/renderSoftHyphen.js +9 -0
- package/esm/word/render/renderStyle.d.ts +13 -0
- package/esm/word/render/renderStyle.js +195 -0
- package/esm/word/render/renderSym.d.ts +3 -0
- package/esm/word/render/renderSym.js +10 -0
- package/esm/word/render/renderTab.d.ts +8 -0
- package/esm/word/render/renderTab.js +23 -0
- package/esm/word/render/renderTable.d.ts +6 -0
- package/esm/word/render/renderTable.js +189 -0
- package/esm/word/render/setElementStyle.d.ts +6 -0
- package/esm/word/render/setElementStyle.js +26 -0
- package/lib/Excel.d.ts +59 -0
- package/lib/Excel.js +222 -0
- package/lib/OfficeViewer.d.ts +10 -0
- package/lib/RenderOptions.d.ts +25 -0
- package/lib/UnSupport.d.ts +13 -0
- package/lib/UnSupport.js +37 -0
- package/lib/Word.d.ts +7 -24
- package/lib/Word.js +23 -20
- package/lib/common/__tests__/autoParse.test.d.ts +1 -0
- package/lib/common/autoParse.d.ts +9 -0
- package/lib/common/autoParse.js +196 -0
- package/lib/common/parseAttributes.d.ts +6 -0
- package/lib/common/parseAttributes.js +31 -0
- package/lib/common/parseChildren.d.ts +8 -0
- package/lib/common/parseContentType.d.ts +7 -0
- package/lib/common/parseContentType.js +54 -0
- package/lib/common/parseRelationship.d.ts +5 -0
- package/lib/common/parseRelationship.js +50 -0
- package/lib/createOfficeViewer.d.ts +16 -0
- package/lib/createOfficeViewer.js +102 -0
- package/lib/excel/StyleSheet.d.ts +8 -0
- package/lib/excel/StyleSheet.js +15 -0
- package/lib/excel/Workbook.d.ts +180 -0
- package/lib/excel/Workbook.js +213 -0
- package/lib/excel/data/LocalDataProvider.d.ts +146 -0
- package/lib/excel/data/LocalDataProvider.js +792 -0
- package/lib/excel/data/applyAutoFilter.d.ts +10 -0
- package/lib/excel/data/applyAutoFilter.js +90 -0
- package/lib/excel/data/autoFilter/CellValueNum.d.ts +5 -0
- package/lib/excel/data/autoFilter/__test__/customFilter.test.d.ts +1 -0
- package/lib/excel/data/autoFilter/__test__/filters.test.d.ts +1 -0
- package/lib/excel/data/autoFilter/__test__/sortByRange.test.d.ts +1 -0
- package/lib/excel/data/autoFilter/applySortState.d.ts +6 -0
- package/lib/excel/data/autoFilter/applySortState.js +40 -0
- package/lib/excel/data/autoFilter/customFilter.d.ts +6 -0
- package/lib/excel/data/autoFilter/customFilter.js +82 -0
- package/lib/excel/data/autoFilter/evalCustomFilter.d.ts +9 -0
- package/lib/excel/data/autoFilter/evalCustomFilter.js +65 -0
- package/lib/excel/data/autoFilter/filters.d.ts +3 -0
- package/lib/excel/data/autoFilter/filters.js +59 -0
- package/lib/excel/data/autoFilter/inDateGroupItems.d.ts +6 -0
- package/lib/excel/data/autoFilter/inDateGroupItems.js +75 -0
- package/lib/excel/data/autoFilter/sortByRange.d.ts +8 -0
- package/lib/excel/data/autoFilter/sortByRange.js +55 -0
- package/lib/excel/data/defaultFont.d.ts +25 -0
- package/lib/excel/data/defaultFont.js +31 -0
- package/lib/excel/data/getThemeColor.d.ts +2 -0
- package/lib/excel/data/getThemeColor.js +75 -0
- package/lib/excel/data/numfmt/amountInWords.d.ts +4 -0
- package/lib/excel/data/numfmt/amountInWords.js +43 -0
- package/lib/excel/data/numfmtExtend.d.ts +10 -0
- package/lib/excel/data/numfmtExtend.js +33 -0
- package/lib/excel/edit/Command.d.ts +19 -0
- package/lib/excel/edit/ui/CellEditor.d.ts +27 -0
- package/lib/excel/edit/ui/CellEditor.js +69 -0
- package/lib/excel/io/csv/emptyXLSX.d.ts +2 -0
- package/lib/excel/io/csv/emptyXLSX.js +10 -0
- package/lib/excel/io/excel/__tests__/parseSharedStrings.test.d.ts +1 -0
- package/lib/excel/io/excel/drawing/getRelationPath.d.ts +2 -0
- package/lib/excel/io/excel/drawing/getRelationPath.js +15 -0
- package/lib/excel/io/excel/drawing/parseAnchorCommon.d.ts +9 -0
- package/lib/excel/io/excel/drawing/parseAnchorCommon.js +82 -0
- package/lib/excel/io/excel/drawing/parseChart.d.ts +3 -0
- package/lib/excel/io/excel/drawing/parseChart.js +15 -0
- package/lib/excel/io/excel/drawing/parseDrawing.d.ts +8 -0
- package/lib/excel/io/excel/drawing/parseDrawing.js +107 -0
- package/lib/excel/io/excel/drawing/parsePic.d.ts +4 -0
- package/lib/excel/io/excel/drawing/parsePic.js +27 -0
- package/lib/excel/io/excel/drawing/parseShape.d.ts +4 -0
- package/lib/excel/io/excel/drawing/parseShape.js +163 -0
- package/lib/excel/io/excel/getRelPath.d.ts +4 -0
- package/lib/excel/io/excel/getRelPath.js +14 -0
- package/lib/excel/io/excel/initValueForContainsBlanks.d.ts +6 -0
- package/lib/excel/io/excel/initValueForContainsBlanks.js +62 -0
- package/lib/excel/io/excel/initValueForTable.d.ts +5 -0
- package/lib/excel/io/excel/initValueForTable.js +35 -0
- package/lib/excel/io/excel/parseDefinedNames.d.ts +5 -0
- package/lib/excel/io/excel/parseDefinedNames.js +15 -0
- package/lib/excel/io/excel/parseSharedStrings.d.ts +9 -0
- package/lib/excel/io/excel/parseSharedStrings.js +177 -0
- package/lib/excel/io/excel/parseSheet.d.ts +9 -0
- package/lib/excel/io/excel/parseSheet.js +88 -0
- package/lib/excel/io/excel/parseTableParts.d.ts +5 -0
- package/lib/excel/io/excel/parseTableParts.js +71 -0
- package/lib/excel/io/excel/parseTableStyleDef.d.ts +3 -0
- package/lib/excel/io/excel/parseTheme.d.ts +6 -0
- package/lib/excel/io/excel/parseTheme.js +46 -0
- package/lib/excel/io/excel/parseWorkbook.d.ts +8 -0
- package/lib/excel/io/excel/parseWorkbook.js +109 -0
- package/lib/excel/io/excel/parseWorkbookPr.d.ts +6 -0
- package/lib/excel/io/excel/parseWorkbookPr.js +17 -0
- package/lib/excel/io/excel/parseWorkbookView.d.ts +6 -0
- package/lib/excel/io/excel/parseWorkbookView.js +17 -0
- package/lib/excel/io/excel/parseWorksheet.d.ts +9 -0
- package/lib/excel/io/excel/parseWorksheet.js +211 -0
- package/lib/excel/io/excel/preset/defaultTheme.d.ts +1 -0
- package/lib/excel/io/excel/preset/defaultTheme.js +7 -0
- package/lib/excel/io/excel/preset/presetCellStyles.d.ts +3 -0
- package/lib/excel/io/excel/preset/presetIconSet.d.ts +6 -0
- package/lib/excel/io/excel/preset/presetIconSet.js +59 -0
- package/lib/excel/io/excel/preset/presetIcons.d.ts +3 -0
- package/lib/excel/io/excel/preset/presetIcons.js +48 -0
- package/lib/excel/io/excel/preset/presetTableStyles.d.ts +3 -0
- package/lib/excel/io/excel/preset/presetTableStyles.js +35121 -0
- package/lib/excel/io/excel/stylesheet/parseColor.d.ts +5 -0
- package/lib/excel/io/excel/stylesheet/parseColor.js +15 -0
- package/lib/excel/io/excel/util/Range.d.ts +66 -0
- package/lib/excel/io/excel/util/Range.js +132 -0
- package/lib/excel/io/excel/util/__tests__/makeBlankValue.test.d.ts +1 -0
- package/lib/excel/io/excel/util/decodeAddress.d.ts +11 -0
- package/lib/excel/io/excel/util/decodeAddress.js +67 -0
- package/lib/excel/io/excel/util/fromExcelDate.d.ts +14 -0
- package/lib/excel/io/excel/util/fromExcelDate.js +30 -0
- package/lib/excel/io/excel/util/lettersToNumber.d.ts +4 -0
- package/lib/excel/io/excel/util/makeBlankValue.d.ts +6 -0
- package/lib/excel/io/excel/util/makeBlankValue.js +25 -0
- package/lib/excel/io/excel/util/numberToLetters.d.ts +4 -0
- package/lib/excel/io/excel/util/numberToLetters.js +17 -0
- package/lib/excel/io/excel/worksheet/parseSheetData.d.ts +11 -0
- package/lib/excel/io/excel/worksheet/parseSheetData.js +158 -0
- package/lib/excel/io/parseExcel.d.ts +10 -0
- package/lib/excel/io/parseExcel.js +43 -0
- package/lib/excel/lang/en_US.d.ts +24 -0
- package/lib/excel/lang/en_US.js +29 -0
- package/lib/excel/lang/lang.d.ts +30 -0
- package/lib/excel/lang/lang.js +23 -0
- package/lib/excel/lang/zh_CN.d.ts +2 -0
- package/lib/excel/lang/zh_CN.js +29 -0
- package/lib/excel/print/printStyle.d.ts +4 -0
- package/lib/excel/print/printStyle.js +12 -0
- package/lib/excel/print/renderInIframe.d.ts +7 -0
- package/lib/excel/print/renderInIframe.js +30 -0
- package/lib/excel/render/Canvas.d.ts +108 -0
- package/lib/excel/render/Canvas.js +336 -0
- package/lib/excel/render/Consts.d.ts +20 -0
- package/lib/excel/render/Consts.js +30 -0
- package/lib/excel/render/ExcelRender.d.ts +120 -0
- package/lib/excel/render/ExcelRender.js +426 -0
- package/lib/excel/render/Icons.d.ts +13 -0
- package/lib/excel/render/Icons.js +19 -0
- package/lib/excel/render/IndexedColors.d.ts +1 -0
- package/lib/excel/render/IndexedColors.js +74 -0
- package/lib/excel/render/Line.d.ts +6 -0
- package/lib/excel/render/Rect.d.ts +17 -0
- package/lib/excel/render/Rect.js +25 -0
- package/lib/excel/render/ScrollBar.d.ts +54 -0
- package/lib/excel/render/ScrollBar.js +141 -0
- package/lib/excel/render/SelectionCanvas.d.ts +33 -0
- package/lib/excel/render/SelectionCanvas.js +96 -0
- package/lib/excel/render/SheetCanvas.d.ts +33 -0
- package/lib/excel/render/SheetCanvas.js +46 -0
- package/lib/excel/render/__test__/autoWrapText.test.d.ts +1 -0
- package/lib/excel/render/__test__/tokenizer.test.d.ts +1 -0
- package/lib/excel/render/autoFilter/AutoFilterIconUI.d.ts +33 -0
- package/lib/excel/render/autoFilter/AutoFilterIconUI.js +89 -0
- package/lib/excel/render/autoFilter/AutoFilterMenuUI.d.ts +13 -0
- package/lib/excel/render/autoFilter/AutoFilterMenuUI.js +38 -0
- package/lib/excel/render/autoFilter/filterColumn/CustomFiltersUI.d.ts +46 -0
- package/lib/excel/render/autoFilter/filterColumn/CustomFiltersUI.js +162 -0
- package/lib/excel/render/autoFilter/filterColumn/FilterColumnUI.d.ts +10 -0
- package/lib/excel/render/autoFilter/filterColumn/FilterColumnUI.js +51 -0
- package/lib/excel/render/autoFilter/filterColumn/FiltersUI.d.ts +10 -0
- package/lib/excel/render/autoFilter/filterColumn/FiltersUI.js +41 -0
- package/lib/excel/render/autoFilter/filterColumn/OperatorTypeUI.d.ts +5 -0
- package/lib/excel/render/autoFilter/filterColumn/buildOperatorOptions.d.ts +2 -0
- package/lib/excel/render/autoFilter/filterColumn/buildOperatorOptions.js +99 -0
- package/lib/excel/render/autoFilter/filterColumn/fromOperatorUI.d.ts +6 -0
- package/lib/excel/render/autoFilter/filterColumn/fromOperatorUI.js +52 -0
- package/lib/excel/render/autoFilter/filterColumn/getCustomFilters.d.ts +2 -0
- package/lib/excel/render/autoFilter/filterColumn/getCustomFilters.js +14 -0
- package/lib/excel/render/autoFilter/filterColumn/getFilterValues.d.ts +5 -0
- package/lib/excel/render/autoFilter/filterColumn/getFilterValues.js +35 -0
- package/lib/excel/render/autoFilter/filterColumn/hasFilterColumn.d.ts +5 -0
- package/lib/excel/render/autoFilter/filterColumn/hasFilterColumn.js +41 -0
- package/lib/excel/render/autoFilter/filterColumn/setCustomFilters.d.ts +5 -0
- package/lib/excel/render/autoFilter/filterColumn/setCustomFilters.js +23 -0
- package/lib/excel/render/autoFilter/filterColumn/setFilterValues.d.ts +6 -0
- package/lib/excel/render/autoFilter/filterColumn/setFilterValues.js +49 -0
- package/lib/excel/render/autoFilter/filterColumn/toOperatorUI.d.ts +6 -0
- package/lib/excel/render/autoFilter/filterColumn/toOperatorUI.js +34 -0
- package/lib/excel/render/autoFilter/renderAutoFilter.d.ts +2 -0
- package/lib/excel/render/autoFilter/renderAutoFilter.js +35 -0
- package/lib/excel/render/autoFilter/renderAutoFilterIcon.d.ts +6 -0
- package/lib/excel/render/autoFilter/renderAutoFilterIcon.js +56 -0
- package/lib/excel/render/autoFilter/sortState/ColumnSortOrder.d.ts +1 -0
- package/lib/excel/render/autoFilter/sortState/SortButtonUI.d.ts +12 -0
- package/lib/excel/render/autoFilter/sortState/SortButtonUI.js +45 -0
- package/lib/excel/render/autoFilter/sortState/SortStateUI.d.ts +22 -0
- package/lib/excel/render/autoFilter/sortState/SortStateUI.js +69 -0
- package/lib/excel/render/autoFilter/sortState/getColumnSortOrder.d.ts +6 -0
- package/lib/excel/render/autoFilter/sortState/getColumnSortOrder.js +40 -0
- package/lib/excel/render/autoFilter/sortState/setColumnSortOrder.d.ts +7 -0
- package/lib/excel/render/autoFilter/sortState/setColumnSortOrder.js +59 -0
- package/lib/excel/render/canvas/draw.d.ts +5 -0
- package/lib/excel/render/canvas/drawOffscreenCanvas.d.ts +6 -0
- package/lib/excel/render/canvas/drawOffscreenCanvas.js +18 -0
- package/lib/excel/render/canvas/setPixelRatio.d.ts +4 -0
- package/lib/excel/render/canvas/setPixelRatio.js +21 -0
- package/lib/excel/render/cell/CellInfoWithSize.d.ts +5 -0
- package/lib/excel/render/cell/LinkPosition.d.ts +14 -0
- package/lib/excel/render/cell/autoClip.d.ts +6 -0
- package/lib/excel/render/cell/autoClip.js +48 -0
- package/lib/excel/render/cell/autoWrapText.d.ts +24 -0
- package/lib/excel/render/cell/autoWrapText.js +161 -0
- package/lib/excel/render/cell/border/drawDoubleBorder.d.ts +2 -0
- package/lib/excel/render/cell/border/drawDoubleBorder.js +79 -0
- package/lib/excel/render/cell/border/setLineStyle.d.ts +5 -0
- package/lib/excel/render/cell/border/setLineStyle.js +47 -0
- package/lib/excel/render/cell/cellToMergeCell.d.ts +8 -0
- package/lib/excel/render/cell/cellToMergeCell.js +39 -0
- package/lib/excel/render/cell/checkFont.d.ts +8 -0
- package/lib/excel/render/cell/checkFont.js +36 -0
- package/lib/excel/render/cell/drawCell.d.ts +19 -0
- package/lib/excel/render/cell/drawCell.js +48 -0
- package/lib/excel/render/cell/drawCellBackground.d.ts +3 -0
- package/lib/excel/render/cell/drawCellBackground.js +15 -0
- package/lib/excel/render/cell/drawCellBorder.d.ts +6 -0
- package/lib/excel/render/cell/drawCellBorder.js +51 -0
- package/lib/excel/render/cell/drawCells.d.ts +9 -0
- package/lib/excel/render/cell/drawCells.js +58 -0
- package/lib/excel/render/cell/drawDataBar.d.ts +3 -0
- package/lib/excel/render/cell/drawDataBar.js +35 -0
- package/lib/excel/render/cell/drawDataBarX14.d.ts +7 -0
- package/lib/excel/render/cell/drawDataBarX14.js +52 -0
- package/lib/excel/render/cell/drawIconSet.d.ts +3 -0
- package/lib/excel/render/cell/drawIconSet.js +17 -0
- package/lib/excel/render/cell/drawMultiLineText.d.ts +8 -0
- package/lib/excel/render/cell/drawMultiLineText.js +111 -0
- package/lib/excel/render/cell/drawSingleLineRichText.d.ts +10 -0
- package/lib/excel/render/cell/drawSingleLineRichText.js +59 -0
- package/lib/excel/render/cell/drawSingleLineText.d.ts +17 -0
- package/lib/excel/render/cell/drawSingleLineText.js +77 -0
- package/lib/excel/render/cell/drawTextInCell.d.ts +15 -0
- package/lib/excel/render/cell/drawTextInCell.js +109 -0
- package/lib/excel/render/cell/frozen/drawFrozen.d.ts +17 -0
- package/lib/excel/render/cell/frozen/drawFrozen.js +49 -0
- package/lib/excel/render/cell/frozen/drawLeftFrozen.d.ts +10 -0
- package/lib/excel/render/cell/frozen/drawLeftFrozen.js +30 -0
- package/lib/excel/render/cell/frozen/drawTopFrozen.d.ts +10 -0
- package/lib/excel/render/cell/frozen/drawTopFrozen.js +30 -0
- package/lib/excel/render/cell/frozen/drawTopLeftFrozen.d.ts +14 -0
- package/lib/excel/render/cell/frozen/drawTopLeftFrozen.js +50 -0
- package/lib/excel/render/cell/frozen/getFrozenLeftViewPointRange.d.ts +14 -0
- package/lib/excel/render/cell/frozen/getFrozenLeftViewPointRange.js +36 -0
- package/lib/excel/render/cell/frozen/getFrozenRange.d.ts +5 -0
- package/lib/excel/render/cell/frozen/getFrozenRange.js +29 -0
- package/lib/excel/render/cell/frozen/getFrozenTopLeftViewPointRange.d.ts +5 -0
- package/lib/excel/render/cell/frozen/getFrozenTopLeftViewPointRange.js +26 -0
- package/lib/excel/render/cell/frozen/getFrozenTopViewPointRange.d.ts +14 -0
- package/lib/excel/render/cell/frozen/getFrozenTopViewPointRange.js +37 -0
- package/lib/excel/render/cell/genFontStr.d.ts +31 -0
- package/lib/excel/render/cell/genFontStr.js +68 -0
- package/lib/excel/render/cell/getBackgroundColor.d.ts +3 -0
- package/lib/excel/render/cell/getBackgroundColor.js +42 -0
- package/lib/excel/render/cell/isPointerOnLink.d.ts +5 -0
- package/lib/excel/render/cell/isPointerOnLink.js +43 -0
- package/lib/excel/render/cell/measureTextWithCache.d.ts +23 -0
- package/lib/excel/render/cell/measureTextWithCache.js +35 -0
- package/lib/excel/render/cell/tokenizer.d.ts +24 -0
- package/lib/excel/render/cell/tokenizer.js +98 -0
- package/lib/excel/render/dnd/DragState.d.ts +22 -0
- package/lib/excel/render/dnd/getMouseRelativePosition.d.ts +7 -0
- package/lib/excel/render/dnd/getMouseRelativePosition.js +15 -0
- package/lib/excel/render/dnd/handleDragCell.d.ts +4 -0
- package/lib/excel/render/dnd/handleDragCell.js +79 -0
- package/lib/excel/render/dnd/handleDragColGrid.d.ts +4 -0
- package/lib/excel/render/dnd/handleDragColGrid.js +27 -0
- package/lib/excel/render/dnd/handleDragColHeader.d.ts +4 -0
- package/lib/excel/render/dnd/handleDragColHeader.js +55 -0
- package/lib/excel/render/dnd/handleDragRowGrid.d.ts +4 -0
- package/lib/excel/render/dnd/handleDragRowGrid.js +27 -0
- package/lib/excel/render/dnd/handleDragRowHeader.d.ts +4 -0
- package/lib/excel/render/dnd/handleDragRowHeader.js +55 -0
- package/lib/excel/render/dnd/handleMousedown.d.ts +12 -0
- package/lib/excel/render/dnd/handleMousedown.js +80 -0
- package/lib/excel/render/dnd/handleMousemove.d.ts +4 -0
- package/lib/excel/render/dnd/handleMousemove.js +42 -0
- package/lib/excel/render/dnd/handleMouseup.d.ts +1 -0
- package/lib/excel/render/dnd/handleMouseup.js +21 -0
- package/lib/excel/render/dnd/mousedownCell.d.ts +10 -0
- package/lib/excel/render/dnd/mousedownCell.js +35 -0
- package/lib/excel/render/dnd/mousedownColHeader.d.ts +22 -0
- package/lib/excel/render/dnd/mousedownColHeader.js +33 -0
- package/lib/excel/render/dnd/mousedownCorner.d.ts +8 -0
- package/lib/excel/render/dnd/mousedownCorner.js +17 -0
- package/lib/excel/render/dnd/mousedownRowHeader.d.ts +22 -0
- package/lib/excel/render/dnd/mousedownRowHeader.js +33 -0
- package/lib/excel/render/dnd/removeEventListener.d.ts +4 -0
- package/lib/excel/render/dnd/removeEventListener.js +18 -0
- package/lib/excel/render/dnd/selectAll.d.ts +5 -0
- package/lib/excel/render/dnd/selectAll.js +30 -0
- package/lib/excel/render/drawing/BaseDrawingRender.d.ts +11 -0
- package/lib/excel/render/drawing/BaseDrawingRender.js +33 -0
- package/lib/excel/render/drawing/EChartsRender.d.ts +7 -0
- package/lib/excel/render/drawing/EChartsRender.js +42 -0
- package/lib/excel/render/drawing/PicRender.d.ts +6 -0
- package/lib/excel/render/drawing/PicRender.js +61 -0
- package/lib/excel/render/drawing/ResizeBox.d.ts +51 -0
- package/lib/excel/render/drawing/ResizeBox.js +87 -0
- package/lib/excel/render/drawing/chart/buildLabel.d.ts +63 -0
- package/lib/excel/render/drawing/chart/buildLabel.js +10 -0
- package/lib/excel/render/drawing/chart/calcPercentStacked.d.ts +5 -0
- package/lib/excel/render/drawing/chart/calcPercentStacked.js +47 -0
- package/lib/excel/render/drawing/chart/convertAxis.d.ts +11 -0
- package/lib/excel/render/drawing/chart/convertAxis.js +59 -0
- package/lib/excel/render/drawing/chart/convertLegend.d.ts +5 -0
- package/lib/excel/render/drawing/chart/convertLegend.js +42 -0
- package/lib/excel/render/drawing/chart/convertTitle.d.ts +8 -0
- package/lib/excel/render/drawing/chart/convertTitle.js +58 -0
- package/lib/excel/render/drawing/chart/fromAreaChart.d.ts +74 -0
- package/lib/excel/render/drawing/chart/fromAreaChart.js +55 -0
- package/lib/excel/render/drawing/chart/fromBarChart.d.ts +11 -0
- package/lib/excel/render/drawing/chart/fromBarChart.js +48 -0
- package/lib/excel/render/drawing/chart/fromDoughnutChart.d.ts +18 -0
- package/lib/excel/render/drawing/chart/fromDoughnutChart.js +52 -0
- package/lib/excel/render/drawing/chart/fromLineChart.d.ts +73 -0
- package/lib/excel/render/drawing/chart/fromLineChart.js +54 -0
- package/lib/excel/render/drawing/chart/fromPieChart.d.ts +10 -0
- package/lib/excel/render/drawing/chart/fromPieChart.js +44 -0
- package/lib/excel/render/drawing/chart/getData.d.ts +6 -0
- package/lib/excel/render/drawing/chart/getData.js +20 -0
- package/lib/excel/render/drawing/chart/getStack.d.ts +5 -0
- package/lib/excel/render/drawing/chart/getStack.js +21 -0
- package/lib/excel/render/drawing/convertToEChartOptions.d.ts +8 -0
- package/lib/excel/render/drawing/convertToEChartOptions.js +70 -0
- package/lib/excel/render/drawing/drawChart.d.ts +4 -0
- package/lib/excel/render/drawing/drawChart.js +53 -0
- package/lib/excel/render/drawing/drawDrawing.d.ts +8 -0
- package/lib/excel/render/drawing/drawDrawing.js +109 -0
- package/lib/excel/render/drawing/drawPic.d.ts +5 -0
- package/lib/excel/render/drawing/drawPic.js +72 -0
- package/lib/excel/render/drawing/drawShape.d.ts +9 -0
- package/lib/excel/render/drawing/drawShape.js +138 -0
- package/lib/excel/render/drawing/findPositionInViewRange.d.ts +7 -0
- package/lib/excel/render/drawing/findPositionInViewRange.js +32 -0
- package/lib/excel/render/drawing/getAbsoluteAnchorPosition.d.ts +11 -0
- package/lib/excel/render/drawing/getAbsoluteAnchorPosition.js +37 -0
- package/lib/excel/render/drawing/getOneCellAnchorPosition.d.ts +8 -0
- package/lib/excel/render/drawing/getOneCellAnchorPosition.js +35 -0
- package/lib/excel/render/drawing/getPositionByMaker.d.ts +11 -0
- package/lib/excel/render/drawing/getRectFromAnchorPoint.d.ts +18 -0
- package/lib/excel/render/drawing/getRectFromAnchorPoint.js +48 -0
- package/lib/excel/render/drawing/getTwoCellAnchorPosition.d.ts +8 -0
- package/lib/excel/render/drawing/getTwoCellAnchorPosition.js +41 -0
- package/lib/excel/render/formulaBar/FormulaBar.d.ts +29 -0
- package/lib/excel/render/formulaBar/FormulaBar.js +90 -0
- package/lib/excel/render/grid/drawGridLines.d.ts +12 -0
- package/lib/excel/render/grid/drawGridLines.js +45 -0
- package/lib/excel/render/header/drawRowColHeaders.d.ts +10 -0
- package/lib/excel/render/header/drawRowColHeaders.js +148 -0
- package/lib/excel/render/keyboard/handleCopy.d.ts +5 -0
- package/lib/excel/render/keyboard/handleCopy.js +23 -0
- package/lib/excel/render/keyboard/handleKeydown.d.ts +5 -0
- package/lib/excel/render/keyboard/handleKeydown.js +18 -0
- package/lib/excel/render/keyboard/handlePaste.d.ts +5 -0
- package/lib/excel/render/keyboard/handlePaste.js +20 -0
- package/lib/excel/render/keyboard/handleSelectAll.d.ts +5 -0
- package/lib/excel/render/keyboard/handleSelectAll.js +21 -0
- package/lib/excel/render/keyboard/handleSheetArrowKey.d.ts +5 -0
- package/lib/excel/render/keyboard/handleSheetArrowKey.js +45 -0
- package/lib/excel/render/scroll/Scroll.d.ts +7 -0
- package/lib/excel/render/selection/Position.d.ts +9 -0
- package/lib/excel/render/selection/SheetSelection.d.ts +29 -0
- package/lib/excel/render/selection/binarySearchSize.d.ts +8 -0
- package/lib/excel/render/selection/binarySearchSize.js +31 -0
- package/lib/excel/render/selection/buildHTML/buildBorder.d.ts +6 -0
- package/lib/excel/render/selection/buildHTML/buildBorder.js +40 -0
- package/lib/excel/render/selection/buildHTML/cellInfoToStyle.d.ts +6 -0
- package/lib/excel/render/selection/buildHTML/cellInfoToStyle.js +70 -0
- package/lib/excel/render/selection/buildHTML/rangeToHTML.d.ts +11 -0
- package/lib/excel/render/selection/buildHTML/rangeToHTML.js +68 -0
- package/lib/excel/render/selection/copySelection.d.ts +7 -0
- package/lib/excel/render/selection/copySelection.js +32 -0
- package/lib/excel/render/selection/drawAllSelection.d.ts +7 -0
- package/lib/excel/render/selection/drawAllSelection.js +21 -0
- package/lib/excel/render/selection/drawCellRanges.d.ts +10 -0
- package/lib/excel/render/selection/drawCellRanges.js +49 -0
- package/lib/excel/render/selection/drawCellSelection.d.ts +13 -0
- package/lib/excel/render/selection/drawCellSelection.js +81 -0
- package/lib/excel/render/selection/drawColSelection.d.ts +12 -0
- package/lib/excel/render/selection/drawColSelection.js +24 -0
- package/lib/excel/render/selection/drawRowSelection.d.ts +12 -0
- package/lib/excel/render/selection/drawRowSelection.js +25 -0
- package/lib/excel/render/selection/drawSelectionHeaderHighlight.d.ts +6 -0
- package/lib/excel/render/selection/drawSelectionHeaderHighlight.js +21 -0
- package/lib/excel/render/selection/findCell.d.ts +7 -0
- package/lib/excel/render/selection/findCell.js +19 -0
- package/lib/excel/render/selection/findInViewRange.d.ts +13 -0
- package/lib/excel/render/selection/findInViewRange.js +16 -0
- package/lib/excel/render/selection/findInViewRangeX.d.ts +10 -0
- package/lib/excel/render/selection/findInViewRangeX.js +46 -0
- package/lib/excel/render/selection/findInViewRangeY.d.ts +10 -0
- package/lib/excel/render/selection/findInViewRangeY.js +45 -0
- package/lib/excel/render/selection/getCellPosition.d.ts +43 -0
- package/lib/excel/render/selection/getCellPosition.js +137 -0
- package/lib/excel/render/selection/getRangePosition.d.ts +12 -0
- package/lib/excel/render/selection/getRangePosition.js +71 -0
- package/lib/excel/render/selection/hitTest.d.ts +41 -0
- package/lib/excel/render/selection/hitTest.js +50 -0
- package/lib/excel/render/selection/hitTestInRange.d.ts +7 -0
- package/lib/excel/render/selection/hitTestInRange.js +60 -0
- package/lib/excel/render/selection/updateCursor.d.ts +5 -0
- package/lib/excel/render/selection/updateCursor.js +26 -0
- package/lib/excel/render/sheetTab/SheetList.d.ts +43 -0
- package/lib/excel/render/sheetTab/SheetList.js +289 -0
- package/lib/excel/render/sheetTab/SheetTabBar.d.ts +8 -0
- package/lib/excel/render/sheetTab/SheetTabBar.js +24 -0
- package/lib/excel/render/sheetTab/StatusBar.d.ts +14 -0
- package/lib/excel/render/sheetTab/StatusBar.js +87 -0
- package/lib/excel/render/sheetTab/ZoomLevel.d.ts +6 -0
- package/lib/excel/render/sheetTab/ZoomLevel.js +43 -0
- package/lib/excel/render/sparkline/Numbers.d.ts +1 -0
- package/lib/excel/render/sparkline/applyColor.d.ts +7 -0
- package/lib/excel/render/sparkline/applyColor.js +40 -0
- package/lib/excel/render/sparkline/drawSparkline.d.ts +7 -0
- package/lib/excel/render/sparkline/drawSparkline.js +90 -0
- package/lib/excel/render/sparkline/renderColumn.d.ts +7 -0
- package/lib/excel/render/sparkline/renderColumn.js +51 -0
- package/lib/excel/render/sparkline/renderLine.d.ts +7 -0
- package/lib/excel/render/sparkline/renderLine.js +111 -0
- package/lib/excel/render/sparkline/renderSparkline.d.ts +9 -0
- package/lib/excel/render/sparkline/renderSparkline.js +63 -0
- package/lib/excel/render/sparkline/renderStacked.d.ts +7 -0
- package/lib/excel/render/sparkline/renderStacked.js +65 -0
- package/lib/excel/render/ui/Button.d.ts +7 -0
- package/lib/excel/render/ui/CheckBox.d.ts +16 -0
- package/lib/excel/render/ui/CheckBox.js +52 -0
- package/lib/excel/render/ui/CheckBoxList.d.ts +16 -0
- package/lib/excel/render/ui/CheckBoxList.js +113 -0
- package/lib/excel/render/ui/Divider.d.ts +3 -0
- package/lib/excel/render/ui/Divider.js +17 -0
- package/lib/excel/render/ui/Input.d.ts +11 -0
- package/lib/excel/render/ui/Input.js +52 -0
- package/lib/excel/render/ui/Radio.d.ts +11 -0
- package/lib/excel/render/ui/Radio.js +56 -0
- package/lib/excel/render/ui/Select.d.ts +13 -0
- package/lib/excel/render/ui/Select.js +33 -0
- package/lib/excel/render/widget/Widget.d.ts +29 -0
- package/lib/excel/sheet/BuiltInNumFmt.d.ts +5 -0
- package/lib/excel/sheet/BuiltInNumFmt.js +43 -0
- package/lib/excel/sheet/ColWidth.d.ts +19 -0
- package/lib/excel/sheet/ColWidth.js +36 -0
- package/lib/excel/sheet/ExcelRenderOptions.d.ts +149 -0
- package/lib/excel/sheet/RangeCache.d.ts +32 -0
- package/lib/excel/sheet/RangeCache.js +105 -0
- package/lib/excel/sheet/RowFilter.d.ts +3 -0
- package/lib/excel/sheet/Sheet.d.ts +280 -0
- package/lib/excel/sheet/Sheet.js +679 -0
- package/lib/excel/sheet/SheetBounding.d.ts +22 -0
- package/lib/excel/sheet/ViewRange.d.ts +52 -0
- package/lib/excel/sheet/__test__/applyDxf.test.d.ts +1 -0
- package/lib/excel/sheet/__test__/colWidth.test.d.ts +1 -0
- package/lib/excel/sheet/__test__/getViewRange.test.d.ts +1 -0
- package/lib/excel/sheet/applyConditionalFormat.d.ts +6 -0
- package/lib/excel/sheet/applyConditionalFormat.js +116 -0
- package/lib/excel/sheet/applyDxf.d.ts +6 -0
- package/lib/excel/sheet/applyDxf.js +24 -0
- package/lib/excel/sheet/applyTablePartsStyle.d.ts +6 -0
- package/lib/excel/sheet/applyTablePartsStyle.js +38 -0
- package/lib/excel/sheet/cfRule/__test__/aboveAverage.test.d.ts +1 -0
- package/lib/excel/sheet/cfRule/__test__/cellIs.test.d.ts +1 -0
- package/lib/excel/sheet/cfRule/__test__/top10.test.d.ts +1 -0
- package/lib/excel/sheet/cfRule/aboveAverage.d.ts +9 -0
- package/lib/excel/sheet/cfRule/aboveAverage.js +75 -0
- package/lib/excel/sheet/cfRule/applyCfRuleDxf.d.ts +7 -0
- package/lib/excel/sheet/cfRule/applyCfRuleDxf.js +17 -0
- package/lib/excel/sheet/cfRule/cellIs.d.ts +22 -0
- package/lib/excel/sheet/cfRule/cellIs.js +171 -0
- package/lib/excel/sheet/cfRule/colorScale.d.ts +8 -0
- package/lib/excel/sheet/cfRule/colorScale.js +145 -0
- package/lib/excel/sheet/cfRule/containsBlanks.d.ts +7 -0
- package/lib/excel/sheet/cfRule/containsBlanks.js +18 -0
- package/lib/excel/sheet/cfRule/containsErrors.d.ts +7 -0
- package/lib/excel/sheet/cfRule/containsErrors.js +19 -0
- package/lib/excel/sheet/cfRule/containsText.d.ts +7 -0
- package/lib/excel/sheet/cfRule/containsText.js +21 -0
- package/lib/excel/sheet/cfRule/dataBar.d.ts +8 -0
- package/lib/excel/sheet/cfRule/dataBar.js +236 -0
- package/lib/excel/sheet/cfRule/duplicateValues.d.ts +8 -0
- package/lib/excel/sheet/cfRule/duplicateValues.js +49 -0
- package/lib/excel/sheet/cfRule/getMinMax.d.ts +5 -0
- package/lib/excel/sheet/cfRule/getMinMax.js +41 -0
- package/lib/excel/sheet/cfRule/iconSet.d.ts +8 -0
- package/lib/excel/sheet/cfRule/iconSet.js +113 -0
- package/lib/excel/sheet/cfRule/notContainsText.d.ts +7 -0
- package/lib/excel/sheet/cfRule/notContainsText.js +21 -0
- package/lib/excel/sheet/cfRule/timePeriod.d.ts +9 -0
- package/lib/excel/sheet/cfRule/timePeriod.js +134 -0
- package/lib/excel/sheet/cfRule/top10.d.ts +9 -0
- package/lib/excel/sheet/cfRule/top10.js +77 -0
- package/lib/excel/sheet/cfRule/uniqueValues.d.ts +8 -0
- package/lib/excel/sheet/cfRule/uniqueValues.js +50 -0
- package/lib/excel/sheet/getCellAbsolutePosition.d.ts +10 -0
- package/lib/excel/sheet/getCellAbsolutePosition.js +45 -0
- package/lib/excel/sheet/getViewPointData.d.ts +24 -0
- package/lib/excel/sheet/getViewPointData.js +176 -0
- package/lib/excel/sheet/getViewRange.d.ts +68 -0
- package/lib/excel/sheet/getViewRange.js +199 -0
- package/lib/excel/sheet/table/__test__/calcTableRelativePosition.test.d.ts +1 -0
- package/lib/excel/sheet/table/applyTableStyle.d.ts +5 -0
- package/lib/excel/sheet/table/applyTableStyle.js +91 -0
- package/lib/excel/sheet/table/buildTableStyle.d.ts +13 -0
- package/lib/excel/sheet/table/buildTableStyle.js +72 -0
- package/lib/excel/sheet/table/calcTableRelativePosition.d.ts +11 -0
- package/lib/excel/sheet/table/calcTableRelativePosition.js +94 -0
- package/lib/excel/types/CT_Color.d.ts +9 -0
- package/lib/excel/types/CT_Color.js +24 -0
- package/lib/excel/types/CT_ExtensionList.d.ts +6 -0
- package/lib/excel/types/CT_ExtensionList.js +15 -0
- package/lib/excel/types/CT_Theme.d.ts +15 -0
- package/lib/excel/types/CellInfo.d.ts +57 -0
- package/lib/excel/types/CellValue.d.ts +14 -0
- package/lib/excel/types/DataBarDisplay.d.ts +58 -0
- package/lib/excel/types/ExcelFile.d.ts +12 -0
- package/lib/excel/types/Ext.d.ts +10 -0
- package/lib/excel/types/Ext.js +25 -0
- package/lib/excel/types/FontSize.d.ts +7 -0
- package/lib/excel/types/FontStyle.d.ts +16 -0
- package/lib/excel/types/IChartSpace.d.ts +7 -0
- package/lib/excel/types/IDataProvider.d.ts +158 -0
- package/lib/excel/types/IDrawing.d.ts +51 -0
- package/lib/excel/types/IRElt.d.ts +11 -0
- package/lib/excel/types/IRPrElt.d.ts +28 -0
- package/lib/excel/types/IRelationship.d.ts +10 -0
- package/lib/excel/types/ISheet.d.ts +14 -0
- package/lib/excel/types/ISheet.js +20 -0
- package/lib/excel/types/IWorkbook.d.ts +41 -0
- package/lib/excel/types/IWorksheet.d.ts +37 -0
- package/lib/excel/types/RangeRef.d.ts +21 -0
- package/lib/excel/types/RichText.d.ts +7 -0
- package/lib/excel/types/StringItem.d.ts +5 -0
- package/lib/excel/types/TableStyleDef.d.ts +8 -0
- package/lib/excel/types/X14CF/CT_Cfvo.d.ts +8 -0
- package/lib/excel/types/X14CF/CT_Cfvo.js +18 -0
- package/lib/excel/types/X14CF/ST_CfvoType.d.ts +1 -0
- package/lib/excel/types/X14CF/X14CfRule.d.ts +10 -0
- package/lib/excel/types/X14CF/X14CfRule.js +25 -0
- package/lib/excel/types/X14CF/X14ConditionalFormatting.d.ts +6 -0
- package/lib/excel/types/X14CF/X14ConditionalFormatting.js +15 -0
- package/lib/excel/types/X14CF/X14ConditionalFormattings.d.ts +6 -0
- package/lib/excel/types/X14CF/X14ConditionalFormattings.js +15 -0
- package/lib/excel/types/X14CF/X14DataBar.d.ts +18 -0
- package/lib/excel/types/X14CF/X14DataBar.js +58 -0
- package/lib/excel/types/X14CF/X14IconSet.d.ts +11 -0
- package/lib/excel/types/X14CF/X14IconSet.js +31 -0
- package/lib/excel/types/X14Sparkline/X14Sparkline.d.ts +6 -0
- package/lib/excel/types/X14Sparkline/X14Sparkline.js +14 -0
- package/lib/excel/types/X14Sparkline/X14SparklineGroup.d.ts +35 -0
- package/lib/excel/types/X14Sparkline/X14SparklineGroup.js +112 -0
- package/lib/excel/types/X14Sparkline/X14SparklineGroups.d.ts +6 -0
- package/lib/excel/types/X14Sparkline/X14SparklineGroups.js +15 -0
- package/lib/excel/types/X14Sparkline/x14:sparklines.d.ts +6 -0
- package/lib/excel/types/X14Sparkline/x14_sparklines.js +15 -0
- package/lib/excel/types/worksheet/CellData.d.ts +56 -0
- package/lib/excel/types/worksheet/CellData.js +43 -0
- package/lib/excel/types/worksheet/ICell.d.ts +39 -0
- package/lib/excel/types/worksheet/ICell.js +26 -0
- package/lib/index.d.ts +3 -1
- package/lib/index.js +4 -0
- package/lib/openxml/Attributes.d.ts +33 -0
- package/lib/openxml/Attributes.js +7 -0
- package/lib/openxml/ChartTypes.d.ts +2971 -0
- package/lib/openxml/ChartTypes.js +5416 -0
- package/lib/openxml/ContentType.d.ts +5 -0
- package/lib/openxml/ContentType.js +1 -1
- package/lib/openxml/DMLTypes.d.ts +1836 -0
- package/lib/openxml/DMLTypes.js +2988 -0
- package/lib/openxml/ExcelTypes.d.ts +5147 -0
- package/lib/openxml/ExcelTypes.js +5617 -0
- package/lib/openxml/Style.js +3 -3
- package/lib/openxml/Theme.js +1 -1
- package/lib/openxml/Types.d.ts +2757 -95
- package/lib/openxml/colorNameMap.d.ts +6 -0
- package/lib/openxml/drawing/Blip.d.ts +1 -1
- package/lib/openxml/drawing/CustomGeom.js +1 -1
- package/lib/openxml/drawing/Drawing.js +1 -1
- package/lib/openxml/drawing/Geom.js +1 -1
- package/lib/openxml/drawing/ShapeProperties.d.ts +1 -0
- package/lib/openxml/drawing/ShapeProperties.js +7 -6
- package/lib/openxml/drawing/Transform.js +1 -1
- package/lib/openxml/drawing/svg/shapeToSVG.d.ts +11 -2
- package/lib/openxml/drawing/svg/shapeToSVG.js +6 -6
- package/lib/openxml/word/Body.js +2 -2
- package/lib/openxml/word/Header.js +2 -2
- package/lib/openxml/word/Hyperlink.d.ts +1 -1
- package/lib/openxml/word/Note.js +1 -1
- package/lib/openxml/word/Paragraph.js +2 -2
- package/lib/openxml/word/Run.js +1 -1
- package/lib/openxml/word/Section.js +1 -1
- package/lib/openxml/word/Tab.js +1 -1
- package/lib/openxml/word/WDocument.js +1 -1
- package/lib/openxml/word/wps/WPS.js +2 -2
- package/lib/openxml/word/wps/WPSStyle.js +4 -4
- package/lib/package/PackageParser.d.ts +4 -0
- package/lib/package/XMLPackageParser.d.ts +5 -1
- package/lib/package/ZipPackageParser.d.ts +5 -1
- package/lib/package/ZipPackageParser.js +30 -2
- package/lib/util/EventEmitter.d.ts +38 -0
- package/lib/util/EventEmitter.js +116 -0
- package/lib/util/H.d.ts +7 -0
- package/lib/util/H.js +73 -0
- package/lib/util/LRUCache.d.ts +17 -0
- package/lib/util/LinkedMap.d.ts +40 -0
- package/lib/util/__tests__/autoSpace.test.d.ts +1 -0
- package/lib/util/__tests__/color.test.d.ts +1 -0
- package/lib/util/__tests__/replaceVar.test.d.ts +2 -0
- package/lib/util/__tests__/xml.test.d.ts +1 -0
- package/lib/util/arrayBufferToString.d.ts +1 -0
- package/lib/util/arrayBufferToString.js +11 -0
- package/lib/util/base64ToArrayBuffer.d.ts +1 -0
- package/lib/util/base64ToArrayBuffer.js +14 -0
- package/lib/util/binarySearch.d.ts +5 -0
- package/lib/util/binarySearch.js +27 -0
- package/lib/util/color.d.ts +5 -0
- package/lib/util/color.js +102 -0
- package/lib/util/createObject.d.ts +0 -1
- package/lib/util/createObject.js +2 -11
- package/lib/util/debounce.d.ts +1 -0
- package/lib/util/debounce.js +19 -0
- package/lib/util/emuToPx.d.ts +4 -0
- package/lib/util/emuToPx.js +18 -0
- package/lib/util/escapeHTML.d.ts +4 -0
- package/lib/util/escapeHTML.js +17 -0
- package/lib/util/fileType.d.ts +1 -0
- package/lib/util/fileType.js +17 -0
- package/lib/util/getChineseDay.d.ts +4 -0
- package/lib/util/isFontAvailable.d.ts +5 -0
- package/lib/util/isFontAvailable.js +41 -0
- package/lib/util/isNumeric.d.ts +4 -0
- package/lib/util/isNumeric.js +12 -0
- package/lib/util/isObject.d.ts +6 -0
- package/lib/util/isObject.js +14 -0
- package/lib/util/isValidURL.d.ts +4 -0
- package/lib/util/isValidURL.js +22 -0
- package/lib/util/isVisible.d.ts +4 -0
- package/lib/util/joinPath.d.ts +6 -0
- package/lib/util/joinPath.js +31 -0
- package/lib/util/mergeRun.js +1 -1
- package/lib/util/number.d.ts +9 -0
- package/lib/util/number.js +28 -0
- package/lib/util/objectEqual.d.ts +4 -0
- package/lib/util/objectEqual.js +17 -0
- package/lib/util/onClickOutside.d.ts +4 -0
- package/lib/util/onClickOutside.js +17 -0
- package/lib/util/ptToPx.d.ts +4 -0
- package/lib/util/ptToPx.js +14 -0
- package/lib/util/px2pt.d.ts +1 -0
- package/lib/util/px2pt.js +9 -0
- package/lib/util/runWorker.d.ts +6 -0
- package/lib/util/saxes.d.ts +638 -0
- package/lib/util/saxes.js +2081 -0
- package/lib/util/stringToArray.d.ts +10 -0
- package/lib/util/stringToArray.js +88 -0
- package/lib/util/stripNumber.d.ts +4 -0
- package/lib/util/stripNumber.js +18 -0
- package/lib/util/throttle.d.ts +5 -0
- package/lib/util/xml.d.ts +44 -0
- package/lib/util/xml.js +86 -0
- package/lib/util/xmlchars/xml/1.0/ed4.d.ts +31 -0
- package/lib/util/xmlchars/xml/1.0/ed5.d.ts +51 -0
- package/lib/util/xmlchars/xml/1.0/ed5.js +100 -0
- package/lib/util/xmlchars/xml/1.1/ed2.d.ts +73 -0
- package/lib/util/xmlchars/xml/1.1/ed2.js +25 -0
- package/lib/util/xmlchars/xmlns/1.0/ed3.d.ts +28 -0
- package/lib/util/xmlchars/xmlns/1.0/ed3.js +65 -0
- package/lib/word/parse/Footnotes.d.ts +3 -0
- package/lib/word/parse/Footnotes.js +29 -0
- package/lib/word/parse/modifyColor.js +110 -0
- package/lib/word/parse/parseBorder.d.ts +13 -0
- package/lib/word/parse/parseBorder.js +64 -0
- package/lib/word/parse/parseCellMargin.d.ts +2 -0
- package/lib/word/parse/parseChildColor.d.ts +4 -0
- package/lib/word/parse/parseChildColor.js +70 -0
- package/lib/word/parse/parseColor.d.ts +26 -0
- package/lib/word/parse/parseColor.js +133 -0
- package/lib/word/parse/parseEndnotes.d.ts +3 -0
- package/lib/word/parse/parseEndnotes.js +29 -0
- package/lib/word/parse/parseFont.d.ts +7 -0
- package/lib/word/parse/parseInd.d.ts +5 -0
- package/lib/word/parse/parseInsideBorders.d.ts +9 -0
- package/lib/word/parse/parsePr.d.ts +11 -0
- package/lib/word/parse/parsePr.js +428 -0
- package/lib/word/parse/parseShape.d.ts +10 -0
- package/lib/word/parse/parseShape.js +247 -0
- package/lib/word/parse/parseSpacing.d.ts +7 -0
- package/lib/word/parse/parseTable.d.ts +3 -0
- package/lib/word/parse/parseTable.js +66 -0
- package/lib/word/parse/parseTablePr.d.ts +3 -0
- package/lib/word/parse/parseTablePr.js +189 -0
- package/lib/word/parse/parseTc.d.ts +10 -0
- package/lib/word/parse/parseTc.js +68 -0
- package/lib/word/parse/parseTcPr.d.ts +5 -0
- package/lib/word/parse/parseTcPr.js +104 -0
- package/lib/word/parse/parseTextDirection.d.ts +2 -0
- package/lib/word/parse/parseTr.d.ts +6 -0
- package/lib/word/parse/parseTr.js +53 -0
- package/lib/word/parse/parseTrHeight.d.ts +2 -0
- package/lib/word/parse/parseTrPr.d.ts +3 -0
- package/lib/word/parse/parseTrPr.js +63 -0
- package/lib/word/render/fixAbsolutePosition.d.ts +8 -0
- package/lib/word/render/renderBody.d.ts +10 -0
- package/lib/word/render/renderBody.js +211 -0
- package/lib/word/render/renderBookmark.d.ts +6 -0
- package/lib/word/render/renderBookmark.js +21 -0
- package/lib/word/render/renderBr.d.ts +8 -0
- package/lib/word/render/renderBr.js +20 -0
- package/lib/word/render/renderCustGeom.d.ts +4 -0
- package/lib/word/render/renderCustGeom.js +14 -0
- package/lib/word/render/renderDocument.d.ts +7 -0
- package/lib/word/render/renderDocument.js +18 -0
- package/lib/word/render/renderDrawing.d.ts +9 -0
- package/lib/word/render/renderDrawing.js +259 -0
- package/lib/word/render/renderFont.d.ts +5 -0
- package/lib/word/render/renderFont.js +43 -0
- package/lib/word/render/renderGeom.d.ts +4 -0
- package/lib/word/render/renderGeom.js +18 -0
- package/lib/word/render/renderHeader.d.ts +6 -0
- package/lib/word/render/renderHeader.js +44 -0
- package/lib/word/render/renderHyperLink.d.ts +7 -0
- package/lib/word/render/renderHyperLink.js +48 -0
- package/lib/word/render/renderInlineText.d.ts +6 -0
- package/lib/word/render/renderInlineText.js +43 -0
- package/lib/word/render/renderInstrText.d.ts +8 -0
- package/lib/word/render/renderInstrText.js +44 -0
- package/lib/word/render/renderMath.d.ts +3 -0
- package/lib/word/render/renderMath.js +11 -0
- package/lib/word/render/renderNoBreakHyphen.js +13 -0
- package/lib/word/render/renderNotes.d.ts +5 -0
- package/lib/word/render/renderNotes.js +81 -0
- package/lib/word/render/renderNumbering.d.ts +7 -0
- package/lib/word/render/renderNumbering.js +163 -0
- package/lib/word/render/renderParagraph.d.ts +7 -0
- package/lib/word/render/renderParagraph.js +101 -0
- package/lib/word/render/renderPict.d.ts +6 -0
- package/lib/word/render/renderRuby.d.ts +6 -0
- package/lib/word/render/renderRuby.js +57 -0
- package/lib/word/render/renderRun.d.ts +16 -0
- package/lib/word/render/renderRun.js +151 -0
- package/lib/word/render/renderSection.d.ts +7 -0
- package/lib/word/render/renderSection.js +114 -0
- package/lib/word/render/renderSeparator.js +13 -0
- package/lib/word/render/renderSoftHyphen.js +13 -0
- package/lib/word/render/renderStyle.d.ts +13 -0
- package/lib/word/render/renderStyle.js +200 -0
- package/lib/word/render/renderSym.d.ts +3 -0
- package/lib/word/render/renderSym.js +14 -0
- package/lib/word/render/renderTab.d.ts +8 -0
- package/lib/word/render/renderTab.js +27 -0
- package/lib/word/render/renderTable.d.ts +6 -0
- package/lib/word/render/renderTable.js +193 -0
- package/lib/word/render/setElementStyle.d.ts +6 -0
- package/lib/word/render/setElementStyle.js +30 -0
- package/package.json +36 -18
- package/esm/parse/Footnotes.d.ts +0 -3
- package/esm/parse/Footnotes.js +0 -25
- package/esm/parse/colorNameMap.d.ts +0 -6
- package/esm/parse/modifyColor.js +0 -106
- package/esm/parse/parseBorder.d.ts +0 -13
- package/esm/parse/parseBorder.js +0 -59
- package/esm/parse/parseCellMargin.d.ts +0 -2
- package/esm/parse/parseChildColor.d.ts +0 -5
- package/esm/parse/parseChildColor.js +0 -66
- package/esm/parse/parseColor.d.ts +0 -26
- package/esm/parse/parseColor.js +0 -126
- package/esm/parse/parseEndnotes.d.ts +0 -3
- package/esm/parse/parseEndnotes.js +0 -25
- package/esm/parse/parseFont.d.ts +0 -7
- package/esm/parse/parseInd.d.ts +0 -5
- package/esm/parse/parseInsideBorders.d.ts +0 -9
- package/esm/parse/parsePr.d.ts +0 -11
- package/esm/parse/parsePr.js +0 -422
- package/esm/parse/parseShape.d.ts +0 -10
- package/esm/parse/parseShape.js +0 -239
- package/esm/parse/parseSpacing.d.ts +0 -7
- package/esm/parse/parseTable.d.ts +0 -3
- package/esm/parse/parseTable.js +0 -62
- package/esm/parse/parseTablePr.d.ts +0 -3
- package/esm/parse/parseTablePr.js +0 -185
- package/esm/parse/parseTc.d.ts +0 -10
- package/esm/parse/parseTc.js +0 -64
- package/esm/parse/parseTcPr.d.ts +0 -5
- package/esm/parse/parseTcPr.js +0 -99
- package/esm/parse/parseTextDirection.d.ts +0 -2
- package/esm/parse/parseTr.d.ts +0 -6
- package/esm/parse/parseTr.js +0 -49
- package/esm/parse/parseTrHeight.d.ts +0 -2
- package/esm/parse/parseTrPr.d.ts +0 -3
- package/esm/parse/parseTrPr.js +0 -59
- package/esm/render/fixAbsolutePosition.d.ts +0 -8
- package/esm/render/renderBody.d.ts +0 -10
- package/esm/render/renderBody.js +0 -207
- package/esm/render/renderBookmark.d.ts +0 -6
- package/esm/render/renderBookmark.js +0 -17
- package/esm/render/renderBr.d.ts +0 -8
- package/esm/render/renderBr.js +0 -16
- package/esm/render/renderCustGeom.d.ts +0 -4
- package/esm/render/renderCustGeom.js +0 -10
- package/esm/render/renderDocument.d.ts +0 -7
- package/esm/render/renderDocument.js +0 -14
- package/esm/render/renderDrawing.d.ts +0 -9
- package/esm/render/renderDrawing.js +0 -255
- package/esm/render/renderFont.d.ts +0 -5
- package/esm/render/renderFont.js +0 -39
- package/esm/render/renderGeom.d.ts +0 -4
- package/esm/render/renderGeom.js +0 -14
- package/esm/render/renderHeader.d.ts +0 -6
- package/esm/render/renderHeader.js +0 -40
- package/esm/render/renderHyperLink.d.ts +0 -7
- package/esm/render/renderHyperLink.js +0 -44
- package/esm/render/renderInlineText.d.ts +0 -6
- package/esm/render/renderInlineText.js +0 -39
- package/esm/render/renderInstrText.d.ts +0 -8
- package/esm/render/renderInstrText.js +0 -40
- package/esm/render/renderMath.d.ts +0 -3
- package/esm/render/renderMath.js +0 -7
- package/esm/render/renderNoBreakHyphen.js +0 -9
- package/esm/render/renderNotes.d.ts +0 -5
- package/esm/render/renderNotes.js +0 -77
- package/esm/render/renderNumbering.d.ts +0 -7
- package/esm/render/renderNumbering.js +0 -159
- package/esm/render/renderParagraph.d.ts +0 -7
- package/esm/render/renderParagraph.js +0 -97
- package/esm/render/renderPict.d.ts +0 -6
- package/esm/render/renderRuby.d.ts +0 -6
- package/esm/render/renderRuby.js +0 -53
- package/esm/render/renderRun.d.ts +0 -16
- package/esm/render/renderRun.js +0 -146
- package/esm/render/renderSection.d.ts +0 -7
- package/esm/render/renderSection.js +0 -110
- package/esm/render/renderSeparator.js +0 -9
- package/esm/render/renderSoftHyphen.js +0 -9
- package/esm/render/renderStyle.d.ts +0 -13
- package/esm/render/renderStyle.js +0 -195
- package/esm/render/renderSym.d.ts +0 -3
- package/esm/render/renderSym.js +0 -10
- package/esm/render/renderTab.d.ts +0 -8
- package/esm/render/renderTab.js +0 -23
- package/esm/render/renderTable.d.ts +0 -6
- package/esm/render/renderTable.js +0 -189
- package/esm/render/setElementStyle.d.ts +0 -6
- package/esm/render/setElementStyle.js +0 -26
- package/lib/parse/Footnotes.d.ts +0 -3
- package/lib/parse/Footnotes.js +0 -29
- package/lib/parse/colorNameMap.d.ts +0 -6
- package/lib/parse/modifyColor.js +0 -110
- package/lib/parse/parseBorder.d.ts +0 -13
- package/lib/parse/parseBorder.js +0 -64
- package/lib/parse/parseCellMargin.d.ts +0 -2
- package/lib/parse/parseChildColor.d.ts +0 -5
- package/lib/parse/parseChildColor.js +0 -70
- package/lib/parse/parseColor.d.ts +0 -26
- package/lib/parse/parseColor.js +0 -133
- package/lib/parse/parseEndnotes.d.ts +0 -3
- package/lib/parse/parseEndnotes.js +0 -29
- package/lib/parse/parseFont.d.ts +0 -7
- package/lib/parse/parseInd.d.ts +0 -5
- package/lib/parse/parseInsideBorders.d.ts +0 -9
- package/lib/parse/parsePr.d.ts +0 -11
- package/lib/parse/parsePr.js +0 -426
- package/lib/parse/parseShape.d.ts +0 -10
- package/lib/parse/parseShape.js +0 -247
- package/lib/parse/parseSpacing.d.ts +0 -7
- package/lib/parse/parseTable.d.ts +0 -3
- package/lib/parse/parseTable.js +0 -66
- package/lib/parse/parseTablePr.d.ts +0 -3
- package/lib/parse/parseTablePr.js +0 -189
- package/lib/parse/parseTc.d.ts +0 -10
- package/lib/parse/parseTc.js +0 -68
- package/lib/parse/parseTcPr.d.ts +0 -5
- package/lib/parse/parseTcPr.js +0 -104
- package/lib/parse/parseTextDirection.d.ts +0 -2
- package/lib/parse/parseTr.d.ts +0 -6
- package/lib/parse/parseTr.js +0 -53
- package/lib/parse/parseTrHeight.d.ts +0 -2
- package/lib/parse/parseTrPr.d.ts +0 -3
- package/lib/parse/parseTrPr.js +0 -63
- package/lib/render/fixAbsolutePosition.d.ts +0 -8
- package/lib/render/renderBody.d.ts +0 -10
- package/lib/render/renderBody.js +0 -211
- package/lib/render/renderBookmark.d.ts +0 -6
- package/lib/render/renderBookmark.js +0 -21
- package/lib/render/renderBr.d.ts +0 -8
- package/lib/render/renderBr.js +0 -20
- package/lib/render/renderCustGeom.d.ts +0 -4
- package/lib/render/renderCustGeom.js +0 -14
- package/lib/render/renderDocument.d.ts +0 -7
- package/lib/render/renderDocument.js +0 -18
- package/lib/render/renderDrawing.d.ts +0 -9
- package/lib/render/renderDrawing.js +0 -259
- package/lib/render/renderFont.d.ts +0 -5
- package/lib/render/renderFont.js +0 -43
- package/lib/render/renderGeom.d.ts +0 -4
- package/lib/render/renderGeom.js +0 -18
- package/lib/render/renderHeader.d.ts +0 -6
- package/lib/render/renderHeader.js +0 -44
- package/lib/render/renderHyperLink.d.ts +0 -7
- package/lib/render/renderHyperLink.js +0 -48
- package/lib/render/renderInlineText.d.ts +0 -6
- package/lib/render/renderInlineText.js +0 -43
- package/lib/render/renderInstrText.d.ts +0 -8
- package/lib/render/renderInstrText.js +0 -44
- package/lib/render/renderMath.d.ts +0 -3
- package/lib/render/renderMath.js +0 -11
- package/lib/render/renderNoBreakHyphen.js +0 -13
- package/lib/render/renderNotes.d.ts +0 -5
- package/lib/render/renderNotes.js +0 -81
- package/lib/render/renderNumbering.d.ts +0 -7
- package/lib/render/renderNumbering.js +0 -163
- package/lib/render/renderParagraph.d.ts +0 -7
- package/lib/render/renderParagraph.js +0 -101
- package/lib/render/renderPict.d.ts +0 -6
- package/lib/render/renderRuby.d.ts +0 -6
- package/lib/render/renderRuby.js +0 -57
- package/lib/render/renderRun.d.ts +0 -16
- package/lib/render/renderRun.js +0 -151
- package/lib/render/renderSection.d.ts +0 -7
- package/lib/render/renderSection.js +0 -114
- package/lib/render/renderSeparator.js +0 -13
- package/lib/render/renderSoftHyphen.js +0 -13
- package/lib/render/renderStyle.d.ts +0 -13
- package/lib/render/renderStyle.js +0 -200
- package/lib/render/renderSym.d.ts +0 -3
- package/lib/render/renderSym.js +0 -14
- package/lib/render/renderTab.d.ts +0 -8
- package/lib/render/renderTab.js +0 -27
- package/lib/render/renderTable.d.ts +0 -6
- package/lib/render/renderTable.js +0 -193
- package/lib/render/setElementStyle.d.ts +0 -6
- package/lib/render/setElementStyle.js +0 -30
- /package/esm/{parse → openxml}/colorNameMap.js +0 -0
- /package/esm/{parse → word/parse}/jcToTextAlign.d.ts +0 -0
- /package/esm/{parse → word/parse}/jcToTextAlign.js +0 -0
- /package/esm/{parse → word/parse}/mergeSdt.d.ts +0 -0
- /package/esm/{parse → word/parse}/mergeSdt.js +0 -0
- /package/esm/{parse → word/parse}/modifyColor.d.ts +0 -0
- /package/esm/{parse → word/parse}/parseCellMargin.js +0 -0
- /package/esm/{parse → word/parse}/parseFont.js +0 -0
- /package/esm/{parse → word/parse}/parseInd.js +0 -0
- /package/esm/{parse → word/parse}/parseInsideBorders.js +0 -0
- /package/esm/{parse → word/parse}/parseRelationship.d.ts +0 -0
- /package/esm/{parse → word/parse}/parseRelationship.js +0 -0
- /package/esm/{parse → word/parse}/parseSdt.d.ts +0 -0
- /package/esm/{parse → word/parse}/parseSize.d.ts +0 -0
- /package/esm/{parse → word/parse}/parseSize.js +0 -0
- /package/esm/{parse → word/parse}/parseSpacing.js +0 -0
- /package/esm/{parse → word/parse}/parseTblWidth.d.ts +0 -0
- /package/esm/{parse → word/parse}/parseTblWidth.js +0 -0
- /package/esm/{parse → word/parse}/parseTextDirection.js +0 -0
- /package/esm/{parse → word/parse}/parseTrHeight.js +0 -0
- /package/esm/{render → word/render}/renderNoBreakHyphen.d.ts +0 -0
- /package/esm/{render → word/render}/renderPict.js +0 -0
- /package/esm/{render → word/render}/renderSeparator.d.ts +0 -0
- /package/esm/{render → word/render}/renderSoftHyphen.d.ts +0 -0
- /package/esm/{render → word/render}/zindex.d.ts +0 -0
- /package/lib/{parse → openxml}/colorNameMap.js +0 -0
- /package/lib/{parse → word/parse}/jcToTextAlign.d.ts +0 -0
- /package/lib/{parse → word/parse}/jcToTextAlign.js +0 -0
- /package/lib/{parse → word/parse}/mergeSdt.d.ts +0 -0
- /package/lib/{parse → word/parse}/mergeSdt.js +0 -0
- /package/lib/{parse → word/parse}/modifyColor.d.ts +0 -0
- /package/lib/{parse → word/parse}/parseCellMargin.js +0 -0
- /package/lib/{parse → word/parse}/parseFont.js +0 -0
- /package/lib/{parse → word/parse}/parseInd.js +0 -0
- /package/lib/{parse → word/parse}/parseInsideBorders.js +0 -0
- /package/lib/{parse → word/parse}/parseRelationship.d.ts +0 -0
- /package/lib/{parse → word/parse}/parseRelationship.js +0 -0
- /package/lib/{parse → word/parse}/parseSdt.d.ts +0 -0
- /package/lib/{parse → word/parse}/parseSize.d.ts +0 -0
- /package/lib/{parse → word/parse}/parseSize.js +0 -0
- /package/lib/{parse → word/parse}/parseSpacing.js +0 -0
- /package/lib/{parse → word/parse}/parseTblWidth.d.ts +0 -0
- /package/lib/{parse → word/parse}/parseTblWidth.js +0 -0
- /package/lib/{parse → word/parse}/parseTextDirection.js +0 -0
- /package/lib/{parse → word/parse}/parseTrHeight.js +0 -0
- /package/lib/{render → word/render}/renderNoBreakHyphen.d.ts +0 -0
- /package/lib/{render → word/render}/renderPict.js +0 -0
- /package/lib/{render → word/render}/renderSeparator.d.ts +0 -0
- /package/lib/{render → word/render}/renderSoftHyphen.d.ts +0 -0
- /package/lib/{render → word/render}/zindex.d.ts +0 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { __awaiter, __generator } from 'tslib';
|
|
2
|
+
import { autoParse } from '../../../common/autoParse.js';
|
|
3
|
+
import { CT_OfficeStyleSheet_Attributes } from '../../../openxml/DMLTypes.js';
|
|
4
|
+
import { xml2json } from '../../../util/xml.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 解析主题,由于类型冲突,这里是用 DMLTypes
|
|
8
|
+
* @param xml
|
|
9
|
+
*/
|
|
10
|
+
function parseTheme(xml) {
|
|
11
|
+
var _a, _b;
|
|
12
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
13
|
+
var node, theme, colorList, key, color;
|
|
14
|
+
return __generator(this, function (_c) {
|
|
15
|
+
switch (_c.label) {
|
|
16
|
+
case 0:
|
|
17
|
+
if (!xml) {
|
|
18
|
+
throw new Error('xml is empty');
|
|
19
|
+
}
|
|
20
|
+
return [4 /*yield*/, xml2json(xml)];
|
|
21
|
+
case 1:
|
|
22
|
+
node = _c.sent();
|
|
23
|
+
theme = autoParse(node, CT_OfficeStyleSheet_Attributes, true);
|
|
24
|
+
colorList = [];
|
|
25
|
+
for (key in ((_a = theme === null || theme === void 0 ? void 0 : theme.themeElements) === null || _a === void 0 ? void 0 : _a.clrScheme) || {}) {
|
|
26
|
+
// 解析后包含了 name 属性,这里要过滤掉
|
|
27
|
+
if (key === 'name') {
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
color = (_b = theme === null || theme === void 0 ? void 0 : theme.themeElements) === null || _b === void 0 ? void 0 : _b.clrScheme[key];
|
|
31
|
+
colorList.push(color);
|
|
32
|
+
}
|
|
33
|
+
if (theme.themeElements) {
|
|
34
|
+
theme.themeElements.clrSchemes = colorList;
|
|
35
|
+
}
|
|
36
|
+
return [2 /*return*/, theme];
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { parseTheme };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PackageParser } from '../../../package/PackageParser';
|
|
2
|
+
import { IWorkbook } from '../../types/IWorkbook';
|
|
3
|
+
import { CT_Stylesheet } from '../../../openxml/ExcelTypes';
|
|
4
|
+
/**
|
|
5
|
+
* 解析 WorkBook
|
|
6
|
+
* @param xml workbook.xml 文件内容
|
|
7
|
+
*/
|
|
8
|
+
export declare function parseWorkbook(parser: PackageParser, styleSheet: CT_Stylesheet): Promise<IWorkbook>;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { __awaiter, __generator, __values } from 'tslib';
|
|
2
|
+
import { xml2json } from '../../../util/xml.js';
|
|
3
|
+
import { parseDefinedNames } from './parseDefinedNames.js';
|
|
4
|
+
import { parseSheets } from './parseSheet.js';
|
|
5
|
+
import { parseWorkbookPr } from './parseWorkbookPr.js';
|
|
6
|
+
import { parseWorkbookView } from './parseWorkbookView.js';
|
|
7
|
+
import { parseRelationship } from '../../../common/parseRelationship.js';
|
|
8
|
+
import { parseSharedStrings } from './parseSharedStrings.js';
|
|
9
|
+
import { CT_CalcPr_Attributes } from '../../../openxml/ExcelTypes.js';
|
|
10
|
+
import { parseTheme } from './parseTheme.js';
|
|
11
|
+
import { autoParse } from '../../../common/autoParse.js';
|
|
12
|
+
import { defaultThemeString } from './preset/defaultTheme.js';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* 解析 WorkBook
|
|
16
|
+
* @param xml workbook.xml 文件内容
|
|
17
|
+
*/
|
|
18
|
+
function parseWorkbook(parser, styleSheet) {
|
|
19
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
20
|
+
var workbookXML, workbookRelationships, node, workbookPr, workbookView, theme, workbook, sharedStrings, _a, _b, child, tag, _c, _d, e_1_1;
|
|
21
|
+
var e_1, _e;
|
|
22
|
+
return __generator(this, function (_f) {
|
|
23
|
+
switch (_f.label) {
|
|
24
|
+
case 0:
|
|
25
|
+
workbookXML = parser.getString('xl/workbook.xml');
|
|
26
|
+
return [4 /*yield*/, parseRelationship(parser.getString('xl/_rels/workbook.xml.rels'))];
|
|
27
|
+
case 1:
|
|
28
|
+
workbookRelationships = _f.sent();
|
|
29
|
+
return [4 /*yield*/, xml2json(workbookXML)];
|
|
30
|
+
case 2:
|
|
31
|
+
node = _f.sent();
|
|
32
|
+
workbookPr = parseWorkbookPr(node);
|
|
33
|
+
workbookView = parseWorkbookView(node);
|
|
34
|
+
if (!parser.fileExists('xl/theme/theme1.xml')) return [3 /*break*/, 4];
|
|
35
|
+
return [4 /*yield*/, parseTheme(parser.getString('xl/theme/theme1.xml'))];
|
|
36
|
+
case 3:
|
|
37
|
+
theme = _f.sent();
|
|
38
|
+
return [3 /*break*/, 6];
|
|
39
|
+
case 4: return [4 /*yield*/, parseTheme(defaultThemeString)];
|
|
40
|
+
case 5:
|
|
41
|
+
theme = _f.sent();
|
|
42
|
+
_f.label = 6;
|
|
43
|
+
case 6:
|
|
44
|
+
workbook = {
|
|
45
|
+
sheets: [],
|
|
46
|
+
workbookPr: workbookPr,
|
|
47
|
+
workbookView: workbookView,
|
|
48
|
+
workbookRelationships: workbookRelationships,
|
|
49
|
+
styleSheet: styleSheet,
|
|
50
|
+
theme: theme
|
|
51
|
+
};
|
|
52
|
+
sharedStrings = [];
|
|
53
|
+
if (!parser.fileExists('xl/sharedStrings.xml')) return [3 /*break*/, 8];
|
|
54
|
+
return [4 /*yield*/, parseSharedStrings(parser.getString('xl/sharedStrings.xml'))];
|
|
55
|
+
case 7:
|
|
56
|
+
sharedStrings = _f.sent();
|
|
57
|
+
_f.label = 8;
|
|
58
|
+
case 8:
|
|
59
|
+
_f.trys.push([8, 16, 17, 18]);
|
|
60
|
+
_a = __values(node.children || []), _b = _a.next();
|
|
61
|
+
_f.label = 9;
|
|
62
|
+
case 9:
|
|
63
|
+
if (!!_b.done) return [3 /*break*/, 15];
|
|
64
|
+
child = _b.value;
|
|
65
|
+
tag = child.tag;
|
|
66
|
+
_c = tag;
|
|
67
|
+
switch (_c) {
|
|
68
|
+
case 'sheets': return [3 /*break*/, 10];
|
|
69
|
+
case 'calcPr': return [3 /*break*/, 12];
|
|
70
|
+
case 'definedNames': return [3 /*break*/, 13];
|
|
71
|
+
}
|
|
72
|
+
return [3 /*break*/, 14];
|
|
73
|
+
case 10:
|
|
74
|
+
_d = workbook;
|
|
75
|
+
return [4 /*yield*/, parseSheets(child, parser, workbook, sharedStrings)];
|
|
76
|
+
case 11:
|
|
77
|
+
_d.sheets = _f.sent();
|
|
78
|
+
return [3 /*break*/, 14];
|
|
79
|
+
case 12:
|
|
80
|
+
workbook.calcPr = autoParse(child, CT_CalcPr_Attributes);
|
|
81
|
+
return [3 /*break*/, 14];
|
|
82
|
+
case 13:
|
|
83
|
+
workbook.definedNames = parseDefinedNames(child);
|
|
84
|
+
return [3 /*break*/, 14];
|
|
85
|
+
case 14:
|
|
86
|
+
_b = _a.next();
|
|
87
|
+
return [3 /*break*/, 9];
|
|
88
|
+
case 15: return [3 /*break*/, 18];
|
|
89
|
+
case 16:
|
|
90
|
+
e_1_1 = _f.sent();
|
|
91
|
+
e_1 = { error: e_1_1 };
|
|
92
|
+
return [3 /*break*/, 18];
|
|
93
|
+
case 17:
|
|
94
|
+
try {
|
|
95
|
+
if (_b && !_b.done && (_e = _a.return)) _e.call(_a);
|
|
96
|
+
}
|
|
97
|
+
finally { if (e_1) throw e_1.error; }
|
|
98
|
+
return [7 /*endfinally*/];
|
|
99
|
+
case 18: return [2 /*return*/, workbook];
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export { parseWorkbook };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { autoParse } from '../../../common/autoParse.js';
|
|
2
|
+
import { CT_WorkbookPr_Attributes } from '../../../openxml/ExcelTypes.js';
|
|
3
|
+
import { getNodeByTagName } from '../../../util/xml.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* workbook 配置项,这个要优先处理
|
|
7
|
+
*/
|
|
8
|
+
function parseWorkbookPr(workbookNode) {
|
|
9
|
+
var workbookPrNode = getNodeByTagName(workbookNode, 'workbookPr');
|
|
10
|
+
return autoParse(workbookPrNode, CT_WorkbookPr_Attributes);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { parseWorkbookPr };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { autoParse } from '../../../common/autoParse.js';
|
|
2
|
+
import { CT_BookView_Attributes } from '../../../openxml/ExcelTypes.js';
|
|
3
|
+
import { getNodeByTagName } from '../../../util/xml.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* workbookView 配置项,后续依赖这个来延迟解析 sheet
|
|
7
|
+
*/
|
|
8
|
+
function parseWorkbookView(workbookNode) {
|
|
9
|
+
var workbookViewNode = getNodeByTagName(workbookNode, 'workbookView', true);
|
|
10
|
+
return autoParse(workbookViewNode, CT_BookView_Attributes);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { parseWorkbookView };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IWorksheet } from '../../types/IWorksheet';
|
|
2
|
+
import { StringItem } from '../../types/StringItem';
|
|
3
|
+
import { IRelationship } from '../../types/IRelationship';
|
|
4
|
+
import { PackageParser } from '../../../package/PackageParser';
|
|
5
|
+
import { IWorkbook } from '../../types/IWorkbook';
|
|
6
|
+
/**
|
|
7
|
+
* 解析 xl/worksheets/sheet*.xml 文件
|
|
8
|
+
*/
|
|
9
|
+
export declare function parseWorksheet(workbook: IWorkbook, parser: PackageParser, worksheetPath: string, xml: string, relationships: IRelationship[], sharedStrings: StringItem[]): Promise<IWorksheet | null>;
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
import { __awaiter, __generator, __values } from 'tslib';
|
|
2
|
+
import { xml2json } from '../../../util/xml.js';
|
|
3
|
+
import { parseChildrenAttributes } from '../../../common/parseAttributes.js';
|
|
4
|
+
import { parseSheetData } from './worksheet/parseSheetData.js';
|
|
5
|
+
import { CT_SheetPr_Attributes, CT_AutoFilter_Attributes, CT_ConditionalFormatting_Attributes, CT_Col_Attributes, CT_SheetFormatPr_Attributes, CT_SheetView_Attributes } from '../../../openxml/ExcelTypes.js';
|
|
6
|
+
import { decodeAddress } from './util/decodeAddress.js';
|
|
7
|
+
import { joinPath } from '../../../util/joinPath.js';
|
|
8
|
+
import { parseDrawing } from './drawing/parseDrawing.js';
|
|
9
|
+
import { autoParse } from '../../../common/autoParse.js';
|
|
10
|
+
import { CT_ExtensionList_Attributes } from '../../types/CT_ExtensionList.js';
|
|
11
|
+
import { initValueForContainsBlanks } from './initValueForContainsBlanks.js';
|
|
12
|
+
import { parseTableParts } from './parseTableParts.js';
|
|
13
|
+
import { initValueForTable } from './initValueForTable.js';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 解析 xl/worksheets/sheet*.xml 文件
|
|
17
|
+
*/
|
|
18
|
+
function parseWorksheet(workbook, parser, worksheetPath, xml, relationships, sharedStrings) {
|
|
19
|
+
var _a;
|
|
20
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
21
|
+
var node, worksheet, _loop_1, _b, _c, child, e_1_1;
|
|
22
|
+
var e_1, _d;
|
|
23
|
+
return __generator(this, function (_e) {
|
|
24
|
+
switch (_e.label) {
|
|
25
|
+
case 0:
|
|
26
|
+
if (!xml) {
|
|
27
|
+
return [2 /*return*/, null];
|
|
28
|
+
}
|
|
29
|
+
return [4 /*yield*/, xml2json(xml)];
|
|
30
|
+
case 1:
|
|
31
|
+
node = _e.sent();
|
|
32
|
+
worksheet = {
|
|
33
|
+
cols: [],
|
|
34
|
+
rows: [],
|
|
35
|
+
cellData: [],
|
|
36
|
+
mergeCells: [],
|
|
37
|
+
conditionalFormatting: []
|
|
38
|
+
};
|
|
39
|
+
_loop_1 = function (child) {
|
|
40
|
+
var tag, _f, cols, cols_1, cols_1_1, col, sheetData, mergeCellNodes, mergeCellNodes_1, mergeCellNodes_1_1, mergeCellNode, ref, refs, startIndex, endIndex, conditionalFormatting, rId_1, relationship, target, path, _g, _h;
|
|
41
|
+
var e_2, _j, e_3, _k;
|
|
42
|
+
return __generator(this, function (_l) {
|
|
43
|
+
switch (_l.label) {
|
|
44
|
+
case 0:
|
|
45
|
+
tag = child.tag;
|
|
46
|
+
_f = tag;
|
|
47
|
+
switch (_f) {
|
|
48
|
+
case 'dimension': return [3 /*break*/, 1];
|
|
49
|
+
case 'sheetViews': return [3 /*break*/, 2];
|
|
50
|
+
case 'sheetFormatPr': return [3 /*break*/, 3];
|
|
51
|
+
case 'cols': return [3 /*break*/, 4];
|
|
52
|
+
case 'sheetData': return [3 /*break*/, 5];
|
|
53
|
+
case 'mergeCells': return [3 /*break*/, 6];
|
|
54
|
+
case 'conditionalFormatting': return [3 /*break*/, 7];
|
|
55
|
+
case 'drawing': return [3 /*break*/, 8];
|
|
56
|
+
case 'phoneticPr': return [3 /*break*/, 11];
|
|
57
|
+
case 'pageMargins': return [3 /*break*/, 11];
|
|
58
|
+
case 'extLst': return [3 /*break*/, 12];
|
|
59
|
+
case 'tableParts': return [3 /*break*/, 13];
|
|
60
|
+
case 'autoFilter': return [3 /*break*/, 15];
|
|
61
|
+
case 'sheetPr': return [3 /*break*/, 16];
|
|
62
|
+
}
|
|
63
|
+
return [3 /*break*/, 17];
|
|
64
|
+
case 1:
|
|
65
|
+
worksheet.dimension = {
|
|
66
|
+
ref: child.attrs.ref
|
|
67
|
+
};
|
|
68
|
+
return [3 /*break*/, 18];
|
|
69
|
+
case 2:
|
|
70
|
+
worksheet.sheetViews = parseChildrenAttributes(child, CT_SheetView_Attributes, true);
|
|
71
|
+
return [3 /*break*/, 18];
|
|
72
|
+
case 3:
|
|
73
|
+
worksheet.sheetFormatPr = autoParse(child, CT_SheetFormatPr_Attributes);
|
|
74
|
+
return [3 /*break*/, 18];
|
|
75
|
+
case 4:
|
|
76
|
+
cols = parseChildrenAttributes(child, CT_Col_Attributes);
|
|
77
|
+
try {
|
|
78
|
+
// 修正一下索引为 0 开始
|
|
79
|
+
for (cols_1 = (e_2 = void 0, __values(cols)), cols_1_1 = cols_1.next(); !cols_1_1.done; cols_1_1 = cols_1.next()) {
|
|
80
|
+
col = cols_1_1.value;
|
|
81
|
+
col.min = (col.min || 1) - 1;
|
|
82
|
+
col.max = (col.max || 1) - 1;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
86
|
+
finally {
|
|
87
|
+
try {
|
|
88
|
+
if (cols_1_1 && !cols_1_1.done && (_j = cols_1.return)) _j.call(cols_1);
|
|
89
|
+
}
|
|
90
|
+
finally { if (e_2) throw e_2.error; }
|
|
91
|
+
}
|
|
92
|
+
worksheet.cols = cols;
|
|
93
|
+
return [3 /*break*/, 18];
|
|
94
|
+
case 5:
|
|
95
|
+
sheetData = parseSheetData(child, sharedStrings);
|
|
96
|
+
worksheet.rows = sheetData.rows;
|
|
97
|
+
worksheet.cellData = sheetData.cellData;
|
|
98
|
+
return [3 /*break*/, 18];
|
|
99
|
+
case 6:
|
|
100
|
+
mergeCellNodes = child.children || [];
|
|
101
|
+
try {
|
|
102
|
+
for (mergeCellNodes_1 = (e_3 = void 0, __values(mergeCellNodes)), mergeCellNodes_1_1 = mergeCellNodes_1.next(); !mergeCellNodes_1_1.done; mergeCellNodes_1_1 = mergeCellNodes_1.next()) {
|
|
103
|
+
mergeCellNode = mergeCellNodes_1_1.value;
|
|
104
|
+
ref = (_a = mergeCellNode.attrs) === null || _a === void 0 ? void 0 : _a.ref;
|
|
105
|
+
if (ref) {
|
|
106
|
+
refs = ref.split(':');
|
|
107
|
+
if (refs.length === 2) {
|
|
108
|
+
startIndex = decodeAddress(refs[0]);
|
|
109
|
+
endIndex = decodeAddress(refs[1]);
|
|
110
|
+
worksheet.mergeCells.push({
|
|
111
|
+
startCol: startIndex.col,
|
|
112
|
+
startRow: startIndex.row,
|
|
113
|
+
endCol: endIndex.col,
|
|
114
|
+
endRow: endIndex.row
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
console.warn('error ref', ref);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
124
|
+
finally {
|
|
125
|
+
try {
|
|
126
|
+
if (mergeCellNodes_1_1 && !mergeCellNodes_1_1.done && (_k = mergeCellNodes_1.return)) _k.call(mergeCellNodes_1);
|
|
127
|
+
}
|
|
128
|
+
finally { if (e_3) throw e_3.error; }
|
|
129
|
+
}
|
|
130
|
+
return [3 /*break*/, 18];
|
|
131
|
+
case 7:
|
|
132
|
+
conditionalFormatting = autoParse(child, CT_ConditionalFormatting_Attributes);
|
|
133
|
+
worksheet.conditionalFormatting.push(conditionalFormatting);
|
|
134
|
+
return [3 /*break*/, 18];
|
|
135
|
+
case 8:
|
|
136
|
+
rId_1 = child.attrs['r:id'];
|
|
137
|
+
relationship = relationships.find(function (relationship) { return relationship.id === rId_1; });
|
|
138
|
+
if (!relationship) return [3 /*break*/, 10];
|
|
139
|
+
target = relationship.target;
|
|
140
|
+
path = joinPath(worksheetPath, '..', target);
|
|
141
|
+
_g = worksheet;
|
|
142
|
+
return [4 /*yield*/, parseDrawing(workbook, parser, path)];
|
|
143
|
+
case 9:
|
|
144
|
+
_g.drawing = _l.sent();
|
|
145
|
+
_l.label = 10;
|
|
146
|
+
case 10: return [3 /*break*/, 18];
|
|
147
|
+
case 11:
|
|
148
|
+
// 暂时不处理
|
|
149
|
+
return [3 /*break*/, 18];
|
|
150
|
+
case 12:
|
|
151
|
+
worksheet.extLst = autoParse(child, CT_ExtensionList_Attributes);
|
|
152
|
+
return [3 /*break*/, 18];
|
|
153
|
+
case 13:
|
|
154
|
+
_h = worksheet;
|
|
155
|
+
return [4 /*yield*/, parseTableParts(worksheetPath, parser, relationships, child)];
|
|
156
|
+
case 14:
|
|
157
|
+
_h.tableParts = _l.sent();
|
|
158
|
+
return [3 /*break*/, 18];
|
|
159
|
+
case 15:
|
|
160
|
+
worksheet.autoFilter = autoParse(child, CT_AutoFilter_Attributes);
|
|
161
|
+
return [3 /*break*/, 18];
|
|
162
|
+
case 16:
|
|
163
|
+
worksheet.sheetPr = autoParse(child, CT_SheetPr_Attributes);
|
|
164
|
+
return [3 /*break*/, 18];
|
|
165
|
+
case 17:
|
|
166
|
+
console.warn('unknown tag', tag);
|
|
167
|
+
return [3 /*break*/, 18];
|
|
168
|
+
case 18: return [2 /*return*/];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
_e.label = 2;
|
|
173
|
+
case 2:
|
|
174
|
+
_e.trys.push([2, 7, 8, 9]);
|
|
175
|
+
_b = __values(node.children), _c = _b.next();
|
|
176
|
+
_e.label = 3;
|
|
177
|
+
case 3:
|
|
178
|
+
if (!!_c.done) return [3 /*break*/, 6];
|
|
179
|
+
child = _c.value;
|
|
180
|
+
return [5 /*yield**/, _loop_1(child)];
|
|
181
|
+
case 4:
|
|
182
|
+
_e.sent();
|
|
183
|
+
_e.label = 5;
|
|
184
|
+
case 5:
|
|
185
|
+
_c = _b.next();
|
|
186
|
+
return [3 /*break*/, 3];
|
|
187
|
+
case 6: return [3 /*break*/, 9];
|
|
188
|
+
case 7:
|
|
189
|
+
e_1_1 = _e.sent();
|
|
190
|
+
e_1 = { error: e_1_1 };
|
|
191
|
+
return [3 /*break*/, 9];
|
|
192
|
+
case 8:
|
|
193
|
+
try {
|
|
194
|
+
if (_c && !_c.done && (_d = _b.return)) _d.call(_b);
|
|
195
|
+
}
|
|
196
|
+
finally { if (e_1) throw e_1.error; }
|
|
197
|
+
return [7 /*endfinally*/];
|
|
198
|
+
case 9:
|
|
199
|
+
initValueForContainsBlanks(worksheet);
|
|
200
|
+
initValueForTable(worksheet);
|
|
201
|
+
return [2 /*return*/, worksheet];
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export { parseWorksheet };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const defaultThemeString = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<a:theme xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" name=\"Office Theme\">\n\t<a:themeElements>\n\t\t<a:clrScheme name=\"Office\">\n\t\t\t<a:dk1>\n\t\t\t\t<a:sysClr val=\"windowText\" lastClr=\"000000\"/>\n\t\t\t</a:dk1>\n\t\t\t<a:lt1>\n\t\t\t\t<a:sysClr val=\"window\" lastClr=\"FFFFFF\"/>\n\t\t\t</a:lt1>\n\t\t\t<a:dk2>\n\t\t\t\t<a:srgbClr val=\"1F497D\"/>\n\t\t\t</a:dk2>\n\t\t\t<a:lt2>\n\t\t\t\t<a:srgbClr val=\"EEECE1\"/>\n\t\t\t</a:lt2>\n\t\t\t<a:accent1>\n\t\t\t\t<a:srgbClr val=\"4F81BD\"/>\n\t\t\t</a:accent1>\n\t\t\t<a:accent2>\n\t\t\t\t<a:srgbClr val=\"C0504D\"/>\n\t\t\t</a:accent2>\n\t\t\t<a:accent3>\n\t\t\t\t<a:srgbClr val=\"9BBB59\"/>\n\t\t\t</a:accent3>\n\t\t\t<a:accent4>\n\t\t\t\t<a:srgbClr val=\"8064A2\"/>\n\t\t\t</a:accent4>\n\t\t\t<a:accent5>\n\t\t\t\t<a:srgbClr val=\"4BACC6\"/>\n\t\t\t</a:accent5>\n\t\t\t<a:accent6>\n\t\t\t\t<a:srgbClr val=\"F79646\"/>\n\t\t\t</a:accent6>\n\t\t\t<a:hlink>\n\t\t\t\t<a:srgbClr val=\"0000FF\"/>\n\t\t\t</a:hlink>\n\t\t\t<a:folHlink>\n\t\t\t\t<a:srgbClr val=\"800080\"/>\n\t\t\t</a:folHlink>\n\t\t</a:clrScheme>\n\t\t<a:fontScheme name=\"Office\">\n\t\t\t<a:majorFont>\n\t\t\t\t<a:latin typeface=\"Cambria\"/>\n\t\t\t\t<a:ea typeface=\"\"/>\n\t\t\t\t<a:cs typeface=\"\"/>\n\t\t\t\t<a:font script=\"Jpan\" typeface=\"\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF\"/>\n\t\t\t\t<a:font script=\"Hang\" typeface=\"\uB9D1\uC740 \uACE0\uB515\"/>\n\t\t\t\t<a:font script=\"Hans\" typeface=\"\u5B8B\u4F53\"/>\n\t\t\t\t<a:font script=\"Hant\" typeface=\"\u65B0\u7D30\u660E\u9AD4\"/>\n\t\t\t\t<a:font script=\"Arab\" typeface=\"Times New Roman\"/>\n\t\t\t\t<a:font script=\"Hebr\" typeface=\"Times New Roman\"/>\n\t\t\t\t<a:font script=\"Thai\" typeface=\"Tahoma\"/>\n\t\t\t\t<a:font script=\"Ethi\" typeface=\"Nyala\"/>\n\t\t\t\t<a:font script=\"Beng\" typeface=\"Vrinda\"/>\n\t\t\t\t<a:font script=\"Gujr\" typeface=\"Shruti\"/>\n\t\t\t\t<a:font script=\"Khmr\" typeface=\"MoolBoran\"/>\n\t\t\t\t<a:font script=\"Knda\" typeface=\"Tunga\"/>\n\t\t\t\t<a:font script=\"Guru\" typeface=\"Raavi\"/>\n\t\t\t\t<a:font script=\"Cans\" typeface=\"Euphemia\"/>\n\t\t\t\t<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>\n\t\t\t\t<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>\n\t\t\t\t<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>\n\t\t\t\t<a:font script=\"Thaa\" typeface=\"MV Boli\"/>\n\t\t\t\t<a:font script=\"Deva\" typeface=\"Mangal\"/>\n\t\t\t\t<a:font script=\"Telu\" typeface=\"Gautami\"/>\n\t\t\t\t<a:font script=\"Taml\" typeface=\"Latha\"/>\n\t\t\t\t<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>\n\t\t\t\t<a:font script=\"Orya\" typeface=\"Kalinga\"/>\n\t\t\t\t<a:font script=\"Mlym\" typeface=\"Kartika\"/>\n\t\t\t\t<a:font script=\"Laoo\" typeface=\"DokChampa\"/>\n\t\t\t\t<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>\n\t\t\t\t<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>\n\t\t\t\t<a:font script=\"Viet\" typeface=\"Times New Roman\"/>\n\t\t\t\t<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>\n\t\t\t\t<a:font script=\"Geor\" typeface=\"Sylfaen\"/>\n\t\t\t</a:majorFont>\n\t\t\t<a:minorFont>\n\t\t\t\t<a:latin typeface=\"Calibri\"/>\n\t\t\t\t<a:ea typeface=\"\"/>\n\t\t\t\t<a:cs typeface=\"\"/>\n\t\t\t\t<a:font script=\"Jpan\" typeface=\"\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF\"/>\n\t\t\t\t<a:font script=\"Hang\" typeface=\"\uB9D1\uC740 \uACE0\uB515\"/>\n\t\t\t\t<a:font script=\"Hans\" typeface=\"\u5B8B\u4F53\"/>\n\t\t\t\t<a:font script=\"Hant\" typeface=\"\u65B0\u7D30\u660E\u9AD4\"/>\n\t\t\t\t<a:font script=\"Arab\" typeface=\"Arial\"/>\n\t\t\t\t<a:font script=\"Hebr\" typeface=\"Arial\"/>\n\t\t\t\t<a:font script=\"Thai\" typeface=\"Tahoma\"/>\n\t\t\t\t<a:font script=\"Ethi\" typeface=\"Nyala\"/>\n\t\t\t\t<a:font script=\"Beng\" typeface=\"Vrinda\"/>\n\t\t\t\t<a:font script=\"Gujr\" typeface=\"Shruti\"/>\n\t\t\t\t<a:font script=\"Khmr\" typeface=\"DaunPenh\"/>\n\t\t\t\t<a:font script=\"Knda\" typeface=\"Tunga\"/>\n\t\t\t\t<a:font script=\"Guru\" typeface=\"Raavi\"/>\n\t\t\t\t<a:font script=\"Cans\" typeface=\"Euphemia\"/>\n\t\t\t\t<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>\n\t\t\t\t<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>\n\t\t\t\t<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>\n\t\t\t\t<a:font script=\"Thaa\" typeface=\"MV Boli\"/>\n\t\t\t\t<a:font script=\"Deva\" typeface=\"Mangal\"/>\n\t\t\t\t<a:font script=\"Telu\" typeface=\"Gautami\"/>\n\t\t\t\t<a:font script=\"Taml\" typeface=\"Latha\"/>\n\t\t\t\t<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>\n\t\t\t\t<a:font script=\"Orya\" typeface=\"Kalinga\"/>\n\t\t\t\t<a:font script=\"Mlym\" typeface=\"Kartika\"/>\n\t\t\t\t<a:font script=\"Laoo\" typeface=\"DokChampa\"/>\n\t\t\t\t<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>\n\t\t\t\t<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>\n\t\t\t\t<a:font script=\"Viet\" typeface=\"Arial\"/>\n\t\t\t\t<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>\n\t\t\t\t<a:font script=\"Geor\" typeface=\"Sylfaen\"/>\n\t\t\t</a:minorFont>\n\t\t</a:fontScheme>\n\t\t<a:fmtScheme name=\"Office\">\n\t\t\t<a:fillStyleLst>\n\t\t\t\t<a:solidFill>\n\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t</a:solidFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"50000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"300000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"35000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"37000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"300000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"15000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:lin ang=\"16200000\" scaled=\"1\"/>\n\t\t\t\t</a:gradFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"100000\"/>\n\t\t\t\t\t\t\t\t<a:shade val=\"100000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"130000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"50000\"/>\n\t\t\t\t\t\t\t\t<a:shade val=\"100000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:lin ang=\"16200000\" scaled=\"0\"/>\n\t\t\t\t</a:gradFill>\n\t\t\t</a:fillStyleLst>\n\t\t\t<a:lnStyleLst>\n\t\t\t\t<a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">\n\t\t\t\t\t<a:solidFill>\n\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t<a:shade val=\"95000\"/>\n\t\t\t\t\t\t\t<a:satMod val=\"105000\"/>\n\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t</a:solidFill>\n\t\t\t\t\t<a:prstDash val=\"solid\"/>\n\t\t\t\t</a:ln>\n\t\t\t\t<a:ln w=\"25400\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">\n\t\t\t\t\t<a:solidFill>\n\t\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t\t</a:solidFill>\n\t\t\t\t\t<a:prstDash val=\"solid\"/>\n\t\t\t\t</a:ln>\n\t\t\t\t<a:ln w=\"38100\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">\n\t\t\t\t\t<a:solidFill>\n\t\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t\t</a:solidFill>\n\t\t\t\t\t<a:prstDash val=\"solid\"/>\n\t\t\t\t</a:ln>\n\t\t\t</a:lnStyleLst>\n\t\t\t<a:effectStyleLst>\n\t\t\t\t<a:effectStyle>\n\t\t\t\t\t<a:effectLst>\n\t\t\t\t\t\t<a:outerShdw blurRad=\"40000\" dist=\"20000\" dir=\"5400000\" rotWithShape=\"0\">\n\t\t\t\t\t\t\t<a:srgbClr val=\"000000\">\n\t\t\t\t\t\t\t\t<a:alpha val=\"38000\"/>\n\t\t\t\t\t\t\t</a:srgbClr>\n\t\t\t\t\t\t</a:outerShdw>\n\t\t\t\t\t</a:effectLst>\n\t\t\t\t</a:effectStyle>\n\t\t\t\t<a:effectStyle>\n\t\t\t\t\t<a:effectLst>\n\t\t\t\t\t\t<a:outerShdw blurRad=\"40000\" dist=\"23000\" dir=\"5400000\" rotWithShape=\"0\">\n\t\t\t\t\t\t\t<a:srgbClr val=\"000000\">\n\t\t\t\t\t\t\t\t<a:alpha val=\"35000\"/>\n\t\t\t\t\t\t\t</a:srgbClr>\n\t\t\t\t\t\t</a:outerShdw>\n\t\t\t\t\t</a:effectLst>\n\t\t\t\t</a:effectStyle>\n\t\t\t\t<a:effectStyle>\n\t\t\t\t\t<a:effectLst>\n\t\t\t\t\t\t<a:outerShdw blurRad=\"40000\" dist=\"23000\" dir=\"5400000\" rotWithShape=\"0\">\n\t\t\t\t\t\t\t<a:srgbClr val=\"000000\">\n\t\t\t\t\t\t\t\t<a:alpha val=\"35000\"/>\n\t\t\t\t\t\t\t</a:srgbClr>\n\t\t\t\t\t\t</a:outerShdw>\n\t\t\t\t\t</a:effectLst>\n\t\t\t\t\t<a:scene3d>\n\t\t\t\t\t\t<a:camera prst=\"orthographicFront\">\n\t\t\t\t\t\t\t<a:rot lat=\"0\" lon=\"0\" rev=\"0\"/>\n\t\t\t\t\t\t</a:camera>\n\t\t\t\t\t\t<a:lightRig rig=\"threePt\" dir=\"t\">\n\t\t\t\t\t\t\t<a:rot lat=\"0\" lon=\"0\" rev=\"1200000\"/>\n\t\t\t\t\t\t</a:lightRig>\n\t\t\t\t\t</a:scene3d>\n\t\t\t\t\t<a:sp3d>\n\t\t\t\t\t\t<a:bevelT w=\"63500\" h=\"25400\"/>\n\t\t\t\t\t</a:sp3d>\n\t\t\t\t</a:effectStyle>\n\t\t\t</a:effectStyleLst>\n\t\t\t<a:bgFillStyleLst>\n\t\t\t\t<a:solidFill>\n\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t</a:solidFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"40000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"40000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"45000\"/>\n\t\t\t\t\t\t\t\t<a:shade val=\"99000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:shade val=\"20000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"255000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:path path=\"circle\">\n\t\t\t\t\t\t<a:fillToRect l=\"50000\" t=\"-80000\" r=\"50000\" b=\"180000\"/>\n\t\t\t\t\t</a:path>\n\t\t\t\t</a:gradFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"80000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"300000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:shade val=\"30000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"200000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:path path=\"circle\">\n\t\t\t\t\t\t<a:fillToRect l=\"50000\" t=\"50000\" r=\"50000\" b=\"50000\"/>\n\t\t\t\t\t</a:path>\n\t\t\t\t</a:gradFill>\n\t\t\t</a:bgFillStyleLst>\n\t\t</a:fmtScheme>\n\t</a:themeElements>\n\t<a:objectDefaults>\n\t\t<a:spDef>\n\t\t\t<a:spPr/>\n\t\t\t<a:bodyPr/>\n\t\t\t<a:lstStyle/>\n\t\t\t<a:style>\n\t\t\t\t<a:lnRef idx=\"1\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:lnRef>\n\t\t\t\t<a:fillRef idx=\"3\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:fillRef>\n\t\t\t\t<a:effectRef idx=\"2\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:effectRef>\n\t\t\t\t<a:fontRef idx=\"minor\">\n\t\t\t\t\t<a:schemeClr val=\"lt1\"/>\n\t\t\t\t</a:fontRef>\n\t\t\t</a:style>\n\t\t</a:spDef>\n\t\t<a:lnDef>\n\t\t\t<a:spPr/>\n\t\t\t<a:bodyPr/>\n\t\t\t<a:lstStyle/>\n\t\t\t<a:style>\n\t\t\t\t<a:lnRef idx=\"2\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:lnRef>\n\t\t\t\t<a:fillRef idx=\"0\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:fillRef>\n\t\t\t\t<a:effectRef idx=\"1\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:effectRef>\n\t\t\t\t<a:fontRef idx=\"minor\">\n\t\t\t\t\t<a:schemeClr val=\"tx1\"/>\n\t\t\t\t</a:fontRef>\n\t\t\t</a:style>\n\t\t</a:lnDef>\n\t</a:objectDefaults>\n\t<a:extraClrSchemeLst/>\n</a:theme>";
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
var defaultThemeString = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<a:theme xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" name=\"Office Theme\">\n\t<a:themeElements>\n\t\t<a:clrScheme name=\"Office\">\n\t\t\t<a:dk1>\n\t\t\t\t<a:sysClr val=\"windowText\" lastClr=\"000000\"/>\n\t\t\t</a:dk1>\n\t\t\t<a:lt1>\n\t\t\t\t<a:sysClr val=\"window\" lastClr=\"FFFFFF\"/>\n\t\t\t</a:lt1>\n\t\t\t<a:dk2>\n\t\t\t\t<a:srgbClr val=\"1F497D\"/>\n\t\t\t</a:dk2>\n\t\t\t<a:lt2>\n\t\t\t\t<a:srgbClr val=\"EEECE1\"/>\n\t\t\t</a:lt2>\n\t\t\t<a:accent1>\n\t\t\t\t<a:srgbClr val=\"4F81BD\"/>\n\t\t\t</a:accent1>\n\t\t\t<a:accent2>\n\t\t\t\t<a:srgbClr val=\"C0504D\"/>\n\t\t\t</a:accent2>\n\t\t\t<a:accent3>\n\t\t\t\t<a:srgbClr val=\"9BBB59\"/>\n\t\t\t</a:accent3>\n\t\t\t<a:accent4>\n\t\t\t\t<a:srgbClr val=\"8064A2\"/>\n\t\t\t</a:accent4>\n\t\t\t<a:accent5>\n\t\t\t\t<a:srgbClr val=\"4BACC6\"/>\n\t\t\t</a:accent5>\n\t\t\t<a:accent6>\n\t\t\t\t<a:srgbClr val=\"F79646\"/>\n\t\t\t</a:accent6>\n\t\t\t<a:hlink>\n\t\t\t\t<a:srgbClr val=\"0000FF\"/>\n\t\t\t</a:hlink>\n\t\t\t<a:folHlink>\n\t\t\t\t<a:srgbClr val=\"800080\"/>\n\t\t\t</a:folHlink>\n\t\t</a:clrScheme>\n\t\t<a:fontScheme name=\"Office\">\n\t\t\t<a:majorFont>\n\t\t\t\t<a:latin typeface=\"Cambria\"/>\n\t\t\t\t<a:ea typeface=\"\"/>\n\t\t\t\t<a:cs typeface=\"\"/>\n\t\t\t\t<a:font script=\"Jpan\" typeface=\"\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF\"/>\n\t\t\t\t<a:font script=\"Hang\" typeface=\"\uB9D1\uC740 \uACE0\uB515\"/>\n\t\t\t\t<a:font script=\"Hans\" typeface=\"\u5B8B\u4F53\"/>\n\t\t\t\t<a:font script=\"Hant\" typeface=\"\u65B0\u7D30\u660E\u9AD4\"/>\n\t\t\t\t<a:font script=\"Arab\" typeface=\"Times New Roman\"/>\n\t\t\t\t<a:font script=\"Hebr\" typeface=\"Times New Roman\"/>\n\t\t\t\t<a:font script=\"Thai\" typeface=\"Tahoma\"/>\n\t\t\t\t<a:font script=\"Ethi\" typeface=\"Nyala\"/>\n\t\t\t\t<a:font script=\"Beng\" typeface=\"Vrinda\"/>\n\t\t\t\t<a:font script=\"Gujr\" typeface=\"Shruti\"/>\n\t\t\t\t<a:font script=\"Khmr\" typeface=\"MoolBoran\"/>\n\t\t\t\t<a:font script=\"Knda\" typeface=\"Tunga\"/>\n\t\t\t\t<a:font script=\"Guru\" typeface=\"Raavi\"/>\n\t\t\t\t<a:font script=\"Cans\" typeface=\"Euphemia\"/>\n\t\t\t\t<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>\n\t\t\t\t<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>\n\t\t\t\t<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>\n\t\t\t\t<a:font script=\"Thaa\" typeface=\"MV Boli\"/>\n\t\t\t\t<a:font script=\"Deva\" typeface=\"Mangal\"/>\n\t\t\t\t<a:font script=\"Telu\" typeface=\"Gautami\"/>\n\t\t\t\t<a:font script=\"Taml\" typeface=\"Latha\"/>\n\t\t\t\t<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>\n\t\t\t\t<a:font script=\"Orya\" typeface=\"Kalinga\"/>\n\t\t\t\t<a:font script=\"Mlym\" typeface=\"Kartika\"/>\n\t\t\t\t<a:font script=\"Laoo\" typeface=\"DokChampa\"/>\n\t\t\t\t<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>\n\t\t\t\t<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>\n\t\t\t\t<a:font script=\"Viet\" typeface=\"Times New Roman\"/>\n\t\t\t\t<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>\n\t\t\t\t<a:font script=\"Geor\" typeface=\"Sylfaen\"/>\n\t\t\t</a:majorFont>\n\t\t\t<a:minorFont>\n\t\t\t\t<a:latin typeface=\"Calibri\"/>\n\t\t\t\t<a:ea typeface=\"\"/>\n\t\t\t\t<a:cs typeface=\"\"/>\n\t\t\t\t<a:font script=\"Jpan\" typeface=\"\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF\"/>\n\t\t\t\t<a:font script=\"Hang\" typeface=\"\uB9D1\uC740 \uACE0\uB515\"/>\n\t\t\t\t<a:font script=\"Hans\" typeface=\"\u5B8B\u4F53\"/>\n\t\t\t\t<a:font script=\"Hant\" typeface=\"\u65B0\u7D30\u660E\u9AD4\"/>\n\t\t\t\t<a:font script=\"Arab\" typeface=\"Arial\"/>\n\t\t\t\t<a:font script=\"Hebr\" typeface=\"Arial\"/>\n\t\t\t\t<a:font script=\"Thai\" typeface=\"Tahoma\"/>\n\t\t\t\t<a:font script=\"Ethi\" typeface=\"Nyala\"/>\n\t\t\t\t<a:font script=\"Beng\" typeface=\"Vrinda\"/>\n\t\t\t\t<a:font script=\"Gujr\" typeface=\"Shruti\"/>\n\t\t\t\t<a:font script=\"Khmr\" typeface=\"DaunPenh\"/>\n\t\t\t\t<a:font script=\"Knda\" typeface=\"Tunga\"/>\n\t\t\t\t<a:font script=\"Guru\" typeface=\"Raavi\"/>\n\t\t\t\t<a:font script=\"Cans\" typeface=\"Euphemia\"/>\n\t\t\t\t<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>\n\t\t\t\t<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>\n\t\t\t\t<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>\n\t\t\t\t<a:font script=\"Thaa\" typeface=\"MV Boli\"/>\n\t\t\t\t<a:font script=\"Deva\" typeface=\"Mangal\"/>\n\t\t\t\t<a:font script=\"Telu\" typeface=\"Gautami\"/>\n\t\t\t\t<a:font script=\"Taml\" typeface=\"Latha\"/>\n\t\t\t\t<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>\n\t\t\t\t<a:font script=\"Orya\" typeface=\"Kalinga\"/>\n\t\t\t\t<a:font script=\"Mlym\" typeface=\"Kartika\"/>\n\t\t\t\t<a:font script=\"Laoo\" typeface=\"DokChampa\"/>\n\t\t\t\t<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>\n\t\t\t\t<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>\n\t\t\t\t<a:font script=\"Viet\" typeface=\"Arial\"/>\n\t\t\t\t<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>\n\t\t\t\t<a:font script=\"Geor\" typeface=\"Sylfaen\"/>\n\t\t\t</a:minorFont>\n\t\t</a:fontScheme>\n\t\t<a:fmtScheme name=\"Office\">\n\t\t\t<a:fillStyleLst>\n\t\t\t\t<a:solidFill>\n\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t</a:solidFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"50000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"300000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"35000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"37000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"300000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"15000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:lin ang=\"16200000\" scaled=\"1\"/>\n\t\t\t\t</a:gradFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"100000\"/>\n\t\t\t\t\t\t\t\t<a:shade val=\"100000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"130000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"50000\"/>\n\t\t\t\t\t\t\t\t<a:shade val=\"100000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:lin ang=\"16200000\" scaled=\"0\"/>\n\t\t\t\t</a:gradFill>\n\t\t\t</a:fillStyleLst>\n\t\t\t<a:lnStyleLst>\n\t\t\t\t<a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">\n\t\t\t\t\t<a:solidFill>\n\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t<a:shade val=\"95000\"/>\n\t\t\t\t\t\t\t<a:satMod val=\"105000\"/>\n\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t</a:solidFill>\n\t\t\t\t\t<a:prstDash val=\"solid\"/>\n\t\t\t\t</a:ln>\n\t\t\t\t<a:ln w=\"25400\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">\n\t\t\t\t\t<a:solidFill>\n\t\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t\t</a:solidFill>\n\t\t\t\t\t<a:prstDash val=\"solid\"/>\n\t\t\t\t</a:ln>\n\t\t\t\t<a:ln w=\"38100\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\">\n\t\t\t\t\t<a:solidFill>\n\t\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t\t</a:solidFill>\n\t\t\t\t\t<a:prstDash val=\"solid\"/>\n\t\t\t\t</a:ln>\n\t\t\t</a:lnStyleLst>\n\t\t\t<a:effectStyleLst>\n\t\t\t\t<a:effectStyle>\n\t\t\t\t\t<a:effectLst>\n\t\t\t\t\t\t<a:outerShdw blurRad=\"40000\" dist=\"20000\" dir=\"5400000\" rotWithShape=\"0\">\n\t\t\t\t\t\t\t<a:srgbClr val=\"000000\">\n\t\t\t\t\t\t\t\t<a:alpha val=\"38000\"/>\n\t\t\t\t\t\t\t</a:srgbClr>\n\t\t\t\t\t\t</a:outerShdw>\n\t\t\t\t\t</a:effectLst>\n\t\t\t\t</a:effectStyle>\n\t\t\t\t<a:effectStyle>\n\t\t\t\t\t<a:effectLst>\n\t\t\t\t\t\t<a:outerShdw blurRad=\"40000\" dist=\"23000\" dir=\"5400000\" rotWithShape=\"0\">\n\t\t\t\t\t\t\t<a:srgbClr val=\"000000\">\n\t\t\t\t\t\t\t\t<a:alpha val=\"35000\"/>\n\t\t\t\t\t\t\t</a:srgbClr>\n\t\t\t\t\t\t</a:outerShdw>\n\t\t\t\t\t</a:effectLst>\n\t\t\t\t</a:effectStyle>\n\t\t\t\t<a:effectStyle>\n\t\t\t\t\t<a:effectLst>\n\t\t\t\t\t\t<a:outerShdw blurRad=\"40000\" dist=\"23000\" dir=\"5400000\" rotWithShape=\"0\">\n\t\t\t\t\t\t\t<a:srgbClr val=\"000000\">\n\t\t\t\t\t\t\t\t<a:alpha val=\"35000\"/>\n\t\t\t\t\t\t\t</a:srgbClr>\n\t\t\t\t\t\t</a:outerShdw>\n\t\t\t\t\t</a:effectLst>\n\t\t\t\t\t<a:scene3d>\n\t\t\t\t\t\t<a:camera prst=\"orthographicFront\">\n\t\t\t\t\t\t\t<a:rot lat=\"0\" lon=\"0\" rev=\"0\"/>\n\t\t\t\t\t\t</a:camera>\n\t\t\t\t\t\t<a:lightRig rig=\"threePt\" dir=\"t\">\n\t\t\t\t\t\t\t<a:rot lat=\"0\" lon=\"0\" rev=\"1200000\"/>\n\t\t\t\t\t\t</a:lightRig>\n\t\t\t\t\t</a:scene3d>\n\t\t\t\t\t<a:sp3d>\n\t\t\t\t\t\t<a:bevelT w=\"63500\" h=\"25400\"/>\n\t\t\t\t\t</a:sp3d>\n\t\t\t\t</a:effectStyle>\n\t\t\t</a:effectStyleLst>\n\t\t\t<a:bgFillStyleLst>\n\t\t\t\t<a:solidFill>\n\t\t\t\t\t<a:schemeClr val=\"phClr\"/>\n\t\t\t\t</a:solidFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"40000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"40000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"45000\"/>\n\t\t\t\t\t\t\t\t<a:shade val=\"99000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"350000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:shade val=\"20000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"255000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:path path=\"circle\">\n\t\t\t\t\t\t<a:fillToRect l=\"50000\" t=\"-80000\" r=\"50000\" b=\"180000\"/>\n\t\t\t\t\t</a:path>\n\t\t\t\t</a:gradFill>\n\t\t\t\t<a:gradFill rotWithShape=\"1\">\n\t\t\t\t\t<a:gsLst>\n\t\t\t\t\t\t<a:gs pos=\"0\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:tint val=\"80000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"300000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t\t<a:gs pos=\"100000\">\n\t\t\t\t\t\t\t<a:schemeClr val=\"phClr\">\n\t\t\t\t\t\t\t\t<a:shade val=\"30000\"/>\n\t\t\t\t\t\t\t\t<a:satMod val=\"200000\"/>\n\t\t\t\t\t\t\t</a:schemeClr>\n\t\t\t\t\t\t</a:gs>\n\t\t\t\t\t</a:gsLst>\n\t\t\t\t\t<a:path path=\"circle\">\n\t\t\t\t\t\t<a:fillToRect l=\"50000\" t=\"50000\" r=\"50000\" b=\"50000\"/>\n\t\t\t\t\t</a:path>\n\t\t\t\t</a:gradFill>\n\t\t\t</a:bgFillStyleLst>\n\t\t</a:fmtScheme>\n\t</a:themeElements>\n\t<a:objectDefaults>\n\t\t<a:spDef>\n\t\t\t<a:spPr/>\n\t\t\t<a:bodyPr/>\n\t\t\t<a:lstStyle/>\n\t\t\t<a:style>\n\t\t\t\t<a:lnRef idx=\"1\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:lnRef>\n\t\t\t\t<a:fillRef idx=\"3\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:fillRef>\n\t\t\t\t<a:effectRef idx=\"2\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:effectRef>\n\t\t\t\t<a:fontRef idx=\"minor\">\n\t\t\t\t\t<a:schemeClr val=\"lt1\"/>\n\t\t\t\t</a:fontRef>\n\t\t\t</a:style>\n\t\t</a:spDef>\n\t\t<a:lnDef>\n\t\t\t<a:spPr/>\n\t\t\t<a:bodyPr/>\n\t\t\t<a:lstStyle/>\n\t\t\t<a:style>\n\t\t\t\t<a:lnRef idx=\"2\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:lnRef>\n\t\t\t\t<a:fillRef idx=\"0\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:fillRef>\n\t\t\t\t<a:effectRef idx=\"1\">\n\t\t\t\t\t<a:schemeClr val=\"accent1\"/>\n\t\t\t\t</a:effectRef>\n\t\t\t\t<a:fontRef idx=\"minor\">\n\t\t\t\t\t<a:schemeClr val=\"tx1\"/>\n\t\t\t\t</a:fontRef>\n\t\t\t</a:style>\n\t\t</a:lnDef>\n\t</a:objectDefaults>\n\t<a:extraClrSchemeLst/>\n</a:theme>";
|
|
2
|
+
|
|
3
|
+
export { defaultThemeString };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 图标定义
|
|
3
|
+
*/
|
|
4
|
+
var presetIconSet = {
|
|
5
|
+
'3Arrows': ['down', 'side', 'up'],
|
|
6
|
+
'3ArrowsGray': ['downGray', 'sideGray', 'upGray'],
|
|
7
|
+
'3Flags': ['flagRed', 'flagYellow', 'flagGreen'],
|
|
8
|
+
'3Signs': ['diamondRed', 'triangleYellow', 'circleGreen'],
|
|
9
|
+
'3Symbols': ['crossRed', 'exclamationYellow', 'checkGreen'],
|
|
10
|
+
'3Symbols2': [
|
|
11
|
+
'crossSymbolRed',
|
|
12
|
+
'exclamationSymbolYellow',
|
|
13
|
+
'checkSymbolGreen'
|
|
14
|
+
],
|
|
15
|
+
'3TrafficLights1': ['circleRed', 'circleYellow', 'circleGreen'],
|
|
16
|
+
'3TrafficLights2': [
|
|
17
|
+
'trafficLightRed',
|
|
18
|
+
'trafficLightYellow',
|
|
19
|
+
'trafficLightGreen'
|
|
20
|
+
],
|
|
21
|
+
'4Arrows': ['down', 'downIncline', 'upIncline', 'up'],
|
|
22
|
+
'4ArrowsGray': ['downGray', 'downInclineGray', 'upInclineGray', 'upGray'],
|
|
23
|
+
'4Rating': [
|
|
24
|
+
'oneFilledBars',
|
|
25
|
+
'twoFilledBars',
|
|
26
|
+
'threeFilledBars',
|
|
27
|
+
'fourFilledBars'
|
|
28
|
+
],
|
|
29
|
+
'4RedToBlack': ['circleBlack', 'circleGray', 'circleLightRed', 'circleRed'],
|
|
30
|
+
'4TrafficLights': ['circleBlack', 'circleRed', 'circleYellow', 'circleGreen'],
|
|
31
|
+
'5Arrows': ['down', 'downIncline', 'side', 'upIncline', 'up'],
|
|
32
|
+
'5ArrowsGray': [
|
|
33
|
+
'downGray',
|
|
34
|
+
'downInclineGray',
|
|
35
|
+
'sideGray',
|
|
36
|
+
'upInclineGray',
|
|
37
|
+
'upGray'
|
|
38
|
+
],
|
|
39
|
+
'5Quarters': [
|
|
40
|
+
'circleWhite',
|
|
41
|
+
'circleThreeWhiteQuarters',
|
|
42
|
+
'circleTwoWhiteQuarters',
|
|
43
|
+
'circleOneWhiteQuarter',
|
|
44
|
+
'circleBlack'
|
|
45
|
+
],
|
|
46
|
+
'5Rating': [
|
|
47
|
+
'zeroFilledBars',
|
|
48
|
+
'oneFilledBars',
|
|
49
|
+
'twoFilledBars',
|
|
50
|
+
'threeFilledBars',
|
|
51
|
+
'fourFilledBars'
|
|
52
|
+
]
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export { presetIconSet };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/** generated by genPresetIcons.ts, do not edit */
|
|
2
|
+
export type IconNames = 'down' | 'side' | 'up' | 'downGray' | 'sideGray' | 'upGray' | 'flagRed' | 'flagYellow' | 'flagGreen' | 'diamondRed' | 'triangleYellow' | 'circleGreen' | 'crossRed' | 'exclamationYellow' | 'checkGreen' | 'crossSymbolRed' | 'exclamationSymbolYellow' | 'checkSymbolGreen' | 'circleRed' | 'circleYellow' | 'trafficLightRed' | 'trafficLightYellow' | 'trafficLightGreen' | 'downIncline' | 'upIncline' | 'downInclineGray' | 'upInclineGray' | 'oneFilledBars' | 'twoFilledBars' | 'threeFilledBars' | 'fourFilledBars' | 'circleBlack' | 'circleGray' | 'circleLightRed' | 'circleWhite' | 'circleThreeWhiteQuarters' | 'circleTwoWhiteQuarters' | 'circleOneWhiteQuarter' | 'zeroFilledBars';
|
|
3
|
+
export declare const presetIcons: Record<IconNames, string>;
|