easy-template-x
Advanced tools
Comparing version 0.10.4 to 0.11.0
# Change Log | ||
## [0.11.0 - 2020-03-29](https://github.com/alonrbar/easy-template-x/tree/v0.11.0) | ||
### Added | ||
- Support for `RawXmlContent.replaceParagraph`. | ||
## [0.10.4 - 2020-03-02](https://github.com/alonrbar/easy-template-x/tree/v0.10.4) | ||
@@ -4,0 +10,0 @@ |
@@ -0,11 +1,8 @@ | ||
export * from './image'; | ||
export * from './link'; | ||
export * from './loop'; | ||
export * from './rawXml'; | ||
export * from './text'; | ||
export * from './defaultPlugins'; | ||
export * from './imageContent'; | ||
export * from './imagePlugin'; | ||
export * from './linkContent'; | ||
export * from './linkPlugin'; | ||
export * from './loopPlugin'; | ||
export * from './pluginContent'; | ||
export * from './rawXmlContent'; | ||
export * from './rawXmlPlugin'; | ||
export * from './templatePlugin'; | ||
export * from './textPlugin'; |
@@ -1,4 +0,1 @@ | ||
export * from './iLoopStrategy'; | ||
export * from './loopListStrategy'; | ||
export * from './loopParagraphStrategy'; | ||
export * from './loopTableStrategy'; | ||
export * from './loopPlugin'; |
{ | ||
"name": "easy-template-x", | ||
"version": "0.10.4", | ||
"version": "0.11.0", | ||
"description": "Generate docx documents from templates, in Node or in the browser.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -252,3 +252,4 @@ # easy-template-x | ||
_type: 'rawXml', | ||
xml: '<w:sym w:font="Wingdings" w:char="F04A"/>' | ||
xml: '<w:sym w:font="Wingdings" w:char="F04A"/>', | ||
replaceParagraph: false, // optional - should the plugin replace an entire paragraph or just the tag itself | ||
} | ||
@@ -255,0 +256,0 @@ } |
@@ -1,11 +0,11 @@ | ||
import { ImagePlugin } from './imagePlugin'; | ||
import { LinkPlugin } from './linkPlugin'; | ||
import { LoopPlugin } from './loopPlugin'; | ||
import { RawXmlPlugin } from './rawXmlPlugin'; | ||
import { ImagePlugin } from './image'; | ||
import { LinkPlugin } from './link'; | ||
import { LoopPlugin } from './loop'; | ||
import { RawXmlPlugin } from './rawXml'; | ||
import { TemplatePlugin } from './templatePlugin'; | ||
import { TextPlugin } from './textPlugin'; | ||
import { TextPlugin } from './text'; | ||
export function createDefaultPlugins(): TemplatePlugin[] { | ||
return [ | ||
new LoopPlugin(), | ||
new LoopPlugin(), | ||
new RawXmlPlugin(), | ||
@@ -16,2 +16,2 @@ new ImagePlugin(), | ||
]; | ||
} | ||
} |
@@ -0,11 +1,8 @@ | ||
export * from './image'; | ||
export * from './link'; | ||
export * from './loop'; | ||
export * from './rawXml'; | ||
export * from './text'; | ||
export * from './defaultPlugins'; | ||
export * from './imageContent'; | ||
export * from './imagePlugin'; | ||
export * from './linkContent'; | ||
export * from './linkPlugin'; | ||
export * from './loopPlugin'; | ||
export * from './pluginContent'; | ||
export * from './rawXmlContent'; | ||
export * from './rawXmlPlugin'; | ||
export * from './templatePlugin'; | ||
export * from './textPlugin'; |
@@ -1,4 +0,1 @@ | ||
export * from './iLoopStrategy'; | ||
export * from './loopListStrategy'; | ||
export * from './loopParagraphStrategy'; | ||
export * from './loopTableStrategy'; | ||
export * from './loopPlugin'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
346202
154
8143
423