@docsector/docsector-reader 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (372) hide show
  1. package/.eslintrc.cjs +42 -0
  2. package/LICENSE.md +9 -0
  3. package/README.md +175 -0
  4. package/bin/docsector.js +129 -0
  5. package/docsector.config.js +54 -0
  6. package/index.html +20 -0
  7. package/jsconfig.json +16 -0
  8. package/package.json +99 -0
  9. package/postcss.config.cjs +5 -0
  10. package/public/Docsphere/flags/abkhazia.png +0 -0
  11. package/public/Docsphere/flags/afghanistan.png +0 -0
  12. package/public/Docsphere/flags/aland-islands.png +0 -0
  13. package/public/Docsphere/flags/albania.png +0 -0
  14. package/public/Docsphere/flags/algeria.png +0 -0
  15. package/public/Docsphere/flags/american-samoa.png +0 -0
  16. package/public/Docsphere/flags/andorra.png +0 -0
  17. package/public/Docsphere/flags/angola.png +0 -0
  18. package/public/Docsphere/flags/anguilla.png +0 -0
  19. package/public/Docsphere/flags/antigua-and-barbuda.png +0 -0
  20. package/public/Docsphere/flags/argentina.png +0 -0
  21. package/public/Docsphere/flags/armenia.png +0 -0
  22. package/public/Docsphere/flags/aruba.png +0 -0
  23. package/public/Docsphere/flags/australia.png +0 -0
  24. package/public/Docsphere/flags/austria.png +0 -0
  25. package/public/Docsphere/flags/azerbaijan.png +0 -0
  26. package/public/Docsphere/flags/azores-islands.png +0 -0
  27. package/public/Docsphere/flags/bahamas.png +0 -0
  28. package/public/Docsphere/flags/bahrain.png +0 -0
  29. package/public/Docsphere/flags/balearic-islands.png +0 -0
  30. package/public/Docsphere/flags/bangladesh.png +0 -0
  31. package/public/Docsphere/flags/barbados.png +0 -0
  32. package/public/Docsphere/flags/basque-country.png +0 -0
  33. package/public/Docsphere/flags/belarus.png +0 -0
  34. package/public/Docsphere/flags/belgium.png +0 -0
  35. package/public/Docsphere/flags/belize.png +0 -0
  36. package/public/Docsphere/flags/benin.png +0 -0
  37. package/public/Docsphere/flags/bermuda.png +0 -0
  38. package/public/Docsphere/flags/bhutan-1.png +0 -0
  39. package/public/Docsphere/flags/bhutan.png +0 -0
  40. package/public/Docsphere/flags/bolivia.png +0 -0
  41. package/public/Docsphere/flags/bonaire.png +0 -0
  42. package/public/Docsphere/flags/bosnia-and-herzegovina.png +0 -0
  43. package/public/Docsphere/flags/botswana.png +0 -0
  44. package/public/Docsphere/flags/brazil.png +0 -0
  45. package/public/Docsphere/flags/british-columbia.png +0 -0
  46. package/public/Docsphere/flags/british-indian-ocean-territory.png +0 -0
  47. package/public/Docsphere/flags/british-virgin-islands.png +0 -0
  48. package/public/Docsphere/flags/brunei.png +0 -0
  49. package/public/Docsphere/flags/bulgaria.png +0 -0
  50. package/public/Docsphere/flags/burkina-faso.png +0 -0
  51. package/public/Docsphere/flags/burundi.png +0 -0
  52. package/public/Docsphere/flags/cambodia.png +0 -0
  53. package/public/Docsphere/flags/cameroon.png +0 -0
  54. package/public/Docsphere/flags/canada.png +0 -0
  55. package/public/Docsphere/flags/canary-islands.png +0 -0
  56. package/public/Docsphere/flags/cape-verde.png +0 -0
  57. package/public/Docsphere/flags/cayman-islands.png +0 -0
  58. package/public/Docsphere/flags/central-african-republic.png +0 -0
  59. package/public/Docsphere/flags/ceuta.png +0 -0
  60. package/public/Docsphere/flags/chad.png +0 -0
  61. package/public/Docsphere/flags/chile.png +0 -0
  62. package/public/Docsphere/flags/china.png +0 -0
  63. package/public/Docsphere/flags/christmas-island.png +0 -0
  64. package/public/Docsphere/flags/cocos-island.png +0 -0
  65. package/public/Docsphere/flags/colombia.png +0 -0
  66. package/public/Docsphere/flags/comoros.png +0 -0
  67. package/public/Docsphere/flags/cook-islands.png +0 -0
  68. package/public/Docsphere/flags/corsica.png +0 -0
  69. package/public/Docsphere/flags/costa-rica.png +0 -0
  70. package/public/Docsphere/flags/croatia.png +0 -0
  71. package/public/Docsphere/flags/cuba.png +0 -0
  72. package/public/Docsphere/flags/curacao.png +0 -0
  73. package/public/Docsphere/flags/cyprus.png +0 -0
  74. package/public/Docsphere/flags/czech-republic.png +0 -0
  75. package/public/Docsphere/flags/democratic-republic-of-congo.png +0 -0
  76. package/public/Docsphere/flags/denmark.png +0 -0
  77. package/public/Docsphere/flags/djibouti.png +0 -0
  78. package/public/Docsphere/flags/dominica.png +0 -0
  79. package/public/Docsphere/flags/dominican-republic.png +0 -0
  80. package/public/Docsphere/flags/east-timor.png +0 -0
  81. package/public/Docsphere/flags/ecuador.png +0 -0
  82. package/public/Docsphere/flags/egypt.png +0 -0
  83. package/public/Docsphere/flags/england.png +0 -0
  84. package/public/Docsphere/flags/equatorial-guinea.png +0 -0
  85. package/public/Docsphere/flags/eritrea.png +0 -0
  86. package/public/Docsphere/flags/estonia.png +0 -0
  87. package/public/Docsphere/flags/ethiopia.png +0 -0
  88. package/public/Docsphere/flags/european-union.png +0 -0
  89. package/public/Docsphere/flags/falkland-islands.png +0 -0
  90. package/public/Docsphere/flags/faroe-islands.png +0 -0
  91. package/public/Docsphere/flags/fiji.png +0 -0
  92. package/public/Docsphere/flags/finland.png +0 -0
  93. package/public/Docsphere/flags/france.png +0 -0
  94. package/public/Docsphere/flags/french-polynesia.png +0 -0
  95. package/public/Docsphere/flags/gabon.png +0 -0
  96. package/public/Docsphere/flags/galapagos-islands.png +0 -0
  97. package/public/Docsphere/flags/gambia.png +0 -0
  98. package/public/Docsphere/flags/georgia.png +0 -0
  99. package/public/Docsphere/flags/germany.png +0 -0
  100. package/public/Docsphere/flags/ghana.png +0 -0
  101. package/public/Docsphere/flags/gibraltar.png +0 -0
  102. package/public/Docsphere/flags/greece.png +0 -0
  103. package/public/Docsphere/flags/greenland.png +0 -0
  104. package/public/Docsphere/flags/grenada.png +0 -0
  105. package/public/Docsphere/flags/guam.png +0 -0
  106. package/public/Docsphere/flags/guatemala.png +0 -0
  107. package/public/Docsphere/flags/guernsey.png +0 -0
  108. package/public/Docsphere/flags/guinea-bissau.png +0 -0
  109. package/public/Docsphere/flags/guinea.png +0 -0
  110. package/public/Docsphere/flags/guyana.png +0 -0
  111. package/public/Docsphere/flags/haiti.png +0 -0
  112. package/public/Docsphere/flags/hawaii.png +0 -0
  113. package/public/Docsphere/flags/honduras.png +0 -0
  114. package/public/Docsphere/flags/hong-kong.png +0 -0
  115. package/public/Docsphere/flags/hungary.png +0 -0
  116. package/public/Docsphere/flags/iceland.png +0 -0
  117. package/public/Docsphere/flags/india.png +0 -0
  118. package/public/Docsphere/flags/indonesia.png +0 -0
  119. package/public/Docsphere/flags/iran.png +0 -0
  120. package/public/Docsphere/flags/iraq.png +0 -0
  121. package/public/Docsphere/flags/ireland.png +0 -0
  122. package/public/Docsphere/flags/isle-of-man.png +0 -0
  123. package/public/Docsphere/flags/israel.png +0 -0
  124. package/public/Docsphere/flags/italy.png +0 -0
  125. package/public/Docsphere/flags/ivory-coast.png +0 -0
  126. package/public/Docsphere/flags/jamaica.png +0 -0
  127. package/public/Docsphere/flags/japan.png +0 -0
  128. package/public/Docsphere/flags/jersey.png +0 -0
  129. package/public/Docsphere/flags/jordan.png +0 -0
  130. package/public/Docsphere/flags/kazakhstan.png +0 -0
  131. package/public/Docsphere/flags/kenya.png +0 -0
  132. package/public/Docsphere/flags/kiribati.png +0 -0
  133. package/public/Docsphere/flags/kosovo.png +0 -0
  134. package/public/Docsphere/flags/kuwait.png +0 -0
  135. package/public/Docsphere/flags/kyrgyzstan.png +0 -0
  136. package/public/Docsphere/flags/laos.png +0 -0
  137. package/public/Docsphere/flags/latvia.png +0 -0
  138. package/public/Docsphere/flags/lebanon.png +0 -0
  139. package/public/Docsphere/flags/lesotho.png +0 -0
  140. package/public/Docsphere/flags/liberia.png +0 -0
  141. package/public/Docsphere/flags/libya.png +0 -0
  142. package/public/Docsphere/flags/liechtenstein.png +0 -0
  143. package/public/Docsphere/flags/lithuania.png +0 -0
  144. package/public/Docsphere/flags/luxembourg.png +0 -0
  145. package/public/Docsphere/flags/macao.png +0 -0
  146. package/public/Docsphere/flags/madagascar.png +0 -0
  147. package/public/Docsphere/flags/madeira.png +0 -0
  148. package/public/Docsphere/flags/malawi.png +0 -0
  149. package/public/Docsphere/flags/malaysia.png +0 -0
  150. package/public/Docsphere/flags/maldives.png +0 -0
  151. package/public/Docsphere/flags/mali.png +0 -0
  152. package/public/Docsphere/flags/malta.png +0 -0
  153. package/public/Docsphere/flags/marshall-island.png +0 -0
  154. package/public/Docsphere/flags/martinique.png +0 -0
  155. package/public/Docsphere/flags/mauritania.png +0 -0
  156. package/public/Docsphere/flags/mauritius.png +0 -0
  157. package/public/Docsphere/flags/melilla.png +0 -0
  158. package/public/Docsphere/flags/mexico.png +0 -0
  159. package/public/Docsphere/flags/micronesia.png +0 -0
  160. package/public/Docsphere/flags/moldova.png +0 -0
  161. package/public/Docsphere/flags/monaco.png +0 -0
  162. package/public/Docsphere/flags/mongolia.png +0 -0
  163. package/public/Docsphere/flags/montenegro.png +0 -0
  164. package/public/Docsphere/flags/montserrat.png +0 -0
  165. package/public/Docsphere/flags/morocco.png +0 -0
  166. package/public/Docsphere/flags/mozambique.png +0 -0
  167. package/public/Docsphere/flags/myanmar.png +0 -0
  168. package/public/Docsphere/flags/namibia.png +0 -0
  169. package/public/Docsphere/flags/nato.png +0 -0
  170. package/public/Docsphere/flags/nauru.png +0 -0
  171. package/public/Docsphere/flags/nepal.png +0 -0
  172. package/public/Docsphere/flags/netherlands.png +0 -0
  173. package/public/Docsphere/flags/new-zealand.png +0 -0
  174. package/public/Docsphere/flags/nicaragua.png +0 -0
  175. package/public/Docsphere/flags/niger.png +0 -0
  176. package/public/Docsphere/flags/nigeria.png +0 -0
  177. package/public/Docsphere/flags/niue.png +0 -0
  178. package/public/Docsphere/flags/norfolk-island.png +0 -0
  179. package/public/Docsphere/flags/north-korea.png +0 -0
  180. package/public/Docsphere/flags/northen-cyprus.png +0 -0
  181. package/public/Docsphere/flags/northern-marianas-islands.png +0 -0
  182. package/public/Docsphere/flags/norway.png +0 -0
  183. package/public/Docsphere/flags/oman.png +0 -0
  184. package/public/Docsphere/flags/orkney-islands.png +0 -0
  185. package/public/Docsphere/flags/ossetia.png +0 -0
  186. package/public/Docsphere/flags/pakistan.png +0 -0
  187. package/public/Docsphere/flags/palau.png +0 -0
  188. package/public/Docsphere/flags/palestine.png +0 -0
  189. package/public/Docsphere/flags/panama.png +0 -0
  190. package/public/Docsphere/flags/papua-new-guinea.png +0 -0
  191. package/public/Docsphere/flags/paraguay.png +0 -0
  192. package/public/Docsphere/flags/peru.png +0 -0
  193. package/public/Docsphere/flags/philippines.png +0 -0
  194. package/public/Docsphere/flags/pitcairn-islands.png +0 -0
  195. package/public/Docsphere/flags/portugal.png +0 -0
  196. package/public/Docsphere/flags/puerto-rico.png +0 -0
  197. package/public/Docsphere/flags/qatar.png +0 -0
  198. package/public/Docsphere/flags/rapa-nui.png +0 -0
  199. package/public/Docsphere/flags/republic-of-macedonia.png +0 -0
  200. package/public/Docsphere/flags/republic-of-poland.png +0 -0
  201. package/public/Docsphere/flags/republic-of-the-congo.png +0 -0
  202. package/public/Docsphere/flags/romania.png +0 -0
  203. package/public/Docsphere/flags/russia.png +0 -0
  204. package/public/Docsphere/flags/rwanda.png +0 -0
  205. package/public/Docsphere/flags/saba-island.png +0 -0
  206. package/public/Docsphere/flags/saint-kitts-and-nevis.png +0 -0
  207. package/public/Docsphere/flags/salvador.png +0 -0
  208. package/public/Docsphere/flags/samoa.png +0 -0
  209. package/public/Docsphere/flags/san-marino.png +0 -0
  210. package/public/Docsphere/flags/sao-tome-and-principe.png +0 -0
  211. package/public/Docsphere/flags/sardinia.png +0 -0
  212. package/public/Docsphere/flags/saudi-arabia.png +0 -0
  213. package/public/Docsphere/flags/scotland.png +0 -0
  214. package/public/Docsphere/flags/senegal.png +0 -0
  215. package/public/Docsphere/flags/serbia.png +0 -0
  216. package/public/Docsphere/flags/seychelles.png +0 -0
  217. package/public/Docsphere/flags/sierra-leone.png +0 -0
  218. package/public/Docsphere/flags/singapore.png +0 -0
  219. package/public/Docsphere/flags/sint-eustatius.png +0 -0
  220. package/public/Docsphere/flags/sint-maarten.png +0 -0
  221. package/public/Docsphere/flags/slovakia.png +0 -0
  222. package/public/Docsphere/flags/slovenia.png +0 -0
  223. package/public/Docsphere/flags/solomon-islands.png +0 -0
  224. package/public/Docsphere/flags/somalia.png +0 -0
  225. package/public/Docsphere/flags/somaliland.png +0 -0
  226. package/public/Docsphere/flags/south-africa.png +0 -0
  227. package/public/Docsphere/flags/south-korea.png +0 -0
  228. package/public/Docsphere/flags/south-sudan.png +0 -0
  229. package/public/Docsphere/flags/spain.png +0 -0
  230. package/public/Docsphere/flags/sri-lanka.png +0 -0
  231. package/public/Docsphere/flags/st-barts.png +0 -0
  232. package/public/Docsphere/flags/st-lucia.png +0 -0
  233. package/public/Docsphere/flags/st-vincent-and-the-grenadines.png +0 -0
  234. package/public/Docsphere/flags/sudan.png +0 -0
  235. package/public/Docsphere/flags/suriname.png +0 -0
  236. package/public/Docsphere/flags/swaziland.png +0 -0
  237. package/public/Docsphere/flags/sweden.png +0 -0
  238. package/public/Docsphere/flags/switzerland.png +0 -0
  239. package/public/Docsphere/flags/syria.png +0 -0
  240. package/public/Docsphere/flags/taiwan.png +0 -0
  241. package/public/Docsphere/flags/tajikistan.png +0 -0
  242. package/public/Docsphere/flags/tanzania.png +0 -0
  243. package/public/Docsphere/flags/thailand.png +0 -0
  244. package/public/Docsphere/flags/tibet.png +0 -0
  245. package/public/Docsphere/flags/togo.png +0 -0
  246. package/public/Docsphere/flags/tokelau.png +0 -0
  247. package/public/Docsphere/flags/tonga.png +0 -0
  248. package/public/Docsphere/flags/transnistria.png +0 -0
  249. package/public/Docsphere/flags/trinidad-and-tobago.png +0 -0
  250. package/public/Docsphere/flags/tunisia.png +0 -0
  251. package/public/Docsphere/flags/turkey.png +0 -0
  252. package/public/Docsphere/flags/turkmenistan.png +0 -0
  253. package/public/Docsphere/flags/turks-and-caicos.png +0 -0
  254. package/public/Docsphere/flags/tuvalu.png +0 -0
  255. package/public/Docsphere/flags/uganda.png +0 -0
  256. package/public/Docsphere/flags/ukraine.png +0 -0
  257. package/public/Docsphere/flags/united-arab-emirates.png +0 -0
  258. package/public/Docsphere/flags/united-kingdom.png +0 -0
  259. package/public/Docsphere/flags/united-nations.png +0 -0
  260. package/public/Docsphere/flags/united-states-of-america.png +0 -0
  261. package/public/Docsphere/flags/uruguay.png +0 -0
  262. package/public/Docsphere/flags/uzbekistn.png +0 -0
  263. package/public/Docsphere/flags/vanuatu.png +0 -0
  264. package/public/Docsphere/flags/vatican-city.png +0 -0
  265. package/public/Docsphere/flags/venezuela.png +0 -0
  266. package/public/Docsphere/flags/vietnam.png +0 -0
  267. package/public/Docsphere/flags/virgin-islands.png +0 -0
  268. package/public/Docsphere/flags/wales.png +0 -0
  269. package/public/Docsphere/flags/western-sahara.png +0 -0
  270. package/public/Docsphere/flags/yemen.png +0 -0
  271. package/public/Docsphere/flags/zambia.png +0 -0
  272. package/public/Docsphere/flags/zimbabwe.png +0 -0
  273. package/public/favicon.ico +0 -0
  274. package/public/images/flags/brazil.png +0 -0
  275. package/public/images/flags/united-states-of-america.png +0 -0
  276. package/public/images/logo.png +0 -0
  277. package/public/logo.png +0 -0
  278. package/public/robots.txt +2 -0
  279. package/public/sad.svg +1 -0
  280. package/quasar.config.js +117 -0
  281. package/src/App.vue +235 -0
  282. package/src/boot/QZoom.js +7 -0
  283. package/src/boot/axios.js +11 -0
  284. package/src/boot/i18n.js +15 -0
  285. package/src/boot/store.js +26 -0
  286. package/src/components/DH1.vue +42 -0
  287. package/src/components/DH2.vue +36 -0
  288. package/src/components/DH3.vue +36 -0
  289. package/src/components/DH4.vue +26 -0
  290. package/src/components/DH5.vue +26 -0
  291. package/src/components/DH6.vue +26 -0
  292. package/src/components/DMenu.vue +446 -0
  293. package/src/components/DMenuItem.vue +127 -0
  294. package/src/components/DPage.vue +222 -0
  295. package/src/components/DPageAnchor.vue +123 -0
  296. package/src/components/DPageBlockquote.vue +19 -0
  297. package/src/components/DPageMeta.vue +203 -0
  298. package/src/components/DPageSection.vue +243 -0
  299. package/src/components/DPageSourceCode.vue +376 -0
  300. package/src/components/DSubpage.vue +33 -0
  301. package/src/components/QZoom.js +278 -0
  302. package/src/components/QZoom.styl +43 -0
  303. package/src/composables/useNavigator.js +113 -0
  304. package/src/css/app.sass +279 -0
  305. package/src/css/quasar.variables.scss +24 -0
  306. package/src/i18n/index.js +126 -0
  307. package/src/i18n/languages/en-US.hjson +98 -0
  308. package/src/i18n/languages/pt-BR.hjson +97 -0
  309. package/src/i18n/tags.hjson +44 -0
  310. package/src/index.js +99 -0
  311. package/src/layouts/DefaultLayout.vue +95 -0
  312. package/src/layouts/SystemLayout.vue +4 -0
  313. package/src/pages/@/404Page.vue +15 -0
  314. package/src/pages/@/BootPage.vue +106 -0
  315. package/src/pages/boot.js +10 -0
  316. package/src/pages/guide/configuration.overview.en-US.md +107 -0
  317. package/src/pages/guide/configuration.overview.pt-BR.md +107 -0
  318. package/src/pages/guide/deployment.overview.en-US.md +49 -0
  319. package/src/pages/guide/deployment.overview.pt-BR.md +49 -0
  320. package/src/pages/guide/getting-started.overview.en-US.md +59 -0
  321. package/src/pages/guide/getting-started.overview.pt-BR.md +59 -0
  322. package/src/pages/guide/i18n-and-markdown.overview.en-US.md +77 -0
  323. package/src/pages/guide/i18n-and-markdown.overview.pt-BR.md +77 -0
  324. package/src/pages/guide/pages-and-routing.overview.en-US.md +85 -0
  325. package/src/pages/guide/pages-and-routing.overview.pt-BR.md +85 -0
  326. package/src/pages/guide/plugins.overview.en-US.md +3 -0
  327. package/src/pages/guide/plugins.overview.pt-BR.md +3 -0
  328. package/src/pages/guide/theming.overview.en-US.md +55 -0
  329. package/src/pages/guide/theming.overview.pt-BR.md +55 -0
  330. package/src/pages/index.js +385 -0
  331. package/src/pages/manual/components/d-headings.overview.en-US.md +54 -0
  332. package/src/pages/manual/components/d-headings.overview.pt-BR.md +54 -0
  333. package/src/pages/manual/components/d-headings.showcase.en-US.md +32 -0
  334. package/src/pages/manual/components/d-headings.showcase.pt-BR.md +32 -0
  335. package/src/pages/manual/components/d-menu.overview.en-US.md +59 -0
  336. package/src/pages/manual/components/d-menu.overview.pt-BR.md +59 -0
  337. package/src/pages/manual/components/d-page-anchor.overview.en-US.md +49 -0
  338. package/src/pages/manual/components/d-page-anchor.overview.pt-BR.md +49 -0
  339. package/src/pages/manual/components/d-page-blockquote.overview.en-US.md +44 -0
  340. package/src/pages/manual/components/d-page-blockquote.overview.pt-BR.md +44 -0
  341. package/src/pages/manual/components/d-page-blockquote.showcase.en-US.md +27 -0
  342. package/src/pages/manual/components/d-page-blockquote.showcase.pt-BR.md +27 -0
  343. package/src/pages/manual/components/d-page-meta.overview.en-US.md +51 -0
  344. package/src/pages/manual/components/d-page-meta.overview.pt-BR.md +51 -0
  345. package/src/pages/manual/components/d-page-section.overview.en-US.md +55 -0
  346. package/src/pages/manual/components/d-page-section.overview.pt-BR.md +55 -0
  347. package/src/pages/manual/components/d-page-section.showcase.en-US.md +43 -0
  348. package/src/pages/manual/components/d-page-section.showcase.pt-BR.md +43 -0
  349. package/src/pages/manual/components/d-page-source-code.overview.en-US.md +54 -0
  350. package/src/pages/manual/components/d-page-source-code.overview.pt-BR.md +54 -0
  351. package/src/pages/manual/components/d-page-source-code.showcase.en-US.md +50 -0
  352. package/src/pages/manual/components/d-page-source-code.showcase.pt-BR.md +50 -0
  353. package/src/pages/manual/components/d-page.overview.en-US.md +56 -0
  354. package/src/pages/manual/components/d-page.overview.pt-BR.md +56 -0
  355. package/src/pages/manual/components/d-page.showcase.en-US.md +35 -0
  356. package/src/pages/manual/components/d-page.showcase.pt-BR.md +35 -0
  357. package/src/pages/manual/components/d-subpage.overview.en-US.md +56 -0
  358. package/src/pages/manual/components/d-subpage.overview.pt-BR.md +56 -0
  359. package/src/pages/manual/components/q-zoom.overview.en-US.md +71 -0
  360. package/src/pages/manual/components/q-zoom.overview.pt-BR.md +71 -0
  361. package/src/pages/manual/composables/use-navigator.overview.en-US.md +89 -0
  362. package/src/pages/manual/composables/use-navigator.overview.pt-BR.md +89 -0
  363. package/src/pages/manual/store/modules.overview.en-US.md +96 -0
  364. package/src/pages/manual/store/modules.overview.pt-BR.md +96 -0
  365. package/src/router/index.js +30 -0
  366. package/src/router/routes.js +93 -0
  367. package/src/store/App.js +43 -0
  368. package/src/store/I18n.js +22 -0
  369. package/src/store/Layout.js +124 -0
  370. package/src/store/Page.js +103 -0
  371. package/src/store/Settings.js +18 -0
  372. package/src/store/index.js +24 -0
@@ -0,0 +1,278 @@
1
+ /*
2
+ * forked from https://github.com/quasarframework/app-extension-qzoom
3
+ * converted from Vue 2 to Vue 3 by Rodrigo Vieira
4
+ * author: Jeff Galbraith
5
+ */
6
+
7
+ import {
8
+ h,
9
+ ref, computed,
10
+ onMounted, onBeforeUnmount
11
+ } from 'vue'
12
+
13
+ import { useColorize } from 'q-colorize-mixin'
14
+
15
+ import { dom } from 'quasar'
16
+ const { offset } = dom
17
+
18
+ import './QZoom.styl'
19
+
20
+ // @
21
+ export default {
22
+ name: 'QZoom',
23
+
24
+ props: {
25
+ backgroundColor: {
26
+ type: String,
27
+ default: 'white'
28
+ },
29
+ restoreOnScroll: Boolean,
30
+ manual: Boolean,
31
+ scale: Boolean,
32
+ initialScale: { type: Number, default: 1.0, validator: v => v >= 0.05 && v <= 10 },
33
+ scaleText: Boolean,
34
+ initialScaleText: { type: Number, default: 100, validator: v => v >= 50 && v <= 500 },
35
+ noCenter: Boolean,
36
+ noWheelScale: Boolean,
37
+ noEscClose: Boolean
38
+ },
39
+
40
+ setup (props, { emit, slots }) {
41
+ const vComponent = ref(null)
42
+
43
+ const zooming = ref(false)
44
+ const zoomed = ref(false)
45
+ const restoring = ref(false)
46
+ const bgColor = ref('transparent')
47
+ const position = ref(null)
48
+ const scaleValue = ref(1.0)
49
+ const scaleTextValue = ref(100)
50
+
51
+ const isTransitioning = computed(() => zooming.value === true || zoomed.value === true || restoring.value === true)
52
+ const isZoomed = computed(() => zoomed.value === true || zooming.value === true)
53
+
54
+ const Colorize = useColorize()
55
+
56
+ // @ Methods
57
+ const show = () => {
58
+ emit('before-zoom')
59
+
60
+ zooming.value = true
61
+ zoomed.value = false
62
+ restoring.value = false
63
+
64
+ position.value = getPosition()
65
+
66
+ setTimeout(() => {
67
+ bgColor.value = props.backgroundColor
68
+ }, 100)
69
+
70
+ setTimeout(() => {
71
+ position.value = getFullScreenPosition()
72
+ zoomed.value = true
73
+
74
+ if (!props.restoreOnScroll) {
75
+ addClass(document.body, 'q-zoom__no-scroll')
76
+ }
77
+
78
+ if (props.scale && !props.scaleText) {
79
+ setScale(props.initialScale)
80
+ }
81
+
82
+ if (props.scaleText && !props.scale) {
83
+ setScaleText(props.initialScaleText)
84
+ }
85
+
86
+ emit('zoomed')
87
+ }, 500)
88
+ }
89
+
90
+ const hide = () => {
91
+ emit('before-restore')
92
+
93
+ restoring.value = true
94
+ zoomed.value = false
95
+ zooming.value = false
96
+
97
+ setScale(1.0)
98
+ setScaleText(100)
99
+
100
+ position.value = getPosition()
101
+
102
+ setTimeout(() => {
103
+ resetTransition()
104
+ removeClass(document.body, 'q-zoom__no-scroll')
105
+
106
+ emit('restored')
107
+ }, 400)
108
+ }
109
+
110
+ const toggle = () => {
111
+ if (isZoomed.value) {
112
+ hide()
113
+ } else {
114
+ show()
115
+ }
116
+ }
117
+
118
+ const setScale = (val) => {
119
+ if (val === scaleValue.value) return
120
+
121
+ if (val >= 0.05 && val <= 10) {
122
+ scaleValue.value = val
123
+
124
+ emit('scale', scaleValue.value)
125
+ }
126
+ }
127
+
128
+ const setScaleText = (val) => {
129
+ if (val === scaleTextValue.value) return
130
+
131
+ if (val >= 50 && val <= 500) {
132
+ scaleTextValue.value = val
133
+
134
+ emit('scale-text', scaleTextValue.value)
135
+ }
136
+ }
137
+
138
+ const addClass = (el, name) => {
139
+ const arr = el.className.split(' ')
140
+
141
+ if (arr.indexOf(name) === -1) {
142
+ arr.push(name)
143
+ el.className = arr.join(' ')
144
+ }
145
+ }
146
+
147
+ const removeClass = (el, name) => {
148
+ const arr = el.className.split(' ')
149
+ const index = arr.indexOf(name)
150
+
151
+ if (index !== -1) {
152
+ arr.splice(index, 1)
153
+ el.className = arr.join(' ')
154
+ }
155
+ }
156
+
157
+ const resetTransition = () => {
158
+ zoomed.value = false
159
+ zooming.value = false
160
+ restoring.value = false
161
+ bgColor.value = 'transparent'
162
+ scaleValue.value = 1.0
163
+ scaleTextValue.value = 100
164
+ }
165
+
166
+ const onScroll = (e) => {
167
+ if (isZoomed.value && props.restoreOnScroll) {
168
+ hide()
169
+
170
+ e.preventDefault()
171
+ }
172
+ }
173
+
174
+ const onKeyup = (e) => {
175
+ if (e.key === 'Escape') {
176
+ if (!props.noEscClose) {
177
+ if (isZoomed.value) {
178
+ hide()
179
+
180
+ e.preventDefault()
181
+ }
182
+ }
183
+ }
184
+ }
185
+
186
+ const getPosition = () => {
187
+ const position = offset(vComponent.value)
188
+
189
+ position.left = position.left + 'px'
190
+ position.top = position.top + 'px'
191
+ position.width = vComponent.value.clientWidth + 'px'
192
+ position.height = vComponent.value.clientHeight + 'px'
193
+
194
+ return position
195
+ }
196
+
197
+ const getFullScreenPosition = () => {
198
+ return { left: 0, top: 0, width: '100%', height: '100%' }
199
+ }
200
+
201
+ const wheelEvent = (e) => {
202
+ if (!props.noWheelScale) {
203
+ if (isZoomed.value && props.scale && !props.scaleText) {
204
+ const less = scaleValue.value > 1 ? -0.5 : -0.1
205
+ const more = scaleValue.value > 1 ? 0.5 : 0.1
206
+ const val = (e.wheelDeltaY < 0 ? less : more)
207
+
208
+ setScale(scaleValue.value + val)
209
+
210
+ e.preventDefault()
211
+ } else if (isZoomed.value && props.scaleText && !props.scale) {
212
+ const val = (e.wheelDeltaY < 0 ? -1 : 1)
213
+
214
+ setScaleText(scaleTextValue.value + val)
215
+
216
+ e.preventDefault()
217
+ }
218
+ }
219
+ }
220
+
221
+ // @ Events
222
+ onMounted(() => {
223
+ document.addEventListener('scroll', onScroll)
224
+ document.addEventListener('keyup', onKeyup)
225
+ })
226
+
227
+ onBeforeUnmount(() => {
228
+ document.removeEventListener('scroll', onScroll)
229
+ document.removeEventListener('keyup', onKeyup)
230
+ })
231
+
232
+ // @
233
+ const __renderOverlayContent = () => {
234
+ const slot = slots.default
235
+
236
+ return h('div', Colorize.setBackgroundColor(props.backgroundColor, {
237
+ class: 'q-zoom__content' +
238
+ (props.noCenter ? ' q-zoom__no-center' : ''),
239
+ style: {
240
+ left: position.value.left,
241
+ top: position.value.top,
242
+ width: position.value.width,
243
+ height: position.value.height,
244
+ transform: props.scale && !props.scaleText && `scale(${scaleValue.value})`,
245
+ fontSize: props.scaleText && !props.scale && `${scaleTextValue.value}%`
246
+ }
247
+ }), [
248
+ slot && slot({ zoomed: isZoomed.value })
249
+ ])
250
+ }
251
+
252
+ const __renderOverlay = () => {
253
+ if (!isTransitioning.value) {
254
+ return null
255
+ }
256
+
257
+ return h('div', Colorize.setBackgroundColor(bgColor.value, {
258
+ class: 'q-zoom__overlay' +
259
+ (props.manual ? '' : ' q-zoom__zoom-out')
260
+ }), [
261
+ __renderOverlayContent()
262
+ ])
263
+ }
264
+
265
+ return () => h('div', {
266
+ class: 'q-zoom' +
267
+ (props.manual ? '' : ' q-zoom__zoom-in'),
268
+
269
+ onClick: toggle,
270
+ onWheel: wheelEvent,
271
+
272
+ ref: vComponent
273
+ }, [
274
+ slots.default && slots.default({ zoomed: isZoomed.value }),
275
+ __renderOverlay()
276
+ ])
277
+ }
278
+ }
@@ -0,0 +1,43 @@
1
+ $box-shadow ?= 1px 1px 7px 1px rgba(0,0,0,.2)
2
+
3
+ .q-zoom
4
+ position relative
5
+ padding 0
6
+ margin 0
7
+
8
+ &__zoom-in
9
+ cursor zoom-in
10
+
11
+ &__zoom-out
12
+ cursor zoom-out
13
+
14
+ &__overlay
15
+ position fixed
16
+ transition all .5s linear
17
+ left 0
18
+ top 0
19
+ width 100%
20
+ height 100%
21
+ background-color transparent
22
+ padding 0
23
+ margin 0
24
+ z-index 6000
25
+
26
+ &__content
27
+ position relative
28
+ display block
29
+ transition all .5s cubic-bezier(.2,0,.2,1)
30
+ text-align center
31
+ vertical-align middle
32
+ width 100%
33
+ height 0
34
+ max-width 100%
35
+ max-height 100%
36
+ overflow hidden
37
+
38
+ &__no-center
39
+ text-align unset
40
+ vertical-align unset
41
+
42
+ &__no-scroll
43
+ overflow: hidden;
@@ -0,0 +1,113 @@
1
+ import { scroll, Platform } from 'quasar'
2
+ import { useStore } from 'vuex'
3
+ import { useRouter, useRoute } from 'vue-router'
4
+ import { ref } from 'vue'
5
+
6
+ export default function useNavigator() {
7
+ const store = useStore()
8
+ const router = useRouter()
9
+ const route = useRoute()
10
+ const selected = ref(null)
11
+
12
+ const register = (id) => {
13
+ store.commit('page/pushAnchors', id)
14
+ }
15
+
16
+ const index = (id, child = false) => {
17
+ store.commit('page/pushNodes', {
18
+ id,
19
+ label: selected.value,
20
+ child,
21
+ children: []
22
+ })
23
+ }
24
+
25
+ const select = (id) => {
26
+ store.commit('page/setAnchor', Number(id))
27
+ store.commit('page/pushNodesExpanded', Number(id))
28
+ }
29
+
30
+ const anchor = (id, toSelect = true) => {
31
+ store.commit('page/setScrolling', false)
32
+
33
+ id = '' + id
34
+ const Anchor = document.getElementById(id)
35
+
36
+ if (Anchor !== null && typeof Anchor === 'object') {
37
+ const ScrollTarget = scroll.getScrollTarget(Anchor)
38
+ const AnchorOffsetTop = Anchor.offsetTop
39
+
40
+ scroll.setVerticalScrollPosition(ScrollTarget, AnchorOffsetTop, 300)
41
+
42
+ setTimeout(() => {
43
+ store.commit('page/setScrolling', true)
44
+ }, 600)
45
+ }
46
+
47
+ if (toSelect) {
48
+ select(id)
49
+ }
50
+ }
51
+
52
+ const scrolling = (scroll) => {
53
+ const scrolling = store.state.page.scrolling
54
+ if (!scrolling) {
55
+ return
56
+ }
57
+
58
+ const scrollPositionTop = scroll.position.top + 50
59
+ const anchors = store.state.page.anchors
60
+
61
+ for (let i = 0; i < anchors.length; i++) {
62
+ const anchorId = anchors[i]
63
+
64
+ if (anchorId === 0) {
65
+ continue
66
+ }
67
+
68
+ const Anchor = document.getElementById(anchorId)
69
+ let AnchorOffsetTop = 20
70
+ if (Anchor !== null && typeof Anchor === 'object') {
71
+ AnchorOffsetTop = Anchor.offsetTop
72
+ }
73
+
74
+ if (scrollPositionTop >= AnchorOffsetTop) {
75
+ select(anchorId)
76
+ }
77
+ }
78
+ }
79
+
80
+ const navigate = (value, toAnchor = true) => {
81
+ if (toAnchor) {
82
+ if (('#' + value) === route.hash) {
83
+ anchor(value)
84
+ return
85
+ } else if (value === null) {
86
+ anchor(selected.value, false)
87
+ return
88
+ }
89
+ }
90
+
91
+ router.push(route.path + '#' + value)
92
+
93
+ if (toAnchor) {
94
+ if (Platform.is.desktop) {
95
+ anchor(value)
96
+ } else {
97
+ setTimeout(() => {
98
+ anchor(value)
99
+ }, 600)
100
+ }
101
+ }
102
+ }
103
+
104
+ return {
105
+ register,
106
+ index,
107
+ select,
108
+ anchor,
109
+ scrolling,
110
+ navigate,
111
+ selected
112
+ }
113
+ }
@@ -0,0 +1,279 @@
1
+ /* --- Docsector Reader --- */
2
+ @font-face
3
+ font-family: "Fira Code Nerd Font"
4
+ src: url('/fonts/FiraCodeNerdFont-Regular.ttf') format('truetype')
5
+ font-weight: normal
6
+ font-style: normal
7
+ // * General
8
+ body
9
+ font-family: "Roboto", "Consolas"
10
+
11
+ // * Coloring
12
+ // Light mode
13
+ body.body--light
14
+ --q-primary: #655529 !important
15
+ --q-secondary: #000080 !important
16
+
17
+ --q-primary-background: #FFF !important
18
+
19
+ .content
20
+ h1, h2, h3, h4, h5, h6
21
+ color: black
22
+
23
+ &:hover
24
+ color: #595959
25
+ &:hover:after
26
+ color: #69562b
27
+ // token
28
+ code:not(pre > code)
29
+ color: var(--q-primary) !important
30
+ background: var(--q-primary-background) !important
31
+ border: 1px solid #e6e6e6 !important
32
+ box-shadow: 0 1px 1px rgba(0, 0, 0, 0.125)
33
+
34
+ a
35
+ color: #34495e
36
+ &:not([data-scroll]):not(.search-result):not(.support-button):not(.header-link):hover
37
+ &:not(.button)
38
+ color: #286fa3
39
+ background-color: #cde3f3
40
+ &:not([data-scroll]):not(.search-result):not(.support-button):not(.header-link):not(.line)
41
+ color: #1b4a6c
42
+ border-bottom: 1px dotted #1b4a6c
43
+ // Dark mode
44
+ body.body--dark
45
+ --q-primary: #69562b !important
46
+ --q-primary-in-dark-bg: #C1A667 !important
47
+ --q-secondary: #FFA07A !important
48
+ --q-negative: #fc001b !important
49
+
50
+ --q-light-in-dark-1: #ababab
51
+ --q-light-in-dark-2: #c9c9c9
52
+
53
+ --q-primary-background: #FFF !important
54
+
55
+ color: var(--q-light-in-dark-1)
56
+
57
+ .content
58
+ h1, h2, h3, h4, h5, h6
59
+ color: var(--q-light-in-dark-1)
60
+
61
+ &:hover
62
+ color: #969696
63
+ &:hover:after
64
+ color: #B19248
65
+ section
66
+ color: var(--q-light-in-dark-2)
67
+ // token
68
+ code:not(pre > code)
69
+ color: var(--q-primary-in-dark-bg) !important
70
+ background: var(--q-dark) !important
71
+ border: 1px solid #e6e6e6
72
+ box-shadow: 0 1px 1px rgba(255, 255, 255, 0.5)
73
+
74
+ a
75
+ color: #34495e
76
+ &:not([data-scroll]):not(.search-result):not(.support-button):not(.header-link):hover
77
+ &:not(.button)
78
+ color: #286fa3
79
+ background-color: #cde3f3
80
+ &:not([data-scroll]):not(.search-result):not(.support-button):not(.header-link):not(.line)
81
+ color: #3da6f3
82
+ border-bottom: 1px dotted #1b4a6c
83
+
84
+ // * General
85
+ .content
86
+ --big-play-button-background: #000 !important
87
+ --big-play-button-background-dark: #000 !important
88
+
89
+ h1, h2, h3, h4, h5, h6
90
+ font-weight: 600
91
+ padding: 6px
92
+ cursor: pointer
93
+ user-select: none
94
+
95
+ &:hover:after
96
+ content: ' #'
97
+ font-weight: bold
98
+
99
+ h1
100
+ font-size: 2rem
101
+ line-height: 2rem
102
+ margin: 0 0 0.7em
103
+ h2
104
+ font-size: 1.7rem
105
+ line-height: 1.7rem
106
+ margin: 1.35em 0 0.7em
107
+ border-bottom: 1px solid #ddd
108
+ h3
109
+ font-size: 1.5rem
110
+ line-height: 1.5rem
111
+ margin: 1.4em 0 0.7em
112
+
113
+ &:first-child
114
+ margin-top: 0
115
+ &:before
116
+ content: '# '
117
+ h4
118
+ font-size: 1.25rem
119
+ line-height: 1.25rem
120
+ margin: 1em 0 0.7em
121
+ h5
122
+ font-size: 1.12rem
123
+ line-height: 1.12rem
124
+ margin: 0.5em 0 0.3em
125
+ h6
126
+ font-size: 1.06rem
127
+ line-height: 1.06rem
128
+ margin: 0.3em 0 0.1em
129
+
130
+ code:not(pre > code)
131
+ padding: 3px 5px
132
+ margin: 0 2px
133
+ border-radius: 2px
134
+ white-space: pre-wrap
135
+ display: inline-block
136
+ line-height: 0.85em
137
+
138
+ a
139
+ text-decoration: none
140
+ outline: 0
141
+ cursor: pointer
142
+ &:not([data-scroll]):not(.search-result):not(.support-button):not(.header-link):not(.line)
143
+ font-weight: 700
144
+ padding: 0 2px
145
+ transition: all 0.3s ease
146
+
147
+ &.overview
148
+ blockquote
149
+ margin: 2.5em 0
150
+ padding: 0
151
+ p
152
+ padding: 0.5em 1em
153
+ background-color: #fafafa !important
154
+ letter-spacing: 0.5px
155
+ img
156
+ border: 0
157
+ max-width: 100%
158
+ strong
159
+ font-weight: 600
160
+ hr
161
+ margin: 2em 0
162
+ height: 2px
163
+ background-color: #e5e5e5
164
+ border: 0
165
+ padding: 0
166
+ iframe
167
+ border: 0
168
+ margin: 1em 0
169
+ ul
170
+ padding-left: 1.25em
171
+ line-height: 1.4em
172
+ span
173
+ &.light
174
+ color: #57a0d6
175
+ &.info
176
+ font-size: 0.85em
177
+ display: inline-block
178
+ vertical-align: middle
179
+ width: 280px
180
+ margin-left: 20px
181
+ table
182
+ max-width: 100%
183
+ border: 1px solid #eee
184
+ border-radius: 4px
185
+ border-spacing: 0
186
+ box-shadow: 1px 2px 2px 1px rgba(0,0,0,0.125)
187
+ th
188
+ font-weight: bold
189
+ border-bottom: 2px solid #eee
190
+ text-align: left
191
+ tr
192
+ vertical-align: top
193
+ &:not(.js-file-line-container)
194
+ tr
195
+ &:nth-child(2n)
196
+ background: #f8f8f8
197
+ figure
198
+ table
199
+ border: 0
200
+ box-shadow: none
201
+ th
202
+ border-bottom: 0
203
+ .highlight
204
+ pre
205
+ padding: 0
206
+ .line
207
+ min-height: 20px
208
+ & > h1
209
+ i
210
+ font-size: 70%
211
+ vertical-align: middle
212
+ color: #286fa3
213
+ ul ul,
214
+ ul p
215
+ margin: 0.6em 0
216
+ ul,
217
+ ol
218
+ line-height: 1.6em
219
+ ul,
220
+ ol
221
+ padding-left: 1.5em
222
+ table th,
223
+ table td
224
+ padding: 10px 10px
225
+
226
+
227
+
228
+ /* --- Quasar --- */
229
+ // * General
230
+ .q-item__section--avatar
231
+ min-width: 45px
232
+ // ! Layouts
233
+ // QDrawer
234
+ .q-drawer__opener
235
+ top: 86px
236
+
237
+ // ! Components
238
+ // QDialog
239
+ .q-dialog__inner > div
240
+ border-radius: 0 !important
241
+ // QList
242
+ // QList -> Item
243
+ .q-item__section--main + .q-item__section--main
244
+ margin-left: 0
245
+ // QList -> Item -> Label
246
+ .q-item__label--header
247
+ font-weight: 500
248
+ padding-left: 0
249
+ padding-bottom: 10px
250
+ // QBtn
251
+ .q-btn
252
+ &.filled
253
+ padding: 13px
254
+ // QScrollArea
255
+ .q-scrollarea__thumb
256
+ z-index: 3
257
+ // QTree
258
+ .q-tree__node
259
+ padding: 0 0 3px 5px
260
+ .q-tree__node-header:before
261
+ width: 15px
262
+ left: -18px !important
263
+ // QSelect
264
+ .q-field--labeled .q-field__native,
265
+ .q-field--labeled .q-field__prefix,
266
+ .q-field--labeled .q-field__suffix
267
+ padding-bottom: 0
268
+
269
+ // * Coloring
270
+ // Light mode
271
+ body.body--light
272
+ .q-item__label--header
273
+ color: #565656
274
+ .q-tree__arrow
275
+ color: #474747
276
+ // Dark mode
277
+ body.body--dark
278
+ .q-tree__arrow
279
+ color: #a9a9a9