office-templates 0.1.0 → 0.2.0
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/AGENTS.md +6 -6
- package/CHANGELOG.md +13 -12
- package/LICENSE +21 -21
- package/README.md +662 -662
- package/lib/browser.js +15 -24
- package/lib/browser.js.map +1 -1
- package/lib/bundled.d.ts +1 -0
- package/lib/debug.js +2 -2
- package/lib/errors.js +2 -2
- package/lib/main.js +8 -7
- package/lib/process-template.js +45 -12
- package/lib/sandbox.js +4 -3
- package/lib/types.d.ts +1 -0
- package/lib/xml.d.ts +2 -0
- package/lib/xml.js +2 -2
- package/package.json +102 -102
- package/rollup.config.mjs +61 -61
- package/tsconfig.json +19 -19
package/AGENTS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Agents
|
|
2
|
-
|
|
3
|
-
- This repository contains a javascript library to generate, docx/pptx files based on a template and a set of data provided.
|
|
4
|
-
- Update "README.md" that contain the usage guide to reflect new changes made.
|
|
5
|
-
- Add new features to the "CHANGELOG.md".
|
|
6
|
-
|
|
1
|
+
# Agents
|
|
2
|
+
|
|
3
|
+
- This repository contains a javascript library to generate, docx/pptx files based on a template and a set of data provided.
|
|
4
|
+
- Update "README.md" that contain the usage guide to reflect new changes made.
|
|
5
|
+
- Add new features to the "CHANGELOG.md".
|
|
6
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
## Unreleased
|
|
2
|
-
- Fix dependency conflicts by aligning the build plugins with Rollup 3 while keeping versions close to the previous releases.
|
|
3
|
-
- Update TypeScript to 5.6 for compatibility with the existing Node.js type definitions.
|
|
4
|
-
- Forward Rollup resolution options when resolving the browser stream polyfill to prevent the build from exiting early.
|
|
5
|
-
|
|
6
|
-
## 1.0.0
|
|
7
|
-
- First release
|
|
8
|
-
- Forked form "docx-templates" V4.15.0
|
|
9
|
-
- Remove QUERY command
|
|
10
|
-
- Allow for nested IF statement
|
|
11
|
-
- Keep `$idx` available inside nested IF conditions and contents, using the innermost active FOR index and restoring the outer index after an inner FOR ends.
|
|
12
|
-
|
|
1
|
+
## Unreleased
|
|
2
|
+
- Fix dependency conflicts by aligning the build plugins with Rollup 3 while keeping versions close to the previous releases.
|
|
3
|
+
- Update TypeScript to 5.6 for compatibility with the existing Node.js type definitions.
|
|
4
|
+
- Forward Rollup resolution options when resolving the browser stream polyfill to prevent the build from exiting early.
|
|
5
|
+
|
|
6
|
+
## 1.0.0
|
|
7
|
+
- First release
|
|
8
|
+
- Forked form "docx-templates" V4.15.0
|
|
9
|
+
- Remove QUERY command
|
|
10
|
+
- Allow for nested IF statement
|
|
11
|
+
- Keep `$idx` available inside nested IF conditions and contents, using the innermost active FOR index and restoring the outer index after an inner FOR ends.
|
|
12
|
+
- Preserve table cells, their formatting, and their rows when a false `IF` block is contained within a cell, in both DOCX and PPTX. `FOR` row and column behavior is unchanged.
|
|
13
|
+
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2016-2017 Guillermo Grau Panea
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016-2017 Guillermo Grau Panea
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|