Restaurant Reservations - Version 2.0.15

Version Description

(2020-03-02) = - Correction for the success messages and PDF export

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Restaurant Reservations
Version 2.0.15
Comparing to
See all releases

Code changes from version 2.0.14 to 2.0.15

Files changed (1101) hide show
  1. includes/CustomFields.class.php +193 -193
  2. includes/Export.PDF.class.php +2 -2
  3. includes/ExportHandler.class.php +2 -2
  4. includes/Import.class.php +279 -279
  5. includes/Settings.class.php +15 -2
  6. includes/template-functions.php +5 -1
  7. lib/mpdf/CHANGELOG.txt +0 -3110
  8. lib/mpdf/CREDITS.txt +0 -92
  9. lib/mpdf/LICENSE.txt +0 -340
  10. lib/mpdf/README.txt +0 -130
  11. lib/mpdf/classes/barcode.php +0 -1972
  12. lib/mpdf/classes/bmp.php +0 -248
  13. lib/mpdf/classes/cssmgr.php +0 -1721
  14. lib/mpdf/classes/desktop.ini +0 -4
  15. lib/mpdf/classes/directw.php +0 -412
  16. lib/mpdf/classes/gif.php +0 -700
  17. lib/mpdf/classes/grad.php +0 -724
  18. lib/mpdf/classes/indic.php +0 -1714
  19. lib/mpdf/classes/meter.php +0 -282
  20. lib/mpdf/classes/mpdfform.php +0 -1550
  21. lib/mpdf/classes/myanmar.php +0 -481
  22. lib/mpdf/classes/otl.php +0 -5719
  23. lib/mpdf/classes/otl_dump.php +0 -3897
  24. lib/mpdf/classes/sea.php +0 -349
  25. lib/mpdf/classes/svg.php +0 -3441
  26. lib/mpdf/classes/tocontents.php +0 -509
  27. lib/mpdf/classes/ttfontsuni.php +0 -4732
  28. lib/mpdf/classes/ttfontsuni_analysis.php +0 -408
  29. lib/mpdf/classes/ucdn.php +0 -2920
  30. lib/mpdf/classes/wmf.php +0 -236
  31. lib/mpdf/collations/Afrikaans_South_Africa.php +0 -105
  32. lib/mpdf/collations/Albanian_Albania.php +0 -111
  33. lib/mpdf/collations/Alsatian_France.php +0 -105
  34. lib/mpdf/collations/Arabic_Algeria.php +0 -68
  35. lib/mpdf/collations/Arabic_Bahrain.php +0 -68
  36. lib/mpdf/collations/Arabic_Egypt.php +0 -68
  37. lib/mpdf/collations/Arabic_Iraq.php +0 -68
  38. lib/mpdf/collations/Arabic_Jordan.php +0 -68
  39. lib/mpdf/collations/Arabic_Kuwait.php +0 -68
  40. lib/mpdf/collations/Arabic_Lebanon.php +0 -68
  41. lib/mpdf/collations/Arabic_Libya.php +0 -68
  42. lib/mpdf/collations/Arabic_Morocco.php +0 -68
  43. lib/mpdf/collations/Arabic_Oman.php +0 -68
  44. lib/mpdf/collations/Arabic_Pseudo_RTL.php +0 -68
  45. lib/mpdf/collations/Arabic_Qatar.php +0 -68
  46. lib/mpdf/collations/Arabic_Saudi_Arabia.php +0 -68
  47. lib/mpdf/collations/Arabic_Syria.php +0 -68
  48. lib/mpdf/collations/Arabic_Tunisia.php +0 -68
  49. lib/mpdf/collations/Arabic_Yemen.php +0 -68
  50. lib/mpdf/collations/Azeri_(Cyrillic)_Azerbaijan.php +0 -80
  51. lib/mpdf/collations/Azeri_(Latin)_Azerbaijan.php +0 -98
  52. lib/mpdf/collations/Bashkir_Russia.php +0 -80
  53. lib/mpdf/collations/Basque_Spain.php +0 -105
  54. lib/mpdf/collations/Belarusian_Belarus.php +0 -80
  55. lib/mpdf/collations/Bosnian_(Cyrillic)_Bosnia_and_Herzegovina.php +0 -80
  56. lib/mpdf/collations/Bosnian_(Latin)_Bosnia_and_Herzegovina.php +0 -107
  57. lib/mpdf/collations/Breton_France.php +0 -105
  58. lib/mpdf/collations/Bulgarian_Bulgaria.php +0 -80
  59. lib/mpdf/collations/Catalan_Spain.php +0 -105
  60. lib/mpdf/collations/Corsican_France.php +0 -105
  61. lib/mpdf/collations/Croatian_(Latin)_Bosnia_and_Herzegovina.php +0 -107
  62. lib/mpdf/collations/Croatian_Croatia.php +0 -107
  63. lib/mpdf/collations/Czech_Czech_Republic.php +0 -108
  64. lib/mpdf/collations/Danish_Denmark.php +0 -102
  65. lib/mpdf/collations/Dari_Afghanistan.php +0 -65
  66. lib/mpdf/collations/Dutch_Belgium.php +0 -105
  67. lib/mpdf/collations/Dutch_Netherlands.php +0 -105
  68. lib/mpdf/collations/English_Australia.php +0 -105
  69. lib/mpdf/collations/English_Belize.php +0 -105
  70. lib/mpdf/collations/English_Canada.php +0 -105
  71. lib/mpdf/collations/English_Caribbean.php +0 -105
  72. lib/mpdf/collations/English_India.php +0 -105
  73. lib/mpdf/collations/English_Ireland.php +0 -105
  74. lib/mpdf/collations/English_Jamaica.php +0 -105
  75. lib/mpdf/collations/English_Malaysia.php +0 -105
  76. lib/mpdf/collations/English_New_Zealand.php +0 -105
  77. lib/mpdf/collations/English_Republic_of_the_Philippines.php +0 -105
  78. lib/mpdf/collations/English_Singapore.php +0 -105
  79. lib/mpdf/collations/English_South_Africa.php +0 -105
  80. lib/mpdf/collations/English_Trinidad_and_Tobago.php +0 -105
  81. lib/mpdf/collations/English_United_Kingdom.php +0 -104
  82. lib/mpdf/collations/English_United_States.php +0 -104
  83. lib/mpdf/collations/English_Zimbabwe.php +0 -105
  84. lib/mpdf/collations/Estonian_Estonia.php +0 -94
  85. lib/mpdf/collations/Faroese_Faroe_Islands.php +0 -105
  86. lib/mpdf/collations/Filipino_Philippines.php +0 -105
  87. lib/mpdf/collations/Finnish_Finland.php +0 -103
  88. lib/mpdf/collations/French_Belgium.php +0 -105
  89. lib/mpdf/collations/French_Canada.php +0 -105
  90. lib/mpdf/collations/French_France.php +0 -105
  91. lib/mpdf/collations/French_Luxembourg.php +0 -105
  92. lib/mpdf/collations/French_Principality_of_Monaco.php +0 -105
  93. lib/mpdf/collations/French_Switzerland.php +0 -105
  94. lib/mpdf/collations/Frisian_Netherlands.php +0 -105
  95. lib/mpdf/collations/Galician_Spain.php +0 -105
  96. lib/mpdf/collations/German_Austria.php +0 -105
  97. lib/mpdf/collations/German_Germany.php +0 -105
  98. lib/mpdf/collations/German_Liechtenstein.php +0 -105
  99. lib/mpdf/collations/German_Luxembourg.php +0 -105
  100. lib/mpdf/collations/German_Switzerland.php +0 -105
  101. lib/mpdf/collations/Greek_Greece.php +0 -75
  102. lib/mpdf/collations/Greenlandic_Greenland.php +0 -102
  103. lib/mpdf/collations/Hausa_(Latin)_Nigeria.php +0 -105
  104. lib/mpdf/collations/Hebrew_Israel.php +0 -60
  105. lib/mpdf/collations/Hungarian_Hungary.php +0 -71
  106. lib/mpdf/collations/Icelandic_Iceland.php +0 -95
  107. lib/mpdf/collations/Igbo_Nigeria.php +0 -105
  108. lib/mpdf/collations/Indonesian_Indonesia.php +0 -105
  109. lib/mpdf/collations/Inuktitut_(Latin)_Canada.php +0 -105
  110. lib/mpdf/collations/Invariant_Language_Invariant_Country.php +0 -105
  111. lib/mpdf/collations/Irish_Ireland.php +0 -105
  112. lib/mpdf/collations/Italian_Italy.php +0 -105
  113. lib/mpdf/collations/Italian_Switzerland.php +0 -105
  114. lib/mpdf/collations/Kinyarwanda_Rwanda.php +0 -105
  115. lib/mpdf/collations/Kiswahili_Kenya.php +0 -105
  116. lib/mpdf/collations/Kyrgyz_Kyrgyzstan.php +0 -80
  117. lib/mpdf/collations/Latvian_Latvia.php +0 -88
  118. lib/mpdf/collations/Lithuanian_Lithuania.php +0 -92
  119. lib/mpdf/collations/Lower_Sorbian_Germany.php +0 -105
  120. lib/mpdf/collations/Luxembourgish_Luxembourg.php +0 -105
  121. lib/mpdf/collations/Macedonian_(FYROM)_Macedonia_(FYROM).php +0 -79
  122. lib/mpdf/collations/Malay_Brunei_Darussalam.php +0 -105
  123. lib/mpdf/collations/Malay_Malaysia.php +0 -105
  124. lib/mpdf/collations/Mapudungun_Chile.php +0 -103
  125. lib/mpdf/collations/Mohawk_Canada.php +0 -105
  126. lib/mpdf/collations/Mongolian_(Cyrillic)_Mongolia.php +0 -80
  127. lib/mpdf/collations/Norwegian_(Nynorsk)_Norway.php +0 -102
  128. lib/mpdf/collations/Occitan_France.php +0 -105
  129. lib/mpdf/collations/Persian_Iran.php +0 -66
  130. lib/mpdf/collations/Polish_Poland.php +0 -103
  131. lib/mpdf/collations/Portuguese_Brazil.php +0 -105
  132. lib/mpdf/collations/Portuguese_Portugal.php +0 -105
  133. lib/mpdf/collations/Quechua_Bolivia.php +0 -105
  134. lib/mpdf/collations/Quechua_Ecuador.php +0 -105
  135. lib/mpdf/collations/Quechua_Peru.php +0 -105
  136. lib/mpdf/collations/Romanian_Romania.php +0 -108
  137. lib/mpdf/collations/Romansh_Switzerland.php +0 -87
  138. lib/mpdf/collations/Russian_Russia.php +0 -80
  139. lib/mpdf/collations/Sami_(Inari)_Finland.php +0 -95
  140. lib/mpdf/collations/Sami_(Lule)_Norway.php +0 -95
  141. lib/mpdf/collations/Sami_(Lule)_Sweden.php +0 -95
  142. lib/mpdf/collations/Sami_(Northern)_Finland.php +0 -95
  143. lib/mpdf/collations/Sami_(Northern)_Norway.php +0 -95
  144. lib/mpdf/collations/Sami_(Northern)_Sweden.php +0 -95
  145. lib/mpdf/collations/Sami_(Skolt)_Finland.php +0 -95
  146. lib/mpdf/collations/Sami_(Southern)_Norway.php +0 -95
  147. lib/mpdf/collations/Sami_(Southern)_Sweden.php +0 -95
  148. lib/mpdf/collations/Serbian_(Cyrillic)_Bosnia_and_Herzegovina.php +0 -80
  149. lib/mpdf/collations/Serbian_(Cyrillic)_Serbia.php +0 -80
  150. lib/mpdf/collations/Serbian_(Latin)_Bosnia_and_Herzegovina.php +0 -107
  151. lib/mpdf/collations/Serbian_(Latin)_Serbia.php +0 -107
  152. lib/mpdf/collations/Sesotho_sa_Leboa_South_Africa.php +0 -105
  153. lib/mpdf/collations/Setswana_South_Africa.php +0 -105
  154. lib/mpdf/collations/Slovak_Slovakia.php +0 -106
  155. lib/mpdf/collations/Slovenian_Slovenia.php +0 -105
  156. lib/mpdf/collations/Spanish_Argentina.php +0 -104
  157. lib/mpdf/collations/Spanish_Bolivia.php +0 -104
  158. lib/mpdf/collations/Spanish_Chile.php +0 -104
  159. lib/mpdf/collations/Spanish_Colombia.php +0 -104
  160. lib/mpdf/collations/Spanish_Costa_Rica.php +0 -104
  161. lib/mpdf/collations/Spanish_Dominican_Republic.php +0 -104
  162. lib/mpdf/collations/Spanish_Ecuador.php +0 -104
  163. lib/mpdf/collations/Spanish_El_Salvador.php +0 -104
  164. lib/mpdf/collations/Spanish_Guatemala.php +0 -104
  165. lib/mpdf/collations/Spanish_Honduras.php +0 -104
  166. lib/mpdf/collations/Spanish_Mexico.php +0 -104
  167. lib/mpdf/collations/Spanish_Nicaragua.php +0 -104
  168. lib/mpdf/collations/Spanish_Panama.php +0 -104
  169. lib/mpdf/collations/Spanish_Paraguay.php +0 -104
  170. lib/mpdf/collations/Spanish_Peru.php +0 -104
  171. lib/mpdf/collations/Spanish_Puerto_Rico.php +0 -104
  172. lib/mpdf/collations/Spanish_Spain.php +0 -104
  173. lib/mpdf/collations/Spanish_United_States.php +0 -105
  174. lib/mpdf/collations/Spanish_Uruguay.php +0 -104
  175. lib/mpdf/collations/Spanish_Venezuela.php +0 -104
  176. lib/mpdf/collations/Swedish_Finland.php +0 -103
  177. lib/mpdf/collations/Swedish_Sweden.php +0 -103
  178. lib/mpdf/collations/Tajik_(Cyrillic)_Tajikistan.php +0 -80
  179. lib/mpdf/collations/Tamazight_(Latin)_Algeria.php +0 -105
  180. lib/mpdf/collations/Tatar_Russia.php +0 -80
  181. lib/mpdf/collations/Turkish_Turkey.php +0 -98
  182. lib/mpdf/collations/Turkmen_Turkmenistan.php +0 -105
  183. lib/mpdf/collations/Ukrainian_Ukraine.php +0 -79
  184. lib/mpdf/collations/Upper_Sorbian_Germany.php +0 -103
  185. lib/mpdf/collations/Urdu_Islamic_Republic_of_Pakistan.php +0 -67
  186. lib/mpdf/collations/Uzbek_(Cyrillic)_Uzbekistan.php +0 -80
  187. lib/mpdf/collations/Uzbek_(Latin)_Uzbekistan.php +0 -103
  188. lib/mpdf/collations/Vietnamese_Vietnam.php +0 -91
  189. lib/mpdf/collations/Welsh_United_Kingdom.php +0 -105
  190. lib/mpdf/collations/Wolof_Senegal.php +0 -105
  191. lib/mpdf/collations/Yakut_Russia.php +0 -79
  192. lib/mpdf/collations/Yoruba_Nigeria.php +0 -105
  193. lib/mpdf/collations/isiXhosa_South_Africa.php +0 -105
  194. lib/mpdf/collations/isiZulu_South_Africa.php +0 -105
  195. lib/mpdf/composer.json +1 -0
  196. lib/mpdf/composer.lock +288 -0
  197. lib/mpdf/compress.php +0 -171
  198. lib/mpdf/config.php +0 -620
  199. lib/mpdf/config_fonts-distr-without-OTL.php +0 -251
  200. lib/mpdf/config_fonts.php +0 -135
  201. lib/mpdf/config_lang2fonts.php +0 -501
  202. lib/mpdf/config_script2lang.php +0 -158
  203. lib/mpdf/font/ccourier.php +0 -10
  204. lib/mpdf/font/ccourierb.php +0 -10
  205. lib/mpdf/font/ccourierbi.php +0 -10
  206. lib/mpdf/font/ccourieri.php +0 -10
  207. lib/mpdf/font/chelvetica.php +0 -21
  208. lib/mpdf/font/chelveticab.php +0 -22
  209. lib/mpdf/font/chelveticabi.php +0 -22
  210. lib/mpdf/font/chelveticai.php +0 -22
  211. lib/mpdf/font/csymbol.php +0 -22
  212. lib/mpdf/font/ctimes.php +0 -22
  213. lib/mpdf/font/ctimesb.php +0 -22
  214. lib/mpdf/font/ctimesbi.php +0 -22
  215. lib/mpdf/font/ctimesi.php +0 -22
  216. lib/mpdf/font/czapfdingbats.php +0 -22
  217. lib/mpdf/graph.php +0 -720
  218. lib/mpdf/graph_cache/dummy.txt +0 -2
  219. lib/mpdf/iccprofiles/SWOP2006_Coated5v2.icc +0 -0
  220. lib/mpdf/includes/CJKdata.php +0 -101
  221. lib/mpdf/includes/functions.php +0 -172
  222. lib/mpdf/includes/out.php +0 -59
  223. lib/mpdf/includes/subs_core.php +0 -454
  224. lib/mpdf/includes/subs_win-1252.php +0 -308
  225. lib/mpdf/includes/upperCase.php +0 -975
  226. lib/mpdf/index.php +4 -0
  227. lib/mpdf/mpdf.css +0 -83
  228. lib/mpdf/mpdf.php +0 -32754
  229. lib/mpdf/mpdfi/filters/FilterASCII85.php +0 -98
  230. lib/mpdf/mpdfi/filters/FilterLZW.php +0 -154
  231. lib/mpdf/mpdfi/fpdi_pdf_parser.php +0 -363
  232. lib/mpdf/mpdfi/pdf_context.php +0 -78
  233. lib/mpdf/mpdfi/pdf_parser.php +0 -690
  234. lib/mpdf/patterns/NOTES.txt +0 -5
  235. lib/mpdf/patterns/de.php +0 -9
  236. lib/mpdf/patterns/en.php +0 -10
  237. lib/mpdf/patterns/es.php +0 -11
  238. lib/mpdf/patterns/fi.php +0 -9
  239. lib/mpdf/patterns/fr.php +0 -12
  240. lib/mpdf/patterns/it.php +0 -11
  241. lib/mpdf/patterns/nl.php +0 -11
  242. lib/mpdf/patterns/pl.php +0 -9
  243. lib/mpdf/patterns/ru.php +0 -12
  244. lib/mpdf/patterns/sv.php +0 -12
  245. lib/mpdf/progbar.css +0 -66
  246. lib/mpdf/qrcode/_LGPL.txt +0 -165
  247. lib/mpdf/qrcode/_lisez_moi.txt +0 -49
  248. lib/mpdf/qrcode/data/modele1.dat +0 -0
  249. lib/mpdf/qrcode/data/modele10.dat +0 -0
  250. lib/mpdf/qrcode/data/modele11.dat +0 -0
  251. lib/mpdf/qrcode/data/modele12.dat +0 -0
  252. lib/mpdf/qrcode/data/modele13.dat +0 -0
  253. lib/mpdf/qrcode/data/modele14.dat +0 -0
  254. lib/mpdf/qrcode/data/modele15.dat +0 -0
  255. lib/mpdf/qrcode/data/modele16.dat +0 -0
  256. lib/mpdf/qrcode/data/modele17.dat +0 -0
  257. lib/mpdf/qrcode/data/modele18.dat +0 -0
  258. lib/mpdf/qrcode/data/modele19.dat +0 -0
  259. lib/mpdf/qrcode/data/modele2.dat +0 -0
  260. lib/mpdf/qrcode/data/modele20.dat +0 -0
  261. lib/mpdf/qrcode/data/modele21.dat +0 -0
  262. lib/mpdf/qrcode/data/modele22.dat +0 -0
  263. lib/mpdf/qrcode/data/modele23.dat +0 -0
  264. lib/mpdf/qrcode/data/modele24.dat +0 -0
  265. lib/mpdf/qrcode/data/modele25.dat +0 -0
  266. lib/mpdf/qrcode/data/modele26.dat +0 -0
  267. lib/mpdf/qrcode/data/modele27.dat +0 -0
  268. lib/mpdf/qrcode/data/modele28.dat +0 -0
  269. lib/mpdf/qrcode/data/modele29.dat +0 -0
  270. lib/mpdf/qrcode/data/modele3.dat +0 -0
  271. lib/mpdf/qrcode/data/modele30.dat +0 -0
  272. lib/mpdf/qrcode/data/modele31.dat +0 -0
  273. lib/mpdf/qrcode/data/modele32.dat +0 -0
  274. lib/mpdf/qrcode/data/modele33.dat +0 -0
  275. lib/mpdf/qrcode/data/modele34.dat +0 -0
  276. lib/mpdf/qrcode/data/modele35.dat +0 -0
  277. lib/mpdf/qrcode/data/modele36.dat +0 -0
  278. lib/mpdf/qrcode/data/modele37.dat +0 -0
  279. lib/mpdf/qrcode/data/modele38.dat +0 -0
  280. lib/mpdf/qrcode/data/modele39.dat +0 -0
  281. lib/mpdf/qrcode/data/modele4.dat +0 -0
  282. lib/mpdf/qrcode/data/modele40.dat +0 -0
  283. lib/mpdf/qrcode/data/modele5.dat +0 -0
  284. lib/mpdf/qrcode/data/modele6.dat +0 -0
  285. lib/mpdf/qrcode/data/modele7.dat +0 -0
  286. lib/mpdf/qrcode/data/modele8.dat +0 -0
  287. lib/mpdf/qrcode/data/modele9.dat +0 -0
  288. lib/mpdf/qrcode/data/qrv10_0.dat +0 -0
  289. lib/mpdf/qrcode/data/qrv10_1.dat +0 -0
  290. lib/mpdf/qrcode/data/qrv10_2.dat +0 -0
  291. lib/mpdf/qrcode/data/qrv10_3.dat +0 -0
  292. lib/mpdf/qrcode/data/qrv11_0.dat +0 -0
  293. lib/mpdf/qrcode/data/qrv11_1.dat +0 -0
  294. lib/mpdf/qrcode/data/qrv11_2.dat +0 -0
  295. lib/mpdf/qrcode/data/qrv11_3.dat +0 -0
  296. lib/mpdf/qrcode/data/qrv12_0.dat +0 -0
  297. lib/mpdf/qrcode/data/qrv12_1.dat +0 -0
  298. lib/mpdf/qrcode/data/qrv12_2.dat +0 -0
  299. lib/mpdf/qrcode/data/qrv12_3.dat +0 -0
  300. lib/mpdf/qrcode/data/qrv13_0.dat +0 -0
  301. lib/mpdf/qrcode/data/qrv13_1.dat +0 -0
  302. lib/mpdf/qrcode/data/qrv13_2.dat +0 -0
  303. lib/mpdf/qrcode/data/qrv13_3.dat +0 -0
  304. lib/mpdf/qrcode/data/qrv14_0.dat +0 -0
  305. lib/mpdf/qrcode/data/qrv14_1.dat +0 -0
  306. lib/mpdf/qrcode/data/qrv14_2.dat +0 -0
  307. lib/mpdf/qrcode/data/qrv14_3.dat +0 -0
  308. lib/mpdf/qrcode/data/qrv15_0.dat +0 -0
  309. lib/mpdf/qrcode/data/qrv15_1.dat +0 -0
  310. lib/mpdf/qrcode/data/qrv15_2.dat +0 -0
  311. lib/mpdf/qrcode/data/qrv15_3.dat +0 -0
  312. lib/mpdf/qrcode/data/qrv16_0.dat +0 -0
  313. lib/mpdf/qrcode/data/qrv16_1.dat +0 -0
  314. lib/mpdf/qrcode/data/qrv16_2.dat +0 -0
  315. lib/mpdf/qrcode/data/qrv16_3.dat +0 -0
  316. lib/mpdf/qrcode/data/qrv17_0.dat +0 -0
  317. lib/mpdf/qrcode/data/qrv17_1.dat +0 -0
  318. lib/mpdf/qrcode/data/qrv17_2.dat +0 -0
  319. lib/mpdf/qrcode/data/qrv17_3.dat +0 -0
  320. lib/mpdf/qrcode/data/qrv18_0.dat +0 -0
  321. lib/mpdf/qrcode/data/qrv18_1.dat +0 -0
  322. lib/mpdf/qrcode/data/qrv18_2.dat +0 -0
  323. lib/mpdf/qrcode/data/qrv18_3.dat +0 -0
  324. lib/mpdf/qrcode/data/qrv19_0.dat +0 -0
  325. lib/mpdf/qrcode/data/qrv19_1.dat +0 -0
  326. lib/mpdf/qrcode/data/qrv19_2.dat +0 -0
  327. lib/mpdf/qrcode/data/qrv19_3.dat +0 -0
  328. lib/mpdf/qrcode/data/qrv1_0.dat +0 -0
  329. lib/mpdf/qrcode/data/qrv1_1.dat +0 -0
  330. lib/mpdf/qrcode/data/qrv1_2.dat +0 -0
  331. lib/mpdf/qrcode/data/qrv1_3.dat +0 -0
  332. lib/mpdf/qrcode/data/qrv20_0.dat +0 -0
  333. lib/mpdf/qrcode/data/qrv20_1.dat +0 -0
  334. lib/mpdf/qrcode/data/qrv20_2.dat +0 -0
  335. lib/mpdf/qrcode/data/qrv20_3.dat +0 -0
  336. lib/mpdf/qrcode/data/qrv21_0.dat +0 -0
  337. lib/mpdf/qrcode/data/qrv21_1.dat +0 -0
  338. lib/mpdf/qrcode/data/qrv21_2.dat +0 -0
  339. lib/mpdf/qrcode/data/qrv21_3.dat +0 -0
  340. lib/mpdf/qrcode/data/qrv22_0.dat +0 -0
  341. lib/mpdf/qrcode/data/qrv22_1.dat +0 -209
  342. lib/mpdf/qrcode/data/qrv22_2.dat +0 -0
  343. lib/mpdf/qrcode/data/qrv22_3.dat +0 -0
  344. lib/mpdf/qrcode/data/qrv23_0.dat +0 -0
  345. lib/mpdf/qrcode/data/qrv23_1.dat +0 -217
  346. lib/mpdf/qrcode/data/qrv23_2.dat +0 -0
  347. lib/mpdf/qrcode/data/qrv23_3.dat +0 -0
  348. lib/mpdf/qrcode/data/qrv24_0.dat +0 -0
  349. lib/mpdf/qrcode/data/qrv24_1.dat +0 -225
  350. lib/mpdf/qrcode/data/qrv24_2.dat +0 -0
  351. lib/mpdf/qrcode/data/qrv24_3.dat +0 -0
  352. lib/mpdf/qrcode/data/qrv25_0.dat +0 -233
  353. lib/mpdf/qrcode/data/qrv25_1.dat +0 -233
  354. lib/mpdf/qrcode/data/qrv25_2.dat +0 -0
  355. lib/mpdf/qrcode/data/qrv25_3.dat +0 -0
  356. lib/mpdf/qrcode/data/qrv26_0.dat +0 -241
  357. lib/mpdf/qrcode/data/qrv26_1.dat +0 -241
  358. lib/mpdf/qrcode/data/qrv26_2.dat +0 -0
  359. lib/mpdf/qrcode/data/qrv26_3.dat +0 -241
  360. lib/mpdf/qrcode/data/qrv27_0.dat +0 -249
  361. lib/mpdf/qrcode/data/qrv27_1.dat +0 -249
  362. lib/mpdf/qrcode/data/qrv27_2.dat +0 -249
  363. lib/mpdf/qrcode/data/qrv27_3.dat +0 -249
  364. lib/mpdf/qrcode/data/qrv28_0.dat +0 -257
  365. lib/mpdf/qrcode/data/qrv28_1.dat +0 -257
  366. lib/mpdf/qrcode/data/qrv28_2.dat +0 -258
  367. lib/mpdf/qrcode/data/qrv28_3.dat +0 -257
  368. lib/mpdf/qrcode/data/qrv29_0.dat +0 -265
  369. lib/mpdf/qrcode/data/qrv29_1.dat +0 -265
  370. lib/mpdf/qrcode/data/qrv29_2.dat +0 -265
  371. lib/mpdf/qrcode/data/qrv29_3.dat +0 -265
  372. lib/mpdf/qrcode/data/qrv2_0.dat +0 -0
  373. lib/mpdf/qrcode/data/qrv2_1.dat +0 -0
  374. lib/mpdf/qrcode/data/qrv2_2.dat +0 -0
  375. lib/mpdf/qrcode/data/qrv2_3.dat +0 -0
  376. lib/mpdf/qrcode/data/qrv30_0.dat +0 -273
  377. lib/mpdf/qrcode/data/qrv30_1.dat +0 -278
  378. lib/mpdf/qrcode/data/qrv30_2.dat +0 -273
  379. lib/mpdf/qrcode/data/qrv30_3.dat +0 -273
  380. lib/mpdf/qrcode/data/qrv31_0.dat +0 -281
  381. lib/mpdf/qrcode/data/qrv31_1.dat +0 -281
  382. lib/mpdf/qrcode/data/qrv31_2.dat +0 -281
  383. lib/mpdf/qrcode/data/qrv31_3.dat +0 -281
  384. lib/mpdf/qrcode/data/qrv32_0.dat +0 -289
  385. lib/mpdf/qrcode/data/qrv32_1.dat +0 -289
  386. lib/mpdf/qrcode/data/qrv32_2.dat +1 -290
  387. lib/mpdf/qrcode/data/qrv32_3.dat +0 -289
  388. lib/mpdf/qrcode/data/qrv33_0.dat +0 -297
  389. lib/mpdf/qrcode/data/qrv33_1.dat +0 -297
  390. lib/mpdf/qrcode/data/qrv33_2.dat +0 -297
  391. lib/mpdf/qrcode/data/qrv33_3.dat +0 -297
  392. lib/mpdf/qrcode/data/qrv34_0.dat +0 -305
  393. lib/mpdf/qrcode/data/qrv34_1.dat +0 -305
  394. lib/mpdf/qrcode/data/qrv34_2.dat +0 -305
  395. lib/mpdf/qrcode/data/qrv34_3.dat +0 -305
  396. lib/mpdf/qrcode/data/qrv35_0.dat +0 -313
  397. lib/mpdf/qrcode/data/qrv35_1.dat +0 -313
  398. lib/mpdf/qrcode/data/qrv35_2.dat +0 -313
  399. lib/mpdf/qrcode/data/qrv35_3.dat +0 -313
  400. lib/mpdf/qrcode/data/qrv36_0.dat +0 -321
  401. lib/mpdf/qrcode/data/qrv36_1.dat +0 -321
  402. lib/mpdf/qrcode/data/qrv36_2.dat +0 -321
  403. lib/mpdf/qrcode/data/qrv36_3.dat +0 -322
  404. lib/mpdf/qrcode/data/qrv37_0.dat +0 -329
  405. lib/mpdf/qrcode/data/qrv37_1.dat +0 -329
  406. lib/mpdf/qrcode/data/qrv37_2.dat +2 -329
  407. lib/mpdf/qrcode/data/qrv37_3.dat +0 -329
  408. lib/mpdf/qrcode/data/qrv38_0.dat +0 -337
  409. lib/mpdf/qrcode/data/qrv38_1.dat +0 -337
  410. lib/mpdf/qrcode/data/qrv38_2.dat +0 -337
  411. lib/mpdf/qrcode/data/qrv38_3.dat +0 -339
  412. lib/mpdf/qrcode/data/qrv39_0.dat +0 -345
  413. lib/mpdf/qrcode/data/qrv39_1.dat +0 -345
  414. lib/mpdf/qrcode/data/qrv39_2.dat +0 -345
  415. lib/mpdf/qrcode/data/qrv39_3.dat +0 -345
  416. lib/mpdf/qrcode/data/qrv3_0.dat +0 -0
  417. lib/mpdf/qrcode/data/qrv3_1.dat +0 -0
  418. lib/mpdf/qrcode/data/qrv3_2.dat +0 -0
  419. lib/mpdf/qrcode/data/qrv3_3.dat +0 -0
  420. lib/mpdf/qrcode/data/qrv40_0.dat +0 -353
  421. lib/mpdf/qrcode/data/qrv40_1.dat +0 -353
  422. lib/mpdf/qrcode/data/qrv40_2.dat +0 -353
  423. lib/mpdf/qrcode/data/qrv40_3.dat +1 -353
  424. lib/mpdf/qrcode/data/qrv4_0.dat +0 -0
  425. lib/mpdf/qrcode/data/qrv4_1.dat +0 -0
  426. lib/mpdf/qrcode/data/qrv4_2.dat +0 -0
  427. lib/mpdf/qrcode/data/qrv4_3.dat +0 -0
  428. lib/mpdf/qrcode/data/qrv5_0.dat +0 -0
  429. lib/mpdf/qrcode/data/qrv5_1.dat +0 -0
  430. lib/mpdf/qrcode/data/qrv5_2.dat +0 -0
  431. lib/mpdf/qrcode/data/qrv5_3.dat +0 -0
  432. lib/mpdf/qrcode/data/qrv6_0.dat +0 -0
  433. lib/mpdf/qrcode/data/qrv6_1.dat +0 -0
  434. lib/mpdf/qrcode/data/qrv6_2.dat +0 -0
  435. lib/mpdf/qrcode/data/qrv6_3.dat +0 -0
  436. lib/mpdf/qrcode/data/qrv7_0.dat +0 -0
  437. lib/mpdf/qrcode/data/qrv7_1.dat +0 -0
  438. lib/mpdf/qrcode/data/qrv7_2.dat +0 -0
  439. lib/mpdf/qrcode/data/qrv7_3.dat +0 -0
  440. lib/mpdf/qrcode/data/qrv8_0.dat +0 -0
  441. lib/mpdf/qrcode/data/qrv8_1.dat +0 -0
  442. lib/mpdf/qrcode/data/qrv8_2.dat +0 -0
  443. lib/mpdf/qrcode/data/qrv8_3.dat +0 -0
  444. lib/mpdf/qrcode/data/qrv9_0.dat +0 -0
  445. lib/mpdf/qrcode/data/qrv9_1.dat +0 -0
  446. lib/mpdf/qrcode/data/qrv9_2.dat +0 -0
  447. lib/mpdf/qrcode/data/qrv9_3.dat +0 -0
  448. lib/mpdf/qrcode/data/qrvfr1.dat +0 -21
  449. lib/mpdf/qrcode/data/qrvfr10.dat +0 -57
  450. lib/mpdf/qrcode/data/qrvfr11.dat +0 -61
  451. lib/mpdf/qrcode/data/qrvfr12.dat +0 -65
  452. lib/mpdf/qrcode/data/qrvfr13.dat +0 -69
  453. lib/mpdf/qrcode/data/qrvfr14.dat +0 -73
  454. lib/mpdf/qrcode/data/qrvfr15.dat +0 -77
  455. lib/mpdf/qrcode/data/qrvfr16.dat +0 -81
  456. lib/mpdf/qrcode/data/qrvfr17.dat +0 -85
  457. lib/mpdf/qrcode/data/qrvfr18.dat +0 -89
  458. lib/mpdf/qrcode/data/qrvfr19.dat +0 -93
  459. lib/mpdf/qrcode/data/qrvfr2.dat +0 -25
  460. lib/mpdf/qrcode/data/qrvfr20.dat +0 -97
  461. lib/mpdf/qrcode/data/qrvfr21.dat +0 -101
  462. lib/mpdf/qrcode/data/qrvfr22.dat +0 -105
  463. lib/mpdf/qrcode/data/qrvfr23.dat +0 -109
  464. lib/mpdf/qrcode/data/qrvfr24.dat +0 -113
  465. lib/mpdf/qrcode/data/qrvfr25.dat +0 -117
  466. lib/mpdf/qrcode/data/qrvfr26.dat +0 -121
  467. lib/mpdf/qrcode/data/qrvfr27.dat +0 -125
  468. lib/mpdf/qrcode/data/qrvfr28.dat +0 -129
  469. lib/mpdf/qrcode/data/qrvfr29.dat +0 -133
  470. lib/mpdf/qrcode/data/qrvfr3.dat +0 -29
  471. lib/mpdf/qrcode/data/qrvfr30.dat +0 -137
  472. lib/mpdf/qrcode/data/qrvfr31.dat +0 -141
  473. lib/mpdf/qrcode/data/qrvfr32.dat +0 -145
  474. lib/mpdf/qrcode/data/qrvfr33.dat +0 -149
  475. lib/mpdf/qrcode/data/qrvfr34.dat +0 -153
  476. lib/mpdf/qrcode/data/qrvfr35.dat +0 -157
  477. lib/mpdf/qrcode/data/qrvfr36.dat +0 -161
  478. lib/mpdf/qrcode/data/qrvfr37.dat +0 -165
  479. lib/mpdf/qrcode/data/qrvfr38.dat +0 -169
  480. lib/mpdf/qrcode/data/qrvfr39.dat +0 -173
  481. lib/mpdf/qrcode/data/qrvfr4.dat +0 -33
  482. lib/mpdf/qrcode/data/qrvfr40.dat +0 -177
  483. lib/mpdf/qrcode/data/qrvfr5.dat +0 -37
  484. lib/mpdf/qrcode/data/qrvfr6.dat +0 -41
  485. lib/mpdf/qrcode/data/qrvfr7.dat +0 -45
  486. lib/mpdf/qrcode/data/qrvfr8.dat +0 -49
  487. lib/mpdf/qrcode/data/qrvfr9.dat +0 -53
  488. lib/mpdf/qrcode/data/rsc10.dat +0 -11
  489. lib/mpdf/qrcode/data/rsc13.dat +0 -14
  490. lib/mpdf/qrcode/data/rsc15.dat +0 -17
  491. lib/mpdf/qrcode/data/rsc16.dat +0 -17
  492. lib/mpdf/qrcode/data/rsc17.dat +0 -18
  493. lib/mpdf/qrcode/data/rsc18.dat +0 -19
  494. lib/mpdf/qrcode/data/rsc20.dat +0 -21
  495. lib/mpdf/qrcode/data/rsc22.dat +0 -23
  496. lib/mpdf/qrcode/data/rsc24.dat +0 -25
  497. lib/mpdf/qrcode/data/rsc26.dat +0 -27
  498. lib/mpdf/qrcode/data/rsc28.dat +1 -29
  499. lib/mpdf/qrcode/data/rsc30.dat +0 -31
  500. lib/mpdf/qrcode/data/rsc32.dat +0 -33
  501. lib/mpdf/qrcode/data/rsc34.dat +0 -36
  502. lib/mpdf/qrcode/data/rsc36.dat +0 -73
  503. lib/mpdf/qrcode/data/rsc40.dat +0 -41
  504. lib/mpdf/qrcode/data/rsc42.dat +0 -43
  505. lib/mpdf/qrcode/data/rsc44.dat +0 -45
  506. lib/mpdf/qrcode/data/rsc46.dat +0 -47
  507. lib/mpdf/qrcode/data/rsc48.dat +0 -50
  508. lib/mpdf/qrcode/data/rsc50.dat +0 -51
  509. lib/mpdf/qrcode/data/rsc52.dat +0 -106
  510. lib/mpdf/qrcode/data/rsc54.dat +0 -55
  511. lib/mpdf/qrcode/data/rsc56.dat +0 -58
  512. lib/mpdf/qrcode/data/rsc58.dat +0 -59
  513. lib/mpdf/qrcode/data/rsc60.dat +1 -62
  514. lib/mpdf/qrcode/data/rsc62.dat +0 -64
  515. lib/mpdf/qrcode/data/rsc64.dat +0 -66
  516. lib/mpdf/qrcode/data/rsc66.dat +0 -69
  517. lib/mpdf/qrcode/data/rsc68.dat +0 -70
  518. lib/mpdf/qrcode/data/rsc7.dat +0 -8
  519. lib/mpdf/qrcode/image.php +0 -14
  520. lib/mpdf/qrcode/index.php +0 -68
  521. lib/mpdf/qrcode/qrcode.class.php +0 -674
  522. lib/mpdf/tmp/dummy.txt +0 -2
  523. lib/mpdf/ttfontdata/dummy.txt +0 -2
  524. lib/mpdf/utils/UnicodeData.txt +0 -21488
  525. lib/mpdf/utils/UnicodeRanges.php +0 -218
  526. lib/mpdf/utils/font_collections.php +0 -72
  527. lib/mpdf/utils/font_coverage.php +0 -252
  528. lib/mpdf/utils/font_dump.php +0 -235
  529. lib/mpdf/utils/font_dump_OTL.php +0 -237
  530. lib/mpdf/utils/font_names.php +0 -214
  531. lib/mpdf/utils/image_details.php +0 -525
  532. lib/mpdf/utils/index.php +0 -29
  533. lib/mpdf/vendor/autoload.php +7 -0
  534. lib/mpdf/vendor/composer/ClassLoader.php +445 -0
  535. lib/mpdf/vendor/composer/LICENSE +21 -0
  536. lib/mpdf/vendor/composer/autoload_classmap.php +9 -0
  537. lib/mpdf/vendor/composer/autoload_files.php +10 -0
  538. lib/mpdf/vendor/composer/autoload_namespaces.php +9 -0
  539. lib/mpdf/vendor/composer/autoload_psr4.php +13 -0
  540. lib/mpdf/vendor/composer/autoload_real.php +70 -0
  541. lib/mpdf/vendor/composer/autoload_static.php +59 -0
  542. lib/mpdf/vendor/composer/installed.json +282 -0
  543. lib/mpdf/vendor/mpdf/mpdf/.github/CONTRIBUTING.md +36 -0
  544. lib/mpdf/vendor/mpdf/mpdf/.github/FUNDING.yml +1 -0
  545. lib/mpdf/vendor/mpdf/mpdf/.github/ISSUE_TEMPLATE.md +22 -0
  546. lib/mpdf/vendor/mpdf/mpdf/.travis.yml +51 -0
  547. lib/mpdf/vendor/mpdf/mpdf/CHANGELOG.md +744 -0
  548. lib/mpdf/vendor/mpdf/mpdf/CREDITS.txt +91 -0
  549. lib/mpdf/vendor/mpdf/mpdf/LICENSE.txt +280 -0
  550. lib/mpdf/vendor/mpdf/mpdf/README.md +127 -0
  551. lib/mpdf/vendor/mpdf/mpdf/composer.json +99 -0
  552. lib/mpdf/vendor/mpdf/mpdf/data/CJKdata.php +99 -0
  553. lib/mpdf/vendor/mpdf/mpdf/data/collations/Afrikaans_South_Africa.php +104 -0
  554. lib/mpdf/vendor/mpdf/mpdf/data/collations/Albanian_Albania.php +110 -0
  555. lib/mpdf/vendor/mpdf/mpdf/data/collations/Alsatian_France.php +104 -0
  556. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Algeria.php +67 -0
  557. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Bahrain.php +67 -0
  558. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Egypt.php +67 -0
  559. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Iraq.php +67 -0
  560. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Jordan.php +67 -0
  561. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Kuwait.php +67 -0
  562. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Lebanon.php +67 -0
  563. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Libya.php +67 -0
  564. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Morocco.php +67 -0
  565. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Oman.php +67 -0
  566. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Pseudo_RTL.php +67 -0
  567. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Qatar.php +67 -0
  568. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Saudi_Arabia.php +67 -0
  569. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Syria.php +67 -0
  570. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Tunisia.php +67 -0
  571. lib/mpdf/vendor/mpdf/mpdf/data/collations/Arabic_Yemen.php +67 -0
  572. lib/mpdf/vendor/mpdf/mpdf/data/collations/Azeri_(Cyrillic)_Azerbaijan.php +79 -0
  573. lib/mpdf/vendor/mpdf/mpdf/data/collations/Azeri_(Latin)_Azerbaijan.php +97 -0
  574. lib/mpdf/vendor/mpdf/mpdf/data/collations/Bashkir_Russia.php +79 -0
  575. lib/mpdf/vendor/mpdf/mpdf/data/collations/Basque_Spain.php +104 -0
  576. lib/mpdf/vendor/mpdf/mpdf/data/collations/Belarusian_Belarus.php +79 -0
  577. lib/mpdf/vendor/mpdf/mpdf/data/collations/Bosnian_(Cyrillic)_Bosnia_and_Herzegovina.php +79 -0
  578. lib/mpdf/vendor/mpdf/mpdf/data/collations/Bosnian_(Latin)_Bosnia_and_Herzegovina.php +106 -0
  579. lib/mpdf/vendor/mpdf/mpdf/data/collations/Breton_France.php +104 -0
  580. lib/mpdf/vendor/mpdf/mpdf/data/collations/Bulgarian_Bulgaria.php +79 -0
  581. lib/mpdf/vendor/mpdf/mpdf/data/collations/Catalan_Spain.php +104 -0
  582. lib/mpdf/vendor/mpdf/mpdf/data/collations/Corsican_France.php +104 -0
  583. lib/mpdf/vendor/mpdf/mpdf/data/collations/Croatian_(Latin)_Bosnia_and_Herzegovina.php +106 -0
  584. lib/mpdf/vendor/mpdf/mpdf/data/collations/Croatian_Croatia.php +106 -0
  585. lib/mpdf/vendor/mpdf/mpdf/data/collations/Czech_Czech_Republic.php +107 -0
  586. lib/mpdf/vendor/mpdf/mpdf/data/collations/Danish_Denmark.php +101 -0
  587. lib/mpdf/vendor/mpdf/mpdf/data/collations/Dari_Afghanistan.php +64 -0
  588. lib/mpdf/vendor/mpdf/mpdf/data/collations/Dutch_Belgium.php +104 -0
  589. lib/mpdf/vendor/mpdf/mpdf/data/collations/Dutch_Netherlands.php +104 -0
  590. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Australia.php +104 -0
  591. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Belize.php +104 -0
  592. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Canada.php +104 -0
  593. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Caribbean.php +104 -0
  594. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_India.php +104 -0
  595. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Ireland.php +104 -0
  596. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Jamaica.php +104 -0
  597. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Malaysia.php +104 -0
  598. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_New_Zealand.php +104 -0
  599. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Republic_of_the_Philippines.php +104 -0
  600. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Singapore.php +104 -0
  601. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_South_Africa.php +104 -0
  602. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Trinidad_and_Tobago.php +104 -0
  603. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_United_Kingdom.php +103 -0
  604. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_United_States.php +103 -0
  605. lib/mpdf/vendor/mpdf/mpdf/data/collations/English_Zimbabwe.php +104 -0
  606. lib/mpdf/vendor/mpdf/mpdf/data/collations/Estonian_Estonia.php +93 -0
  607. lib/mpdf/vendor/mpdf/mpdf/data/collations/Faroese_Faroe_Islands.php +104 -0
  608. lib/mpdf/vendor/mpdf/mpdf/data/collations/Filipino_Philippines.php +104 -0
  609. lib/mpdf/vendor/mpdf/mpdf/data/collations/Finnish_Finland.php +102 -0
  610. lib/mpdf/vendor/mpdf/mpdf/data/collations/French_Belgium.php +104 -0
  611. lib/mpdf/vendor/mpdf/mpdf/data/collations/French_Canada.php +104 -0
  612. lib/mpdf/vendor/mpdf/mpdf/data/collations/French_France.php +104 -0
  613. lib/mpdf/vendor/mpdf/mpdf/data/collations/French_Luxembourg.php +104 -0
  614. lib/mpdf/vendor/mpdf/mpdf/data/collations/French_Principality_of_Monaco.php +104 -0
  615. lib/mpdf/vendor/mpdf/mpdf/data/collations/French_Switzerland.php +104 -0
  616. lib/mpdf/vendor/mpdf/mpdf/data/collations/Frisian_Netherlands.php +104 -0
  617. lib/mpdf/vendor/mpdf/mpdf/data/collations/Galician_Spain.php +104 -0
  618. lib/mpdf/vendor/mpdf/mpdf/data/collations/German_Austria.php +104 -0
  619. lib/mpdf/vendor/mpdf/mpdf/data/collations/German_Germany.php +104 -0
  620. lib/mpdf/vendor/mpdf/mpdf/data/collations/German_Liechtenstein.php +104 -0
  621. lib/mpdf/vendor/mpdf/mpdf/data/collations/German_Luxembourg.php +104 -0
  622. lib/mpdf/vendor/mpdf/mpdf/data/collations/German_Switzerland.php +104 -0
  623. lib/mpdf/vendor/mpdf/mpdf/data/collations/Greek_Greece.php +74 -0
  624. lib/mpdf/vendor/mpdf/mpdf/data/collations/Greenlandic_Greenland.php +101 -0
  625. lib/mpdf/vendor/mpdf/mpdf/data/collations/Hausa_(Latin)_Nigeria.php +104 -0
  626. lib/mpdf/vendor/mpdf/mpdf/data/collations/Hebrew_Israel.php +59 -0
  627. lib/mpdf/vendor/mpdf/mpdf/data/collations/Hungarian_Hungary.php +70 -0
  628. lib/mpdf/vendor/mpdf/mpdf/data/collations/Icelandic_Iceland.php +94 -0
  629. lib/mpdf/vendor/mpdf/mpdf/data/collations/Igbo_Nigeria.php +104 -0
  630. lib/mpdf/vendor/mpdf/mpdf/data/collations/Indonesian_Indonesia.php +104 -0
  631. lib/mpdf/vendor/mpdf/mpdf/data/collations/Inuktitut_(Latin)_Canada.php +104 -0
  632. lib/mpdf/vendor/mpdf/mpdf/data/collations/Invariant_Language_Invariant_Country.php +104 -0
  633. lib/mpdf/vendor/mpdf/mpdf/data/collations/Irish_Ireland.php +104 -0
  634. lib/mpdf/vendor/mpdf/mpdf/data/collations/Italian_Italy.php +104 -0
  635. lib/mpdf/vendor/mpdf/mpdf/data/collations/Italian_Switzerland.php +104 -0
  636. lib/mpdf/vendor/mpdf/mpdf/data/collations/Kinyarwanda_Rwanda.php +104 -0
  637. lib/mpdf/vendor/mpdf/mpdf/data/collations/Kiswahili_Kenya.php +104 -0
  638. lib/mpdf/vendor/mpdf/mpdf/data/collations/Kyrgyz_Kyrgyzstan.php +79 -0
  639. lib/mpdf/vendor/mpdf/mpdf/data/collations/Latvian_Latvia.php +87 -0
  640. lib/mpdf/vendor/mpdf/mpdf/data/collations/Lithuanian_Lithuania.php +91 -0
  641. lib/mpdf/vendor/mpdf/mpdf/data/collations/Lower_Sorbian_Germany.php +104 -0
  642. lib/mpdf/vendor/mpdf/mpdf/data/collations/Luxembourgish_Luxembourg.php +104 -0
  643. lib/mpdf/vendor/mpdf/mpdf/data/collations/Macedonian_(FYROM)_Macedonia_(FYROM).php +78 -0
  644. lib/mpdf/vendor/mpdf/mpdf/data/collations/Malay_Brunei_Darussalam.php +104 -0
  645. lib/mpdf/vendor/mpdf/mpdf/data/collations/Malay_Malaysia.php +104 -0
  646. lib/mpdf/vendor/mpdf/mpdf/data/collations/Mapudungun_Chile.php +102 -0
  647. lib/mpdf/vendor/mpdf/mpdf/data/collations/Mohawk_Canada.php +104 -0
  648. lib/mpdf/vendor/mpdf/mpdf/data/collations/Mongolian_(Cyrillic)_Mongolia.php +79 -0
  649. lib/mpdf/vendor/mpdf/mpdf/data/collations/Norwegian_(Nynorsk)_Norway.php +101 -0
  650. lib/mpdf/vendor/mpdf/mpdf/data/collations/Occitan_France.php +104 -0
  651. lib/mpdf/vendor/mpdf/mpdf/data/collations/Persian_Iran.php +65 -0
  652. lib/mpdf/vendor/mpdf/mpdf/data/collations/Polish_Poland.php +102 -0
  653. lib/mpdf/vendor/mpdf/mpdf/data/collations/Portuguese_Brazil.php +104 -0
  654. lib/mpdf/vendor/mpdf/mpdf/data/collations/Portuguese_Portugal.php +104 -0
  655. lib/mpdf/vendor/mpdf/mpdf/data/collations/Quechua_Bolivia.php +104 -0
  656. lib/mpdf/vendor/mpdf/mpdf/data/collations/Quechua_Ecuador.php +104 -0
  657. lib/mpdf/vendor/mpdf/mpdf/data/collations/Quechua_Peru.php +104 -0
  658. lib/mpdf/vendor/mpdf/mpdf/data/collations/Romanian_Romania.php +107 -0
  659. lib/mpdf/vendor/mpdf/mpdf/data/collations/Romansh_Switzerland.php +86 -0
  660. lib/mpdf/vendor/mpdf/mpdf/data/collations/Russian_Russia.php +79 -0
  661. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Inari)_Finland.php +94 -0
  662. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Lule)_Norway.php +94 -0
  663. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Lule)_Sweden.php +94 -0
  664. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Northern)_Finland.php +94 -0
  665. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Northern)_Norway.php +94 -0
  666. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Northern)_Sweden.php +94 -0
  667. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Skolt)_Finland.php +94 -0
  668. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Southern)_Norway.php +94 -0
  669. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sami_(Southern)_Sweden.php +94 -0
  670. lib/mpdf/vendor/mpdf/mpdf/data/collations/Serbian_(Cyrillic)_Bosnia_and_Herzegovina.php +79 -0
  671. lib/mpdf/vendor/mpdf/mpdf/data/collations/Serbian_(Cyrillic)_Serbia.php +79 -0
  672. lib/mpdf/vendor/mpdf/mpdf/data/collations/Serbian_(Latin)_Bosnia_and_Herzegovina.php +106 -0
  673. lib/mpdf/vendor/mpdf/mpdf/data/collations/Serbian_(Latin)_Serbia.php +106 -0
  674. lib/mpdf/vendor/mpdf/mpdf/data/collations/Sesotho_sa_Leboa_South_Africa.php +104 -0
  675. lib/mpdf/vendor/mpdf/mpdf/data/collations/Setswana_South_Africa.php +104 -0
  676. lib/mpdf/vendor/mpdf/mpdf/data/collations/Slovak_Slovakia.php +105 -0
  677. lib/mpdf/vendor/mpdf/mpdf/data/collations/Slovenian_Slovenia.php +104 -0
  678. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Argentina.php +103 -0
  679. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Bolivia.php +103 -0
  680. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Chile.php +103 -0
  681. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Colombia.php +103 -0
  682. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Costa_Rica.php +103 -0
  683. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Dominican_Republic.php +103 -0
  684. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Ecuador.php +103 -0
  685. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_El_Salvador.php +103 -0
  686. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Guatemala.php +103 -0
  687. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Honduras.php +103 -0
  688. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Mexico.php +103 -0
  689. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Nicaragua.php +103 -0
  690. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Panama.php +103 -0
  691. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Paraguay.php +103 -0
  692. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Peru.php +103 -0
  693. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Puerto_Rico.php +103 -0
  694. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Spain.php +103 -0
  695. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_United_States.php +104 -0
  696. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Uruguay.php +103 -0
  697. lib/mpdf/vendor/mpdf/mpdf/data/collations/Spanish_Venezuela.php +103 -0
  698. lib/mpdf/vendor/mpdf/mpdf/data/collations/Swedish_Finland.php +102 -0
  699. lib/mpdf/vendor/mpdf/mpdf/data/collations/Swedish_Sweden.php +102 -0
  700. lib/mpdf/vendor/mpdf/mpdf/data/collations/Tajik_(Cyrillic)_Tajikistan.php +79 -0
  701. lib/mpdf/vendor/mpdf/mpdf/data/collations/Tamazight_(Latin)_Algeria.php +104 -0
  702. lib/mpdf/vendor/mpdf/mpdf/data/collations/Tatar_Russia.php +79 -0
  703. lib/mpdf/vendor/mpdf/mpdf/data/collations/Turkish_Turkey.php +97 -0
  704. lib/mpdf/vendor/mpdf/mpdf/data/collations/Turkmen_Turkmenistan.php +104 -0
  705. lib/mpdf/vendor/mpdf/mpdf/data/collations/Ukrainian_Ukraine.php +78 -0
  706. lib/mpdf/vendor/mpdf/mpdf/data/collations/Upper_Sorbian_Germany.php +102 -0
  707. lib/mpdf/vendor/mpdf/mpdf/data/collations/Urdu_Islamic_Republic_of_Pakistan.php +66 -0
  708. lib/mpdf/vendor/mpdf/mpdf/data/collations/Uzbek_(Cyrillic)_Uzbekistan.php +79 -0
  709. lib/mpdf/vendor/mpdf/mpdf/data/collations/Uzbek_(Latin)_Uzbekistan.php +102 -0
  710. lib/mpdf/vendor/mpdf/mpdf/data/collations/Vietnamese_Vietnam.php +90 -0
  711. lib/mpdf/vendor/mpdf/mpdf/data/collations/Welsh_United_Kingdom.php +104 -0
  712. lib/mpdf/vendor/mpdf/mpdf/data/collations/Wolof_Senegal.php +104 -0
  713. lib/mpdf/vendor/mpdf/mpdf/data/collations/Yakut_Russia.php +78 -0
  714. lib/mpdf/vendor/mpdf/mpdf/data/collations/Yoruba_Nigeria.php +104 -0
  715. lib/mpdf/vendor/mpdf/mpdf/data/collations/isiXhosa_South_Africa.php +104 -0
  716. lib/mpdf/vendor/mpdf/mpdf/data/collations/isiZulu_South_Africa.php +104 -0
  717. lib/mpdf/vendor/mpdf/mpdf/data/entity_substitutions.php +39 -0
  718. lib/mpdf/vendor/mpdf/mpdf/data/font/ccourier.php +9 -0
  719. lib/mpdf/vendor/mpdf/mpdf/data/font/ccourierb.php +9 -0
  720. lib/mpdf/vendor/mpdf/mpdf/data/font/ccourierbi.php +9 -0
  721. lib/mpdf/vendor/mpdf/mpdf/data/font/ccourieri.php +9 -0
  722. lib/mpdf/vendor/mpdf/mpdf/data/font/chelvetica.php +21 -0
  723. lib/mpdf/vendor/mpdf/mpdf/data/font/chelveticab.php +21 -0
  724. lib/mpdf/vendor/mpdf/mpdf/data/font/chelveticabi.php +21 -0
  725. lib/mpdf/vendor/mpdf/mpdf/data/font/chelveticai.php +21 -0
  726. lib/mpdf/vendor/mpdf/mpdf/data/font/csymbol.php +20 -0
  727. lib/mpdf/vendor/mpdf/mpdf/data/font/ctimes.php +21 -0
  728. lib/mpdf/vendor/mpdf/mpdf/data/font/ctimesb.php +21 -0
  729. lib/mpdf/vendor/mpdf/mpdf/data/font/ctimesbi.php +21 -0
  730. lib/mpdf/vendor/mpdf/mpdf/data/font/ctimesi.php +21 -0
  731. lib/mpdf/vendor/mpdf/mpdf/data/font/czapfdingbats.php +20 -0
  732. lib/mpdf/{iccprofiles → vendor/mpdf/mpdf/data/iccprofiles}/sRGB_IEC61966-2-1.icc +0 -0
  733. lib/mpdf/{lang2fonts.css → vendor/mpdf/mpdf/data/lang2fonts.css} +0 -0
  734. lib/mpdf/{includes → vendor/mpdf/mpdf/data}/linebrdictK.dat +0 -0
  735. lib/mpdf/{includes → vendor/mpdf/mpdf/data}/linebrdictL.dat +0 -0
  736. lib/mpdf/{includes → vendor/mpdf/mpdf/data}/linebrdictT.dat +0 -0
  737. lib/mpdf/vendor/mpdf/mpdf/data/mpdf.css +94 -0
  738. lib/mpdf/{includes → vendor/mpdf/mpdf/data}/no_image.jpg +0 -0
  739. lib/mpdf/vendor/mpdf/mpdf/data/out.php +68 -0
  740. lib/mpdf/vendor/mpdf/mpdf/data/patterns/NOTES.txt +5 -0
  741. lib/mpdf/vendor/mpdf/mpdf/data/patterns/de.php +8 -0
  742. lib/mpdf/{patterns → vendor/mpdf/mpdf/data/patterns}/dictionary.txt +0 -0
  743. lib/mpdf/vendor/mpdf/mpdf/data/patterns/en.php +8 -0
  744. lib/mpdf/vendor/mpdf/mpdf/data/patterns/es.php +10 -0
  745. lib/mpdf/vendor/mpdf/mpdf/data/patterns/fi.php +8 -0
  746. lib/mpdf/vendor/mpdf/mpdf/data/patterns/fr.php +11 -0
  747. lib/mpdf/vendor/mpdf/mpdf/data/patterns/it.php +10 -0
  748. lib/mpdf/vendor/mpdf/mpdf/data/patterns/nl.php +10 -0
  749. lib/mpdf/vendor/mpdf/mpdf/data/patterns/pl.php +8 -0
  750. lib/mpdf/vendor/mpdf/mpdf/data/patterns/ru.php +11 -0
  751. lib/mpdf/vendor/mpdf/mpdf/data/patterns/sv.php +11 -0
  752. lib/mpdf/vendor/mpdf/mpdf/data/subs_core.php +452 -0
  753. lib/mpdf/vendor/mpdf/mpdf/data/subs_win-1252.php +306 -0
  754. lib/mpdf/vendor/mpdf/mpdf/data/upperCase.php +3 -0
  755. lib/mpdf/vendor/mpdf/mpdf/phpunit.xml +22 -0
  756. lib/mpdf/vendor/mpdf/mpdf/ruleset.xml +43 -0
  757. lib/mpdf/vendor/mpdf/mpdf/src/Barcode.php +153 -0
  758. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/AbstractBarcode.php +69 -0
  759. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/BarcodeException.php +8 -0
  760. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/BarcodeInterface.php +30 -0
  761. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Codabar.php +93 -0
  762. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Code11.php +143 -0
  763. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Code128.php +277 -0
  764. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Code39.php +235 -0
  765. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Code93.php +226 -0
  766. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/EanExt.php +114 -0
  767. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/EanUpc.php +270 -0
  768. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/I25.php +137 -0
  769. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Imb.php +366 -0
  770. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Msi.php +98 -0
  771. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Postnet.php +124 -0
  772. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/Rm4Scc.php +199 -0
  773. lib/mpdf/vendor/mpdf/mpdf/src/Barcode/S25.php +111 -0
  774. lib/mpdf/vendor/mpdf/mpdf/src/Cache.php +114 -0
  775. lib/mpdf/vendor/mpdf/mpdf/src/Color/ColorConverter.php +337 -0
  776. lib/mpdf/vendor/mpdf/mpdf/src/Color/ColorModeConverter.php +199 -0
  777. lib/mpdf/vendor/mpdf/mpdf/src/Color/ColorSpaceRestrictor.php +214 -0
  778. lib/mpdf/vendor/mpdf/mpdf/src/Color/NamedColors.php +158 -0
  779. lib/mpdf/vendor/mpdf/mpdf/src/Config/ConfigVariables.php +526 -0
  780. lib/mpdf/vendor/mpdf/mpdf/src/Config/FontVariables.php +332 -0
  781. lib/mpdf/vendor/mpdf/mpdf/src/Conversion/DecToAlpha.php +48 -0
  782. lib/mpdf/vendor/mpdf/mpdf/src/Conversion/DecToCjk.php +22 -0
  783. lib/mpdf/vendor/mpdf/mpdf/src/Conversion/DecToHebrew.php +68 -0
  784. lib/mpdf/vendor/mpdf/mpdf/src/Conversion/DecToOther.php +68 -0
  785. lib/mpdf/vendor/mpdf/mpdf/src/Conversion/DecToRoman.php +136 -0
  786. lib/mpdf/vendor/mpdf/mpdf/src/Css/Border.php +13 -0
  787. lib/mpdf/vendor/mpdf/mpdf/src/Css/DefaultCss.php +217 -0
  788. lib/mpdf/vendor/mpdf/mpdf/src/Css/TextVars.php +25 -0
  789. lib/mpdf/vendor/mpdf/mpdf/src/CssManager.php +2328 -0
  790. lib/mpdf/vendor/mpdf/mpdf/src/DirectWrite.php +515 -0
  791. lib/mpdf/vendor/mpdf/mpdf/src/Exception/InvalidArgumentException.php +8 -0
  792. lib/mpdf/vendor/mpdf/mpdf/src/File/StreamWrapperChecker.php +46 -0
  793. lib/mpdf/vendor/mpdf/mpdf/src/Fonts/FontCache.php +79 -0
  794. lib/mpdf/vendor/mpdf/mpdf/src/Fonts/FontFileFinder.php +35 -0
  795. lib/mpdf/vendor/mpdf/mpdf/src/Fonts/GlyphOperator.php +17 -0
  796. lib/mpdf/vendor/mpdf/mpdf/src/Fonts/MetricsGenerator.php +110 -0
  797. lib/mpdf/vendor/mpdf/mpdf/src/Form.php +1828 -0
  798. lib/mpdf/vendor/mpdf/mpdf/src/FpdiTrait.php +412 -0
  799. lib/mpdf/vendor/mpdf/mpdf/src/Gif/ColorTable.php +82 -0
  800. lib/mpdf/vendor/mpdf/mpdf/src/Gif/FileHeader.php +94 -0
  801. lib/mpdf/vendor/mpdf/mpdf/src/Gif/Gif.php +70 -0
  802. lib/mpdf/vendor/mpdf/mpdf/src/Gif/Image.php +187 -0
  803. lib/mpdf/vendor/mpdf/mpdf/src/Gif/ImageHeader.php +87 -0
  804. lib/mpdf/vendor/mpdf/mpdf/src/Gif/Lzw.php +236 -0
  805. lib/mpdf/vendor/mpdf/mpdf/src/Gradient.php +975 -0
  806. lib/mpdf/vendor/mpdf/mpdf/src/HTMLParserMode.php +46 -0
  807. lib/mpdf/vendor/mpdf/mpdf/src/Hyphenator.php +207 -0
  808. lib/mpdf/vendor/mpdf/mpdf/src/Image/Bmp.php +297 -0
  809. lib/mpdf/vendor/mpdf/mpdf/src/Image/ImageProcessor.php +1435 -0
  810. lib/mpdf/vendor/mpdf/mpdf/src/Image/ImageTypeGuesser.php +42 -0
  811. lib/mpdf/vendor/mpdf/mpdf/src/Image/Svg.php +3933 -0
  812. lib/mpdf/vendor/mpdf/mpdf/src/Image/Wmf.php +290 -0
  813. lib/mpdf/vendor/mpdf/mpdf/src/Language/LanguageToFont.php +546 -0
  814. lib/mpdf/vendor/mpdf/mpdf/src/Language/LanguageToFontInterface.php +29 -0
  815. lib/mpdf/vendor/mpdf/mpdf/src/Language/ScriptToLanguage.php +141 -0
  816. lib/mpdf/vendor/mpdf/mpdf/src/Language/ScriptToLanguageInterface.php +12 -0
  817. lib/mpdf/vendor/mpdf/mpdf/src/Log/Context.php +22 -0
  818. lib/mpdf/vendor/mpdf/mpdf/src/Mpdf.php +27208 -0
  819. lib/mpdf/vendor/mpdf/mpdf/src/MpdfException.php +8 -0
  820. lib/mpdf/vendor/mpdf/mpdf/src/MpdfImageException.php +8 -0
  821. lib/mpdf/vendor/mpdf/mpdf/src/Otl.php +6211 -0
  822. lib/mpdf/vendor/mpdf/mpdf/src/OtlDump.php +4369 -0
  823. lib/mpdf/vendor/mpdf/mpdf/src/Output/Destination.php +15 -0
  824. lib/mpdf/vendor/mpdf/mpdf/src/PageFormat.php +83 -0
  825. lib/mpdf/vendor/mpdf/mpdf/src/Pdf/Protection.php +360 -0
  826. lib/mpdf/vendor/mpdf/mpdf/src/Pdf/Protection/UniqidGenerator.php +32 -0
  827. lib/mpdf/vendor/mpdf/mpdf/src/RemoteContentFetcher.php +148 -0
  828. lib/mpdf/vendor/mpdf/mpdf/src/ServiceFactory.php +173 -0
  829. lib/mpdf/vendor/mpdf/mpdf/src/Shaper/Indic.php +1945 -0
  830. lib/mpdf/vendor/mpdf/mpdf/src/Shaper/Myanmar.php +543 -0
  831. lib/mpdf/vendor/mpdf/mpdf/src/Shaper/Sea.php +397 -0
  832. lib/mpdf/vendor/mpdf/mpdf/src/SizeConverter.php +161 -0
  833. lib/mpdf/vendor/mpdf/mpdf/src/Strict.php +67 -0
  834. lib/mpdf/vendor/mpdf/mpdf/src/TTFontFile.php +4947 -0
  835. lib/mpdf/vendor/mpdf/mpdf/src/TTFontFileAnalysis.php +454 -0
  836. lib/mpdf/vendor/mpdf/mpdf/src/TableOfContents.php +908 -0
  837. lib/mpdf/vendor/mpdf/mpdf/src/Tag.php +253 -0
  838. lib/mpdf/vendor/mpdf/mpdf/src/Tag/A.php +50 -0
  839. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Acronym.php +9 -0
  840. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Address.php +9 -0
  841. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Annotation.php +99 -0
  842. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Article.php +9 -0
  843. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Aside.php +9 -0
  844. lib/mpdf/vendor/mpdf/mpdf/src/Tag/B.php +9 -0
  845. lib/mpdf/vendor/mpdf/mpdf/src/Tag/BarCode.php +256 -0
  846. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Bdi.php +9 -0
  847. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Bdo.php +9 -0
  848. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Big.php +9 -0
  849. lib/mpdf/vendor/mpdf/mpdf/src/Tag/BlockQuote.php +9 -0
  850. lib/mpdf/vendor/mpdf/mpdf/src/Tag/BlockTag.php +1353 -0
  851. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Bookmark.php +32 -0
  852. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Br.php +88 -0
  853. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Caption.php +9 -0
  854. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Center.php +9 -0
  855. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Cite.php +9 -0
  856. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Code.php +9 -0
  857. lib/mpdf/vendor/mpdf/mpdf/src/Tag/ColumnBreak.php +8 -0
  858. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Columns.php +67 -0
  859. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Dd.php +9 -0
  860. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Del.php +9 -0
  861. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Details.php +9 -0
  862. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Div.php +9 -0
  863. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Dl.php +9 -0
  864. lib/mpdf/vendor/mpdf/mpdf/src/Tag/DotTab.php +68 -0
  865. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Dt.php +9 -0
  866. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Em.php +9 -0
  867. lib/mpdf/vendor/mpdf/mpdf/src/Tag/FieldSet.php +9 -0
  868. lib/mpdf/vendor/mpdf/mpdf/src/Tag/FigCaption.php +9 -0
  869. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Figure.php +9 -0
  870. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Font.php +9 -0
  871. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Footer.php +9 -0
  872. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Form.php +9 -0
  873. lib/mpdf/vendor/mpdf/mpdf/src/Tag/FormFeed.php +293 -0
  874. lib/mpdf/vendor/mpdf/mpdf/src/Tag/H1.php +9 -0
  875. lib/mpdf/vendor/mpdf/mpdf/src/Tag/H2.php +9 -0
  876. lib/mpdf/vendor/mpdf/mpdf/src/Tag/H3.php +9 -0
  877. lib/mpdf/vendor/mpdf/mpdf/src/Tag/H4.php +9 -0
  878. lib/mpdf/vendor/mpdf/mpdf/src/Tag/H5.php +9 -0
  879. lib/mpdf/vendor/mpdf/mpdf/src/Tag/H6.php +9 -0
  880. lib/mpdf/vendor/mpdf/mpdf/src/Tag/HGroup.php +9 -0
  881. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Header.php +9 -0
  882. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Hr.php +126 -0
  883. lib/mpdf/vendor/mpdf/mpdf/src/Tag/I.php +9 -0
  884. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Img.php +458 -0
  885. lib/mpdf/vendor/mpdf/mpdf/src/Tag/IndexEntry.php +32 -0
  886. lib/mpdf/vendor/mpdf/mpdf/src/Tag/IndexInsert.php +33 -0
  887. lib/mpdf/vendor/mpdf/mpdf/src/Tag/InlineTag.php +232 -0
  888. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Input.php +425 -0
  889. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Ins.php +9 -0
  890. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Kbd.php +9 -0
  891. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Legend.php +35 -0
  892. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Li.php +9 -0
  893. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Main.php +9 -0
  894. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Mark.php +9 -0
  895. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Meter.php +517 -0
  896. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Nav.php +9 -0
  897. lib/mpdf/vendor/mpdf/mpdf/src/Tag/NewColumn.php +18 -0
  898. lib/mpdf/vendor/mpdf/mpdf/src/Tag/NewPage.php +8 -0
  899. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Ol.php +9 -0
  900. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Option.php +38 -0
  901. lib/mpdf/vendor/mpdf/mpdf/src/Tag/P.php +9 -0
  902. lib/mpdf/vendor/mpdf/mpdf/src/Tag/PageBreak.php +8 -0
  903. lib/mpdf/vendor/mpdf/mpdf/src/Tag/PageFooter.php +153 -0
  904. lib/mpdf/vendor/mpdf/mpdf/src/Tag/PageHeader.php +8 -0
  905. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Pre.php +13 -0
  906. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Progress.php +72 -0
  907. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Q.php +9 -0
  908. lib/mpdf/vendor/mpdf/mpdf/src/Tag/S.php +9 -0
  909. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Samp.php +9 -0
  910. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Section.php +9 -0
  911. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Select.php +154 -0
  912. lib/mpdf/vendor/mpdf/mpdf/src/Tag/SetHtmlPageFooter.php +73 -0
  913. lib/mpdf/vendor/mpdf/mpdf/src/Tag/SetHtmlPageHeader.php +9 -0
  914. lib/mpdf/vendor/mpdf/mpdf/src/Tag/SetPageFooter.php +9 -0
  915. lib/mpdf/vendor/mpdf/mpdf/src/Tag/SetPageHeader.php +9 -0
  916. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Small.php +9 -0
  917. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Span.php +9 -0
  918. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Strike.php +9 -0
  919. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Strong.php +9 -0
  920. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Sub.php +9 -0
  921. lib/mpdf/vendor/mpdf/mpdf/src/Tag/SubstituteTag.php +18 -0
  922. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Summary.php +9 -0
  923. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Sup.php +9 -0
  924. lib/mpdf/vendor/mpdf/mpdf/src/Tag/TBody.php +23 -0
  925. lib/mpdf/vendor/mpdf/mpdf/src/Tag/TFoot.php +59 -0
  926. lib/mpdf/vendor/mpdf/mpdf/src/Tag/THead.php +58 -0
  927. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Table.php +1272 -0
  928. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Tag.php +121 -0
  929. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Td.php +473 -0
  930. lib/mpdf/vendor/mpdf/mpdf/src/Tag/TextArea.php +162 -0
  931. lib/mpdf/vendor/mpdf/mpdf/src/Tag/TextCircle.php +250 -0
  932. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Th.php +13 -0
  933. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Time.php +9 -0
  934. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Toc.php +17 -0
  935. lib/mpdf/vendor/mpdf/mpdf/src/Tag/TocEntry.php +38 -0
  936. lib/mpdf/vendor/mpdf/mpdf/src/Tag/TocPageBreak.php +16 -0
  937. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Tr.php +102 -0
  938. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Tt.php +9 -0
  939. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Tta.php +22 -0
  940. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Tts.php +15 -0
  941. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Ttz.php +15 -0
  942. lib/mpdf/vendor/mpdf/mpdf/src/Tag/U.php +9 -0
  943. lib/mpdf/vendor/mpdf/mpdf/src/Tag/Ul.php +9 -0
  944. lib/mpdf/vendor/mpdf/mpdf/src/Tag/VarTag.php +9 -0
  945. lib/mpdf/vendor/mpdf/mpdf/src/Tag/WatermarkImage.php +41 -0
  946. lib/mpdf/vendor/mpdf/mpdf/src/Tag/WatermarkText.php +25 -0
  947. lib/mpdf/vendor/mpdf/mpdf/src/Ucdn.php +2921 -0
  948. lib/mpdf/vendor/mpdf/mpdf/src/Utils/Arrays.php +92 -0
  949. lib/mpdf/vendor/mpdf/mpdf/src/Utils/NumericString.php +18 -0
  950. lib/mpdf/vendor/mpdf/mpdf/src/Utils/PdfDate.php +30 -0
  951. lib/mpdf/vendor/mpdf/mpdf/src/Utils/UtfString.php +67 -0
  952. lib/mpdf/vendor/mpdf/mpdf/src/Writer/BackgroundWriter.php +451 -0
  953. lib/mpdf/vendor/mpdf/mpdf/src/Writer/BaseWriter.php +250 -0
  954. lib/mpdf/vendor/mpdf/mpdf/src/Writer/BookmarkWriter.php +138 -0
  955. lib/mpdf/vendor/mpdf/mpdf/src/Writer/ColorWriter.php +46 -0
  956. lib/mpdf/vendor/mpdf/mpdf/src/Writer/FontWriter.php +680 -0
  957. lib/mpdf/vendor/mpdf/mpdf/src/Writer/FormWriter.php +63 -0
  958. lib/mpdf/vendor/mpdf/mpdf/src/Writer/ImageWriter.php +119 -0
  959. lib/mpdf/vendor/mpdf/mpdf/src/Writer/JavaScriptWriter.php +46 -0
  960. lib/mpdf/vendor/mpdf/mpdf/src/Writer/MetadataWriter.php +830 -0
  961. lib/mpdf/vendor/mpdf/mpdf/src/Writer/ObjectWriter.php +64 -0
  962. lib/mpdf/vendor/mpdf/mpdf/src/Writer/OptionalContentWriter.php +71 -0
  963. lib/mpdf/vendor/mpdf/mpdf/src/Writer/PageWriter.php +285 -0
  964. lib/mpdf/vendor/mpdf/mpdf/src/Writer/ResourceWriter.php +256 -0
  965. lib/mpdf/vendor/mpdf/mpdf/src/functions-dev.php +13 -0
  966. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensed.cw.dat +0 -0
  967. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensed.cw127.json +1 -0
  968. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensed.gid.dat +0 -0
  969. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensed.mtx.json +1 -0
  970. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensedB.cw.dat +0 -0
  971. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensedB.gid.dat +0 -0
  972. lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/dejavuserifcondensedB.mtx.json +1 -0
  973. lib/mpdf/{ttfonts → vendor/mpdf/mpdf/ttfonts}/DejaVuSans-Bold.ttf +0 -0
  974. lib/mpdf/{ttfonts → vendor/mpdf/mpdf/ttfonts}/DejaVuSans-BoldOblique.ttf +0 -0
  975. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSans-Oblique.ttf +0 -0
  976. lib/mpdf/{ttfonts → vendor/mpdf/mpdf/ttfonts}/DejaVuSans.ttf +0 -0
  977. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansCondensed-Bold.ttf +0 -0
  978. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansCondensed-BoldOblique.ttf +0 -0
  979. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansCondensed-Oblique.ttf +0 -0
  980. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansCondensed.ttf +0 -0
  981. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansMono-Bold.ttf +0 -0
  982. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansMono-BoldOblique.ttf +0 -0
  983. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansMono-Oblique.ttf +0 -0
  984. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSansMono.ttf +0 -0
  985. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-Bold.ttf +0 -0
  986. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-BoldItalic.ttf +0 -0
  987. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif-Italic.ttf +0 -0
  988. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerif.ttf +0 -0
  989. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerifCondensed-Bold.ttf +0 -0
  990. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerifCondensed-BoldItalic.ttf +0 -0
  991. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerifCondensed-Italic.ttf +0 -0
  992. lib/mpdf/vendor/mpdf/mpdf/ttfonts/DejaVuSerifCondensed.ttf +0 -0
  993. lib/mpdf/{ttfonts → vendor/mpdf/mpdf/ttfonts}/DejaVuinfo.txt +0 -0
  994. lib/mpdf/vendor/myclabs/deep-copy/.github/FUNDING.yml +12 -0
  995. lib/mpdf/vendor/myclabs/deep-copy/LICENSE +20 -0
  996. lib/mpdf/vendor/myclabs/deep-copy/README.md +375 -0
  997. lib/mpdf/vendor/myclabs/deep-copy/composer.json +38 -0
  998. lib/mpdf/vendor/myclabs/deep-copy/doc/clone.png +0 -0
  999. lib/mpdf/vendor/myclabs/deep-copy/doc/deep-clone.png +0 -0
  1000. lib/mpdf/vendor/myclabs/deep-copy/doc/deep-copy.png +0 -0
  1001. lib/mpdf/vendor/myclabs/deep-copy/doc/graph.png +0 -0
  1002. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/DeepCopy.php +298 -0
  1003. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Exception/CloneException.php +9 -0
  1004. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Exception/PropertyException.php +9 -0
  1005. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineCollectionFilter.php +33 -0
  1006. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineEmptyCollectionFilter.php +28 -0
  1007. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Doctrine/DoctrineProxyFilter.php +22 -0
  1008. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/Filter.php +18 -0
  1009. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/KeepFilter.php +16 -0
  1010. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/ReplaceFilter.php +39 -0
  1011. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Filter/SetNullFilter.php +24 -0
  1012. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Doctrine/DoctrineProxyMatcher.php +22 -0
  1013. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/Matcher.php +14 -0
  1014. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyMatcher.php +39 -0
  1015. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyNameMatcher.php +32 -0
  1016. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Matcher/PropertyTypeMatcher.php +46 -0
  1017. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/Reflection/ReflectionHelper.php +78 -0
  1018. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Date/DateIntervalFilter.php +33 -0
  1019. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ReplaceFilter.php +30 -0
  1020. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/ShallowCopyFilter.php +17 -0
  1021. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/ArrayObjectFilter.php +36 -0
  1022. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedList.php +10 -0
  1023. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/Spl/SplDoublyLinkedListFilter.php +51 -0
  1024. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeFilter/TypeFilter.php +13 -0
  1025. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/TypeMatcher/TypeMatcher.php +29 -0
  1026. lib/mpdf/vendor/myclabs/deep-copy/src/DeepCopy/deep_copy.php +20 -0
  1027. lib/mpdf/vendor/paragonie/random_compat/LICENSE +22 -0
  1028. lib/mpdf/vendor/paragonie/random_compat/build-phar.sh +5 -0
  1029. lib/mpdf/vendor/paragonie/random_compat/composer.json +34 -0
  1030. lib/mpdf/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey +5 -0
  1031. lib/mpdf/vendor/paragonie/random_compat/dist/random_compat.phar.pubkey.asc +11 -0
  1032. lib/mpdf/vendor/paragonie/random_compat/lib/random.php +32 -0
  1033. lib/mpdf/vendor/paragonie/random_compat/other/build_phar.php +57 -0
  1034. lib/mpdf/vendor/paragonie/random_compat/psalm-autoload.php +9 -0
  1035. lib/mpdf/vendor/paragonie/random_compat/psalm.xml +19 -0
  1036. lib/mpdf/vendor/psr/log/LICENSE +19 -0
  1037. lib/mpdf/vendor/psr/log/Psr/Log/AbstractLogger.php +128 -0
  1038. lib/mpdf/vendor/psr/log/Psr/Log/InvalidArgumentException.php +7 -0
  1039. lib/mpdf/vendor/psr/log/Psr/Log/LogLevel.php +18 -0
  1040. lib/mpdf/vendor/psr/log/Psr/Log/LoggerAwareInterface.php +18 -0
  1041. lib/mpdf/vendor/psr/log/Psr/Log/LoggerAwareTrait.php +26 -0
  1042. lib/mpdf/vendor/psr/log/Psr/Log/LoggerInterface.php +125 -0
  1043. lib/mpdf/vendor/psr/log/Psr/Log/LoggerTrait.php +142 -0
  1044. lib/mpdf/vendor/psr/log/Psr/Log/NullLogger.php +30 -0
  1045. lib/mpdf/vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php +146 -0
  1046. lib/mpdf/vendor/psr/log/Psr/Log/Test/TestLogger.php +147 -0
  1047. lib/mpdf/vendor/psr/log/README.md +58 -0
  1048. lib/mpdf/vendor/psr/log/composer.json +26 -0
  1049. lib/mpdf/vendor/setasign/fpdi/LICENSE.txt +21 -0
  1050. lib/mpdf/vendor/setasign/fpdi/README.md +168 -0
  1051. lib/mpdf/vendor/setasign/fpdi/composer.json +50 -0
  1052. lib/mpdf/vendor/setasign/fpdi/src/FpdfTpl.php +22 -0
  1053. lib/mpdf/vendor/setasign/fpdi/src/FpdfTplTrait.php +466 -0
  1054. lib/mpdf/vendor/setasign/fpdi/src/Fpdi.php +155 -0
  1055. lib/mpdf/vendor/setasign/fpdi/src/FpdiException.php +19 -0
  1056. lib/mpdf/vendor/setasign/fpdi/src/FpdiTrait.php +562 -0
  1057. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/CrossReference/AbstractReader.php +96 -0
  1058. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/CrossReference/CrossReference.php +320 -0
  1059. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/CrossReference/CrossReferenceException.php +80 -0
  1060. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/CrossReference/FixedReader.php +196 -0
  1061. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/CrossReference/LineReader.php +173 -0
  1062. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/CrossReference/ReaderInterface.php +35 -0
  1063. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/Ascii85.php +104 -0
  1064. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/Ascii85Exception.php +28 -0
  1065. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/AsciiHex.php +48 -0
  1066. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/FilterException.php +24 -0
  1067. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/FilterInterface.php +26 -0
  1068. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/Flate.php +78 -0
  1069. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/FlateException.php +28 -0
  1070. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/Lzw.php +189 -0
  1071. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Filter/LzwException.php +23 -0
  1072. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/PdfParser.php +378 -0
  1073. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/PdfParserException.php +50 -0
  1074. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/StreamReader.php +468 -0
  1075. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Tokenizer.php +161 -0
  1076. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfArray.php +85 -0
  1077. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfBoolean.php +43 -0
  1078. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfDictionary.php +135 -0
  1079. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfHexString.php +82 -0
  1080. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfIndirectObject.php +104 -0
  1081. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfIndirectObjectReference.php +53 -0
  1082. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfName.php +82 -0
  1083. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfNull.php +20 -0
  1084. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfNumeric.php +44 -0
  1085. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfStream.php +320 -0
  1086. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfString.php +172 -0
  1087. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfToken.php +44 -0
  1088. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfType.php +79 -0
  1089. lib/mpdf/vendor/setasign/fpdi/src/PdfParser/Type/PdfTypeException.php +25 -0
  1090. lib/mpdf/vendor/setasign/fpdi/src/PdfReader/DataStructure/Rectangle.php +174 -0
  1091. lib/mpdf/vendor/setasign/fpdi/src/PdfReader/Page.php +272 -0
  1092. lib/mpdf/vendor/setasign/fpdi/src/PdfReader/PageBoundaries.php +95 -0
  1093. lib/mpdf/vendor/setasign/fpdi/src/PdfReader/PdfReader.php +221 -0
  1094. lib/mpdf/vendor/setasign/fpdi/src/PdfReader/PdfReaderException.php +35 -0
  1095. lib/mpdf/vendor/setasign/fpdi/src/Tcpdf/Fpdi.php +266 -0
  1096. lib/mpdf/vendor/setasign/fpdi/src/TcpdfFpdi.php +23 -0
  1097. lib/mpdf/vendor/setasign/fpdi/src/Tfpdf/FpdfTpl.php +99 -0
  1098. lib/mpdf/vendor/setasign/fpdi/src/Tfpdf/Fpdi.php +164 -0
  1099. lib/mpdf/vendor/setasign/fpdi/src/autoload.php +20 -0
  1100. readme.txt +3 -0
  1101. restaurant-reservations.php +1 -1
includes/CustomFields.class.php CHANGED
@@ -1,193 +1,193 @@
1
- <?php
2
- /**
3
- * A class that handles the main custom field functions
4
- */
5
- if ( ! defined( 'ABSPATH' ) )
6
- exit;
7
-
8
- if ( !class_exists( 'rtbCustomFields' ) ) {
9
- class rtbCustomFields {
10
-
11
- /**
12
- * Option name for storing modified default fields
13
- *
14
- * @since 0.1
15
- */
16
- public $modified_option_key;
17
-
18
- /**
19
- * Common string tacked onto the end of error messages
20
- *
21
- * @since 0.1
22
- */
23
- public $common_error_msg;
24
-
25
- /**
26
- * Initialize the plugin and register hooks
27
- *
28
- * @since 0.1
29
- */
30
- public function __construct() {
31
-
32
- // Option key where information about default fields that have
33
- // been modified and disabled is stored in the database
34
- $this->modified_option_key = apply_filters( 'cffrtb_modified_fields_option_key', 'cffrtb_modified_fields' );
35
-
36
- // Common string tacked onto the end of error messages
37
- $this->common_error_msg = sprintf( _x( 'Please try again. If the problem persists, you may need to refresh the page. If that does not solve the problem, please %scontact support%s for help.', 'A common phrase added to the end of error messages', 'custom-fields-for-rtb' ), '<a href="http://fivestarplugins.com/contact-us/">', '</a>' );
38
-
39
- // Validate user input for custom fields
40
- add_action( 'rtb_validate_booking_submission', array( $this, 'validate_custom_fields_input' ) );
41
-
42
- // Filter required phone setting when phone field is disabled
43
- add_filter( 'rtb-setting-require-phone', array( $this, 'never_require_phone' ) );
44
-
45
- // Insert/load custom field input with booking metadata
46
- add_filter( 'rtb_insert_booking_metadata', array( $this, 'insert_booking_metadata' ), 10, 2 );
47
- add_action( 'rtb_booking_load_post_data', array( $this, 'load_booking_meta_data' ), 10, 2 );
48
-
49
- // Print custom fields in notification template tags
50
- add_filter( 'rtb_notification_template_tags', array( $this, 'add_notification_template_tags' ), 10, 2 );
51
- add_filter( 'rtb_notification_template_tag_descriptions', array( $this, 'add_notification_template_tag_descriptions' ) );
52
-
53
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
54
- }
55
-
56
- public function enqueue_scripts() {
57
- $currentScreen = get_current_screen();
58
- if ( $currentScreen->id == 'bookings_page_cffrtb-editor' ) {
59
- wp_enqueue_style( 'rtb-admin-css', RTB_PLUGIN_URL . '/assets/css/admin.css', array(), RTB_VERSION );
60
- wp_enqueue_script( 'rtb-admin-js', RTB_PLUGIN_URL . '/assets/js/admin.js', array( 'jquery' ), RTB_VERSION, true );
61
- }
62
- }
63
-
64
- /**
65
- * Validate user input for custom fields
66
- *
67
- * @since 0.1
68
- */
69
- public function validate_custom_fields_input( $booking ) {
70
-
71
- $fields = rtb_get_custom_fields();
72
-
73
- if ( !count( $fields ) ) {
74
- return;
75
- }
76
-
77
- foreach( $fields as $field ) {
78
- $validation = $field->validate_input( $booking );
79
- }
80
- }
81
-
82
- /**
83
- * Add custom fields to metadata when a booking is saved
84
- *
85
- * @since 0.1
86
- */
87
- public function insert_booking_metadata( $meta, $booking ) {
88
-
89
- if ( empty( $booking->custom_fields ) ) {
90
- return $meta;
91
- }
92
-
93
- if ( !is_array( $meta ) ) {
94
- $meta = array();
95
- }
96
-
97
- if ( !isset( $meta['custom_fields'] ) ) {
98
- $meta['custom_fields'] = array();
99
- }
100
-
101
- $meta['custom_fields'] = $booking->custom_fields;
102
-
103
- return $meta;
104
- }
105
-
106
- /**
107
- * Add custom fields to metadata when booking is loaded
108
- *
109
- * @since 0.1
110
- */
111
- public function load_booking_meta_data( $booking, $post ) {
112
-
113
- $meta = get_post_meta( $booking->ID, 'rtb', true );
114
-
115
- if ( empty( $meta['custom_fields'] ) ) {
116
- return;
117
- }
118
-
119
- $booking->custom_fields = $meta['custom_fields'];
120
- }
121
-
122
- /**
123
- * Add custom fields as notification template tags
124
- *
125
- * @since 0.1
126
- */
127
- public function add_notification_template_tags( $tags, $notification ) {
128
- global $rtb_controller;
129
-
130
- $fields = rtb_get_custom_fields();
131
-
132
- $cf = isset( $notification->booking->custom_fields ) ? $notification->booking->custom_fields : array();
133
- $checkbox_icon = apply_filters( 'cffrtb_checkbox_icon_notification', '', $notification );
134
-
135
- foreach( $fields as $field ) {
136
-
137
- if ( $field->type == 'fieldset' ) {
138
- continue;
139
- }
140
-
141
- if ( isset( $cf[ $field->slug ] ) ) {
142
- $display_val = apply_filters( 'cffrtb_display_value_notification', $rtb_controller->fields->get_display_value( $cf[ $field->slug ], $field, $checkbox_icon ), $cf[ $field->slug ], $field, $notification );
143
- } else {
144
- $display_val = '';
145
- }
146
- $tags[ '{cf-' . esc_attr( $field->slug ) . '}' ] = $display_val;
147
- }
148
-
149
- return $tags;
150
- }
151
-
152
- /**
153
- * Add custom field notification template tag descriptions
154
- *
155
- * @since 0.1
156
- */
157
- public function add_notification_template_tag_descriptions( $tags ) {
158
-
159
- $fields = rtb_get_custom_fields();
160
-
161
- foreach( $fields as $field ) {
162
-
163
- if ( $field->type == 'fieldset' ) {
164
- continue;
165
- }
166
-
167
- $tags[ '{cf-' . esc_attr( $field->slug ) . '}' ] = esc_html( $field->title );
168
- }
169
-
170
- return $tags;
171
- }
172
-
173
- /**
174
- * Override the required phone setting when the phone field has been
175
- * disabled.
176
- *
177
- * @param string $value The value of the setting
178
- * @since 1.2.3
179
- */
180
- public function never_require_phone( $value ) {
181
- global $rtb_controller;
182
-
183
- $modified = get_option( $rtb_controller->custom_fields->modified_option_key );
184
-
185
- if ( $modified && isset( $modified['phone'] ) && !empty( $modified['phone']['disabled'] ) ) {
186
- return '';
187
- }
188
-
189
- return $value;
190
- }
191
-
192
- }
193
- } // endif;
1
+ <?php
2
+ /**
3
+ * A class that handles the main custom field functions
4
+ */
5
+ if ( ! defined( 'ABSPATH' ) )
6
+ exit;
7
+
8
+ if ( !class_exists( 'rtbCustomFields' ) ) {
9
+ class rtbCustomFields {
10
+
11
+ /**
12
+ * Option name for storing modified default fields
13
+ *
14
+ * @since 0.1
15
+ */
16
+ public $modified_option_key;
17
+
18
+ /**
19
+ * Common string tacked onto the end of error messages
20
+ *
21
+ * @since 0.1
22
+ */
23
+ public $common_error_msg;
24
+
25
+ /**
26
+ * Initialize the plugin and register hooks
27
+ *
28
+ * @since 0.1
29
+ */
30
+ public function __construct() {
31
+
32
+ // Option key where information about default fields that have
33
+ // been modified and disabled is stored in the database
34
+ $this->modified_option_key = apply_filters( 'cffrtb_modified_fields_option_key', 'cffrtb_modified_fields' );
35
+
36
+ // Common string tacked onto the end of error messages
37
+ $this->common_error_msg = sprintf( _x( 'Please try again. If the problem persists, you may need to refresh the page. If that does not solve the problem, please %scontact support%s for help.', 'A common phrase added to the end of error messages', 'custom-fields-for-rtb' ), '<a href="http://fivestarplugins.com/contact-us/">', '</a>' );
38
+
39
+ // Validate user input for custom fields
40
+ add_action( 'rtb_validate_booking_submission', array( $this, 'validate_custom_fields_input' ) );
41
+
42
+ // Filter required phone setting when phone field is disabled
43
+ add_filter( 'rtb-setting-require-phone', array( $this, 'never_require_phone' ) );
44
+
45
+ // Insert/load custom field input with booking metadata
46
+ add_filter( 'rtb_insert_booking_metadata', array( $this, 'insert_booking_metadata' ), 10, 2 );
47
+ add_action( 'rtb_booking_load_post_data', array( $this, 'load_booking_meta_data' ), 10, 2 );
48
+
49
+ // Print custom fields in notification template tags
50
+ add_filter( 'rtb_notification_template_tags', array( $this, 'add_notification_template_tags' ), 10, 2 );
51
+ add_filter( 'rtb_notification_template_tag_descriptions', array( $this, 'add_notification_template_tag_descriptions' ) );
52
+
53
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
54
+ }
55
+
56
+ public function enqueue_scripts() {
57
+ $currentScreen = get_current_screen();
58
+ if ( $currentScreen->id == 'bookings_page_cffrtb-editor' ) {
59
+ wp_enqueue_style( 'rtb-admin-css', RTB_PLUGIN_URL . '/assets/css/admin.css', array(), RTB_VERSION );
60
+ wp_enqueue_script( 'rtb-admin-js', RTB_PLUGIN_URL . '/assets/js/admin.js', array( 'jquery' ), RTB_VERSION, true );
61
+ }
62
+ }
63
+
64
+ /**
65
+ * Validate user input for custom fields
66
+ *
67
+ * @since 0.1
68
+ */
69
+ public function validate_custom_fields_input( $booking ) {
70
+
71
+ $fields = rtb_get_custom_fields();
72
+
73
+ if ( !count( $fields ) ) {
74
+ return;
75
+ }
76
+
77
+ foreach( $fields as $field ) {
78
+ $validation = $field->validate_input( $booking );
79
+ }
80
+ }
81
+
82
+ /**
83
+ * Add custom fields to metadata when a booking is saved
84
+ *
85
+ * @since 0.1
86
+ */
87
+ public function insert_booking_metadata( $meta, $booking ) {
88
+
89
+ if ( empty( $booking->custom_fields ) ) {
90
+ return $meta;
91
+ }
92
+
93
+ if ( !is_array( $meta ) ) {
94
+ $meta = array();
95
+ }
96
+
97
+ if ( !isset( $meta['custom_fields'] ) ) {
98
+ $meta['custom_fields'] = array();
99
+ }
100
+
101
+ $meta['custom_fields'] = $booking->custom_fields;
102
+
103
+ return $meta;
104
+ }
105
+
106
+ /**
107
+ * Add custom fields to metadata when booking is loaded
108
+ *
109
+ * @since 0.1
110
+ */
111
+ public function load_booking_meta_data( $booking, $post ) {
112
+
113
+ $meta = get_post_meta( $booking->ID, 'rtb', true );
114
+
115
+ if ( empty( $meta['custom_fields'] ) ) {
116
+ return;
117
+ }
118
+
119
+ $booking->custom_fields = $meta['custom_fields'];
120
+ }
121
+
122
+ /**
123
+ * Add custom fields as notification template tags
124
+ *
125
+ * @since 0.1
126
+ */
127
+ public function add_notification_template_tags( $tags, $notification ) {
128
+ global $rtb_controller;
129
+
130
+ $fields = rtb_get_custom_fields();
131
+
132
+ $cf = isset( $notification->booking->custom_fields ) ? $notification->booking->custom_fields : array();
133
+ $checkbox_icon = apply_filters( 'cffrtb_checkbox_icon_notification', '', $notification );
134
+
135
+ foreach( $fields as $field ) {
136
+
137
+ if ( $field->type == 'fieldset' ) {
138
+ continue;
139
+ }
140
+
141
+ if ( isset( $cf[ $field->slug ] ) ) {
142
+ $display_val = apply_filters( 'cffrtb_display_value_notification', $rtb_controller->fields->get_display_value( $cf[ $field->slug ], $field, $checkbox_icon ), $cf[ $field->slug ], $field, $notification );
143
+ } else {
144
+ $display_val = '';
145
+ }
146
+ $tags[ '{cf-' . esc_attr( $field->slug ) . '}' ] = $display_val;
147
+ }
148
+
149
+ return $tags;
150
+ }
151
+
152
+ /**
153
+ * Add custom field notification template tag descriptions
154
+ *
155
+ * @since 0.1
156
+ */
157
+ public function add_notification_template_tag_descriptions( $tags ) {
158
+
159
+ $fields = rtb_get_custom_fields();
160
+
161
+ foreach( $fields as $field ) {
162
+
163
+ if ( $field->type == 'fieldset' ) {
164
+ continue;
165
+ }
166
+
167
+ $tags[ '{cf-' . esc_attr( $field->slug ) . '}' ] = esc_html( $field->title );
168
+ }
169
+
170
+ return $tags;
171
+ }
172
+
173
+ /**
174
+ * Override the required phone setting when the phone field has been
175
+ * disabled.
176
+ *
177
+ * @param string $value The value of the setting
178
+ * @since 1.2.3
179
+ */
180
+ public function never_require_phone( $value ) {
181
+ global $rtb_controller;
182
+
183
+ $modified = get_option( $rtb_controller->custom_fields->modified_option_key );
184
+
185
+ if ( $modified && isset( $modified['phone'] ) && !empty( $modified['phone']['disabled'] ) ) {
186
+ return '';
187
+ }
188
+
189
+ return $value;
190
+ }
191
+
192
+ }
193
+ } // endif;
includes/Export.PDF.class.php CHANGED
@@ -248,9 +248,9 @@ class ebfrtbExportPDF extends ebfrtbExport {
248
}
249
250
// Load mPDF library
251
- require_once( RTB_PLUGIN_DIR . '/lib/mpdf/mpdf.php' );
252
253
- $mpdf = new mPDF( '', $this->paper_size, '', '', 15, 15, 25 );
254
$mpdf = $this->set_doc_info( $mpdf );
255
256
// Support languages automatically
248
}
249
250
// Load mPDF library
251
+ require_once( RTB_PLUGIN_DIR . '/lib/mpdf/vendor/autoload.php' );
252
253
+ $mpdf = new \Mpdf\Mpdf( [], $this->paper_size, '', '', 15, 15, 25 );
254
$mpdf = $this->set_doc_info( $mpdf );
255
256
// Support languages automatically
includes/ExportHandler.class.php CHANGED
@@ -53,7 +53,7 @@ class rtbExportHandler {
53
54
55
// No warning needed if the directory is writable
56
- if ( wp_is_writable( RTB_PLUGIN_DIR . '/lib/mpdf/ttfontdata/' ) ) {
57
return;
58
}
59
@@ -288,7 +288,7 @@ class rtbExportHandler {
288
<a href="#" class="button" id="ebfrtb-cancel-export-modal">
289
<?php esc_html_e( 'Cancel', 'restaurant-reservations' ); ?>
290
</a>
291
- <a href="<?php echo admin_url( 'admin.php?page=rtb-settings&tab=rtb-export' ); ?>" class="settings">
292
<?php esc_html_e( 'Settings', 'restaurant-reservations' ); ?>
293
</a>
294
</form>
53
54
55
// No warning needed if the directory is writable
56
+ if ( wp_is_writable( RTB_PLUGIN_DIR . '/lib/mpdf/vendor/mpdf/mpdf/tmp/ttfontdata/' ) ) {
57
return;
58
}
59
288
<a href="#" class="button" id="ebfrtb-cancel-export-modal">
289
<?php esc_html_e( 'Cancel', 'restaurant-reservations' ); ?>
290
</a>
291
+ <a href="<?php echo admin_url( 'admin.php?page=rtb-settings&tab=rtb-export-tab' ); ?>" class="settings">
292
<?php esc_html_e( 'Settings', 'restaurant-reservations' ); ?>
293
</a>
294
</form>
includes/Import.class.php CHANGED
@@ -1,279 +1,279 @@
1
- <?php
2
-
3
- /**
4
- * Class to import bookings from a spreadsheet (not working atm)
5
- */
6
-
7
- if ( !defined( 'ABSPATH' ) )
8
- exit;
9
-
10
- if (!class_exists('ComposerAutoloaderInit4618f5c41cf5e27cc7908556f031e4d4')) {require_once FDM_PLUGIN_DIR . '/lib/PHPSpreadsheet/vendor/autoload.php';}
11
- use PhpOffice\PhpSpreadsheet\Spreadsheet;
12
- class rtbImport {
13
-
14
- /**
15
- * Hook suffix for the page
16
- *
17
- * @since 0.1
18
- */
19
- public $hook_suffix;
20
-
21
- /**
22
- * The success/error message content
23
- *
24
- * @since 0.1
25
- */
26
- public $status;
27
-
28
- /**
29
- * Whether the operation was a success or not
30
- *
31
- * @since 0.1
32
- */
33
- public $message;
34
-
35
- public function __construct() {
36
- add_action( 'admin_menu', array($this, 'register_install_screen' ));
37
-
38
- if ( isset( $_POST['rtbImport'] ) ) { add_action( 'admin_init', array($this, 'import_bookings' )); }
39
-
40
- add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_import_scripts' ) );
41
- }
42
-
43
- public function register_install_screen() {
44
- $this->hook_suffix = add_submenu_page(
45
- 'rtb-bookings',
46
- _x( 'Import', 'Title of the Imports page', 'restaurant-reservations' ),
47
- _x( 'Import', 'Title of Imports link in the admin menu', 'restaurant-reservations' ),
48
- 'manage_options',
49
- 'rtb-imports',
50
- array( $this, 'display_editor_page' )
51
- );
52
-
53
- // Print the error modal and enqueue assets
54
- add_action( 'load-' . $this->hook_suffix, array( $this, 'enqueue_admin_assets' ) );
55
- }
56
-
57
- public function display_import_screen() {
58
- global $rtb_controller;
59
-
60
- $import_permission = $rtb_controller->permissions->check_permission( 'import' );
61
- ?>
62
- <div class='wrap'>
63
- <h2>Import</h2>
64
- <?php if ( $import_permission ) { ?>
65
- <form method='post' enctype="multipart/form-data">
66
- <p>
67
- <label for="rtb_bookings_spreadsheet"><?php _e("Spreadsheet Containing Bookings", 'restaurant-reservations') ?></label><br />
68
- <input name="rtb_bookings_spreadsheet" type="file" value=""/>
69
- </p>
70
- <input type='submit' name='rtbImport' value='Import Bookings' class='button button-primary' />
71
- </form>
72
- <?php } else { ?>
73
- <div class='rtb-premium-locked'>
74
- <a href="https://www.fivestarplugins.com/license-payment/?Selected=RTB&Quantity=1" target="_blank">Upgrade</a> to the premium version to use this feature
75
- </div>
76
- <?php } ?>
77
- </div>
78
- <?php }
79
-
80
- public function import_bookings() {
81
- global $rtb_controller;
82
-
83
- $fields = $rtb_controller->settings->get_booking_form_fields();
84
-
85
- $update = $this->handle_spreadsheet_upload();
86
-
87
- if ( $update['message_type'] != 'Success' ) :
88
- $this->status = false;
89
- $this->message = $update['message'];
90
-
91
- add_action( 'admin_notices', array( $this, 'display_notice' ) );
92
-
93
- return;
94
- endif;
95
-
96
- $excel_url = RTB_PLUGIN_DIR . '/user-sheets/' . $update['filename'];
97
-
98
- // Build the workbook object out of the uploaded spreadsheet
99
- $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($excel_url);
100
-
101
- // Create a worksheet object out of the product sheet in the workbook
102
- $sheet = $spreadsheet->getActiveSheet();
103
-
104
- $allowable_fields = array();
105
- foreach ($fields as $field) {$allowable_fields[] = $field->name;}
106
- //List of fields that can be accepted via upload
107
- //$allowed_fields = array("ID", "Title", "Description", "Price", "Sections");
108
-
109
-
110
- // Get column names
111
- $highest_column = $sheet->getHighestColumn();
112
- $highest_column_index = \PhpOffice\PhpSpreadsheet\Cell\Coordinate::columnIndexFromString($highest_column);
113
- for ($column = 1; $column <= $highest_column_index; $column++) {
114
- /*if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "ID") {$ID_column = $column;}
115
- if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Title") {$title_column = $column;}
116
- if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Description") {$description_column = $column;}
117
- if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Price") {$price_column = $column;}
118
- if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Sections") {$sections_column = $column;}*/
119
-
120
- foreach ($fields as $key => $field) {
121
- if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == $field->name) {$field->column = $column;}
122
- }
123
- }
124
-
125
-
126
- // Put the spreadsheet data into a multi-dimensional array to facilitate processing
127
- $highest_row = $sheet->getHighestRow();
128
- for ($row = 2; $row <= $highest_row; $row++) {
129
- for ($column = 1; $column <= $highest_column_index; $column++) {
130
- $data[$row][$column] = $sheet->getCellByColumnAndRow($column, $row)->getValue();
131
- }
132
- }
133
-
134
- // Create the query to insert the products one at a time into the database and then run it
135
- foreach ($data as $booking) {
136
- // Create an array of the values that are being inserted for each order,
137
- // edit if it's a current order, otherwise add it
138
- foreach ($booking as $col_index => $value) {
139
- if ($col_index == $ID_column and $ID_column !== null) {$post['ID'] = esc_sql($value);}
140
- if ($col_index == $title_column and $title_column !== null) {$post['post_title'] = esc_sql($value);}
141
- if ($col_index == $description_column and $description_column !== null) {$post['post_content'] = esc_sql($value);}
142
- if ($col_index == $price_column and $price_column !== null) {$post_prices = explode(",", esc_sql($value));}
143
- if (isset($sections_column) and $col_index == $sections_column and $sections_column !== null) {$post_sections = explode(",", esc_sql($value));}
144
- }
145
-
146
- if (!is_array($post_prices)) {$post_prices = array();}
147
- if (!is_array($post_sections)) {$post_sections = array();}
148
-
149
- if ($post['post_title'] == '') {continue;}
150
-
151
- $post['post_status'] = 'publish';
152
- $post['post_type'] = 'fdm-menu-item';
153
-
154
- if ( isset( $post['ID'] ) and $post['ID'] != '') { $post_id = wp_update_post($post); }
155
- else { $post_id = wp_insert_post($post); }
156
-
157
- if ( $post_id != 0 ) {
158
- foreach ( $post_sections as $section ) {
159
- $menu_section = term_exists($section, 'fdm-menu-section');
160
- if ( $menu_section !== 0 && $menu_section !== null ) { $menu_section_ids[] = (int) $menu_section['term_id']; }
161
- }
162
- if ( isset($menu_section_ids) and is_array($menu_section_ids) ) { wp_set_object_terms($post_id, $menu_section_ids, 'fdm-menu-section'); }
163
-
164
- update_post_meta( $post_id, 'fdm_item_price', implode(",", $post_prices) );
165
-
166
- $field_values = array();
167
- foreach ( $fields as $field ) {
168
- if (isset($field->column) and isset($menu_item[$field->column])) {
169
- $field_values[$field->slug] = esc_sql($menu_item[$field->column]);
170
-
171
- }
172
- }
173
- update_post_meta($post_id, '_fdm_menu_item_custom_fields', $field_values);
174
- }
175
-
176
- unset($post);
177
- unset($post_sections);
178
- unset($menu_section_ids);
179
- unset($post_prices);
180
- unset($field_values);
181
- }
182
-
183
- $this->status = true;
184
- $this->message = __("Menu items added successfully.", 'food-and-drink-menu');
185
-
186
- add_action( 'admin_notices', array( $this, 'display_notice' ) );
187
- }
188
-
189
- function handle_spreadsheet_upload() {
190
- /* Test if there is an error with the uploaded spreadsheet and return that error if there is */
191
- if (!empty($_FILES['fdm_menu_items_spreadsheet']['error']))
192
- {
193
- switch($_FILES['fdm_menu_items_spreadsheet']['error'])
194
- {
195
-
196
- case '1':
197
- $error = __('The uploaded file exceeds the upload_max_filesize directive in php.ini', 'food-and-drink-menu');
198
- break;
199
- case '2':
200
- $error = __('The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form', 'food-and-drink-menu');
201
- break;
202
- case '3':
203
- $error = __('The uploaded file was only partially uploaded', 'food-and-drink-menu');
204
- break;
205
- case '4':
206
- $error = __('No file was uploaded.', 'food-and-drink-menu');
207
- break;
208
-
209
- case '6':
210
- $error = __('Missing a temporary folder', 'food-and-drink-menu');
211
- break;
212
- case '7':
213
- $error = __('Failed to write file to disk', 'food-and-drink-menu');
214
- break;
215
- case '8':
216
- $error = __('File upload stopped by extension', 'food-and-drink-menu');
217
- break;
218
- case '999':
219
- default:
220
- $error = __('No error code avaiable', 'food-and-drink-menu');
221
- }
222
- }
223
- /* Make sure that the file exists */
224
- elseif (empty($_FILES['fdm_menu_items_spreadsheet']['tmp_name']) || $_FILES['fdm_menu_items_spreadsheet']['tmp_name'] == 'none') {
225
- $error = __('No file was uploaded here..', 'food-and-drink-menu');
226
- }
227
- /* Move the file and store the URL to pass it onwards*/
228
- /* Check that it is a .xls or .xlsx file */
229
- if(!isset($_FILES['fdm_menu_items_spreadsheet']['name']) or (!preg_match("/\.(xls.?)#x2F;", $_FILES['fdm_menu_items_spreadsheet']['name']) and !preg_match("/\.(csv.?)#x2F;", $_FILES['fdm_menu_items_spreadsheet']['name']))) {
230
- $error = __('File must be .csv, .xls or .xlsx', 'food-and-drink-menu');
231
- }
232
- else {
233
- $filename = basename( $_FILES['fdm_menu_items_spreadsheet']['name']);
234
- $filename = mb_ereg_replace("([^\w\s\d\-_~,;\[\]\(\).])", '', $filename);
235
- $filename = mb_ereg_replace("([\.]{2,})", '', $filename);
236
-
237
- //for security reason, we force to remove all uploaded file
238
- $target_path = FDM_PLUGIN_DIR . "/user-sheets/";
239
-
240
- $target_path = $target_path . $filename;
241
-
242
- if (!move_uploaded_file($_FILES['fdm_menu_items_spreadsheet']['tmp_name'], $target_path)) {
243
- $error .= "There was an error uploading the file, please try again!";
244
- }
245
- else {
246
- $excel_file_name = $filename;
247
- }
248
- }
249
-
250
- /* Pass the data to the appropriate function in Update_Admin_Databases.php to create the products */
251
- if (!isset($error)) {
252
- $update = array("message_type" => "Success", "filename" => $excel_file_name);
253
- }
254
- else {
255
- $update = array("message_type" => "Error", "message" => $error);
256
- }
257
- return $update;
258
- }
259
-
260
- public function enqueue_import_scripts() {
261
- $screen = get_current_screen();
262
- if($screen->id == 'fdm-menu_page_fdm-import'){
263
- wp_enqueue_style( 'fdm-admin', FDM_PLUGIN_URL . '/assets/css/admin.css', array(), RTB_VERSION );
264
- wp_enqueue_script( 'fdm-admin-js', FDM_PLUGIN_URL . '/assets/js/admin.js', array( 'jquery' ), RTB_VERSION, true );
265
- }
266
- }
267
-
268
- public function display_notice() {
269
- if ( $this->status ) {
270
- echo "<div class='updated'><p>" . $this->message . "</p></div>";
271
- }
272
- else {
273
- echo "<div class='error'><p>" . $this->message . "</p></div>";
274
- }
275
- }
276
-
277
- }
278
-
279
-
1
+ <?php
2
+
3
+ /**
4
+ * Class to import bookings from a spreadsheet (not working atm)
5
+ */
6
+
7
+ if ( !defined( 'ABSPATH' ) )
8
+ exit;
9
+
10
+ if (!class_exists('ComposerAutoloaderInit4618f5c41cf5e27cc7908556f031e4d4')) {require_once FDM_PLUGIN_DIR . '/lib/PHPSpreadsheet/vendor/autoload.php';}
11
+ use PhpOffice\PhpSpreadsheet\Spreadsheet;
12
+ class rtbImport {
13
+
14
+ /**
15
+ * Hook suffix for the page
16
+ *
17
+ * @since 0.1
18
+ */
19
+ public $hook_suffix;
20
+
21
+ /**
22
+ * The success/error message content
23
+ *
24
+ * @since 0.1
25
+ */
26
+ public $status;
27
+
28
+ /**
29
+ * Whether the operation was a success or not
30
+ *
31
+ * @since 0.1
32
+ */
33
+ public $message;
34
+
35
+ public function __construct() {
36
+ add_action( 'admin_menu', array($this, 'register_install_screen' ));
37
+
38
+ if ( isset( $_POST['rtbImport'] ) ) { add_action( 'admin_init', array($this, 'import_bookings' )); }
39
+
40
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_import_scripts' ) );
41
+ }
42
+
43
+ public function register_install_screen() {
44
+ $this->hook_suffix = add_submenu_page(
45
+ 'rtb-bookings',
46
+ _x( 'Import', 'Title of the Imports page', 'restaurant-reservations' ),
47
+ _x( 'Import', 'Title of Imports link in the admin menu', 'restaurant-reservations' ),
48
+ 'manage_options',
49
+ 'rtb-imports',
50
+ array( $this, 'display_editor_page' )
51
+ );
52
+
53
+ // Print the error modal and enqueue assets
54
+ add_action( 'load-' . $this->hook_suffix, array( $this, 'enqueue_admin_assets' ) );
55
+ }
56
+
57
+ public function display_import_screen() {
58
+ global $rtb_controller;
59
+
60
+ $import_permission = $rtb_controller->permissions->check_permission( 'import' );
61
+ ?>
62
+ <div class='wrap'>
63
+ <h2>Import</h2>
64
+ <?php if ( $import_permission ) { ?>
65
+ <form method='post' enctype="multipart/form-data">
66
+ <p>
67
+ <label for="rtb_bookings_spreadsheet"><?php _e("Spreadsheet Containing Bookings", 'restaurant-reservations') ?></label><br />
68
+ <input name="rtb_bookings_spreadsheet" type="file" value=""/>
69
+ </p>
70
+ <input type='submit' name='rtbImport' value='Import Bookings' class='button button-primary' />
71
+ </form>
72
+ <?php } else { ?>
73
+ <div class='rtb-premium-locked'>
74
+ <a href="https://www.fivestarplugins.com/license-payment/?Selected=RTB&Quantity=1" target="_blank">Upgrade</a> to the premium version to use this feature
75
+ </div>
76
+ <?php } ?>
77
+ </div>
78
+ <?php }
79
+
80
+ public function import_bookings() {
81
+ global $rtb_controller;
82
+
83
+ $fields = $rtb_controller->settings->get_booking_form_fields();
84
+
85
+ $update = $this->handle_spreadsheet_upload();
86
+
87
+ if ( $update['message_type'] != 'Success' ) :
88
+ $this->status = false;
89
+ $this->message = $update['message'];
90
+
91
+ add_action( 'admin_notices', array( $this, 'display_notice' ) );
92
+
93
+ return;
94
+ endif;
95
+
96
+ $excel_url = RTB_PLUGIN_DIR . '/user-sheets/' . $update['filename'];
97
+
98
+ // Build the workbook object out of the uploaded spreadsheet
99
+ $spreadsheet = \PhpOffice\PhpSpreadsheet\IOFactory::load($excel_url);
100
+
101
+ // Create a worksheet object out of the product sheet in the workbook
102
+ $sheet = $spreadsheet->getActiveSheet();
103
+
104
+ $allowable_fields = array();
105
+ foreach ($fields as $field) {$allowable_fields[] = $field->name;}
106
+ //List of fields that can be accepted via upload
107
+ //$allowed_fields = array("ID", "Title", "Description", "Price", "Sections");
108
+
109
+
110
+ // Get column names
111
+ $highest_column = $sheet->getHighestColumn();
112
+ $highest_column_index = \PhpOffice\PhpSpreadsheet\Cell\Coordinate::columnIndexFromString($highest_column);
113
+ for ($column = 1; $column <= $highest_column_index; $column++) {
114
+ /*if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "ID") {$ID_column = $column;}
115
+ if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Title") {$title_column = $column;}
116
+ if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Description") {$description_column = $column;}
117
+ if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Price") {$price_column = $column;}
118
+ if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == "Sections") {$sections_column = $column;}*/
119
+
120
+ foreach ($fields as $key => $field) {
121
+ if (trim($sheet->getCellByColumnAndRow($column, 1)->getValue()) == $field->name) {$field->column = $column;}
122
+ }
123
+ }
124
+
125
+
126
+ // Put the spreadsheet data into a multi-dimensional array to facilitate processing
127
+ $highest_row = $sheet->getHighestRow();
128
+ for ($row = 2; $row <= $highest_row; $row++) {
129
+ for ($column = 1; $column <= $highest_column_index; $column++) {
130
+ $data[$row][$column] = $sheet->getCellByColumnAndRow($column, $row)->getValue();
131
+ }
132
+ }
133
+
134
+ // Create the query to insert the products one at a time into the database and then run it
135
+ foreach ($data as $booking) {
136
+ // Create an array of the values that are being inserted for each order,
137
+ // edit if it's a current order, otherwise add it
138
+ foreach ($booking as $col_index => $value) {
139
+ if ($col_index == $ID_column and $ID_column !== null) {$post['ID'] = esc_sql($value);}
140
+ if ($col_index == $title_column and $title_column !== null) {$post['post_title'] = esc_sql($value);}
141
+ if ($col_index == $description_column and $description_column !== null) {$post['post_content'] = esc_sql($value);}
142
+ if ($col_index == $price_column and $price_column !== null) {$post_prices = explode(",", esc_sql($value));}
143
+ if (isset($sections_column) and $col_index == $sections_column and $sections_column !== null) {$post_sections = explode(",", esc_sql($value));}
144
+ }
145
+
146
+ if (!is_array($post_prices)) {$post_prices = array();}
147
+ if (!is_array($post_sections)) {$post_sections = array();}
148
+
149
+ if ($post['post_title'] == '') {continue;}
150
+
151
+ $post['post_status'] = 'publish';
152
+ $post['post_type'] = 'fdm-menu-item';
153
+
154
+ if ( isset( $post['ID'] ) and $post['ID'] != '') { $post_id = wp_update_post($post); }
155
+ else { $post_id = wp_insert_post($post); }
156
+
157
+ if ( $post_id != 0 ) {
158
+ foreach ( $post_sections as $section ) {
159
+ $menu_section = term_exists($section, 'fdm-menu-section');
160
+ if ( $menu_section !== 0 && $menu_section !== null ) { $menu_section_ids[] = (int) $menu_section['term_id']; }
161
+ }
162
+ if ( isset($menu_section_ids) and is_array($menu_section_ids) ) { wp_set_object_terms($post_id, $menu_section_ids, 'fdm-menu-section'); }
163
+
164
+ update_post_meta( $post_id, 'fdm_item_price', implode(",", $post_prices) );
165
+
166
+ $field_values = array();
167
+ foreach ( $fields as $field ) {
168
+ if (isset($field->column) and isset($menu_item[$field->column])) {
169
+ $field_values[$field->slug] = esc_sql($menu_item[$field->column]);
170
+
171
+ }
172
+ }
173
+ update_post_meta($post_id, '_fdm_menu_item_custom_fields', $field_values);
174
+ }
175
+
176
+ unset($post);
177
+ unset($post_sections);
178
+ unset($menu_section_ids);
179
+ unset($post_prices);
180
+ unset($field_values);
181
+ }
182
+
183
+ $this->status = true;
184
+ $this->message = __("Menu items added successfully.", 'food-and-drink-menu');
185
+
186
+ add_action( 'admin_notices', array( $this, 'display_notice' ) );
187
+ }
188
+
189
+ function handle_spreadsheet_upload() {
190
+ /* Test if there is an error with the uploaded spreadsheet and return that error if there is */
191
+ if (!empty($_FILES['fdm_menu_items_spreadsheet']['error']))
192
+ {
193
+ switch($_FILES['fdm_menu_items_spreadsheet']['error'])
194
+ {
195
+
196
+ case '1':
197
+ $error = __('The uploaded file exceeds the upload_max_filesize directive in php.ini', 'food-and-drink-menu');
198
+ break;
199
+ case '2':
200
+ $error = __('The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form', 'food-and-drink-menu');
201
+ break;
202
+ case '3':
203
+ $error = __('The uploaded file was only partially uploaded', 'food-and-drink-menu');
204
+ break;
205
+ case '4':
206
+ $error = __('No file was uploaded.', 'food-and-drink-menu');
207