ff37f3b460
fix: Ensure necessary namespaces are in patched doc ( #2698 )
...
* refactor: Extract timestamp properties
In preparation for reworking DocumentAttributes.
* refactor: Consolidate namespaces
* fix: Ensure necessary namespaces are in patched doc
Fixes #2697
* Fix tsc and ESLint errors
* Fix CSpell
* Add a test to fix code coverage failure
2025-01-06 22:19:00 +00:00
2381ba8a05
build(deps-dev): bump eslint from 8.57.1 to 9.13.0 ( #2792 )
...
* build(deps-dev): bump eslint from 8.57.1 to 9.13.0
Bumps [eslint](https://github.com/eslint/eslint ) from 8.57.1 to 9.13.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.57.1...v9.13.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Upgrade EsLint
* Fix all new lint errors
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2024-10-21 03:57:15 +01:00
0cadec7f58
build(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 8.8.1 ( #2742 )
...
* build(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 8.8.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 6.17.0 to 8.8.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.8.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix type definitions
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dolan Miu <dolan_miu@hotmail.com >
2024-10-11 04:47:51 +01:00
a26292a0fd
Trying to upgrade docx to use Vite
2023-05-01 20:37:39 +01:00
fe8b0a6b2b
#1699 Allow images to work with Hyperlink
...
Add stack to IContext for prepForXml
2022-12-26 15:12:44 +00:00
3282f762df
Add language support
2022-12-20 21:42:26 +00:00
03d5152e7c
Add BuilderElement and lang
2022-12-18 00:52:29 +00:00
e90d97b813
Use new eslint-plugin-functional instead of tslint-immutable
2022-09-15 20:00:50 +01:00
1bdf9a4987
Initial ESlint conversion
2022-08-31 07:52:27 +01:00
9827ed30bb
Write tests, improve API, create documentation
2022-06-22 23:35:46 +01:00
566ac03f9a
Use context in prep xml
2021-03-11 01:06:55 +00:00
816cb54b14
Optimize XML output by properly constructing objects to send to the xml library so that it can produce proper empty elements.
...
Rework the way attributes are stored in ImportedXmlComponent to match elsewhere (required allowing for a null xmlKeys in the XmlAttributeComponent interface).
Rework the way paragraphs get added to the end of table cells if needed.
The goal in both reworks is to not mess around with the objects output from `prepForXml` if we can avoid it.
Made the output of RunProperties, ParagraphProperties, TableCellProperties, TableRowProperties, and TableProperties all optional based on whether they contain any attributes or children. Changed code in PageBorders, TableCellMargin, and TableCellBorders that implemented this same thing by overriding `prepForXml` so that it uses the new XmlComponent subclass instead.
Removed commented out code that attempted to fix-up XML output and make proper empty elements.
Fixed all affected tests.
Turn off `no-null-keyword` in the linter as we need to use null to signal to the `xml` library to create an empty element with no attributes (`undefined` will not work in its place).
Fixes #306
2019-04-09 05:27:18 -04:00
7980f14efb
Introduce some functional programming techniques
2018-11-02 02:51:57 +00:00
05816abc12
Add scalable image feature
2018-03-24 19:06:10 +00:00
e93d6799fd
Made project Prettier compliant
2018-01-23 01:33:12 +00:00
2358139a6b
Change docx folder to more appropriate "file" folder
2017-12-20 01:03:20 +00:00