Browse Source

Initial commit

master
wahyu 1 month ago
commit
a6327de818
560 changed files with 159709 additions and 0 deletions
  1. +9
    -0
      .editorconfig
  2. +7
    -0
      .eslintignore
  3. +65
    -0
      .eslintrc.cjs
  4. +69
    -0
      .eslintrc.js
  5. +37
    -0
      .gitignore
  6. +3
    -0
      .gitmodules
  7. +5
    -0
      .npmrc
  8. +15
    -0
      .vscode/extensions.json
  9. +8
    -0
      .vscode/settings.json
  10. +43
    -0
      README.md
  11. +44
    -0
      index.html
  12. +9
    -0
      init.sh
  13. +17
    -0
      jsconfig.json
  14. +10781
    -0
      package-lock.json
  15. +71
    -0
      package.json
  16. +27
    -0
      postcss.config.cjs
  17. BIN
      public/assets/ebooks.webp
  18. BIN
      public/favicon.ico
  19. BIN
      public/icons/apple-icon-120x120.png
  20. BIN
      public/icons/apple-icon-152x152.png
  21. BIN
      public/icons/apple-icon-167x167.png
  22. BIN
      public/icons/apple-icon-180x180.png
  23. BIN
      public/icons/apple-launch-1080x2340.png
  24. BIN
      public/icons/apple-launch-1125x2436.png
  25. BIN
      public/icons/apple-launch-1170x2532.png
  26. BIN
      public/icons/apple-launch-1179x2556.png
  27. BIN
      public/icons/apple-launch-1242x2208.png
  28. BIN
      public/icons/apple-launch-1242x2688.png
  29. BIN
      public/icons/apple-launch-1284x2778.png
  30. BIN
      public/icons/apple-launch-1290x2796.png
  31. BIN
      public/icons/apple-launch-1536x2048.png
  32. BIN
      public/icons/apple-launch-1620x2160.png
  33. BIN
      public/icons/apple-launch-1668x2224.png
  34. BIN
      public/icons/apple-launch-1668x2388.png
  35. BIN
      public/icons/apple-launch-2048x2732.png
  36. BIN
      public/icons/apple-launch-750x1334.png
  37. BIN
      public/icons/apple-launch-828x1792.png
  38. BIN
      public/icons/favicon-128x128.png
  39. BIN
      public/icons/favicon-16x16.png
  40. BIN
      public/icons/favicon-32x32.png
  41. BIN
      public/icons/favicon-96x96.png
  42. BIN
      public/icons/favicon.png
  43. BIN
      public/icons/icon-128x128.png
  44. BIN
      public/icons/icon-192x192.png
  45. BIN
      public/icons/icon-256x256.png
  46. BIN
      public/icons/icon-384x384.png
  47. BIN
      public/icons/icon-512x512.png
  48. BIN
      public/icons/logo-dasmap.png
  49. BIN
      public/icons/ms-icon-144x144.png
  50. +1
    -0
      public/icons/safari-pinned-tab.svg
  51. +27
    -0
      public/lib/geolocation-worker.js
  52. +21
    -0
      public/lib/pdf-viewer-master/LICENSE
  53. +43
    -0
      public/lib/pdf-viewer-master/README.md
  54. +2
    -0
      public/lib/pdf-viewer-master/external/jquery-3.4.1.min.js
  55. +23599
    -0
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/build/pdf.js
  56. +55370
    -0
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/build/pdf.worker.js
  57. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-EUC-H.bcmap
  58. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-EUC-V.bcmap
  59. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-H.bcmap
  60. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-RKSJ-H.bcmap
  61. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-RKSJ-V.bcmap
  62. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-V.bcmap
  63. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78ms-RKSJ-H.bcmap
  64. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78ms-RKSJ-V.bcmap
  65. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/83pv-RKSJ-H.bcmap
  66. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90ms-RKSJ-H.bcmap
  67. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90ms-RKSJ-V.bcmap
  68. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90msp-RKSJ-H.bcmap
  69. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90msp-RKSJ-V.bcmap
  70. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90pv-RKSJ-H.bcmap
  71. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90pv-RKSJ-V.bcmap
  72. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-H.bcmap
  73. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-RKSJ-H.bcmap
  74. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-RKSJ-V.bcmap
  75. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-V.bcmap
  76. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-0.bcmap
  77. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-1.bcmap
  78. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-2.bcmap
  79. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-3.bcmap
  80. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-4.bcmap
  81. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-5.bcmap
  82. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-6.bcmap
  83. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-UCS2.bcmap
  84. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-0.bcmap
  85. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-1.bcmap
  86. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-2.bcmap
  87. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-3.bcmap
  88. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-4.bcmap
  89. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-5.bcmap
  90. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-UCS2.bcmap
  91. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-0.bcmap
  92. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-1.bcmap
  93. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-2.bcmap
  94. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-3.bcmap
  95. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-4.bcmap
  96. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-5.bcmap
  97. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-6.bcmap
  98. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-UCS2.bcmap
  99. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Korea1-0.bcmap
  100. BIN
      public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Korea1-1.bcmap

+ 9
- 0
.editorconfig View File

@ -0,0 +1,9 @@
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

+ 7
- 0
.eslintignore View File

@ -0,0 +1,7 @@
/dist
/src-capacitor
/src-cordova
/.quasar
/node_modules
.eslintrc.cjs
/quasar.config.*.temporary.compiled*

+ 65
- 0
.eslintrc.cjs View File

@ -0,0 +1,65 @@
module.exports = {
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
// This option interrupts the configuration hierarchy at this file
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
root: true,
parserOptions: {
ecmaVersion: 2021, // Allows for the parsing of modern ECMAScript features
},
env: {
node: true,
browser: true
},
// Rules order is important, please avoid shuffling them
extends: [
// Base ESLint recommended rules
// 'eslint:recommended',
// Uncomment any of the lines below to choose desired strictness,
// but leave only one uncommented!
// See https://eslint.vuejs.org/rules/#available-rules
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
// https://github.com/prettier/eslint-config-prettier#installation
// usage with Prettier, provided by 'eslint-config-prettier'.
'prettier'
],
plugins: [
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
// required to lint *.vue files
'vue',
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
// Prettier has not been included as plugin to avoid performance impact
// add it as an extension for your IDE
],
globals: {
ga: 'readonly', // Google Analytics
cordova: 'readonly',
__statics: 'readonly',
__QUASAR_SSR__: 'readonly',
__QUASAR_SSR_SERVER__: 'readonly',
__QUASAR_SSR_CLIENT__: 'readonly',
__QUASAR_SSR_PWA__: 'readonly',
process: 'readonly',
Capacitor: 'readonly',
chrome: 'readonly'
},
// add your custom rules here
rules: {
'prefer-promise-reject-errors': 'off',
// allow debugger during development only
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}

+ 69
- 0
.eslintrc.js View File

@ -0,0 +1,69 @@
module.exports = {
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
// This option interrupts the configuration hierarchy at this file
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
root: true,
parserOptions: {
ecmaVersion: '2021', // Allows for the parsing of modern ECMAScript features
},
env: {
node: true,
browser: true,
'vue/setup-compiler-macros': true
},
// Rules order is important, please avoid shuffling them
extends: [
// Base ESLint recommended rules
// 'eslint:recommended',
// Uncomment any of the lines below to choose desired strictness,
// but leave only one uncommented!
// See https://eslint.vuejs.org/rules/#available-rules
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
// https://github.com/prettier/eslint-config-prettier#installation
// usage with Prettier, provided by 'eslint-config-prettier'.
'prettier'
],
plugins: [
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
// required to lint *.vue files
'vue',
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
// Prettier has not been included as plugin to avoid performance impact
// add it as an extension for your IDE
],
globals: {
ga: 'readonly', // Google Analytics
cordova: 'readonly',
__statics: 'readonly',
__QUASAR_SSR__: 'readonly',
__QUASAR_SSR_SERVER__: 'readonly',
__QUASAR_SSR_CLIENT__: 'readonly',
__QUASAR_SSR_PWA__: 'readonly',
process: 'readonly',
Capacitor: 'readonly',
chrome: 'readonly'
},
// add your custom rules here
rules: {
'prefer-promise-reject-errors': 'off',
"vue/multi-word-component-names": "off",
"vue/no-reserved-component-names": "off",
// allow debugger during development only
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
}
}

+ 37
- 0
.gitignore View File

@ -0,0 +1,37 @@
.DS_Store
.thumbs.db
node_modules
# Quasar core related directories
.quasar
/dist
/quasar.config.*.temporary.compiled*
# Cordova related directories and files
/src-cordova/node_modules
/src-cordova/platforms
/src-cordova/plugins
/src-cordova/www
# Capacitor related directories and files
/src-capacitor/www
/src-capacitor/node_modules
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Editor directories and files
.idea
*.suo
*.ntvs*
*.njsproj
*.sln
# local .env files
.env.local*
dasmapCore
dasmapCore/*
dasmap/eagles*

+ 3
- 0
.gitmodules View File

@ -0,0 +1,3 @@
[submodule "dasmap"]
path = dasmap
url = https://git.dasmap.com/dasmap.com/dasmapCore

+ 5
- 0
.npmrc View File

@ -0,0 +1,5 @@
# pnpm-related options
shamefully-hoist=true
strict-peer-dependencies=false
# to get the latest compatible packages when creating the project https://github.com/pnpm/pnpm/issues/6463
resolution-mode=highest

+ 15
- 0
.vscode/extensions.json View File

@ -0,0 +1,15 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"vue.volar",
"wayou.vscode-todo-highlight"
],
"unwantedRecommendations": [
"octref.vetur",
"hookyqr.beautify",
"dbaeumer.jshint",
"ms-vscode.vscode-typescript-tslint-plugin"
]
}

+ 8
- 0
.vscode/settings.json View File

@ -0,0 +1,8 @@
{
"editor.bracketPairColorization.enabled": true,
"editor.guides.bracketPairs": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": ["source.fixAll.eslint"],
"eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"]
}

+ 43
- 0
README.md View File

@ -0,0 +1,43 @@
# DasmapQu (dasmapqu)
Aplikasi DasmapQu
## Install the dependencies
```bash
yarn
# or
npm install
```
### Start the app in development mode (hot-code reloading, error reporting, etc.)
```bash
quasar dev
```
### Lint the files
```bash
yarn lint
# or
npm run lint
```
### Format the files
```bash
yarn format
# or
npm run format
```
### Build the app for production
```bash
quasar build
```
### Customize the configuration
See [Configuring quasar.config.js](https://v2.quasar.dev/quasar-cli-vite/quasar-config-js).

+ 44
- 0
index.html View File

@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<title><%= productName %></title>
<meta charset="utf-8" />
<meta name="description" content="<%= productDescription %>" />
<meta name="format-detection" content="telephone=no" />
<meta name="msapplication-tap-highlight" content="no" />
<meta
name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>"
/>
<link
rel="icon"
type="image/png"
sizes="128x128"
href="icons/favicon-128x128.png"
/>
<link
rel="icon"
type="image/png"
sizes="96x96"
href="icons/favicon-96x96.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="icons/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="icons/favicon-16x16.png"
/>
<link rel="icon" type="image/ico" href="favicon.ico" />
</head>
<body>
<!-- quasar:entry-point -->
</body>
</html>

+ 9
- 0
init.sh View File

@ -0,0 +1,9 @@
#!/bin/bash
git rm -rf dasmap
git submodule add --force https://git.dasmap.com/dasmap.com/dasmapCore dasmap
git submodule init
git submodule update --rebase --remote

+ 17
- 0
jsconfig.json View File

@ -0,0 +1,17 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"src/*": ["src/*"],
"app/*": ["*"],
"components/*": ["src/components/*"],
"layouts/*": ["src/layouts/*"],
"pages/*": ["src/pages/*"],
"assets/*": ["src/assets/*"],
"boot/*": ["src/boot/*"],
"stores/*": ["src/stores/*"],
"vue$": ["node_modules/vue/dist/vue.runtime.esm-bundler.js"]
}
},
"exclude": ["dist", ".quasar", "node_modules"]
}

+ 10781
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 71
- 0
package.json View File

@ -0,0 +1,71 @@
{
"name": "dasmapqu",
"version": "0.0.1",
"description": "Aplikasi DasmapQu",
"productName": "DasmapQu",
"author": "PT Das Map Indonesia <suppport@dasmap.id>",
"private": true,
"scripts": {
"lint": "eslint --ext .js,.vue ./",
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test": "echo \"No test specified\" && exit 0",
"dev": "quasar dev",
"build": "quasar build"
},
"dependencies": {
"cordova-plugin-background-geolocation": "^1.0.6",
"@fullcalendar/bootstrap": "^6.1.17",
"@fullcalendar/core": "^6.1.17",
"@fullcalendar/daygrid": "^6.1.17",
"@fullcalendar/interaction": "^6.1.17",
"@fullcalendar/list": "^6.1.17",
"@fullcalendar/timegrid": "^6.1.17",
"@fullcalendar/vue": "^6.1.17",
"@fullcalendar/vue3": "6.1.8",
"@quasar/extras": "^1.16.4",
"@quasar/icongenie": "^3.0.0",
"@turf/boolean-point-in-polygon": "^6.5.0",
"@turf/buffer": "^6.5.0",
"@turf/difference": "^6.5.0",
"@turf/intersect": "^6.5.0",
"@turf/line-intersect": "^6.5.0",
"@turf/union": "^6.5.0",
"axios": "^1.2.1",
"jszip": "^3.10.1",
"ol": "^9.0.0",
"ol-mapbox-style": "^12.2.1",
"pinia": "^2.0.11",
"proj4": "^2.9.0",
"quasar": "^2.8.0",
"shpjs": "^6.1.0",
"vue": "^3.4.18",
"vue-client-recaptcha": "^1.0.9",
"vue-draggable-resizable": "^3.0.0",
"vue-i18n": "^9.0.0",
"vue-router": "^4.0.12",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@intlify/vite-plugin-vue-i18n": "^3.3.1",
"@quasar/app-vite": "^1.8.0",
"autoprefixer": "^10.4.2",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-vue": "^9.0.0",
"postcss": "^8.4.14",
"prettier": "^2.5.1",
"vite-plugin-checker": "^0.6.4",
"workbox-build": "^7.0.0",
"workbox-cacheable-response": "^7.0.0",
"workbox-core": "^7.0.0",
"workbox-expiration": "^7.0.0",
"workbox-precaching": "^7.0.0",
"workbox-routing": "^7.0.0",
"workbox-strategies": "^7.0.0"
},
"engines": {
"node": "^20 || ^18 || ^16",
"npm": ">= 6.13.4",
"yarn": ">= 1.21.1"
}
}

+ 27
- 0
postcss.config.cjs View File

@ -0,0 +1,27 @@
/* eslint-disable */
// https://github.com/michael-ciniawsky/postcss-load-config
module.exports = {
plugins: [
// https://github.com/postcss/autoprefixer
require('autoprefixer')({
overrideBrowserslist: [
'last 4 Chrome versions',
'last 4 Firefox versions',
'last 4 Edge versions',
'last 4 Safari versions',
'last 4 Android versions',
'last 4 ChromeAndroid versions',
'last 4 FirefoxAndroid versions',
'last 4 iOS versions'
]
})
// https://github.com/elchininet/postcss-rtlcss
// If you want to support RTL css, then
// 1. yarn/npm install postcss-rtlcss
// 2. optionally set quasar.config.js > framework > lang to an RTL language
// 3. uncomment the following line:
// require('postcss-rtlcss')
]
}

BIN
public/assets/ebooks.webp View File

Before After
Width: 1119  |  Height: 618  |  Size: 92 KiB

BIN
public/favicon.ico View File

Before After

BIN
public/icons/apple-icon-120x120.png View File

Before After
Width: 120  |  Height: 120  |  Size: 2.2 KiB

BIN
public/icons/apple-icon-152x152.png View File

Before After
Width: 152  |  Height: 152  |  Size: 3.6 KiB

BIN
public/icons/apple-icon-167x167.png View File

Before After
Width: 167  |  Height: 167  |  Size: 3.1 KiB

BIN
public/icons/apple-icon-180x180.png View File

Before After
Width: 180  |  Height: 180  |  Size: 3.8 KiB

BIN
public/icons/apple-launch-1080x2340.png View File

Before After
Width: 1080  |  Height: 2340  |  Size: 11 KiB

BIN
public/icons/apple-launch-1125x2436.png View File

Before After
Width: 1125  |  Height: 2436  |  Size: 12 KiB

BIN
public/icons/apple-launch-1170x2532.png View File

Before After
Width: 1170  |  Height: 2532  |  Size: 16 KiB

BIN
public/icons/apple-launch-1179x2556.png View File

Before After
Width: 1179  |  Height: 2556  |  Size: 12 KiB

BIN
public/icons/apple-launch-1242x2208.png View File

Before After
Width: 1242  |  Height: 2208  |  Size: 13 KiB

BIN
public/icons/apple-launch-1242x2688.png View File

Before After
Width: 1242  |  Height: 2688  |  Size: 14 KiB

BIN
public/icons/apple-launch-1284x2778.png View File

Before After
Width: 1284  |  Height: 2778  |  Size: 14 KiB

BIN
public/icons/apple-launch-1290x2796.png View File

Before After
Width: 1290  |  Height: 2796  |  Size: 15 KiB

BIN
public/icons/apple-launch-1536x2048.png View File

Before After
Width: 1536  |  Height: 2048  |  Size: 25 KiB

BIN
public/icons/apple-launch-1620x2160.png View File

Before After
Width: 1620  |  Height: 2160  |  Size: 24 KiB

BIN
public/icons/apple-launch-1668x2224.png View File

Before After
Width: 1668  |  Height: 2224  |  Size: 25 KiB

BIN
public/icons/apple-launch-1668x2388.png View File

Before After
Width: 1668  |  Height: 2388  |  Size: 26 KiB

BIN
public/icons/apple-launch-2048x2732.png View File

Before After
Width: 2048  |  Height: 2732  |  Size: 32 KiB

BIN
public/icons/apple-launch-750x1334.png View File

Before After
Width: 750  |  Height: 1334  |  Size: 6.8 KiB

BIN
public/icons/apple-launch-828x1792.png View File

Before After
Width: 828  |  Height: 1792  |  Size: 7.3 KiB

BIN
public/icons/favicon-128x128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 2.4 KiB

BIN
public/icons/favicon-16x16.png View File

Before After
Width: 16  |  Height: 16  |  Size: 536 B

BIN
public/icons/favicon-32x32.png View File

Before After
Width: 32  |  Height: 32  |  Size: 826 B

BIN
public/icons/favicon-96x96.png View File

Before After
Width: 96  |  Height: 96  |  Size: 2.2 KiB

BIN
public/icons/favicon.png View File

Before After
Width: 128  |  Height: 128  |  Size: 2.6 KiB

BIN
public/icons/icon-128x128.png View File

Before After
Width: 128  |  Height: 128  |  Size: 2.4 KiB

BIN
public/icons/icon-192x192.png View File

Before After
Width: 192  |  Height: 192  |  Size: 5.5 KiB

BIN
public/icons/icon-256x256.png View File

Before After
Width: 256  |  Height: 256  |  Size: 7.6 KiB

BIN
public/icons/icon-384x384.png View File

Before After
Width: 384  |  Height: 384  |  Size: 15 KiB

BIN
public/icons/icon-512x512.png View File

Before After
Width: 512  |  Height: 512  |  Size: 22 KiB

BIN
public/icons/logo-dasmap.png View File

Before After
Width: 888  |  Height: 1269  |  Size: 94 KiB

BIN
public/icons/ms-icon-144x144.png View File

Before After
Width: 144  |  Height: 144  |  Size: 3.5 KiB

+ 1
- 0
public/icons/safari-pinned-tab.svg
File diff suppressed because it is too large
View File


+ 27
- 0
public/lib/geolocation-worker.js View File

@ -0,0 +1,27 @@
// geolocation-worker.js
// Handle the geolocation updates
//~ function handlePositionUpdate(position) {
//~ // Process the position data, e.g., post it back to the main thread
//~ self.postMessage(position);
//~ }
//~ console.log("navigator",navigator);
//~ // Set up a watch for position changes
//~ const watchId = navigator.geolocation.watchPosition(
//~ handlePositionUpdate,
//~ (error) => console.error('Geolocation error:', error)
//~ );
//~ // Terminate the worker when needed
//~ self.addEventListener('terminate', () => {
//~ navigator.geolocation.clearWatch(watchId);
//~ });
self.onmessage = (event) => {
const position = event.data;
console.log('New geolocation data received in the worker:', position);
// Process the geolocation data as needed
};

+ 21
- 0
public/lib/pdf-viewer-master/LICENSE View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018-2019 RaffaeleMorganti
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

+ 43
- 0
public/lib/pdf-viewer-master/README.md View File

@ -0,0 +1,43 @@
# PDF Viewer
PDF viewer with flip-book interface integration to allow read files flipping pages like a book.
## Info
This is a web viewer written in javascript with no external dependencies. It works with almost every browser.
Try it now [HERE](https://raffaelemorganti.github.io/pdf-viewer/)
## Requirements
Despite no external dependencies in order to build this project some external script are included:
* jQuery 3.4.1 downloaded [here](https://jquery.com/download/).
* PDF.js 2.1.266 downloaded [here](https://mozilla.github.io/pdf.js/getting_started/#download).
* turn.js 4.1.0 downloaded [here](http://www.turnjs.com/).
## Develop
If you want to add features feel free to make a PR.
To help you to understand how it works here a list of modified files in order to accomplish this result:
| Type | Path | Files |
| --- | --- | --- |
| JS | ./external/pdfjs/ | viewer.js |
| HTML | ./external/pdfjs/ | index.html |
| ALL | ./pdf-turn/ | ***NEW*** |
Any change in files not listed as NEW is marked with a `$FB:` comment. Files listed as NEW are build to accomplish final result.
Other files come directly from specified source without any edit. External libraries files not used were deleted to make the source slimmer and clearer.
## Known problems
* __Book Flip__ texts are not included in PDF.js locales, so are not translated to the user language. In order to solve this you should go in _'pdfjs/locale/YOUR_LANG'_ and add to the _'viewer.properties'_ file following lines:
```
book_flip.title = Flip pages like a book
book_flip_label = Flip book
```
* If you find any other bug open a new Issue
## License
This project is released under [MIT License](https://github.com/RaffaeleMorganti/pdf-viewer/blob/master/LICENSE) however some code come from external with following licenses:
* jQuery released under [MIT License](https://github.com/jquery/jquery/blob/master/LICENSE.txt)
* PDF.js released under [Apache License](https://github.com/mozilla/pdf.js/blob/master/LICENSE)
* turn.js released under [BSD License](https://github.com/blasten/turn.js/blob/master/license.txt)

+ 2
- 0
public/lib/pdf-viewer-master/external/jquery-3.4.1.min.js
File diff suppressed because it is too large
View File


+ 23599
- 0
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/build/pdf.js
File diff suppressed because it is too large
View File


+ 55370
- 0
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/build/pdf.worker.js
File diff suppressed because it is too large
View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-EUC-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-EUC-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-RKSJ-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78ms-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/78ms-RKSJ-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/83pv-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90ms-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90ms-RKSJ-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90msp-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90msp-RKSJ-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90pv-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/90pv-RKSJ-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-RKSJ-H.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-RKSJ-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Add-V.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-0.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-1.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-2.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-3.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-4.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-5.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-6.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-CNS1-UCS2.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-0.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-1.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-2.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-3.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-4.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-5.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-GB1-UCS2.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-0.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-1.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-2.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-3.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-4.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-5.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-6.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Japan1-UCS2.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Korea1-0.bcmap View File


BIN
public/lib/pdf-viewer-master/external/pdfjs-2.1.266-dist/web/cmaps/Adobe-Korea1-1.bcmap View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save