@ozdao/prometheus-framework 0.1.62 → 0.1.66
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/BackofficeGallery-30022293.js +1 -0
- package/dist/BackofficeGallery-f64daa0d.mjs +264 -0
- package/dist/BackofficeReports-cb4b180d.mjs +44 -0
- package/dist/BackofficeReports-d021871f.js +1 -0
- package/dist/BlockTags-8cddaef7.js +1 -0
- package/dist/BlockTags-ee310572.mjs +853 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Button-7643c9aa.js +1 -0
- package/dist/Button-9e1a9284.mjs +226 -0
- package/dist/Button.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Button.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/ButtonToggleMembership-7ee4dc8e.mjs +90 -0
- package/dist/ButtonToggleMembership-b9352cec.js +1 -0
- package/dist/CardBlogpost-3c92fbc9.mjs +246 -0
- package/dist/CardBlogpost-c7364b1e.js +1 -0
- package/dist/CardOrganization-647cb571.js +1 -0
- package/dist/CardOrganization-facb77f7.mjs +234 -0
- package/dist/CardProduct-92affca1.js +1 -0
- package/dist/CardProduct-fca53299.mjs +193 -0
- package/dist/Checkbox-5dbe7b23.mjs +62 -0
- package/dist/Checkbox-76f09248.js +1 -0
- package/dist/Chips-0fdb31c9.js +1 -0
- package/dist/Chips-f1a0d085.mjs +214 -0
- package/dist/Community-534d473c.mjs +132 -0
- package/dist/Community-e9aff969.js +1 -0
- package/dist/Dashboard-91d73bc5.js +1 -0
- package/dist/Dashboard-ea9035bc.mjs +152 -0
- package/dist/Dropdown-31115457.js +1 -0
- package/dist/Dropdown-cab3605b.mjs +146 -0
- package/dist/EULA-aba6a807.js +1 -0
- package/dist/EULA-e05236af.mjs +4210 -0
- package/dist/EditOrder-94bbebff.mjs +221 -0
- package/dist/EditOrder-c070d474.js +1 -0
- package/dist/EmptyState-d65bab5b.js +1 -0
- package/dist/EmptyState-e404b05d.mjs +36 -0
- package/dist/Events-46ae8fc6.mjs +123 -0
- package/dist/Events-813c8c7b.js +1 -0
- package/dist/Feed-2d443ad2.mjs +146 -0
- package/dist/Feed-3a4e7a9c.js +1 -0
- package/dist/Feed-8b554fc1.js +1 -0
- package/dist/Feed-98b47c6f.js +1 -0
- package/dist/Feed-a21d6007.mjs +124 -0
- package/dist/Feed-b39138c8.js +1 -0
- package/dist/Feed-c41ef736.mjs +361 -0
- package/dist/Feed-d114330c.mjs +112 -0
- package/dist/Field-e2a43424.js +1 -0
- package/dist/Field-e5ad88d3.mjs +75 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-0ea8fbf8.js +1 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_f4a29b0d_lang-4ed993c7.mjs +1 -0
- package/dist/Gallery-46b5f939.js +1 -0
- package/dist/Gallery-762a9c2d.mjs +241 -0
- package/dist/IconChevronRight-a55f838e.js +1 -0
- package/dist/IconChevronRight-fae9d012.mjs +28 -0
- package/dist/IconCommunity-468dc457.mjs +65 -0
- package/dist/IconCommunity-b339e806.js +1 -0
- package/dist/IconCross-5bf93179.js +1 -0
- package/dist/IconCross-84cb1292.mjs +28 -0
- package/dist/IconEdit-9edfd74d.mjs +21 -0
- package/dist/IconEdit-c0469b45.js +1 -0
- package/dist/Image-4dcfddb8.js +9 -0
- package/dist/Image-e0da17ac.mjs +571 -0
- package/dist/LabelGooglePlay-24feb437.mjs +31 -0
- package/dist/LabelGooglePlay-f80e5ff0.js +1 -0
- package/dist/LeftoverAdd-5a8988d9.js +1 -0
- package/dist/LeftoverAdd-c4f37f47.mjs +227 -0
- package/dist/Leftovers-470a1689.js +1 -0
- package/dist/Leftovers-69c7dcd9.mjs +136 -0
- package/dist/Loader-21f016da.js +1 -0
- package/dist/Loader-cd422786.mjs +41 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Loader.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Members-04273cd4.mjs +114 -0
- package/dist/Members-0685a15f.js +1 -0
- package/dist/Menu-b5d6a0c7.js +1 -0
- package/dist/Menu-dd7645c1.mjs +13 -0
- package/dist/MenuItem-56ae7f94.js +1 -0
- package/dist/MenuItem-6296d02f.mjs +63 -0
- package/dist/Orders-b64e8cb9.js +1 -0
- package/dist/Orders-ff30db05.mjs +75 -0
- package/dist/Organizations-46aab2c8.mjs +73 -0
- package/dist/Organizations-a8627bc5.js +1 -0
- package/dist/Payments-53e5fecf.js +1 -0
- package/dist/Payments-82e545e1.mjs +87 -0
- package/dist/PlaceholderUserpic-14c6ea7e.mjs +28 -0
- package/dist/PlaceholderUserpic-47f6f319.js +1 -0
- package/dist/Popup-0915427c.mjs +74 -0
- package/dist/Popup-795f5c88.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Popup.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Product-7e001b81.js +7 -0
- package/dist/Product-f3f42158.mjs +653 -0
- package/dist/ProductEdit-959b3cd3.mjs +295 -0
- package/dist/ProductEdit-bae5e898.js +1 -0
- package/dist/ProductsBackoffice-0716123f.js +1 -0
- package/dist/ProductsBackoffice-a36ecbc6.mjs +85 -0
- package/dist/ProfileBlogposts-c790d1b2.js +1 -0
- package/dist/ProfileBlogposts-f43cf32e.mjs +79 -0
- package/dist/ProfileEvents-12f80fff.mjs +70 -0
- package/dist/ProfileEvents-585570a3.js +1 -0
- package/dist/ProfileOrganizations-bbc2cf40.mjs +73 -0
- package/dist/ProfileOrganizations-d7103514.js +1 -0
- package/dist/Publics-094f3c2c.mjs +45 -0
- package/dist/Publics-1032c0f4.js +1 -0
- package/dist/Select-11ddabf5.mjs +79 -0
- package/dist/Select-3ca5ab39.js +1 -0
- package/dist/SelectMulti-58704d69.mjs +1038 -0
- package/dist/SelectMulti-c25765cf.js +1 -0
- package/dist/SkeletonBlogpost-95db0fa9.js +1 -0
- package/dist/SkeletonBlogpost-e0621af7.mjs +16 -0
- package/dist/SkeletonEvent-8690422d.mjs +16 -0
- package/dist/SkeletonEvent-eb284de8.js +1 -0
- package/dist/SkeletonEventShort-6c9e3940.js +1 -0
- package/dist/SkeletonEventShort-f030e56f.mjs +16 -0
- package/dist/SkeletonOrganization-5c09cfc5.js +1 -0
- package/dist/SkeletonOrganization-8690422d.mjs +16 -0
- package/dist/Socials-31c06635.mjs +74 -0
- package/dist/Socials-cceaeaf2.js +1 -0
- package/dist/Tab-054b61f7.mjs +46 -0
- package/dist/Tab-2c1e4224.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-0ea8fbf8.js +1 -0
- package/dist/Tab.vue_vue_type_style_index_0_lang-4ed993c7.mjs +1 -0
- package/dist/Upload-06d93178.js +1 -0
- package/dist/Upload-23212d9d.mjs +74 -0
- package/dist/UploadImage-0f488170.js +1 -0
- package/dist/UploadImage-3c627d89.mjs +83 -0
- package/dist/UploadImageMultiple-cb6c7188.mjs +58 -0
- package/dist/UploadImageMultiple-eddaac87.js +1 -0
- package/dist/Wallet-2043b611.mjs +24682 -0
- package/dist/Wallet-8fa7386a.js +55 -0
- package/dist/_plugin-vue_export-helper-dad06003.mjs +9 -0
- package/dist/_plugin-vue_export-helper-f246444f.js +1 -0
- package/dist/auth-56dc2ba7.mjs +607 -0
- package/dist/auth-f018f5b3.js +7 -0
- package/dist/auth.client.cjs +7 -0
- package/dist/auth.client.js +3874 -0
- package/dist/auth.validation-c31a60e7.mjs +24 -0
- package/dist/auth.validation-d049b341.js +1 -0
- package/dist/backoffice.client.cjs +1 -0
- package/dist/backoffice.client.js +265 -0
- package/dist/carousel.es-44c501bc.mjs +383 -0
- package/dist/carousel.es-cdfb392c.js +5 -0
- package/dist/categories-5b08da53.mjs +121 -0
- package/dist/categories-7ccd6be9.js +1 -0
- package/dist/click-outside-0b0727d1.js +2 -0
- package/dist/click-outside-6101836c.mjs +19 -0
- package/dist/community.client.cjs +1 -0
- package/dist/community.client.js +692 -0
- package/dist/dribbble-8e8e169b.js +1 -0
- package/dist/dribbble-ae37c2ac.mjs +127 -0
- package/dist/events.client.cjs +2 -0
- package/dist/events.client.js +8885 -0
- package/dist/files.client.cjs +1 -0
- package/dist/files.client.js +1 -0
- package/dist/gallery-d4297191.mjs +54 -0
- package/dist/gallery-f92912df.js +1 -0
- package/dist/gallery.client.cjs +1 -0
- package/dist/gallery.client.js +18 -0
- package/dist/globals-928eb13c.js +1 -0
- package/dist/globals-96ba60e4.mjs +91 -0
- package/dist/globals.client.cjs +1 -0
- package/dist/globals.client.js +12 -0
- package/dist/icons.client.cjs +1 -0
- package/dist/icons.client.js +84 -0
- package/dist/index-a661083c.mjs +934 -0
- package/dist/index-b41aac19.js +2 -0
- package/dist/inputs.validation-d7cef32b.js +1 -0
- package/dist/inputs.validation-db65277a.mjs +83 -0
- package/dist/landing.client.cjs +1 -0
- package/dist/landing.client.js +111 -0
- package/dist/leftovers-5d1ff88b.mjs +67 -0
- package/dist/leftovers-b60180cf.js +1 -0
- package/dist/legal.client.cjs +1 -0
- package/dist/legal.client.js +8512 -0
- package/dist/memberships-12210953.mjs +68 -0
- package/dist/memberships-393765d8.js +1 -0
- package/dist/middlewares.client.cjs +1 -0
- package/dist/middlewares.client.js +1 -0
- package/dist/orders-13c10d49.mjs +85 -0
- package/dist/orders-37f041aa.js +1 -0
- package/dist/organizations-587d5a4d.mjs +122 -0
- package/dist/organizations-b4d902a2.js +1 -0
- package/dist/organizations.client-35b74e44.mjs +2997 -0
- package/dist/organizations.client-f982f55a.js +3 -0
- package/dist/organizations.client.cjs +1 -0
- package/dist/organizations.client.js +86 -0
- package/dist/products-3c43eb18.js +1 -0
- package/dist/products-943fb95e.mjs +107 -0
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -78
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +78 -2
- 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 +65 -67
- 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/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -4
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -61
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +4 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +61 -2
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.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 +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 +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.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 +1 -1
- 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/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/LeftoverAdd.vue.js +1 -1
- 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 +1 -1
- 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 +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 +1 -1
- package/dist/reports-270f69df.js +1 -0
- package/dist/reports-79cd9459.mjs +91 -0
- package/dist/reports.client.cjs +1 -0
- package/dist/reports.client.js +8 -0
- package/dist/states.validation-3b70f83a.js +1 -0
- package/dist/states.validation-944e334c.mjs +13 -0
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -0
- package/dist/users.client.js +632 -0
- package/dist/vue-draggable-next.esm-bundler-21a209c6.js +10 -0
- package/dist/vue-draggable-next.esm-bundler-ff6e3f52.mjs +1557 -0
- package/dist/vuex.esm-bundler-57d8b6ba.mjs +750 -0
- package/dist/vuex.esm-bundler-685cf29f.js +5 -0
- package/package.json +1 -1
- package/src/modules/auth/components/pages/SignIn.vue +2 -2
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";function ke(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var oe={exports:{}},Me=function(r,t){return function(){for(var n=new Array(arguments.length),a=0;a<n.length;a++)n[a]=arguments[a];return r.apply(t,n)}},ur=Me,ue=Object.prototype.toString,fe=function(e){return function(r){var t=ue.call(r);return e[t]||(e[t]=t.slice(8,-1).toLowerCase())}}(Object.create(null));function A(e){return e=e.toLowerCase(),function(t){return fe(t)===e}}function le(e){return Array.isArray(e)}function F(e){return typeof e>"u"}function fr(e){return e!==null&&!F(e)&&e.constructor!==null&&!F(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var He=A("ArrayBuffer");function lr(e){var r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(e):r=e&&e.buffer&&He(e.buffer),r}function cr(e){return typeof e=="string"}function dr(e){return typeof e=="number"}function Je(e){return e!==null&&typeof e=="object"}function g(e){if(fe(e)!=="object")return!1;var r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}var hr=A("Date"),pr=A("File"),vr=A("Blob"),mr=A("FileList");function ce(e){return ue.call(e)==="[object Function]"}function Er(e){return Je(e)&&ce(e.pipe)}function Rr(e){var r="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||ue.call(e)===r||ce(e.toString)&&e.toString()===r)}var yr=A("URLSearchParams");function wr(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function br(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function de(e,r){if(!(e===null||typeof e>"u"))if(typeof e!="object"&&(e=[e]),le(e))for(var t=0,i=e.length;t<i;t++)r.call(null,e[t],t,e);else for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.call(null,e[n],n,e)}function se(){var e={};function r(n,a){g(e[a])&&g(n)?e[a]=se(e[a],n):g(n)?e[a]=se({},n):le(n)?e[a]=n.slice():e[a]=n}for(var t=0,i=arguments.length;t<i;t++)de(arguments[t],r);return e}function Or(e,r,t){return de(r,function(n,a){t&&typeof n=="function"?e[a]=ur(n,t):e[a]=n}),e}function Ar(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function Cr(e,r,t,i){e.prototype=Object.create(r.prototype,i),e.prototype.constructor=e,t&&Object.assign(e.prototype,t)}function Sr(e,r,t){var i,n,a,s={};r=r||{};do{for(i=Object.getOwnPropertyNames(e),n=i.length;n-- >0;)a=i[n],s[a]||(r[a]=e[a],s[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!t||t(e,r))&&e!==Object.prototype);return r}function xr(e,r,t){e=String(e),(t===void 0||t>e.length)&&(t=e.length),t-=r.length;var i=e.indexOf(r,t);return i!==-1&&i===t}function Pr(e){if(!e)return null;var r=e.length;if(F(r))return null;for(var t=new Array(r);r-- >0;)t[r]=e[r];return t}var Tr=function(e){return function(r){return e&&r instanceof e}}(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),v={isArray:le,isArrayBuffer:He,isBuffer:fr,isFormData:Rr,isArrayBufferView:lr,isString:cr,isNumber:dr,isObject:Je,isPlainObject:g,isUndefined:F,isDate:hr,isFile:pr,isBlob:vr,isFunction:ce,isStream:Er,isURLSearchParams:yr,isStandardBrowserEnv:br,forEach:de,merge:se,extend:Or,trim:wr,stripBOM:Ar,inherits:Cr,toFlatObject:Sr,kindOf:fe,kindOfTest:A,endsWith:xr,toArray:Pr,isTypedArray:Tr,isFileList:mr},P=v;function Re(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Ve=function(r,t,i){if(!t)return r;var n;if(i)n=i(t);else if(P.isURLSearchParams(t))n=t.toString();else{var a=[];P.forEach(t,function(f,d){f===null||typeof f>"u"||(P.isArray(f)?d=d+"[]":f=[f],P.forEach(f,function(h){P.isDate(h)?h=h.toISOString():P.isObject(h)&&(h=JSON.stringify(h)),a.push(Re(d)+"="+Re(h))}))}),n=a.join("&")}if(n){var s=r.indexOf("#");s!==-1&&(r=r.slice(0,s)),r+=(r.indexOf("?")===-1?"?":"&")+n}return r},_r=v;function $(){this.handlers=[]}$.prototype.use=function(r,t,i){return this.handlers.push({fulfilled:r,rejected:t,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1};$.prototype.eject=function(r){this.handlers[r]&&(this.handlers[r]=null)};$.prototype.forEach=function(r){_r.forEach(this.handlers,function(i){i!==null&&r(i)})};var Nr=$,Dr=v,Ur=function(r,t){Dr.forEach(r,function(n,a){a!==t&&a.toUpperCase()===t.toUpperCase()&&(r[t]=n,delete r[a])})},We=v;function _(e,r,t,i,n){Error.call(this),this.message=e,this.name="AxiosError",r&&(this.code=r),t&&(this.config=t),i&&(this.request=i),n&&(this.response=n)}We.inherits(_,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var ze=_.prototype,Xe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){Xe[e]={value:e}});Object.defineProperties(_,Xe);Object.defineProperty(ze,"isAxiosError",{value:!0});_.from=function(e,r,t,i,n,a){var s=Object.create(ze);return We.toFlatObject(e,s,function(f){return f!==Error.prototype}),_.call(s,e.message,r,t,i,n),s.name=e.name,a&&Object.assign(s,a),s};var D=_,Ke={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},w=v;function qr(e,r){r=r||new FormData;var t=[];function i(a){return a===null?"":w.isDate(a)?a.toISOString():w.isArrayBuffer(a)||w.isTypedArray(a)?typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function n(a,s){if(w.isPlainObject(a)||w.isArray(a)){if(t.indexOf(a)!==-1)throw Error("Circular reference detected in "+s);t.push(a),w.forEach(a,function(f,d){if(!w.isUndefined(f)){var c=s?s+"."+d:d,h;if(f&&!s&&typeof f=="object"){if(w.endsWith(d,"{}"))f=JSON.stringify(f);else if(w.endsWith(d,"[]")&&(h=w.toArray(f))){h.forEach(function(u){!w.isUndefined(u)&&r.append(c,i(u))});return}}n(f,c)}}),t.pop()}else r.append(s,i(a))}return n(e),r}var Qe=qr,V,ye;function Br(){if(ye)return V;ye=1;var e=D;return V=function(t,i,n){var a=n.config.validateStatus;!n.status||!a||a(n.status)?t(n):i(new e("Request failed with status code "+n.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},V}var W,we;function gr(){if(we)return W;we=1;var e=v;return W=e.isStandardBrowserEnv()?function(){return{write:function(i,n,a,s,o,f){var d=[];d.push(i+"="+encodeURIComponent(n)),e.isNumber(a)&&d.push("expires="+new Date(a).toGMTString()),e.isString(s)&&d.push("path="+s),e.isString(o)&&d.push("domain="+o),f===!0&&d.push("secure"),document.cookie=d.join("; ")},read:function(i){var n=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),W}var Lr=function(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)},Fr=function(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r},$r=Lr,jr=Fr,Ye=function(r,t){return r&&!$r(t)?jr(r,t):t},z,be;function Ir(){if(be)return z;be=1;var e=v,r=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];return z=function(i){var n={},a,s,o;return i&&e.forEach(i.split(`
|
2
|
+
`),function(d){if(o=d.indexOf(":"),a=e.trim(d.substr(0,o)).toLowerCase(),s=e.trim(d.substr(o+1)),a){if(n[a]&&r.indexOf(a)>=0)return;a==="set-cookie"?n[a]=(n[a]?n[a]:[]).concat([s]):n[a]=n[a]?n[a]+", "+s:s}}),n},z}var X,Oe;function kr(){if(Oe)return X;Oe=1;var e=v;return X=e.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a"),n;function a(s){var o=s;return t&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return n=a(window.location.href),function(o){var f=e.isString(o)?a(o):o;return f.protocol===n.protocol&&f.host===n.host}}():function(){return function(){return!0}}(),X}var K,Ae;function j(){if(Ae)return K;Ae=1;var e=D,r=v;function t(i){e.call(this,i??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return r.inherits(t,e,{__CANCEL__:!0}),K=t,K}var Q,Ce;function Mr(){return Ce||(Ce=1,Q=function(r){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""}),Q}var Y,Se;function xe(){if(Se)return Y;Se=1;var e=v,r=Br(),t=gr(),i=Ve,n=Ye,a=Ir(),s=kr(),o=Ke,f=D,d=j(),c=Mr();return Y=function(u){return new Promise(function(ir,C){var U=u.data,q=u.headers,B=u.responseType,S;function ve(){u.cancelToken&&u.cancelToken.unsubscribe(S),u.signal&&u.signal.removeEventListener("abort",S)}e.isFormData(U)&&e.isStandardBrowserEnv()&&delete q["Content-Type"];var l=new XMLHttpRequest;if(u.auth){var ar=u.auth.username||"",sr=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";q.Authorization="Basic "+btoa(ar+":"+sr)}var M=n(u.baseURL,u.url);l.open(u.method.toUpperCase(),i(M,u.params,u.paramsSerializer),!0),l.timeout=u.timeout;function me(){if(l){var y="getAllResponseHeaders"in l?a(l.getAllResponseHeaders()):null,x=!B||B==="text"||B==="json"?l.responseText:l.response,O={data:x,status:l.status,statusText:l.statusText,headers:y,config:u,request:l};r(function(J){ir(J),ve()},function(J){C(J),ve()},O),l=null}}if("onloadend"in l?l.onloadend=me:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(me)},l.onabort=function(){l&&(C(new f("Request aborted",f.ECONNABORTED,u,l)),l=null)},l.onerror=function(){C(new f("Network Error",f.ERR_NETWORK,u,l,l)),l=null},l.ontimeout=function(){var x=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded",O=u.transitional||o;u.timeoutErrorMessage&&(x=u.timeoutErrorMessage),C(new f(x,O.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,u,l)),l=null},e.isStandardBrowserEnv()){var Ee=(u.withCredentials||s(M))&&u.xsrfCookieName?t.read(u.xsrfCookieName):void 0;Ee&&(q[u.xsrfHeaderName]=Ee)}"setRequestHeader"in l&&e.forEach(q,function(x,O){typeof U>"u"&&O.toLowerCase()==="content-type"?delete q[O]:l.setRequestHeader(O,x)}),e.isUndefined(u.withCredentials)||(l.withCredentials=!!u.withCredentials),B&&B!=="json"&&(l.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&l.addEventListener("progress",u.onDownloadProgress),typeof u.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",u.onUploadProgress),(u.cancelToken||u.signal)&&(S=function(y){l&&(C(!y||y&&y.type?new d:y),l.abort(),l=null)},u.cancelToken&&u.cancelToken.subscribe(S),u.signal&&(u.signal.aborted?S():u.signal.addEventListener("abort",S))),U||(U=null);var H=c(M);if(H&&["http","https","file"].indexOf(H)===-1){C(new f("Unsupported protocol "+H+":",f.ERR_BAD_REQUEST,u));return}l.send(U)})},Y}var G,Pe;function Hr(){return Pe||(Pe=1,G=null),G}var p=v,Te=Ur,_e=D,Jr=Ke,Vr=Qe,Wr={"Content-Type":"application/x-www-form-urlencoded"};function Ne(e,r){!p.isUndefined(e)&&p.isUndefined(e["Content-Type"])&&(e["Content-Type"]=r)}function zr(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=xe()),e}function Xr(e,r,t){if(p.isString(e))try{return(r||JSON.parse)(e),p.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(t||JSON.stringify)(e)}var I={transitional:Jr,adapter:zr(),transformRequest:[function(r,t){if(Te(t,"Accept"),Te(t,"Content-Type"),p.isFormData(r)||p.isArrayBuffer(r)||p.isBuffer(r)||p.isStream(r)||p.isFile(r)||p.isBlob(r))return r;if(p.isArrayBufferView(r))return r.buffer;if(p.isURLSearchParams(r))return Ne(t,"application/x-www-form-urlencoded;charset=utf-8"),r.toString();var i=p.isObject(r),n=t&&t["Content-Type"],a;if((a=p.isFileList(r))||i&&n==="multipart/form-data"){var s=this.env&&this.env.FormData;return Vr(a?{"files[]":r}:r,s&&new s)}else if(i||n==="application/json")return Ne(t,"application/json"),Xr(r);return r}],transformResponse:[function(r){var t=this.transitional||I.transitional,i=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||n&&p.isString(r)&&r.length)try{return JSON.parse(r)}catch(s){if(a)throw s.name==="SyntaxError"?_e.from(s,_e.ERR_BAD_RESPONSE,this,null,this.response):s}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Hr()},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};p.forEach(["delete","get","head"],function(r){I.headers[r]={}});p.forEach(["post","put","patch"],function(r){I.headers[r]=p.merge(Wr)});var he=I,Kr=v,Qr=he,Yr=function(r,t,i){var n=this||Qr;return Kr.forEach(i,function(s){r=s.call(n,r,t)}),r},Z,De;function Ge(){return De||(De=1,Z=function(r){return!!(r&&r.__CANCEL__)}),Z}var Ue=v,ee=Yr,Gr=Ge(),Zr=he,et=j();function re(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new et}var rt=function(r){re(r),r.headers=r.headers||{},r.data=ee.call(r,r.data,r.headers,r.transformRequest),r.headers=Ue.merge(r.headers.common||{},r.headers[r.method]||{},r.headers),Ue.forEach(["delete","get","head","post","put","patch","common"],function(n){delete r.headers[n]});var t=r.adapter||Zr.adapter;return t(r).then(function(n){return re(r),n.data=ee.call(r,n.data,n.headers,r.transformResponse),n},function(n){return Gr(n)||(re(r),n&&n.response&&(n.response.data=ee.call(r,n.response.data,n.response.headers,r.transformResponse))),Promise.reject(n)})},E=v,Ze=function(r,t){t=t||{};var i={};function n(c,h){return E.isPlainObject(c)&&E.isPlainObject(h)?E.merge(c,h):E.isPlainObject(h)?E.merge({},h):E.isArray(h)?h.slice():h}function a(c){if(E.isUndefined(t[c])){if(!E.isUndefined(r[c]))return n(void 0,r[c])}else return n(r[c],t[c])}function s(c){if(!E.isUndefined(t[c]))return n(void 0,t[c])}function o(c){if(E.isUndefined(t[c])){if(!E.isUndefined(r[c]))return n(void 0,r[c])}else return n(void 0,t[c])}function f(c){if(c in t)return n(r[c],t[c]);if(c in r)return n(void 0,r[c])}var d={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:f};return E.forEach(Object.keys(r).concat(Object.keys(t)),function(h){var u=d[h]||a,R=u(h);E.isUndefined(R)&&u!==f||(i[h]=R)}),i},te,qe;function er(){return qe||(qe=1,te={version:"0.27.2"}),te}var tt=er().version,b=D,pe={};["object","boolean","number","function","string","symbol"].forEach(function(e,r){pe[e]=function(i){return typeof i===e||"a"+(r<1?"n ":" ")+e}});var Be={};pe.transitional=function(r,t,i){function n(a,s){return"[Axios v"+tt+"] Transitional option '"+a+"'"+s+(i?". "+i:"")}return function(a,s,o){if(r===!1)throw new b(n(s," has been removed"+(t?" in "+t:"")),b.ERR_DEPRECATED);return t&&!Be[s]&&(Be[s]=!0,console.warn(n(s," has been deprecated since v"+t+" and will be removed in the near future"))),r?r(a,s,o):!0}};function nt(e,r,t){if(typeof e!="object")throw new b("options must be an object",b.ERR_BAD_OPTION_VALUE);for(var i=Object.keys(e),n=i.length;n-- >0;){var a=i[n],s=r[a];if(s){var o=e[a],f=o===void 0||s(o,a,e);if(f!==!0)throw new b("option "+a+" must be "+f,b.ERR_BAD_OPTION_VALUE);continue}if(t!==!0)throw new b("Unknown option "+a,b.ERR_BAD_OPTION)}}var it={assertOptions:nt,validators:pe},rr=v,at=Ve,ge=Nr,Le=rt,k=Ze,st=Ye,tr=it,T=tr.validators;function N(e){this.defaults=e,this.interceptors={request:new ge,response:new ge}}N.prototype.request=function(r,t){typeof r=="string"?(t=t||{},t.url=r):t=r||{},t=k(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var i=t.transitional;i!==void 0&&tr.assertOptions(i,{silentJSONParsing:T.transitional(T.boolean),forcedJSONParsing:T.transitional(T.boolean),clarifyTimeoutError:T.transitional(T.boolean)},!1);var n=[],a=!0;this.interceptors.request.forEach(function(R){typeof R.runWhen=="function"&&R.runWhen(t)===!1||(a=a&&R.synchronous,n.unshift(R.fulfilled,R.rejected))});var s=[];this.interceptors.response.forEach(function(R){s.push(R.fulfilled,R.rejected)});var o;if(!a){var f=[Le,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(s),o=Promise.resolve(t);f.length;)o=o.then(f.shift(),f.shift());return o}for(var d=t;n.length;){var c=n.shift(),h=n.shift();try{d=c(d)}catch(u){h(u);break}}try{o=Le(d)}catch(u){return Promise.reject(u)}for(;s.length;)o=o.then(s.shift(),s.shift());return o};N.prototype.getUri=function(r){r=k(this.defaults,r);var t=st(r.baseURL,r.url);return at(t,r.params,r.paramsSerializer)};rr.forEach(["delete","get","head","options"],function(r){N.prototype[r]=function(t,i){return this.request(k(i||{},{method:r,url:t,data:(i||{}).data}))}});rr.forEach(["post","put","patch"],function(r){function t(i){return function(a,s,o){return this.request(k(o||{},{method:r,headers:i?{"Content-Type":"multipart/form-data"}:{},url:a,data:s}))}}N.prototype[r]=t(),N.prototype[r+"Form"]=t(!0)});var ot=N,ne,Fe;function ut(){if(Fe)return ne;Fe=1;var e=j();function r(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var i;this.promise=new Promise(function(s){i=s});var n=this;this.promise.then(function(a){if(n._listeners){var s,o=n._listeners.length;for(s=0;s<o;s++)n._listeners[s](a);n._listeners=null}}),this.promise.then=function(a){var s,o=new Promise(function(f){n.subscribe(f),s=f}).then(a);return o.cancel=function(){n.unsubscribe(s)},o},t(function(s){n.reason||(n.reason=new e(s),i(n.reason))})}return r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.prototype.subscribe=function(i){if(this.reason){i(this.reason);return}this._listeners?this._listeners.push(i):this._listeners=[i]},r.prototype.unsubscribe=function(i){if(this._listeners){var n=this._listeners.indexOf(i);n!==-1&&this._listeners.splice(n,1)}},r.source=function(){var i,n=new r(function(s){i=s});return{token:n,cancel:i}},ne=r,ne}var ie,$e;function ft(){return $e||($e=1,ie=function(r){return function(i){return r.apply(null,i)}}),ie}var ae,je;function lt(){if(je)return ae;je=1;var e=v;return ae=function(t){return e.isObject(t)&&t.isAxiosError===!0},ae}var Ie=v,ct=Me,L=ot,dt=Ze,ht=he;function nr(e){var r=new L(e),t=ct(L.prototype.request,r);return Ie.extend(t,L.prototype,r),Ie.extend(t,r),t.create=function(n){return nr(dt(e,n))},t}var m=nr(ht);m.Axios=L;m.CanceledError=j();m.CancelToken=ut();m.isCancel=Ge();m.VERSION=er().version;m.toFormData=Qe;m.AxiosError=D;m.Cancel=m.CanceledError;m.all=function(r){return Promise.all(r)};m.spread=ft();m.isAxiosError=lt();oe.exports=m;oe.exports.default=m;var pt=oe.exports,vt=pt;const mt=ke(vt);exports.axios=mt;exports.getDefaultExportFromCjs=ke;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const a=require("./globals-928eb13c.js"),n={ru:{validation:{length:"Содержимое должно быть не менее 1 символа.",maxLength:"Содержимое не должно превышать {maxLength} символов.",phone:"Неверный формат номера",email:"Неверный формат email",password:{minLength:"Пароль должен быть больше 8 символов",lowercase:"Должен быть символ в нижнем регистре",uppercase:"Должен быть символ в верхнем регистре",number:"Должна быть 1 цифра",specialChar:"Должен быть 1 специальный символ"}}},en:{validation:{length:"Content must be at least 1 character long.",maxLength:"Content should not exceed {maxLength} characters.",phone:"Invalid number format",email:"Invalid email format",password:{minLength:"Password must be longer than 8 characters",lowercase:"Must contain a lowercase character",uppercase:"Must contain an uppercase character",number:"Must contain at least 1 digit",specialChar:"Must contain at least 1 special character"}}}};a.i18n.global.mergeLocaleMessage("ru",n.ru);a.i18n.global.mergeLocaleMessage("en",n.en);function o(e){return console.log(e),console.log(e.valid),e.valid?{status:!0,message:null}:{status:!1,message:a.i18n.global.t("validation.phone")}}function r(e){return/^[\w-\.]+@([\w-]+\.)+[\w-]{2,12}$/.test(e)?{status:!0,message:null}:{status:!1,message:a.i18n.global.t("validation.email")}}function u(e){return e.length<8?{status:!1,message:a.i18n.global.t("validation.password.minLength")}:{status:!0,message:null}}async function c(e,t,s,i){if(s){const l=t(s);if(!l.status)throw e.value=l,setTimeout(()=>{e.value=null},3e3),new Error(i)}else throw e.value={status:!1,message:a.i18n.global.t("validation.length")},setTimeout(()=>{e.value=null},3e3),new Error(a.i18n.global.t("validation.length"))}exports.validateEmail=r;exports.validateInputs=c;exports.validatePassword=u;exports.validatePhone=o;
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import { i as e } from "./globals-96ba60e4.mjs";
|
2
|
+
const n = {
|
3
|
+
ru: {
|
4
|
+
validation: {
|
5
|
+
length: "Содержимое должно быть не менее 1 символа.",
|
6
|
+
maxLength: "Содержимое не должно превышать {maxLength} символов.",
|
7
|
+
phone: "Неверный формат номера",
|
8
|
+
email: "Неверный формат email",
|
9
|
+
password: {
|
10
|
+
minLength: "Пароль должен быть больше 8 символов",
|
11
|
+
lowercase: "Должен быть символ в нижнем регистре",
|
12
|
+
uppercase: "Должен быть символ в верхнем регистре",
|
13
|
+
number: "Должна быть 1 цифра",
|
14
|
+
specialChar: "Должен быть 1 специальный символ"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
},
|
18
|
+
en: {
|
19
|
+
validation: {
|
20
|
+
length: "Content must be at least 1 character long.",
|
21
|
+
maxLength: "Content should not exceed {maxLength} characters.",
|
22
|
+
phone: "Invalid number format",
|
23
|
+
email: "Invalid email format",
|
24
|
+
password: {
|
25
|
+
minLength: "Password must be longer than 8 characters",
|
26
|
+
lowercase: "Must contain a lowercase character",
|
27
|
+
uppercase: "Must contain an uppercase character",
|
28
|
+
number: "Must contain at least 1 digit",
|
29
|
+
specialChar: "Must contain at least 1 special character"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
};
|
34
|
+
e.global.mergeLocaleMessage("ru", n.ru);
|
35
|
+
e.global.mergeLocaleMessage("en", n.en);
|
36
|
+
function i(a) {
|
37
|
+
return console.log(a), console.log(a.valid), a.valid ? {
|
38
|
+
status: !0,
|
39
|
+
message: null
|
40
|
+
} : {
|
41
|
+
status: !1,
|
42
|
+
message: e.global.t("validation.phone")
|
43
|
+
};
|
44
|
+
}
|
45
|
+
function u(a) {
|
46
|
+
return /^[\w-\.]+@([\w-]+\.)+[\w-]{2,12}$/.test(a) ? {
|
47
|
+
status: !0,
|
48
|
+
message: null
|
49
|
+
} : {
|
50
|
+
status: !1,
|
51
|
+
message: e.global.t("validation.email")
|
52
|
+
};
|
53
|
+
}
|
54
|
+
function c(a) {
|
55
|
+
return a.length < 8 ? {
|
56
|
+
status: !1,
|
57
|
+
message: e.global.t("validation.password.minLength")
|
58
|
+
} : {
|
59
|
+
status: !0,
|
60
|
+
message: null
|
61
|
+
};
|
62
|
+
}
|
63
|
+
async function g(a, t, s, o) {
|
64
|
+
if (s) {
|
65
|
+
const l = t(s);
|
66
|
+
if (!l.status)
|
67
|
+
throw a.value = l, setTimeout(() => {
|
68
|
+
a.value = null;
|
69
|
+
}, 3e3), new Error(o);
|
70
|
+
} else
|
71
|
+
throw a.value = {
|
72
|
+
status: !1,
|
73
|
+
message: e.global.t("validation.length")
|
74
|
+
}, setTimeout(() => {
|
75
|
+
a.value = null;
|
76
|
+
}, 3e3), new Error(e.global.t("validation.length"));
|
77
|
+
}
|
78
|
+
export {
|
79
|
+
c as a,
|
80
|
+
i as b,
|
81
|
+
u as c,
|
82
|
+
g as v
|
83
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("vue-i18n"),a=require("./LabelGooglePlay-f80e5ff0.js");require("./_plugin-vue_export-helper-f246444f.js");const l={id:"mobileApp"},r={class:"pos-relative cols-2-1_2 gap-big pd-big pd-t-big o-hidden bg-black t-white radius-big"},c={class:"z-index-1 w-1/2"},d=["src"],m={class:"z-index-1 w-1/2"},p={class:"mn-t-medium mn-semi w-m-40r"},u={class:"t-transp mn-big p-big w-m-33r"},g={class:"mn-big gap-medium cols-2"},_={class:"feature"},h={class:"mn-small"},f={class:"t-transp p-medium"},b={class:"feature"},y={class:"mn-small"},E={class:"t-transp p-medium"},v={class:"feature"},N={class:"mn-small"},V={class:"t-transp p-medium"},w={class:"feature"},S={class:"mn-small"},x={class:"t-transp p-medium"},D={class:"w-m-33r flex-nowrap flex gap-medium"},I={class:"pos-relative w-100 h-100"},k={class:"z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative"},z={class:"pos-relative w-100 h-100"},A={class:"z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative"},L={key:0,class:"grid-lines"},M={__name:"MobileApp",props:{mockupImage:{type:String,default:"/assets/images/landing/mockup.png"},bgImage:{type:String,default:""},textData:{type:Object,default:()=>({messages:{en:{title:"Explore the Cannabis World at Your Fingertips",description:"Intuitive, Efficient, and Customized for Your Cannabis Needs",features:{instantUpdates:{title:"Instant Updates",text:"Receive real-time notifications for new product releases and community updates. Always stay in the loop."},locate:{title:"Locate with Ease",text:"Discover nearby dispensaries and cannabis events with our integrated geolocation services."},wallet:{title:"Wallet Integration",text:"Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."},customization:{title:"Customization by AI",text:"Experience the AI difference with personalized recommendations based on your preferences and trends in the community."}}}}})}},setup(s){const o=s,{t}=i.useI18n(o.textData);return(n,q)=>(e.openBlock(),e.createElementBlock("div",l,[e.createElementVNode("section",r,[e.createElementVNode("div",c,[e.createElementVNode("img",{src:(n.FILE_SERVER_URL||"")+s.mockupImage,alt:"Mobile App Mockup",class:"app-mockup"},null,8,d)]),e.createElementVNode("div",m,[e.createElementVNode("h2",p,e.toDisplayString(e.unref(t)("title")),1),e.createElementVNode("p",u,e.toDisplayString(e.unref(t)("description")),1),e.createElementVNode("div",g,[e.createElementVNode("div",_,[e.createElementVNode("h3",h,e.toDisplayString(e.unref(t)("features.instantUpdates.title")),1),e.createElementVNode("p",f,e.toDisplayString(e.unref(t)("features.instantUpdates.text")),1)]),e.createElementVNode("div",b,[e.createElementVNode("h3",y,e.toDisplayString(e.unref(t)("features.locate.title")),1),e.createElementVNode("p",E,e.toDisplayString(e.unref(t)("features.locate.text")),1)]),e.createElementVNode("div",v,[e.createElementVNode("h3",N,e.toDisplayString(e.unref(t)("features.wallet.title")),1),e.createElementVNode("p",V,e.toDisplayString(e.unref(t)("features.wallet.text")),1)]),e.createElementVNode("div",w,[e.createElementVNode("h3",S,e.toDisplayString(e.unref(t)("features.customization.title")),1),e.createElementVNode("p",x,e.toDisplayString(e.unref(t)("features.customization.text")),1)])]),e.createElementVNode("div",D,[e.createElementVNode("div",I,[e.createElementVNode("span",k,e.toDisplayString(e.unref(t)("features.soonLabel")),1),e.createVNode(a.LabelAppStore,{class:"w-100 h-100",alt:"Download on App Store"})]),e.createElementVNode("div",z,[e.createElementVNode("span",A,e.toDisplayString(e.unref(t)("features.soonLabel")),1),e.createVNode(a.LabelGooglePlay,{class:"w-100 h-100",alt:"Download on Google Play"})])])]),e.createElementVNode("div",{class:"w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid",style:e.normalizeStyle({backgroundImage:`url(${s.bgImage})`})},[s.bgImage?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",L))],4)])]))}};exports.MobileApp=M;
|
@@ -0,0 +1,111 @@
|
|
1
|
+
import { openBlock as o, createElementBlock as n, createElementVNode as e, toDisplayString as s, unref as a, createVNode as l, normalizeStyle as r, createCommentVNode as p } from "vue";
|
2
|
+
import { useI18n as m } from "vue-i18n";
|
3
|
+
import { L as u, a as _ } from "./LabelGooglePlay-24feb437.mjs";
|
4
|
+
import "./_plugin-vue_export-helper-dad06003.mjs";
|
5
|
+
const g = { id: "mobileApp" }, h = { class: "pos-relative cols-2-1_2 gap-big pd-big pd-t-big o-hidden bg-black t-white radius-big" }, b = { class: "z-index-1 w-1/2" }, f = ["src"], v = { class: "z-index-1 w-1/2" }, w = { class: "mn-t-medium mn-semi w-m-40r" }, y = { class: "t-transp mn-big p-big w-m-33r" }, x = { class: "mn-big gap-medium cols-2" }, I = { class: "feature" }, z = { class: "mn-small" }, k = { class: "t-transp p-medium" }, A = { class: "feature" }, E = { class: "mn-small" }, L = { class: "t-transp p-medium" }, S = { class: "feature" }, D = { class: "mn-small" }, C = { class: "t-transp p-medium" }, M = { class: "feature" }, U = { class: "mn-small" }, N = { class: "t-transp p-medium" }, R = { class: "w-m-33r flex-nowrap flex gap-medium" }, V = { class: "pos-relative w-100 h-100" }, B = { class: "z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative" }, F = { class: "pos-relative w-100 h-100" }, G = { class: "z-index-2 pd-tin radius-big bg-main t-semi uppercase pd-micro pos-absolute pos-r-small-negative pos-t-small-negative" }, P = {
|
6
|
+
key: 0,
|
7
|
+
class: "grid-lines"
|
8
|
+
}, $ = {
|
9
|
+
__name: "MobileApp",
|
10
|
+
props: {
|
11
|
+
mockupImage: {
|
12
|
+
type: String,
|
13
|
+
default: "/assets/images/landing/mockup.png"
|
14
|
+
},
|
15
|
+
bgImage: {
|
16
|
+
type: String,
|
17
|
+
default: ""
|
18
|
+
// Введите ваше стандартное значение здесь, если необходимо
|
19
|
+
},
|
20
|
+
textData: {
|
21
|
+
type: Object,
|
22
|
+
default: () => ({
|
23
|
+
messages: {
|
24
|
+
en: {
|
25
|
+
title: "Explore the Cannabis World at Your Fingertips",
|
26
|
+
description: "Intuitive, Efficient, and Customized for Your Cannabis Needs",
|
27
|
+
features: {
|
28
|
+
instantUpdates: {
|
29
|
+
title: "Instant Updates",
|
30
|
+
text: "Receive real-time notifications for new product releases and community updates. Always stay in the loop."
|
31
|
+
},
|
32
|
+
locate: {
|
33
|
+
title: "Locate with Ease",
|
34
|
+
text: "Discover nearby dispensaries and cannabis events with our integrated geolocation services."
|
35
|
+
},
|
36
|
+
wallet: {
|
37
|
+
title: "Wallet Integration",
|
38
|
+
text: "Quickly and securely manage your transactions with integrated digital wallet functionality. Safety and convenience come together."
|
39
|
+
},
|
40
|
+
customization: {
|
41
|
+
title: "Customization by AI",
|
42
|
+
text: "Experience the AI difference with personalized recommendations based on your preferences and trends in the community."
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
})
|
48
|
+
}
|
49
|
+
},
|
50
|
+
setup(i) {
|
51
|
+
const c = i, { t } = m(c.textData);
|
52
|
+
return (d, W) => (o(), n("div", g, [
|
53
|
+
e("section", h, [
|
54
|
+
e("div", b, [
|
55
|
+
e("img", {
|
56
|
+
src: (d.FILE_SERVER_URL || "") + i.mockupImage,
|
57
|
+
alt: "Mobile App Mockup",
|
58
|
+
class: "app-mockup"
|
59
|
+
}, null, 8, f)
|
60
|
+
]),
|
61
|
+
e("div", v, [
|
62
|
+
e("h2", w, s(a(t)("title")), 1),
|
63
|
+
e("p", y, s(a(t)("description")), 1),
|
64
|
+
e("div", x, [
|
65
|
+
e("div", I, [
|
66
|
+
e("h3", z, s(a(t)("features.instantUpdates.title")), 1),
|
67
|
+
e("p", k, s(a(t)("features.instantUpdates.text")), 1)
|
68
|
+
]),
|
69
|
+
e("div", A, [
|
70
|
+
e("h3", E, s(a(t)("features.locate.title")), 1),
|
71
|
+
e("p", L, s(a(t)("features.locate.text")), 1)
|
72
|
+
]),
|
73
|
+
e("div", S, [
|
74
|
+
e("h3", D, s(a(t)("features.wallet.title")), 1),
|
75
|
+
e("p", C, s(a(t)("features.wallet.text")), 1)
|
76
|
+
]),
|
77
|
+
e("div", M, [
|
78
|
+
e("h3", U, s(a(t)("features.customization.title")), 1),
|
79
|
+
e("p", N, s(a(t)("features.customization.text")), 1)
|
80
|
+
])
|
81
|
+
]),
|
82
|
+
e("div", R, [
|
83
|
+
e("div", V, [
|
84
|
+
e("span", B, s(a(t)("features.soonLabel")), 1),
|
85
|
+
l(u, {
|
86
|
+
class: "w-100 h-100",
|
87
|
+
alt: "Download on App Store"
|
88
|
+
})
|
89
|
+
]),
|
90
|
+
e("div", F, [
|
91
|
+
e("span", G, s(a(t)("features.soonLabel")), 1),
|
92
|
+
l(_, {
|
93
|
+
class: "w-100 h-100",
|
94
|
+
alt: "Download on Google Play"
|
95
|
+
})
|
96
|
+
])
|
97
|
+
])
|
98
|
+
]),
|
99
|
+
e("div", {
|
100
|
+
class: "w-100 h-100 pos-absolute pos-t-0 pos-r-0 z-index-0 grid",
|
101
|
+
style: r({ backgroundImage: `url(${i.bgImage})` })
|
102
|
+
}, [
|
103
|
+
i.bgImage ? p("", !0) : (o(), n("div", P))
|
104
|
+
], 4)
|
105
|
+
])
|
106
|
+
]));
|
107
|
+
}
|
108
|
+
};
|
109
|
+
export {
|
110
|
+
$ as MobileApp
|
111
|
+
};
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import { reactive as d, watch as p } from "vue";
|
2
|
+
import { a as l } from "./index-a661083c.mjs";
|
3
|
+
import { s as o } from "./globals-96ba60e4.mjs";
|
4
|
+
const n = l.create({ baseURL: process.env.API_URL, withCredentials: !0 }), r = d({
|
5
|
+
all: [],
|
6
|
+
current: {
|
7
|
+
type: "",
|
8
|
+
order: "",
|
9
|
+
positions: []
|
10
|
+
}
|
11
|
+
}), w = {
|
12
|
+
async read(e) {
|
13
|
+
try {
|
14
|
+
const t = await n.get("/leftovers");
|
15
|
+
return r.all = t.data, t.data;
|
16
|
+
} catch (t) {
|
17
|
+
throw o(t), t;
|
18
|
+
}
|
19
|
+
},
|
20
|
+
async fetch(e) {
|
21
|
+
try {
|
22
|
+
const t = await n.get("/leftovers/" + e);
|
23
|
+
return r.current = t.data, t.data;
|
24
|
+
} catch (t) {
|
25
|
+
throw o(t), t;
|
26
|
+
}
|
27
|
+
},
|
28
|
+
async create({ type: e, order: t, positions: s }) {
|
29
|
+
try {
|
30
|
+
const a = await n.post("/leftovers", { type: e, order: t, positions: s });
|
31
|
+
return r.all.push(a.data), a.data;
|
32
|
+
} catch (a) {
|
33
|
+
throw o(a), a;
|
34
|
+
}
|
35
|
+
},
|
36
|
+
async update(e) {
|
37
|
+
try {
|
38
|
+
const t = await n.post("/leftovers/" + e._id, e);
|
39
|
+
return r.current = t.data, t.data;
|
40
|
+
} catch (t) {
|
41
|
+
throw o(t), t;
|
42
|
+
}
|
43
|
+
},
|
44
|
+
async delete(e) {
|
45
|
+
try {
|
46
|
+
const t = await n.delete("/leftovers/" + e);
|
47
|
+
return r.all.splice(r.all.findIndex((s) => s._id == e), 1), t.data;
|
48
|
+
} catch (t) {
|
49
|
+
throw o(t), t;
|
50
|
+
}
|
51
|
+
},
|
52
|
+
// In your Vuex store
|
53
|
+
addProductToLeftover({ product: e, price: t, quantity: s, type: a }) {
|
54
|
+
const c = r.current.positions.find((i) => i._id === e._id);
|
55
|
+
c ? (c.quantity += s, c.price = t, c.type = a) : r.current.positions.push({ ...e, price: t, quantity: s, type: a });
|
56
|
+
},
|
57
|
+
deleteItemFromLeftover(e) {
|
58
|
+
const t = r.current.positions.findIndex((s) => s._id === e._id);
|
59
|
+
t !== -1 && r.current.positions.splice(t, 1);
|
60
|
+
}
|
61
|
+
};
|
62
|
+
p(r, (e) => {
|
63
|
+
});
|
64
|
+
export {
|
65
|
+
w as a,
|
66
|
+
r as s
|
67
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const i=require("vue"),l=require("./index-b41aac19.js"),a=require("./globals-928eb13c.js"),n=l.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),r=i.reactive({all:[],current:{type:"",order:"",positions:[]}}),u={async read(e){try{const t=await n.get("/leftovers");return r.all=t.data,t.data}catch(t){throw a.setError(t),t}},async fetch(e){try{const t=await n.get("/leftovers/"+e);return r.current=t.data,t.data}catch(t){throw a.setError(t),t}},async create({type:e,order:t,positions:s}){try{const o=await n.post("/leftovers",{type:e,order:t,positions:s});return r.all.push(o.data),o.data}catch(o){throw a.setError(o),o}},async update(e){try{const t=await n.post("/leftovers/"+e._id,e);return r.current=t.data,t.data}catch(t){throw a.setError(t),t}},async delete(e){try{const t=await n.delete("/leftovers/"+e);return r.all.splice(r.all.findIndex(s=>s._id==e),1),t.data}catch(t){throw a.setError(t),t}},addProductToLeftover({product:e,price:t,quantity:s,type:o}){const c=r.current.positions.find(d=>d._id===e._id);c?(c.quantity+=s,c.price=t,c.type=o):r.current.positions.push({...e,price:t,quantity:s,type:o})},deleteItemFromLeftover(e){const t=r.current.positions.findIndex(s=>s._id===e._id);t!==-1&&r.current.positions.splice(t,1)}};i.watch(r,e=>{});exports.actions=u;exports.state=r;
|