idea-toolbox
Advanced tools
Comparing version 6.0.2 to 6.0.3
@@ -44,3 +44,4 @@ import { Label } from './label.model'; | ||
/** | ||
* The title of a HEADER section: a Label (markdown) supporting variables substitution (e.g. `Here's **@myVar**`). | ||
* The title of a HEADER section or INNER_SECTION (or REPATED_INNER_SECTION). | ||
* It's a Label (markdown) supporting variables substitution (e.g. `Here's **@myVar**`). | ||
* Note: the var substitution is made on runtime data, based on the section's context. | ||
@@ -47,0 +48,0 @@ */ |
@@ -46,2 +46,9 @@ "use strict"; | ||
case PDFTemplateSectionTypes.REPEATED_INNER_SECTION: | ||
if (x.title) | ||
this.title = new label_model_1.Label(x.title, languages); | ||
else { | ||
// init the title equal to the section description | ||
this.title = new label_model_1.Label(null, languages); | ||
this.title[languages.default] = this.description; | ||
} | ||
this.context = this.clean(x.context, String); | ||
@@ -48,0 +55,0 @@ this.innerTemplate = this.cleanArray(x.innerTemplate, t => new PDFTemplateSection(t, languages)); |
{ | ||
"name": "idea-toolbox", | ||
"version": "6.0.2", | ||
"version": "6.0.3", | ||
"description": "IDEA's utility functions", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
229826
6749