Commit Graph

36 Commits

Author SHA1 Message Date
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
3997b7a5d6 fix: #2082 Numbering instance restart number not work since v8.0.0 and work well in v7.8.2 2023-09-13 17:08:59 +08:00
a89919397d Merge branch 'master' into feat/deprecate-shelljs
# Conflicts:
#	src/file/numbering/numbering.ts
2023-06-01 02:08:08 +01:00
a26292a0fd Trying to upgrade docx to use Vite 2023-05-01 20:37:39 +01:00
a0437381e7 fix: do not use static numeric counters 2023-04-28 13:17:02 +03:00
704c678333 fix: unit tests fix 2023-04-19 16:51:03 +03:00
c59c5350fd fix: added unique numeric id creator to avoid numbering render errors 2023-04-18 15:15:38 +03:00
5a4fe5d5da Formatting applied 2022-12-07 23:03:42 +02:00
361f9231d8 default numbering with overrideLevels 2022-12-07 22:54:51 +02: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
982d923553 Improve import alias
@file/ and @export/ instead of file/ and export/ etc
2022-06-26 23:26:42 +01:00
f378c37b62 Test at spec.ts for referenceConfigMap 2021-07-30 11:59:49 +03:00
d773972877 Test coverage issue fix 2021-07-30 11:58:55 +03:00
2fd4f064ae Simplify + TS related fix 2021-07-26 13:28:55 +03:00
36a18c5af3 Use level.start for overrideLevel.start if possible
Implemented via additional reference config map.
2021-07-26 09:55:33 +03:00
c3e92c0709 update file/numbering with schema comments and values functions 2021-05-24 21:04:38 +03:00
528be93191 fix #507 - docx file not opening in edit mode in word and word online 2021-05-24 05:39:26 +03:00
0b88cb0ca5 #548 #508 Restart numbered lists 2021-03-12 03:58:05 +00:00
566ac03f9a Use context in prep xml 2021-03-11 01:06:55 +00:00
38c8220e9e Use LevelFormat string enum rather than strings 2020-12-24 04:26:45 +00:00
502db14bba Add Convenience functions 2020-12-24 03:37:43 +00:00
d18cfbc26f Update tslint to v6 2020-08-01 17:58:16 +01:00
5ae824358c Revert "Update numbering.ts"
This reverts commit 0ebdcc30ed.
2020-05-26 21:06:43 +01:00
0ebdcc30ed Update numbering.ts 2020-05-07 11:49:42 +02:00
643e3c2f84 Finish making numbering declarative 2019-11-08 03:11:19 +00:00
8eff6bd0cf Declarative numbering work 2019-11-01 01:57:01 +00:00
7980f14efb Introduce some functional programming techniques 2018-11-02 02:51:57 +00:00
f2b50478bf Fix tests and use proper types for disregarding XMLComponent 2018-09-20 00:41:57 +01:00
e9aecfac1c Updated lint rules 2018-08-07 01:38:15 +01:00
a716360faa Restore numbering 2018-05-06 02:57:40 +01:00
c92cab5e5b Fix Numbering (#4)
* Version bump

* (fix): fixed issue with numbering in document
2018-04-17 15:33:53 +02:00
e93d6799fd Made project Prettier compliant 2018-01-23 01:33:12 +00:00
eb71fc20e6 Use absolute path rather than silly relative path 2017-12-30 20:25:16 +00:00
2358139a6b Change docx folder to more appropriate "file" folder 2017-12-20 01:03:20 +00:00