@bnsights/bbsf-admin-portal 1.0.78 → 1.0.80
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/README.md +9 -0
- package/{bnsights-bbsf-admin-portal-1.0.78.tgz → bnsights-bbsf-admin-portal-1.0.80.tgz} +0 -0
- package/bundles/bnsights-bbsf-admin-portal.umd.js +263 -118
- package/bundles/bnsights-bbsf-admin-portal.umd.js.map +1 -1
- package/esm2015/lib/Pages/documents/document-template-info/document-template-info.component.js +6 -7
- package/esm2015/lib/Pages/shared/Enums/Enums.js +6 -1
- package/esm2015/lib/Pages/shared/components/survey/survey-info/survey-info.component.js +120 -87
- package/esm2015/lib/Pages/shared/components/survey/survey.component.js +12 -6
- package/esm2015/lib/Pages/shared/modules/survey.module.js +7 -1
- package/esm2015/lib/Pages/shared/word/constants.js +1 -1
- package/esm2015/lib/Pages/shared/word/docx-document.js +4 -1
- package/esm2015/lib/Pages/shared/word/helpers/index.js +1 -1
- package/esm2015/lib/Pages/shared/word/helpers/render-document-file.js +1 -1
- package/esm2015/lib/Pages/shared/word/helpers/xml-builder.js +1 -1
- package/esm2015/lib/Pages/shared/word/html-to-docx.js +12 -5
- package/esm2015/lib/Pages/shared/word/index.js +1 -1
- package/esm2015/lib/Pages/shared/word/namespaces.js +1 -1
- package/esm2015/lib/Pages/shared/word/schemas/content-types.js +24 -24
- package/esm2015/lib/Pages/shared/word/schemas/core.js +21 -21
- package/esm2015/lib/Pages/shared/word/schemas/document-rels.js +13 -13
- package/esm2015/lib/Pages/shared/word/schemas/document.template.js +103 -41
- package/esm2015/lib/Pages/shared/word/schemas/font-table.js +37 -37
- package/esm2015/lib/Pages/shared/word/schemas/generic-rels.js +9 -6
- package/esm2015/lib/Pages/shared/word/schemas/index.js +1 -1
- package/esm2015/lib/Pages/shared/word/schemas/numbering.js +14 -14
- package/esm2015/lib/Pages/shared/word/schemas/rels.js +8 -8
- package/esm2015/lib/Pages/shared/word/schemas/settings.js +10 -10
- package/esm2015/lib/Pages/shared/word/schemas/styles.js +143 -143
- package/esm2015/lib/Pages/shared/word/schemas/theme.js +195 -195
- package/esm2015/lib/Pages/shared/word/schemas/web-settings.js +6 -6
- package/esm2015/lib/Pages/shared/word/utils/color-conversion.js +1 -1
- package/esm2015/lib/Pages/shared/word/utils/list.js +1 -1
- package/esm2015/lib/Pages/shared/word/utils/unit-conversion.js +1 -1
- package/esm2015/lib/Pages/shared/word/utils/url.js +1 -1
- package/esm2015/lib/Pages/shared/word/utils/vnode.js +1 -1
- package/esm2015/lib/Pages/shared/word/word-work/templates/documentTemplate.js +42 -42
- package/esm2015/lib/Pages/shared/word/word-work/templates/index.js +1 -1
- package/esm2015/lib/Pages/shared/word/word-work/templates/mhtDocumentTemplate.js +19 -18
- package/esm2015/lib/Pages/shared/word/word-work/templates/mhtPartTemplate.js +7 -7
- package/esm2015/lib/Pages/shared/word/word-work/utils.js +3 -1
- package/esm2015/public-api.js +2 -1
- package/fesm2015/bnsights-bbsf-admin-portal.js +1617 -1359
- package/fesm2015/bnsights-bbsf-admin-portal.js.map +1 -1
- package/lib/Pages/shared/Enums/Enums.d.ts +4 -0
- package/lib/Pages/shared/components/survey/survey-info/survey-info.component.d.ts +1 -0
- package/lib/Pages/shared/components/survey/survey.component.d.ts +1 -0
- package/lib/Pages/shared/modules/survey.module.d.ts +3 -0
- package/lib/Pages/shared/word/schemas/content-types.d.ts +1 -1
- package/lib/Pages/shared/word/schemas/document.template.d.ts +3 -2
- package/lib/Pages/shared/word/schemas/generic-rels.d.ts +1 -1
- package/package.json +6 -1
- package/public-api.d.ts +1 -0
|
@@ -19710,29 +19710,29 @@ class DocumentExportDTO$1 {
|
|
|
19710
19710
|
class DocumentExportItemDTO$1 {
|
|
19711
19711
|
}
|
|
19712
19712
|
|
|
19713
|
-
const contentTypesXML$1 = `
|
|
19714
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19715
|
-
|
|
19716
|
-
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
|
19717
|
-
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
|
19718
|
-
<Default Extension="jpeg" ContentType="image/jpeg"/>
|
|
19719
|
-
<Default Extension="png" ContentType="image/png"/>
|
|
19720
|
-
<Default Extension="xml" ContentType="application/xml"/>
|
|
19721
|
-
<Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
19722
|
-
<Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
19723
|
-
<Override PartName="/word/_rels/
|
|
19724
|
-
<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
|
|
19725
|
-
<Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
|
|
19726
|
-
<Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/>
|
|
19727
|
-
<Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
|
|
19728
|
-
<Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>
|
|
19729
|
-
<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
|
|
19730
|
-
<Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
|
|
19731
|
-
<Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/>
|
|
19732
|
-
<Override PartName="/word/afchunk.mht" ContentType="message/rfc822"/>
|
|
19733
|
-
<Override PartName="/word/afchunkheader.mht" ContentType="message/rfc822"/>
|
|
19734
|
-
<Override PartName="/word/afchunkfooter.mht" ContentType="message/rfc822"/>
|
|
19735
|
-
</Types>
|
|
19713
|
+
const contentTypesXML$1 = `
|
|
19714
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19715
|
+
|
|
19716
|
+
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
|
19717
|
+
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
|
19718
|
+
<Default Extension="jpeg" ContentType="image/jpeg"/>
|
|
19719
|
+
<Default Extension="png" ContentType="image/png"/>
|
|
19720
|
+
<Default Extension="xml" ContentType="application/xml"/>
|
|
19721
|
+
<Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
19722
|
+
<Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
19723
|
+
<Override PartName="/word/_rels/footer1.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
19724
|
+
<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
|
|
19725
|
+
<Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
|
|
19726
|
+
<Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/>
|
|
19727
|
+
<Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
|
|
19728
|
+
<Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>
|
|
19729
|
+
<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
|
|
19730
|
+
<Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
|
|
19731
|
+
<Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/>
|
|
19732
|
+
<Override PartName="/word/afchunk.mht" ContentType="message/rfc822"/>
|
|
19733
|
+
<Override PartName="/word/afchunkheader.mht" ContentType="message/rfc822"/>
|
|
19734
|
+
<Override PartName="/word/afchunkfooter.mht" ContentType="message/rfc822"/>
|
|
19735
|
+
</Types>
|
|
19736
19736
|
`;
|
|
19737
19737
|
|
|
19738
19738
|
const namespaces$1 = {
|
|
@@ -19874,513 +19874,578 @@ const paragraphBordersObject$1 = {
|
|
|
19874
19874
|
const colorlessColors$1 = ['transparent', 'auto'];
|
|
19875
19875
|
const verticalAlignValues$1 = ['top', 'middle', 'bottom'];
|
|
19876
19876
|
|
|
19877
|
-
const generateCoreXML$1 = (title = '', subject = '', creator = applicationName$1, keywords = [applicationName$1], description = '', lastModifiedBy = applicationName$1, revision = 1, createdAt = new Date(), modifiedAt = new Date()) => `
|
|
19878
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19879
|
-
|
|
19880
|
-
<cp:coreProperties
|
|
19881
|
-
xmlns:cp="${namespaces$1.coreProperties}"
|
|
19882
|
-
xmlns:dc="${namespaces$1.dc}"
|
|
19883
|
-
xmlns:dcterms="${namespaces$1.dcterms}"
|
|
19884
|
-
xmlns:dcmitype="${namespaces$1.dcmitype}"
|
|
19885
|
-
xmlns:xsi="${namespaces$1.xsi}"
|
|
19886
|
-
>
|
|
19887
|
-
<dc:title>${title}</dc:title>
|
|
19888
|
-
<dc:subject>${subject}</dc:subject>
|
|
19889
|
-
<dc:creator>${creator}</dc:creator>
|
|
19877
|
+
const generateCoreXML$1 = (title = '', subject = '', creator = applicationName$1, keywords = [applicationName$1], description = '', lastModifiedBy = applicationName$1, revision = 1, createdAt = new Date(), modifiedAt = new Date()) => `
|
|
19878
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19879
|
+
|
|
19880
|
+
<cp:coreProperties
|
|
19881
|
+
xmlns:cp="${namespaces$1.coreProperties}"
|
|
19882
|
+
xmlns:dc="${namespaces$1.dc}"
|
|
19883
|
+
xmlns:dcterms="${namespaces$1.dcterms}"
|
|
19884
|
+
xmlns:dcmitype="${namespaces$1.dcmitype}"
|
|
19885
|
+
xmlns:xsi="${namespaces$1.xsi}"
|
|
19886
|
+
>
|
|
19887
|
+
<dc:title>${title}</dc:title>
|
|
19888
|
+
<dc:subject>${subject}</dc:subject>
|
|
19889
|
+
<dc:creator>${creator}</dc:creator>
|
|
19890
19890
|
${keywords && Array.isArray(keywords)
|
|
19891
19891
|
? `<cp:keywords>${keywords.join(', ')}</cp:keywords>`
|
|
19892
|
-
: ''}
|
|
19893
|
-
<dc:description>${description}</dc:description>
|
|
19894
|
-
<cp:lastModifiedBy>${lastModifiedBy}</cp:lastModifiedBy>
|
|
19895
|
-
<cp:revision>${revision}</cp:revision>
|
|
19896
|
-
<dcterms:created xsi:type="dcterms:W3CDTF">${createdAt instanceof Date ? createdAt.toISOString() : new Date().toISOString()}</dcterms:created>
|
|
19897
|
-
<dcterms:modified xsi:type="dcterms:W3CDTF">${modifiedAt instanceof Date ? modifiedAt.toISOString() : new Date().toISOString()}</dcterms:modified>
|
|
19898
|
-
</cp:coreProperties>
|
|
19892
|
+
: ''}
|
|
19893
|
+
<dc:description>${description}</dc:description>
|
|
19894
|
+
<cp:lastModifiedBy>${lastModifiedBy}</cp:lastModifiedBy>
|
|
19895
|
+
<cp:revision>${revision}</cp:revision>
|
|
19896
|
+
<dcterms:created xsi:type="dcterms:W3CDTF">${createdAt instanceof Date ? createdAt.toISOString() : new Date().toISOString()}</dcterms:created>
|
|
19897
|
+
<dcterms:modified xsi:type="dcterms:W3CDTF">${modifiedAt instanceof Date ? modifiedAt.toISOString() : new Date().toISOString()}</dcterms:modified>
|
|
19898
|
+
</cp:coreProperties>
|
|
19899
19899
|
`;
|
|
19900
19900
|
|
|
19901
|
-
const documentRelsXML$1 = `
|
|
19902
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19903
|
-
|
|
19904
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
19905
|
-
<Relationship Id="rId1" Type="${namespaces$1.numbering}" Target="numbering.xml"/>
|
|
19906
|
-
<Relationship Id="rId2" Type="${namespaces$1.styles}" Target="styles.xml"/>
|
|
19907
|
-
<Relationship Id="rId3" Type="${namespaces$1.settingsRelation}" Target="settings.xml"/>
|
|
19908
|
-
<Relationship Id="rId4" Type="${namespaces$1.webSettingsRelation}" Target="webSettings.xml"/>
|
|
19909
|
-
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunk.mht" Id="htmlChunk" />
|
|
19910
|
-
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkheader.mht" Id="htmlChunkHeader" />
|
|
19911
|
-
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkfooter.mht" Id="htmlChunkFooter" />
|
|
19912
|
-
</Relationships>
|
|
19901
|
+
const documentRelsXML$1 = `
|
|
19902
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19903
|
+
|
|
19904
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
19905
|
+
<Relationship Id="rId1" Type="${namespaces$1.numbering}" Target="numbering.xml"/>
|
|
19906
|
+
<Relationship Id="rId2" Type="${namespaces$1.styles}" Target="styles.xml"/>
|
|
19907
|
+
<Relationship Id="rId3" Type="${namespaces$1.settingsRelation}" Target="settings.xml"/>
|
|
19908
|
+
<Relationship Id="rId4" Type="${namespaces$1.webSettingsRelation}" Target="webSettings.xml"/>
|
|
19909
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunk.mht" Id="htmlChunk" />
|
|
19910
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkheader.mht" Id="htmlChunkHeader" />
|
|
19911
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkfooter.mht" Id="htmlChunkFooter" />
|
|
19912
|
+
</Relationships>
|
|
19913
19913
|
`;
|
|
19914
19914
|
|
|
19915
|
-
const relsXML$1 = `
|
|
19916
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19917
|
-
|
|
19918
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
19919
|
-
<Relationship Id="rId1" Type="${namespaces$1.officeDocumentRelation}" Target="word/document.xml"/>
|
|
19920
|
-
<Relationship Id="rId2" Type="${namespaces$1.corePropertiesRelation}" Target="docProps/core.xml"/>
|
|
19921
|
-
</Relationships>
|
|
19915
|
+
const relsXML$1 = `
|
|
19916
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19917
|
+
|
|
19918
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
19919
|
+
<Relationship Id="rId1" Type="${namespaces$1.officeDocumentRelation}" Target="word/document.xml"/>
|
|
19920
|
+
<Relationship Id="rId2" Type="${namespaces$1.corePropertiesRelation}" Target="docProps/core.xml"/>
|
|
19921
|
+
</Relationships>
|
|
19922
19922
|
`;
|
|
19923
19923
|
|
|
19924
|
-
const generateNumberingXMLTemplate$1 = () => `
|
|
19925
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19926
|
-
|
|
19927
|
-
<w:numbering
|
|
19928
|
-
xmlns:w="${namespaces$1.w}"
|
|
19929
|
-
xmlns:ve="${namespaces$1.ve}"
|
|
19930
|
-
xmlns:o="${namespaces$1.o}"
|
|
19931
|
-
xmlns:r="${namespaces$1.r}"
|
|
19932
|
-
xmlns:v="${namespaces$1.v}"
|
|
19933
|
-
xmlns:wp="${namespaces$1.wp}"
|
|
19934
|
-
xmlns:w10="${namespaces$1.w10}"
|
|
19935
|
-
xmlns:wne="${namespaces$1.wne}">
|
|
19936
|
-
</w:numbering>
|
|
19924
|
+
const generateNumberingXMLTemplate$1 = () => `
|
|
19925
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19926
|
+
|
|
19927
|
+
<w:numbering
|
|
19928
|
+
xmlns:w="${namespaces$1.w}"
|
|
19929
|
+
xmlns:ve="${namespaces$1.ve}"
|
|
19930
|
+
xmlns:o="${namespaces$1.o}"
|
|
19931
|
+
xmlns:r="${namespaces$1.r}"
|
|
19932
|
+
xmlns:v="${namespaces$1.v}"
|
|
19933
|
+
xmlns:wp="${namespaces$1.wp}"
|
|
19934
|
+
xmlns:w10="${namespaces$1.w10}"
|
|
19935
|
+
xmlns:wne="${namespaces$1.wne}">
|
|
19936
|
+
</w:numbering>
|
|
19937
19937
|
`;
|
|
19938
19938
|
|
|
19939
|
-
const generateStylesXML$1 = (font = defaultFont$1, fontSize = defaultFontSize$1, complexScriptFontSize = defaultFontSize$1) => `
|
|
19940
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19941
|
-
|
|
19942
|
-
<w:styles xmlns:w="${namespaces$1.w}" xmlns:r="${namespaces$1.r}">
|
|
19943
|
-
<w:docDefaults>
|
|
19944
|
-
<w:rPrDefault>
|
|
19945
|
-
<w:rPr>
|
|
19946
|
-
<w:rFonts w:ascii="${font}" w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi" />
|
|
19947
|
-
<w:sz w:val="${fontSize}" />
|
|
19948
|
-
<w:szCs w:val="${complexScriptFontSize}" />
|
|
19949
|
-
<w:lang w:val="en-US" w:eastAsia="en-US" w:bidi="ar-SA" />
|
|
19950
|
-
</w:rPr>
|
|
19951
|
-
</w:rPrDefault>
|
|
19952
|
-
<w:pPrDefault>
|
|
19953
|
-
<w:pPr>
|
|
19954
|
-
<w:spacing w:after="120" w:line="240" w:lineRule="atLeast" />
|
|
19955
|
-
</w:pPr>
|
|
19956
|
-
</w:pPrDefault>
|
|
19957
|
-
</w:docDefaults>
|
|
19958
|
-
<w:style w:type="character" w:styleId="Hyperlink">
|
|
19959
|
-
<w:name w:val="Hyperlink" />
|
|
19960
|
-
<w:rPr>
|
|
19961
|
-
<w:color w:val="0000FF" />
|
|
19962
|
-
<w:u w:val="single" />
|
|
19963
|
-
</w:rPr>
|
|
19964
|
-
</w:style>
|
|
19965
|
-
<w:style w:type="paragraph" w:styleId="Heading1">
|
|
19966
|
-
<w:name w:val="heading 1" />
|
|
19967
|
-
<w:basedOn w:val="Normal" />
|
|
19968
|
-
<w:next w:val="Normal" />
|
|
19969
|
-
<w:uiPriority w:val="9" />
|
|
19970
|
-
<w:qFormat />
|
|
19971
|
-
<w:pPr>
|
|
19972
|
-
<w:keepNext />
|
|
19973
|
-
<w:keepLines />
|
|
19974
|
-
<w:spacing w:before="480" />
|
|
19975
|
-
<w:outlineLvl w:val="0" />
|
|
19976
|
-
</w:pPr>
|
|
19977
|
-
<w:rPr>
|
|
19978
|
-
<w:b />
|
|
19979
|
-
<w:sz w:val="48" />
|
|
19980
|
-
<w:szCs w:val="48" />
|
|
19981
|
-
</w:rPr>
|
|
19982
|
-
</w:style>
|
|
19983
|
-
<w:style w:type="paragraph" w:styleId="Heading2">
|
|
19984
|
-
<w:name w:val="heading 2" />
|
|
19985
|
-
<w:basedOn w:val="Normal" />
|
|
19986
|
-
<w:next w:val="Normal" />
|
|
19987
|
-
<w:uiPriority w:val="9" />
|
|
19988
|
-
<w:unhideWhenUsed />
|
|
19989
|
-
<w:qFormat />
|
|
19990
|
-
<w:pPr>
|
|
19991
|
-
<w:keepNext />
|
|
19992
|
-
<w:keepLines />
|
|
19993
|
-
<w:spacing w:before="360" w:after="80" />
|
|
19994
|
-
<w:outlineLvl w:val="1" />
|
|
19995
|
-
</w:pPr>
|
|
19996
|
-
<w:rPr>
|
|
19997
|
-
<w:b />
|
|
19998
|
-
<w:sz w:val="36" />
|
|
19999
|
-
<w:szCs w:val="36" />
|
|
20000
|
-
</w:rPr>
|
|
20001
|
-
</w:style>
|
|
20002
|
-
<w:style w:type="paragraph" w:styleId="Heading3">
|
|
20003
|
-
<w:name w:val="heading 3" />
|
|
20004
|
-
<w:basedOn w:val="Normal" />
|
|
20005
|
-
<w:next w:val="Normal" />
|
|
20006
|
-
<w:uiPriority w:val="9" />
|
|
20007
|
-
<w:semiHidden />
|
|
20008
|
-
<w:unhideWhenUsed />
|
|
20009
|
-
<w:qFormat />
|
|
20010
|
-
<w:pPr>
|
|
20011
|
-
<w:keepNext />
|
|
20012
|
-
<w:keepLines />
|
|
20013
|
-
<w:spacing w:before="280" w:after="80" />
|
|
20014
|
-
<w:outlineLvl w:val="2" />
|
|
20015
|
-
</w:pPr>
|
|
20016
|
-
<w:rPr>
|
|
20017
|
-
<w:b />
|
|
20018
|
-
<w:sz w:val="28" />
|
|
20019
|
-
<w:szCs w:val="28" />
|
|
20020
|
-
</w:rPr>
|
|
20021
|
-
</w:style>
|
|
20022
|
-
<w:style w:type="paragraph" w:styleId="Heading4">
|
|
20023
|
-
<w:name w:val="heading 4" />
|
|
20024
|
-
<w:basedOn w:val="Normal" />
|
|
20025
|
-
<w:next w:val="Normal" />
|
|
20026
|
-
<w:uiPriority w:val="9" />
|
|
20027
|
-
<w:semiHidden />
|
|
20028
|
-
<w:unhideWhenUsed />
|
|
20029
|
-
<w:qFormat />
|
|
20030
|
-
<w:pPr>
|
|
20031
|
-
<w:keepNext />
|
|
20032
|
-
<w:keepLines />
|
|
20033
|
-
<w:spacing w:before="240" w:after="40" />
|
|
20034
|
-
<w:outlineLvl w:val="3" />
|
|
20035
|
-
</w:pPr>
|
|
20036
|
-
<w:rPr>
|
|
20037
|
-
<w:b />
|
|
20038
|
-
<w:sz w:val="24" />
|
|
20039
|
-
<w:szCs w:val="24" />
|
|
20040
|
-
</w:rPr>
|
|
20041
|
-
</w:style>
|
|
20042
|
-
<w:style w:type="paragraph" w:styleId="Heading5">
|
|
20043
|
-
<w:name w:val="heading 5" />
|
|
20044
|
-
<w:basedOn w:val="Normal" />
|
|
20045
|
-
<w:next w:val="Normal" />
|
|
20046
|
-
<w:uiPriority w:val="9" />
|
|
20047
|
-
<w:semiHidden />
|
|
20048
|
-
<w:unhideWhenUsed />
|
|
20049
|
-
<w:qFormat />
|
|
20050
|
-
<w:pPr>
|
|
20051
|
-
<w:keepNext />
|
|
20052
|
-
<w:keepLines />
|
|
20053
|
-
<w:spacing w:before="220" w:after="40" />
|
|
20054
|
-
<w:outlineLvl w:val="4" />
|
|
20055
|
-
</w:pPr>
|
|
20056
|
-
<w:rPr>
|
|
20057
|
-
<w:b />
|
|
20058
|
-
</w:rPr>
|
|
20059
|
-
</w:style>
|
|
20060
|
-
<w:style w:type="paragraph" w:styleId="Heading6">
|
|
20061
|
-
<w:name w:val="heading 6" />
|
|
20062
|
-
<w:basedOn w:val="Normal" />
|
|
20063
|
-
<w:next w:val="Normal" />
|
|
20064
|
-
<w:uiPriority w:val="9" />
|
|
20065
|
-
<w:semiHidden />
|
|
20066
|
-
<w:unhideWhenUsed />
|
|
20067
|
-
<w:qFormat />
|
|
20068
|
-
<w:pPr>
|
|
20069
|
-
<w:keepNext />
|
|
20070
|
-
<w:keepLines />
|
|
20071
|
-
<w:spacing w:before="200" w:after="40" />
|
|
20072
|
-
<w:outlineLvl w:val="5" />
|
|
20073
|
-
</w:pPr>
|
|
20074
|
-
<w:rPr>
|
|
20075
|
-
<w:b />
|
|
20076
|
-
<w:sz w:val="20" />
|
|
20077
|
-
<w:szCs w:val="20" />
|
|
20078
|
-
</w:rPr>
|
|
20079
|
-
</w:style>
|
|
20080
|
-
</w:styles>
|
|
19939
|
+
const generateStylesXML$1 = (font = defaultFont$1, fontSize = defaultFontSize$1, complexScriptFontSize = defaultFontSize$1) => `
|
|
19940
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
19941
|
+
|
|
19942
|
+
<w:styles xmlns:w="${namespaces$1.w}" xmlns:r="${namespaces$1.r}">
|
|
19943
|
+
<w:docDefaults>
|
|
19944
|
+
<w:rPrDefault>
|
|
19945
|
+
<w:rPr>
|
|
19946
|
+
<w:rFonts w:ascii="${font}" w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi" />
|
|
19947
|
+
<w:sz w:val="${fontSize}" />
|
|
19948
|
+
<w:szCs w:val="${complexScriptFontSize}" />
|
|
19949
|
+
<w:lang w:val="en-US" w:eastAsia="en-US" w:bidi="ar-SA" />
|
|
19950
|
+
</w:rPr>
|
|
19951
|
+
</w:rPrDefault>
|
|
19952
|
+
<w:pPrDefault>
|
|
19953
|
+
<w:pPr>
|
|
19954
|
+
<w:spacing w:after="120" w:line="240" w:lineRule="atLeast" />
|
|
19955
|
+
</w:pPr>
|
|
19956
|
+
</w:pPrDefault>
|
|
19957
|
+
</w:docDefaults>
|
|
19958
|
+
<w:style w:type="character" w:styleId="Hyperlink">
|
|
19959
|
+
<w:name w:val="Hyperlink" />
|
|
19960
|
+
<w:rPr>
|
|
19961
|
+
<w:color w:val="0000FF" />
|
|
19962
|
+
<w:u w:val="single" />
|
|
19963
|
+
</w:rPr>
|
|
19964
|
+
</w:style>
|
|
19965
|
+
<w:style w:type="paragraph" w:styleId="Heading1">
|
|
19966
|
+
<w:name w:val="heading 1" />
|
|
19967
|
+
<w:basedOn w:val="Normal" />
|
|
19968
|
+
<w:next w:val="Normal" />
|
|
19969
|
+
<w:uiPriority w:val="9" />
|
|
19970
|
+
<w:qFormat />
|
|
19971
|
+
<w:pPr>
|
|
19972
|
+
<w:keepNext />
|
|
19973
|
+
<w:keepLines />
|
|
19974
|
+
<w:spacing w:before="480" />
|
|
19975
|
+
<w:outlineLvl w:val="0" />
|
|
19976
|
+
</w:pPr>
|
|
19977
|
+
<w:rPr>
|
|
19978
|
+
<w:b />
|
|
19979
|
+
<w:sz w:val="48" />
|
|
19980
|
+
<w:szCs w:val="48" />
|
|
19981
|
+
</w:rPr>
|
|
19982
|
+
</w:style>
|
|
19983
|
+
<w:style w:type="paragraph" w:styleId="Heading2">
|
|
19984
|
+
<w:name w:val="heading 2" />
|
|
19985
|
+
<w:basedOn w:val="Normal" />
|
|
19986
|
+
<w:next w:val="Normal" />
|
|
19987
|
+
<w:uiPriority w:val="9" />
|
|
19988
|
+
<w:unhideWhenUsed />
|
|
19989
|
+
<w:qFormat />
|
|
19990
|
+
<w:pPr>
|
|
19991
|
+
<w:keepNext />
|
|
19992
|
+
<w:keepLines />
|
|
19993
|
+
<w:spacing w:before="360" w:after="80" />
|
|
19994
|
+
<w:outlineLvl w:val="1" />
|
|
19995
|
+
</w:pPr>
|
|
19996
|
+
<w:rPr>
|
|
19997
|
+
<w:b />
|
|
19998
|
+
<w:sz w:val="36" />
|
|
19999
|
+
<w:szCs w:val="36" />
|
|
20000
|
+
</w:rPr>
|
|
20001
|
+
</w:style>
|
|
20002
|
+
<w:style w:type="paragraph" w:styleId="Heading3">
|
|
20003
|
+
<w:name w:val="heading 3" />
|
|
20004
|
+
<w:basedOn w:val="Normal" />
|
|
20005
|
+
<w:next w:val="Normal" />
|
|
20006
|
+
<w:uiPriority w:val="9" />
|
|
20007
|
+
<w:semiHidden />
|
|
20008
|
+
<w:unhideWhenUsed />
|
|
20009
|
+
<w:qFormat />
|
|
20010
|
+
<w:pPr>
|
|
20011
|
+
<w:keepNext />
|
|
20012
|
+
<w:keepLines />
|
|
20013
|
+
<w:spacing w:before="280" w:after="80" />
|
|
20014
|
+
<w:outlineLvl w:val="2" />
|
|
20015
|
+
</w:pPr>
|
|
20016
|
+
<w:rPr>
|
|
20017
|
+
<w:b />
|
|
20018
|
+
<w:sz w:val="28" />
|
|
20019
|
+
<w:szCs w:val="28" />
|
|
20020
|
+
</w:rPr>
|
|
20021
|
+
</w:style>
|
|
20022
|
+
<w:style w:type="paragraph" w:styleId="Heading4">
|
|
20023
|
+
<w:name w:val="heading 4" />
|
|
20024
|
+
<w:basedOn w:val="Normal" />
|
|
20025
|
+
<w:next w:val="Normal" />
|
|
20026
|
+
<w:uiPriority w:val="9" />
|
|
20027
|
+
<w:semiHidden />
|
|
20028
|
+
<w:unhideWhenUsed />
|
|
20029
|
+
<w:qFormat />
|
|
20030
|
+
<w:pPr>
|
|
20031
|
+
<w:keepNext />
|
|
20032
|
+
<w:keepLines />
|
|
20033
|
+
<w:spacing w:before="240" w:after="40" />
|
|
20034
|
+
<w:outlineLvl w:val="3" />
|
|
20035
|
+
</w:pPr>
|
|
20036
|
+
<w:rPr>
|
|
20037
|
+
<w:b />
|
|
20038
|
+
<w:sz w:val="24" />
|
|
20039
|
+
<w:szCs w:val="24" />
|
|
20040
|
+
</w:rPr>
|
|
20041
|
+
</w:style>
|
|
20042
|
+
<w:style w:type="paragraph" w:styleId="Heading5">
|
|
20043
|
+
<w:name w:val="heading 5" />
|
|
20044
|
+
<w:basedOn w:val="Normal" />
|
|
20045
|
+
<w:next w:val="Normal" />
|
|
20046
|
+
<w:uiPriority w:val="9" />
|
|
20047
|
+
<w:semiHidden />
|
|
20048
|
+
<w:unhideWhenUsed />
|
|
20049
|
+
<w:qFormat />
|
|
20050
|
+
<w:pPr>
|
|
20051
|
+
<w:keepNext />
|
|
20052
|
+
<w:keepLines />
|
|
20053
|
+
<w:spacing w:before="220" w:after="40" />
|
|
20054
|
+
<w:outlineLvl w:val="4" />
|
|
20055
|
+
</w:pPr>
|
|
20056
|
+
<w:rPr>
|
|
20057
|
+
<w:b />
|
|
20058
|
+
</w:rPr>
|
|
20059
|
+
</w:style>
|
|
20060
|
+
<w:style w:type="paragraph" w:styleId="Heading6">
|
|
20061
|
+
<w:name w:val="heading 6" />
|
|
20062
|
+
<w:basedOn w:val="Normal" />
|
|
20063
|
+
<w:next w:val="Normal" />
|
|
20064
|
+
<w:uiPriority w:val="9" />
|
|
20065
|
+
<w:semiHidden />
|
|
20066
|
+
<w:unhideWhenUsed />
|
|
20067
|
+
<w:qFormat />
|
|
20068
|
+
<w:pPr>
|
|
20069
|
+
<w:keepNext />
|
|
20070
|
+
<w:keepLines />
|
|
20071
|
+
<w:spacing w:before="200" w:after="40" />
|
|
20072
|
+
<w:outlineLvl w:val="5" />
|
|
20073
|
+
</w:pPr>
|
|
20074
|
+
<w:rPr>
|
|
20075
|
+
<w:b />
|
|
20076
|
+
<w:sz w:val="20" />
|
|
20077
|
+
<w:szCs w:val="20" />
|
|
20078
|
+
</w:rPr>
|
|
20079
|
+
</w:style>
|
|
20080
|
+
</w:styles>
|
|
20081
20081
|
`;
|
|
20082
20082
|
|
|
20083
|
-
const fontTableXML$1 = `
|
|
20084
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20085
|
-
|
|
20086
|
-
<w:fonts
|
|
20087
|
-
xmlns:r="${namespaces$1.r}"
|
|
20088
|
-
xmlns:w="${namespaces$1.w}"
|
|
20089
|
-
>
|
|
20090
|
-
<w:font w:name="Symbol">
|
|
20091
|
-
<w:panose1 w:val="05050102010706020507"/>
|
|
20092
|
-
<w:charset w:val="02"/>
|
|
20093
|
-
<w:family w:val="decorative"/>
|
|
20094
|
-
<w:pitch w:val="variable"/>
|
|
20095
|
-
<w:sig w:usb0="00000000" w:usb1="10000000" w:usb2="00000000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000"/>
|
|
20096
|
-
</w:font>
|
|
20097
|
-
<w:font w:name="Calibri">
|
|
20098
|
-
<w:panose1 w:val="020F0502020204030204"/>
|
|
20099
|
-
<w:charset w:val="00"/>
|
|
20100
|
-
<w:family w:val="swiss"/>
|
|
20101
|
-
<w:pitch w:val="variable"/>
|
|
20102
|
-
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
20103
|
-
</w:font>
|
|
20104
|
-
<w:font w:name="Times New Roman">
|
|
20105
|
-
<w:panose1 w:val="02020603050405020304"/>
|
|
20106
|
-
<w:charset w:val="00"/>
|
|
20107
|
-
<w:family w:val="roman"/>
|
|
20108
|
-
<w:pitch w:val="variable"/>
|
|
20109
|
-
<w:sig w:usb0="E0002EFF" w:usb1="C000785B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
20110
|
-
</w:font>
|
|
20111
|
-
<w:font w:name="Calibri Light">
|
|
20112
|
-
<w:panose1 w:val="020F0302020204030204"/>
|
|
20113
|
-
<w:charset w:val="00"/>
|
|
20114
|
-
<w:family w:val="swiss"/>
|
|
20115
|
-
<w:pitch w:val="variable"/>
|
|
20116
|
-
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
20117
|
-
</w:font>
|
|
20118
|
-
</w:fonts>
|
|
20083
|
+
const fontTableXML$1 = `
|
|
20084
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20085
|
+
|
|
20086
|
+
<w:fonts
|
|
20087
|
+
xmlns:r="${namespaces$1.r}"
|
|
20088
|
+
xmlns:w="${namespaces$1.w}"
|
|
20089
|
+
>
|
|
20090
|
+
<w:font w:name="Symbol">
|
|
20091
|
+
<w:panose1 w:val="05050102010706020507"/>
|
|
20092
|
+
<w:charset w:val="02"/>
|
|
20093
|
+
<w:family w:val="decorative"/>
|
|
20094
|
+
<w:pitch w:val="variable"/>
|
|
20095
|
+
<w:sig w:usb0="00000000" w:usb1="10000000" w:usb2="00000000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000"/>
|
|
20096
|
+
</w:font>
|
|
20097
|
+
<w:font w:name="Calibri">
|
|
20098
|
+
<w:panose1 w:val="020F0502020204030204"/>
|
|
20099
|
+
<w:charset w:val="00"/>
|
|
20100
|
+
<w:family w:val="swiss"/>
|
|
20101
|
+
<w:pitch w:val="variable"/>
|
|
20102
|
+
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
20103
|
+
</w:font>
|
|
20104
|
+
<w:font w:name="Times New Roman">
|
|
20105
|
+
<w:panose1 w:val="02020603050405020304"/>
|
|
20106
|
+
<w:charset w:val="00"/>
|
|
20107
|
+
<w:family w:val="roman"/>
|
|
20108
|
+
<w:pitch w:val="variable"/>
|
|
20109
|
+
<w:sig w:usb0="E0002EFF" w:usb1="C000785B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
20110
|
+
</w:font>
|
|
20111
|
+
<w:font w:name="Calibri Light">
|
|
20112
|
+
<w:panose1 w:val="020F0302020204030204"/>
|
|
20113
|
+
<w:charset w:val="00"/>
|
|
20114
|
+
<w:family w:val="swiss"/>
|
|
20115
|
+
<w:pitch w:val="variable"/>
|
|
20116
|
+
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
20117
|
+
</w:font>
|
|
20118
|
+
</w:fonts>
|
|
20119
20119
|
`;
|
|
20120
20120
|
|
|
20121
|
-
const generateThemeXML$1 = (font = defaultFont$1) => `
|
|
20122
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20123
|
-
|
|
20124
|
-
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
|
|
20125
|
-
<a:themeElements>
|
|
20126
|
-
<a:clrScheme name="Office">
|
|
20127
|
-
<a:dk1>
|
|
20128
|
-
<a:sysClr val="windowText" lastClr="000000"/>
|
|
20129
|
-
</a:dk1>
|
|
20130
|
-
<a:lt1>
|
|
20131
|
-
<a:sysClr val="window" lastClr="FFFFFF"/>
|
|
20132
|
-
</a:lt1>
|
|
20133
|
-
<a:dk2>
|
|
20134
|
-
<a:srgbClr val="44546A"/>
|
|
20135
|
-
</a:dk2>
|
|
20136
|
-
<a:lt2>
|
|
20137
|
-
<a:srgbClr val="E7E6E6"/>
|
|
20138
|
-
</a:lt2>
|
|
20139
|
-
<a:accent1>
|
|
20140
|
-
<a:srgbClr val="4472C4"/>
|
|
20141
|
-
</a:accent1>
|
|
20142
|
-
<a:accent2>
|
|
20143
|
-
<a:srgbClr val="ED7D31"/>
|
|
20144
|
-
</a:accent2>
|
|
20145
|
-
<a:accent3>
|
|
20146
|
-
<a:srgbClr val="A5A5A5"/>
|
|
20147
|
-
</a:accent3>
|
|
20148
|
-
<a:accent4>
|
|
20149
|
-
<a:srgbClr val="FFC000"/>
|
|
20150
|
-
</a:accent4>
|
|
20151
|
-
<a:accent5>
|
|
20152
|
-
<a:srgbClr val="5B9BD5"/>
|
|
20153
|
-
</a:accent5>
|
|
20154
|
-
<a:accent6>
|
|
20155
|
-
<a:srgbClr val="70AD47"/>
|
|
20156
|
-
</a:accent6>
|
|
20157
|
-
<a:hlink>
|
|
20158
|
-
<a:srgbClr val="0563C1"/>
|
|
20159
|
-
</a:hlink>
|
|
20160
|
-
<a:folHlink>
|
|
20161
|
-
<a:srgbClr val="954F72"/>
|
|
20162
|
-
</a:folHlink>
|
|
20163
|
-
</a:clrScheme>
|
|
20164
|
-
<a:fontScheme name="Office">
|
|
20165
|
-
<a:majorFont>
|
|
20166
|
-
<a:latin typeface="${font}"/>
|
|
20167
|
-
<a:ea typeface="${font}"/>
|
|
20168
|
-
<a:cs typeface=""/>
|
|
20169
|
-
</a:majorFont>
|
|
20170
|
-
<a:minorFont>
|
|
20171
|
-
<a:latin typeface="${font}"/>
|
|
20172
|
-
<a:ea typeface="${font}"/>
|
|
20173
|
-
<a:cs typeface=""/>
|
|
20174
|
-
</a:minorFont>
|
|
20175
|
-
</a:fontScheme>
|
|
20176
|
-
<a:fmtScheme name="Office">
|
|
20177
|
-
<a:fillStyleLst>
|
|
20178
|
-
<a:solidFill>
|
|
20179
|
-
<a:schemeClr val="phClr"/>
|
|
20180
|
-
</a:solidFill>
|
|
20181
|
-
<a:gradFill rotWithShape="1">
|
|
20182
|
-
<a:gsLst>
|
|
20183
|
-
<a:gs pos="0">
|
|
20184
|
-
<a:schemeClr val="phClr">
|
|
20185
|
-
<a:lumMod val="110000"/>
|
|
20186
|
-
<a:satMod val="105000"/>
|
|
20187
|
-
<a:tint val="67000"/>
|
|
20188
|
-
</a:schemeClr>
|
|
20189
|
-
</a:gs>
|
|
20190
|
-
<a:gs pos="50000">
|
|
20191
|
-
<a:schemeClr val="phClr">
|
|
20192
|
-
<a:lumMod val="105000"/>
|
|
20193
|
-
<a:satMod val="103000"/>
|
|
20194
|
-
<a:tint val="73000"/>
|
|
20195
|
-
</a:schemeClr>
|
|
20196
|
-
</a:gs>
|
|
20197
|
-
<a:gs pos="100000">
|
|
20198
|
-
<a:schemeClr val="phClr">
|
|
20199
|
-
<a:lumMod val="105000"/>
|
|
20200
|
-
<a:satMod val="109000"/>
|
|
20201
|
-
<a:tint val="81000"/>
|
|
20202
|
-
</a:schemeClr>
|
|
20203
|
-
</a:gs>
|
|
20204
|
-
</a:gsLst>
|
|
20205
|
-
<a:lin ang="5400000" scaled="0"/>
|
|
20206
|
-
</a:gradFill>
|
|
20207
|
-
<a:gradFill rotWithShape="1">
|
|
20208
|
-
<a:gsLst>
|
|
20209
|
-
<a:gs pos="0">
|
|
20210
|
-
<a:schemeClr val="phClr">
|
|
20211
|
-
<a:satMod val="103000"/>
|
|
20212
|
-
<a:lumMod val="102000"/>
|
|
20213
|
-
<a:tint val="94000"/>
|
|
20214
|
-
</a:schemeClr>
|
|
20215
|
-
</a:gs>
|
|
20216
|
-
<a:gs pos="50000">
|
|
20217
|
-
<a:schemeClr val="phClr">
|
|
20218
|
-
<a:satMod val="110000"/>
|
|
20219
|
-
<a:lumMod val="100000"/>
|
|
20220
|
-
<a:shade val="100000"/>
|
|
20221
|
-
</a:schemeClr>
|
|
20222
|
-
</a:gs>
|
|
20223
|
-
<a:gs pos="100000">
|
|
20224
|
-
<a:schemeClr val="phClr">
|
|
20225
|
-
<a:lumMod val="99000"/>
|
|
20226
|
-
<a:satMod val="120000"/>
|
|
20227
|
-
<a:shade val="78000"/>
|
|
20228
|
-
</a:schemeClr>
|
|
20229
|
-
</a:gs>
|
|
20230
|
-
</a:gsLst>
|
|
20231
|
-
<a:lin ang="5400000" scaled="0"/>
|
|
20232
|
-
</a:gradFill>
|
|
20233
|
-
</a:fillStyleLst>
|
|
20234
|
-
<a:lnStyleLst>
|
|
20235
|
-
<a:ln w="6350" cap="flat" cmpd="sng" algn="ctr">
|
|
20236
|
-
<a:solidFill>
|
|
20237
|
-
<a:schemeClr val="phClr"/>
|
|
20238
|
-
</a:solidFill>
|
|
20239
|
-
<a:prstDash val="solid"/>
|
|
20240
|
-
<a:miter lim="800000"/>
|
|
20241
|
-
</a:ln>
|
|
20242
|
-
<a:ln w="12700" cap="flat" cmpd="sng" algn="ctr">
|
|
20243
|
-
<a:solidFill>
|
|
20244
|
-
<a:schemeClr val="phClr"/>
|
|
20245
|
-
</a:solidFill>
|
|
20246
|
-
<a:prstDash val="solid"/>
|
|
20247
|
-
<a:miter lim="800000"/>
|
|
20248
|
-
</a:ln>
|
|
20249
|
-
<a:ln w="19050" cap="flat" cmpd="sng" algn="ctr">
|
|
20250
|
-
<a:solidFill>
|
|
20251
|
-
<a:schemeClr val="phClr"/>
|
|
20252
|
-
</a:solidFill>
|
|
20253
|
-
<a:prstDash val="solid"/>
|
|
20254
|
-
<a:miter lim="800000"/>
|
|
20255
|
-
</a:ln>
|
|
20256
|
-
</a:lnStyleLst>
|
|
20257
|
-
<a:effectStyleLst>
|
|
20258
|
-
<a:effectStyle>
|
|
20259
|
-
<a:effectLst/>
|
|
20260
|
-
</a:effectStyle>
|
|
20261
|
-
<a:effectStyle>
|
|
20262
|
-
<a:effectLst/>
|
|
20263
|
-
</a:effectStyle>
|
|
20264
|
-
<a:effectStyle>
|
|
20265
|
-
<a:effectLst>
|
|
20266
|
-
<a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0">
|
|
20267
|
-
<a:srgbClr val="000000">
|
|
20268
|
-
<a:alpha val="63000"/>
|
|
20269
|
-
</a:srgbClr>
|
|
20270
|
-
</a:outerShdw>
|
|
20271
|
-
</a:effectLst>
|
|
20272
|
-
</a:effectStyle>
|
|
20273
|
-
</a:effectStyleLst>
|
|
20274
|
-
<a:bgFillStyleLst>
|
|
20275
|
-
<a:solidFill>
|
|
20276
|
-
<a:schemeClr val="phClr"/>
|
|
20277
|
-
</a:solidFill>
|
|
20278
|
-
<a:solidFill>
|
|
20279
|
-
<a:schemeClr val="phClr">
|
|
20280
|
-
<a:tint val="95000"/>
|
|
20281
|
-
<a:satMod val="170000"/>
|
|
20282
|
-
</a:schemeClr>
|
|
20283
|
-
</a:solidFill>
|
|
20284
|
-
<a:gradFill rotWithShape="1">
|
|
20285
|
-
<a:gsLst>
|
|
20286
|
-
<a:gs pos="0">
|
|
20287
|
-
<a:schemeClr val="phClr">
|
|
20288
|
-
<a:tint val="93000"/>
|
|
20289
|
-
<a:satMod val="150000"/>
|
|
20290
|
-
<a:shade val="98000"/>
|
|
20291
|
-
<a:lumMod val="102000"/>
|
|
20292
|
-
</a:schemeClr>
|
|
20293
|
-
</a:gs>
|
|
20294
|
-
<a:gs pos="50000">
|
|
20295
|
-
<a:schemeClr val="phClr">
|
|
20296
|
-
<a:tint val="98000"/>
|
|
20297
|
-
<a:satMod val="130000"/>
|
|
20298
|
-
<a:shade val="90000"/>
|
|
20299
|
-
<a:lumMod val="103000"/>
|
|
20300
|
-
</a:schemeClr>
|
|
20301
|
-
</a:gs>
|
|
20302
|
-
<a:gs pos="100000">
|
|
20303
|
-
<a:schemeClr val="phClr">
|
|
20304
|
-
<a:shade val="63000"/>
|
|
20305
|
-
<a:satMod val="120000"/>
|
|
20306
|
-
</a:schemeClr>
|
|
20307
|
-
</a:gs>
|
|
20308
|
-
</a:gsLst>
|
|
20309
|
-
<a:lin ang="5400000" scaled="0"/>
|
|
20310
|
-
</a:gradFill>
|
|
20311
|
-
</a:bgFillStyleLst>
|
|
20312
|
-
</a:fmtScheme>
|
|
20313
|
-
</a:themeElements>
|
|
20314
|
-
</a:theme>
|
|
20121
|
+
const generateThemeXML$1 = (font = defaultFont$1) => `
|
|
20122
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20123
|
+
|
|
20124
|
+
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
|
|
20125
|
+
<a:themeElements>
|
|
20126
|
+
<a:clrScheme name="Office">
|
|
20127
|
+
<a:dk1>
|
|
20128
|
+
<a:sysClr val="windowText" lastClr="000000"/>
|
|
20129
|
+
</a:dk1>
|
|
20130
|
+
<a:lt1>
|
|
20131
|
+
<a:sysClr val="window" lastClr="FFFFFF"/>
|
|
20132
|
+
</a:lt1>
|
|
20133
|
+
<a:dk2>
|
|
20134
|
+
<a:srgbClr val="44546A"/>
|
|
20135
|
+
</a:dk2>
|
|
20136
|
+
<a:lt2>
|
|
20137
|
+
<a:srgbClr val="E7E6E6"/>
|
|
20138
|
+
</a:lt2>
|
|
20139
|
+
<a:accent1>
|
|
20140
|
+
<a:srgbClr val="4472C4"/>
|
|
20141
|
+
</a:accent1>
|
|
20142
|
+
<a:accent2>
|
|
20143
|
+
<a:srgbClr val="ED7D31"/>
|
|
20144
|
+
</a:accent2>
|
|
20145
|
+
<a:accent3>
|
|
20146
|
+
<a:srgbClr val="A5A5A5"/>
|
|
20147
|
+
</a:accent3>
|
|
20148
|
+
<a:accent4>
|
|
20149
|
+
<a:srgbClr val="FFC000"/>
|
|
20150
|
+
</a:accent4>
|
|
20151
|
+
<a:accent5>
|
|
20152
|
+
<a:srgbClr val="5B9BD5"/>
|
|
20153
|
+
</a:accent5>
|
|
20154
|
+
<a:accent6>
|
|
20155
|
+
<a:srgbClr val="70AD47"/>
|
|
20156
|
+
</a:accent6>
|
|
20157
|
+
<a:hlink>
|
|
20158
|
+
<a:srgbClr val="0563C1"/>
|
|
20159
|
+
</a:hlink>
|
|
20160
|
+
<a:folHlink>
|
|
20161
|
+
<a:srgbClr val="954F72"/>
|
|
20162
|
+
</a:folHlink>
|
|
20163
|
+
</a:clrScheme>
|
|
20164
|
+
<a:fontScheme name="Office">
|
|
20165
|
+
<a:majorFont>
|
|
20166
|
+
<a:latin typeface="${font}"/>
|
|
20167
|
+
<a:ea typeface="${font}"/>
|
|
20168
|
+
<a:cs typeface=""/>
|
|
20169
|
+
</a:majorFont>
|
|
20170
|
+
<a:minorFont>
|
|
20171
|
+
<a:latin typeface="${font}"/>
|
|
20172
|
+
<a:ea typeface="${font}"/>
|
|
20173
|
+
<a:cs typeface=""/>
|
|
20174
|
+
</a:minorFont>
|
|
20175
|
+
</a:fontScheme>
|
|
20176
|
+
<a:fmtScheme name="Office">
|
|
20177
|
+
<a:fillStyleLst>
|
|
20178
|
+
<a:solidFill>
|
|
20179
|
+
<a:schemeClr val="phClr"/>
|
|
20180
|
+
</a:solidFill>
|
|
20181
|
+
<a:gradFill rotWithShape="1">
|
|
20182
|
+
<a:gsLst>
|
|
20183
|
+
<a:gs pos="0">
|
|
20184
|
+
<a:schemeClr val="phClr">
|
|
20185
|
+
<a:lumMod val="110000"/>
|
|
20186
|
+
<a:satMod val="105000"/>
|
|
20187
|
+
<a:tint val="67000"/>
|
|
20188
|
+
</a:schemeClr>
|
|
20189
|
+
</a:gs>
|
|
20190
|
+
<a:gs pos="50000">
|
|
20191
|
+
<a:schemeClr val="phClr">
|
|
20192
|
+
<a:lumMod val="105000"/>
|
|
20193
|
+
<a:satMod val="103000"/>
|
|
20194
|
+
<a:tint val="73000"/>
|
|
20195
|
+
</a:schemeClr>
|
|
20196
|
+
</a:gs>
|
|
20197
|
+
<a:gs pos="100000">
|
|
20198
|
+
<a:schemeClr val="phClr">
|
|
20199
|
+
<a:lumMod val="105000"/>
|
|
20200
|
+
<a:satMod val="109000"/>
|
|
20201
|
+
<a:tint val="81000"/>
|
|
20202
|
+
</a:schemeClr>
|
|
20203
|
+
</a:gs>
|
|
20204
|
+
</a:gsLst>
|
|
20205
|
+
<a:lin ang="5400000" scaled="0"/>
|
|
20206
|
+
</a:gradFill>
|
|
20207
|
+
<a:gradFill rotWithShape="1">
|
|
20208
|
+
<a:gsLst>
|
|
20209
|
+
<a:gs pos="0">
|
|
20210
|
+
<a:schemeClr val="phClr">
|
|
20211
|
+
<a:satMod val="103000"/>
|
|
20212
|
+
<a:lumMod val="102000"/>
|
|
20213
|
+
<a:tint val="94000"/>
|
|
20214
|
+
</a:schemeClr>
|
|
20215
|
+
</a:gs>
|
|
20216
|
+
<a:gs pos="50000">
|
|
20217
|
+
<a:schemeClr val="phClr">
|
|
20218
|
+
<a:satMod val="110000"/>
|
|
20219
|
+
<a:lumMod val="100000"/>
|
|
20220
|
+
<a:shade val="100000"/>
|
|
20221
|
+
</a:schemeClr>
|
|
20222
|
+
</a:gs>
|
|
20223
|
+
<a:gs pos="100000">
|
|
20224
|
+
<a:schemeClr val="phClr">
|
|
20225
|
+
<a:lumMod val="99000"/>
|
|
20226
|
+
<a:satMod val="120000"/>
|
|
20227
|
+
<a:shade val="78000"/>
|
|
20228
|
+
</a:schemeClr>
|
|
20229
|
+
</a:gs>
|
|
20230
|
+
</a:gsLst>
|
|
20231
|
+
<a:lin ang="5400000" scaled="0"/>
|
|
20232
|
+
</a:gradFill>
|
|
20233
|
+
</a:fillStyleLst>
|
|
20234
|
+
<a:lnStyleLst>
|
|
20235
|
+
<a:ln w="6350" cap="flat" cmpd="sng" algn="ctr">
|
|
20236
|
+
<a:solidFill>
|
|
20237
|
+
<a:schemeClr val="phClr"/>
|
|
20238
|
+
</a:solidFill>
|
|
20239
|
+
<a:prstDash val="solid"/>
|
|
20240
|
+
<a:miter lim="800000"/>
|
|
20241
|
+
</a:ln>
|
|
20242
|
+
<a:ln w="12700" cap="flat" cmpd="sng" algn="ctr">
|
|
20243
|
+
<a:solidFill>
|
|
20244
|
+
<a:schemeClr val="phClr"/>
|
|
20245
|
+
</a:solidFill>
|
|
20246
|
+
<a:prstDash val="solid"/>
|
|
20247
|
+
<a:miter lim="800000"/>
|
|
20248
|
+
</a:ln>
|
|
20249
|
+
<a:ln w="19050" cap="flat" cmpd="sng" algn="ctr">
|
|
20250
|
+
<a:solidFill>
|
|
20251
|
+
<a:schemeClr val="phClr"/>
|
|
20252
|
+
</a:solidFill>
|
|
20253
|
+
<a:prstDash val="solid"/>
|
|
20254
|
+
<a:miter lim="800000"/>
|
|
20255
|
+
</a:ln>
|
|
20256
|
+
</a:lnStyleLst>
|
|
20257
|
+
<a:effectStyleLst>
|
|
20258
|
+
<a:effectStyle>
|
|
20259
|
+
<a:effectLst/>
|
|
20260
|
+
</a:effectStyle>
|
|
20261
|
+
<a:effectStyle>
|
|
20262
|
+
<a:effectLst/>
|
|
20263
|
+
</a:effectStyle>
|
|
20264
|
+
<a:effectStyle>
|
|
20265
|
+
<a:effectLst>
|
|
20266
|
+
<a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0">
|
|
20267
|
+
<a:srgbClr val="000000">
|
|
20268
|
+
<a:alpha val="63000"/>
|
|
20269
|
+
</a:srgbClr>
|
|
20270
|
+
</a:outerShdw>
|
|
20271
|
+
</a:effectLst>
|
|
20272
|
+
</a:effectStyle>
|
|
20273
|
+
</a:effectStyleLst>
|
|
20274
|
+
<a:bgFillStyleLst>
|
|
20275
|
+
<a:solidFill>
|
|
20276
|
+
<a:schemeClr val="phClr"/>
|
|
20277
|
+
</a:solidFill>
|
|
20278
|
+
<a:solidFill>
|
|
20279
|
+
<a:schemeClr val="phClr">
|
|
20280
|
+
<a:tint val="95000"/>
|
|
20281
|
+
<a:satMod val="170000"/>
|
|
20282
|
+
</a:schemeClr>
|
|
20283
|
+
</a:solidFill>
|
|
20284
|
+
<a:gradFill rotWithShape="1">
|
|
20285
|
+
<a:gsLst>
|
|
20286
|
+
<a:gs pos="0">
|
|
20287
|
+
<a:schemeClr val="phClr">
|
|
20288
|
+
<a:tint val="93000"/>
|
|
20289
|
+
<a:satMod val="150000"/>
|
|
20290
|
+
<a:shade val="98000"/>
|
|
20291
|
+
<a:lumMod val="102000"/>
|
|
20292
|
+
</a:schemeClr>
|
|
20293
|
+
</a:gs>
|
|
20294
|
+
<a:gs pos="50000">
|
|
20295
|
+
<a:schemeClr val="phClr">
|
|
20296
|
+
<a:tint val="98000"/>
|
|
20297
|
+
<a:satMod val="130000"/>
|
|
20298
|
+
<a:shade val="90000"/>
|
|
20299
|
+
<a:lumMod val="103000"/>
|
|
20300
|
+
</a:schemeClr>
|
|
20301
|
+
</a:gs>
|
|
20302
|
+
<a:gs pos="100000">
|
|
20303
|
+
<a:schemeClr val="phClr">
|
|
20304
|
+
<a:shade val="63000"/>
|
|
20305
|
+
<a:satMod val="120000"/>
|
|
20306
|
+
</a:schemeClr>
|
|
20307
|
+
</a:gs>
|
|
20308
|
+
</a:gsLst>
|
|
20309
|
+
<a:lin ang="5400000" scaled="0"/>
|
|
20310
|
+
</a:gradFill>
|
|
20311
|
+
</a:bgFillStyleLst>
|
|
20312
|
+
</a:fmtScheme>
|
|
20313
|
+
</a:themeElements>
|
|
20314
|
+
</a:theme>
|
|
20315
20315
|
`;
|
|
20316
20316
|
|
|
20317
|
-
const settingsXML$1 = `
|
|
20318
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20319
|
-
|
|
20320
|
-
<w:settings xmlns:w="${namespaces$1.w}" xmlns:o="${namespaces$1.o}" xmlns:r="${namespaces$1.r}" xmlns:v="${namespaces$1.v}" xmlns:w10="${namespaces$1.w10}" xmlns:sl="${namespaces$1.sl}">
|
|
20321
|
-
<w:zoom w:percent="100"/>
|
|
20322
|
-
<w:defaultTabStop w:val="720"/>
|
|
20323
|
-
<w:decimalSymbol w:val="."/>
|
|
20324
|
-
<w:listSeparator w:val=","/>
|
|
20325
|
-
</w:settings>
|
|
20317
|
+
const settingsXML$1 = `
|
|
20318
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20319
|
+
|
|
20320
|
+
<w:settings xmlns:w="${namespaces$1.w}" xmlns:o="${namespaces$1.o}" xmlns:r="${namespaces$1.r}" xmlns:v="${namespaces$1.v}" xmlns:w10="${namespaces$1.w10}" xmlns:sl="${namespaces$1.sl}">
|
|
20321
|
+
<w:zoom w:percent="100"/>
|
|
20322
|
+
<w:defaultTabStop w:val="720"/>
|
|
20323
|
+
<w:decimalSymbol w:val="."/>
|
|
20324
|
+
<w:listSeparator w:val=","/>
|
|
20325
|
+
</w:settings>
|
|
20326
20326
|
`;
|
|
20327
20327
|
|
|
20328
|
-
const webSettingsXML$1 = `
|
|
20329
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20330
|
-
|
|
20331
|
-
<w:webSettings xmlns:w="${namespaces$1.w}" xmlns:r="${namespaces$1.r}">
|
|
20332
|
-
</w:webSettings>
|
|
20328
|
+
const webSettingsXML$1 = `
|
|
20329
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20330
|
+
|
|
20331
|
+
<w:webSettings xmlns:w="${namespaces$1.w}" xmlns:r="${namespaces$1.r}">
|
|
20332
|
+
</w:webSettings>
|
|
20333
20333
|
`;
|
|
20334
20334
|
|
|
20335
|
-
const genericRelsXML$1 = `
|
|
20336
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20337
|
-
|
|
20338
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
20339
|
-
|
|
20335
|
+
const genericRelsXML$1 = `
|
|
20336
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20337
|
+
|
|
20338
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
20339
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunk.mht" Id="htmlChunk" />
|
|
20340
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkheader.mht" Id="htmlChunkHeader" />
|
|
20341
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkfooter.mht" Id="htmlChunkFooter" />
|
|
20342
|
+
</Relationships>
|
|
20340
20343
|
`;
|
|
20341
20344
|
|
|
20342
|
-
const generateDocumentTemplate$1 = (width, height, orientation, margins) => `
|
|
20343
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20344
|
-
<w:document
|
|
20345
|
-
xmlns:a="${namespaces$1.a}"
|
|
20346
|
-
xmlns:cdr="${namespaces$1.cdr}"
|
|
20347
|
-
xmlns:o="${namespaces$1.o}"
|
|
20348
|
-
xmlns:pic="${namespaces$1.pic}"
|
|
20349
|
-
xmlns:r="${namespaces$1.r}"
|
|
20350
|
-
xmlns:v="${namespaces$1.v}"
|
|
20351
|
-
xmlns:ve="${namespaces$1.ve}"
|
|
20352
|
-
xmlns:vt="${namespaces$1.vt}"
|
|
20353
|
-
xmlns:w="${namespaces$1.w}"
|
|
20354
|
-
xmlns:w10="${namespaces$1.w10}"
|
|
20355
|
-
xmlns:wp="${namespaces$1.wp}"
|
|
20356
|
-
xmlns:wne="${namespaces$1.wne}"
|
|
20357
|
-
>
|
|
20358
|
-
<w:body>
|
|
20359
|
-
|
|
20360
|
-
<w:altChunk r:id="htmlChunk" />
|
|
20361
|
-
<w:sectPr>
|
|
20362
|
-
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orientation}" />
|
|
20363
|
-
<w:pgMar w:top="${margins.top}"
|
|
20364
|
-
w:right="${margins.right}"
|
|
20365
|
-
w:bottom="${margins.bottom}"
|
|
20366
|
-
w:left="${margins.left}"
|
|
20367
|
-
w:header="${margins.header}"
|
|
20368
|
-
w:footer="${margins.footer}"
|
|
20369
|
-
w:gutter="${margins.gutter}"/>
|
|
20370
|
-
</w:sectPr>
|
|
20371
|
-
</w:body>
|
|
20372
|
-
</w:document>
|
|
20345
|
+
const generateDocumentTemplate$1 = (width, height, orientation, margins) => `
|
|
20346
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
20347
|
+
<w:document
|
|
20348
|
+
xmlns:a="${namespaces$1.a}"
|
|
20349
|
+
xmlns:cdr="${namespaces$1.cdr}"
|
|
20350
|
+
xmlns:o="${namespaces$1.o}"
|
|
20351
|
+
xmlns:pic="${namespaces$1.pic}"
|
|
20352
|
+
xmlns:r="${namespaces$1.r}"
|
|
20353
|
+
xmlns:v="${namespaces$1.v}"
|
|
20354
|
+
xmlns:ve="${namespaces$1.ve}"
|
|
20355
|
+
xmlns:vt="${namespaces$1.vt}"
|
|
20356
|
+
xmlns:w="${namespaces$1.w}"
|
|
20357
|
+
xmlns:w10="${namespaces$1.w10}"
|
|
20358
|
+
xmlns:wp="${namespaces$1.wp}"
|
|
20359
|
+
xmlns:wne="${namespaces$1.wne}"
|
|
20360
|
+
>
|
|
20361
|
+
<w:body>
|
|
20362
|
+
|
|
20363
|
+
<w:altChunk r:id="htmlChunk" />
|
|
20364
|
+
<w:sectPr>
|
|
20365
|
+
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orientation}" />
|
|
20366
|
+
<w:pgMar w:top="${margins.top}"
|
|
20367
|
+
w:right="${margins.right}"
|
|
20368
|
+
w:bottom="${margins.bottom}"
|
|
20369
|
+
w:left="${margins.left}"
|
|
20370
|
+
w:header="${margins.header}"
|
|
20371
|
+
w:footer="${margins.footer}"
|
|
20372
|
+
w:gutter="${margins.gutter}"/>
|
|
20373
|
+
</w:sectPr>
|
|
20374
|
+
</w:body>
|
|
20375
|
+
</w:document>
|
|
20373
20376
|
`;
|
|
20374
|
-
const generateDocumentTemplateHeader$1 = `
|
|
20375
|
-
|
|
20376
|
-
|
|
20377
|
-
|
|
20377
|
+
const generateDocumentTemplateHeader$1 = `
|
|
20378
|
+
<w:hdr
|
|
20379
|
+
xmlns:a="${namespaces$1.a}"
|
|
20380
|
+
xmlns:cdr="${namespaces$1.cdr}"
|
|
20381
|
+
xmlns:o="${namespaces$1.o}"
|
|
20382
|
+
xmlns:pic="${namespaces$1.pic}"
|
|
20383
|
+
xmlns:r="${namespaces$1.r}"
|
|
20384
|
+
xmlns:v="${namespaces$1.v}"
|
|
20385
|
+
xmlns:ve="${namespaces$1.ve}"
|
|
20386
|
+
xmlns:vt="${namespaces$1.vt}"
|
|
20387
|
+
xmlns:w="${namespaces$1.w}"
|
|
20388
|
+
xmlns:w10="${namespaces$1.w10}"
|
|
20389
|
+
xmlns:wp="${namespaces$1.wp}"
|
|
20390
|
+
xmlns:wne="${namespaces$1.wne}"
|
|
20391
|
+
>
|
|
20392
|
+
<w:altChunk r:id="htmlChunkHeader" />
|
|
20393
|
+
</w:hdr>
|
|
20378
20394
|
`;
|
|
20379
|
-
const generateDocumentTemplateFooter$1 = `
|
|
20380
|
-
<w:ftr
|
|
20381
|
-
|
|
20382
|
-
|
|
20383
|
-
|
|
20395
|
+
const generateDocumentTemplateFooter$1 = `
|
|
20396
|
+
<w:ftr
|
|
20397
|
+
xmlns:a="${namespaces$1.a}"
|
|
20398
|
+
xmlns:cdr="${namespaces$1.cdr}"
|
|
20399
|
+
xmlns:o="${namespaces$1.o}"
|
|
20400
|
+
xmlns:pic="${namespaces$1.pic}"
|
|
20401
|
+
xmlns:r="${namespaces$1.r}"
|
|
20402
|
+
xmlns:v="${namespaces$1.v}"
|
|
20403
|
+
xmlns:ve="${namespaces$1.ve}"
|
|
20404
|
+
xmlns:vt="${namespaces$1.vt}"
|
|
20405
|
+
xmlns:w="${namespaces$1.w}"
|
|
20406
|
+
xmlns:w10="${namespaces$1.w10}"
|
|
20407
|
+
xmlns:wp="${namespaces$1.wp}"
|
|
20408
|
+
>
|
|
20409
|
+
<w:altChunk r:id="htmlChunkFooter" />
|
|
20410
|
+
<w:p w:rsidR="0014021C" w:rsidRDefault="0014021C" w:rsidP="0014021C">
|
|
20411
|
+
<w:pPr>
|
|
20412
|
+
<w:pStyle w:val="Footer"/>
|
|
20413
|
+
<w:jc w:val="center"/>
|
|
20414
|
+
</w:pPr>
|
|
20415
|
+
<w:fldSimple xmlns:ns2="http://schemas.openxmlformats.org/wordprocessingml/2006/main" ns2:instr="PAGE">
|
|
20416
|
+
<w:r/>
|
|
20417
|
+
</w:fldSimple>
|
|
20418
|
+
</w:p>
|
|
20419
|
+
</w:ftr>
|
|
20420
|
+
`;
|
|
20421
|
+
const generateDocumentTemplateFooterWithoutPaging$1 = `
|
|
20422
|
+
<w:ftr
|
|
20423
|
+
xmlns:a="${namespaces$1.a}"
|
|
20424
|
+
xmlns:cdr="${namespaces$1.cdr}"
|
|
20425
|
+
xmlns:o="${namespaces$1.o}"
|
|
20426
|
+
xmlns:pic="${namespaces$1.pic}"
|
|
20427
|
+
xmlns:r="${namespaces$1.r}"
|
|
20428
|
+
xmlns:v="${namespaces$1.v}"
|
|
20429
|
+
xmlns:ve="${namespaces$1.ve}"
|
|
20430
|
+
xmlns:vt="${namespaces$1.vt}"
|
|
20431
|
+
xmlns:w="${namespaces$1.w}"
|
|
20432
|
+
xmlns:w10="${namespaces$1.w10}"
|
|
20433
|
+
xmlns:wp="${namespaces$1.wp}"
|
|
20434
|
+
>
|
|
20435
|
+
<w:altChunk r:id="htmlChunkFooter" />
|
|
20436
|
+
</w:ftr>
|
|
20437
|
+
`;
|
|
20438
|
+
{ /* <w:altChunk r:id="htmlChunkFooter" /> */ }
|
|
20439
|
+
{
|
|
20440
|
+
/* <w:altChunk r:id="htmlChunkFooter" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" /> */
|
|
20441
|
+
}
|
|
20442
|
+
{
|
|
20443
|
+
/* <w:ftr xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
|
|
20444
|
+
<fldSimple xmlns:ns2="http://schemas.openxmlformats.org/wordprocessingml/2006/main" ns2:instr="PAGE">
|
|
20445
|
+
</fldSimple>
|
|
20446
|
+
<w:altChunk r:id="htmlChunkFooter" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" />
|
|
20447
|
+
</w:ftr> */
|
|
20448
|
+
}
|
|
20384
20449
|
|
|
20385
20450
|
/* eslint-disable no-param-reassign */
|
|
20386
20451
|
const rgbRegex$1 = /rgb\((\d+),\s*([\d.]+),\s*([\d.]+)\)/i;
|
|
@@ -22737,6 +22802,7 @@ class DocxDocument$1 {
|
|
|
22737
22802
|
return { id: this.lastMediaId, fileContent: base64FileContent, fileNameWithExtension };
|
|
22738
22803
|
}
|
|
22739
22804
|
createDocumentRelationships(fileName = 'document', type, target, targetMode = 'External') {
|
|
22805
|
+
debugger;
|
|
22740
22806
|
let relationshipObject = this.relationships.find((relationship) => relationship.fileName === fileName);
|
|
22741
22807
|
let lastRelsId = 1;
|
|
22742
22808
|
if (relationshipObject) {
|
|
@@ -22771,6 +22837,8 @@ class DocxDocument$1 {
|
|
|
22771
22837
|
target,
|
|
22772
22838
|
targetMode,
|
|
22773
22839
|
});
|
|
22840
|
+
console.log(fileName);
|
|
22841
|
+
console.log(relationshipObject.rels);
|
|
22774
22842
|
return lastRelsId;
|
|
22775
22843
|
}
|
|
22776
22844
|
generateHeaderXML(vTree) {
|
|
@@ -22791,88 +22859,91 @@ const defaultMargins$1 = {
|
|
|
22791
22859
|
gutter: 0,
|
|
22792
22860
|
};
|
|
22793
22861
|
const documentTemplate$1 = (width, height, orient, margins) => {
|
|
22794
|
-
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
22795
|
-
<w:document
|
|
22796
|
-
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
22797
|
-
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
|
22798
|
-
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
22799
|
-
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
|
22800
|
-
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
|
22801
|
-
xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"
|
|
22802
|
-
xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"
|
|
22803
|
-
xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
|
|
22804
|
-
xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
|
|
22805
|
-
xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
|
|
22806
|
-
xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
|
|
22807
|
-
xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"
|
|
22808
|
-
xmlns:ns13="urn:schemas-microsoft-com:office:excel"
|
|
22809
|
-
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|
22810
|
-
xmlns:v="urn:schemas-microsoft-com:vml"
|
|
22811
|
-
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
|
22812
|
-
xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"
|
|
22813
|
-
xmlns:odx="http://opendope.org/xpaths"
|
|
22814
|
-
xmlns:odc="http://opendope.org/conditions"
|
|
22815
|
-
xmlns:odq="http://opendope.org/questions"
|
|
22816
|
-
xmlns:odi="http://opendope.org/components"
|
|
22817
|
-
xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"
|
|
22818
|
-
xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"
|
|
22819
|
-
xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"
|
|
22820
|
-
xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">
|
|
22821
|
-
<w:body>
|
|
22822
|
-
<w:altChunk r:id="htmlChunk" />
|
|
22823
|
-
<w:sectPr>
|
|
22824
|
-
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orient}" />
|
|
22825
|
-
<w:pgMar w:top="${margins.top}"
|
|
22826
|
-
w:right="${margins.right}"
|
|
22827
|
-
w:bottom="${margins.bottom}"
|
|
22828
|
-
w:left="${margins.left}"
|
|
22829
|
-
w:header="${margins.header}"
|
|
22830
|
-
w:footer="${margins.footer}"
|
|
22831
|
-
w:gutter="${margins.gutter}"/>
|
|
22832
|
-
</w:sectPr>
|
|
22833
|
-
</w:body>
|
|
22834
|
-
</w:document>
|
|
22862
|
+
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
22863
|
+
<w:document
|
|
22864
|
+
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
22865
|
+
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
|
22866
|
+
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
22867
|
+
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
|
22868
|
+
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
|
22869
|
+
xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"
|
|
22870
|
+
xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"
|
|
22871
|
+
xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
|
|
22872
|
+
xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
|
|
22873
|
+
xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
|
|
22874
|
+
xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
|
|
22875
|
+
xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"
|
|
22876
|
+
xmlns:ns13="urn:schemas-microsoft-com:office:excel"
|
|
22877
|
+
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|
22878
|
+
xmlns:v="urn:schemas-microsoft-com:vml"
|
|
22879
|
+
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
|
22880
|
+
xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"
|
|
22881
|
+
xmlns:odx="http://opendope.org/xpaths"
|
|
22882
|
+
xmlns:odc="http://opendope.org/conditions"
|
|
22883
|
+
xmlns:odq="http://opendope.org/questions"
|
|
22884
|
+
xmlns:odi="http://opendope.org/components"
|
|
22885
|
+
xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"
|
|
22886
|
+
xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"
|
|
22887
|
+
xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"
|
|
22888
|
+
xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">
|
|
22889
|
+
<w:body>
|
|
22890
|
+
<w:altChunk r:id="htmlChunk" />
|
|
22891
|
+
<w:sectPr>
|
|
22892
|
+
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orient}" />
|
|
22893
|
+
<w:pgMar w:top="${margins.top}"
|
|
22894
|
+
w:right="${margins.right}"
|
|
22895
|
+
w:bottom="${margins.bottom}"
|
|
22896
|
+
w:left="${margins.left}"
|
|
22897
|
+
w:header="${margins.header}"
|
|
22898
|
+
w:footer="${margins.footer}"
|
|
22899
|
+
w:gutter="${margins.gutter}"/>
|
|
22900
|
+
</w:sectPr>
|
|
22901
|
+
</w:body>
|
|
22902
|
+
</w:document>
|
|
22835
22903
|
`;
|
|
22836
22904
|
};
|
|
22837
22905
|
|
|
22838
22906
|
const mhtDocumentTemplate$1 = (htmlSource, contentParts) => {
|
|
22839
|
-
|
|
22840
|
-
|
|
22841
|
-
|
|
22842
|
-
|
|
22843
|
-
|
|
22844
|
-
|
|
22845
|
-
|
|
22846
|
-
|
|
22847
|
-
|
|
22848
|
-
|
|
22849
|
-
Content-
|
|
22850
|
-
|
|
22851
|
-
|
|
22852
|
-
|
|
22853
|
-
|
|
22854
|
-
|
|
22855
|
-
|
|
22907
|
+
debugger;
|
|
22908
|
+
return `MIME-Version: 1.0
|
|
22909
|
+
Content-Type: multipart/related;
|
|
22910
|
+
type="text/html";
|
|
22911
|
+
boundary="----=mhtDocumentPart"
|
|
22912
|
+
|
|
22913
|
+
|
|
22914
|
+
------=mhtDocumentPart
|
|
22915
|
+
Content-Type: text/html;
|
|
22916
|
+
charset="utf-8"
|
|
22917
|
+
Content-Transfer-Encoding: quoted-printable
|
|
22918
|
+
Content-Location: file:///C:/fake/document.html
|
|
22919
|
+
|
|
22920
|
+
${htmlSource}
|
|
22921
|
+
|
|
22922
|
+
${contentParts}
|
|
22923
|
+
|
|
22924
|
+
------=mhtDocumentPart--
|
|
22856
22925
|
`;
|
|
22857
22926
|
};
|
|
22858
22927
|
|
|
22859
22928
|
const mhtPartTemplate$1 = (contentType, contentEncoding, contentLocation, encodedContent) => {
|
|
22860
|
-
return `------=mhtDocumentPart
|
|
22861
|
-
Content-Type: ${contentType}
|
|
22862
|
-
Content-Transfer-Encoding: ${contentEncoding}
|
|
22863
|
-
Content-Location: ${contentLocation}
|
|
22864
|
-
|
|
22865
|
-
${encodedContent}
|
|
22929
|
+
return `------=mhtDocumentPart
|
|
22930
|
+
Content-Type: ${contentType}
|
|
22931
|
+
Content-Transfer-Encoding: ${contentEncoding}
|
|
22932
|
+
Content-Location: ${contentLocation}
|
|
22933
|
+
|
|
22934
|
+
${encodedContent}
|
|
22866
22935
|
`;
|
|
22867
22936
|
};
|
|
22868
22937
|
|
|
22869
22938
|
function getMHTdocument$1(htmlSource) {
|
|
22939
|
+
debugger;
|
|
22870
22940
|
const ref = _prepareImageParts$1(htmlSource);
|
|
22871
22941
|
const imageContentPartsString = ref.imageContentParts.join('\n');
|
|
22872
22942
|
htmlSource = ref.htmlSource.replace(/\=/g, '=3D');
|
|
22873
22943
|
return mhtDocumentTemplate$1(htmlSource, imageContentPartsString);
|
|
22874
22944
|
}
|
|
22875
22945
|
function _prepareImageParts$1(htmlSource) {
|
|
22946
|
+
debugger;
|
|
22876
22947
|
const imageContentParts = [];
|
|
22877
22948
|
const inlinedSrcPattern = /"data:(\w+\/\w+);(\w+),(\S+)"/g;
|
|
22878
22949
|
const inlinedReplacer = (match, contentType, contentEncoding, encodedContent) => {
|
|
@@ -23001,9 +23072,15 @@ function addFilesToContainer$1(zip, htmlString, suppliedDocumentOptions, headerH
|
|
|
23001
23072
|
docxDocument.relationshipFilename = documentFileName$1;
|
|
23002
23073
|
const fileNameWithExt = `${footerType$1}${footerId}.xml`;
|
|
23003
23074
|
const relationshipId = docxDocument.createDocumentRelationships(docxDocument.relationshipFilename, footerType$1, fileNameWithExt, internalRelationship$1);
|
|
23004
|
-
|
|
23005
|
-
|
|
23006
|
-
|
|
23075
|
+
console.log(footerXML.toString({ prettyPrint: true }));
|
|
23076
|
+
if (suppliedDocumentOptions.pageNumber)
|
|
23077
|
+
zip.folder(wordFolder$1).file(fileNameWithExt, generateDocumentTemplateFooter$1.toString({ prettyPrint: true }), {
|
|
23078
|
+
createFolders: false,
|
|
23079
|
+
});
|
|
23080
|
+
else
|
|
23081
|
+
zip.folder(wordFolder$1).file(fileNameWithExt, generateDocumentTemplateFooterWithoutPaging$1.toString({ prettyPrint: true }), {
|
|
23082
|
+
createFolders: false,
|
|
23083
|
+
});
|
|
23007
23084
|
docxDocument.footerObjects.push({ footerId, relationshipId, type: docxDocument.footerType });
|
|
23008
23085
|
}
|
|
23009
23086
|
const themeFileNameWithExt = `${themeFileName$1}.xml`;
|
|
@@ -23034,6 +23111,7 @@ function addFilesToContainer$1(zip, htmlString, suppliedDocumentOptions, headerH
|
|
|
23034
23111
|
const relationshipXMLs = docxDocument.generateRelsXML();
|
|
23035
23112
|
if (relationshipXMLs && Array.isArray(relationshipXMLs)) {
|
|
23036
23113
|
relationshipXMLs.forEach(({ fileName, xmlString }) => {
|
|
23114
|
+
console.log(xmlString);
|
|
23037
23115
|
zip.folder(wordFolder$1).folder(relsFolderName$1).file(`${fileName}.xml.rels`, xmlString, {
|
|
23038
23116
|
createFolders: false,
|
|
23039
23117
|
});
|
|
@@ -23269,7 +23347,7 @@ class DocumentTemplateInfoComponent$1 extends AppBaseComponent {
|
|
|
23269
23347
|
let documentOptions = {};
|
|
23270
23348
|
if (result.isLandscape)
|
|
23271
23349
|
documentOptions.orientation = 'landscape';
|
|
23272
|
-
documentOptions.pageNumber =
|
|
23350
|
+
// documentOptions.pageNumber =result.showPaging;
|
|
23273
23351
|
documentOptions.pageSize = {
|
|
23274
23352
|
width: result.pageWidth * 15,
|
|
23275
23353
|
height: result.pageHeight * 15
|
|
@@ -23287,10 +23365,10 @@ class DocumentTemplateInfoComponent$1 extends AppBaseComponent {
|
|
|
23287
23365
|
documentOptions.header = true;
|
|
23288
23366
|
documentOptions.pageNumber = true;
|
|
23289
23367
|
documentOptions.table = { row: { cantSplit: true } };
|
|
23290
|
-
var fileBuffer =
|
|
23291
|
-
this.downloadWord(fileBuffer, fileName);
|
|
23368
|
+
// var fileBuffer =await GenerateDOCX(result.body, result.header, documentOptions, result.footer)
|
|
23369
|
+
// this.downloadWord(fileBuffer as any, fileName);
|
|
23292
23370
|
var fileBufferLib = yield this.templateService.generateWordByteFile(result.body, result.header, documentOptions, result.footer);
|
|
23293
|
-
this.downloadWord(
|
|
23371
|
+
this.downloadWord(fileBufferLib, "Lib" + fileName);
|
|
23294
23372
|
return;
|
|
23295
23373
|
}
|
|
23296
23374
|
let fileName = this.TemplateInfo.localizedTemplateName + '_' + latest_date + '.pdf';
|
|
@@ -23520,7 +23598,7 @@ class DocumentTemplateInfoComponent$1 extends AppBaseComponent {
|
|
|
23520
23598
|
}
|
|
23521
23599
|
}
|
|
23522
23600
|
DocumentTemplateInfoComponent$1.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentTemplateInfoComponent$1, deps: [{ token: i0.Injector }, { token: i1.UtilityService }, { token: i1.BBSFTranslateService }, { token: i3.ClipboardService }, { token: DocumentTemplateService$1 }, { token: i1$1.ActivatedRoute }, { token: PageInfoService }, { token: i5.NgbModal }, { token: i10.DatePipe }, { token: i1.RequestHandlerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
23523
|
-
DocumentTemplateInfoComponent$1.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DocumentTemplateInfoComponent$1, selector: "lib-document-template-info", usesInheritance: true, ngImport: i0, template: "<block-ui></block-ui>\r\n\r\n<div class=\"container-fluid\" *ngIf=\"isDataLoaded\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-header border-0 pt-5\">\r\n <div class=\"card-title align-items-start flex-column\">\r\n\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showEditTemplateModal(EditTemplateModal)\">\r\n <i class=\"fa fa fa-edit\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Edit\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Export\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal,2)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"ExportWord\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-bars\"></i>{{utilityService.getResourceValue(\"GenerateCode\")}}\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateUpdateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-key\"></i>{{utilityService.getResourceValue(\"GenerateUpdateCode\")}}\r\n </button>\r\n\r\n </div>\r\n </div>\r\n <div class=\"card-body py-3\">\r\n <div class=\"row\">\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center \">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n English:\r\n {{TemplateInfo.templateNameEN}}\r\n </a>\r\n\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3\">\r\n <div innerHTML=\"{{TemplateInfo.headerEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerEN}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center\">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n Arabic:\r\n {{TemplateInfo.templateNameAR}}\r\n </a>\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3 ar\">\r\n <div innerHTML=\"{{TemplateInfo.headerAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerAR}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n<!-- edit Modal -->\r\n<ng-template #EditTemplateModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Edit\")}}\r\n {{utilityService.getResourceValue(\"Template\")}}</h1>\r\n </div>\r\n\r\n <BBSF-Form [options]=\"EditTemplateFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"EditName\"\r\n [group]=\"EditTemplateForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextArea [options]=\"EditDescription\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-MultiLingualTextArea>\r\n </div>\r\n </div>\r\n <div class=\"row\" *ngIf=\"!ProductionMode\">\r\n <div class=\"col-md-12\">\r\n <BBSF-TextBox [options]=\"EditSysName\" [group]=\"EditTemplateForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditOrganization\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditCategory\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditMasterLayout\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseEditTemplateModal id=\"CloseEditTemplateModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"SaveLabel\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n\r\n<!-- Export Document Modal -->\r\n<ng-template #ExportDocumentModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Export\")}}</h1>\r\n </div>\r\n <BBSF-Form [options]=\"TestExportDocumentFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-repeater-table [options]=\"addKeyValueRepeaterOptions\" [group]=\"TestExportDocumentForm\">\r\n </BBSF-repeater-table>\r\n </div>\r\n </div>\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseSendEmailForm id=\"CloseSendEmailForm\" type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"Export\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n<!-- GenerateCode Modal -->\r\n<ng-template #GenerateCodeModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"GenerateCode\")}}</h1>\r\n </div>\r\n <form [formGroup]=\"GenerateCodeForm\">\r\n\r\n <div class=\"Row\">\r\n <BBSF-TextArea [options]=\"GenerateCodeTextArea\"\r\n [group]=\"GenerateCodeForm\" #GenerateCodeInput>\r\n </BBSF-TextArea>\r\n </div>\r\n <div class=\"text-center pt-7\">\r\n <button #CloseGenerateCodeModal id=\"CloseGenerateCodeModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"copyInputMessage()\">\r\n {{utilityService.getResourceValue(\"CopyToClipboard\")}}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n</ng-template>\r\n", components: [{ type: i5$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6.RepeaterTableComponent, selector: "BBSF-repeater-table", inputs: ["group", "options"] }, { type: i6.TextAreaComponent, selector: "BBSF-TextArea", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i11$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i11$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i11$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
23601
|
+
DocumentTemplateInfoComponent$1.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DocumentTemplateInfoComponent$1, selector: "lib-document-template-info", usesInheritance: true, ngImport: i0, template: "<block-ui></block-ui>\r\n\r\n<div class=\"container-fluid\" *ngIf=\"isDataLoaded\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-header border-0 pt-5\">\r\n <div class=\"card-title align-items-start flex-column\">\r\n\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showEditTemplateModal(EditTemplateModal)\">\r\n <i class=\"fa fa fa-edit\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Edit\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Export\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal,2)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Export\")}} Word</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-bars\"></i>{{utilityService.getResourceValue(\"GenerateCode\")}}\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateUpdateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-key\"></i>{{utilityService.getResourceValue(\"GenerateUpdateCode\")}}\r\n </button>\r\n\r\n </div>\r\n </div>\r\n <div class=\"card-body py-3\">\r\n <div class=\"row\">\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center \">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n English:\r\n {{TemplateInfo.templateNameEN}}\r\n </a>\r\n\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3\">\r\n <div innerHTML=\"{{TemplateInfo.headerEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerEN}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center\">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n Arabic:\r\n {{TemplateInfo.templateNameAR}}\r\n </a>\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3 ar\">\r\n <div innerHTML=\"{{TemplateInfo.headerAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerAR}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n<!-- edit Modal -->\r\n<ng-template #EditTemplateModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Edit\")}}\r\n {{utilityService.getResourceValue(\"Template\")}}</h1>\r\n </div>\r\n\r\n <BBSF-Form [options]=\"EditTemplateFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"EditName\"\r\n [group]=\"EditTemplateForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextArea [options]=\"EditDescription\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-MultiLingualTextArea>\r\n </div>\r\n </div>\r\n <div class=\"row\" *ngIf=\"!ProductionMode\">\r\n <div class=\"col-md-12\">\r\n <BBSF-TextBox [options]=\"EditSysName\" [group]=\"EditTemplateForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditOrganization\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditCategory\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditMasterLayout\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseEditTemplateModal id=\"CloseEditTemplateModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"SaveLabel\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n\r\n<!-- Export Document Modal -->\r\n<ng-template #ExportDocumentModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Export\")}}</h1>\r\n </div>\r\n <BBSF-Form [options]=\"TestExportDocumentFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-repeater-table [options]=\"addKeyValueRepeaterOptions\" [group]=\"TestExportDocumentForm\">\r\n </BBSF-repeater-table>\r\n </div>\r\n </div>\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseSendEmailForm id=\"CloseSendEmailForm\" type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"Export\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n<!-- GenerateCode Modal -->\r\n<ng-template #GenerateCodeModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"GenerateCode\")}}</h1>\r\n </div>\r\n <form [formGroup]=\"GenerateCodeForm\">\r\n\r\n <div class=\"Row\">\r\n <BBSF-TextArea [options]=\"GenerateCodeTextArea\"\r\n [group]=\"GenerateCodeForm\" #GenerateCodeInput>\r\n </BBSF-TextArea>\r\n </div>\r\n <div class=\"text-center pt-7\">\r\n <button #CloseGenerateCodeModal id=\"CloseGenerateCodeModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"copyInputMessage()\">\r\n {{utilityService.getResourceValue(\"CopyToClipboard\")}}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n</ng-template>\r\n", components: [{ type: i5$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6.RepeaterTableComponent, selector: "BBSF-repeater-table", inputs: ["group", "options"] }, { type: i6.TextAreaComponent, selector: "BBSF-TextArea", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i11$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i11$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i11$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
23524
23602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentTemplateInfoComponent$1, decorators: [{
|
|
23525
23603
|
type: Component,
|
|
23526
23604
|
args: [{
|
|
@@ -28247,26 +28325,31 @@ class SurveyFormOptions {
|
|
|
28247
28325
|
}
|
|
28248
28326
|
}
|
|
28249
28327
|
|
|
28250
|
-
var LanguageType;
|
|
28328
|
+
var LanguageType$1;
|
|
28251
28329
|
(function (LanguageType) {
|
|
28252
28330
|
LanguageType["English"] = "ebe77688-d7d3-481c-aace-da4a97a863bf";
|
|
28253
28331
|
LanguageType["Arabic"] = "55dccd92-f411-4fae-b5b2-9e9002b1ea67";
|
|
28254
28332
|
LanguageType["Any"] = "0384dbac-c3fa-4ba3-be28-e10110350459";
|
|
28255
|
-
})(LanguageType || (LanguageType = {}));
|
|
28256
|
-
var AudienceType;
|
|
28333
|
+
})(LanguageType$1 || (LanguageType$1 = {}));
|
|
28334
|
+
var AudienceType$1;
|
|
28257
28335
|
(function (AudienceType) {
|
|
28258
28336
|
AudienceType["Internal"] = "a4daa431-62c1-404a-aeec-b505bfbd037e";
|
|
28259
28337
|
AudienceType["External"] = "39a52e7c-72c3-4eb5-830b-d610933cd9ba";
|
|
28260
28338
|
AudienceType["Both"] = "ff13d40b-b5ee-482c-abd3-3a72c29374eb";
|
|
28261
|
-
})(AudienceType || (AudienceType = {}));
|
|
28262
|
-
var SurveyStatusEnum;
|
|
28339
|
+
})(AudienceType$1 || (AudienceType$1 = {}));
|
|
28340
|
+
var SurveyStatusEnum$1;
|
|
28263
28341
|
(function (SurveyStatusEnum) {
|
|
28264
28342
|
SurveyStatusEnum["ScoringTypeEnum_Draft"] = "4ff92e54-c966-4e7e-a58a-47b0269196c1";
|
|
28265
28343
|
SurveyStatusEnum["ScoringTypeEnum_Upcoming"] = "e8ef5c73-67f0-4345-a931-5bcbe9e31963";
|
|
28266
28344
|
SurveyStatusEnum["ScoringTypeEnum_Published"] = "3c2bae84-f0df-48fb-b310-3b8326c0d77f";
|
|
28267
28345
|
SurveyStatusEnum["ScoringTypeEnum_Closed"] = "9b92dedc-e51a-438b-baf0-d0c75c01a492";
|
|
28268
|
-
})(SurveyStatusEnum || (SurveyStatusEnum = {}));
|
|
28269
|
-
var
|
|
28346
|
+
})(SurveyStatusEnum$1 || (SurveyStatusEnum$1 = {}));
|
|
28347
|
+
var SurveyMode$1;
|
|
28348
|
+
(function (SurveyMode) {
|
|
28349
|
+
SurveyMode[SurveyMode["Survey_Full_Access"] = 1] = "Survey_Full_Access";
|
|
28350
|
+
SurveyMode[SurveyMode["Survey_ReadOnly_Access"] = 2] = "Survey_ReadOnly_Access";
|
|
28351
|
+
})(SurveyMode$1 || (SurveyMode$1 = {}));
|
|
28352
|
+
var SurveyOptionType$1;
|
|
28270
28353
|
(function (SurveyOptionType) {
|
|
28271
28354
|
SurveyOptionType["SingleSelect"] = "24fedf55-2a6c-4bda-a9a0-afc91ab908be";
|
|
28272
28355
|
SurveyOptionType["MultipleSelect"] = "6c60b6ba-6175-470a-81aa-a9c1e87046fd";
|
|
@@ -28282,20 +28365,20 @@ var SurveyOptionType;
|
|
|
28282
28365
|
SurveyOptionType["Date"] = "a3adcf70-64df-4847-825f-7da02dfa088e";
|
|
28283
28366
|
SurveyOptionType["DateTime"] = "55e9216b-1309-4be6-b855-56b0aa0e4fa7";
|
|
28284
28367
|
SurveyOptionType["Country"] = "61daf8d1-be00-4d2f-8ff3-addcfbba8ca1";
|
|
28285
|
-
})(SurveyOptionType || (SurveyOptionType = {}));
|
|
28286
|
-
var SortingOptions;
|
|
28368
|
+
})(SurveyOptionType$1 || (SurveyOptionType$1 = {}));
|
|
28369
|
+
var SortingOptions$1;
|
|
28287
28370
|
(function (SortingOptions) {
|
|
28288
28371
|
SortingOptions["ByCreated"] = "34506abc-ac7e-485b-9ff8-3610314f75aa";
|
|
28289
28372
|
SortingOptions["ByLikes"] = "f056010f-f7c7-471e-8ed2-9c564fcee0ee";
|
|
28290
28373
|
SortingOptions["ByComments"] = "b67475b5-22d3-47cb-a4f6-6ac902a458da";
|
|
28291
28374
|
SortingOptions["ByScore"] = "c75beb1d-250f-4a4b-898f-4b492817f9d8";
|
|
28292
|
-
})(SortingOptions || (SortingOptions = {}));
|
|
28293
|
-
var SortingType;
|
|
28375
|
+
})(SortingOptions$1 || (SortingOptions$1 = {}));
|
|
28376
|
+
var SortingType$1;
|
|
28294
28377
|
(function (SortingType) {
|
|
28295
28378
|
SortingType["Ascending"] = "8c97ea5a-a224-49e8-98ba-476e3f9a6468";
|
|
28296
28379
|
SortingType["Descending"] = "33b99327-2e34-44fc-9ba2-9e85ff13022a";
|
|
28297
|
-
})(SortingType || (SortingType = {}));
|
|
28298
|
-
const EmptyGuid = "00000000-0000-0000-0000-000000000000";
|
|
28380
|
+
})(SortingType$1 || (SortingType$1 = {}));
|
|
28381
|
+
const EmptyGuid$1 = "00000000-0000-0000-0000-000000000000";
|
|
28299
28382
|
|
|
28300
28383
|
class DeleteSurveyDTO {
|
|
28301
28384
|
}
|
|
@@ -28472,40 +28555,40 @@ class SurveyFormItemComponent {
|
|
|
28472
28555
|
this.options.LabelValue = this.title;
|
|
28473
28556
|
switch (this.propertyTypeID) {
|
|
28474
28557
|
///TextBox
|
|
28475
|
-
case SurveyOptionType.Email.toLocaleLowerCase():
|
|
28476
|
-
case SurveyOptionType.Text.toLocaleLowerCase():
|
|
28477
|
-
case SurveyOptionType.Number.toLocaleLowerCase():
|
|
28558
|
+
case SurveyOptionType$1.Email.toLocaleLowerCase():
|
|
28559
|
+
case SurveyOptionType$1.Text.toLocaleLowerCase():
|
|
28560
|
+
case SurveyOptionType$1.Number.toLocaleLowerCase():
|
|
28478
28561
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, TextboxComponent, this.group, this.options);
|
|
28479
28562
|
break;
|
|
28480
28563
|
///DateTime
|
|
28481
|
-
case SurveyOptionType.Date.toLocaleLowerCase():
|
|
28482
|
-
case SurveyOptionType.DateTime.toLocaleLowerCase():
|
|
28564
|
+
case SurveyOptionType$1.Date.toLocaleLowerCase():
|
|
28565
|
+
case SurveyOptionType$1.DateTime.toLocaleLowerCase():
|
|
28483
28566
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, DateInputComponent, this.group, this.options);
|
|
28484
28567
|
break;
|
|
28485
28568
|
//Dropdown
|
|
28486
|
-
case SurveyOptionType.Country.toLocaleLowerCase():
|
|
28487
|
-
case SurveyOptionType.MultipleSelect.toLocaleLowerCase():
|
|
28488
|
-
case SurveyOptionType.SingleSelect.toLocaleLowerCase():
|
|
28569
|
+
case SurveyOptionType$1.Country.toLocaleLowerCase():
|
|
28570
|
+
case SurveyOptionType$1.MultipleSelect.toLocaleLowerCase():
|
|
28571
|
+
case SurveyOptionType$1.SingleSelect.toLocaleLowerCase():
|
|
28489
28572
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, DropdownListComponent, this.group, this.options);
|
|
28490
28573
|
break;
|
|
28491
28574
|
//FileUpload
|
|
28492
|
-
case SurveyOptionType.File.toLocaleLowerCase():
|
|
28493
|
-
case SurveyOptionType.MultiFile.toLocaleLowerCase():
|
|
28575
|
+
case SurveyOptionType$1.File.toLocaleLowerCase():
|
|
28576
|
+
case SurveyOptionType$1.MultiFile.toLocaleLowerCase():
|
|
28494
28577
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, FileUploadComponent, this.group, this.options);
|
|
28495
28578
|
break;
|
|
28496
28579
|
//Boolean
|
|
28497
|
-
case SurveyOptionType.Boolean.toLocaleLowerCase():
|
|
28580
|
+
case SurveyOptionType$1.Boolean.toLocaleLowerCase():
|
|
28498
28581
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, ToggleslideComponent, this.group, this.options);
|
|
28499
28582
|
break;
|
|
28500
28583
|
//MultilineText
|
|
28501
|
-
case SurveyOptionType.MultilineText.toLocaleLowerCase():
|
|
28584
|
+
case SurveyOptionType$1.MultilineText.toLocaleLowerCase():
|
|
28502
28585
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, TextAreaComponent, this.group, this.options);
|
|
28503
28586
|
break;
|
|
28504
|
-
case SurveyOptionType.Image.toLocaleLowerCase():
|
|
28587
|
+
case SurveyOptionType$1.Image.toLocaleLowerCase():
|
|
28505
28588
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, ImageUploaderComponent, this.group, this.options);
|
|
28506
28589
|
break;
|
|
28507
28590
|
//MultilineText
|
|
28508
|
-
case SurveyOptionType.RadioButton.toLocaleLowerCase():
|
|
28591
|
+
case SurveyOptionType$1.RadioButton.toLocaleLowerCase():
|
|
28509
28592
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, RadioButtonComponent, this.group, this.options);
|
|
28510
28593
|
break;
|
|
28511
28594
|
default:
|
|
@@ -28571,7 +28654,7 @@ class SurveyFormComponent {
|
|
|
28571
28654
|
var element = this.options.QuestionList[index];
|
|
28572
28655
|
switch (element.questionTypeItemID) {
|
|
28573
28656
|
///TextBox
|
|
28574
|
-
case SurveyOptionType.Text.toLocaleLowerCase():
|
|
28657
|
+
case SurveyOptionType$1.Text.toLocaleLowerCase():
|
|
28575
28658
|
var Text = new TextBoxOptions();
|
|
28576
28659
|
Text.Name = 'q' + element.iD_GUID;
|
|
28577
28660
|
Text.LabelValue = this.utilityService.isCurrentLanguageArabic()
|
|
@@ -28599,7 +28682,7 @@ class SurveyFormComponent {
|
|
|
28599
28682
|
this.checkList.push(Text);
|
|
28600
28683
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, Text, element.options.size);
|
|
28601
28684
|
break;
|
|
28602
|
-
case SurveyOptionType.Email.toLocaleLowerCase():
|
|
28685
|
+
case SurveyOptionType$1.Email.toLocaleLowerCase():
|
|
28603
28686
|
let Email = new TextBoxOptions();
|
|
28604
28687
|
Email.Name = 'q' + element.iD_GUID;
|
|
28605
28688
|
Email.LabelValue = this.utilityService.isCurrentLanguageArabic()
|
|
@@ -28623,7 +28706,7 @@ class SurveyFormComponent {
|
|
|
28623
28706
|
this.checkList.push(Email);
|
|
28624
28707
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, Email, element.options.size);
|
|
28625
28708
|
break;
|
|
28626
|
-
case SurveyOptionType.Number.toLocaleLowerCase():
|
|
28709
|
+
case SurveyOptionType$1.Number.toLocaleLowerCase():
|
|
28627
28710
|
let Number = new TextBoxOptions();
|
|
28628
28711
|
Number.Name = 'q' + element.iD_GUID;
|
|
28629
28712
|
Number.HideLabel = false;
|
|
@@ -28653,7 +28736,7 @@ class SurveyFormComponent {
|
|
|
28653
28736
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, Number, element.options.size);
|
|
28654
28737
|
break;
|
|
28655
28738
|
///DateTime
|
|
28656
|
-
case SurveyOptionType.Date.toLocaleLowerCase():
|
|
28739
|
+
case SurveyOptionType$1.Date.toLocaleLowerCase():
|
|
28657
28740
|
let Date = new DatePickerOptions();
|
|
28658
28741
|
Date.Name = 'q' + element.iD_GUID;
|
|
28659
28742
|
Date.HideLabel = false;
|
|
@@ -28679,7 +28762,7 @@ class SurveyFormComponent {
|
|
|
28679
28762
|
this.checkList.push(Date);
|
|
28680
28763
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, Date, element.options.size);
|
|
28681
28764
|
break;
|
|
28682
|
-
case SurveyOptionType.DateTime.toLocaleLowerCase():
|
|
28765
|
+
case SurveyOptionType$1.DateTime.toLocaleLowerCase():
|
|
28683
28766
|
let DateTime = new DatePickerOptions();
|
|
28684
28767
|
DateTime.Name = 'q' + element.iD_GUID;
|
|
28685
28768
|
DateTime.HideLabel = false;
|
|
@@ -28707,7 +28790,7 @@ class SurveyFormComponent {
|
|
|
28707
28790
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, DateTime, element.options.size);
|
|
28708
28791
|
break;
|
|
28709
28792
|
//Dropdown
|
|
28710
|
-
case SurveyOptionType.SingleSelect.toLocaleLowerCase():
|
|
28793
|
+
case SurveyOptionType$1.SingleSelect.toLocaleLowerCase():
|
|
28711
28794
|
let SingleSelect = new DropdownOptions();
|
|
28712
28795
|
SingleSelect.Name = 'q' + element.iD_GUID;
|
|
28713
28796
|
SingleSelect.HideLabel = false;
|
|
@@ -28748,7 +28831,7 @@ class SurveyFormComponent {
|
|
|
28748
28831
|
this.checkList.push(SingleSelect);
|
|
28749
28832
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, SingleSelect, element.options.size);
|
|
28750
28833
|
break;
|
|
28751
|
-
case SurveyOptionType.RadioButton.toLocaleLowerCase():
|
|
28834
|
+
case SurveyOptionType$1.RadioButton.toLocaleLowerCase():
|
|
28752
28835
|
let radioButton = new RadioButtonOptions();
|
|
28753
28836
|
radioButton.Name = 'q' + element.iD_GUID;
|
|
28754
28837
|
radioButton.HideLabel = false;
|
|
@@ -28783,7 +28866,7 @@ class SurveyFormComponent {
|
|
|
28783
28866
|
this.checkList.push(radioButton);
|
|
28784
28867
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, radioButton, element.options.size);
|
|
28785
28868
|
break;
|
|
28786
|
-
case SurveyOptionType.MultipleSelect.toLocaleLowerCase():
|
|
28869
|
+
case SurveyOptionType$1.MultipleSelect.toLocaleLowerCase():
|
|
28787
28870
|
let MulipleSelect = new DropdownOptions();
|
|
28788
28871
|
MulipleSelect.Name = 'q' + element.iD_GUID;
|
|
28789
28872
|
MulipleSelect.HideLabel = false;
|
|
@@ -28824,7 +28907,7 @@ class SurveyFormComponent {
|
|
|
28824
28907
|
this.checkList.push(MulipleSelect);
|
|
28825
28908
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, MulipleSelect, element.options.size);
|
|
28826
28909
|
break;
|
|
28827
|
-
case SurveyOptionType.Country.toLocaleLowerCase():
|
|
28910
|
+
case SurveyOptionType$1.Country.toLocaleLowerCase():
|
|
28828
28911
|
let Country = new DropdownOptions();
|
|
28829
28912
|
Country.Name = 'q' + element.iD_GUID;
|
|
28830
28913
|
Country.HideLabel = false;
|
|
@@ -28853,7 +28936,7 @@ class SurveyFormComponent {
|
|
|
28853
28936
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, Country, element.options.size);
|
|
28854
28937
|
break;
|
|
28855
28938
|
//FileUpload
|
|
28856
|
-
case SurveyOptionType.MultiFile.toLocaleLowerCase():
|
|
28939
|
+
case SurveyOptionType$1.MultiFile.toLocaleLowerCase():
|
|
28857
28940
|
let MultiFile = new FileUploadOptions();
|
|
28858
28941
|
MultiFile.Name = 'q' + element.iD_GUID;
|
|
28859
28942
|
MultiFile.HideLabel = false;
|
|
@@ -28906,7 +28989,7 @@ class SurveyFormComponent {
|
|
|
28906
28989
|
this.checkList.push(MultiFile);
|
|
28907
28990
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, MultiFile, element.options.size);
|
|
28908
28991
|
break;
|
|
28909
|
-
case SurveyOptionType.File.toLocaleLowerCase():
|
|
28992
|
+
case SurveyOptionType$1.File.toLocaleLowerCase():
|
|
28910
28993
|
let File = new FileUploadOptions();
|
|
28911
28994
|
File.Name = 'q' + element.iD_GUID;
|
|
28912
28995
|
File.HideLabel = false;
|
|
@@ -28958,7 +29041,7 @@ class SurveyFormComponent {
|
|
|
28958
29041
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, File, element.options.size);
|
|
28959
29042
|
break;
|
|
28960
29043
|
//ImageUpload
|
|
28961
|
-
case SurveyOptionType.Image.toLocaleLowerCase():
|
|
29044
|
+
case SurveyOptionType$1.Image.toLocaleLowerCase():
|
|
28962
29045
|
let Image = new ImageUploadOptions();
|
|
28963
29046
|
Image.Name = 'q' + element.iD_GUID;
|
|
28964
29047
|
Image.HideLabel = false;
|
|
@@ -28984,7 +29067,7 @@ class SurveyFormComponent {
|
|
|
28984
29067
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, Image, element.options.size);
|
|
28985
29068
|
break;
|
|
28986
29069
|
//MultilineText
|
|
28987
|
-
case SurveyOptionType.MultilineText.toLocaleLowerCase():
|
|
29070
|
+
case SurveyOptionType$1.MultilineText.toLocaleLowerCase():
|
|
28988
29071
|
let MultilineText = new TextAreaOptions();
|
|
28989
29072
|
MultilineText.Name = 'q' + element.iD_GUID;
|
|
28990
29073
|
MultilineText.HideLabel = false;
|
|
@@ -29019,7 +29102,7 @@ class SurveyFormComponent {
|
|
|
29019
29102
|
this.renderComponentService.renderDynamicComponent(viewContainerRef, SurveyFormItemComponent, this.filedGroup, MultilineText, element.options.size);
|
|
29020
29103
|
break;
|
|
29021
29104
|
//HTML
|
|
29022
|
-
case SurveyOptionType.Boolean.toLocaleLowerCase():
|
|
29105
|
+
case SurveyOptionType$1.Boolean.toLocaleLowerCase():
|
|
29023
29106
|
let Boolean = new ToggleSlideOptions();
|
|
29024
29107
|
Boolean.Name = 'q' + element.iD_GUID;
|
|
29025
29108
|
Boolean.LabelExtraClasses = this.labelClass;
|
|
@@ -29068,28 +29151,28 @@ class SurveyFormComponent {
|
|
|
29068
29151
|
item.QuestionFieldID = id;
|
|
29069
29152
|
item.QuestionTypeItemID = filteredItem.questionTypeItemID;
|
|
29070
29153
|
switch (filteredItem.questionTypeItemID) {
|
|
29071
|
-
case SurveyOptionType.Text.toLocaleLowerCase():
|
|
29154
|
+
case SurveyOptionType$1.Text.toLocaleLowerCase():
|
|
29072
29155
|
item.Text = element.value;
|
|
29073
29156
|
break;
|
|
29074
|
-
case SurveyOptionType.Email.toLocaleLowerCase():
|
|
29157
|
+
case SurveyOptionType$1.Email.toLocaleLowerCase():
|
|
29075
29158
|
item.Text = element.value;
|
|
29076
29159
|
break;
|
|
29077
|
-
case SurveyOptionType.Number.toLocaleLowerCase():
|
|
29160
|
+
case SurveyOptionType$1.Number.toLocaleLowerCase():
|
|
29078
29161
|
item.Text = element.value;
|
|
29079
29162
|
break;
|
|
29080
|
-
case SurveyOptionType.MultilineText.toLocaleLowerCase():
|
|
29163
|
+
case SurveyOptionType$1.MultilineText.toLocaleLowerCase():
|
|
29081
29164
|
item.Text = element.value;
|
|
29082
29165
|
break;
|
|
29083
|
-
case SurveyOptionType.Boolean.toLocaleLowerCase():
|
|
29166
|
+
case SurveyOptionType$1.Boolean.toLocaleLowerCase():
|
|
29084
29167
|
item.Boolean = element.value;
|
|
29085
29168
|
break;
|
|
29086
|
-
case SurveyOptionType.Date.toLocaleLowerCase():
|
|
29169
|
+
case SurveyOptionType$1.Date.toLocaleLowerCase():
|
|
29087
29170
|
item.DateTime = element.value;
|
|
29088
29171
|
break;
|
|
29089
|
-
case SurveyOptionType.DateTime.toLocaleLowerCase():
|
|
29172
|
+
case SurveyOptionType$1.DateTime.toLocaleLowerCase():
|
|
29090
29173
|
item.DateTime = element.value;
|
|
29091
29174
|
break;
|
|
29092
|
-
case SurveyOptionType.SingleSelect.toLocaleLowerCase():
|
|
29175
|
+
case SurveyOptionType$1.SingleSelect.toLocaleLowerCase():
|
|
29093
29176
|
item.SelectedIDs = [element.value];
|
|
29094
29177
|
this.addShowedChildQuestions(element.value);
|
|
29095
29178
|
debugger;
|
|
@@ -29098,7 +29181,7 @@ class SurveyFormComponent {
|
|
|
29098
29181
|
? (_b = filteredItem.questionOptions) === null || _b === void 0 ? void 0 : _b.filter((item) => item.iD_GUID == element.value)[0].score
|
|
29099
29182
|
: 0;
|
|
29100
29183
|
break;
|
|
29101
|
-
case SurveyOptionType.RadioButton.toLocaleLowerCase():
|
|
29184
|
+
case SurveyOptionType$1.RadioButton.toLocaleLowerCase():
|
|
29102
29185
|
item.SelectedIDs = [element.value];
|
|
29103
29186
|
this.addShowedChildQuestions(element.value);
|
|
29104
29187
|
if (filteredItem.isAllowScoring)
|
|
@@ -29106,7 +29189,7 @@ class SurveyFormComponent {
|
|
|
29106
29189
|
? (_d = filteredItem.questionOptions) === null || _d === void 0 ? void 0 : _d.filter((item) => item.iD_GUID == element.value)[0].score
|
|
29107
29190
|
: 0;
|
|
29108
29191
|
break;
|
|
29109
|
-
case SurveyOptionType.MultipleSelect.toLocaleLowerCase():
|
|
29192
|
+
case SurveyOptionType$1.MultipleSelect.toLocaleLowerCase():
|
|
29110
29193
|
item.SelectedIDs = element.value;
|
|
29111
29194
|
if (element.value)
|
|
29112
29195
|
for (let index = 0; index < element.value.length; index++) {
|
|
@@ -29120,19 +29203,19 @@ class SurveyFormComponent {
|
|
|
29120
29203
|
}
|
|
29121
29204
|
}
|
|
29122
29205
|
break;
|
|
29123
|
-
case SurveyOptionType.Country.toLocaleLowerCase():
|
|
29206
|
+
case SurveyOptionType$1.Country.toLocaleLowerCase():
|
|
29124
29207
|
item.SelectedIDs = [element.value];
|
|
29125
29208
|
break;
|
|
29126
|
-
case SurveyOptionType.Image.toLocaleLowerCase():
|
|
29209
|
+
case SurveyOptionType$1.Image.toLocaleLowerCase():
|
|
29127
29210
|
item.FileDTO = element.value;
|
|
29128
29211
|
break;
|
|
29129
|
-
case SurveyOptionType.File.toLocaleLowerCase():
|
|
29212
|
+
case SurveyOptionType$1.File.toLocaleLowerCase():
|
|
29130
29213
|
if (element.value)
|
|
29131
29214
|
item.FileDTO = element.value.File
|
|
29132
29215
|
? element.value.File
|
|
29133
29216
|
: element.value;
|
|
29134
29217
|
break;
|
|
29135
|
-
case SurveyOptionType.MultiFile.toLocaleLowerCase():
|
|
29218
|
+
case SurveyOptionType$1.MultiFile.toLocaleLowerCase():
|
|
29136
29219
|
item.FileCorrelationDTO = element.value;
|
|
29137
29220
|
break;
|
|
29138
29221
|
default:
|
|
@@ -29252,8 +29335,8 @@ class PreviewComponent extends AppBaseComponent {
|
|
|
29252
29335
|
this.pageHeaderOptions.BreadCrumb.BreadCrumbItems = this.breadCrumb;
|
|
29253
29336
|
this.audienceTypeRadioButton = new RadioButtonOptions();
|
|
29254
29337
|
this.audienceTypeRadioButton.Name = "AudienceType";
|
|
29255
|
-
this.audienceTypeRadioButton.Value = AudienceType.Internal;
|
|
29256
|
-
this.audienceTypeRadioButton.Items = [{ Text: this.l('InternalUsers'), Value: AudienceType.Internal }, { Text: this.l('ExternalUsers'), Value: AudienceType.External }];
|
|
29338
|
+
this.audienceTypeRadioButton.Value = AudienceType$1.Internal;
|
|
29339
|
+
this.audienceTypeRadioButton.Items = [{ Text: this.l('InternalUsers'), Value: AudienceType$1.Internal }, { Text: this.l('ExternalUsers'), Value: AudienceType$1.External }];
|
|
29257
29340
|
this.EN = this.utilityService.isCurrentLanguageEnglish();
|
|
29258
29341
|
this.surveyService.preview(this.surveyID).subscribe((res) => {
|
|
29259
29342
|
this.previewForm = new FormGroup({});
|
|
@@ -29275,24 +29358,24 @@ class PreviewComponent extends AppBaseComponent {
|
|
|
29275
29358
|
this.surveyFormField.Name = "SurveyFields";
|
|
29276
29359
|
this.surveyFormField.Readonly = false;
|
|
29277
29360
|
switch (this.audienceTypeID) {
|
|
29278
|
-
case AudienceType.Both:
|
|
29361
|
+
case AudienceType$1.Both:
|
|
29279
29362
|
this.showAudienceType = true;
|
|
29280
|
-
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType.Internal || item.audienceItemID == AudienceType.Both);
|
|
29363
|
+
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType$1.Internal || item.audienceItemID == AudienceType$1.Both);
|
|
29281
29364
|
this.showInternal = true;
|
|
29282
29365
|
this.showExternal = false;
|
|
29283
29366
|
break;
|
|
29284
|
-
case AudienceType.Internal:
|
|
29367
|
+
case AudienceType$1.Internal:
|
|
29285
29368
|
this.showAudienceType = false;
|
|
29286
29369
|
this.showInternal = true;
|
|
29287
29370
|
this.showExternal = false;
|
|
29288
|
-
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType.Internal || item.audienceItemID == AudienceType.Both);
|
|
29371
|
+
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType$1.Internal || item.audienceItemID == AudienceType$1.Both);
|
|
29289
29372
|
break;
|
|
29290
|
-
case AudienceType.External:
|
|
29373
|
+
case AudienceType$1.External:
|
|
29291
29374
|
this.showAudienceType = false;
|
|
29292
29375
|
this.showInternal = false;
|
|
29293
29376
|
this.showExternal = true;
|
|
29294
29377
|
this.loadExternalControls();
|
|
29295
|
-
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType.External || item.audienceItemID == AudienceType.Both);
|
|
29378
|
+
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType$1.External || item.audienceItemID == AudienceType$1.Both);
|
|
29296
29379
|
break;
|
|
29297
29380
|
default:
|
|
29298
29381
|
break;
|
|
@@ -29302,16 +29385,16 @@ class PreviewComponent extends AppBaseComponent {
|
|
|
29302
29385
|
}
|
|
29303
29386
|
ChangeAudienceTypeValue(value) {
|
|
29304
29387
|
switch (value) {
|
|
29305
|
-
case AudienceType.Internal:
|
|
29388
|
+
case AudienceType$1.Internal:
|
|
29306
29389
|
this.showInternal = true;
|
|
29307
29390
|
this.showExternal = false;
|
|
29308
|
-
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType.Internal || item.audienceItemID == AudienceType.Both);
|
|
29391
|
+
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType$1.Internal || item.audienceItemID == AudienceType$1.Both);
|
|
29309
29392
|
break;
|
|
29310
|
-
case AudienceType.External:
|
|
29393
|
+
case AudienceType$1.External:
|
|
29311
29394
|
this.showInternal = false;
|
|
29312
29395
|
this.showExternal = true;
|
|
29313
29396
|
this.loadExternalControls();
|
|
29314
|
-
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType.External || item.audienceItemID == AudienceType.Both);
|
|
29397
|
+
this.surveyFormField.QuestionList = this.surveyInfo.questions.filter(item => item.audienceItemID == AudienceType$1.External || item.audienceItemID == AudienceType$1.Both);
|
|
29315
29398
|
break;
|
|
29316
29399
|
default:
|
|
29317
29400
|
break;
|
|
@@ -29650,21 +29733,21 @@ class EditSurveyComponent extends AppBaseComponent {
|
|
|
29650
29733
|
}
|
|
29651
29734
|
changeAudience(key) {
|
|
29652
29735
|
switch (key) {
|
|
29653
|
-
case AudienceType.Internal:
|
|
29736
|
+
case AudienceType$1.Internal:
|
|
29654
29737
|
this.showHasSectorOrDepartment = true;
|
|
29655
29738
|
this.changeHasSectorOrDepartment(this.model.hasSectorOrDepartment);
|
|
29656
29739
|
this.sector.SelectedItems = this.model.selectedSectorIDs;
|
|
29657
29740
|
this.department.SelectedItems = this.model.selectedDepartmentIDs;
|
|
29658
29741
|
this.showHasCaptcha = false;
|
|
29659
29742
|
break;
|
|
29660
|
-
case AudienceType.Both:
|
|
29743
|
+
case AudienceType$1.Both:
|
|
29661
29744
|
this.showHasSectorOrDepartment = true;
|
|
29662
29745
|
this.showHasCaptcha = true;
|
|
29663
29746
|
this.changeHasSectorOrDepartment(this.model.hasSectorOrDepartment);
|
|
29664
29747
|
this.sector.SelectedItems = this.model.selectedSectorIDs;
|
|
29665
29748
|
this.department.SelectedItems = this.model.selectedDepartmentIDs;
|
|
29666
29749
|
break;
|
|
29667
|
-
case AudienceType.External:
|
|
29750
|
+
case AudienceType$1.External:
|
|
29668
29751
|
this.showHasSectorOrDepartment = false;
|
|
29669
29752
|
this.showHasCaptcha = true;
|
|
29670
29753
|
this.department.SelectedItems = [];
|
|
@@ -29789,7 +29872,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
29789
29872
|
this.injector = injector;
|
|
29790
29873
|
this.surveyQuestionService = surveyQuestionService;
|
|
29791
29874
|
this.ngWizardService = ngWizardService;
|
|
29792
|
-
this.audienceType = AudienceType;
|
|
29875
|
+
this.audienceType = AudienceType$1;
|
|
29793
29876
|
this.isNumber = false;
|
|
29794
29877
|
this.isText = false;
|
|
29795
29878
|
this.isFile = false;
|
|
@@ -30001,7 +30084,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30001
30084
|
addModel.Description.English = resultModel.Description.English;
|
|
30002
30085
|
addModel.Options.Description.Arabic = resultModel.Description.Arabic;
|
|
30003
30086
|
addModel.Options.Description.English = resultModel.Description.English;
|
|
30004
|
-
if (this.audienceTypeID == AudienceType.Both)
|
|
30087
|
+
if (this.audienceTypeID == AudienceType$1.Both)
|
|
30005
30088
|
addModel.AudienceItemID = resultModel.AudienceItemID;
|
|
30006
30089
|
else
|
|
30007
30090
|
addModel.AudienceItemID = this.audienceTypeID;
|
|
@@ -30083,7 +30166,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30083
30166
|
changeDataType(key) {
|
|
30084
30167
|
this.updateFormStatus(key);
|
|
30085
30168
|
switch (key) {
|
|
30086
|
-
case SurveyOptionType.Text:
|
|
30169
|
+
case SurveyOptionType$1.Text:
|
|
30087
30170
|
this.updateLengthValidator(this.addMaxLength.Name, 255, 1);
|
|
30088
30171
|
this.updateLengthValidator(this.addMinLength.Name, 255, 1);
|
|
30089
30172
|
this.addMaxLength.NumberRange.From = 1;
|
|
@@ -30097,7 +30180,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30097
30180
|
this.isImage = false;
|
|
30098
30181
|
this.isSelect = false;
|
|
30099
30182
|
break;
|
|
30100
|
-
case SurveyOptionType.MultilineText:
|
|
30183
|
+
case SurveyOptionType$1.MultilineText:
|
|
30101
30184
|
this.updateLengthValidator(this.addMaxLength.Name, 4000, 1);
|
|
30102
30185
|
this.updateLengthValidator(this.addMinLength.Name, 4000, 1);
|
|
30103
30186
|
this.addMaxLength.NumberRange.From = 1;
|
|
@@ -30111,7 +30194,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30111
30194
|
this.isImage = false;
|
|
30112
30195
|
this.isSelect = false;
|
|
30113
30196
|
break;
|
|
30114
|
-
case SurveyOptionType.Number:
|
|
30197
|
+
case SurveyOptionType$1.Number:
|
|
30115
30198
|
this.updateLengthValidator(this.addMaxLength.Name, 100, 1);
|
|
30116
30199
|
this.updateLengthValidator(this.addMinLength.Name, 100, 1);
|
|
30117
30200
|
this.addMaxLength.NumberRange.From = 1;
|
|
@@ -30125,7 +30208,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30125
30208
|
this.isImage = false;
|
|
30126
30209
|
this.isSelect = false;
|
|
30127
30210
|
break;
|
|
30128
|
-
case SurveyOptionType.File:
|
|
30211
|
+
case SurveyOptionType$1.File:
|
|
30129
30212
|
this.isFile = true;
|
|
30130
30213
|
this.isNumber = false;
|
|
30131
30214
|
this.isText = false;
|
|
@@ -30133,7 +30216,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30133
30216
|
this.isImage = false;
|
|
30134
30217
|
this.isSelect = false;
|
|
30135
30218
|
break;
|
|
30136
|
-
case SurveyOptionType.MultiFile:
|
|
30219
|
+
case SurveyOptionType$1.MultiFile:
|
|
30137
30220
|
this.isMultiFile = true;
|
|
30138
30221
|
this.isNumber = false;
|
|
30139
30222
|
this.isText = false;
|
|
@@ -30141,7 +30224,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30141
30224
|
this.isImage = false;
|
|
30142
30225
|
this.isSelect = false;
|
|
30143
30226
|
break;
|
|
30144
|
-
case SurveyOptionType.Image:
|
|
30227
|
+
case SurveyOptionType$1.Image:
|
|
30145
30228
|
this.isImage = true;
|
|
30146
30229
|
this.isMultiFile = false;
|
|
30147
30230
|
this.isNumber = false;
|
|
@@ -30149,9 +30232,9 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30149
30232
|
this.isFile = false;
|
|
30150
30233
|
this.isSelect = false;
|
|
30151
30234
|
break;
|
|
30152
|
-
case SurveyOptionType.MultipleSelect:
|
|
30153
|
-
case SurveyOptionType.SingleSelect:
|
|
30154
|
-
case SurveyOptionType.RadioButton:
|
|
30235
|
+
case SurveyOptionType$1.MultipleSelect:
|
|
30236
|
+
case SurveyOptionType$1.SingleSelect:
|
|
30237
|
+
case SurveyOptionType$1.RadioButton:
|
|
30155
30238
|
this.isNumber = false;
|
|
30156
30239
|
this.isText = false;
|
|
30157
30240
|
this.isFile = false;
|
|
@@ -30270,8 +30353,8 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30270
30353
|
}
|
|
30271
30354
|
updateFormStatus(key) {
|
|
30272
30355
|
switch (key) {
|
|
30273
|
-
case SurveyOptionType.Text:
|
|
30274
|
-
case SurveyOptionType.MultilineText:
|
|
30356
|
+
case SurveyOptionType$1.Text:
|
|
30357
|
+
case SurveyOptionType$1.MultilineText:
|
|
30275
30358
|
if (this.addModelForm.get(this.addMaxLength.Name))
|
|
30276
30359
|
this.addRequiredRule(this.addModelForm.get(this.addMaxLength.Name), this.addMaxLength);
|
|
30277
30360
|
if (this.addModelForm.get(this.addMinLength.Name))
|
|
@@ -30283,7 +30366,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30283
30366
|
if (this.addModelForm.get(this.addFilesExtensions.Name))
|
|
30284
30367
|
this.removeRequiredRule(this.addModelForm.get(this.addFilesExtensions.Name), this.addFilesExtensions);
|
|
30285
30368
|
break;
|
|
30286
|
-
case SurveyOptionType.Number:
|
|
30369
|
+
case SurveyOptionType$1.Number:
|
|
30287
30370
|
if (this.addModelForm.get(this.addMaxLength.Name))
|
|
30288
30371
|
this.addRequiredRule(this.addModelForm.get(this.addMaxLength.Name), this.addMaxLength);
|
|
30289
30372
|
if (this.addModelForm.get(this.addMinLength.Name))
|
|
@@ -30295,7 +30378,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30295
30378
|
if (this.addModelForm.get(this.addFilesExtensions.Name))
|
|
30296
30379
|
this.removeRequiredRule(this.addModelForm.get(this.addFilesExtensions.Name), this.addFilesExtensions);
|
|
30297
30380
|
break;
|
|
30298
|
-
case SurveyOptionType.File:
|
|
30381
|
+
case SurveyOptionType$1.File:
|
|
30299
30382
|
if (this.addModelForm.get(this.addMaxLength.Name))
|
|
30300
30383
|
this.removeRequiredRule(this.addModelForm.get(this.addMaxLength.Name), this.addMaxLength);
|
|
30301
30384
|
if (this.addModelForm.get(this.addMinLength.Name))
|
|
@@ -30307,7 +30390,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30307
30390
|
if (this.addModelForm.get(this.addFilesExtensions.Name))
|
|
30308
30391
|
this.addRequiredRule(this.addModelForm.get(this.addFilesExtensions.Name), this.addFilesExtensions);
|
|
30309
30392
|
break;
|
|
30310
|
-
case SurveyOptionType.MultiFile:
|
|
30393
|
+
case SurveyOptionType$1.MultiFile:
|
|
30311
30394
|
if (this.addModelForm.get(this.addMaxLength.Name))
|
|
30312
30395
|
this.removeRequiredRule(this.addModelForm.get(this.addMaxLength.Name), this.addMaxLength);
|
|
30313
30396
|
if (this.addModelForm.get(this.addMinLength.Name))
|
|
@@ -30319,7 +30402,7 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30319
30402
|
if (this.addModelForm.get(this.addFilesExtensions.Name))
|
|
30320
30403
|
this.addRequiredRule(this.addModelForm.get(this.addFilesExtensions.Name), this.addFilesExtensions);
|
|
30321
30404
|
break;
|
|
30322
|
-
case SurveyOptionType.Image:
|
|
30405
|
+
case SurveyOptionType$1.Image:
|
|
30323
30406
|
if (this.addModelForm.get(this.addMaxLength.Name))
|
|
30324
30407
|
this.removeRequiredRule(this.addModelForm.get(this.addMaxLength.Name), this.addMaxLength);
|
|
30325
30408
|
if (this.addModelForm.get(this.addMinLength.Name))
|
|
@@ -30331,8 +30414,8 @@ class AddQuestionComponent extends AppBaseComponent {
|
|
|
30331
30414
|
if (this.addModelForm.get(this.addFilesExtensions.Name))
|
|
30332
30415
|
this.removeRequiredRule(this.addModelForm.get(this.addFilesExtensions.Name), this.addFilesExtensions);
|
|
30333
30416
|
break;
|
|
30334
|
-
case SurveyOptionType.MultipleSelect:
|
|
30335
|
-
case SurveyOptionType.SingleSelect:
|
|
30417
|
+
case SurveyOptionType$1.MultipleSelect:
|
|
30418
|
+
case SurveyOptionType$1.SingleSelect:
|
|
30336
30419
|
if (this.addModelForm.get(this.addMaxLength.Name))
|
|
30337
30420
|
this.removeRequiredRule(this.addModelForm.get(this.addMaxLength.Name), this.addMaxLength);
|
|
30338
30421
|
if (this.addModelForm.get(this.addMinLength.Name))
|
|
@@ -30417,7 +30500,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30417
30500
|
this.showOptions = false;
|
|
30418
30501
|
this.errorMessage = null;
|
|
30419
30502
|
this.totalScore = 0;
|
|
30420
|
-
this.audienceType = AudienceType;
|
|
30503
|
+
this.audienceType = AudienceType$1;
|
|
30421
30504
|
this.editModal = (id, surveyAudienceTypeID, isViewOnly = false) => {
|
|
30422
30505
|
this.isViewOnly = isViewOnly;
|
|
30423
30506
|
this.isEditFormChange = false;
|
|
@@ -30683,7 +30766,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30683
30766
|
editModel.Description.English = resultModel.Description.English;
|
|
30684
30767
|
editModel.Options.Description.Arabic = resultModel.Description.Arabic;
|
|
30685
30768
|
editModel.Options.Description.English = resultModel.Description.English;
|
|
30686
|
-
if (this.surveyAudienceTypeID == AudienceType.Both)
|
|
30769
|
+
if (this.surveyAudienceTypeID == AudienceType$1.Both)
|
|
30687
30770
|
editModel.AudienceItemID = resultModel.AudienceItemID;
|
|
30688
30771
|
else
|
|
30689
30772
|
editModel.AudienceItemID = this.audienceTypeID;
|
|
@@ -30763,7 +30846,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30763
30846
|
changeDataType(key) {
|
|
30764
30847
|
this.updateFormStatus(key);
|
|
30765
30848
|
switch (key) {
|
|
30766
|
-
case SurveyOptionType.Text:
|
|
30849
|
+
case SurveyOptionType$1.Text:
|
|
30767
30850
|
this.updateLengthValidator(this.editMaxLength.Name, 255, 1);
|
|
30768
30851
|
this.updateLengthValidator(this.editMinLength.Name, 255, 1);
|
|
30769
30852
|
this.editMaxLength.NumberRange.From = 1;
|
|
@@ -30777,7 +30860,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30777
30860
|
this.isImage = false;
|
|
30778
30861
|
this.isSelect = false;
|
|
30779
30862
|
break;
|
|
30780
|
-
case SurveyOptionType.MultilineText:
|
|
30863
|
+
case SurveyOptionType$1.MultilineText:
|
|
30781
30864
|
this.updateLengthValidator(this.editMaxLength.Name, 4000, 1);
|
|
30782
30865
|
this.updateLengthValidator(this.editMinLength.Name, 4000, 1);
|
|
30783
30866
|
this.editMaxLength.NumberRange.From = 1;
|
|
@@ -30791,7 +30874,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30791
30874
|
this.isImage = false;
|
|
30792
30875
|
this.isSelect = false;
|
|
30793
30876
|
break;
|
|
30794
|
-
case SurveyOptionType.Number:
|
|
30877
|
+
case SurveyOptionType$1.Number:
|
|
30795
30878
|
this.updateLengthValidator(this.editMaxLength.Name, 100, 1);
|
|
30796
30879
|
this.updateLengthValidator(this.editMinLength.Name, 100, 1);
|
|
30797
30880
|
this.editMaxLength.NumberRange.From = 1;
|
|
@@ -30805,7 +30888,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30805
30888
|
this.isImage = false;
|
|
30806
30889
|
this.isSelect = false;
|
|
30807
30890
|
break;
|
|
30808
|
-
case SurveyOptionType.File:
|
|
30891
|
+
case SurveyOptionType$1.File:
|
|
30809
30892
|
this.isFile = true;
|
|
30810
30893
|
this.isNumber = false;
|
|
30811
30894
|
this.isText = false;
|
|
@@ -30813,7 +30896,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30813
30896
|
this.isImage = false;
|
|
30814
30897
|
this.isSelect = false;
|
|
30815
30898
|
break;
|
|
30816
|
-
case SurveyOptionType.MultiFile:
|
|
30899
|
+
case SurveyOptionType$1.MultiFile:
|
|
30817
30900
|
this.isMultiFile = true;
|
|
30818
30901
|
this.isNumber = false;
|
|
30819
30902
|
this.isText = false;
|
|
@@ -30821,7 +30904,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30821
30904
|
this.isImage = false;
|
|
30822
30905
|
this.isSelect = false;
|
|
30823
30906
|
break;
|
|
30824
|
-
case SurveyOptionType.Image:
|
|
30907
|
+
case SurveyOptionType$1.Image:
|
|
30825
30908
|
this.isImage = true;
|
|
30826
30909
|
this.isMultiFile = false;
|
|
30827
30910
|
this.isNumber = false;
|
|
@@ -30829,9 +30912,9 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30829
30912
|
this.isFile = false;
|
|
30830
30913
|
this.isSelect = false;
|
|
30831
30914
|
break;
|
|
30832
|
-
case SurveyOptionType.MultipleSelect:
|
|
30833
|
-
case SurveyOptionType.SingleSelect:
|
|
30834
|
-
case SurveyOptionType.RadioButton:
|
|
30915
|
+
case SurveyOptionType$1.MultipleSelect:
|
|
30916
|
+
case SurveyOptionType$1.SingleSelect:
|
|
30917
|
+
case SurveyOptionType$1.RadioButton:
|
|
30835
30918
|
this.isNumber = false;
|
|
30836
30919
|
this.isText = false;
|
|
30837
30920
|
this.isFile = false;
|
|
@@ -30953,8 +31036,8 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30953
31036
|
}
|
|
30954
31037
|
updateFormStatus(key) {
|
|
30955
31038
|
switch (key) {
|
|
30956
|
-
case SurveyOptionType.Text:
|
|
30957
|
-
case SurveyOptionType.MultilineText:
|
|
31039
|
+
case SurveyOptionType$1.Text:
|
|
31040
|
+
case SurveyOptionType$1.MultilineText:
|
|
30958
31041
|
if (this.editModelForm.get(this.editMaxLength.Name))
|
|
30959
31042
|
this.addRequiredRule(this.editModelForm.get(this.editMaxLength.Name), this.editMaxLength);
|
|
30960
31043
|
if (this.editModelForm.get(this.editMinLength.Name))
|
|
@@ -30966,7 +31049,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30966
31049
|
if (this.editModelForm.get(this.editFilesExtensions.Name))
|
|
30967
31050
|
this.removeRequiredRule(this.editModelForm.get(this.editFilesExtensions.Name), this.editFilesExtensions);
|
|
30968
31051
|
break;
|
|
30969
|
-
case SurveyOptionType.Number:
|
|
31052
|
+
case SurveyOptionType$1.Number:
|
|
30970
31053
|
if (this.editModelForm.get(this.editMaxLength.Name))
|
|
30971
31054
|
this.addRequiredRule(this.editModelForm.get(this.editMaxLength.Name), this.editMaxLength);
|
|
30972
31055
|
if (this.editModelForm.get(this.editMinLength.Name))
|
|
@@ -30978,7 +31061,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30978
31061
|
if (this.editModelForm.get(this.editFilesExtensions.Name))
|
|
30979
31062
|
this.removeRequiredRule(this.editModelForm.get(this.editFilesExtensions.Name), this.editFilesExtensions);
|
|
30980
31063
|
break;
|
|
30981
|
-
case SurveyOptionType.File:
|
|
31064
|
+
case SurveyOptionType$1.File:
|
|
30982
31065
|
if (this.editModelForm.get(this.editMaxLength.Name))
|
|
30983
31066
|
this.removeRequiredRule(this.editModelForm.get(this.editMaxLength.Name), this.editMaxLength);
|
|
30984
31067
|
if (this.editModelForm.get(this.editMinLength.Name))
|
|
@@ -30990,7 +31073,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
30990
31073
|
if (this.editModelForm.get(this.editFilesExtensions.Name))
|
|
30991
31074
|
this.addRequiredRule(this.editModelForm.get(this.editFilesExtensions.Name), this.editFilesExtensions);
|
|
30992
31075
|
break;
|
|
30993
|
-
case SurveyOptionType.MultiFile:
|
|
31076
|
+
case SurveyOptionType$1.MultiFile:
|
|
30994
31077
|
if (this.editModelForm.get(this.editMaxLength.Name))
|
|
30995
31078
|
this.removeRequiredRule(this.editModelForm.get(this.editMaxLength.Name), this.editMaxLength);
|
|
30996
31079
|
if (this.editModelForm.get(this.editMinLength.Name))
|
|
@@ -31002,7 +31085,7 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
31002
31085
|
if (this.editModelForm.get(this.editFilesExtensions.Name))
|
|
31003
31086
|
this.addRequiredRule(this.editModelForm.get(this.editFilesExtensions.Name), this.editFilesExtensions);
|
|
31004
31087
|
break;
|
|
31005
|
-
case SurveyOptionType.Image:
|
|
31088
|
+
case SurveyOptionType$1.Image:
|
|
31006
31089
|
if (this.editModelForm.get(this.editMaxLength.Name))
|
|
31007
31090
|
this.removeRequiredRule(this.editModelForm.get(this.editMaxLength.Name), this.editMaxLength);
|
|
31008
31091
|
if (this.editModelForm.get(this.editMinLength.Name))
|
|
@@ -31014,8 +31097,8 @@ class EditQuestionComponent extends AppBaseComponent {
|
|
|
31014
31097
|
if (this.editModelForm.get(this.editFilesExtensions.Name))
|
|
31015
31098
|
this.removeRequiredRule(this.editModelForm.get(this.editFilesExtensions.Name), this.editFilesExtensions);
|
|
31016
31099
|
break;
|
|
31017
|
-
case SurveyOptionType.MultipleSelect:
|
|
31018
|
-
case SurveyOptionType.SingleSelect:
|
|
31100
|
+
case SurveyOptionType$1.MultipleSelect:
|
|
31101
|
+
case SurveyOptionType$1.SingleSelect:
|
|
31019
31102
|
if (this.editModelForm.get(this.editMaxLength.Name))
|
|
31020
31103
|
this.removeRequiredRule(this.editModelForm.get(this.editMaxLength.Name), this.editMaxLength);
|
|
31021
31104
|
if (this.editModelForm.get(this.editMinLength.Name))
|
|
@@ -31219,7 +31302,7 @@ class UnPublishSurveyComponent extends AppBaseComponent {
|
|
|
31219
31302
|
super(injector);
|
|
31220
31303
|
this.injector = injector;
|
|
31221
31304
|
this.surveyService = surveyService;
|
|
31222
|
-
this.SurveyStatusEnum = SurveyStatusEnum;
|
|
31305
|
+
this.SurveyStatusEnum = SurveyStatusEnum$1;
|
|
31223
31306
|
this.unPublishForm = new FormGroup({});
|
|
31224
31307
|
this.UnPublishSurveyOptions = new FormOptions();
|
|
31225
31308
|
this.isShowEndDate = false;
|
|
@@ -31473,11 +31556,12 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31473
31556
|
this.surveyQuestionService = surveyQuestionService;
|
|
31474
31557
|
this.activatedRoute = activatedRoute;
|
|
31475
31558
|
this.surveyForm = new FormGroup({});
|
|
31559
|
+
this.enableActions = false;
|
|
31476
31560
|
this.urlForm = new FormGroup({});
|
|
31477
31561
|
this.SearchTextBox = new FormGroup({});
|
|
31478
31562
|
this.loadInfo = false;
|
|
31479
|
-
this.SurveyStatusEnum = SurveyStatusEnum;
|
|
31480
|
-
this.AudienceTypeEnum = AudienceType;
|
|
31563
|
+
this.SurveyStatusEnum = SurveyStatusEnum$1;
|
|
31564
|
+
this.AudienceTypeEnum = AudienceType$1;
|
|
31481
31565
|
this.surveyQuestions = [];
|
|
31482
31566
|
this.apiQuestionURL = this.surveyQuestionService.apiURL;
|
|
31483
31567
|
this.filtersQuestionForm = new FormGroup({});
|
|
@@ -31505,26 +31589,28 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31505
31589
|
this.router.navigate(['../../info/preview', this.surveyID, this.survey.audienceItemID], { relativeTo: this.activatedRoute });
|
|
31506
31590
|
};
|
|
31507
31591
|
this.takeSurvey = () => {
|
|
31508
|
-
this.router.navigate(['../../info/submission', this.surveyID], {
|
|
31592
|
+
this.router.navigate(['../../info/submission', this.surveyID], {
|
|
31593
|
+
relativeTo: this.activatedRoute,
|
|
31594
|
+
});
|
|
31509
31595
|
};
|
|
31510
31596
|
this.onSuccessHandler = (success) => {
|
|
31511
|
-
this.utilityService.notifySuccessMessage(this.l(
|
|
31597
|
+
this.utilityService.notifySuccessMessage(this.l('RecordUpdated'), null, null, false);
|
|
31512
31598
|
this.masterLayoutService.reloadComponent();
|
|
31513
31599
|
};
|
|
31514
31600
|
this.onSuccessDeleteHandler = (success) => {
|
|
31515
|
-
this.utilityService.notifySuccessMessage(this.l(
|
|
31516
|
-
this.router.navigate([
|
|
31601
|
+
this.utilityService.notifySuccessMessage(this.l('RecordDeleted'), null, null, false);
|
|
31602
|
+
this.router.navigate(['../../'], { relativeTo: this.activatedRoute });
|
|
31517
31603
|
};
|
|
31518
31604
|
this.onSuccessAddQuestionHandler = (success) => {
|
|
31519
|
-
this.utilityService.notifySuccessMessage(this.l(
|
|
31605
|
+
this.utilityService.notifySuccessMessage(this.l('RecordAdded'), null, null, false);
|
|
31520
31606
|
this.masterLayoutService.reloadComponent();
|
|
31521
31607
|
};
|
|
31522
31608
|
this.onSuccessEditQuestionHandler = (success) => {
|
|
31523
|
-
this.utilityService.notifySuccessMessage(this.l(
|
|
31609
|
+
this.utilityService.notifySuccessMessage(this.l('RecordUpdated'), null, null, false);
|
|
31524
31610
|
this.masterLayoutService.reloadComponent();
|
|
31525
31611
|
};
|
|
31526
31612
|
this.onSuccessDeleteQuestionHandler = (success) => {
|
|
31527
|
-
this.utilityService.notifySuccessMessage(this.l(
|
|
31613
|
+
this.utilityService.notifySuccessMessage(this.l('RecordDeleted'), null, null, false);
|
|
31528
31614
|
this.masterLayoutService.reloadComponent();
|
|
31529
31615
|
};
|
|
31530
31616
|
this.showDeleteSubmissionModal = (id) => {
|
|
@@ -31537,18 +31623,16 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31537
31623
|
this.unEliminateSubmissionConfirmationModalControl.showUnEliminateModal(id);
|
|
31538
31624
|
};
|
|
31539
31625
|
this.onSuccessDeleteHandlerSubmission = (success) => {
|
|
31540
|
-
this.utilityService.notifySuccessMessage(this.l(
|
|
31626
|
+
this.utilityService.notifySuccessMessage(this.l('RecordDeleted'), null, null, false);
|
|
31541
31627
|
this.loadSubmissionSection();
|
|
31542
31628
|
};
|
|
31543
31629
|
this.export = () => {
|
|
31544
|
-
this.surveyService
|
|
31545
|
-
.
|
|
31546
|
-
.subscribe((result) => {
|
|
31547
|
-
this.download(result, this.pageTitle + ".xlsx");
|
|
31630
|
+
this.surveyService.export(this.surveyID).subscribe((result) => {
|
|
31631
|
+
this.download(result, this.pageTitle + '.xlsx');
|
|
31548
31632
|
});
|
|
31549
31633
|
};
|
|
31550
31634
|
this.router.routeReuseStrategy.shouldReuseRoute = () => false;
|
|
31551
|
-
this.surveyID = this.activatedRoute.snapshot.params[
|
|
31635
|
+
this.surveyID = this.activatedRoute.snapshot.params['id'];
|
|
31552
31636
|
}
|
|
31553
31637
|
// Run the function only in the browser
|
|
31554
31638
|
browserOnly(f) {
|
|
@@ -31558,8 +31642,7 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31558
31642
|
});
|
|
31559
31643
|
}
|
|
31560
31644
|
}
|
|
31561
|
-
ngAfterViewInit() {
|
|
31562
|
-
}
|
|
31645
|
+
ngAfterViewInit() { }
|
|
31563
31646
|
maybeDisposeRoot(divId) {
|
|
31564
31647
|
am5.array.each(am5.registry.rootElements, (root) => {
|
|
31565
31648
|
if (root) {
|
|
@@ -31569,7 +31652,6 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31569
31652
|
}
|
|
31570
31653
|
});
|
|
31571
31654
|
}
|
|
31572
|
-
;
|
|
31573
31655
|
loadChart(item) {
|
|
31574
31656
|
// Chart code goes in here
|
|
31575
31657
|
this.browserOnly(() => {
|
|
@@ -31587,32 +31669,37 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31587
31669
|
layout: root.verticalLayout,
|
|
31588
31670
|
}));
|
|
31589
31671
|
// Define data
|
|
31590
|
-
let data = item.options.map(value => {
|
|
31672
|
+
let data = item.options.map((value) => {
|
|
31673
|
+
return {
|
|
31674
|
+
name: value.localizedTitle,
|
|
31675
|
+
value: value.numberOfSelectedTime,
|
|
31676
|
+
};
|
|
31677
|
+
});
|
|
31591
31678
|
// Create Y-axis
|
|
31592
31679
|
let yAxis = chart.yAxes.push(am5xy.ValueAxis.new(root, {
|
|
31593
31680
|
baseValue: 0,
|
|
31594
31681
|
maxPrecision: 0,
|
|
31595
31682
|
min: 0,
|
|
31596
31683
|
extraTooltipPrecision: 100,
|
|
31597
|
-
renderer: am5xy.AxisRendererY.new(root, {})
|
|
31684
|
+
renderer: am5xy.AxisRendererY.new(root, {}),
|
|
31598
31685
|
}));
|
|
31599
31686
|
// Create X-Axis
|
|
31600
31687
|
let xAxis = chart.xAxes.push(am5xy.CategoryAxis.new(root, {
|
|
31601
31688
|
renderer: am5xy.AxisRendererX.new(root, {}),
|
|
31602
|
-
categoryField:
|
|
31689
|
+
categoryField: 'name',
|
|
31603
31690
|
}));
|
|
31604
31691
|
xAxis.data.setAll(data);
|
|
31605
31692
|
// Create series
|
|
31606
31693
|
let series1 = chart.series.push(am5xy.ColumnSeries.new(root, {
|
|
31607
|
-
name:
|
|
31694
|
+
name: 'Question Options',
|
|
31608
31695
|
xAxis: xAxis,
|
|
31609
31696
|
yAxis: yAxis,
|
|
31610
|
-
valueYField:
|
|
31611
|
-
categoryXField:
|
|
31697
|
+
valueYField: 'value',
|
|
31698
|
+
categoryXField: 'name',
|
|
31612
31699
|
}));
|
|
31613
31700
|
series1.data.setAll(data);
|
|
31614
|
-
series1.set(
|
|
31615
|
-
series1.set(
|
|
31701
|
+
series1.set('fill', am5.color('#b68a35')); // set Series color to red
|
|
31702
|
+
series1.set('stroke', am5.color('#b68a35')); // set Series color to red
|
|
31616
31703
|
// Add legend
|
|
31617
31704
|
let legend = chart.children.push(am5.Legend.new(root, {}));
|
|
31618
31705
|
legend.data.push(series1);
|
|
@@ -31622,8 +31709,8 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31622
31709
|
x: 50,
|
|
31623
31710
|
});
|
|
31624
31711
|
legend.valueLabels.template.setAll({
|
|
31625
|
-
textAlign:
|
|
31626
|
-
paddingRight: 15
|
|
31712
|
+
textAlign: 'right',
|
|
31713
|
+
paddingRight: 15,
|
|
31627
31714
|
});
|
|
31628
31715
|
legend.itemContainers.template.setAll({
|
|
31629
31716
|
reverseChildren: true,
|
|
@@ -31639,7 +31726,7 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31639
31726
|
root.setThemes([am5themes_Animated.new(root)]);
|
|
31640
31727
|
let chart = root.container.children.push(am5xy.XYChart.new(root, {
|
|
31641
31728
|
panY: false,
|
|
31642
|
-
layout: root.verticalLayout
|
|
31729
|
+
layout: root.verticalLayout,
|
|
31643
31730
|
}));
|
|
31644
31731
|
// Define data
|
|
31645
31732
|
let data = [];
|
|
@@ -31647,8 +31734,8 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31647
31734
|
if (Object.prototype.hasOwnProperty.call(item.results, key)) {
|
|
31648
31735
|
const value = item.results[key];
|
|
31649
31736
|
let object = {
|
|
31650
|
-
category:
|
|
31651
|
-
value: value
|
|
31737
|
+
category: '<=' + key,
|
|
31738
|
+
value: value,
|
|
31652
31739
|
};
|
|
31653
31740
|
data.push(object);
|
|
31654
31741
|
}
|
|
@@ -31659,25 +31746,25 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31659
31746
|
maxPrecision: 0,
|
|
31660
31747
|
min: 0,
|
|
31661
31748
|
extraTooltipPrecision: 100,
|
|
31662
|
-
renderer: am5xy.AxisRendererY.new(root, {})
|
|
31749
|
+
renderer: am5xy.AxisRendererY.new(root, {}),
|
|
31663
31750
|
}));
|
|
31664
31751
|
// Create X-Axis
|
|
31665
31752
|
let xAxis = chart.xAxes.push(am5xy.CategoryAxis.new(root, {
|
|
31666
31753
|
renderer: am5xy.AxisRendererX.new(root, {}),
|
|
31667
|
-
categoryField:
|
|
31754
|
+
categoryField: 'category',
|
|
31668
31755
|
}));
|
|
31669
31756
|
xAxis.data.setAll(data);
|
|
31670
31757
|
// Create series
|
|
31671
31758
|
let series1 = chart.series.push(am5xy.ColumnSeries.new(root, {
|
|
31672
|
-
name:
|
|
31759
|
+
name: 'Score',
|
|
31673
31760
|
xAxis: xAxis,
|
|
31674
31761
|
yAxis: yAxis,
|
|
31675
|
-
valueYField:
|
|
31676
|
-
categoryXField:
|
|
31762
|
+
valueYField: 'value',
|
|
31763
|
+
categoryXField: 'category',
|
|
31677
31764
|
}));
|
|
31678
31765
|
series1.data.setAll(data);
|
|
31679
|
-
series1.set(
|
|
31680
|
-
series1.set(
|
|
31766
|
+
series1.set('fill', am5.color('#b68a35')); // set Series color to red
|
|
31767
|
+
series1.set('stroke', am5.color('#b68a35')); // set Series color to red
|
|
31681
31768
|
// Add legend
|
|
31682
31769
|
let legend = chart.children.push(am5.Legend.new(root, {}));
|
|
31683
31770
|
legend.data.setAll(chart.series.values);
|
|
@@ -31687,8 +31774,8 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31687
31774
|
x: 50,
|
|
31688
31775
|
});
|
|
31689
31776
|
legend.valueLabels.template.setAll({
|
|
31690
|
-
textAlign:
|
|
31691
|
-
paddingRight: 15
|
|
31777
|
+
textAlign: 'right',
|
|
31778
|
+
paddingRight: 15,
|
|
31692
31779
|
});
|
|
31693
31780
|
legend.itemContainers.template.setAll({
|
|
31694
31781
|
reverseChildren: true,
|
|
@@ -31706,45 +31793,58 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31706
31793
|
});
|
|
31707
31794
|
}
|
|
31708
31795
|
ngOnInit() {
|
|
31709
|
-
|
|
31796
|
+
if (SurveyModule.surveyMode == SurveyMode$1.Survey_Full_Access)
|
|
31797
|
+
this.enableActions = true;
|
|
31798
|
+
this.surveyService.getInfo(this.surveyID).subscribe((result) => {
|
|
31710
31799
|
this.survey = result;
|
|
31711
31800
|
this.TextBoxWithExternalURL = new TextBoxOptions();
|
|
31712
|
-
this.TextBoxWithExternalURL.Name =
|
|
31713
|
-
this.TextBoxWithExternalURL.LabelKey =
|
|
31801
|
+
this.TextBoxWithExternalURL.Name = 'TextBoxWithExternalURL';
|
|
31802
|
+
this.TextBoxWithExternalURL.LabelKey = 'External_URL';
|
|
31714
31803
|
this.TextBoxWithExternalURL.Type = InputType.Text;
|
|
31715
31804
|
this.TextBoxWithExternalURL.ViewType = ControlLayout.Vertical;
|
|
31716
31805
|
this.TextBoxWithExternalURL.ForceDirection = ForceDirection.English;
|
|
31717
31806
|
this.TextBoxWithExternalURL.EnableCopyToClipboard = true;
|
|
31718
31807
|
this.TextBoxWithExternalURL.Value = this.survey.externalURL;
|
|
31719
31808
|
this.TextBoxWithInternalURL = new TextBoxOptions();
|
|
31720
|
-
this.TextBoxWithInternalURL.Name =
|
|
31721
|
-
this.TextBoxWithInternalURL.LabelKey =
|
|
31809
|
+
this.TextBoxWithInternalURL.Name = 'TextBoxWithInternalURL';
|
|
31810
|
+
this.TextBoxWithInternalURL.LabelKey = 'Internal_URL';
|
|
31722
31811
|
this.TextBoxWithInternalURL.Type = InputType.Text;
|
|
31723
31812
|
this.TextBoxWithInternalURL.ViewType = ControlLayout.Vertical;
|
|
31724
31813
|
this.TextBoxWithInternalURL.ForceDirection = ForceDirection.English;
|
|
31725
31814
|
this.TextBoxWithInternalURL.EnableCopyToClipboard = true;
|
|
31726
31815
|
this.TextBoxWithInternalURL.Value = this.survey.internalURL;
|
|
31727
31816
|
this.breadCrumb = [];
|
|
31728
|
-
this.breadCrumb.push(new BreadCrumb(this.l(
|
|
31817
|
+
this.breadCrumb.push(new BreadCrumb(this.l('Home'), false, '/'), new BreadCrumb(this.l('Surveys_Header'), false, '../../'), new BreadCrumb(this.l('Survey_Details'), true));
|
|
31729
31818
|
this.pageHeaderOptions = new PageHeaderOptions();
|
|
31730
31819
|
this.pageHeaderOptions.TitleValue = this.survey.localizedTitle;
|
|
31731
31820
|
this.pageHeaderOptions.SearchTextBox.Active = false;
|
|
31732
31821
|
this.pageHeaderOptions.BreadCrumb.Active = true;
|
|
31733
31822
|
this.pageHeaderOptions.BreadCrumb.BreadCrumbItems = this.breadCrumb;
|
|
31734
31823
|
this.pageHeaderOptions.DropDownActions.Active = true;
|
|
31735
|
-
|
|
31736
|
-
|
|
31737
|
-
|
|
31738
|
-
|
|
31824
|
+
if (this.enableActions)
|
|
31825
|
+
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l('Delete'), '/assets/images/Trash.svg', this.showDeleteModal));
|
|
31826
|
+
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l('Export'), '/assets/images/export.svg', this.export));
|
|
31827
|
+
if (this.enableActions) {
|
|
31828
|
+
if (this.survey.statusItemID.toLocaleLowerCase() ==
|
|
31829
|
+
this.SurveyStatusEnum.ScoringTypeEnum_Draft.toLocaleLowerCase() ||
|
|
31830
|
+
this.survey.statusItemID.toLocaleLowerCase() ==
|
|
31831
|
+
this.SurveyStatusEnum.ScoringTypeEnum_Upcoming.toLocaleLowerCase())
|
|
31832
|
+
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l('Edit'), '/assets/images/Edit.svg', this.showEditModal));
|
|
31833
|
+
}
|
|
31739
31834
|
if (this.survey.totalQuestionCount > 0)
|
|
31740
|
-
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l(
|
|
31741
|
-
if (this.survey.statusItemID.toLocaleLowerCase() ==
|
|
31835
|
+
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l('Preview'), '/assets/images/views.svg', this.previewSurvey));
|
|
31836
|
+
if (this.survey.statusItemID.toLocaleLowerCase() ==
|
|
31837
|
+
this.SurveyStatusEnum.ScoringTypeEnum_Published.toLocaleLowerCase())
|
|
31742
31838
|
this.canTakeSurvey = true;
|
|
31743
|
-
if (this.
|
|
31744
|
-
|
|
31745
|
-
|
|
31746
|
-
|
|
31747
|
-
|
|
31839
|
+
if (this.enableActions) {
|
|
31840
|
+
if (this.survey.statusItemID.toLocaleLowerCase() ==
|
|
31841
|
+
this.SurveyStatusEnum.ScoringTypeEnum_Draft.toLocaleLowerCase() ||
|
|
31842
|
+
this.survey.statusItemID.toLocaleLowerCase() ==
|
|
31843
|
+
this.SurveyStatusEnum.ScoringTypeEnum_Closed.toLocaleLowerCase())
|
|
31844
|
+
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l('Publish'), '/assets/images/Submit.svg', this.showPublishModal));
|
|
31845
|
+
else
|
|
31846
|
+
this.pageHeaderOptions.DropDownActions.DropdownActionItems.push(new DropdownActionItem(this.l('UnPublish'), '/assets/images/unlink.svg', this.showUnPublishModal));
|
|
31847
|
+
}
|
|
31748
31848
|
this.EN = this.utilityService.isCurrentLanguageEnglish();
|
|
31749
31849
|
this.loadQuestionSection();
|
|
31750
31850
|
this.loadSubmissionSection();
|
|
@@ -31764,7 +31864,9 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31764
31864
|
for (let index = 0; index < this.pagingQuestionResult.length; index++) {
|
|
31765
31865
|
this.pagingQuestionResult[index].displayOrder = index + 1;
|
|
31766
31866
|
}
|
|
31767
|
-
this.surveyQuestionService
|
|
31867
|
+
this.surveyQuestionService
|
|
31868
|
+
.updateDisplayOrder(this.pagingQuestionResult)
|
|
31869
|
+
.subscribe((e) => {
|
|
31768
31870
|
this.utilityService.stopBlockUI();
|
|
31769
31871
|
});
|
|
31770
31872
|
}
|
|
@@ -31802,25 +31904,27 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31802
31904
|
}
|
|
31803
31905
|
loadQuestionSection() {
|
|
31804
31906
|
this.SearchTextBoxOptions = new TextBoxOptions();
|
|
31805
|
-
this.SearchTextBoxOptions.Name =
|
|
31907
|
+
this.SearchTextBoxOptions.Name = 'SearchTextBox';
|
|
31806
31908
|
this.SearchTextBoxOptions.Type = InputType.Text;
|
|
31807
31909
|
this.SearchTextBoxOptions.TrimTextOnChange = true;
|
|
31808
|
-
this.SearchTextBoxOptions.Placeholder = this.l(
|
|
31809
|
-
this.SearchTextBoxOptions.ExtraClasses =
|
|
31910
|
+
this.SearchTextBoxOptions.Placeholder = this.l('Search');
|
|
31911
|
+
this.SearchTextBoxOptions.ExtraClasses =
|
|
31912
|
+
'form-control form-control-sm form-control-solid search-box';
|
|
31810
31913
|
this.SearchTextBoxOptions.HideLabel = true;
|
|
31811
|
-
this.SearchTextBoxOptions.Icon =
|
|
31914
|
+
this.SearchTextBoxOptions.Icon = '../../../assets/images/search.svg';
|
|
31812
31915
|
this.SurveyIDOptions = new TextBoxOptions();
|
|
31813
|
-
this.SurveyIDOptions.Name =
|
|
31916
|
+
this.SurveyIDOptions.Name = 'SurveyID';
|
|
31814
31917
|
this.SurveyIDOptions.Value = this.surveyID;
|
|
31815
31918
|
this.searchSurveyIDFilter = new FilterItem();
|
|
31816
31919
|
this.searchSurveyIDFilter.FormControlName = this.SurveyIDOptions.Name;
|
|
31817
|
-
this.searchSurveyIDFilter.ActionParameterName =
|
|
31920
|
+
this.searchSurveyIDFilter.ActionParameterName = 'SurveyID';
|
|
31818
31921
|
this.searchSurveyIDFilter.IsFormControl = true;
|
|
31819
31922
|
this.searchSurveyIDFilter.FilterType = FilterType.TextBox;
|
|
31820
31923
|
this.pagingQuestionOptions = new PagingOptions();
|
|
31821
31924
|
this.pagingQuestionOptions.PageSize = 1000;
|
|
31822
31925
|
this.pagingQuestionOptions.DisableBlockUI = true;
|
|
31823
|
-
this.pagingQuestionOptions.ActionPostURL =
|
|
31926
|
+
this.pagingQuestionOptions.ActionPostURL =
|
|
31927
|
+
this.apiQuestionURL + 'GetAllQuestions';
|
|
31824
31928
|
this.pagingQuestionOptions.Filters = [this.searchSurveyIDFilter];
|
|
31825
31929
|
}
|
|
31826
31930
|
setQuestionListingResult(result) {
|
|
@@ -31828,38 +31932,49 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31828
31932
|
this.pagingQuestionResultOriginal = result;
|
|
31829
31933
|
this.showPageContent = true;
|
|
31830
31934
|
this.utilityService.stopBlockUI();
|
|
31831
|
-
let overviewQuestions = this.pagingQuestionResultOriginal.filter(item => item.questionTypeItemID == SurveyOptionType.RadioButton ||
|
|
31935
|
+
let overviewQuestions = this.pagingQuestionResultOriginal.filter((item) => item.questionTypeItemID == SurveyOptionType$1.RadioButton ||
|
|
31936
|
+
item.questionTypeItemID == SurveyOptionType$1.SingleSelect ||
|
|
31937
|
+
item.questionTypeItemID == SurveyOptionType$1.MultipleSelect);
|
|
31832
31938
|
if (overviewQuestions.length > 0)
|
|
31833
31939
|
this.loadSurveyOverview();
|
|
31834
31940
|
}
|
|
31835
31941
|
loadSubmissionSection() {
|
|
31836
31942
|
this.SearchTextBoxOptions = new TextBoxOptions();
|
|
31837
|
-
this.SearchTextBoxOptions.Name =
|
|
31943
|
+
this.SearchTextBoxOptions.Name = 'SearchTextBox';
|
|
31838
31944
|
this.SearchTextBoxOptions.Type = InputType.Text;
|
|
31839
31945
|
this.SearchTextBoxOptions.TrimTextOnChange = true;
|
|
31840
|
-
this.SearchTextBoxOptions.Placeholder = this.l(
|
|
31841
|
-
this.SearchTextBoxOptions.ExtraClasses =
|
|
31946
|
+
this.SearchTextBoxOptions.Placeholder = this.l('Search');
|
|
31947
|
+
this.SearchTextBoxOptions.ExtraClasses =
|
|
31948
|
+
'form-control form-control-sm form-control-solid search-box';
|
|
31842
31949
|
this.SearchTextBoxOptions.HideLabel = true;
|
|
31843
|
-
this.SearchTextBoxOptions.Icon =
|
|
31950
|
+
this.SearchTextBoxOptions.Icon = '../../../assets/images/search.svg';
|
|
31844
31951
|
this.searchSubmissionTextFilter = new FilterItem();
|
|
31845
|
-
this.searchSubmissionTextFilter.FormControlName =
|
|
31846
|
-
|
|
31952
|
+
this.searchSubmissionTextFilter.FormControlName =
|
|
31953
|
+
this.SearchTextBoxOptions.Name;
|
|
31954
|
+
this.searchSubmissionTextFilter.ActionParameterName = 'SearchText';
|
|
31847
31955
|
this.searchSubmissionTextFilter.IsFormControl = true;
|
|
31848
31956
|
this.searchSubmissionTextFilter.FilterType = FilterType.TextBox;
|
|
31849
31957
|
this.SurveyIDOptions = new TextBoxOptions();
|
|
31850
|
-
this.SurveyIDOptions.Name =
|
|
31958
|
+
this.SurveyIDOptions.Name = 'SurveyID';
|
|
31851
31959
|
this.SurveyIDOptions.Value = this.surveyID;
|
|
31852
31960
|
this.searchSurveySubmissionIDFilter = new FilterItem();
|
|
31853
|
-
this.searchSurveySubmissionIDFilter.FormControlName =
|
|
31854
|
-
|
|
31961
|
+
this.searchSurveySubmissionIDFilter.FormControlName =
|
|
31962
|
+
this.SurveyIDOptions.Name;
|
|
31963
|
+
this.searchSurveySubmissionIDFilter.ActionParameterName = 'SurveyID';
|
|
31855
31964
|
this.searchSurveySubmissionIDFilter.IsFormControl = true;
|
|
31856
31965
|
this.searchSurveySubmissionIDFilter.FilterType = FilterType.TextBox;
|
|
31857
31966
|
this.pagingSubmissionOptions = new PagingOptions();
|
|
31858
31967
|
this.pagingSubmissionOptions.PageSize = 10;
|
|
31859
31968
|
this.pagingSubmissionOptions.DisableBlockUI = true;
|
|
31860
|
-
this.pagingSubmissionOptions.ActionPostURL =
|
|
31861
|
-
|
|
31862
|
-
this.pagingSubmissionOptions.
|
|
31969
|
+
this.pagingSubmissionOptions.ActionPostURL =
|
|
31970
|
+
this.surveyService.apiURL + 'GetAllSurveySubmission';
|
|
31971
|
+
this.pagingSubmissionOptions.OnKeyPressFiltersControlNames = [
|
|
31972
|
+
this.SearchTextBoxOptions.Name,
|
|
31973
|
+
];
|
|
31974
|
+
this.pagingSubmissionOptions.Filters = [
|
|
31975
|
+
this.searchSurveySubmissionIDFilter,
|
|
31976
|
+
this.searchSubmissionTextFilter,
|
|
31977
|
+
];
|
|
31863
31978
|
}
|
|
31864
31979
|
setSubmissionListingResult(result) {
|
|
31865
31980
|
this.pagingSubmissionResult = result;
|
|
@@ -31875,19 +31990,19 @@ class SurveyInfoComponent extends AppBaseComponent {
|
|
|
31875
31990
|
}
|
|
31876
31991
|
searchInQuestionList(value) {
|
|
31877
31992
|
if (value)
|
|
31878
|
-
this.pagingQuestionResult = this.pagingQuestionResultOriginal.filter(item => item.localizedText.toLowerCase().includes(value.toLowerCase()));
|
|
31993
|
+
this.pagingQuestionResult = this.pagingQuestionResultOriginal.filter((item) => item.localizedText.toLowerCase().includes(value.toLowerCase()));
|
|
31879
31994
|
else
|
|
31880
31995
|
this.pagingQuestionResult = this.pagingQuestionResultOriginal;
|
|
31881
31996
|
}
|
|
31882
31997
|
}
|
|
31883
31998
|
SurveyInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SurveyInfoComponent, deps: [{ token: i0.Injector }, { token: PLATFORM_ID }, { token: i0.NgZone }, { token: i1$1.Router }, { token: i1.MasterLayoutService }, { token: SurveyService }, { token: SurveyQuestionService }, { token: i1$1.ActivatedRoute }], target: i0.ɵɵFactoryTarget.Component });
|
|
31884
|
-
SurveyInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyInfoComponent, selector: "app-survey-info", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "editQuestionModal", first: true, predicate: ["editQuestionModal"], descendants: true }, { propertyName: "deleteQuestionConfirmationModalControl", first: true, predicate: ["deleteQuestionModal"], descendants: true }, { propertyName: "AddQuestionComponent", first: true, predicate: ["addQuestionModal"], descendants: true }, { propertyName: "addPublishModal", first: true, predicate: ["addPublishModal"], descendants: true }, { propertyName: "addUnPublishModal", first: true, predicate: ["addUnPublishModal"], descendants: true }, { propertyName: "deleteSubmissionConfirmationModalControl", first: true, predicate: ["deleteSubmissionModal"], descendants: true }, { propertyName: "eliminateSubmissionConfirmationModalControl", first: true, predicate: ["eliminateModal"], descendants: true }, { propertyName: "unEliminateSubmissionConfirmationModalControl", first: true, predicate: ["unEliminateModal"], descendants: true }, { propertyName: "pagingQuestionElement", first: true, predicate: ["pagingQuestionViewElement"], descendants: true }, { propertyName: "pagingSubmissionElement", first: true, predicate: ["pagingSubmissionViewElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--toolbar-->\r\n<div *ngIf=\"loadInfo\">\r\n <bbsf-page-header-component [options]=\"pageHeaderOptions\"></bbsf-page-header-component>\r\n</div>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"loadInfo\">\r\n <div class=\"section-margin-bottom\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"survery-date border-0\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div ngbTooltip=\"{{l('Date')}}\" class=\"icon-box\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"survey.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <span class=\"survey-counter-title d-flex flex-stack\" *ngIf=\"survey.startDate!=null\">\r\n {{survey.startDate |surveyDate}} - {{survey.endDate!=null?(survey.endDate|surveyDate):\"\"}}\r\n <span class=\"badge badge-light\" *ngIf=\"survey.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n <span class=\"badge badge-light\" [ngClass]=\"getStatus(survey.statusItemID)\">{{survey.localizedStatus}}</span>\r\n <span ngbTooltip=\"{{l('Audience')}}\" class=\"badge badge-light mx-2\">{{survey.localizedAudience}}</span>\r\n </div>\r\n </div>\r\n <div class=\"row card-data\">\r\n <div class=\"col-lg-6\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.Internal||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithInternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-lg-6\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.External||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithExternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <p class=\"card-description\" *ngIf=\"survey.localizedDesc\">\r\n {{survey.localizedDesc}}\r\n </p>\r\n </div>\r\n <div class=\"section-margin-bottom\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav nav-stretch nav-line-tabs nav-custom\">\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Questions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\">\r\n <div class=\"tabs-search page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersQuestionForm\"\r\n (OnChange)=\"searchInQuestionList($event)\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersQuestionForm\" hidden></BBSF-TextBox>\r\n <button type=\"button\" *ngIf=\"canAddQuestion\" class=\"btn btn-brand btn-sm subheader-btn\"\r\n (click)=\"showAddQuestionModal()\">\r\n {{l('Add')}}\r\n </button>\r\n </div>\r\n <div [hidden]=\"pagingQuestionResult.length == 0\">\r\n <div ngbNavContent cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"question-info\" [cdkDragDisabled]=\"canTakeSurvey\" cdkDrag\r\n *ngFor=\"let item of pagingQuestionResult; let i=index\">\r\n <div class=\"symbol symbol-25px me-4\" cdkDragHandle *ngIf=\"!canTakeSurvey\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-7\" [inlineSVG]=\"'/assets/images/reorder.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card card-listing\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title\">\r\n <span class=\"badge badge-light\"\r\n ngbTooltip=\"{{l('Type')}}\">{{item.localizedQuestionTypeItem}}</span>\r\n <span class=\"badge badge-light mx-2\"\r\n ngbTooltip=\"{{l('Audience')}}\">{{item.localizedAudienceType}}</span>\r\n <span class=\"badge badge-brand-light mx-2\"\r\n *ngIf=\"item.isRelatedToSurveyQuestion\">{{l('Linked')}}</span>\r\n <span class=\"badge badge-light mx-2\" *ngIf=\"!item.isVisible\" ngbTooltip=\"{{l('NotVisible')}}\">\r\n {{l(\"NotVisible\")}}\r\n </span>\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <div ngbDropdown container=\"body\" class=\"dropdown-custom\"\r\n [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear\" ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button *ngIf=\"!(canEditQuestion&&canDeleteQuestion)\"\r\n (click)=\"showEditQuestionModal(item.iD_GUID,true)\" apppreventdoubleclick type=\"button\"\r\n ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n {{l(\"Details\")}}\r\n </button>\r\n\r\n <button *ngIf=\"canEditQuestion\" (click)=\"showEditQuestionModal(item.iD_GUID,false)\"\r\n apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button type=\"button\" *ngIf=\"canDeleteQuestion\"\r\n (click)=\"showDeleteQuestionModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem\r\n class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{item.localizedText}}</span>\r\n <span class=\"badge badge-light-brand badge-square ms-2 me-0\"\r\n ngbTooltip=\"{{l('Score')}}\">{{item.totalScore}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setQuestionListingResult($event)\" [options]=\"pagingQuestionOptions\"\r\n [group]=\"filtersQuestionForm\" #pagingQuestionViewElement></BBSF-Paging>\r\n </div>\r\n </div>\r\n <app-no-results *ngIf=\"pagingQuestionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Submissions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n <div class=\"tabs-search page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersSubmissionForm\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersSubmissionForm\" hidden></BBSF-TextBox>\r\n </div>\r\n <div class=\"info-container\" [hidden]=\"pagingSubmissionResult.length == 0\">\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-custom\">\r\n <thead>\r\n <tr class=\"table-header\">\r\n <th> {{l('Name')}}</th>\r\n <th>{{l('Email')}}</th>\r\n <th>{{l('Type')}}</th>\r\n <th>{{l('Created')}}</th>\r\n <th>{{l('Score')}}</th>\r\n <th class=\"table-action\">{{l(\"Action\")}}</th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"table-body\">\r\n <tr *ngFor=\"let item of pagingSubmissionResult; let i=index\">\r\n <td>\r\n <span class=\"line-clamp-2\">\r\n {{item.localizedName}}\r\n <span class=\"badge badge-danger mx-2\" *ngIf=\"item.isEliminated&&item.allowElimination\">\r\n {{l('Eliminated')}}\r\n </span>\r\n </span>\r\n </td>\r\n <td>\r\n {{item.email}}\r\n </td>\r\n <td>\r\n <div class=\"badge badge-light\">\r\n {{item.isInternalUser? l('InternalUsers'):l('ExternalUsers')}}\r\n </div>\r\n </td>\r\n <td>{{item.created|surveyDate}}</td>\r\n <td>{{item.totalScore}}</td>\r\n <td class=\"table-action\">\r\n <button type=\"button\" ngbTooltip=\"{{l('Preview')}}\"\r\n [routerLink]=\"['../../info/result', item.iD_GUID]\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/answers.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"!item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('EliminateHint')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick\r\n [inlineSVG]=\"'/assets/images/unlink.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('UnEliminate')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showUnEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/link.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" ngbTooltip=\"{{l('Delete')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showDeleteSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/Trash.svg'\"></span>\r\n </button>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setSubmissionListingResult($event)\" [options]=\"pagingSubmissionOptions\"\r\n [group]=\"filtersSubmissionForm\" #pagingSubmissionViewElement></BBSF-Paging>\r\n </div>\r\n <app-no-results *ngIf=\"pagingSubmissionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" *ngIf=\"showOverview\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink (click)=\"loadSurveyOverview()\">\r\n <h4>\r\n {{l(\"Overview\") }}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\"> {{l(\"Questions\") }}</div>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-pills custom-navs\" orientation=\"vertical\">\r\n <li ngbNavItem=\"{{item.localizedTitle}}\" [destroyOnHide]=\"true\"\r\n *ngFor=\"let item of questionOverviewResult\" (click)=\"loadChart(item)\">\r\n <a ngbNavLink>{{item.localizedTitle}}</a>\r\n\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"col-md-9\">\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\">{{l(\"Overview\") }}</div>\r\n <div id=\"chartdiv\" style=\"width: 100%; height: 400px\"></div>\r\n <div class=\"hide-logo\"></div>\r\n </div>\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\">{{l(\"Score\") }} </div>\r\n <div id=\"chartOverview\" style=\"width: 100%; height: 400px\"></div>\r\n <div class=\"hide-logo\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n\r\n\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n <app-edit-survey #editModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\"></app-edit-survey>\r\n <app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandler\"></app-delete-survey>\r\n <app-add-question #addQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessAddHandler]=\"onSuccessAddQuestionHandler\"></app-add-question>\r\n <app-edit-question #editQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessEditHandler]=\"onSuccessEditQuestionHandler\"></app-edit-question>\r\n <app-delete-question #deleteQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessHandler]=\"onSuccessDeleteQuestionHandler\"></app-delete-question>\r\n <app-publish-survey #addPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\" *ngIf=\"loadInfo\" [showToggle]=\"survey.isShowToggleOfScoreResultAfterSubmission\">\r\n </app-publish-survey>\r\n <app-unpublish-survey #addUnPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\">\r\n </app-unpublish-survey>\r\n <app-delete-submission #deleteSubmissionModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandlerSubmission\"></app-delete-submission>\r\n <app-eliminate-submission #eliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-eliminate-submission>\r\n <app-unEliminate-submission #unEliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-unEliminate-submission>\r\n", styles: [""], components: [{ type: i6.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: i5.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: AddQuestionComponent, selector: "app-add-question", inputs: ["pagingElement", "onSuccessAddHandler"] }, { type: EditQuestionComponent, selector: "app-edit-question", inputs: ["pagingElement", "onSuccessEditHandler"] }, { type: DeleteQuestionComponent, selector: "app-delete-question", inputs: ["onSuccessHandler", "pagingElement"] }, { type: PublishSurveyComponent, selector: "app-publish-survey", inputs: ["pagingElement", "showToggle", "onSuccessHandler"] }, { type: UnPublishSurveyComponent, selector: "app-unpublish-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DeleteSubmissionComponent, selector: "app-delete-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: EliminateSubmissionComponent, selector: "app-eliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: UnEliminateSubmissionComponent, selector: "app-unEliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgbNav, selector: "[ngbNav]", inputs: ["animation", "destroyOnHide", "orientation", "roles", "keyboard", "activeId"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { type: i5.NgbNavItem, selector: "[ngbNavItem]", inputs: ["disabled", "domId", "destroyOnHide", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { type: i5.NgbNavLink, selector: "a[ngbNavLink]" }, { type: i5.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { type: i20.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i20.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i5.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i5.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { type: i1$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
31999
|
+
SurveyInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyInfoComponent, selector: "app-survey-info", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "editQuestionModal", first: true, predicate: ["editQuestionModal"], descendants: true }, { propertyName: "deleteQuestionConfirmationModalControl", first: true, predicate: ["deleteQuestionModal"], descendants: true }, { propertyName: "AddQuestionComponent", first: true, predicate: ["addQuestionModal"], descendants: true }, { propertyName: "addPublishModal", first: true, predicate: ["addPublishModal"], descendants: true }, { propertyName: "addUnPublishModal", first: true, predicate: ["addUnPublishModal"], descendants: true }, { propertyName: "deleteSubmissionConfirmationModalControl", first: true, predicate: ["deleteSubmissionModal"], descendants: true }, { propertyName: "eliminateSubmissionConfirmationModalControl", first: true, predicate: ["eliminateModal"], descendants: true }, { propertyName: "unEliminateSubmissionConfirmationModalControl", first: true, predicate: ["unEliminateModal"], descendants: true }, { propertyName: "pagingQuestionElement", first: true, predicate: ["pagingQuestionViewElement"], descendants: true }, { propertyName: "pagingSubmissionElement", first: true, predicate: ["pagingSubmissionViewElement"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--toolbar-->\r\n<div *ngIf=\"loadInfo\">\r\n <bbsf-page-header-component [options]=\"pageHeaderOptions\"></bbsf-page-header-component>\r\n</div>\r\n<!--end toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"info-container\" *ngIf=\"loadInfo\">\r\n <div class=\"section-margin-bottom\">\r\n <div class=\"d-flex justify-content-between align-items-center\">\r\n <div class=\"survery-date border-0\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div ngbTooltip=\"{{l('Date')}}\" class=\"icon-box\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"survey.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <span class=\"survey-counter-title d-flex flex-stack\" *ngIf=\"survey.startDate!=null\">\r\n {{survey.startDate |surveyDate}} - {{survey.endDate!=null?(survey.endDate|surveyDate):\"\"}}\r\n <span class=\"badge badge-light\" *ngIf=\"survey.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </span>\r\n </div>\r\n </div>\r\n </div>\r\n <div>\r\n <span class=\"badge badge-light\" [ngClass]=\"getStatus(survey.statusItemID)\">{{survey.localizedStatus}}</span>\r\n <span ngbTooltip=\"{{l('Audience')}}\" class=\"badge badge-light mx-2\">{{survey.localizedAudience}}</span>\r\n </div>\r\n </div>\r\n <div class=\"row card-data\">\r\n <div class=\"col-lg-6\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.Internal||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithInternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n\r\n </div>\r\n <div class=\"col-lg-6\">\r\n <BBSF-TextBox *ngIf=\"canTakeSurvey&& (survey.audienceItemID==AudienceTypeEnum.External||survey.audienceItemID==AudienceTypeEnum.Both)\"\r\n [options]=\"TextBoxWithExternalURL\" [group]=\"urlForm\"></BBSF-TextBox>\r\n </div>\r\n </div>\r\n <p class=\"card-description\" *ngIf=\"survey.localizedDesc\">\r\n {{survey.localizedDesc}}\r\n </p>\r\n </div>\r\n <div class=\"section-margin-bottom\">\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav nav-stretch nav-line-tabs nav-custom\">\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Questions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\">\r\n <div class=\"tabs-search page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersQuestionForm\"\r\n (OnChange)=\"searchInQuestionList($event)\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersQuestionForm\" hidden></BBSF-TextBox>\r\n <button type=\"button\" *ngIf=\"canAddQuestion&&enableActions\" class=\"btn btn-brand btn-sm subheader-btn\"\r\n (click)=\"showAddQuestionModal()\">\r\n {{l('Add')}}\r\n </button>\r\n </div>\r\n <div [hidden]=\"pagingQuestionResult.length == 0\">\r\n <div ngbNavContent cdkDropList (cdkDropListDropped)=\"drop($event)\">\r\n <div class=\"question-info\" [cdkDragDisabled]=\"canTakeSurvey\" cdkDrag\r\n *ngFor=\"let item of pagingQuestionResult; let i=index\">\r\n <div class=\"symbol symbol-25px me-4\" cdkDragHandle *ngIf=\"!canTakeSurvey\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-7\" [inlineSVG]=\"'/assets/images/reorder.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <div class=\"card card-listing\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title\">\r\n <span class=\"badge badge-light\"\r\n ngbTooltip=\"{{l('Type')}}\">{{item.localizedQuestionTypeItem}}</span>\r\n <span class=\"badge badge-light mx-2\"\r\n ngbTooltip=\"{{l('Audience')}}\">{{item.localizedAudienceType}}</span>\r\n <span class=\"badge badge-brand-light mx-2\"\r\n *ngIf=\"item.isRelatedToSurveyQuestion\">{{l('Linked')}}</span>\r\n <span class=\"badge badge-light mx-2\" *ngIf=\"!item.isVisible\" ngbTooltip=\"{{l('NotVisible')}}\">\r\n {{l(\"NotVisible\")}}\r\n </span>\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <div ngbDropdown container=\"body\" *ngIf=\"enableActions\" class=\"dropdown-custom\"\r\n [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear\" ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button *ngIf=\"!(canEditQuestion&&canDeleteQuestion)\"\r\n (click)=\"showEditQuestionModal(item.iD_GUID,true)\" apppreventdoubleclick type=\"button\"\r\n ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/info.svg'\">\r\n </span>\r\n {{l(\"Details\")}}\r\n </button>\r\n\r\n <button *ngIf=\"canEditQuestion\" (click)=\"showEditQuestionModal(item.iD_GUID,false)\"\r\n apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button type=\"button\" *ngIf=\"canDeleteQuestion\"\r\n (click)=\"showDeleteQuestionModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem\r\n class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body\">\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{item.localizedText}}</span>\r\n <span class=\"badge badge-light-brand badge-square ms-2 me-0\"\r\n ngbTooltip=\"{{l('Score')}}\">{{item.totalScore}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setQuestionListingResult($event)\" [options]=\"pagingQuestionOptions\"\r\n [group]=\"filtersQuestionForm\" #pagingQuestionViewElement></BBSF-Paging>\r\n </div>\r\n </div>\r\n <app-no-results *ngIf=\"pagingQuestionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink>\r\n <h4>\r\n {{l('Submissions')}}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n <div class=\"tabs-search page-subheader justify-content-between\">\r\n <BBSF-TextBox [options]=\"SearchTextBoxOptions\" [group]=\"filtersSubmissionForm\"></BBSF-TextBox>\r\n <BBSF-TextBox [options]=\"SurveyIDOptions\" [group]=\"filtersSubmissionForm\" hidden></BBSF-TextBox>\r\n </div>\r\n <div class=\"info-container\" [hidden]=\"pagingSubmissionResult.length == 0\">\r\n <div class=\"table-responsive\">\r\n <table class=\"table table-custom\">\r\n <thead>\r\n <tr class=\"table-header\">\r\n <th> {{l('Name')}}</th>\r\n <th>{{l('Email')}}</th>\r\n <th>{{l('Type')}}</th>\r\n <th>{{l('Created')}}</th>\r\n <th>{{l('Score')}}</th>\r\n <th class=\"table-action\" *ngIf=\"enableActions\">{{l(\"Action\")}}</th>\r\n </tr>\r\n </thead>\r\n <tbody class=\"table-body\">\r\n <tr *ngFor=\"let item of pagingSubmissionResult; let i=index\">\r\n <td>\r\n <span class=\"line-clamp-2\">\r\n {{item.localizedName}}\r\n <span class=\"badge badge-danger mx-2\" *ngIf=\"item.isEliminated&&item.allowElimination\">\r\n {{l('Eliminated')}}\r\n </span>\r\n </span>\r\n </td>\r\n <td>\r\n {{item.email}}\r\n </td>\r\n <td>\r\n <div class=\"badge badge-light\">\r\n {{item.isInternalUser? l('InternalUsers'):l('ExternalUsers')}}\r\n </div>\r\n </td>\r\n <td>{{item.created|surveyDate}}</td>\r\n <td>{{item.totalScore}}</td>\r\n <td class=\"table-action\" *ngIf=\"enableActions\">\r\n <button type=\"button\" ngbTooltip=\"{{l('Preview')}}\"\r\n [routerLink]=\"['../../info/result', item.iD_GUID]\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/answers.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"!item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('EliminateHint')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick\r\n [inlineSVG]=\"'/assets/images/unlink.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" *ngIf=\"item.isEliminated&&item.allowElimination\"\r\n ngbTooltip=\"{{this.l('UnEliminate')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showUnEliminateSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/link.svg'\"></span>\r\n </button>\r\n\r\n <button type=\"button\" ngbTooltip=\"{{l('Delete')}}\" class=\"btn btn-sm p-2\">\r\n <span class=\"svg-icon svg-icon-3\" (click)=\"showDeleteSubmissionModal(item.iD_GUID)\"\r\n apppreventdoubleclick [inlineSVG]=\"'/assets/images/Trash.svg'\"></span>\r\n </button>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setSubmissionListingResult($event)\" [options]=\"pagingSubmissionOptions\"\r\n [group]=\"filtersSubmissionForm\" #pagingSubmissionViewElement></BBSF-Paging>\r\n </div>\r\n <app-no-results *ngIf=\"pagingSubmissionResult.length == 0\"></app-no-results>\r\n\r\n </ng-template>\r\n </li>\r\n <li ngbNavItem class=\"nav-item\" *ngIf=\"showOverview\" [destroyOnHide]=\"true\">\r\n <a class=\"nav-link\" ngbNavLink (click)=\"loadSurveyOverview()\">\r\n <h4>\r\n {{l(\"Overview\") }}\r\n </h4>\r\n </a>\r\n <ng-template ngbNavContent>\r\n <div class=\"section-info\" ngbNavContent>\r\n\r\n <div class=\"row\">\r\n <div class=\"col-md-3\">\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\"> {{l(\"Questions\") }}</div>\r\n <ul ngbNav #nav=\"ngbNav\" class=\"nav-pills custom-navs\" orientation=\"vertical\">\r\n <li ngbNavItem=\"{{item.localizedTitle}}\" [destroyOnHide]=\"true\"\r\n *ngFor=\"let item of questionOverviewResult\" (click)=\"loadChart(item)\">\r\n <a ngbNavLink>{{item.localizedTitle}}</a>\r\n\r\n </li>\r\n\r\n </ul>\r\n </div>\r\n </div>\r\n <div class=\"col-md-9\">\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\">{{l(\"Overview\") }}</div>\r\n <div id=\"chartdiv\" style=\"width: 100%; height: 400px\"></div>\r\n <div class=\"hide-logo\"></div>\r\n </div>\r\n <div class=\"chart-container\">\r\n <div class=\"chart-title\">{{l(\"Score\") }} </div>\r\n <div id=\"chartOverview\" style=\"width: 100%; height: 400px\"></div>\r\n <div class=\"hide-logo\"></div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </li>\r\n </ul>\r\n\r\n\r\n <div [ngbNavOutlet]=\"nav\"></div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n <app-edit-survey #editModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\"></app-edit-survey>\r\n <app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandler\"></app-delete-survey>\r\n <app-add-question #addQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessAddHandler]=\"onSuccessAddQuestionHandler\"></app-add-question>\r\n <app-edit-question #editQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessEditHandler]=\"onSuccessEditQuestionHandler\"></app-edit-question>\r\n <app-delete-question #deleteQuestionModal [pagingElement]=\"pagingQuestionElement\" [onSuccessHandler]=\"onSuccessDeleteQuestionHandler\"></app-delete-question>\r\n <app-publish-survey #addPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\" *ngIf=\"loadInfo\" [showToggle]=\"survey.isShowToggleOfScoreResultAfterSubmission\">\r\n </app-publish-survey>\r\n <app-unpublish-survey #addUnPublishModal [pagingElement]=\"pagingElement\" [onSuccessHandler]=\"onSuccessHandler\">\r\n </app-unpublish-survey>\r\n <app-delete-submission #deleteSubmissionModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessDeleteHandlerSubmission\"></app-delete-submission>\r\n <app-eliminate-submission #eliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-eliminate-submission>\r\n <app-unEliminate-submission #unEliminateModal [pagingElement]=\"pagingSubmissionElement\"\r\n [onSuccessHandler]=\"onSuccessHandler\"></app-unEliminate-submission>\r\n", styles: [""], components: [{ type: i6.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: i5.NgbNavOutlet, selector: "[ngbNavOutlet]", inputs: ["paneRole", "ngbNavOutlet"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: AddQuestionComponent, selector: "app-add-question", inputs: ["pagingElement", "onSuccessAddHandler"] }, { type: EditQuestionComponent, selector: "app-edit-question", inputs: ["pagingElement", "onSuccessEditHandler"] }, { type: DeleteQuestionComponent, selector: "app-delete-question", inputs: ["onSuccessHandler", "pagingElement"] }, { type: PublishSurveyComponent, selector: "app-publish-survey", inputs: ["pagingElement", "showToggle", "onSuccessHandler"] }, { type: UnPublishSurveyComponent, selector: "app-unpublish-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DeleteSubmissionComponent, selector: "app-delete-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: EliminateSubmissionComponent, selector: "app-eliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }, { type: UnEliminateSubmissionComponent, selector: "app-unEliminate-submission", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgbTooltip, selector: "[ngbTooltip]", inputs: ["animation", "autoClose", "placement", "triggers", "container", "disableTooltip", "tooltipClass", "openDelay", "closeDelay", "ngbTooltip"], outputs: ["shown", "hidden"], exportAs: ["ngbTooltip"] }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgbNav, selector: "[ngbNav]", inputs: ["animation", "destroyOnHide", "orientation", "roles", "keyboard", "activeId"], outputs: ["activeIdChange", "shown", "hidden", "navChange"], exportAs: ["ngbNav"] }, { type: i5.NgbNavItem, selector: "[ngbNavItem]", inputs: ["disabled", "domId", "destroyOnHide", "ngbNavItem"], outputs: ["shown", "hidden"], exportAs: ["ngbNavItem"] }, { type: i5.NgbNavLink, selector: "a[ngbNavLink]" }, { type: i5.NgbNavContent, selector: "ng-template[ngbNavContent]" }, { type: i20.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i20.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i20.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i5.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i5.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }, { type: i1$1.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["routerLink", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
31885
32000
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SurveyInfoComponent, decorators: [{
|
|
31886
32001
|
type: Component,
|
|
31887
32002
|
args: [{
|
|
31888
32003
|
selector: 'app-survey-info',
|
|
31889
32004
|
templateUrl: './survey-info.component.html',
|
|
31890
|
-
styleUrls: ['./survey-info.component.css']
|
|
32005
|
+
styleUrls: ['./survey-info.component.css'],
|
|
31891
32006
|
}]
|
|
31892
32007
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
31893
32008
|
type: Inject,
|
|
@@ -31960,7 +32075,7 @@ class TakeSurveyComponent extends AppBaseComponent {
|
|
|
31960
32075
|
let resultModel = this.surveyForm.value;
|
|
31961
32076
|
let model = new AddSurveySubmissionDTO();
|
|
31962
32077
|
model.SurveyID = this.surveyID;
|
|
31963
|
-
model.AudienceType = AudienceType.Internal;
|
|
32078
|
+
model.AudienceType = AudienceType$1.Internal;
|
|
31964
32079
|
model.Questions = this.surveyInfo.questions;
|
|
31965
32080
|
for (let index = 0; index < this.surveyInfo.questions.length; index++) {
|
|
31966
32081
|
const question = this.surveyInfo.questions[index];
|
|
@@ -32006,7 +32121,7 @@ class TakeSurveyComponent extends AppBaseComponent {
|
|
|
32006
32121
|
this.pageHeaderOptions.BreadCrumb.Active = true;
|
|
32007
32122
|
this.pageHeaderOptions.BreadCrumb.BreadCrumbItems = this.breadCrumb;
|
|
32008
32123
|
this.EN = this.utilityService.isCurrentLanguageEnglish();
|
|
32009
|
-
this.surveyService.getSurveyForSubmission(this.surveyID, AudienceType.Internal).subscribe((res) => {
|
|
32124
|
+
this.surveyService.getSurveyForSubmission(this.surveyID, AudienceType$1.Internal).subscribe((res) => {
|
|
32010
32125
|
this.surveyForm = new FormGroup({});
|
|
32011
32126
|
this.surveySurveyOptions = new FormOptions();
|
|
32012
32127
|
this.surveySurveyOptions.FormGroup = this.surveyForm;
|
|
@@ -32187,15 +32302,15 @@ class AddSurveyComponent extends AppBaseComponent {
|
|
|
32187
32302
|
}
|
|
32188
32303
|
changeAudience(key) {
|
|
32189
32304
|
switch (key) {
|
|
32190
|
-
case AudienceType.Internal:
|
|
32305
|
+
case AudienceType$1.Internal:
|
|
32191
32306
|
this.showHasSectorOrDepartment = true;
|
|
32192
32307
|
this.showHasCaptcha = false;
|
|
32193
32308
|
break;
|
|
32194
|
-
case AudienceType.Both:
|
|
32309
|
+
case AudienceType$1.Both:
|
|
32195
32310
|
this.showHasSectorOrDepartment = true;
|
|
32196
32311
|
this.showHasCaptcha = true;
|
|
32197
32312
|
break;
|
|
32198
|
-
case AudienceType.External:
|
|
32313
|
+
case AudienceType$1.External:
|
|
32199
32314
|
this.showHasSectorOrDepartment = false;
|
|
32200
32315
|
this.showHasCaptcha = true;
|
|
32201
32316
|
this.department.SelectedItems = [];
|
|
@@ -32290,7 +32405,8 @@ class SurveyComponent extends AppBaseComponent {
|
|
|
32290
32405
|
this.pageTitle = '';
|
|
32291
32406
|
this.subTitle = '';
|
|
32292
32407
|
this.surveyForm = new FormGroup({});
|
|
32293
|
-
this.
|
|
32408
|
+
this.enableActions = false;
|
|
32409
|
+
this.SurveyStatusEnum = SurveyStatusEnum$1;
|
|
32294
32410
|
this.pagingResult = [];
|
|
32295
32411
|
this.filtersForm = new FormGroup({});
|
|
32296
32412
|
this.apiURL = this.surveyService.apiURL;
|
|
@@ -32347,6 +32463,8 @@ class SurveyComponent extends AppBaseComponent {
|
|
|
32347
32463
|
};
|
|
32348
32464
|
}
|
|
32349
32465
|
ngOnInit() {
|
|
32466
|
+
if (SurveyModule.surveyMode == SurveyMode$1.Survey_Full_Access)
|
|
32467
|
+
this.enableActions = true;
|
|
32350
32468
|
this.pageTitle = this.l('Surveys_Header');
|
|
32351
32469
|
this.updatePageTitle(this.pageTitle);
|
|
32352
32470
|
this.breadCrumb = [];
|
|
@@ -32427,9 +32545,11 @@ class SurveyComponent extends AppBaseComponent {
|
|
|
32427
32545
|
this.pageHeaderOptions.BreadCrumb.BreadCrumbItems = this.breadCrumb;
|
|
32428
32546
|
this.pageHeaderOptions.EditButton.Active = false;
|
|
32429
32547
|
this.pageHeaderOptions.ExportButton.Active = false;
|
|
32430
|
-
this.
|
|
32431
|
-
|
|
32432
|
-
|
|
32548
|
+
if (this.enableActions) {
|
|
32549
|
+
this.pageHeaderOptions.AddButton.Active = true;
|
|
32550
|
+
this.pageHeaderOptions.AddButton.ButtonTextKey = this.l('Add');
|
|
32551
|
+
this.pageHeaderOptions.AddButton.Function = this.showAddModal;
|
|
32552
|
+
}
|
|
32433
32553
|
this.pageHeaderOptions.FiltersButton.Active = true;
|
|
32434
32554
|
this.pageHeaderOptions.FiltersButton.ButtonTextKey = this.l('Filters');
|
|
32435
32555
|
this.pageHeaderOptions.FiltersButton.Function = this.loadFilters;
|
|
@@ -32530,7 +32650,7 @@ class SurveyComponent extends AppBaseComponent {
|
|
|
32530
32650
|
}
|
|
32531
32651
|
}
|
|
32532
32652
|
SurveyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SurveyComponent, deps: [{ token: i0.Injector }, { token: SurveyService }], target: i0.ɵɵFactoryTarget.Component });
|
|
32533
|
-
SurveyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyComponent, selector: "app-survey", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "addModal", first: true, predicate: ["addModal"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "duplicateModal", first: true, predicate: ["duplicateModal"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--toolbar-->\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" [group]=\"filtersForm\"></bbsf-page-header-component>\r\n<!--End toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-xl-6 d-flex\" *ngFor=\"let item of pagingResult\">\r\n <div class=\"card card-listing w-icon-boxes survey-card\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title line-clamp\">\r\n <a [routerLink]=\"['../info', item.iD_GUID]\">\r\n {{item.localizedTitle}}\r\n </a>\r\n </div>\r\n <div class=\"card-toolbar d-flex flex-nowrap flex-stack\">\r\n <span class=\"badge badge-light bagde-xs me-2\" *ngIf=\"!item.visible\"> {{l(\"NotVisible\")}} </span>\r\n <span class=\"badge bagde-xs badge-light me-2\" [ngClass]=\"getStatus(item.statusItemID)\">{{item.localizedStatus}}</span>\r\n <div ngbDropdown container=\"body\" class=\"dropdown-custom\" [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear btn-sm\"\r\n ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button *ngIf=\"isEditable(item.statusItemID)\" (click)=\"showEditModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button (click)=\"showDuplicateModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/copy.svg'\">\r\n </span>\r\n {{l(\"Duplicate\")}}\r\n </button>\r\n <button type=\"button\" (click)=\"showDeleteModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body mb-4\">\r\n <p class=\"line-clamp-1\">\r\n {{item.localizedDesc}}\r\n </p>\r\n </div>\r\n <!--footer type one-->\r\n <div class=\"card-footer pt-0\">\r\n <div>\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{l('Question')}}</span>\r\n <span class=\"badge badge-light-brand badge-square \">{{item.totalQuestionCount}}</span>\r\n </div>\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{l('Submissions')}}</span>\r\n <span class=\"badge badge-light-brand badge-square \">{{item.totalSubmissionsCount}}</span>\r\n </div>\r\n </div>\r\n <div class=\"survery-date\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div class=\"icon-box w-100\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"item.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <div *ngIf=\"item.startDate!=null\" class=\"d-flex flex-stack w-100\">\r\n <span class=\"survey-counter-title\">\r\n {{item.startDate |surveyDate}}\r\n <span *ngIf=\"item.endDate!=null\"> - {{(item.endDate|surveyDate)}}</span>\r\n </span>\r\n <span class=\"badge badge-light\" *ngIf=\"item.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setListingResult($event)\" *ngIf=\"loadingPage\" [options]=\"pagingOptions\" [group]=\"filtersForm\"\r\n #pagingViewElement></BBSF-Paging>\r\n</div>\r\n\r\n\r\n\r\n<app-no-results *ngIf=\"pagingResult.length == 0 && showPageContent\"></app-no-results>\r\n<app-add-survey #addModal [pagingElement]=\"pagingElement\"></app-add-survey>\r\n<app-edit-survey #editModal [pagingElement]=\"pagingElement\"></app-edit-survey>\r\n<app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"></app-delete-survey>\r\n<app-duplicate-survey #duplicateModal [pagingElement]=\"pagingElement\"></app-duplicate-survey>\r\n", components: [{ type: i6.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: AddSurveyComponent, selector: "app-add-survey", inputs: ["pagingElement"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DuplicateSurveyComponent, selector: "app-duplicate-survey", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i5.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
32653
|
+
SurveyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: SurveyComponent, selector: "app-survey", viewQueries: [{ propertyName: "pagingElement", first: true, predicate: ["pagingViewElement"], descendants: true }, { propertyName: "addModal", first: true, predicate: ["addModal"], descendants: true }, { propertyName: "editModal", first: true, predicate: ["editModal"], descendants: true }, { propertyName: "deleteConfirmationModalControl", first: true, predicate: ["deleteConfirmationModalControl"], descendants: true }, { propertyName: "duplicateModal", first: true, predicate: ["duplicateModal"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--toolbar-->\r\n<bbsf-page-header-component [options]=\"pageHeaderOptions\" [group]=\"filtersForm\"></bbsf-page-header-component>\r\n<!--End toolbar-->\r\n<div class=\"container-xxl\">\r\n <div class=\"row\">\r\n <div class=\"col-md-6 col-xl-6 d-flex\" *ngFor=\"let item of pagingResult\">\r\n <div class=\"card card-listing w-icon-boxes survey-card\">\r\n <div class=\"card-header\">\r\n <div class=\"card-title line-clamp\">\r\n <a [routerLink]=\"['../info', item.iD_GUID]\">\r\n {{item.localizedTitle}}\r\n </a>\r\n </div>\r\n <div class=\"card-toolbar d-flex flex-nowrap flex-stack\">\r\n <span class=\"badge badge-light bagde-xs me-2\" *ngIf=\"!item.visible\"> {{l(\"NotVisible\")}} </span>\r\n <span class=\"badge bagde-xs badge-light me-2\" [ngClass]=\"getStatus(item.statusItemID)\">{{item.localizedStatus}}</span>\r\n <div ngbDropdown container=\"body\" *ngIf=\"enableActions\" class=\"dropdown-custom\" [placement]=\"EN ? 'bottom-right' : 'bottom-left'\">\r\n <button type=\"button\" class=\"dropdown-toggle-custom btn btn-clear btn-sm\"\r\n ngbDropdownToggle>\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/card-dropdown.svg'\"></span>\r\n </button>\r\n <div ngbDropdownMenu class=\"dropdown-menu-custom\">\r\n <button *ngIf=\"isEditable(item.statusItemID)\" (click)=\"showEditModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/Edit.svg'\">\r\n </span>\r\n {{l(\"Edit\")}}\r\n </button>\r\n <button (click)=\"showDuplicateModal(item.iD_GUID)\" apppreventdoubleclick type=\"button\" ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\" [inlineSVG]=\"'/assets/images/copy.svg'\">\r\n </span>\r\n {{l(\"Duplicate\")}}\r\n </button>\r\n <button type=\"button\" (click)=\"showDeleteModal(item.iD_GUID)\" apppreventdoubleclick ngbDropdownItem class=\"dropdown-button\">\r\n <span class=\"svg-icon svg-icon-3\"\r\n [inlineSVG]=\"'/assets/images/Trash.svg'\"></span> {{l(\"Delete\")}}\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"card-body mb-4\">\r\n <p class=\"line-clamp-1\">\r\n {{item.localizedDesc}}\r\n </p>\r\n </div>\r\n <!--footer type one-->\r\n <div class=\"card-footer pt-0\">\r\n <div>\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{l('Question')}}</span>\r\n <span class=\"badge badge-light-brand badge-square \">{{item.totalQuestionCount}}</span>\r\n </div>\r\n <div class=\"survey-counter\">\r\n <span class=\"survey-counter-title\">{{l('Submissions')}}</span>\r\n <span class=\"badge badge-light-brand badge-square \">{{item.totalSubmissionsCount}}</span>\r\n </div>\r\n </div>\r\n <div class=\"survery-date\">\r\n <div class=\"icon-boxes align-items-baseline\">\r\n <div class=\"icon-box w-100\">\r\n <div class=\"symbol\">\r\n <span class=\"symbol-label\">\r\n <span class=\"svg-icon svg-icon-4\" [inlineSVG]=\"'/assets/images/calendar.svg'\">\r\n </span>\r\n </span>\r\n </div>\r\n <span class=\"survey-counter-title\" *ngIf=\"item.startDate==null\">\r\n {{l('NotStartedYet')}}\r\n </span>\r\n <div *ngIf=\"item.startDate!=null\" class=\"d-flex flex-stack w-100\">\r\n <span class=\"survey-counter-title\">\r\n {{item.startDate |surveyDate}}\r\n <span *ngIf=\"item.endDate!=null\"> - {{(item.endDate|surveyDate)}}</span>\r\n </span>\r\n <span class=\"badge badge-light\" *ngIf=\"item.endDate==null\">{{l('HasNoEnd')}}</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <BBSF-Paging (Items)=\"setListingResult($event)\" *ngIf=\"loadingPage\" [options]=\"pagingOptions\" [group]=\"filtersForm\"\r\n #pagingViewElement></BBSF-Paging>\r\n</div>\r\n\r\n\r\n\r\n<app-no-results *ngIf=\"pagingResult.length == 0 && showPageContent\"></app-no-results>\r\n<app-add-survey #addModal [pagingElement]=\"pagingElement\"></app-add-survey>\r\n<app-edit-survey #editModal [pagingElement]=\"pagingElement\"></app-edit-survey>\r\n<app-delete-survey #deleteConfirmationModalControl [pagingElement]=\"pagingElement\"></app-delete-survey>\r\n<app-duplicate-survey #duplicateModal [pagingElement]=\"pagingElement\"></app-duplicate-survey>\r\n", components: [{ type: i6.PageHeaderComponentComponent, selector: "bbsf-page-header-component", inputs: ["group", "options"] }, { type: i6.PagingComponent, selector: "BBSF-Paging", inputs: ["options", "group"], outputs: ["Items"] }, { type: NoResultsComponent, selector: "app-no-results" }, { type: AddSurveyComponent, selector: "app-add-survey", inputs: ["pagingElement"] }, { type: EditSurveyComponent, selector: "app-edit-survey", inputs: ["pagingElement", "onSuccessHandler"] }, { type: DeleteSurveyComponent, selector: "app-delete-survey", inputs: ["onSuccessHandler", "pagingElement"] }, { type: DuplicateSurveyComponent, selector: "app-duplicate-survey", inputs: ["onSuccessHandler", "pagingElement"] }], directives: [{ type: i10.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgbDropdown, selector: "[ngbDropdown]", inputs: ["open", "placement", "container", "autoClose", "display", "dropdownClass"], outputs: ["openChange"], exportAs: ["ngbDropdown"] }, { type: i5.NgbDropdownToggle, selector: "[ngbDropdownToggle]" }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i5.NgbDropdownMenu, selector: "[ngbDropdownMenu]" }, { type: i5.NgbDropdownItem, selector: "[ngbDropdownItem]", inputs: ["disabled"] }], pipes: { "surveyDate": SurveyDatePipe } });
|
|
32534
32654
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SurveyComponent, decorators: [{
|
|
32535
32655
|
type: Component,
|
|
32536
32656
|
args: [{
|
|
@@ -32619,7 +32739,7 @@ class ExternalUrlComponent extends AppBaseComponent {
|
|
|
32619
32739
|
let resultUserModel = this.surveyUserInfoForm.value;
|
|
32620
32740
|
let model = new AddSurveySubmissionDTO();
|
|
32621
32741
|
model.SurveyID = this.surveyID;
|
|
32622
|
-
model.AudienceType = AudienceType.External;
|
|
32742
|
+
model.AudienceType = AudienceType$1.External;
|
|
32623
32743
|
model.Questions = this.surveyInfo.questions;
|
|
32624
32744
|
model.Name.Arabic = resultUserModel.Name.Arabic;
|
|
32625
32745
|
model.Name.English = resultUserModel.Name.English;
|
|
@@ -32667,7 +32787,7 @@ class ExternalUrlComponent extends AppBaseComponent {
|
|
|
32667
32787
|
});
|
|
32668
32788
|
this.EN = this.utilityService.isCurrentLanguageEnglish();
|
|
32669
32789
|
this.language = localStorage.getItem('language');
|
|
32670
|
-
this.surveyService.getSurveyForSubmission(this.surveyID, AudienceType.External).subscribe((res) => {
|
|
32790
|
+
this.surveyService.getSurveyForSubmission(this.surveyID, AudienceType$1.External).subscribe((res) => {
|
|
32671
32791
|
this.surveyForm = new FormGroup({});
|
|
32672
32792
|
this.surveyUserInfoForm = new FormGroup({});
|
|
32673
32793
|
this.surveySurveyOptions = new FormOptions();
|
|
@@ -32816,7 +32936,12 @@ const ngWizardConfig = {
|
|
|
32816
32936
|
class SurveyModule {
|
|
32817
32937
|
constructor(configurationService) {
|
|
32818
32938
|
}
|
|
32939
|
+
static setSurveyMode(mode) {
|
|
32940
|
+
SurveyModule.surveyMode = mode;
|
|
32941
|
+
return SurveyModule;
|
|
32942
|
+
}
|
|
32819
32943
|
}
|
|
32944
|
+
SurveyModule.surveyMode = SurveyMode$1.Survey_Full_Access;
|
|
32820
32945
|
SurveyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SurveyModule, deps: [{ token: i1.ConfigurationService }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
32821
32946
|
SurveyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: SurveyModule, declarations: [SurveyComponent,
|
|
32822
32947
|
AddSurveyComponent,
|
|
@@ -47083,29 +47208,29 @@ class DocumentExportDTO {
|
|
|
47083
47208
|
class DocumentExportItemDTO {
|
|
47084
47209
|
}
|
|
47085
47210
|
|
|
47086
|
-
const contentTypesXML = `
|
|
47087
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47088
|
-
|
|
47089
|
-
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
|
47090
|
-
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
|
47091
|
-
<Default Extension="jpeg" ContentType="image/jpeg"/>
|
|
47092
|
-
<Default Extension="png" ContentType="image/png"/>
|
|
47093
|
-
<Default Extension="xml" ContentType="application/xml"/>
|
|
47094
|
-
<Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
47095
|
-
<Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
47096
|
-
<Override PartName="/word/_rels/
|
|
47097
|
-
<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
|
|
47098
|
-
<Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
|
|
47099
|
-
<Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/>
|
|
47100
|
-
<Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
|
|
47101
|
-
<Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>
|
|
47102
|
-
<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
|
|
47103
|
-
<Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
|
|
47104
|
-
<Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/>
|
|
47105
|
-
<Override PartName="/word/afchunk.mht" ContentType="message/rfc822"/>
|
|
47106
|
-
<Override PartName="/word/afchunkheader.mht" ContentType="message/rfc822"/>
|
|
47107
|
-
<Override PartName="/word/afchunkfooter.mht" ContentType="message/rfc822"/>
|
|
47108
|
-
</Types>
|
|
47211
|
+
const contentTypesXML = `
|
|
47212
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47213
|
+
|
|
47214
|
+
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
|
|
47215
|
+
<Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml" />
|
|
47216
|
+
<Default Extension="jpeg" ContentType="image/jpeg"/>
|
|
47217
|
+
<Default Extension="png" ContentType="image/png"/>
|
|
47218
|
+
<Default Extension="xml" ContentType="application/xml"/>
|
|
47219
|
+
<Override PartName="/_rels/.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
47220
|
+
<Override PartName="/word/_rels/document.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
47221
|
+
<Override PartName="/word/_rels/footer1.xml.rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/>
|
|
47222
|
+
<Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>
|
|
47223
|
+
<Override PartName="/word/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml"/>
|
|
47224
|
+
<Override PartName="/word/numbering.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml"/>
|
|
47225
|
+
<Override PartName="/word/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/>
|
|
47226
|
+
<Override PartName="/word/fontTable.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml"/>
|
|
47227
|
+
<Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/>
|
|
47228
|
+
<Override PartName="/word/settings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml"/>
|
|
47229
|
+
<Override PartName="/word/webSettings.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.webSettings+xml"/>
|
|
47230
|
+
<Override PartName="/word/afchunk.mht" ContentType="message/rfc822"/>
|
|
47231
|
+
<Override PartName="/word/afchunkheader.mht" ContentType="message/rfc822"/>
|
|
47232
|
+
<Override PartName="/word/afchunkfooter.mht" ContentType="message/rfc822"/>
|
|
47233
|
+
</Types>
|
|
47109
47234
|
`;
|
|
47110
47235
|
|
|
47111
47236
|
const namespaces = {
|
|
@@ -47247,513 +47372,578 @@ const paragraphBordersObject = {
|
|
|
47247
47372
|
const colorlessColors = ['transparent', 'auto'];
|
|
47248
47373
|
const verticalAlignValues = ['top', 'middle', 'bottom'];
|
|
47249
47374
|
|
|
47250
|
-
const generateCoreXML = (title = '', subject = '', creator = applicationName, keywords = [applicationName], description = '', lastModifiedBy = applicationName, revision = 1, createdAt = new Date(), modifiedAt = new Date()) => `
|
|
47251
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47252
|
-
|
|
47253
|
-
<cp:coreProperties
|
|
47254
|
-
xmlns:cp="${namespaces.coreProperties}"
|
|
47255
|
-
xmlns:dc="${namespaces.dc}"
|
|
47256
|
-
xmlns:dcterms="${namespaces.dcterms}"
|
|
47257
|
-
xmlns:dcmitype="${namespaces.dcmitype}"
|
|
47258
|
-
xmlns:xsi="${namespaces.xsi}"
|
|
47259
|
-
>
|
|
47260
|
-
<dc:title>${title}</dc:title>
|
|
47261
|
-
<dc:subject>${subject}</dc:subject>
|
|
47262
|
-
<dc:creator>${creator}</dc:creator>
|
|
47375
|
+
const generateCoreXML = (title = '', subject = '', creator = applicationName, keywords = [applicationName], description = '', lastModifiedBy = applicationName, revision = 1, createdAt = new Date(), modifiedAt = new Date()) => `
|
|
47376
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47377
|
+
|
|
47378
|
+
<cp:coreProperties
|
|
47379
|
+
xmlns:cp="${namespaces.coreProperties}"
|
|
47380
|
+
xmlns:dc="${namespaces.dc}"
|
|
47381
|
+
xmlns:dcterms="${namespaces.dcterms}"
|
|
47382
|
+
xmlns:dcmitype="${namespaces.dcmitype}"
|
|
47383
|
+
xmlns:xsi="${namespaces.xsi}"
|
|
47384
|
+
>
|
|
47385
|
+
<dc:title>${title}</dc:title>
|
|
47386
|
+
<dc:subject>${subject}</dc:subject>
|
|
47387
|
+
<dc:creator>${creator}</dc:creator>
|
|
47263
47388
|
${keywords && Array.isArray(keywords)
|
|
47264
47389
|
? `<cp:keywords>${keywords.join(', ')}</cp:keywords>`
|
|
47265
|
-
: ''}
|
|
47266
|
-
<dc:description>${description}</dc:description>
|
|
47267
|
-
<cp:lastModifiedBy>${lastModifiedBy}</cp:lastModifiedBy>
|
|
47268
|
-
<cp:revision>${revision}</cp:revision>
|
|
47269
|
-
<dcterms:created xsi:type="dcterms:W3CDTF">${createdAt instanceof Date ? createdAt.toISOString() : new Date().toISOString()}</dcterms:created>
|
|
47270
|
-
<dcterms:modified xsi:type="dcterms:W3CDTF">${modifiedAt instanceof Date ? modifiedAt.toISOString() : new Date().toISOString()}</dcterms:modified>
|
|
47271
|
-
</cp:coreProperties>
|
|
47390
|
+
: ''}
|
|
47391
|
+
<dc:description>${description}</dc:description>
|
|
47392
|
+
<cp:lastModifiedBy>${lastModifiedBy}</cp:lastModifiedBy>
|
|
47393
|
+
<cp:revision>${revision}</cp:revision>
|
|
47394
|
+
<dcterms:created xsi:type="dcterms:W3CDTF">${createdAt instanceof Date ? createdAt.toISOString() : new Date().toISOString()}</dcterms:created>
|
|
47395
|
+
<dcterms:modified xsi:type="dcterms:W3CDTF">${modifiedAt instanceof Date ? modifiedAt.toISOString() : new Date().toISOString()}</dcterms:modified>
|
|
47396
|
+
</cp:coreProperties>
|
|
47272
47397
|
`;
|
|
47273
47398
|
|
|
47274
|
-
const documentRelsXML = `
|
|
47275
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47276
|
-
|
|
47277
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
47278
|
-
<Relationship Id="rId1" Type="${namespaces.numbering}" Target="numbering.xml"/>
|
|
47279
|
-
<Relationship Id="rId2" Type="${namespaces.styles}" Target="styles.xml"/>
|
|
47280
|
-
<Relationship Id="rId3" Type="${namespaces.settingsRelation}" Target="settings.xml"/>
|
|
47281
|
-
<Relationship Id="rId4" Type="${namespaces.webSettingsRelation}" Target="webSettings.xml"/>
|
|
47282
|
-
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunk.mht" Id="htmlChunk" />
|
|
47283
|
-
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkheader.mht" Id="htmlChunkHeader" />
|
|
47284
|
-
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkfooter.mht" Id="htmlChunkFooter" />
|
|
47285
|
-
</Relationships>
|
|
47399
|
+
const documentRelsXML = `
|
|
47400
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47401
|
+
|
|
47402
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
47403
|
+
<Relationship Id="rId1" Type="${namespaces.numbering}" Target="numbering.xml"/>
|
|
47404
|
+
<Relationship Id="rId2" Type="${namespaces.styles}" Target="styles.xml"/>
|
|
47405
|
+
<Relationship Id="rId3" Type="${namespaces.settingsRelation}" Target="settings.xml"/>
|
|
47406
|
+
<Relationship Id="rId4" Type="${namespaces.webSettingsRelation}" Target="webSettings.xml"/>
|
|
47407
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunk.mht" Id="htmlChunk" />
|
|
47408
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkheader.mht" Id="htmlChunkHeader" />
|
|
47409
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkfooter.mht" Id="htmlChunkFooter" />
|
|
47410
|
+
</Relationships>
|
|
47286
47411
|
`;
|
|
47287
47412
|
|
|
47288
|
-
const relsXML = `
|
|
47289
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47290
|
-
|
|
47291
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
47292
|
-
<Relationship Id="rId1" Type="${namespaces.officeDocumentRelation}" Target="word/document.xml"/>
|
|
47293
|
-
<Relationship Id="rId2" Type="${namespaces.corePropertiesRelation}" Target="docProps/core.xml"/>
|
|
47294
|
-
</Relationships>
|
|
47413
|
+
const relsXML = `
|
|
47414
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47415
|
+
|
|
47416
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
47417
|
+
<Relationship Id="rId1" Type="${namespaces.officeDocumentRelation}" Target="word/document.xml"/>
|
|
47418
|
+
<Relationship Id="rId2" Type="${namespaces.corePropertiesRelation}" Target="docProps/core.xml"/>
|
|
47419
|
+
</Relationships>
|
|
47295
47420
|
`;
|
|
47296
47421
|
|
|
47297
|
-
const generateNumberingXMLTemplate = () => `
|
|
47298
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47299
|
-
|
|
47300
|
-
<w:numbering
|
|
47301
|
-
xmlns:w="${namespaces.w}"
|
|
47302
|
-
xmlns:ve="${namespaces.ve}"
|
|
47303
|
-
xmlns:o="${namespaces.o}"
|
|
47304
|
-
xmlns:r="${namespaces.r}"
|
|
47305
|
-
xmlns:v="${namespaces.v}"
|
|
47306
|
-
xmlns:wp="${namespaces.wp}"
|
|
47307
|
-
xmlns:w10="${namespaces.w10}"
|
|
47308
|
-
xmlns:wne="${namespaces.wne}">
|
|
47309
|
-
</w:numbering>
|
|
47422
|
+
const generateNumberingXMLTemplate = () => `
|
|
47423
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47424
|
+
|
|
47425
|
+
<w:numbering
|
|
47426
|
+
xmlns:w="${namespaces.w}"
|
|
47427
|
+
xmlns:ve="${namespaces.ve}"
|
|
47428
|
+
xmlns:o="${namespaces.o}"
|
|
47429
|
+
xmlns:r="${namespaces.r}"
|
|
47430
|
+
xmlns:v="${namespaces.v}"
|
|
47431
|
+
xmlns:wp="${namespaces.wp}"
|
|
47432
|
+
xmlns:w10="${namespaces.w10}"
|
|
47433
|
+
xmlns:wne="${namespaces.wne}">
|
|
47434
|
+
</w:numbering>
|
|
47310
47435
|
`;
|
|
47311
47436
|
|
|
47312
|
-
const generateStylesXML = (font = defaultFont, fontSize = defaultFontSize, complexScriptFontSize = defaultFontSize) => `
|
|
47313
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47314
|
-
|
|
47315
|
-
<w:styles xmlns:w="${namespaces.w}" xmlns:r="${namespaces.r}">
|
|
47316
|
-
<w:docDefaults>
|
|
47317
|
-
<w:rPrDefault>
|
|
47318
|
-
<w:rPr>
|
|
47319
|
-
<w:rFonts w:ascii="${font}" w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi" />
|
|
47320
|
-
<w:sz w:val="${fontSize}" />
|
|
47321
|
-
<w:szCs w:val="${complexScriptFontSize}" />
|
|
47322
|
-
<w:lang w:val="en-US" w:eastAsia="en-US" w:bidi="ar-SA" />
|
|
47323
|
-
</w:rPr>
|
|
47324
|
-
</w:rPrDefault>
|
|
47325
|
-
<w:pPrDefault>
|
|
47326
|
-
<w:pPr>
|
|
47327
|
-
<w:spacing w:after="120" w:line="240" w:lineRule="atLeast" />
|
|
47328
|
-
</w:pPr>
|
|
47329
|
-
</w:pPrDefault>
|
|
47330
|
-
</w:docDefaults>
|
|
47331
|
-
<w:style w:type="character" w:styleId="Hyperlink">
|
|
47332
|
-
<w:name w:val="Hyperlink" />
|
|
47333
|
-
<w:rPr>
|
|
47334
|
-
<w:color w:val="0000FF" />
|
|
47335
|
-
<w:u w:val="single" />
|
|
47336
|
-
</w:rPr>
|
|
47337
|
-
</w:style>
|
|
47338
|
-
<w:style w:type="paragraph" w:styleId="Heading1">
|
|
47339
|
-
<w:name w:val="heading 1" />
|
|
47340
|
-
<w:basedOn w:val="Normal" />
|
|
47341
|
-
<w:next w:val="Normal" />
|
|
47342
|
-
<w:uiPriority w:val="9" />
|
|
47343
|
-
<w:qFormat />
|
|
47344
|
-
<w:pPr>
|
|
47345
|
-
<w:keepNext />
|
|
47346
|
-
<w:keepLines />
|
|
47347
|
-
<w:spacing w:before="480" />
|
|
47348
|
-
<w:outlineLvl w:val="0" />
|
|
47349
|
-
</w:pPr>
|
|
47350
|
-
<w:rPr>
|
|
47351
|
-
<w:b />
|
|
47352
|
-
<w:sz w:val="48" />
|
|
47353
|
-
<w:szCs w:val="48" />
|
|
47354
|
-
</w:rPr>
|
|
47355
|
-
</w:style>
|
|
47356
|
-
<w:style w:type="paragraph" w:styleId="Heading2">
|
|
47357
|
-
<w:name w:val="heading 2" />
|
|
47358
|
-
<w:basedOn w:val="Normal" />
|
|
47359
|
-
<w:next w:val="Normal" />
|
|
47360
|
-
<w:uiPriority w:val="9" />
|
|
47361
|
-
<w:unhideWhenUsed />
|
|
47362
|
-
<w:qFormat />
|
|
47363
|
-
<w:pPr>
|
|
47364
|
-
<w:keepNext />
|
|
47365
|
-
<w:keepLines />
|
|
47366
|
-
<w:spacing w:before="360" w:after="80" />
|
|
47367
|
-
<w:outlineLvl w:val="1" />
|
|
47368
|
-
</w:pPr>
|
|
47369
|
-
<w:rPr>
|
|
47370
|
-
<w:b />
|
|
47371
|
-
<w:sz w:val="36" />
|
|
47372
|
-
<w:szCs w:val="36" />
|
|
47373
|
-
</w:rPr>
|
|
47374
|
-
</w:style>
|
|
47375
|
-
<w:style w:type="paragraph" w:styleId="Heading3">
|
|
47376
|
-
<w:name w:val="heading 3" />
|
|
47377
|
-
<w:basedOn w:val="Normal" />
|
|
47378
|
-
<w:next w:val="Normal" />
|
|
47379
|
-
<w:uiPriority w:val="9" />
|
|
47380
|
-
<w:semiHidden />
|
|
47381
|
-
<w:unhideWhenUsed />
|
|
47382
|
-
<w:qFormat />
|
|
47383
|
-
<w:pPr>
|
|
47384
|
-
<w:keepNext />
|
|
47385
|
-
<w:keepLines />
|
|
47386
|
-
<w:spacing w:before="280" w:after="80" />
|
|
47387
|
-
<w:outlineLvl w:val="2" />
|
|
47388
|
-
</w:pPr>
|
|
47389
|
-
<w:rPr>
|
|
47390
|
-
<w:b />
|
|
47391
|
-
<w:sz w:val="28" />
|
|
47392
|
-
<w:szCs w:val="28" />
|
|
47393
|
-
</w:rPr>
|
|
47394
|
-
</w:style>
|
|
47395
|
-
<w:style w:type="paragraph" w:styleId="Heading4">
|
|
47396
|
-
<w:name w:val="heading 4" />
|
|
47397
|
-
<w:basedOn w:val="Normal" />
|
|
47398
|
-
<w:next w:val="Normal" />
|
|
47399
|
-
<w:uiPriority w:val="9" />
|
|
47400
|
-
<w:semiHidden />
|
|
47401
|
-
<w:unhideWhenUsed />
|
|
47402
|
-
<w:qFormat />
|
|
47403
|
-
<w:pPr>
|
|
47404
|
-
<w:keepNext />
|
|
47405
|
-
<w:keepLines />
|
|
47406
|
-
<w:spacing w:before="240" w:after="40" />
|
|
47407
|
-
<w:outlineLvl w:val="3" />
|
|
47408
|
-
</w:pPr>
|
|
47409
|
-
<w:rPr>
|
|
47410
|
-
<w:b />
|
|
47411
|
-
<w:sz w:val="24" />
|
|
47412
|
-
<w:szCs w:val="24" />
|
|
47413
|
-
</w:rPr>
|
|
47414
|
-
</w:style>
|
|
47415
|
-
<w:style w:type="paragraph" w:styleId="Heading5">
|
|
47416
|
-
<w:name w:val="heading 5" />
|
|
47417
|
-
<w:basedOn w:val="Normal" />
|
|
47418
|
-
<w:next w:val="Normal" />
|
|
47419
|
-
<w:uiPriority w:val="9" />
|
|
47420
|
-
<w:semiHidden />
|
|
47421
|
-
<w:unhideWhenUsed />
|
|
47422
|
-
<w:qFormat />
|
|
47423
|
-
<w:pPr>
|
|
47424
|
-
<w:keepNext />
|
|
47425
|
-
<w:keepLines />
|
|
47426
|
-
<w:spacing w:before="220" w:after="40" />
|
|
47427
|
-
<w:outlineLvl w:val="4" />
|
|
47428
|
-
</w:pPr>
|
|
47429
|
-
<w:rPr>
|
|
47430
|
-
<w:b />
|
|
47431
|
-
</w:rPr>
|
|
47432
|
-
</w:style>
|
|
47433
|
-
<w:style w:type="paragraph" w:styleId="Heading6">
|
|
47434
|
-
<w:name w:val="heading 6" />
|
|
47435
|
-
<w:basedOn w:val="Normal" />
|
|
47436
|
-
<w:next w:val="Normal" />
|
|
47437
|
-
<w:uiPriority w:val="9" />
|
|
47438
|
-
<w:semiHidden />
|
|
47439
|
-
<w:unhideWhenUsed />
|
|
47440
|
-
<w:qFormat />
|
|
47441
|
-
<w:pPr>
|
|
47442
|
-
<w:keepNext />
|
|
47443
|
-
<w:keepLines />
|
|
47444
|
-
<w:spacing w:before="200" w:after="40" />
|
|
47445
|
-
<w:outlineLvl w:val="5" />
|
|
47446
|
-
</w:pPr>
|
|
47447
|
-
<w:rPr>
|
|
47448
|
-
<w:b />
|
|
47449
|
-
<w:sz w:val="20" />
|
|
47450
|
-
<w:szCs w:val="20" />
|
|
47451
|
-
</w:rPr>
|
|
47452
|
-
</w:style>
|
|
47453
|
-
</w:styles>
|
|
47437
|
+
const generateStylesXML = (font = defaultFont, fontSize = defaultFontSize, complexScriptFontSize = defaultFontSize) => `
|
|
47438
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47439
|
+
|
|
47440
|
+
<w:styles xmlns:w="${namespaces.w}" xmlns:r="${namespaces.r}">
|
|
47441
|
+
<w:docDefaults>
|
|
47442
|
+
<w:rPrDefault>
|
|
47443
|
+
<w:rPr>
|
|
47444
|
+
<w:rFonts w:ascii="${font}" w:eastAsiaTheme="minorHAnsi" w:hAnsiTheme="minorHAnsi" w:cstheme="minorBidi" />
|
|
47445
|
+
<w:sz w:val="${fontSize}" />
|
|
47446
|
+
<w:szCs w:val="${complexScriptFontSize}" />
|
|
47447
|
+
<w:lang w:val="en-US" w:eastAsia="en-US" w:bidi="ar-SA" />
|
|
47448
|
+
</w:rPr>
|
|
47449
|
+
</w:rPrDefault>
|
|
47450
|
+
<w:pPrDefault>
|
|
47451
|
+
<w:pPr>
|
|
47452
|
+
<w:spacing w:after="120" w:line="240" w:lineRule="atLeast" />
|
|
47453
|
+
</w:pPr>
|
|
47454
|
+
</w:pPrDefault>
|
|
47455
|
+
</w:docDefaults>
|
|
47456
|
+
<w:style w:type="character" w:styleId="Hyperlink">
|
|
47457
|
+
<w:name w:val="Hyperlink" />
|
|
47458
|
+
<w:rPr>
|
|
47459
|
+
<w:color w:val="0000FF" />
|
|
47460
|
+
<w:u w:val="single" />
|
|
47461
|
+
</w:rPr>
|
|
47462
|
+
</w:style>
|
|
47463
|
+
<w:style w:type="paragraph" w:styleId="Heading1">
|
|
47464
|
+
<w:name w:val="heading 1" />
|
|
47465
|
+
<w:basedOn w:val="Normal" />
|
|
47466
|
+
<w:next w:val="Normal" />
|
|
47467
|
+
<w:uiPriority w:val="9" />
|
|
47468
|
+
<w:qFormat />
|
|
47469
|
+
<w:pPr>
|
|
47470
|
+
<w:keepNext />
|
|
47471
|
+
<w:keepLines />
|
|
47472
|
+
<w:spacing w:before="480" />
|
|
47473
|
+
<w:outlineLvl w:val="0" />
|
|
47474
|
+
</w:pPr>
|
|
47475
|
+
<w:rPr>
|
|
47476
|
+
<w:b />
|
|
47477
|
+
<w:sz w:val="48" />
|
|
47478
|
+
<w:szCs w:val="48" />
|
|
47479
|
+
</w:rPr>
|
|
47480
|
+
</w:style>
|
|
47481
|
+
<w:style w:type="paragraph" w:styleId="Heading2">
|
|
47482
|
+
<w:name w:val="heading 2" />
|
|
47483
|
+
<w:basedOn w:val="Normal" />
|
|
47484
|
+
<w:next w:val="Normal" />
|
|
47485
|
+
<w:uiPriority w:val="9" />
|
|
47486
|
+
<w:unhideWhenUsed />
|
|
47487
|
+
<w:qFormat />
|
|
47488
|
+
<w:pPr>
|
|
47489
|
+
<w:keepNext />
|
|
47490
|
+
<w:keepLines />
|
|
47491
|
+
<w:spacing w:before="360" w:after="80" />
|
|
47492
|
+
<w:outlineLvl w:val="1" />
|
|
47493
|
+
</w:pPr>
|
|
47494
|
+
<w:rPr>
|
|
47495
|
+
<w:b />
|
|
47496
|
+
<w:sz w:val="36" />
|
|
47497
|
+
<w:szCs w:val="36" />
|
|
47498
|
+
</w:rPr>
|
|
47499
|
+
</w:style>
|
|
47500
|
+
<w:style w:type="paragraph" w:styleId="Heading3">
|
|
47501
|
+
<w:name w:val="heading 3" />
|
|
47502
|
+
<w:basedOn w:val="Normal" />
|
|
47503
|
+
<w:next w:val="Normal" />
|
|
47504
|
+
<w:uiPriority w:val="9" />
|
|
47505
|
+
<w:semiHidden />
|
|
47506
|
+
<w:unhideWhenUsed />
|
|
47507
|
+
<w:qFormat />
|
|
47508
|
+
<w:pPr>
|
|
47509
|
+
<w:keepNext />
|
|
47510
|
+
<w:keepLines />
|
|
47511
|
+
<w:spacing w:before="280" w:after="80" />
|
|
47512
|
+
<w:outlineLvl w:val="2" />
|
|
47513
|
+
</w:pPr>
|
|
47514
|
+
<w:rPr>
|
|
47515
|
+
<w:b />
|
|
47516
|
+
<w:sz w:val="28" />
|
|
47517
|
+
<w:szCs w:val="28" />
|
|
47518
|
+
</w:rPr>
|
|
47519
|
+
</w:style>
|
|
47520
|
+
<w:style w:type="paragraph" w:styleId="Heading4">
|
|
47521
|
+
<w:name w:val="heading 4" />
|
|
47522
|
+
<w:basedOn w:val="Normal" />
|
|
47523
|
+
<w:next w:val="Normal" />
|
|
47524
|
+
<w:uiPriority w:val="9" />
|
|
47525
|
+
<w:semiHidden />
|
|
47526
|
+
<w:unhideWhenUsed />
|
|
47527
|
+
<w:qFormat />
|
|
47528
|
+
<w:pPr>
|
|
47529
|
+
<w:keepNext />
|
|
47530
|
+
<w:keepLines />
|
|
47531
|
+
<w:spacing w:before="240" w:after="40" />
|
|
47532
|
+
<w:outlineLvl w:val="3" />
|
|
47533
|
+
</w:pPr>
|
|
47534
|
+
<w:rPr>
|
|
47535
|
+
<w:b />
|
|
47536
|
+
<w:sz w:val="24" />
|
|
47537
|
+
<w:szCs w:val="24" />
|
|
47538
|
+
</w:rPr>
|
|
47539
|
+
</w:style>
|
|
47540
|
+
<w:style w:type="paragraph" w:styleId="Heading5">
|
|
47541
|
+
<w:name w:val="heading 5" />
|
|
47542
|
+
<w:basedOn w:val="Normal" />
|
|
47543
|
+
<w:next w:val="Normal" />
|
|
47544
|
+
<w:uiPriority w:val="9" />
|
|
47545
|
+
<w:semiHidden />
|
|
47546
|
+
<w:unhideWhenUsed />
|
|
47547
|
+
<w:qFormat />
|
|
47548
|
+
<w:pPr>
|
|
47549
|
+
<w:keepNext />
|
|
47550
|
+
<w:keepLines />
|
|
47551
|
+
<w:spacing w:before="220" w:after="40" />
|
|
47552
|
+
<w:outlineLvl w:val="4" />
|
|
47553
|
+
</w:pPr>
|
|
47554
|
+
<w:rPr>
|
|
47555
|
+
<w:b />
|
|
47556
|
+
</w:rPr>
|
|
47557
|
+
</w:style>
|
|
47558
|
+
<w:style w:type="paragraph" w:styleId="Heading6">
|
|
47559
|
+
<w:name w:val="heading 6" />
|
|
47560
|
+
<w:basedOn w:val="Normal" />
|
|
47561
|
+
<w:next w:val="Normal" />
|
|
47562
|
+
<w:uiPriority w:val="9" />
|
|
47563
|
+
<w:semiHidden />
|
|
47564
|
+
<w:unhideWhenUsed />
|
|
47565
|
+
<w:qFormat />
|
|
47566
|
+
<w:pPr>
|
|
47567
|
+
<w:keepNext />
|
|
47568
|
+
<w:keepLines />
|
|
47569
|
+
<w:spacing w:before="200" w:after="40" />
|
|
47570
|
+
<w:outlineLvl w:val="5" />
|
|
47571
|
+
</w:pPr>
|
|
47572
|
+
<w:rPr>
|
|
47573
|
+
<w:b />
|
|
47574
|
+
<w:sz w:val="20" />
|
|
47575
|
+
<w:szCs w:val="20" />
|
|
47576
|
+
</w:rPr>
|
|
47577
|
+
</w:style>
|
|
47578
|
+
</w:styles>
|
|
47454
47579
|
`;
|
|
47455
47580
|
|
|
47456
|
-
const fontTableXML = `
|
|
47457
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47458
|
-
|
|
47459
|
-
<w:fonts
|
|
47460
|
-
xmlns:r="${namespaces.r}"
|
|
47461
|
-
xmlns:w="${namespaces.w}"
|
|
47462
|
-
>
|
|
47463
|
-
<w:font w:name="Symbol">
|
|
47464
|
-
<w:panose1 w:val="05050102010706020507"/>
|
|
47465
|
-
<w:charset w:val="02"/>
|
|
47466
|
-
<w:family w:val="decorative"/>
|
|
47467
|
-
<w:pitch w:val="variable"/>
|
|
47468
|
-
<w:sig w:usb0="00000000" w:usb1="10000000" w:usb2="00000000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000"/>
|
|
47469
|
-
</w:font>
|
|
47470
|
-
<w:font w:name="Calibri">
|
|
47471
|
-
<w:panose1 w:val="020F0502020204030204"/>
|
|
47472
|
-
<w:charset w:val="00"/>
|
|
47473
|
-
<w:family w:val="swiss"/>
|
|
47474
|
-
<w:pitch w:val="variable"/>
|
|
47475
|
-
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
47476
|
-
</w:font>
|
|
47477
|
-
<w:font w:name="Times New Roman">
|
|
47478
|
-
<w:panose1 w:val="02020603050405020304"/>
|
|
47479
|
-
<w:charset w:val="00"/>
|
|
47480
|
-
<w:family w:val="roman"/>
|
|
47481
|
-
<w:pitch w:val="variable"/>
|
|
47482
|
-
<w:sig w:usb0="E0002EFF" w:usb1="C000785B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
47483
|
-
</w:font>
|
|
47484
|
-
<w:font w:name="Calibri Light">
|
|
47485
|
-
<w:panose1 w:val="020F0302020204030204"/>
|
|
47486
|
-
<w:charset w:val="00"/>
|
|
47487
|
-
<w:family w:val="swiss"/>
|
|
47488
|
-
<w:pitch w:val="variable"/>
|
|
47489
|
-
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
47490
|
-
</w:font>
|
|
47491
|
-
</w:fonts>
|
|
47581
|
+
const fontTableXML = `
|
|
47582
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47583
|
+
|
|
47584
|
+
<w:fonts
|
|
47585
|
+
xmlns:r="${namespaces.r}"
|
|
47586
|
+
xmlns:w="${namespaces.w}"
|
|
47587
|
+
>
|
|
47588
|
+
<w:font w:name="Symbol">
|
|
47589
|
+
<w:panose1 w:val="05050102010706020507"/>
|
|
47590
|
+
<w:charset w:val="02"/>
|
|
47591
|
+
<w:family w:val="decorative"/>
|
|
47592
|
+
<w:pitch w:val="variable"/>
|
|
47593
|
+
<w:sig w:usb0="00000000" w:usb1="10000000" w:usb2="00000000" w:usb3="00000000" w:csb0="80000000" w:csb1="00000000"/>
|
|
47594
|
+
</w:font>
|
|
47595
|
+
<w:font w:name="Calibri">
|
|
47596
|
+
<w:panose1 w:val="020F0502020204030204"/>
|
|
47597
|
+
<w:charset w:val="00"/>
|
|
47598
|
+
<w:family w:val="swiss"/>
|
|
47599
|
+
<w:pitch w:val="variable"/>
|
|
47600
|
+
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
47601
|
+
</w:font>
|
|
47602
|
+
<w:font w:name="Times New Roman">
|
|
47603
|
+
<w:panose1 w:val="02020603050405020304"/>
|
|
47604
|
+
<w:charset w:val="00"/>
|
|
47605
|
+
<w:family w:val="roman"/>
|
|
47606
|
+
<w:pitch w:val="variable"/>
|
|
47607
|
+
<w:sig w:usb0="E0002EFF" w:usb1="C000785B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
47608
|
+
</w:font>
|
|
47609
|
+
<w:font w:name="Calibri Light">
|
|
47610
|
+
<w:panose1 w:val="020F0302020204030204"/>
|
|
47611
|
+
<w:charset w:val="00"/>
|
|
47612
|
+
<w:family w:val="swiss"/>
|
|
47613
|
+
<w:pitch w:val="variable"/>
|
|
47614
|
+
<w:sig w:usb0="E4002EFF" w:usb1="C000247B" w:usb2="00000009" w:usb3="00000000" w:csb0="000001FF" w:csb1="00000000"/>
|
|
47615
|
+
</w:font>
|
|
47616
|
+
</w:fonts>
|
|
47492
47617
|
`;
|
|
47493
47618
|
|
|
47494
|
-
const generateThemeXML = (font = defaultFont) => `
|
|
47495
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47496
|
-
|
|
47497
|
-
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
|
|
47498
|
-
<a:themeElements>
|
|
47499
|
-
<a:clrScheme name="Office">
|
|
47500
|
-
<a:dk1>
|
|
47501
|
-
<a:sysClr val="windowText" lastClr="000000"/>
|
|
47502
|
-
</a:dk1>
|
|
47503
|
-
<a:lt1>
|
|
47504
|
-
<a:sysClr val="window" lastClr="FFFFFF"/>
|
|
47505
|
-
</a:lt1>
|
|
47506
|
-
<a:dk2>
|
|
47507
|
-
<a:srgbClr val="44546A"/>
|
|
47508
|
-
</a:dk2>
|
|
47509
|
-
<a:lt2>
|
|
47510
|
-
<a:srgbClr val="E7E6E6"/>
|
|
47511
|
-
</a:lt2>
|
|
47512
|
-
<a:accent1>
|
|
47513
|
-
<a:srgbClr val="4472C4"/>
|
|
47514
|
-
</a:accent1>
|
|
47515
|
-
<a:accent2>
|
|
47516
|
-
<a:srgbClr val="ED7D31"/>
|
|
47517
|
-
</a:accent2>
|
|
47518
|
-
<a:accent3>
|
|
47519
|
-
<a:srgbClr val="A5A5A5"/>
|
|
47520
|
-
</a:accent3>
|
|
47521
|
-
<a:accent4>
|
|
47522
|
-
<a:srgbClr val="FFC000"/>
|
|
47523
|
-
</a:accent4>
|
|
47524
|
-
<a:accent5>
|
|
47525
|
-
<a:srgbClr val="5B9BD5"/>
|
|
47526
|
-
</a:accent5>
|
|
47527
|
-
<a:accent6>
|
|
47528
|
-
<a:srgbClr val="70AD47"/>
|
|
47529
|
-
</a:accent6>
|
|
47530
|
-
<a:hlink>
|
|
47531
|
-
<a:srgbClr val="0563C1"/>
|
|
47532
|
-
</a:hlink>
|
|
47533
|
-
<a:folHlink>
|
|
47534
|
-
<a:srgbClr val="954F72"/>
|
|
47535
|
-
</a:folHlink>
|
|
47536
|
-
</a:clrScheme>
|
|
47537
|
-
<a:fontScheme name="Office">
|
|
47538
|
-
<a:majorFont>
|
|
47539
|
-
<a:latin typeface="${font}"/>
|
|
47540
|
-
<a:ea typeface="${font}"/>
|
|
47541
|
-
<a:cs typeface=""/>
|
|
47542
|
-
</a:majorFont>
|
|
47543
|
-
<a:minorFont>
|
|
47544
|
-
<a:latin typeface="${font}"/>
|
|
47545
|
-
<a:ea typeface="${font}"/>
|
|
47546
|
-
<a:cs typeface=""/>
|
|
47547
|
-
</a:minorFont>
|
|
47548
|
-
</a:fontScheme>
|
|
47549
|
-
<a:fmtScheme name="Office">
|
|
47550
|
-
<a:fillStyleLst>
|
|
47551
|
-
<a:solidFill>
|
|
47552
|
-
<a:schemeClr val="phClr"/>
|
|
47553
|
-
</a:solidFill>
|
|
47554
|
-
<a:gradFill rotWithShape="1">
|
|
47555
|
-
<a:gsLst>
|
|
47556
|
-
<a:gs pos="0">
|
|
47557
|
-
<a:schemeClr val="phClr">
|
|
47558
|
-
<a:lumMod val="110000"/>
|
|
47559
|
-
<a:satMod val="105000"/>
|
|
47560
|
-
<a:tint val="67000"/>
|
|
47561
|
-
</a:schemeClr>
|
|
47562
|
-
</a:gs>
|
|
47563
|
-
<a:gs pos="50000">
|
|
47564
|
-
<a:schemeClr val="phClr">
|
|
47565
|
-
<a:lumMod val="105000"/>
|
|
47566
|
-
<a:satMod val="103000"/>
|
|
47567
|
-
<a:tint val="73000"/>
|
|
47568
|
-
</a:schemeClr>
|
|
47569
|
-
</a:gs>
|
|
47570
|
-
<a:gs pos="100000">
|
|
47571
|
-
<a:schemeClr val="phClr">
|
|
47572
|
-
<a:lumMod val="105000"/>
|
|
47573
|
-
<a:satMod val="109000"/>
|
|
47574
|
-
<a:tint val="81000"/>
|
|
47575
|
-
</a:schemeClr>
|
|
47576
|
-
</a:gs>
|
|
47577
|
-
</a:gsLst>
|
|
47578
|
-
<a:lin ang="5400000" scaled="0"/>
|
|
47579
|
-
</a:gradFill>
|
|
47580
|
-
<a:gradFill rotWithShape="1">
|
|
47581
|
-
<a:gsLst>
|
|
47582
|
-
<a:gs pos="0">
|
|
47583
|
-
<a:schemeClr val="phClr">
|
|
47584
|
-
<a:satMod val="103000"/>
|
|
47585
|
-
<a:lumMod val="102000"/>
|
|
47586
|
-
<a:tint val="94000"/>
|
|
47587
|
-
</a:schemeClr>
|
|
47588
|
-
</a:gs>
|
|
47589
|
-
<a:gs pos="50000">
|
|
47590
|
-
<a:schemeClr val="phClr">
|
|
47591
|
-
<a:satMod val="110000"/>
|
|
47592
|
-
<a:lumMod val="100000"/>
|
|
47593
|
-
<a:shade val="100000"/>
|
|
47594
|
-
</a:schemeClr>
|
|
47595
|
-
</a:gs>
|
|
47596
|
-
<a:gs pos="100000">
|
|
47597
|
-
<a:schemeClr val="phClr">
|
|
47598
|
-
<a:lumMod val="99000"/>
|
|
47599
|
-
<a:satMod val="120000"/>
|
|
47600
|
-
<a:shade val="78000"/>
|
|
47601
|
-
</a:schemeClr>
|
|
47602
|
-
</a:gs>
|
|
47603
|
-
</a:gsLst>
|
|
47604
|
-
<a:lin ang="5400000" scaled="0"/>
|
|
47605
|
-
</a:gradFill>
|
|
47606
|
-
</a:fillStyleLst>
|
|
47607
|
-
<a:lnStyleLst>
|
|
47608
|
-
<a:ln w="6350" cap="flat" cmpd="sng" algn="ctr">
|
|
47609
|
-
<a:solidFill>
|
|
47610
|
-
<a:schemeClr val="phClr"/>
|
|
47611
|
-
</a:solidFill>
|
|
47612
|
-
<a:prstDash val="solid"/>
|
|
47613
|
-
<a:miter lim="800000"/>
|
|
47614
|
-
</a:ln>
|
|
47615
|
-
<a:ln w="12700" cap="flat" cmpd="sng" algn="ctr">
|
|
47616
|
-
<a:solidFill>
|
|
47617
|
-
<a:schemeClr val="phClr"/>
|
|
47618
|
-
</a:solidFill>
|
|
47619
|
-
<a:prstDash val="solid"/>
|
|
47620
|
-
<a:miter lim="800000"/>
|
|
47621
|
-
</a:ln>
|
|
47622
|
-
<a:ln w="19050" cap="flat" cmpd="sng" algn="ctr">
|
|
47623
|
-
<a:solidFill>
|
|
47624
|
-
<a:schemeClr val="phClr"/>
|
|
47625
|
-
</a:solidFill>
|
|
47626
|
-
<a:prstDash val="solid"/>
|
|
47627
|
-
<a:miter lim="800000"/>
|
|
47628
|
-
</a:ln>
|
|
47629
|
-
</a:lnStyleLst>
|
|
47630
|
-
<a:effectStyleLst>
|
|
47631
|
-
<a:effectStyle>
|
|
47632
|
-
<a:effectLst/>
|
|
47633
|
-
</a:effectStyle>
|
|
47634
|
-
<a:effectStyle>
|
|
47635
|
-
<a:effectLst/>
|
|
47636
|
-
</a:effectStyle>
|
|
47637
|
-
<a:effectStyle>
|
|
47638
|
-
<a:effectLst>
|
|
47639
|
-
<a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0">
|
|
47640
|
-
<a:srgbClr val="000000">
|
|
47641
|
-
<a:alpha val="63000"/>
|
|
47642
|
-
</a:srgbClr>
|
|
47643
|
-
</a:outerShdw>
|
|
47644
|
-
</a:effectLst>
|
|
47645
|
-
</a:effectStyle>
|
|
47646
|
-
</a:effectStyleLst>
|
|
47647
|
-
<a:bgFillStyleLst>
|
|
47648
|
-
<a:solidFill>
|
|
47649
|
-
<a:schemeClr val="phClr"/>
|
|
47650
|
-
</a:solidFill>
|
|
47651
|
-
<a:solidFill>
|
|
47652
|
-
<a:schemeClr val="phClr">
|
|
47653
|
-
<a:tint val="95000"/>
|
|
47654
|
-
<a:satMod val="170000"/>
|
|
47655
|
-
</a:schemeClr>
|
|
47656
|
-
</a:solidFill>
|
|
47657
|
-
<a:gradFill rotWithShape="1">
|
|
47658
|
-
<a:gsLst>
|
|
47659
|
-
<a:gs pos="0">
|
|
47660
|
-
<a:schemeClr val="phClr">
|
|
47661
|
-
<a:tint val="93000"/>
|
|
47662
|
-
<a:satMod val="150000"/>
|
|
47663
|
-
<a:shade val="98000"/>
|
|
47664
|
-
<a:lumMod val="102000"/>
|
|
47665
|
-
</a:schemeClr>
|
|
47666
|
-
</a:gs>
|
|
47667
|
-
<a:gs pos="50000">
|
|
47668
|
-
<a:schemeClr val="phClr">
|
|
47669
|
-
<a:tint val="98000"/>
|
|
47670
|
-
<a:satMod val="130000"/>
|
|
47671
|
-
<a:shade val="90000"/>
|
|
47672
|
-
<a:lumMod val="103000"/>
|
|
47673
|
-
</a:schemeClr>
|
|
47674
|
-
</a:gs>
|
|
47675
|
-
<a:gs pos="100000">
|
|
47676
|
-
<a:schemeClr val="phClr">
|
|
47677
|
-
<a:shade val="63000"/>
|
|
47678
|
-
<a:satMod val="120000"/>
|
|
47679
|
-
</a:schemeClr>
|
|
47680
|
-
</a:gs>
|
|
47681
|
-
</a:gsLst>
|
|
47682
|
-
<a:lin ang="5400000" scaled="0"/>
|
|
47683
|
-
</a:gradFill>
|
|
47684
|
-
</a:bgFillStyleLst>
|
|
47685
|
-
</a:fmtScheme>
|
|
47686
|
-
</a:themeElements>
|
|
47687
|
-
</a:theme>
|
|
47619
|
+
const generateThemeXML = (font = defaultFont) => `
|
|
47620
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47621
|
+
|
|
47622
|
+
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">
|
|
47623
|
+
<a:themeElements>
|
|
47624
|
+
<a:clrScheme name="Office">
|
|
47625
|
+
<a:dk1>
|
|
47626
|
+
<a:sysClr val="windowText" lastClr="000000"/>
|
|
47627
|
+
</a:dk1>
|
|
47628
|
+
<a:lt1>
|
|
47629
|
+
<a:sysClr val="window" lastClr="FFFFFF"/>
|
|
47630
|
+
</a:lt1>
|
|
47631
|
+
<a:dk2>
|
|
47632
|
+
<a:srgbClr val="44546A"/>
|
|
47633
|
+
</a:dk2>
|
|
47634
|
+
<a:lt2>
|
|
47635
|
+
<a:srgbClr val="E7E6E6"/>
|
|
47636
|
+
</a:lt2>
|
|
47637
|
+
<a:accent1>
|
|
47638
|
+
<a:srgbClr val="4472C4"/>
|
|
47639
|
+
</a:accent1>
|
|
47640
|
+
<a:accent2>
|
|
47641
|
+
<a:srgbClr val="ED7D31"/>
|
|
47642
|
+
</a:accent2>
|
|
47643
|
+
<a:accent3>
|
|
47644
|
+
<a:srgbClr val="A5A5A5"/>
|
|
47645
|
+
</a:accent3>
|
|
47646
|
+
<a:accent4>
|
|
47647
|
+
<a:srgbClr val="FFC000"/>
|
|
47648
|
+
</a:accent4>
|
|
47649
|
+
<a:accent5>
|
|
47650
|
+
<a:srgbClr val="5B9BD5"/>
|
|
47651
|
+
</a:accent5>
|
|
47652
|
+
<a:accent6>
|
|
47653
|
+
<a:srgbClr val="70AD47"/>
|
|
47654
|
+
</a:accent6>
|
|
47655
|
+
<a:hlink>
|
|
47656
|
+
<a:srgbClr val="0563C1"/>
|
|
47657
|
+
</a:hlink>
|
|
47658
|
+
<a:folHlink>
|
|
47659
|
+
<a:srgbClr val="954F72"/>
|
|
47660
|
+
</a:folHlink>
|
|
47661
|
+
</a:clrScheme>
|
|
47662
|
+
<a:fontScheme name="Office">
|
|
47663
|
+
<a:majorFont>
|
|
47664
|
+
<a:latin typeface="${font}"/>
|
|
47665
|
+
<a:ea typeface="${font}"/>
|
|
47666
|
+
<a:cs typeface=""/>
|
|
47667
|
+
</a:majorFont>
|
|
47668
|
+
<a:minorFont>
|
|
47669
|
+
<a:latin typeface="${font}"/>
|
|
47670
|
+
<a:ea typeface="${font}"/>
|
|
47671
|
+
<a:cs typeface=""/>
|
|
47672
|
+
</a:minorFont>
|
|
47673
|
+
</a:fontScheme>
|
|
47674
|
+
<a:fmtScheme name="Office">
|
|
47675
|
+
<a:fillStyleLst>
|
|
47676
|
+
<a:solidFill>
|
|
47677
|
+
<a:schemeClr val="phClr"/>
|
|
47678
|
+
</a:solidFill>
|
|
47679
|
+
<a:gradFill rotWithShape="1">
|
|
47680
|
+
<a:gsLst>
|
|
47681
|
+
<a:gs pos="0">
|
|
47682
|
+
<a:schemeClr val="phClr">
|
|
47683
|
+
<a:lumMod val="110000"/>
|
|
47684
|
+
<a:satMod val="105000"/>
|
|
47685
|
+
<a:tint val="67000"/>
|
|
47686
|
+
</a:schemeClr>
|
|
47687
|
+
</a:gs>
|
|
47688
|
+
<a:gs pos="50000">
|
|
47689
|
+
<a:schemeClr val="phClr">
|
|
47690
|
+
<a:lumMod val="105000"/>
|
|
47691
|
+
<a:satMod val="103000"/>
|
|
47692
|
+
<a:tint val="73000"/>
|
|
47693
|
+
</a:schemeClr>
|
|
47694
|
+
</a:gs>
|
|
47695
|
+
<a:gs pos="100000">
|
|
47696
|
+
<a:schemeClr val="phClr">
|
|
47697
|
+
<a:lumMod val="105000"/>
|
|
47698
|
+
<a:satMod val="109000"/>
|
|
47699
|
+
<a:tint val="81000"/>
|
|
47700
|
+
</a:schemeClr>
|
|
47701
|
+
</a:gs>
|
|
47702
|
+
</a:gsLst>
|
|
47703
|
+
<a:lin ang="5400000" scaled="0"/>
|
|
47704
|
+
</a:gradFill>
|
|
47705
|
+
<a:gradFill rotWithShape="1">
|
|
47706
|
+
<a:gsLst>
|
|
47707
|
+
<a:gs pos="0">
|
|
47708
|
+
<a:schemeClr val="phClr">
|
|
47709
|
+
<a:satMod val="103000"/>
|
|
47710
|
+
<a:lumMod val="102000"/>
|
|
47711
|
+
<a:tint val="94000"/>
|
|
47712
|
+
</a:schemeClr>
|
|
47713
|
+
</a:gs>
|
|
47714
|
+
<a:gs pos="50000">
|
|
47715
|
+
<a:schemeClr val="phClr">
|
|
47716
|
+
<a:satMod val="110000"/>
|
|
47717
|
+
<a:lumMod val="100000"/>
|
|
47718
|
+
<a:shade val="100000"/>
|
|
47719
|
+
</a:schemeClr>
|
|
47720
|
+
</a:gs>
|
|
47721
|
+
<a:gs pos="100000">
|
|
47722
|
+
<a:schemeClr val="phClr">
|
|
47723
|
+
<a:lumMod val="99000"/>
|
|
47724
|
+
<a:satMod val="120000"/>
|
|
47725
|
+
<a:shade val="78000"/>
|
|
47726
|
+
</a:schemeClr>
|
|
47727
|
+
</a:gs>
|
|
47728
|
+
</a:gsLst>
|
|
47729
|
+
<a:lin ang="5400000" scaled="0"/>
|
|
47730
|
+
</a:gradFill>
|
|
47731
|
+
</a:fillStyleLst>
|
|
47732
|
+
<a:lnStyleLst>
|
|
47733
|
+
<a:ln w="6350" cap="flat" cmpd="sng" algn="ctr">
|
|
47734
|
+
<a:solidFill>
|
|
47735
|
+
<a:schemeClr val="phClr"/>
|
|
47736
|
+
</a:solidFill>
|
|
47737
|
+
<a:prstDash val="solid"/>
|
|
47738
|
+
<a:miter lim="800000"/>
|
|
47739
|
+
</a:ln>
|
|
47740
|
+
<a:ln w="12700" cap="flat" cmpd="sng" algn="ctr">
|
|
47741
|
+
<a:solidFill>
|
|
47742
|
+
<a:schemeClr val="phClr"/>
|
|
47743
|
+
</a:solidFill>
|
|
47744
|
+
<a:prstDash val="solid"/>
|
|
47745
|
+
<a:miter lim="800000"/>
|
|
47746
|
+
</a:ln>
|
|
47747
|
+
<a:ln w="19050" cap="flat" cmpd="sng" algn="ctr">
|
|
47748
|
+
<a:solidFill>
|
|
47749
|
+
<a:schemeClr val="phClr"/>
|
|
47750
|
+
</a:solidFill>
|
|
47751
|
+
<a:prstDash val="solid"/>
|
|
47752
|
+
<a:miter lim="800000"/>
|
|
47753
|
+
</a:ln>
|
|
47754
|
+
</a:lnStyleLst>
|
|
47755
|
+
<a:effectStyleLst>
|
|
47756
|
+
<a:effectStyle>
|
|
47757
|
+
<a:effectLst/>
|
|
47758
|
+
</a:effectStyle>
|
|
47759
|
+
<a:effectStyle>
|
|
47760
|
+
<a:effectLst/>
|
|
47761
|
+
</a:effectStyle>
|
|
47762
|
+
<a:effectStyle>
|
|
47763
|
+
<a:effectLst>
|
|
47764
|
+
<a:outerShdw blurRad="57150" dist="19050" dir="5400000" algn="ctr" rotWithShape="0">
|
|
47765
|
+
<a:srgbClr val="000000">
|
|
47766
|
+
<a:alpha val="63000"/>
|
|
47767
|
+
</a:srgbClr>
|
|
47768
|
+
</a:outerShdw>
|
|
47769
|
+
</a:effectLst>
|
|
47770
|
+
</a:effectStyle>
|
|
47771
|
+
</a:effectStyleLst>
|
|
47772
|
+
<a:bgFillStyleLst>
|
|
47773
|
+
<a:solidFill>
|
|
47774
|
+
<a:schemeClr val="phClr"/>
|
|
47775
|
+
</a:solidFill>
|
|
47776
|
+
<a:solidFill>
|
|
47777
|
+
<a:schemeClr val="phClr">
|
|
47778
|
+
<a:tint val="95000"/>
|
|
47779
|
+
<a:satMod val="170000"/>
|
|
47780
|
+
</a:schemeClr>
|
|
47781
|
+
</a:solidFill>
|
|
47782
|
+
<a:gradFill rotWithShape="1">
|
|
47783
|
+
<a:gsLst>
|
|
47784
|
+
<a:gs pos="0">
|
|
47785
|
+
<a:schemeClr val="phClr">
|
|
47786
|
+
<a:tint val="93000"/>
|
|
47787
|
+
<a:satMod val="150000"/>
|
|
47788
|
+
<a:shade val="98000"/>
|
|
47789
|
+
<a:lumMod val="102000"/>
|
|
47790
|
+
</a:schemeClr>
|
|
47791
|
+
</a:gs>
|
|
47792
|
+
<a:gs pos="50000">
|
|
47793
|
+
<a:schemeClr val="phClr">
|
|
47794
|
+
<a:tint val="98000"/>
|
|
47795
|
+
<a:satMod val="130000"/>
|
|
47796
|
+
<a:shade val="90000"/>
|
|
47797
|
+
<a:lumMod val="103000"/>
|
|
47798
|
+
</a:schemeClr>
|
|
47799
|
+
</a:gs>
|
|
47800
|
+
<a:gs pos="100000">
|
|
47801
|
+
<a:schemeClr val="phClr">
|
|
47802
|
+
<a:shade val="63000"/>
|
|
47803
|
+
<a:satMod val="120000"/>
|
|
47804
|
+
</a:schemeClr>
|
|
47805
|
+
</a:gs>
|
|
47806
|
+
</a:gsLst>
|
|
47807
|
+
<a:lin ang="5400000" scaled="0"/>
|
|
47808
|
+
</a:gradFill>
|
|
47809
|
+
</a:bgFillStyleLst>
|
|
47810
|
+
</a:fmtScheme>
|
|
47811
|
+
</a:themeElements>
|
|
47812
|
+
</a:theme>
|
|
47688
47813
|
`;
|
|
47689
47814
|
|
|
47690
|
-
const settingsXML = `
|
|
47691
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47692
|
-
|
|
47693
|
-
<w:settings xmlns:w="${namespaces.w}" xmlns:o="${namespaces.o}" xmlns:r="${namespaces.r}" xmlns:v="${namespaces.v}" xmlns:w10="${namespaces.w10}" xmlns:sl="${namespaces.sl}">
|
|
47694
|
-
<w:zoom w:percent="100"/>
|
|
47695
|
-
<w:defaultTabStop w:val="720"/>
|
|
47696
|
-
<w:decimalSymbol w:val="."/>
|
|
47697
|
-
<w:listSeparator w:val=","/>
|
|
47698
|
-
</w:settings>
|
|
47815
|
+
const settingsXML = `
|
|
47816
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47817
|
+
|
|
47818
|
+
<w:settings xmlns:w="${namespaces.w}" xmlns:o="${namespaces.o}" xmlns:r="${namespaces.r}" xmlns:v="${namespaces.v}" xmlns:w10="${namespaces.w10}" xmlns:sl="${namespaces.sl}">
|
|
47819
|
+
<w:zoom w:percent="100"/>
|
|
47820
|
+
<w:defaultTabStop w:val="720"/>
|
|
47821
|
+
<w:decimalSymbol w:val="."/>
|
|
47822
|
+
<w:listSeparator w:val=","/>
|
|
47823
|
+
</w:settings>
|
|
47699
47824
|
`;
|
|
47700
47825
|
|
|
47701
|
-
const webSettingsXML = `
|
|
47702
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47703
|
-
|
|
47704
|
-
<w:webSettings xmlns:w="${namespaces.w}" xmlns:r="${namespaces.r}">
|
|
47705
|
-
</w:webSettings>
|
|
47826
|
+
const webSettingsXML = `
|
|
47827
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47828
|
+
|
|
47829
|
+
<w:webSettings xmlns:w="${namespaces.w}" xmlns:r="${namespaces.r}">
|
|
47830
|
+
</w:webSettings>
|
|
47706
47831
|
`;
|
|
47707
47832
|
|
|
47708
|
-
const genericRelsXML = `
|
|
47709
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47710
|
-
|
|
47711
|
-
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
47712
|
-
|
|
47833
|
+
const genericRelsXML = `
|
|
47834
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47835
|
+
|
|
47836
|
+
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
|
47837
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunk.mht" Id="htmlChunk" />
|
|
47838
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkheader.mht" Id="htmlChunkHeader" />
|
|
47839
|
+
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/aFChunk" Target="/word/afchunkfooter.mht" Id="htmlChunkFooter" />
|
|
47840
|
+
</Relationships>
|
|
47713
47841
|
`;
|
|
47714
47842
|
|
|
47715
|
-
const generateDocumentTemplate = (width, height, orientation, margins) => `
|
|
47716
|
-
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47717
|
-
<w:document
|
|
47718
|
-
xmlns:a="${namespaces.a}"
|
|
47719
|
-
xmlns:cdr="${namespaces.cdr}"
|
|
47720
|
-
xmlns:o="${namespaces.o}"
|
|
47721
|
-
xmlns:pic="${namespaces.pic}"
|
|
47722
|
-
xmlns:r="${namespaces.r}"
|
|
47723
|
-
xmlns:v="${namespaces.v}"
|
|
47724
|
-
xmlns:ve="${namespaces.ve}"
|
|
47725
|
-
xmlns:vt="${namespaces.vt}"
|
|
47726
|
-
xmlns:w="${namespaces.w}"
|
|
47727
|
-
xmlns:w10="${namespaces.w10}"
|
|
47728
|
-
xmlns:wp="${namespaces.wp}"
|
|
47729
|
-
xmlns:wne="${namespaces.wne}"
|
|
47730
|
-
>
|
|
47731
|
-
<w:body>
|
|
47732
|
-
|
|
47733
|
-
<w:altChunk r:id="htmlChunk" />
|
|
47734
|
-
<w:sectPr>
|
|
47735
|
-
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orientation}" />
|
|
47736
|
-
<w:pgMar w:top="${margins.top}"
|
|
47737
|
-
w:right="${margins.right}"
|
|
47738
|
-
w:bottom="${margins.bottom}"
|
|
47739
|
-
w:left="${margins.left}"
|
|
47740
|
-
w:header="${margins.header}"
|
|
47741
|
-
w:footer="${margins.footer}"
|
|
47742
|
-
w:gutter="${margins.gutter}"/>
|
|
47743
|
-
</w:sectPr>
|
|
47744
|
-
</w:body>
|
|
47745
|
-
</w:document>
|
|
47843
|
+
const generateDocumentTemplate = (width, height, orientation, margins) => `
|
|
47844
|
+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
47845
|
+
<w:document
|
|
47846
|
+
xmlns:a="${namespaces.a}"
|
|
47847
|
+
xmlns:cdr="${namespaces.cdr}"
|
|
47848
|
+
xmlns:o="${namespaces.o}"
|
|
47849
|
+
xmlns:pic="${namespaces.pic}"
|
|
47850
|
+
xmlns:r="${namespaces.r}"
|
|
47851
|
+
xmlns:v="${namespaces.v}"
|
|
47852
|
+
xmlns:ve="${namespaces.ve}"
|
|
47853
|
+
xmlns:vt="${namespaces.vt}"
|
|
47854
|
+
xmlns:w="${namespaces.w}"
|
|
47855
|
+
xmlns:w10="${namespaces.w10}"
|
|
47856
|
+
xmlns:wp="${namespaces.wp}"
|
|
47857
|
+
xmlns:wne="${namespaces.wne}"
|
|
47858
|
+
>
|
|
47859
|
+
<w:body>
|
|
47860
|
+
|
|
47861
|
+
<w:altChunk r:id="htmlChunk" />
|
|
47862
|
+
<w:sectPr>
|
|
47863
|
+
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orientation}" />
|
|
47864
|
+
<w:pgMar w:top="${margins.top}"
|
|
47865
|
+
w:right="${margins.right}"
|
|
47866
|
+
w:bottom="${margins.bottom}"
|
|
47867
|
+
w:left="${margins.left}"
|
|
47868
|
+
w:header="${margins.header}"
|
|
47869
|
+
w:footer="${margins.footer}"
|
|
47870
|
+
w:gutter="${margins.gutter}"/>
|
|
47871
|
+
</w:sectPr>
|
|
47872
|
+
</w:body>
|
|
47873
|
+
</w:document>
|
|
47746
47874
|
`;
|
|
47747
|
-
const generateDocumentTemplateHeader = `
|
|
47748
|
-
|
|
47749
|
-
|
|
47750
|
-
|
|
47875
|
+
const generateDocumentTemplateHeader = `
|
|
47876
|
+
<w:hdr
|
|
47877
|
+
xmlns:a="${namespaces.a}"
|
|
47878
|
+
xmlns:cdr="${namespaces.cdr}"
|
|
47879
|
+
xmlns:o="${namespaces.o}"
|
|
47880
|
+
xmlns:pic="${namespaces.pic}"
|
|
47881
|
+
xmlns:r="${namespaces.r}"
|
|
47882
|
+
xmlns:v="${namespaces.v}"
|
|
47883
|
+
xmlns:ve="${namespaces.ve}"
|
|
47884
|
+
xmlns:vt="${namespaces.vt}"
|
|
47885
|
+
xmlns:w="${namespaces.w}"
|
|
47886
|
+
xmlns:w10="${namespaces.w10}"
|
|
47887
|
+
xmlns:wp="${namespaces.wp}"
|
|
47888
|
+
xmlns:wne="${namespaces.wne}"
|
|
47889
|
+
>
|
|
47890
|
+
<w:altChunk r:id="htmlChunkHeader" />
|
|
47891
|
+
</w:hdr>
|
|
47751
47892
|
`;
|
|
47752
|
-
const generateDocumentTemplateFooter = `
|
|
47753
|
-
<w:ftr
|
|
47754
|
-
|
|
47755
|
-
|
|
47756
|
-
|
|
47893
|
+
const generateDocumentTemplateFooter = `
|
|
47894
|
+
<w:ftr
|
|
47895
|
+
xmlns:a="${namespaces.a}"
|
|
47896
|
+
xmlns:cdr="${namespaces.cdr}"
|
|
47897
|
+
xmlns:o="${namespaces.o}"
|
|
47898
|
+
xmlns:pic="${namespaces.pic}"
|
|
47899
|
+
xmlns:r="${namespaces.r}"
|
|
47900
|
+
xmlns:v="${namespaces.v}"
|
|
47901
|
+
xmlns:ve="${namespaces.ve}"
|
|
47902
|
+
xmlns:vt="${namespaces.vt}"
|
|
47903
|
+
xmlns:w="${namespaces.w}"
|
|
47904
|
+
xmlns:w10="${namespaces.w10}"
|
|
47905
|
+
xmlns:wp="${namespaces.wp}"
|
|
47906
|
+
>
|
|
47907
|
+
<w:altChunk r:id="htmlChunkFooter" />
|
|
47908
|
+
<w:p w:rsidR="0014021C" w:rsidRDefault="0014021C" w:rsidP="0014021C">
|
|
47909
|
+
<w:pPr>
|
|
47910
|
+
<w:pStyle w:val="Footer"/>
|
|
47911
|
+
<w:jc w:val="center"/>
|
|
47912
|
+
</w:pPr>
|
|
47913
|
+
<w:fldSimple xmlns:ns2="http://schemas.openxmlformats.org/wordprocessingml/2006/main" ns2:instr="PAGE">
|
|
47914
|
+
<w:r/>
|
|
47915
|
+
</w:fldSimple>
|
|
47916
|
+
</w:p>
|
|
47917
|
+
</w:ftr>
|
|
47918
|
+
`;
|
|
47919
|
+
const generateDocumentTemplateFooterWithoutPaging = `
|
|
47920
|
+
<w:ftr
|
|
47921
|
+
xmlns:a="${namespaces.a}"
|
|
47922
|
+
xmlns:cdr="${namespaces.cdr}"
|
|
47923
|
+
xmlns:o="${namespaces.o}"
|
|
47924
|
+
xmlns:pic="${namespaces.pic}"
|
|
47925
|
+
xmlns:r="${namespaces.r}"
|
|
47926
|
+
xmlns:v="${namespaces.v}"
|
|
47927
|
+
xmlns:ve="${namespaces.ve}"
|
|
47928
|
+
xmlns:vt="${namespaces.vt}"
|
|
47929
|
+
xmlns:w="${namespaces.w}"
|
|
47930
|
+
xmlns:w10="${namespaces.w10}"
|
|
47931
|
+
xmlns:wp="${namespaces.wp}"
|
|
47932
|
+
>
|
|
47933
|
+
<w:altChunk r:id="htmlChunkFooter" />
|
|
47934
|
+
</w:ftr>
|
|
47935
|
+
`;
|
|
47936
|
+
{ /* <w:altChunk r:id="htmlChunkFooter" /> */ }
|
|
47937
|
+
{
|
|
47938
|
+
/* <w:altChunk r:id="htmlChunkFooter" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" /> */
|
|
47939
|
+
}
|
|
47940
|
+
{
|
|
47941
|
+
/* <w:ftr xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main">
|
|
47942
|
+
<fldSimple xmlns:ns2="http://schemas.openxmlformats.org/wordprocessingml/2006/main" ns2:instr="PAGE">
|
|
47943
|
+
</fldSimple>
|
|
47944
|
+
<w:altChunk r:id="htmlChunkFooter" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" />
|
|
47945
|
+
</w:ftr> */
|
|
47946
|
+
}
|
|
47757
47947
|
|
|
47758
47948
|
/* eslint-disable no-param-reassign */
|
|
47759
47949
|
const rgbRegex = /rgb\((\d+),\s*([\d.]+),\s*([\d.]+)\)/i;
|
|
@@ -50110,6 +50300,7 @@ class DocxDocument {
|
|
|
50110
50300
|
return { id: this.lastMediaId, fileContent: base64FileContent, fileNameWithExtension };
|
|
50111
50301
|
}
|
|
50112
50302
|
createDocumentRelationships(fileName = 'document', type, target, targetMode = 'External') {
|
|
50303
|
+
debugger;
|
|
50113
50304
|
let relationshipObject = this.relationships.find((relationship) => relationship.fileName === fileName);
|
|
50114
50305
|
let lastRelsId = 1;
|
|
50115
50306
|
if (relationshipObject) {
|
|
@@ -50144,6 +50335,8 @@ class DocxDocument {
|
|
|
50144
50335
|
target,
|
|
50145
50336
|
targetMode,
|
|
50146
50337
|
});
|
|
50338
|
+
console.log(fileName);
|
|
50339
|
+
console.log(relationshipObject.rels);
|
|
50147
50340
|
return lastRelsId;
|
|
50148
50341
|
}
|
|
50149
50342
|
generateHeaderXML(vTree) {
|
|
@@ -50164,88 +50357,91 @@ const defaultMargins = {
|
|
|
50164
50357
|
gutter: 0,
|
|
50165
50358
|
};
|
|
50166
50359
|
const documentTemplate = (width, height, orient, margins) => {
|
|
50167
|
-
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
50168
|
-
<w:document
|
|
50169
|
-
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
50170
|
-
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
|
50171
|
-
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
50172
|
-
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
|
50173
|
-
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
|
50174
|
-
xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"
|
|
50175
|
-
xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"
|
|
50176
|
-
xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
|
|
50177
|
-
xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
|
|
50178
|
-
xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
|
|
50179
|
-
xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
|
|
50180
|
-
xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"
|
|
50181
|
-
xmlns:ns13="urn:schemas-microsoft-com:office:excel"
|
|
50182
|
-
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|
50183
|
-
xmlns:v="urn:schemas-microsoft-com:vml"
|
|
50184
|
-
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
|
50185
|
-
xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"
|
|
50186
|
-
xmlns:odx="http://opendope.org/xpaths"
|
|
50187
|
-
xmlns:odc="http://opendope.org/conditions"
|
|
50188
|
-
xmlns:odq="http://opendope.org/questions"
|
|
50189
|
-
xmlns:odi="http://opendope.org/components"
|
|
50190
|
-
xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"
|
|
50191
|
-
xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"
|
|
50192
|
-
xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"
|
|
50193
|
-
xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">
|
|
50194
|
-
<w:body>
|
|
50195
|
-
<w:altChunk r:id="htmlChunk" />
|
|
50196
|
-
<w:sectPr>
|
|
50197
|
-
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orient}" />
|
|
50198
|
-
<w:pgMar w:top="${margins.top}"
|
|
50199
|
-
w:right="${margins.right}"
|
|
50200
|
-
w:bottom="${margins.bottom}"
|
|
50201
|
-
w:left="${margins.left}"
|
|
50202
|
-
w:header="${margins.header}"
|
|
50203
|
-
w:footer="${margins.footer}"
|
|
50204
|
-
w:gutter="${margins.gutter}"/>
|
|
50205
|
-
</w:sectPr>
|
|
50206
|
-
</w:body>
|
|
50207
|
-
</w:document>
|
|
50360
|
+
return `<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
50361
|
+
<w:document
|
|
50362
|
+
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
|
|
50363
|
+
xmlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math"
|
|
50364
|
+
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
|
50365
|
+
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
|
|
50366
|
+
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
|
50367
|
+
xmlns:ns6="http://schemas.openxmlformats.org/schemaLibrary/2006/main"
|
|
50368
|
+
xmlns:c="http://schemas.openxmlformats.org/drawingml/2006/chart"
|
|
50369
|
+
xmlns:ns8="http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"
|
|
50370
|
+
xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
|
|
50371
|
+
xmlns:pic="http://schemas.openxmlformats.org/drawingml/2006/picture"
|
|
50372
|
+
xmlns:ns11="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"
|
|
50373
|
+
xmlns:dsp="http://schemas.microsoft.com/office/drawing/2008/diagram"
|
|
50374
|
+
xmlns:ns13="urn:schemas-microsoft-com:office:excel"
|
|
50375
|
+
xmlns:o="urn:schemas-microsoft-com:office:office"
|
|
50376
|
+
xmlns:v="urn:schemas-microsoft-com:vml"
|
|
50377
|
+
xmlns:w10="urn:schemas-microsoft-com:office:word"
|
|
50378
|
+
xmlns:ns17="urn:schemas-microsoft-com:office:powerpoint"
|
|
50379
|
+
xmlns:odx="http://opendope.org/xpaths"
|
|
50380
|
+
xmlns:odc="http://opendope.org/conditions"
|
|
50381
|
+
xmlns:odq="http://opendope.org/questions"
|
|
50382
|
+
xmlns:odi="http://opendope.org/components"
|
|
50383
|
+
xmlns:odgm="http://opendope.org/SmartArt/DataHierarchy"
|
|
50384
|
+
xmlns:ns24="http://schemas.openxmlformats.org/officeDocument/2006/bibliography"
|
|
50385
|
+
xmlns:ns25="http://schemas.openxmlformats.org/drawingml/2006/compatibility"
|
|
50386
|
+
xmlns:ns26="http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas">
|
|
50387
|
+
<w:body>
|
|
50388
|
+
<w:altChunk r:id="htmlChunk" />
|
|
50389
|
+
<w:sectPr>
|
|
50390
|
+
<w:pgSz w:w="${width}" w:h="${height}" w:orient="${orient}" />
|
|
50391
|
+
<w:pgMar w:top="${margins.top}"
|
|
50392
|
+
w:right="${margins.right}"
|
|
50393
|
+
w:bottom="${margins.bottom}"
|
|
50394
|
+
w:left="${margins.left}"
|
|
50395
|
+
w:header="${margins.header}"
|
|
50396
|
+
w:footer="${margins.footer}"
|
|
50397
|
+
w:gutter="${margins.gutter}"/>
|
|
50398
|
+
</w:sectPr>
|
|
50399
|
+
</w:body>
|
|
50400
|
+
</w:document>
|
|
50208
50401
|
`;
|
|
50209
50402
|
};
|
|
50210
50403
|
|
|
50211
50404
|
const mhtDocumentTemplate = (htmlSource, contentParts) => {
|
|
50212
|
-
|
|
50213
|
-
|
|
50214
|
-
|
|
50215
|
-
|
|
50216
|
-
|
|
50217
|
-
|
|
50218
|
-
|
|
50219
|
-
|
|
50220
|
-
|
|
50221
|
-
|
|
50222
|
-
Content-
|
|
50223
|
-
|
|
50224
|
-
|
|
50225
|
-
|
|
50226
|
-
|
|
50227
|
-
|
|
50228
|
-
|
|
50405
|
+
debugger;
|
|
50406
|
+
return `MIME-Version: 1.0
|
|
50407
|
+
Content-Type: multipart/related;
|
|
50408
|
+
type="text/html";
|
|
50409
|
+
boundary="----=mhtDocumentPart"
|
|
50410
|
+
|
|
50411
|
+
|
|
50412
|
+
------=mhtDocumentPart
|
|
50413
|
+
Content-Type: text/html;
|
|
50414
|
+
charset="utf-8"
|
|
50415
|
+
Content-Transfer-Encoding: quoted-printable
|
|
50416
|
+
Content-Location: file:///C:/fake/document.html
|
|
50417
|
+
|
|
50418
|
+
${htmlSource}
|
|
50419
|
+
|
|
50420
|
+
${contentParts}
|
|
50421
|
+
|
|
50422
|
+
------=mhtDocumentPart--
|
|
50229
50423
|
`;
|
|
50230
50424
|
};
|
|
50231
50425
|
|
|
50232
50426
|
const mhtPartTemplate = (contentType, contentEncoding, contentLocation, encodedContent) => {
|
|
50233
|
-
return `------=mhtDocumentPart
|
|
50234
|
-
Content-Type: ${contentType}
|
|
50235
|
-
Content-Transfer-Encoding: ${contentEncoding}
|
|
50236
|
-
Content-Location: ${contentLocation}
|
|
50237
|
-
|
|
50238
|
-
${encodedContent}
|
|
50427
|
+
return `------=mhtDocumentPart
|
|
50428
|
+
Content-Type: ${contentType}
|
|
50429
|
+
Content-Transfer-Encoding: ${contentEncoding}
|
|
50430
|
+
Content-Location: ${contentLocation}
|
|
50431
|
+
|
|
50432
|
+
${encodedContent}
|
|
50239
50433
|
`;
|
|
50240
50434
|
};
|
|
50241
50435
|
|
|
50242
50436
|
function getMHTdocument(htmlSource) {
|
|
50437
|
+
debugger;
|
|
50243
50438
|
const ref = _prepareImageParts(htmlSource);
|
|
50244
50439
|
const imageContentPartsString = ref.imageContentParts.join('\n');
|
|
50245
50440
|
htmlSource = ref.htmlSource.replace(/\=/g, '=3D');
|
|
50246
50441
|
return mhtDocumentTemplate(htmlSource, imageContentPartsString);
|
|
50247
50442
|
}
|
|
50248
50443
|
function _prepareImageParts(htmlSource) {
|
|
50444
|
+
debugger;
|
|
50249
50445
|
const imageContentParts = [];
|
|
50250
50446
|
const inlinedSrcPattern = /"data:(\w+\/\w+);(\w+),(\S+)"/g;
|
|
50251
50447
|
const inlinedReplacer = (match, contentType, contentEncoding, encodedContent) => {
|
|
@@ -50374,9 +50570,15 @@ function addFilesToContainer(zip, htmlString, suppliedDocumentOptions, headerHTM
|
|
|
50374
50570
|
docxDocument.relationshipFilename = documentFileName;
|
|
50375
50571
|
const fileNameWithExt = `${footerType}${footerId}.xml`;
|
|
50376
50572
|
const relationshipId = docxDocument.createDocumentRelationships(docxDocument.relationshipFilename, footerType, fileNameWithExt, internalRelationship);
|
|
50377
|
-
|
|
50378
|
-
|
|
50379
|
-
|
|
50573
|
+
console.log(footerXML.toString({ prettyPrint: true }));
|
|
50574
|
+
if (suppliedDocumentOptions.pageNumber)
|
|
50575
|
+
zip.folder(wordFolder).file(fileNameWithExt, generateDocumentTemplateFooter.toString({ prettyPrint: true }), {
|
|
50576
|
+
createFolders: false,
|
|
50577
|
+
});
|
|
50578
|
+
else
|
|
50579
|
+
zip.folder(wordFolder).file(fileNameWithExt, generateDocumentTemplateFooterWithoutPaging.toString({ prettyPrint: true }), {
|
|
50580
|
+
createFolders: false,
|
|
50581
|
+
});
|
|
50380
50582
|
docxDocument.footerObjects.push({ footerId, relationshipId, type: docxDocument.footerType });
|
|
50381
50583
|
}
|
|
50382
50584
|
const themeFileNameWithExt = `${themeFileName}.xml`;
|
|
@@ -50407,6 +50609,7 @@ function addFilesToContainer(zip, htmlString, suppliedDocumentOptions, headerHTM
|
|
|
50407
50609
|
const relationshipXMLs = docxDocument.generateRelsXML();
|
|
50408
50610
|
if (relationshipXMLs && Array.isArray(relationshipXMLs)) {
|
|
50409
50611
|
relationshipXMLs.forEach(({ fileName, xmlString }) => {
|
|
50612
|
+
console.log(xmlString);
|
|
50410
50613
|
zip.folder(wordFolder).folder(relsFolderName).file(`${fileName}.xml.rels`, xmlString, {
|
|
50411
50614
|
createFolders: false,
|
|
50412
50615
|
});
|
|
@@ -50642,7 +50845,7 @@ class DocumentTemplateInfoComponent extends AppBaseComponent {
|
|
|
50642
50845
|
let documentOptions = {};
|
|
50643
50846
|
if (result.isLandscape)
|
|
50644
50847
|
documentOptions.orientation = 'landscape';
|
|
50645
|
-
documentOptions.pageNumber =
|
|
50848
|
+
// documentOptions.pageNumber =result.showPaging;
|
|
50646
50849
|
documentOptions.pageSize = {
|
|
50647
50850
|
width: result.pageWidth * 15,
|
|
50648
50851
|
height: result.pageHeight * 15
|
|
@@ -50660,10 +50863,10 @@ class DocumentTemplateInfoComponent extends AppBaseComponent {
|
|
|
50660
50863
|
documentOptions.header = true;
|
|
50661
50864
|
documentOptions.pageNumber = true;
|
|
50662
50865
|
documentOptions.table = { row: { cantSplit: true } };
|
|
50663
|
-
var fileBuffer =
|
|
50664
|
-
this.downloadWord(fileBuffer, fileName);
|
|
50866
|
+
// var fileBuffer =await GenerateDOCX(result.body, result.header, documentOptions, result.footer)
|
|
50867
|
+
// this.downloadWord(fileBuffer as any, fileName);
|
|
50665
50868
|
var fileBufferLib = yield this.templateService.generateWordByteFile(result.body, result.header, documentOptions, result.footer);
|
|
50666
|
-
this.downloadWord(
|
|
50869
|
+
this.downloadWord(fileBufferLib, "Lib" + fileName);
|
|
50667
50870
|
return;
|
|
50668
50871
|
}
|
|
50669
50872
|
let fileName = this.TemplateInfo.localizedTemplateName + '_' + latest_date + '.pdf';
|
|
@@ -50893,7 +51096,7 @@ class DocumentTemplateInfoComponent extends AppBaseComponent {
|
|
|
50893
51096
|
}
|
|
50894
51097
|
}
|
|
50895
51098
|
DocumentTemplateInfoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentTemplateInfoComponent, deps: [{ token: i0.Injector }, { token: i1.UtilityService }, { token: i1.BBSFTranslateService }, { token: i3.ClipboardService }, { token: DocumentTemplateService }, { token: i1$1.ActivatedRoute }, { token: PageInfoService }, { token: i5.NgbModal }, { token: i10.DatePipe }, { token: i1.RequestHandlerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
50896
|
-
DocumentTemplateInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DocumentTemplateInfoComponent, selector: "lib-document-template-info", usesInheritance: true, ngImport: i0, template: "<block-ui></block-ui>\r\n\r\n<div class=\"container-fluid\" *ngIf=\"isDataLoaded\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-header border-0 pt-5\">\r\n <div class=\"card-title align-items-start flex-column\">\r\n\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showEditTemplateModal(EditTemplateModal)\">\r\n <i class=\"fa fa fa-edit\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Edit\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Export\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal,2)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"ExportWord\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-bars\"></i>{{utilityService.getResourceValue(\"GenerateCode\")}}\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateUpdateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-key\"></i>{{utilityService.getResourceValue(\"GenerateUpdateCode\")}}\r\n </button>\r\n\r\n </div>\r\n </div>\r\n <div class=\"card-body py-3\">\r\n <div class=\"row\">\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center \">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n English:\r\n {{TemplateInfo.templateNameEN}}\r\n </a>\r\n\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3\">\r\n <div innerHTML=\"{{TemplateInfo.headerEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerEN}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center\">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n Arabic:\r\n {{TemplateInfo.templateNameAR}}\r\n </a>\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3 ar\">\r\n <div innerHTML=\"{{TemplateInfo.headerAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerAR}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n<!-- edit Modal -->\r\n<ng-template #EditTemplateModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Edit\")}}\r\n {{utilityService.getResourceValue(\"Template\")}}</h1>\r\n </div>\r\n\r\n <BBSF-Form [options]=\"EditTemplateFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"EditName\"\r\n [group]=\"EditTemplateForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextArea [options]=\"EditDescription\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-MultiLingualTextArea>\r\n </div>\r\n </div>\r\n <div class=\"row\" *ngIf=\"!ProductionMode\">\r\n <div class=\"col-md-12\">\r\n <BBSF-TextBox [options]=\"EditSysName\" [group]=\"EditTemplateForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditOrganization\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditCategory\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditMasterLayout\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseEditTemplateModal id=\"CloseEditTemplateModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"SaveLabel\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n\r\n<!-- Export Document Modal -->\r\n<ng-template #ExportDocumentModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Export\")}}</h1>\r\n </div>\r\n <BBSF-Form [options]=\"TestExportDocumentFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-repeater-table [options]=\"addKeyValueRepeaterOptions\" [group]=\"TestExportDocumentForm\">\r\n </BBSF-repeater-table>\r\n </div>\r\n </div>\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseSendEmailForm id=\"CloseSendEmailForm\" type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"Export\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n<!-- GenerateCode Modal -->\r\n<ng-template #GenerateCodeModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"GenerateCode\")}}</h1>\r\n </div>\r\n <form [formGroup]=\"GenerateCodeForm\">\r\n\r\n <div class=\"Row\">\r\n <BBSF-TextArea [options]=\"GenerateCodeTextArea\"\r\n [group]=\"GenerateCodeForm\" #GenerateCodeInput>\r\n </BBSF-TextArea>\r\n </div>\r\n <div class=\"text-center pt-7\">\r\n <button #CloseGenerateCodeModal id=\"CloseGenerateCodeModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"copyInputMessage()\">\r\n {{utilityService.getResourceValue(\"CopyToClipboard\")}}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n</ng-template>\r\n", components: [{ type: i5$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6.RepeaterTableComponent, selector: "BBSF-repeater-table", inputs: ["group", "options"] }, { type: i6.TextAreaComponent, selector: "BBSF-TextArea", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i11$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i11$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i11$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
51099
|
+
DocumentTemplateInfoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.13", type: DocumentTemplateInfoComponent, selector: "lib-document-template-info", usesInheritance: true, ngImport: i0, template: "<block-ui></block-ui>\r\n\r\n<div class=\"container-fluid\" *ngIf=\"isDataLoaded\">\r\n <div class=\"card card-custom-h\">\r\n <div class=\"card-header border-0 pt-5\">\r\n <div class=\"card-title align-items-start flex-column\">\r\n\r\n </div>\r\n <div class=\"card-toolbar\">\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showEditTemplateModal(EditTemplateModal)\">\r\n <i class=\"fa fa fa-edit\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Edit\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Export\")}}</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-light-primary\"\r\n (click)=\"showTestExportDocumentModal(ExportDocumentModal,2)\">\r\n <i class=\"fa fa fa-download\" aria-hidden=\"true\"></i>\r\n <span>{{utilityService.getResourceValue(\"Export\")}} Word</span>\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-bars\"></i>{{utilityService.getResourceValue(\"GenerateCode\")}}\r\n </button>\r\n <button type=\"button\" id=\"btnSetPass\" class=\"btn btn-sm me-3\r\n btn-primary\" *ngIf=\"!ProductionMode\"\r\n (click)=\"showGenerateUpdateCodeByIdModal(GenerateCodeModal)\">\r\n <i class=\"fa fa-key\"></i>{{utilityService.getResourceValue(\"GenerateUpdateCode\")}}\r\n </button>\r\n\r\n </div>\r\n </div>\r\n <div class=\"card-body py-3\">\r\n <div class=\"row\">\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center \">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n English:\r\n {{TemplateInfo.templateNameEN}}\r\n </a>\r\n\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'en']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3\">\r\n <div innerHTML=\"{{TemplateInfo.headerEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyEN}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerEN}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n <div class=\"col-xl-6 mb-10\">\r\n <div class=\"d-flex h-100 align-items-center\">\r\n <!--begin::Option-->\r\n <div class=\"w-100 d-flex flex-column flex-center rounded-3 bg-light\r\n py-10 px-10 h-100\">\r\n <!--begin::Heading-->\r\n <div class=\"mb-7 d-flex justify-content-between w-100\">\r\n <!--begin::Title-->\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"text-primary mb-5\r\n fw-boldest fs-2\">\r\n Arabic:\r\n {{TemplateInfo.templateNameAR}}\r\n </a>\r\n <a\r\n [routerLink]=\"['/Admin/Documents/EditTemplate',TemplateId,'ar']\"\r\n routerLinkActive=\"router-link-active\" class=\"btn btn-sm\r\n btn-light-primary btn-icon\">\r\n <i class=\"fa fa-pen\"></i>\r\n </a>\r\n </div>\r\n <div class=\"w-100 mb-10\">\r\n <!--begin::Item-->\r\n <div class=\"d-flex align-items-center mb-5\">\r\n <div class=\"fw-bold fs-6 text-gray-800 flex-grow-1 pe-3 ar\">\r\n <div innerHTML=\"{{TemplateInfo.headerAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.bodyAR}}\">\r\n </div>\r\n <div innerHTML=\"{{TemplateInfo.footerAR}}\">\r\n </div>\r\n\r\n </div>\r\n </div>\r\n </div>\r\n\r\n\r\n <!--end::Select-->\r\n </div>\r\n <!--end::Option-->\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n\r\n\r\n<!-- edit Modal -->\r\n<ng-template #EditTemplateModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Edit\")}}\r\n {{utilityService.getResourceValue(\"Template\")}}</h1>\r\n </div>\r\n\r\n <BBSF-Form [options]=\"EditTemplateFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextBox [options]=\"EditName\"\r\n [group]=\"EditTemplateForm\"></BBSF-MultiLingualTextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-MultiLingualTextArea [options]=\"EditDescription\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-MultiLingualTextArea>\r\n </div>\r\n </div>\r\n <div class=\"row\" *ngIf=\"!ProductionMode\">\r\n <div class=\"col-md-12\">\r\n <BBSF-TextBox [options]=\"EditSysName\" [group]=\"EditTemplateForm\">\r\n </BBSF-TextBox>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditOrganization\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditCategory\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-DropdownList [options]=\"EditMasterLayout\"\r\n [group]=\"EditTemplateForm\">\r\n </BBSF-DropdownList>\r\n </div>\r\n </div>\r\n\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseEditTemplateModal id=\"CloseEditTemplateModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"SaveLabel\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n\r\n<!-- Export Document Modal -->\r\n<ng-template #ExportDocumentModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"Export\")}}</h1>\r\n </div>\r\n <BBSF-Form [options]=\"TestExportDocumentFormOptions\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <BBSF-repeater-table [options]=\"addKeyValueRepeaterOptions\" [group]=\"TestExportDocumentForm\">\r\n </BBSF-repeater-table>\r\n </div>\r\n </div>\r\n\r\n <div class=\"text-center pt-7\">\r\n <button #CloseSendEmailForm id=\"CloseSendEmailForm\" type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"submit\" class=\"btn btn-primary btn-sm\">{{utilityService.getResourceValue(\"Export\")}}</button>\r\n </div>\r\n </BBSF-Form>\r\n </div>\r\n</ng-template>\r\n\r\n\r\n<!-- GenerateCode Modal -->\r\n<ng-template #GenerateCodeModal let-modal>\r\n <div class=\"modal-header pb-0 border-0 justify-content-end\">\r\n <h5 class=\"modal-title\" id=\"exampleModalLabel\"></h5>\r\n <button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"btn\r\n btn-sm btn-icon btn-active-color-primary\" (click)=\"modal.dismiss()\">\r\n <span class=\"svg-icon svg-icon-1\">\r\n <span [inlineSVG]=\"'./src/assets/images/arr061.svg'\"></span>\r\n </span>\r\n </button>\r\n </div>\r\n <div class=\"modal-body scroll-y px-10 px-lg-15 pt-0 pb-15\">\r\n <div class=\"mb-13 text-center\">\r\n <h1 class=\"mb-3\">{{utilityService.getResourceValue(\"GenerateCode\")}}</h1>\r\n </div>\r\n <form [formGroup]=\"GenerateCodeForm\">\r\n\r\n <div class=\"Row\">\r\n <BBSF-TextArea [options]=\"GenerateCodeTextArea\"\r\n [group]=\"GenerateCodeForm\" #GenerateCodeInput>\r\n </BBSF-TextArea>\r\n </div>\r\n <div class=\"text-center pt-7\">\r\n <button #CloseGenerateCodeModal id=\"CloseGenerateCodeModal\"\r\n type=\"button\" class=\"btn btn-light me-3 btn-sm\"\r\n (click)=\"modal.dismiss()\">\r\n {{utilityService.getResourceValue(\"CancelLabel\")}}\r\n </button>\r\n <button type=\"button\" class=\"btn btn-primary btn-sm\"\r\n (click)=\"copyInputMessage()\">\r\n {{utilityService.getResourceValue(\"CopyToClipboard\")}}\r\n </button>\r\n </div>\r\n </form>\r\n </div>\r\n</ng-template>\r\n", components: [{ type: i5$1.BlockUIComponent, selector: "block-ui", inputs: ["name", "template", "message", "delayStart", "delayStop"] }, { type: i6.FormComponent, selector: "BBSF-Form", inputs: ["options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextBoxComponent, selector: "BBSF-MultiLingualTextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.MultiLingualTextAreaComponent, selector: "BBSF-MultiLingualTextArea", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.TextboxComponent, selector: "BBSF-TextBox", inputs: ["group", "options"], outputs: ["OnChange"] }, { type: i6.DropdownListComponent, selector: "BBSF-DropdownList", inputs: ["group", "options"], outputs: ["OnChange", "onClear"] }, { type: i6.RepeaterTableComponent, selector: "BBSF-repeater-table", inputs: ["group", "options"] }, { type: i6.TextAreaComponent, selector: "BBSF-TextArea", inputs: ["group", "options"], outputs: ["OnChange"] }], directives: [{ type: i10.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$1.RouterLinkWithHref, selector: "a[routerLink],area[routerLink]", inputs: ["routerLink", "target", "queryParams", "fragment", "queryParamsHandling", "preserveFragment", "skipLocationChange", "replaceUrl", "state", "relativeTo"] }, { type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "routerLinkActive"], exportAs: ["routerLinkActive"] }, { type: i11.InlineSVGDirective, selector: "[inlineSVG]", inputs: ["resolveSVGUrl", "replaceContents", "prepend", "injectComponent", "cacheSVG", "forceEvalStyles", "evalScripts", "inlineSVG", "setSVGAttributes", "removeSVGAttributes", "fallbackImgUrl", "onSVGLoaded"], outputs: ["onSVGInserted", "onSVGFailed"] }, { type: i11$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i11$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i11$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
|
|
50897
51100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImport: i0, type: DocumentTemplateInfoComponent, decorators: [{
|
|
50898
51101
|
type: Component,
|
|
50899
51102
|
args: [{
|
|
@@ -51868,6 +52071,61 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.13", ngImpo
|
|
|
51868
52071
|
type: Injectable
|
|
51869
52072
|
}] });
|
|
51870
52073
|
|
|
52074
|
+
var LanguageType;
|
|
52075
|
+
(function (LanguageType) {
|
|
52076
|
+
LanguageType["English"] = "ebe77688-d7d3-481c-aace-da4a97a863bf";
|
|
52077
|
+
LanguageType["Arabic"] = "55dccd92-f411-4fae-b5b2-9e9002b1ea67";
|
|
52078
|
+
LanguageType["Any"] = "0384dbac-c3fa-4ba3-be28-e10110350459";
|
|
52079
|
+
})(LanguageType || (LanguageType = {}));
|
|
52080
|
+
var AudienceType;
|
|
52081
|
+
(function (AudienceType) {
|
|
52082
|
+
AudienceType["Internal"] = "a4daa431-62c1-404a-aeec-b505bfbd037e";
|
|
52083
|
+
AudienceType["External"] = "39a52e7c-72c3-4eb5-830b-d610933cd9ba";
|
|
52084
|
+
AudienceType["Both"] = "ff13d40b-b5ee-482c-abd3-3a72c29374eb";
|
|
52085
|
+
})(AudienceType || (AudienceType = {}));
|
|
52086
|
+
var SurveyStatusEnum;
|
|
52087
|
+
(function (SurveyStatusEnum) {
|
|
52088
|
+
SurveyStatusEnum["ScoringTypeEnum_Draft"] = "4ff92e54-c966-4e7e-a58a-47b0269196c1";
|
|
52089
|
+
SurveyStatusEnum["ScoringTypeEnum_Upcoming"] = "e8ef5c73-67f0-4345-a931-5bcbe9e31963";
|
|
52090
|
+
SurveyStatusEnum["ScoringTypeEnum_Published"] = "3c2bae84-f0df-48fb-b310-3b8326c0d77f";
|
|
52091
|
+
SurveyStatusEnum["ScoringTypeEnum_Closed"] = "9b92dedc-e51a-438b-baf0-d0c75c01a492";
|
|
52092
|
+
})(SurveyStatusEnum || (SurveyStatusEnum = {}));
|
|
52093
|
+
var SurveyMode;
|
|
52094
|
+
(function (SurveyMode) {
|
|
52095
|
+
SurveyMode[SurveyMode["Survey_Full_Access"] = 1] = "Survey_Full_Access";
|
|
52096
|
+
SurveyMode[SurveyMode["Survey_ReadOnly_Access"] = 2] = "Survey_ReadOnly_Access";
|
|
52097
|
+
})(SurveyMode || (SurveyMode = {}));
|
|
52098
|
+
var SurveyOptionType;
|
|
52099
|
+
(function (SurveyOptionType) {
|
|
52100
|
+
SurveyOptionType["SingleSelect"] = "24fedf55-2a6c-4bda-a9a0-afc91ab908be";
|
|
52101
|
+
SurveyOptionType["MultipleSelect"] = "6c60b6ba-6175-470a-81aa-a9c1e87046fd";
|
|
52102
|
+
SurveyOptionType["RadioButton"] = "1133ce2b-bf74-4899-8859-cd48a15aa71d";
|
|
52103
|
+
SurveyOptionType["File"] = "dde598ad-1cef-4b04-a96e-724cce8d7cec";
|
|
52104
|
+
SurveyOptionType["MultiFile"] = "922564f3-73a9-4028-99b4-089cc51f24c0";
|
|
52105
|
+
SurveyOptionType["Image"] = "cade8069-e18c-493d-9b26-c74371f74df9";
|
|
52106
|
+
SurveyOptionType["Text"] = "131df300-9fea-4aff-b475-dabd3977bf2a";
|
|
52107
|
+
SurveyOptionType["MultilineText"] = "42694b87-ed2b-4b3d-b510-3f03e2f30e1b";
|
|
52108
|
+
SurveyOptionType["Email"] = "cd4ec4ca-c093-4579-bb18-1fabe7d3c169";
|
|
52109
|
+
SurveyOptionType["Number"] = "0a6ea20e-2645-4450-b51b-8140f2c4a7fe";
|
|
52110
|
+
SurveyOptionType["Boolean"] = "44ab7a51-4cb3-4c5a-89f8-858528ead715";
|
|
52111
|
+
SurveyOptionType["Date"] = "a3adcf70-64df-4847-825f-7da02dfa088e";
|
|
52112
|
+
SurveyOptionType["DateTime"] = "55e9216b-1309-4be6-b855-56b0aa0e4fa7";
|
|
52113
|
+
SurveyOptionType["Country"] = "61daf8d1-be00-4d2f-8ff3-addcfbba8ca1";
|
|
52114
|
+
})(SurveyOptionType || (SurveyOptionType = {}));
|
|
52115
|
+
var SortingOptions;
|
|
52116
|
+
(function (SortingOptions) {
|
|
52117
|
+
SortingOptions["ByCreated"] = "34506abc-ac7e-485b-9ff8-3610314f75aa";
|
|
52118
|
+
SortingOptions["ByLikes"] = "f056010f-f7c7-471e-8ed2-9c564fcee0ee";
|
|
52119
|
+
SortingOptions["ByComments"] = "b67475b5-22d3-47cb-a4f6-6ac902a458da";
|
|
52120
|
+
SortingOptions["ByScore"] = "c75beb1d-250f-4a4b-898f-4b492817f9d8";
|
|
52121
|
+
})(SortingOptions || (SortingOptions = {}));
|
|
52122
|
+
var SortingType;
|
|
52123
|
+
(function (SortingType) {
|
|
52124
|
+
SortingType["Ascending"] = "8c97ea5a-a224-49e8-98ba-476e3f9a6468";
|
|
52125
|
+
SortingType["Descending"] = "33b99327-2e34-44fc-9ba2-9e85ff13022a";
|
|
52126
|
+
})(SortingType || (SortingType = {}));
|
|
52127
|
+
const EmptyGuid = "00000000-0000-0000-0000-000000000000";
|
|
52128
|
+
|
|
51871
52129
|
class UserRegistration {
|
|
51872
52130
|
constructor(name, email, password) {
|
|
51873
52131
|
this.name = name;
|
|
@@ -51882,5 +52140,5 @@ class UserRegistration {
|
|
|
51882
52140
|
* Generated bundle index. Do not edit.
|
|
51883
52141
|
*/
|
|
51884
52142
|
|
|
51885
|
-
export { AnonymousLayoutService, AnonymouslayoutModule, AuthCallbackComponent, AuthGuard, AuthModule$1 as AuthModule, AuthService, AuthenticationModule, BaseService, DataSecretService$1 as DataSecretService, DefaultLayoutConfig, DepartmentModel$1 as DepartmentModel, DocumentTemplateService, ExternalUrlComponent, GlobalErrorHandler, HomeComponent$1 as HomeComponent, HomeModule, IndexComponent, InjectedModule, LayoutInitService, LayoutService, LocalizationsComponent, LocalizationsModule, LoginComponent, MasterlayoutComponent, MasterlayoutModule, PageInfo, PageInfoService, PublicSurveyModule, SharedModule, StartModule, StylesBundleService, SubheaderComponent, SubheaderModule$1 as SubheaderModule, SurveyFormComponent, SurveyModule, UserRegistration, UsersComponent, UsersModule, anonymouslayoutComponent, createTranslateLoader, getClientSettings, getEmptyCSSVariables, getEmptyCssClasses, getEmptyHTMLAttributes, getMHTdocument$1 as getMHTdocument, injectionModuleService, localizationsService };
|
|
52143
|
+
export { AnonymousLayoutService, AnonymouslayoutModule, AudienceType, AuthCallbackComponent, AuthGuard, AuthModule$1 as AuthModule, AuthService, AuthenticationModule, BaseService, DataSecretService$1 as DataSecretService, DefaultLayoutConfig, DepartmentModel$1 as DepartmentModel, DocumentTemplateService, EmptyGuid, ExternalUrlComponent, GlobalErrorHandler, HomeComponent$1 as HomeComponent, HomeModule, IndexComponent, InjectedModule, LanguageType, LayoutInitService, LayoutService, LocalizationsComponent, LocalizationsModule, LoginComponent, MasterlayoutComponent, MasterlayoutModule, PageInfo, PageInfoService, PublicSurveyModule, SharedModule, SortingOptions, SortingType, StartModule, StylesBundleService, SubheaderComponent, SubheaderModule$1 as SubheaderModule, SurveyFormComponent, SurveyMode, SurveyModule, SurveyOptionType, SurveyStatusEnum, UserRegistration, UsersComponent, UsersModule, anonymouslayoutComponent, createTranslateLoader, getClientSettings, getEmptyCSSVariables, getEmptyCssClasses, getEmptyHTMLAttributes, getMHTdocument$1 as getMHTdocument, injectionModuleService, localizationsService };
|
|
51886
52144
|
//# sourceMappingURL=bnsights-bbsf-admin-portal.js.map
|