@ozdao/prometheus-framework 0.2.133 → 0.2.135
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/_virtual/alignment-pattern.cjs +1 -0
- package/dist/_virtual/alignment-pattern.js +4 -0
- package/dist/_virtual/browser.cjs +1 -0
- package/dist/_virtual/browser.js +4 -0
- package/dist/_virtual/canvas.cjs +1 -0
- package/dist/_virtual/canvas.js +4 -0
- package/dist/_virtual/dijkstra.cjs +1 -0
- package/dist/_virtual/dijkstra.js +4 -0
- package/dist/_virtual/error-correction-code.cjs +1 -0
- package/dist/_virtual/error-correction-code.js +4 -0
- package/dist/_virtual/error-correction-level.cjs +1 -0
- package/dist/_virtual/error-correction-level.js +4 -0
- package/dist/_virtual/finder-pattern.cjs +1 -0
- package/dist/_virtual/finder-pattern.js +4 -0
- package/dist/_virtual/format-info.cjs +1 -0
- package/dist/_virtual/format-info.js +4 -0
- package/dist/_virtual/galois-field.cjs +1 -0
- package/dist/_virtual/galois-field.js +4 -0
- package/dist/_virtual/mask-pattern.cjs +1 -0
- package/dist/_virtual/mask-pattern.js +4 -0
- package/dist/_virtual/mode.cjs +1 -0
- package/dist/_virtual/mode.js +4 -0
- package/dist/_virtual/polynomial.cjs +1 -0
- package/dist/_virtual/polynomial.js +4 -0
- package/dist/_virtual/qrcode.cjs +1 -0
- package/dist/_virtual/qrcode.js +4 -0
- package/dist/_virtual/regex.cjs +1 -0
- package/dist/_virtual/regex.js +4 -0
- package/dist/_virtual/segments.cjs +1 -0
- package/dist/_virtual/segments.js +4 -0
- package/dist/_virtual/svg-tag.cjs +1 -0
- package/dist/_virtual/svg-tag.js +4 -0
- package/dist/_virtual/utils.cjs +1 -0
- package/dist/_virtual/utils.js +4 -0
- package/dist/_virtual/utils2.cjs +1 -0
- package/dist/_virtual/utils2.js +4 -0
- package/dist/_virtual/version-check.cjs +1 -0
- package/dist/_virtual/version-check.js +4 -0
- package/dist/_virtual/version.cjs +1 -0
- package/dist/_virtual/version.js +4 -0
- package/dist/auth.server.js +1 -1
- package/dist/auth.server.mjs +1 -1
- package/dist/community.server.js +1 -1
- package/dist/community.server.mjs +1 -1
- package/dist/events.server.js +1 -1
- package/dist/events.server.mjs +1 -1
- package/dist/files.server.js +1 -1
- package/dist/files.server.mjs +1 -1
- package/dist/gallery.server.js +1 -1
- package/dist/gallery.server.mjs +1 -1
- package/dist/index-C-8xOJnM.mjs +244 -0
- package/dist/index-CDbtWkBj.js +243 -0
- package/dist/main-5IrI2IOV.js +92 -0
- package/dist/main-BY2OvGB9.mjs +14509 -0
- package/dist/main.css +1 -1
- package/dist/middlewares.server.js +1 -1
- package/dist/middlewares.server.mjs +1 -1
- package/dist/node_modules/dijkstrajs/dijkstra.cjs +1 -0
- package/dist/node_modules/dijkstrajs/dijkstra.js +70 -0
- package/dist/node_modules/encode-utf8/index.cjs +1 -0
- package/dist/node_modules/encode-utf8/index.js +30 -0
- package/dist/node_modules/qrcode/lib/browser.cjs +1 -0
- package/dist/node_modules/qrcode/lib/browser.js +45 -0
- package/dist/node_modules/qrcode/lib/can-promise.cjs +1 -0
- package/dist/node_modules/qrcode/lib/can-promise.js +6 -0
- package/dist/node_modules/qrcode/lib/core/alignment-pattern.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/alignment-pattern.js +21 -0
- package/dist/node_modules/qrcode/lib/core/alphanumeric-data.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/alphanumeric-data.js +73 -0
- package/dist/node_modules/qrcode/lib/core/bit-buffer.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/bit-buffer.js +24 -0
- package/dist/node_modules/qrcode/lib/core/bit-matrix.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/bit-matrix.js +22 -0
- package/dist/node_modules/qrcode/lib/core/byte-data.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/byte-data.js +24 -0
- package/dist/node_modules/qrcode/lib/core/error-correction-code.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/error-correction-code.js +359 -0
- package/dist/node_modules/qrcode/lib/core/error-correction-level.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/error-correction-level.js +35 -0
- package/dist/node_modules/qrcode/lib/core/finder-pattern.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/finder-pattern.js +18 -0
- package/dist/node_modules/qrcode/lib/core/format-info.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/format-info.js +14 -0
- package/dist/node_modules/qrcode/lib/core/galois-field.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/galois-field.js +22 -0
- package/dist/node_modules/qrcode/lib/core/kanji-data.cjs +2 -0
- package/dist/node_modules/qrcode/lib/core/kanji-data.js +37 -0
- package/dist/node_modules/qrcode/lib/core/mask-pattern.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/mask-pattern.js +96 -0
- package/dist/node_modules/qrcode/lib/core/mode.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/mode.js +64 -0
- package/dist/node_modules/qrcode/lib/core/numeric-data.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/numeric-data.js +26 -0
- package/dist/node_modules/qrcode/lib/core/polynomial.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/polynomial.js +29 -0
- package/dist/node_modules/qrcode/lib/core/qrcode.cjs +4 -0
- package/dist/node_modules/qrcode/lib/core/qrcode.js +159 -0
- package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/reed-solomon-encoder.js +25 -0
- package/dist/node_modules/qrcode/lib/core/regex.cjs +2 -0
- package/dist/node_modules/qrcode/lib/core/regex.js +24 -0
- package/dist/node_modules/qrcode/lib/core/segments.cjs +2 -0
- package/dist/node_modules/qrcode/lib/core/segments.js +143 -0
- package/dist/node_modules/qrcode/lib/core/utils.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/utils.js +74 -0
- package/dist/node_modules/qrcode/lib/core/version-check.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/version-check.js +7 -0
- package/dist/node_modules/qrcode/lib/core/version.cjs +1 -0
- package/dist/node_modules/qrcode/lib/core/version.js +74 -0
- package/dist/node_modules/qrcode/lib/renderer/canvas.cjs +1 -0
- package/dist/node_modules/qrcode/lib/renderer/canvas.js +27 -0
- package/dist/node_modules/qrcode/lib/renderer/svg-tag.cjs +2 -0
- package/dist/node_modules/qrcode/lib/renderer/svg-tag.js +28 -0
- package/dist/node_modules/qrcode/lib/renderer/utils.cjs +1 -0
- package/dist/node_modules/qrcode/lib/renderer/utils.js +52 -0
- package/dist/orders.server.js +1 -1
- package/dist/orders.server.mjs +1 -1
- package/dist/organizations.server.js +1 -1
- package/dist/organizations.server.mjs +1 -1
- package/dist/products.server.js +1 -1
- package/dist/products.server.mjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Field/Field.vue.js +19 -20
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +36 -36
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +29 -29
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +23 -23
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +21 -21
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +8 -8
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +76 -46
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +12 -12
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +16 -16
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Categories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +18 -18
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +32 -32
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +5 -5
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +64 -0
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotSub.vue.js +24 -0
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +181 -0
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/pages/Map.vue.js +478 -0
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/pages/Spot.vue.js +121 -0
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +203 -0
- package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/router/spots.js +92 -0
- package/dist/prometheus-framework/src/modules/spots/spots.client.cjs +1 -0
- package/dist/prometheus-framework/src/modules/spots/spots.client.js +37 -0
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardBalanceReplenished.vue.js +34 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +42 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CashDeposit.vue.js +26 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +76 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue.js +105 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/elements/ConnectMetamask.vue.js +106 -0
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +140 -125
- package/dist/prometheus-framework/src/modules/wallet/views/localization/wallet.json.cjs +1 -0
- package/dist/prometheus-framework/src/modules/wallet/views/localization/wallet.json.js +41 -0
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/store/wallet.store.js +98 -22
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/reports.server.js +1 -1
- package/dist/reports.server.mjs +1 -1
- package/dist/spots.server.js +169 -0
- package/dist/spots.server.mjs +170 -0
- package/dist/style.css +1 -1
- package/dist/wallet.server.js +103 -13
- package/dist/wallet.server.mjs +103 -13
- package/dist/web-5eyiz9L7.mjs +54 -0
- package/dist/web-C04IcLk4.js +1 -0
- package/package.json +1 -1
- package/src/components/Field/Field.vue +1 -1
- package/src/modules/community/components/pages/Blog.vue +1 -1
- package/src/modules/globals/components/layouts/Client.vue +10 -8
- package/src/modules/globals/components/partials/Header.vue +2 -2
- package/src/modules/globals/components/sections/Walkthrough.vue +4 -4
- package/src/modules/globals/globals.client.js +5 -5
- package/src/modules/globals/localization/vue-i18n.js +5 -5
- package/src/modules/landing/components/sections/HowToBuyWDR.vue +2 -3
- package/src/modules/landing/components/sections/SectionEarn.vue +1 -6
- package/src/modules/middlewares/server/authSecret.js +22 -0
- package/src/modules/middlewares/server/index.js +7 -5
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +29 -1
- package/src/modules/spots/components/layouts/Spots.vue +1 -1
- package/src/modules/spots/components/pages/SpotEdit.vue +8 -53
- package/src/modules/spots/models/spot.model.js +7 -7
- package/src/modules/spots/router/spots.js +65 -61
- package/src/modules/spots/spots.client.js +43 -0
- package/src/modules/spots/spots.server.js +31 -0
- package/src/modules/wallet/controllers/factories/rewards.factory.js +87 -2
- package/src/modules/wallet/controllers/routes/rewards.routes.js +27 -3
- package/src/modules/wallet/models/wallet.model.js +5 -5
- package/src/modules/wallet/{components → views/components}/blocks/CardBalanceReplenished.vue +17 -7
- package/src/modules/wallet/{components/blocks/CardDeposite.vue → views/components/blocks/CardDeposit.vue} +4 -4
- package/src/modules/wallet/views/components/blocks/CryptoDeposit.vue +98 -0
- package/src/modules/wallet/views/components/blocks/CryptoDepositProcessing.vue +144 -0
- package/src/modules/wallet/views/components/elements/ConnectMetamask.vue +131 -0
- package/src/modules/wallet/views/components/pages/Wallet.vue +95 -68
- package/src/modules/wallet/views/localization/wallet.json +37 -0
- package/src/modules/wallet/views/store/wallet.store.js +145 -28
- package/src/modules/wallet/wallet.server.js +2 -2
- package/src/modules/spots/components/sections/PlaceModify.vue +0 -113
- package/src/modules/spots/components/sections/Places.vue +0 -119
- package/src/modules/wallet/components/blocks/CryptoDeposite.vue +0 -55
- package/src/modules/wallet/controllers/factories/rewards.factory.aggr.js +0 -181
- package/src/modules/wallet/controllers/factories/rewards.factory.population.js +0 -213
- package/src/modules/wallet/localization/Wallet.json +0 -22
- /package/src/modules/wallet/{components/blocks/CashDeposite.vue → views/components/blocks/CashDeposit.vue} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
const _commonjsHelpers = require("./_commonjsHelpers-DHfMLFPC.js");
|
3
|
-
const index = require("./index-
|
3
|
+
const index = require("./index-CDbtWkBj.js");
|
4
4
|
const verifyUser = index.verifyUser;
|
5
5
|
const verifyInvites = index.verifyInvites;
|
6
6
|
const authJwt = index.authJwt;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-CUmg6egw.mjs";
|
2
|
-
import { v as verifyUser$1, a as verifyInvites$1, b as authJwt$1, c as verifySignUp$1, d as verifyCategory$1, s as server } from "./index-
|
2
|
+
import { v as verifyUser$1, a as verifyInvites$1, b as authJwt$1, c as verifySignUp$1, d as verifyCategory$1, s as server } from "./index-C-8xOJnM.mjs";
|
3
3
|
const verifyUser = verifyUser$1;
|
4
4
|
const verifyInvites = verifyInvites$1;
|
5
5
|
const authJwt = authJwt$1;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../../_virtual/dijkstra.cjs");(function(y){var u={single_source_shortest_paths:function(o,e,t){var r={},i={};i[e]=0;var n=u.PriorityQueue.make();n.push(e,0);for(var f,c,s,p,_,h,a,d,l;!n.empty();){f=n.pop(),c=f.value,p=f.cost,_=o[c]||{};for(s in _)_.hasOwnProperty(s)&&(h=_[s],a=p+h,d=i[s],l=typeof i[s]>"u",(l||d>a)&&(i[s]=a,n.push(s,a),r[s]=c))}if(typeof t<"u"&&typeof i[t]>"u"){var m=["Could not find a path from ",e," to ",t,"."].join("");throw new Error(m)}return r},extract_shortest_path_from_predecessor_list:function(o,e){for(var t=[],r=e;r;)t.push(r),o[r],r=o[r];return t.reverse(),t},find_path:function(o,e,t){var r=u.single_source_shortest_paths(o,e,t);return u.extract_shortest_path_from_predecessor_list(r,t)},PriorityQueue:{make:function(o){var e=u.PriorityQueue,t={},r;o=o||{};for(r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t.queue=[],t.sorter=o.sorter||e.default_sorter,t},default_sorter:function(o,e){return o.cost-e.cost},push:function(o,e){var t={value:o,cost:e};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};y.exports=u})(v.__module);var j=v.__module.exports;exports.dijkstraExports=j;
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { __module as l } from "../../_virtual/dijkstra.js";
|
2
|
+
(function(m) {
|
3
|
+
var u = {
|
4
|
+
single_source_shortest_paths: function(o, e, t) {
|
5
|
+
var r = {}, i = {};
|
6
|
+
i[e] = 0;
|
7
|
+
var n = u.PriorityQueue.make();
|
8
|
+
n.push(e, 0);
|
9
|
+
for (var f, p, s, c, _, h, a, d, v; !n.empty(); ) {
|
10
|
+
f = n.pop(), p = f.value, c = f.cost, _ = o[p] || {};
|
11
|
+
for (s in _)
|
12
|
+
_.hasOwnProperty(s) && (h = _[s], a = c + h, d = i[s], v = typeof i[s] > "u", (v || d > a) && (i[s] = a, n.push(s, a), r[s] = p));
|
13
|
+
}
|
14
|
+
if (typeof t < "u" && typeof i[t] > "u") {
|
15
|
+
var y = ["Could not find a path from ", e, " to ", t, "."].join("");
|
16
|
+
throw new Error(y);
|
17
|
+
}
|
18
|
+
return r;
|
19
|
+
},
|
20
|
+
extract_shortest_path_from_predecessor_list: function(o, e) {
|
21
|
+
for (var t = [], r = e; r; )
|
22
|
+
t.push(r), o[r], r = o[r];
|
23
|
+
return t.reverse(), t;
|
24
|
+
},
|
25
|
+
find_path: function(o, e, t) {
|
26
|
+
var r = u.single_source_shortest_paths(o, e, t);
|
27
|
+
return u.extract_shortest_path_from_predecessor_list(
|
28
|
+
r,
|
29
|
+
t
|
30
|
+
);
|
31
|
+
},
|
32
|
+
/**
|
33
|
+
* A very naive priority queue implementation.
|
34
|
+
*/
|
35
|
+
PriorityQueue: {
|
36
|
+
make: function(o) {
|
37
|
+
var e = u.PriorityQueue, t = {}, r;
|
38
|
+
o = o || {};
|
39
|
+
for (r in e)
|
40
|
+
e.hasOwnProperty(r) && (t[r] = e[r]);
|
41
|
+
return t.queue = [], t.sorter = o.sorter || e.default_sorter, t;
|
42
|
+
},
|
43
|
+
default_sorter: function(o, e) {
|
44
|
+
return o.cost - e.cost;
|
45
|
+
},
|
46
|
+
/**
|
47
|
+
* Add a new item to the queue and ensure the highest priority element
|
48
|
+
* is at the front of the queue.
|
49
|
+
*/
|
50
|
+
push: function(o, e) {
|
51
|
+
var t = { value: o, cost: e };
|
52
|
+
this.queue.push(t), this.queue.sort(this.sorter);
|
53
|
+
},
|
54
|
+
/**
|
55
|
+
* Return the highest priority element in the queue.
|
56
|
+
*/
|
57
|
+
pop: function() {
|
58
|
+
return this.queue.shift();
|
59
|
+
},
|
60
|
+
empty: function() {
|
61
|
+
return this.queue.length === 0;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
};
|
65
|
+
m.exports = u;
|
66
|
+
})(l);
|
67
|
+
var w = l.exports;
|
68
|
+
export {
|
69
|
+
w as d
|
70
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var x=function(f){for(var r=[],s=f.length,e=0;e<s;e++){var u=f.charCodeAt(e);if(u>=55296&&u<=56319&&s>e+1){var h=f.charCodeAt(e+1);h>=56320&&h<=57343&&(u=(u-55296)*1024+h-56320+65536,e+=1)}if(u<128){r.push(u);continue}if(u<2048){r.push(u>>6|192),r.push(u&63|128);continue}if(u<55296||u>=57344&&u<65536){r.push(u>>12|224),r.push(u>>6&63|128),r.push(u&63|128);continue}if(u>=65536&&u<=1114111){r.push(u>>18|240),r.push(u>>12&63|128),r.push(u>>6&63|128),r.push(u&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};exports.encodeUtf8=x;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
var F = function(x) {
|
2
|
+
for (var r = [], s = x.length, h = 0; h < s; h++) {
|
3
|
+
var u = x.charCodeAt(h);
|
4
|
+
if (u >= 55296 && u <= 56319 && s > h + 1) {
|
5
|
+
var f = x.charCodeAt(h + 1);
|
6
|
+
f >= 56320 && f <= 57343 && (u = (u - 55296) * 1024 + f - 56320 + 65536, h += 1);
|
7
|
+
}
|
8
|
+
if (u < 128) {
|
9
|
+
r.push(u);
|
10
|
+
continue;
|
11
|
+
}
|
12
|
+
if (u < 2048) {
|
13
|
+
r.push(u >> 6 | 192), r.push(u & 63 | 128);
|
14
|
+
continue;
|
15
|
+
}
|
16
|
+
if (u < 55296 || u >= 57344 && u < 65536) {
|
17
|
+
r.push(u >> 12 | 224), r.push(u >> 6 & 63 | 128), r.push(u & 63 | 128);
|
18
|
+
continue;
|
19
|
+
}
|
20
|
+
if (u >= 65536 && u <= 1114111) {
|
21
|
+
r.push(u >> 18 | 240), r.push(u >> 12 & 63 | 128), r.push(u >> 6 & 63 | 128), r.push(u & 63 | 128);
|
22
|
+
continue;
|
23
|
+
}
|
24
|
+
r.push(239, 191, 189);
|
25
|
+
}
|
26
|
+
return new Uint8Array(r).buffer;
|
27
|
+
};
|
28
|
+
export {
|
29
|
+
F as e
|
30
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("../../../_virtual/browser.cjs"),m=require("./can-promise.cjs");require("./core/qrcode.cjs");require("./renderer/canvas.cjs");require("./renderer/svg-tag.cjs");const q=require("../../../_virtual/canvas.cjs"),w=require("../../../_virtual/svg-tag.cjs"),C=require("../../../_virtual/qrcode.cjs"),h=m.canPromise,f=C.__exports,_=q.__exports,y=w.__exports;function l(d,e,r,n,i){const a=[].slice.call(arguments,1),o=a.length,c=typeof a[o-1]=="function";if(!c&&!h())throw new Error("Callback required as last argument");if(c){if(o<2)throw new Error("Too few arguments provided");o===2?(i=r,r=e,e=n=void 0):o===3&&(e.getContext&&typeof i>"u"?(i=n,n=void 0):(i=n,n=r,r=e,e=void 0))}else{if(o<1)throw new Error("Too few arguments provided");return o===1?(r=e,e=n=void 0):o===2&&!e.getContext&&(n=r,r=e,e=void 0),new Promise(function(t,g){try{const s=f.create(r,n);t(d(s,e,n))}catch(s){g(s)}})}try{const t=f.create(r,n);i(null,d(t,e,n))}catch(t){i(t)}}u.__exports.create=f.create;u.__exports.toCanvas=l.bind(null,_.render);u.__exports.toDataURL=l.bind(null,_.renderToDataURL);u.__exports.toString=l.bind(null,function(d,e,r){return y.render(d,r)});exports.default=u.__exports;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { __exports as f } from "../../../_virtual/browser.js";
|
2
|
+
import { c as w } from "./can-promise.js";
|
3
|
+
import "./core/qrcode.js";
|
4
|
+
import "./renderer/canvas.js";
|
5
|
+
import "./renderer/svg-tag.js";
|
6
|
+
import { __exports as _ } from "../../../_virtual/canvas.js";
|
7
|
+
import { __exports as C } from "../../../_virtual/svg-tag.js";
|
8
|
+
import { __exports as p } from "../../../_virtual/qrcode.js";
|
9
|
+
const h = w, u = p, g = _, R = C;
|
10
|
+
function m(d, e, r, n, i) {
|
11
|
+
const s = [].slice.call(arguments, 1), o = s.length, l = typeof s[o - 1] == "function";
|
12
|
+
if (!l && !h())
|
13
|
+
throw new Error("Callback required as last argument");
|
14
|
+
if (l) {
|
15
|
+
if (o < 2)
|
16
|
+
throw new Error("Too few arguments provided");
|
17
|
+
o === 2 ? (i = r, r = e, e = n = void 0) : o === 3 && (e.getContext && typeof i > "u" ? (i = n, n = void 0) : (i = n, n = r, r = e, e = void 0));
|
18
|
+
} else {
|
19
|
+
if (o < 1)
|
20
|
+
throw new Error("Too few arguments provided");
|
21
|
+
return o === 1 ? (r = e, e = n = void 0) : o === 2 && !e.getContext && (n = r, r = e, e = void 0), new Promise(function(t, c) {
|
22
|
+
try {
|
23
|
+
const a = u.create(r, n);
|
24
|
+
t(d(a, e, n));
|
25
|
+
} catch (a) {
|
26
|
+
c(a);
|
27
|
+
}
|
28
|
+
});
|
29
|
+
}
|
30
|
+
try {
|
31
|
+
const t = u.create(r, n);
|
32
|
+
i(null, d(t, e, n));
|
33
|
+
} catch (t) {
|
34
|
+
i(t);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
f.create = u.create;
|
38
|
+
f.toCanvas = m.bind(null, g.render);
|
39
|
+
f.toDataURL = m.bind(null, g.renderToDataURL);
|
40
|
+
f.toString = m.bind(null, function(d, e, r) {
|
41
|
+
return R.render(d, r);
|
42
|
+
});
|
43
|
+
export {
|
44
|
+
f as default
|
45
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then};exports.canPromise=e;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const l=require("../../../../_virtual/alignment-pattern.cjs");require("./utils.cjs");const g=require("../../../../_virtual/utils.cjs");(function(r){const c=g.__exports.getSymbolSize;r.getRowColCoords=function(s){if(s===1)return[];const i=Math.floor(s/7)+2,e=c(s),n=e===145?26:Math.ceil((e-13)/(2*i-2))*2,o=[e-7];for(let t=1;t<i-1;t++)o[t]=o[t-1]-n;return o.push(6),o.reverse()},r.getPositions=function(s){const i=[],e=r.getRowColCoords(s),n=e.length;for(let o=0;o<n;o++)for(let t=0;t<n;t++)o===0&&t===0||o===0&&t===n-1||o===n-1&&t===0||i.push([e[o],e[t]]);return i}})(l.__exports);
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { __exports as f } from "../../../../_virtual/alignment-pattern.js";
|
2
|
+
import "./utils.js";
|
3
|
+
import { __exports as u } from "../../../../_virtual/utils.js";
|
4
|
+
(function(r) {
|
5
|
+
const c = u.getSymbolSize;
|
6
|
+
r.getRowColCoords = function(e) {
|
7
|
+
if (e === 1) return [];
|
8
|
+
const i = Math.floor(e / 7) + 2, n = c(e), s = n === 145 ? 26 : Math.ceil((n - 13) / (2 * i - 2)) * 2, o = [n - 7];
|
9
|
+
for (let t = 1; t < i - 1; t++)
|
10
|
+
o[t] = o[t - 1] - s;
|
11
|
+
return o.push(6), o.reverse();
|
12
|
+
}, r.getPositions = function(e) {
|
13
|
+
const i = [], n = r.getRowColCoords(e), s = n.length;
|
14
|
+
for (let o = 0; o < s; o++)
|
15
|
+
for (let t = 0; t < s; t++)
|
16
|
+
o === 0 && t === 0 || // top-left
|
17
|
+
o === 0 && t === s - 1 || // bottom-left
|
18
|
+
o === s - 1 && t === 0 || i.push([n[o], n[t]]);
|
19
|
+
return i;
|
20
|
+
};
|
21
|
+
})(f);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./mode.cjs");const r=require("../../../../_virtual/mode.cjs"),h=r.__exports,a=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function e(n){this.mode=h.ALPHANUMERIC,this.data=n}e.getBitsLength=function(i){return 11*Math.floor(i/2)+6*(i%2)};e.prototype.getLength=function(){return this.data.length};e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)};e.prototype.write=function(i){let t;for(t=0;t+2<=this.data.length;t+=2){let o=a.indexOf(this.data[t])*45;o+=a.indexOf(this.data[t+1]),i.put(o,11)}this.data.length%2&&i.put(a.indexOf(this.data[t]),6)};var s=e;exports.alphanumericData=s;
|
@@ -0,0 +1,73 @@
|
|
1
|
+
import "./mode.js";
|
2
|
+
import { __exports as h } from "../../../../_virtual/mode.js";
|
3
|
+
const r = h, i = [
|
4
|
+
"0",
|
5
|
+
"1",
|
6
|
+
"2",
|
7
|
+
"3",
|
8
|
+
"4",
|
9
|
+
"5",
|
10
|
+
"6",
|
11
|
+
"7",
|
12
|
+
"8",
|
13
|
+
"9",
|
14
|
+
"A",
|
15
|
+
"B",
|
16
|
+
"C",
|
17
|
+
"D",
|
18
|
+
"E",
|
19
|
+
"F",
|
20
|
+
"G",
|
21
|
+
"H",
|
22
|
+
"I",
|
23
|
+
"J",
|
24
|
+
"K",
|
25
|
+
"L",
|
26
|
+
"M",
|
27
|
+
"N",
|
28
|
+
"O",
|
29
|
+
"P",
|
30
|
+
"Q",
|
31
|
+
"R",
|
32
|
+
"S",
|
33
|
+
"T",
|
34
|
+
"U",
|
35
|
+
"V",
|
36
|
+
"W",
|
37
|
+
"X",
|
38
|
+
"Y",
|
39
|
+
"Z",
|
40
|
+
" ",
|
41
|
+
"$",
|
42
|
+
"%",
|
43
|
+
"*",
|
44
|
+
"+",
|
45
|
+
"-",
|
46
|
+
".",
|
47
|
+
"/",
|
48
|
+
":"
|
49
|
+
];
|
50
|
+
function e(n) {
|
51
|
+
this.mode = r.ALPHANUMERIC, this.data = n;
|
52
|
+
}
|
53
|
+
e.getBitsLength = function(a) {
|
54
|
+
return 11 * Math.floor(a / 2) + 6 * (a % 2);
|
55
|
+
};
|
56
|
+
e.prototype.getLength = function() {
|
57
|
+
return this.data.length;
|
58
|
+
};
|
59
|
+
e.prototype.getBitsLength = function() {
|
60
|
+
return e.getBitsLength(this.data.length);
|
61
|
+
};
|
62
|
+
e.prototype.write = function(a) {
|
63
|
+
let t;
|
64
|
+
for (t = 0; t + 2 <= this.data.length; t += 2) {
|
65
|
+
let o = i.indexOf(this.data[t]) * 45;
|
66
|
+
o += i.indexOf(this.data[t + 1]), a.put(o, 11);
|
67
|
+
}
|
68
|
+
this.data.length % 2 && a.put(i.indexOf(this.data[t]), 6);
|
69
|
+
};
|
70
|
+
var d = e;
|
71
|
+
export {
|
72
|
+
d as a
|
73
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(){this.buffer=[],this.length=0}i.prototype={get:function(f){const t=Math.floor(f/8);return(this.buffer[t]>>>7-f%8&1)===1},put:function(f,t){for(let e=0;e<t;e++)this.putBit((f>>>t-e-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(f){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),f&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var n=i;exports.bitBuffer=n;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
function n() {
|
2
|
+
this.buffer = [], this.length = 0;
|
3
|
+
}
|
4
|
+
n.prototype = {
|
5
|
+
get: function(f) {
|
6
|
+
const t = Math.floor(f / 8);
|
7
|
+
return (this.buffer[t] >>> 7 - f % 8 & 1) === 1;
|
8
|
+
},
|
9
|
+
put: function(f, t) {
|
10
|
+
for (let i = 0; i < t; i++)
|
11
|
+
this.putBit((f >>> t - i - 1 & 1) === 1);
|
12
|
+
},
|
13
|
+
getLengthInBits: function() {
|
14
|
+
return this.length;
|
15
|
+
},
|
16
|
+
putBit: function(f) {
|
17
|
+
const t = Math.floor(this.length / 8);
|
18
|
+
this.buffer.length <= t && this.buffer.push(0), f && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
|
19
|
+
}
|
20
|
+
};
|
21
|
+
var e = n;
|
22
|
+
export {
|
23
|
+
e as b
|
24
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}e.prototype.set=function(t,i,r,s){const n=t*this.size+i;this.data[n]=r,s&&(this.reservedBit[n]=!0)};e.prototype.get=function(t,i){return this.data[t*this.size+i]};e.prototype.xor=function(t,i,r){this.data[t*this.size+i]^=r};e.prototype.isReserved=function(t,i){return this.reservedBit[t*this.size+i]};var o=e;exports.bitMatrix=o;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
function r(t) {
|
2
|
+
if (!t || t < 1)
|
3
|
+
throw new Error("BitMatrix size must be defined and greater than 0");
|
4
|
+
this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t);
|
5
|
+
}
|
6
|
+
r.prototype.set = function(t, i, e, s) {
|
7
|
+
const n = t * this.size + i;
|
8
|
+
this.data[n] = e, s && (this.reservedBit[n] = !0);
|
9
|
+
};
|
10
|
+
r.prototype.get = function(t, i) {
|
11
|
+
return this.data[t * this.size + i];
|
12
|
+
};
|
13
|
+
r.prototype.xor = function(t, i, e) {
|
14
|
+
this.data[t * this.size + i] ^= e;
|
15
|
+
};
|
16
|
+
r.prototype.isReserved = function(t, i) {
|
17
|
+
return this.reservedBit[t * this.size + i];
|
18
|
+
};
|
19
|
+
var a = r;
|
20
|
+
export {
|
21
|
+
a as b
|
22
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../../encode-utf8/index.cjs");require("./mode.cjs");const r=require("../../../../_virtual/mode.cjs"),g=o.encodeUtf8,s=r.__exports;function e(t){this.mode=s.BYTE,typeof t=="string"&&(t=g(t)),this.data=new Uint8Array(t)}e.getBitsLength=function(n){return n*8};e.prototype.getLength=function(){return this.data.length};e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)};e.prototype.write=function(t){for(let n=0,i=this.data.length;n<i;n++)t.put(this.data[n],8)};var h=e;exports.byteData=h;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { e as i } from "../../../encode-utf8/index.js";
|
2
|
+
import "./mode.js";
|
3
|
+
import { __exports as r } from "../../../../_virtual/mode.js";
|
4
|
+
const g = i, s = r;
|
5
|
+
function e(t) {
|
6
|
+
this.mode = s.BYTE, typeof t == "string" && (t = g(t)), this.data = new Uint8Array(t);
|
7
|
+
}
|
8
|
+
e.getBitsLength = function(n) {
|
9
|
+
return n * 8;
|
10
|
+
};
|
11
|
+
e.prototype.getLength = function() {
|
12
|
+
return this.data.length;
|
13
|
+
};
|
14
|
+
e.prototype.getBitsLength = function() {
|
15
|
+
return e.getBitsLength(this.data.length);
|
16
|
+
};
|
17
|
+
e.prototype.write = function(t) {
|
18
|
+
for (let n = 0, o = this.data.length; n < o; n++)
|
19
|
+
t.put(this.data[n], 8);
|
20
|
+
};
|
21
|
+
var f = e;
|
22
|
+
export {
|
23
|
+
f as b
|
24
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("../../../../_virtual/error-correction-code.cjs");require("./error-correction-level.cjs");const s=require("../../../../_virtual/error-correction-level.cjs"),t=s.__exports,r=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],u=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];n.__exports.getBlocksCount=function(e,o){switch(o){case t.L:return r[(e-1)*4+0];case t.M:return r[(e-1)*4+1];case t.Q:return r[(e-1)*4+2];case t.H:return r[(e-1)*4+3];default:return}};n.__exports.getTotalCodewordsCount=function(e,o){switch(o){case t.L:return u[(e-1)*4+0];case t.M:return u[(e-1)*4+1];case t.Q:return u[(e-1)*4+2];case t.H:return u[(e-1)*4+3];default:return}};exports.default=n.__exports;
|