docx-plus 0.0.8 → 0.0.9

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/dist/index.cjs CHANGED
@@ -23625,7 +23625,7 @@ var Compiler = class {
23625
23625
  viewWrapper: file.Document
23626
23626
  }), {
23627
23627
  declaration: {
23628
- encoding: "utf8",
23628
+ encoding: "UTF-8",
23629
23629
  standalone: "yes"
23630
23630
  },
23631
23631
  indent: prettify
@@ -23640,7 +23640,7 @@ var Compiler = class {
23640
23640
  }
23641
23641
  }), {
23642
23642
  declaration: {
23643
- encoding: "utf8",
23643
+ encoding: "UTF-8",
23644
23644
  standalone: "yes"
23645
23645
  },
23646
23646
  indent: prettify
@@ -23652,7 +23652,7 @@ var Compiler = class {
23652
23652
  viewWrapper: file.FootNotes
23653
23653
  }), {
23654
23654
  declaration: {
23655
- encoding: "utf8",
23655
+ encoding: "UTF-8",
23656
23656
  standalone: "yes"
23657
23657
  },
23658
23658
  indent: prettify
@@ -23668,7 +23668,7 @@ var Compiler = class {
23668
23668
  viewWrapper: file.Document
23669
23669
  }), {
23670
23670
  declaration: {
23671
- encoding: "utf8",
23671
+ encoding: "UTF-8",
23672
23672
  standalone: "yes"
23673
23673
  },
23674
23674
  indent: prettify
@@ -23695,7 +23695,7 @@ var Compiler = class {
23695
23695
  View: file.Comments
23696
23696
  }
23697
23697
  }), {
23698
- declaration: { encoding: "utf8" },
23698
+ declaration: { encoding: "UTF-8" },
23699
23699
  indent: prettify
23700
23700
  });
23701
23701
  })(),
@@ -23707,7 +23707,7 @@ var Compiler = class {
23707
23707
  stack: [],
23708
23708
  viewWrapper: file.Document
23709
23709
  }), {
23710
- declaration: { encoding: "utf8" },
23710
+ declaration: { encoding: "UTF-8" },
23711
23711
  indent: prettify
23712
23712
  }),
23713
23713
  path: "[Content_Types].xml"
@@ -23719,7 +23719,7 @@ var Compiler = class {
23719
23719
  viewWrapper: file.Document
23720
23720
  }), {
23721
23721
  declaration: {
23722
- encoding: "utf8",
23722
+ encoding: "UTF-8",
23723
23723
  standalone: "yes"
23724
23724
  },
23725
23725
  indent: prettify
@@ -23739,7 +23739,7 @@ var Compiler = class {
23739
23739
  stack: [],
23740
23740
  viewWrapper: file.Endnotes
23741
23741
  }), {
23742
- declaration: { encoding: "utf8" },
23742
+ declaration: { encoding: "UTF-8" },
23743
23743
  indent: prettify
23744
23744
  }),
23745
23745
  path: "word/endnotes.xml"
@@ -23750,7 +23750,7 @@ var Compiler = class {
23750
23750
  stack: [],
23751
23751
  viewWrapper: file.Endnotes
23752
23752
  }), {
23753
- declaration: { encoding: "utf8" },
23753
+ declaration: { encoding: "UTF-8" },
23754
23754
  indent: prettify
23755
23755
  }),
23756
23756
  path: "word/_rels/endnotes.xml.rels"
@@ -23761,7 +23761,7 @@ var Compiler = class {
23761
23761
  stack: [],
23762
23762
  viewWrapper: file.Document
23763
23763
  }), {
23764
- declaration: { encoding: "utf8" },
23764
+ declaration: { encoding: "UTF-8" },
23765
23765
  indent: prettify
23766
23766
  }),
23767
23767
  path: "_rels/.rels"
@@ -23773,7 +23773,7 @@ var Compiler = class {
23773
23773
  viewWrapper: file.Document
23774
23774
  }), {
23775
23775
  declaration: {
23776
- encoding: "utf8",
23776
+ encoding: "UTF-8",
23777
23777
  standalone: "yes"
23778
23778
  },
23779
23779
  indent: prettify
@@ -23786,7 +23786,7 @@ var Compiler = class {
23786
23786
  stack: [],
23787
23787
  viewWrapper: file.Document
23788
23788
  }), {
23789
- declaration: { encoding: "utf8" },
23789
+ declaration: { encoding: "UTF-8" },
23790
23790
  indent: prettify
23791
23791
  }),
23792
23792
  path: "word/_rels/fontTable.xml.rels"
@@ -23808,7 +23808,7 @@ var Compiler = class {
23808
23808
  stack: [],
23809
23809
  viewWrapper: file.FootNotes
23810
23810
  }), {
23811
- declaration: { encoding: "utf8" },
23811
+ declaration: { encoding: "UTF-8" },
23812
23812
  indent: prettify
23813
23813
  });
23814
23814
  })(),
@@ -23820,7 +23820,7 @@ var Compiler = class {
23820
23820
  stack: [],
23821
23821
  viewWrapper: footerWrapper
23822
23822
  }), {
23823
- declaration: { encoding: "utf8" },
23823
+ declaration: { encoding: "UTF-8" },
23824
23824
  indent: prettify
23825
23825
  });
23826
23826
  footerFormattedViews.set(index, xmlData);
@@ -23833,7 +23833,7 @@ var Compiler = class {
23833
23833
  stack: [],
23834
23834
  viewWrapper: footerWrapper
23835
23835
  }), {
23836
- declaration: { encoding: "utf8" },
23836
+ declaration: { encoding: "UTF-8" },
23837
23837
  indent: prettify
23838
23838
  }),
23839
23839
  path: `word/_rels/footer${index + 1}.xml.rels`
@@ -23854,7 +23854,7 @@ var Compiler = class {
23854
23854
  stack: [],
23855
23855
  viewWrapper: headerWrapper
23856
23856
  }), {
23857
- declaration: { encoding: "utf8" },
23857
+ declaration: { encoding: "UTF-8" },
23858
23858
  indent: prettify
23859
23859
  });
23860
23860
  headerFormattedViews.set(index, xmlData);
@@ -23867,7 +23867,7 @@ var Compiler = class {
23867
23867
  stack: [],
23868
23868
  viewWrapper: headerWrapper
23869
23869
  }), {
23870
- declaration: { encoding: "utf8" },
23870
+ declaration: { encoding: "UTF-8" },
23871
23871
  indent: prettify
23872
23872
  }),
23873
23873
  path: `word/_rels/header${index + 1}.xml.rels`
@@ -23889,7 +23889,7 @@ var Compiler = class {
23889
23889
  viewWrapper: file.Document
23890
23890
  }), {
23891
23891
  declaration: {
23892
- encoding: "utf8",
23892
+ encoding: "UTF-8",
23893
23893
  standalone: "yes"
23894
23894
  },
23895
23895
  indent: prettify
@@ -23903,7 +23903,7 @@ var Compiler = class {
23903
23903
  viewWrapper: file.Document
23904
23904
  }), {
23905
23905
  declaration: {
23906
- encoding: "utf8",
23906
+ encoding: "UTF-8",
23907
23907
  standalone: "yes"
23908
23908
  },
23909
23909
  indent: prettify
@@ -23921,7 +23921,7 @@ var Compiler = class {
23921
23921
  stack: [],
23922
23922
  viewWrapper: file.Document
23923
23923
  }), {
23924
- declaration: { encoding: "utf8" },
23924
+ declaration: { encoding: "UTF-8" },
23925
23925
  indent: prettify
23926
23926
  });
23927
23927
  })(),
@@ -23934,7 +23934,7 @@ var Compiler = class {
23934
23934
  viewWrapper: file.Document
23935
23935
  }), {
23936
23936
  declaration: {
23937
- encoding: "utf8",
23937
+ encoding: "UTF-8",
23938
23938
  standalone: "yes"
23939
23939
  },
23940
23940
  indent: prettify
@@ -23949,7 +23949,7 @@ var Compiler = class {
23949
23949
  viewWrapper: file.Document
23950
23950
  }), {
23951
23951
  declaration: {
23952
- encoding: "utf8",
23952
+ encoding: "UTF-8",
23953
23953
  standalone: "yes"
23954
23954
  },
23955
23955
  indent: prettify
@@ -24887,7 +24887,7 @@ const toXml = (jsonObj) => {
24887
24887
  };
24888
24888
  const createRelationshipFile = () => ({
24889
24889
  declaration: { attributes: {
24890
- encoding: "utf8",
24890
+ encoding: "UTF-8",
24891
24891
  standalone: "yes",
24892
24892
  version: "1.0"
24893
24893
  } },
@@ -23620,7 +23620,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23620
23620
  viewWrapper: file.Document
23621
23621
  }), {
23622
23622
  declaration: {
23623
- encoding: "utf8",
23623
+ encoding: "UTF-8",
23624
23624
  standalone: "yes"
23625
23625
  },
23626
23626
  indent: prettify
@@ -23635,7 +23635,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23635
23635
  }
23636
23636
  }), {
23637
23637
  declaration: {
23638
- encoding: "utf8",
23638
+ encoding: "UTF-8",
23639
23639
  standalone: "yes"
23640
23640
  },
23641
23641
  indent: prettify
@@ -23647,7 +23647,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23647
23647
  viewWrapper: file.FootNotes
23648
23648
  }), {
23649
23649
  declaration: {
23650
- encoding: "utf8",
23650
+ encoding: "UTF-8",
23651
23651
  standalone: "yes"
23652
23652
  },
23653
23653
  indent: prettify
@@ -23663,7 +23663,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23663
23663
  viewWrapper: file.Document
23664
23664
  }), {
23665
23665
  declaration: {
23666
- encoding: "utf8",
23666
+ encoding: "UTF-8",
23667
23667
  standalone: "yes"
23668
23668
  },
23669
23669
  indent: prettify
@@ -23690,7 +23690,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23690
23690
  View: file.Comments
23691
23691
  }
23692
23692
  }), {
23693
- declaration: { encoding: "utf8" },
23693
+ declaration: { encoding: "UTF-8" },
23694
23694
  indent: prettify
23695
23695
  });
23696
23696
  })(),
@@ -23702,7 +23702,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23702
23702
  stack: [],
23703
23703
  viewWrapper: file.Document
23704
23704
  }), {
23705
- declaration: { encoding: "utf8" },
23705
+ declaration: { encoding: "UTF-8" },
23706
23706
  indent: prettify
23707
23707
  }),
23708
23708
  path: "[Content_Types].xml"
@@ -23714,7 +23714,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23714
23714
  viewWrapper: file.Document
23715
23715
  }), {
23716
23716
  declaration: {
23717
- encoding: "utf8",
23717
+ encoding: "UTF-8",
23718
23718
  standalone: "yes"
23719
23719
  },
23720
23720
  indent: prettify
@@ -23734,7 +23734,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23734
23734
  stack: [],
23735
23735
  viewWrapper: file.Endnotes
23736
23736
  }), {
23737
- declaration: { encoding: "utf8" },
23737
+ declaration: { encoding: "UTF-8" },
23738
23738
  indent: prettify
23739
23739
  }),
23740
23740
  path: "word/endnotes.xml"
@@ -23745,7 +23745,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23745
23745
  stack: [],
23746
23746
  viewWrapper: file.Endnotes
23747
23747
  }), {
23748
- declaration: { encoding: "utf8" },
23748
+ declaration: { encoding: "UTF-8" },
23749
23749
  indent: prettify
23750
23750
  }),
23751
23751
  path: "word/_rels/endnotes.xml.rels"
@@ -23756,7 +23756,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23756
23756
  stack: [],
23757
23757
  viewWrapper: file.Document
23758
23758
  }), {
23759
- declaration: { encoding: "utf8" },
23759
+ declaration: { encoding: "UTF-8" },
23760
23760
  indent: prettify
23761
23761
  }),
23762
23762
  path: "_rels/.rels"
@@ -23768,7 +23768,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23768
23768
  viewWrapper: file.Document
23769
23769
  }), {
23770
23770
  declaration: {
23771
- encoding: "utf8",
23771
+ encoding: "UTF-8",
23772
23772
  standalone: "yes"
23773
23773
  },
23774
23774
  indent: prettify
@@ -23781,7 +23781,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23781
23781
  stack: [],
23782
23782
  viewWrapper: file.Document
23783
23783
  }), {
23784
- declaration: { encoding: "utf8" },
23784
+ declaration: { encoding: "UTF-8" },
23785
23785
  indent: prettify
23786
23786
  }),
23787
23787
  path: "word/_rels/fontTable.xml.rels"
@@ -23803,7 +23803,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23803
23803
  stack: [],
23804
23804
  viewWrapper: file.FootNotes
23805
23805
  }), {
23806
- declaration: { encoding: "utf8" },
23806
+ declaration: { encoding: "UTF-8" },
23807
23807
  indent: prettify
23808
23808
  });
23809
23809
  })(),
@@ -23815,7 +23815,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23815
23815
  stack: [],
23816
23816
  viewWrapper: footerWrapper
23817
23817
  }), {
23818
- declaration: { encoding: "utf8" },
23818
+ declaration: { encoding: "UTF-8" },
23819
23819
  indent: prettify
23820
23820
  });
23821
23821
  footerFormattedViews.set(index, xmlData);
@@ -23828,7 +23828,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23828
23828
  stack: [],
23829
23829
  viewWrapper: footerWrapper
23830
23830
  }), {
23831
- declaration: { encoding: "utf8" },
23831
+ declaration: { encoding: "UTF-8" },
23832
23832
  indent: prettify
23833
23833
  }),
23834
23834
  path: `word/_rels/footer${index + 1}.xml.rels`
@@ -23849,7 +23849,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23849
23849
  stack: [],
23850
23850
  viewWrapper: headerWrapper
23851
23851
  }), {
23852
- declaration: { encoding: "utf8" },
23852
+ declaration: { encoding: "UTF-8" },
23853
23853
  indent: prettify
23854
23854
  });
23855
23855
  headerFormattedViews.set(index, xmlData);
@@ -23862,7 +23862,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23862
23862
  stack: [],
23863
23863
  viewWrapper: headerWrapper
23864
23864
  }), {
23865
- declaration: { encoding: "utf8" },
23865
+ declaration: { encoding: "UTF-8" },
23866
23866
  indent: prettify
23867
23867
  }),
23868
23868
  path: `word/_rels/header${index + 1}.xml.rels`
@@ -23884,7 +23884,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23884
23884
  viewWrapper: file.Document
23885
23885
  }), {
23886
23886
  declaration: {
23887
- encoding: "utf8",
23887
+ encoding: "UTF-8",
23888
23888
  standalone: "yes"
23889
23889
  },
23890
23890
  indent: prettify
@@ -23898,7 +23898,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23898
23898
  viewWrapper: file.Document
23899
23899
  }), {
23900
23900
  declaration: {
23901
- encoding: "utf8",
23901
+ encoding: "UTF-8",
23902
23902
  standalone: "yes"
23903
23903
  },
23904
23904
  indent: prettify
@@ -23916,7 +23916,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23916
23916
  stack: [],
23917
23917
  viewWrapper: file.Document
23918
23918
  }), {
23919
- declaration: { encoding: "utf8" },
23919
+ declaration: { encoding: "UTF-8" },
23920
23920
  indent: prettify
23921
23921
  });
23922
23922
  })(),
@@ -23929,7 +23929,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23929
23929
  viewWrapper: file.Document
23930
23930
  }), {
23931
23931
  declaration: {
23932
- encoding: "utf8",
23932
+ encoding: "UTF-8",
23933
23933
  standalone: "yes"
23934
23934
  },
23935
23935
  indent: prettify
@@ -23944,7 +23944,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
23944
23944
  viewWrapper: file.Document
23945
23945
  }), {
23946
23946
  declaration: {
23947
- encoding: "utf8",
23947
+ encoding: "UTF-8",
23948
23948
  standalone: "yes"
23949
23949
  },
23950
23950
  indent: prettify
@@ -24882,7 +24882,7 @@ var docx = (function(exports, xml_js, hash_js, nanoid_non_secure, undio, fflate,
24882
24882
  };
24883
24883
  const createRelationshipFile = () => ({
24884
24884
  declaration: { attributes: {
24885
- encoding: "utf8",
24885
+ encoding: "UTF-8",
24886
24886
  standalone: "yes",
24887
24887
  version: "1.0"
24888
24888
  } },
package/dist/index.mjs CHANGED
@@ -23600,7 +23600,7 @@ var Compiler = class {
23600
23600
  viewWrapper: file.Document
23601
23601
  }), {
23602
23602
  declaration: {
23603
- encoding: "utf8",
23603
+ encoding: "UTF-8",
23604
23604
  standalone: "yes"
23605
23605
  },
23606
23606
  indent: prettify
@@ -23615,7 +23615,7 @@ var Compiler = class {
23615
23615
  }
23616
23616
  }), {
23617
23617
  declaration: {
23618
- encoding: "utf8",
23618
+ encoding: "UTF-8",
23619
23619
  standalone: "yes"
23620
23620
  },
23621
23621
  indent: prettify
@@ -23627,7 +23627,7 @@ var Compiler = class {
23627
23627
  viewWrapper: file.FootNotes
23628
23628
  }), {
23629
23629
  declaration: {
23630
- encoding: "utf8",
23630
+ encoding: "UTF-8",
23631
23631
  standalone: "yes"
23632
23632
  },
23633
23633
  indent: prettify
@@ -23643,7 +23643,7 @@ var Compiler = class {
23643
23643
  viewWrapper: file.Document
23644
23644
  }), {
23645
23645
  declaration: {
23646
- encoding: "utf8",
23646
+ encoding: "UTF-8",
23647
23647
  standalone: "yes"
23648
23648
  },
23649
23649
  indent: prettify
@@ -23670,7 +23670,7 @@ var Compiler = class {
23670
23670
  View: file.Comments
23671
23671
  }
23672
23672
  }), {
23673
- declaration: { encoding: "utf8" },
23673
+ declaration: { encoding: "UTF-8" },
23674
23674
  indent: prettify
23675
23675
  });
23676
23676
  })(),
@@ -23682,7 +23682,7 @@ var Compiler = class {
23682
23682
  stack: [],
23683
23683
  viewWrapper: file.Document
23684
23684
  }), {
23685
- declaration: { encoding: "utf8" },
23685
+ declaration: { encoding: "UTF-8" },
23686
23686
  indent: prettify
23687
23687
  }),
23688
23688
  path: "[Content_Types].xml"
@@ -23694,7 +23694,7 @@ var Compiler = class {
23694
23694
  viewWrapper: file.Document
23695
23695
  }), {
23696
23696
  declaration: {
23697
- encoding: "utf8",
23697
+ encoding: "UTF-8",
23698
23698
  standalone: "yes"
23699
23699
  },
23700
23700
  indent: prettify
@@ -23714,7 +23714,7 @@ var Compiler = class {
23714
23714
  stack: [],
23715
23715
  viewWrapper: file.Endnotes
23716
23716
  }), {
23717
- declaration: { encoding: "utf8" },
23717
+ declaration: { encoding: "UTF-8" },
23718
23718
  indent: prettify
23719
23719
  }),
23720
23720
  path: "word/endnotes.xml"
@@ -23725,7 +23725,7 @@ var Compiler = class {
23725
23725
  stack: [],
23726
23726
  viewWrapper: file.Endnotes
23727
23727
  }), {
23728
- declaration: { encoding: "utf8" },
23728
+ declaration: { encoding: "UTF-8" },
23729
23729
  indent: prettify
23730
23730
  }),
23731
23731
  path: "word/_rels/endnotes.xml.rels"
@@ -23736,7 +23736,7 @@ var Compiler = class {
23736
23736
  stack: [],
23737
23737
  viewWrapper: file.Document
23738
23738
  }), {
23739
- declaration: { encoding: "utf8" },
23739
+ declaration: { encoding: "UTF-8" },
23740
23740
  indent: prettify
23741
23741
  }),
23742
23742
  path: "_rels/.rels"
@@ -23748,7 +23748,7 @@ var Compiler = class {
23748
23748
  viewWrapper: file.Document
23749
23749
  }), {
23750
23750
  declaration: {
23751
- encoding: "utf8",
23751
+ encoding: "UTF-8",
23752
23752
  standalone: "yes"
23753
23753
  },
23754
23754
  indent: prettify
@@ -23761,7 +23761,7 @@ var Compiler = class {
23761
23761
  stack: [],
23762
23762
  viewWrapper: file.Document
23763
23763
  }), {
23764
- declaration: { encoding: "utf8" },
23764
+ declaration: { encoding: "UTF-8" },
23765
23765
  indent: prettify
23766
23766
  }),
23767
23767
  path: "word/_rels/fontTable.xml.rels"
@@ -23783,7 +23783,7 @@ var Compiler = class {
23783
23783
  stack: [],
23784
23784
  viewWrapper: file.FootNotes
23785
23785
  }), {
23786
- declaration: { encoding: "utf8" },
23786
+ declaration: { encoding: "UTF-8" },
23787
23787
  indent: prettify
23788
23788
  });
23789
23789
  })(),
@@ -23795,7 +23795,7 @@ var Compiler = class {
23795
23795
  stack: [],
23796
23796
  viewWrapper: footerWrapper
23797
23797
  }), {
23798
- declaration: { encoding: "utf8" },
23798
+ declaration: { encoding: "UTF-8" },
23799
23799
  indent: prettify
23800
23800
  });
23801
23801
  footerFormattedViews.set(index, xmlData);
@@ -23808,7 +23808,7 @@ var Compiler = class {
23808
23808
  stack: [],
23809
23809
  viewWrapper: footerWrapper
23810
23810
  }), {
23811
- declaration: { encoding: "utf8" },
23811
+ declaration: { encoding: "UTF-8" },
23812
23812
  indent: prettify
23813
23813
  }),
23814
23814
  path: `word/_rels/footer${index + 1}.xml.rels`
@@ -23829,7 +23829,7 @@ var Compiler = class {
23829
23829
  stack: [],
23830
23830
  viewWrapper: headerWrapper
23831
23831
  }), {
23832
- declaration: { encoding: "utf8" },
23832
+ declaration: { encoding: "UTF-8" },
23833
23833
  indent: prettify
23834
23834
  });
23835
23835
  headerFormattedViews.set(index, xmlData);
@@ -23842,7 +23842,7 @@ var Compiler = class {
23842
23842
  stack: [],
23843
23843
  viewWrapper: headerWrapper
23844
23844
  }), {
23845
- declaration: { encoding: "utf8" },
23845
+ declaration: { encoding: "UTF-8" },
23846
23846
  indent: prettify
23847
23847
  }),
23848
23848
  path: `word/_rels/header${index + 1}.xml.rels`
@@ -23864,7 +23864,7 @@ var Compiler = class {
23864
23864
  viewWrapper: file.Document
23865
23865
  }), {
23866
23866
  declaration: {
23867
- encoding: "utf8",
23867
+ encoding: "UTF-8",
23868
23868
  standalone: "yes"
23869
23869
  },
23870
23870
  indent: prettify
@@ -23878,7 +23878,7 @@ var Compiler = class {
23878
23878
  viewWrapper: file.Document
23879
23879
  }), {
23880
23880
  declaration: {
23881
- encoding: "utf8",
23881
+ encoding: "UTF-8",
23882
23882
  standalone: "yes"
23883
23883
  },
23884
23884
  indent: prettify
@@ -23896,7 +23896,7 @@ var Compiler = class {
23896
23896
  stack: [],
23897
23897
  viewWrapper: file.Document
23898
23898
  }), {
23899
- declaration: { encoding: "utf8" },
23899
+ declaration: { encoding: "UTF-8" },
23900
23900
  indent: prettify
23901
23901
  });
23902
23902
  })(),
@@ -23909,7 +23909,7 @@ var Compiler = class {
23909
23909
  viewWrapper: file.Document
23910
23910
  }), {
23911
23911
  declaration: {
23912
- encoding: "utf8",
23912
+ encoding: "UTF-8",
23913
23913
  standalone: "yes"
23914
23914
  },
23915
23915
  indent: prettify
@@ -23924,7 +23924,7 @@ var Compiler = class {
23924
23924
  viewWrapper: file.Document
23925
23925
  }), {
23926
23926
  declaration: {
23927
- encoding: "utf8",
23927
+ encoding: "UTF-8",
23928
23928
  standalone: "yes"
23929
23929
  },
23930
23930
  indent: prettify
@@ -24862,7 +24862,7 @@ const toXml = (jsonObj) => {
24862
24862
  };
24863
24863
  const createRelationshipFile = () => ({
24864
24864
  declaration: { attributes: {
24865
- encoding: "utf8",
24865
+ encoding: "UTF-8",
24866
24866
  standalone: "yes",
24867
24867
  version: "1.0"
24868
24868
  } },
package/dist/index.umd.js CHANGED
@@ -23630,7 +23630,7 @@
23630
23630
  viewWrapper: file.Document
23631
23631
  }), {
23632
23632
  declaration: {
23633
- encoding: "utf8",
23633
+ encoding: "UTF-8",
23634
23634
  standalone: "yes"
23635
23635
  },
23636
23636
  indent: prettify
@@ -23645,7 +23645,7 @@
23645
23645
  }
23646
23646
  }), {
23647
23647
  declaration: {
23648
- encoding: "utf8",
23648
+ encoding: "UTF-8",
23649
23649
  standalone: "yes"
23650
23650
  },
23651
23651
  indent: prettify
@@ -23657,7 +23657,7 @@
23657
23657
  viewWrapper: file.FootNotes
23658
23658
  }), {
23659
23659
  declaration: {
23660
- encoding: "utf8",
23660
+ encoding: "UTF-8",
23661
23661
  standalone: "yes"
23662
23662
  },
23663
23663
  indent: prettify
@@ -23673,7 +23673,7 @@
23673
23673
  viewWrapper: file.Document
23674
23674
  }), {
23675
23675
  declaration: {
23676
- encoding: "utf8",
23676
+ encoding: "UTF-8",
23677
23677
  standalone: "yes"
23678
23678
  },
23679
23679
  indent: prettify
@@ -23700,7 +23700,7 @@
23700
23700
  View: file.Comments
23701
23701
  }
23702
23702
  }), {
23703
- declaration: { encoding: "utf8" },
23703
+ declaration: { encoding: "UTF-8" },
23704
23704
  indent: prettify
23705
23705
  });
23706
23706
  })(),
@@ -23712,7 +23712,7 @@
23712
23712
  stack: [],
23713
23713
  viewWrapper: file.Document
23714
23714
  }), {
23715
- declaration: { encoding: "utf8" },
23715
+ declaration: { encoding: "UTF-8" },
23716
23716
  indent: prettify
23717
23717
  }),
23718
23718
  path: "[Content_Types].xml"
@@ -23724,7 +23724,7 @@
23724
23724
  viewWrapper: file.Document
23725
23725
  }), {
23726
23726
  declaration: {
23727
- encoding: "utf8",
23727
+ encoding: "UTF-8",
23728
23728
  standalone: "yes"
23729
23729
  },
23730
23730
  indent: prettify
@@ -23744,7 +23744,7 @@
23744
23744
  stack: [],
23745
23745
  viewWrapper: file.Endnotes
23746
23746
  }), {
23747
- declaration: { encoding: "utf8" },
23747
+ declaration: { encoding: "UTF-8" },
23748
23748
  indent: prettify
23749
23749
  }),
23750
23750
  path: "word/endnotes.xml"
@@ -23755,7 +23755,7 @@
23755
23755
  stack: [],
23756
23756
  viewWrapper: file.Endnotes
23757
23757
  }), {
23758
- declaration: { encoding: "utf8" },
23758
+ declaration: { encoding: "UTF-8" },
23759
23759
  indent: prettify
23760
23760
  }),
23761
23761
  path: "word/_rels/endnotes.xml.rels"
@@ -23766,7 +23766,7 @@
23766
23766
  stack: [],
23767
23767
  viewWrapper: file.Document
23768
23768
  }), {
23769
- declaration: { encoding: "utf8" },
23769
+ declaration: { encoding: "UTF-8" },
23770
23770
  indent: prettify
23771
23771
  }),
23772
23772
  path: "_rels/.rels"
@@ -23778,7 +23778,7 @@
23778
23778
  viewWrapper: file.Document
23779
23779
  }), {
23780
23780
  declaration: {
23781
- encoding: "utf8",
23781
+ encoding: "UTF-8",
23782
23782
  standalone: "yes"
23783
23783
  },
23784
23784
  indent: prettify
@@ -23791,7 +23791,7 @@
23791
23791
  stack: [],
23792
23792
  viewWrapper: file.Document
23793
23793
  }), {
23794
- declaration: { encoding: "utf8" },
23794
+ declaration: { encoding: "UTF-8" },
23795
23795
  indent: prettify
23796
23796
  }),
23797
23797
  path: "word/_rels/fontTable.xml.rels"
@@ -23813,7 +23813,7 @@
23813
23813
  stack: [],
23814
23814
  viewWrapper: file.FootNotes
23815
23815
  }), {
23816
- declaration: { encoding: "utf8" },
23816
+ declaration: { encoding: "UTF-8" },
23817
23817
  indent: prettify
23818
23818
  });
23819
23819
  })(),
@@ -23825,7 +23825,7 @@
23825
23825
  stack: [],
23826
23826
  viewWrapper: footerWrapper
23827
23827
  }), {
23828
- declaration: { encoding: "utf8" },
23828
+ declaration: { encoding: "UTF-8" },
23829
23829
  indent: prettify
23830
23830
  });
23831
23831
  footerFormattedViews.set(index, xmlData);
@@ -23838,7 +23838,7 @@
23838
23838
  stack: [],
23839
23839
  viewWrapper: footerWrapper
23840
23840
  }), {
23841
- declaration: { encoding: "utf8" },
23841
+ declaration: { encoding: "UTF-8" },
23842
23842
  indent: prettify
23843
23843
  }),
23844
23844
  path: `word/_rels/footer${index + 1}.xml.rels`
@@ -23859,7 +23859,7 @@
23859
23859
  stack: [],
23860
23860
  viewWrapper: headerWrapper
23861
23861
  }), {
23862
- declaration: { encoding: "utf8" },
23862
+ declaration: { encoding: "UTF-8" },
23863
23863
  indent: prettify
23864
23864
  });
23865
23865
  headerFormattedViews.set(index, xmlData);
@@ -23872,7 +23872,7 @@
23872
23872
  stack: [],
23873
23873
  viewWrapper: headerWrapper
23874
23874
  }), {
23875
- declaration: { encoding: "utf8" },
23875
+ declaration: { encoding: "UTF-8" },
23876
23876
  indent: prettify
23877
23877
  }),
23878
23878
  path: `word/_rels/header${index + 1}.xml.rels`
@@ -23894,7 +23894,7 @@
23894
23894
  viewWrapper: file.Document
23895
23895
  }), {
23896
23896
  declaration: {
23897
- encoding: "utf8",
23897
+ encoding: "UTF-8",
23898
23898
  standalone: "yes"
23899
23899
  },
23900
23900
  indent: prettify
@@ -23908,7 +23908,7 @@
23908
23908
  viewWrapper: file.Document
23909
23909
  }), {
23910
23910
  declaration: {
23911
- encoding: "utf8",
23911
+ encoding: "UTF-8",
23912
23912
  standalone: "yes"
23913
23913
  },
23914
23914
  indent: prettify
@@ -23926,7 +23926,7 @@
23926
23926
  stack: [],
23927
23927
  viewWrapper: file.Document
23928
23928
  }), {
23929
- declaration: { encoding: "utf8" },
23929
+ declaration: { encoding: "UTF-8" },
23930
23930
  indent: prettify
23931
23931
  });
23932
23932
  })(),
@@ -23939,7 +23939,7 @@
23939
23939
  viewWrapper: file.Document
23940
23940
  }), {
23941
23941
  declaration: {
23942
- encoding: "utf8",
23942
+ encoding: "UTF-8",
23943
23943
  standalone: "yes"
23944
23944
  },
23945
23945
  indent: prettify
@@ -23954,7 +23954,7 @@
23954
23954
  viewWrapper: file.Document
23955
23955
  }), {
23956
23956
  declaration: {
23957
- encoding: "utf8",
23957
+ encoding: "UTF-8",
23958
23958
  standalone: "yes"
23959
23959
  },
23960
23960
  indent: prettify
@@ -24892,7 +24892,7 @@
24892
24892
  };
24893
24893
  const createRelationshipFile = () => ({
24894
24894
  declaration: { attributes: {
24895
- encoding: "utf8",
24895
+ encoding: "UTF-8",
24896
24896
  standalone: "yes",
24897
24897
  version: "1.0"
24898
24898
  } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docx-plus",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.",
5
5
  "keywords": [
6
6
  "clippy",