@ozdao/prometheus-framework 0.2.132 → 0.2.134
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/Chips/Chips.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +12 -13
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +14 -15
- 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.js +4 -4
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -0
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +77 -0
- package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +14 -14
- package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +34 -34
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +27 -27
- 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/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 +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +22 -22
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
- 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 +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/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.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +13 -13
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +6 -6
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +17 -17
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +30 -30
- package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +9 -9
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +2 -2
- 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 +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +7 -7
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +1 -1
- 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 +137 -122
- 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/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/partials/Header.vue +2 -2
- 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/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/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 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/Menu/Menu.
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../../../components/Menu/Menu.vue2.cjs"),o=require("../../../../components/Menu/MenuItem.vue.cjs");;/* empty css */const l=require("../../../icons/entities/IconProducts.vue.cjs"),d=require("../../../icons/entities/IconEvents.vue.cjs"),m=require("../../../icons/entities/IconGroups.vue.cjs"),f=require("../../../icons/entities/IconGallery.vue.cjs"),p=require("../../../icons/entities/IconOrders.vue.cjs"),_=require("../../../icons/entities/IconLeftovers.vue.cjs"),u=require("vue-router"),n=require("../../../auth/store/auth.cjs");require("../../store/organizations.cjs");const k={class:""},h=e.createElementVNode("h1",{class:"pd-medium radius-medium bg-light mn-b-small"},"Welcome to Backoffice",-1),v=e.createElementVNode("span",null," Members ",-1),N=e.createElementVNode("span",null," Products ",-1),V=e.createElementVNode("span",null," Leftovers ",-1),B=e.createElementVNode("span",null," Orders ",-1),C=e.createElementVNode("span",null," Gallery ",-1),b=e.createElementVNode("span",null," Events ",-1),g={__name:"OrganizationBackoffice",props:{favorites:Array},setup(q){const r=u.useRoute(),t=u.useRouter();return e.ref(null),e.ref([]),e.onMounted(async()=>{}),(a,s)=>(e.openBlock(),e.createElementBlock("div",k,[h,e.createVNode(i.default,{class:"bg-light mn-b-semi"},{default:e.withCtx(()=>[a.hasAccess(e.unref(r).params._id,"members","read",n.state.accesses)?(e.openBlock(),e.createBlock(o.default,{key:0,onClick:s[0]||(s[0]=c=>e.unref(t).push({name:"Organization Members",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(m.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),v]),_:1})):e.createCommentVNode("",!0),a.hasAccess(e.unref(r).params._id,"products","read",n.state.accesses)?(e.openBlock(),e.createBlock(o.default,{key:1,onClick:s[1]||(s[1]=c=>e.unref(t).push({name:"Products",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(l.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),N]),_:1})):e.createCommentVNode("",!0),a.hasAccess(e.unref(r).params._id,"leftovers","read",n.state.accesses)?(e.openBlock(),e.createBlock(o.default,{key:2,onClick:s[2]||(s[2]=c=>e.unref(t).push({name:"Leftovers",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(_.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),V]),_:1})):e.createCommentVNode("",!0),a.hasAccess(e.unref(r).params._id,"orders","read",n.state.accesses)?(e.openBlock(),e.createBlock(o.default,{key:3,onClick:s[3]||(s[3]=c=>e.unref(t).push({name:"Backoffice Orders",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(p.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),B]),_:1})):e.createCommentVNode("",!0),a.hasAccess(e.unref(r).params._id,"gallery","read",n.state.accesses)?(e.openBlock(),e.createBlock(o.default,{key:4,onClick:s[4]||(s[4]=c=>e.unref(t).push({name:"Backoffice Gallery",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(f.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),C]),_:1})):e.createCommentVNode("",!0),a.hasAccess(e.unref(r).params._id,"events","read",n.state.accesses)?(e.openBlock(),e.createBlock(o.default,{key:5,onClick:s[5]||(s[5]=c=>e.unref(t).push({name:"Backoffice Events",params:{_id:e.unref(r).params._id}})),class:"cursor-pointer"},{default:e.withCtx(()=>[e.createVNode(d.default,{class:"i-semi",icon:!0,fill:"rgb(var(--white))"}),b]),_:1})):e.createCommentVNode("",!0)]),_:1})]))}};exports.default=g;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ref as f, onMounted as _, openBlock as a, createElementBlock as k, createVNode as i, withCtx as o, unref as s, createBlock as c, createCommentVNode as l, createElementVNode as t } from "vue";
|
2
|
-
import v from "../../../../components/Menu/Menu.
|
2
|
+
import v from "../../../../components/Menu/Menu.vue2.js";
|
3
3
|
import p from "../../../../components/Menu/MenuItem.vue.js";
|
4
4
|
/* empty css */
|
5
5
|
import h from "../../../icons/entities/IconProducts.vue.js";
|
package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js
CHANGED
@@ -14,7 +14,7 @@ import U from "../../../../components/Button/Button.vue.js";
|
|
14
14
|
import { state as k } from "../../../auth/store/auth.js";
|
15
15
|
import { actions as s, state as e } from "../../store/organizations.js";
|
16
16
|
import "../../store/memberships.js";
|
17
|
-
const T = { class: "for-transition pd-thin" }, z = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Type of group", -1), V = /* @__PURE__ */ r("p", { class: "mn-b-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), P = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Profile", -1),
|
17
|
+
const T = { class: "for-transition pd-thin" }, z = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Type of group", -1), V = /* @__PURE__ */ r("p", { class: "mn-b-thin" }, "Public groups are open to everyone, whereas in exclusive groups only members can post. If you wish to make a group private, select 'hidden'.", -1), P = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Profile", -1), $ = { class: "mn-b-thin radius-small w-100 h-10r bg-light flex-center flex-column flex" }, N = /* @__PURE__ */ r("h4", null, "Upload photo", -1), S = /* @__PURE__ */ r("h3", { class: "mn-b-small" }, "Socials", -1), B = /* @__PURE__ */ r("p", { class: "mn-b-thin" }, "Please provide only the username for social media profiles, without full links.", -1), X = {
|
18
18
|
__name: "OrganizationEdit",
|
19
19
|
setup(E) {
|
20
20
|
const a = _(), n = y();
|
@@ -41,14 +41,14 @@ const T = { class: "for-transition pd-thin" }, z = /* @__PURE__ */ r("h3", { cla
|
|
41
41
|
class: "mn-b-semi bg-light pd-medium radius-small"
|
42
42
|
}, null, 8, ["modelValue"]),
|
43
43
|
P,
|
44
|
-
r("div",
|
44
|
+
r("div", $, [
|
45
45
|
i(v, {
|
46
46
|
photo: e.current.profile.photo,
|
47
47
|
"onUpdate:photo": t[1] || (t[1] = (l) => e.current.profile.photo = l),
|
48
48
|
uploadPath: "organizations/" + e.current._id + "/avatars",
|
49
49
|
class: "h-4r w-4r aspect-1x1 o-hidden mn-b-thin radius-extra"
|
50
50
|
}, null, 8, ["photo", "uploadPath"]),
|
51
|
-
|
51
|
+
N
|
52
52
|
]),
|
53
53
|
i(o, {
|
54
54
|
field: e.current.profile.name,
|
@@ -66,7 +66,7 @@ const T = { class: "for-transition pd-thin" }, z = /* @__PURE__ */ r("h3", { cla
|
|
66
66
|
onTagsChanged: t[4] || (t[4] = (l) => e.current.profile.tags = l),
|
67
67
|
tags: e.current.profile.tags
|
68
68
|
}, null, 8, ["tags"]),
|
69
|
-
|
69
|
+
S,
|
70
70
|
B,
|
71
71
|
i(o, {
|
72
72
|
field: e.current.socials.instagram,
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js
CHANGED
@@ -7,7 +7,7 @@ import "vue-i18n";
|
|
7
7
|
import S from "../../../../../../_virtual/_plugin-vue_export-helper.js";
|
8
8
|
/* empty css */
|
9
9
|
/* empty css */
|
10
|
-
const E = (a) => (w("data-v-f93fcad7"), a = a(), C(), a), B = { class: "documents" },
|
10
|
+
const E = (a) => (w("data-v-f93fcad7"), a = a(), C(), a), B = { class: "documents" }, N = /* @__PURE__ */ E(() => /* @__PURE__ */ o("h3", { class: "mn-b-small" }, "Список документов", -1)), O = { class: "mn-b-big cols-4" }, R = ["onClick"], U = { class: "mn-b-small" }, V = { class: "t-semi t-transp radius-small" }, $ = {
|
11
11
|
__name: "Documents",
|
12
12
|
setup(a) {
|
13
13
|
I(), g();
|
@@ -54,19 +54,19 @@ const E = (a) => (w("data-v-f93fcad7"), a = a(), C(), a), B = { class: "document
|
|
54
54
|
m();
|
55
55
|
};
|
56
56
|
return y(() => {
|
57
|
-
}), (u,
|
57
|
+
}), (u, F) => {
|
58
58
|
const x = P("Popup");
|
59
59
|
return t(), s("div", B, [
|
60
|
-
|
61
|
-
o("div",
|
60
|
+
N,
|
61
|
+
o("div", O, [
|
62
62
|
(t(!0), s(i, null, d(_(p), (e, n) => (t(), s("div", {
|
63
63
|
key: n,
|
64
|
-
onClick: (
|
64
|
+
onClick: (L) => v(n),
|
65
65
|
class: "h-100 pd-medium bg-white radius-small"
|
66
66
|
}, [
|
67
|
-
o("h3",
|
68
|
-
o("p",
|
69
|
-
], 8,
|
67
|
+
o("h3", U, f(e.name), 1),
|
68
|
+
o("p", V, f(e.status), 1)
|
69
|
+
], 8, R))), 128))
|
70
70
|
]),
|
71
71
|
h(x, {
|
72
72
|
title: "Добавить документ",
|
@@ -96,7 +96,7 @@ const E = (a) => (w("data-v-f93fcad7"), a = a(), C(), a), B = { class: "document
|
|
96
96
|
]);
|
97
97
|
};
|
98
98
|
}
|
99
|
-
}, Q = /* @__PURE__ */ S(
|
99
|
+
}, Q = /* @__PURE__ */ S($, [["__scopeId", "data-v-f93fcad7"]]);
|
100
100
|
export {
|
101
101
|
Q as default
|
102
102
|
};
|
package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ref as r, openBlock as t, createElementBlock as e, createElementVNode as
|
1
|
+
import { ref as r, openBlock as t, createElementBlock as e, createElementVNode as l, toDisplayString as b, Fragment as g, renderList as h, createVNode as s, withCtx as c } from "vue";
|
2
2
|
import v from "../../../../components/Field/Field.vue.js";
|
3
3
|
/* empty css */
|
4
4
|
import x from "../../../../components/Button/Button.vue.js";
|
@@ -6,7 +6,7 @@ import k from "../../../icons/navigation/IconDelete.vue.js";
|
|
6
6
|
import w from "../../../icons/navigation/IconAdd.vue.js";
|
7
7
|
import "../../../middlewares/client/inputs.validation.js";
|
8
8
|
import "../../store/invites.js";
|
9
|
-
const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-small radius-medium pd-semi bg-light" },
|
9
|
+
const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-small radius-medium pd-semi bg-light" }, $ = ["onClick"], E = /* @__PURE__ */ l("span", null, "Invite to organization", -1), D = {
|
10
10
|
__name: "MembersAdd",
|
11
11
|
props: {
|
12
12
|
organization: Object,
|
@@ -18,22 +18,22 @@ const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-sm
|
|
18
18
|
async function f() {
|
19
19
|
u("send-invite", i.value);
|
20
20
|
}
|
21
|
-
return (
|
22
|
-
|
23
|
-
|
24
|
-
(t(!0), e(g, null, h(i.value, (o,
|
25
|
-
key:
|
21
|
+
return (V, n) => (t(), e("div", null, [
|
22
|
+
l("p", y, b(m.text), 1),
|
23
|
+
l("section", C, [
|
24
|
+
(t(!0), e(g, null, h(i.value, (o, a) => (t(), e("div", {
|
25
|
+
key: a,
|
26
26
|
class: "br-1px br-solid br-grey-transp-25 flex gap-thin radius-small mn-b-thin"
|
27
27
|
}, [
|
28
28
|
s(v, {
|
29
29
|
field: o.contact,
|
30
|
-
"onUpdate:field": (
|
30
|
+
"onUpdate:field": (_) => o.contact = _,
|
31
31
|
placeholder: "Enter email or phone",
|
32
32
|
class: "w-100 pd-small radius-small bg-white",
|
33
33
|
validation: p.value
|
34
34
|
}, {
|
35
35
|
default: c(() => [
|
36
|
-
|
36
|
+
a < 1 ? (t(), e("div", {
|
37
37
|
key: 0,
|
38
38
|
onClick: n[0] || (n[0] = () => i.value.push({ contact: "" })),
|
39
39
|
class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-green"
|
@@ -44,14 +44,14 @@ const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-sm
|
|
44
44
|
})
|
45
45
|
])) : (t(), e("div", {
|
46
46
|
key: 1,
|
47
|
-
onClick: () => i.value.splice(
|
47
|
+
onClick: () => i.value.splice(a, 1),
|
48
48
|
class: "radius-small h-100 i-big flex-center flex aspect-1x1 bg-red"
|
49
49
|
}, [
|
50
50
|
s(k, {
|
51
51
|
class: "i-medium",
|
52
52
|
fill: "rgb(var(--white)"
|
53
53
|
})
|
54
|
-
], 8,
|
54
|
+
], 8, $))
|
55
55
|
]),
|
56
56
|
_: 2
|
57
57
|
}, 1032, ["field", "onUpdate:field", "validation"])
|
@@ -62,7 +62,7 @@ const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-sm
|
|
62
62
|
class: "w-100 bg-main"
|
63
63
|
}, {
|
64
64
|
default: c(() => [
|
65
|
-
|
65
|
+
E
|
66
66
|
]),
|
67
67
|
_: 1
|
68
68
|
})
|
@@ -70,5 +70,5 @@ const y = { class: "mn-b-thin t-transp p-medium" }, C = { class: "cols-1 mn-b-sm
|
|
70
70
|
}
|
71
71
|
};
|
72
72
|
export {
|
73
|
-
|
73
|
+
D as default
|
74
74
|
};
|
package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
import { ref as n, computed as
|
1
|
+
import { ref as n, computed as _, watch as v, openBlock as o, createElementBlock as p, createElementVNode as f, toDisplayString as q, createBlock as U, withCtx as y, createVNode as i, createCommentVNode as c, unref as h } from "vue";
|
2
2
|
import b from "../../../../components/Field/Field.vue.js";
|
3
3
|
import w from "../../../../components/Select/Select.vue.js";
|
4
4
|
/* empty css */
|
5
|
-
import
|
6
|
-
import
|
7
|
-
const
|
5
|
+
import B from "../../../icons/navigation/IconAdd.vue.js";
|
6
|
+
import Q from "../../../icons/navigation/IconDelete.vue.js";
|
7
|
+
const V = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap flex" }, S = { class: "bg-white w-100 w-min-15r br-solid br-1px br-black-transp-5 pd-small radius-small" }, $ = ["disabled"], A = {
|
8
8
|
key: 0,
|
9
9
|
class: "gap-thin flex-nowrap flex"
|
10
|
-
},
|
10
|
+
}, F = {
|
11
11
|
__name: "CardPosition",
|
12
12
|
props: {
|
13
13
|
product: Object,
|
@@ -24,7 +24,7 @@ const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap fl
|
|
24
24
|
"update"
|
25
25
|
],
|
26
26
|
setup(d, { emit: g }) {
|
27
|
-
const t = d, m = g, r = n(null), e = n(1), l = n("pcs"), s = n(0), k =
|
27
|
+
const t = d, m = g, r = n(null), e = n(1), l = n("pcs"), s = n(0), k = _(
|
28
28
|
() => r.value && e.value > 0 && s.value >= 0
|
29
29
|
);
|
30
30
|
v(t.array, () => {
|
@@ -53,10 +53,10 @@ const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap fl
|
|
53
53
|
type: l.value
|
54
54
|
});
|
55
55
|
}
|
56
|
-
return (C, a) => (o(), p("div",
|
57
|
-
|
58
|
-
|
59
|
-
d.showPrice ? c("", !0) : (o(),
|
56
|
+
return (C, a) => (o(), p("div", V, [
|
57
|
+
f("div", N, [
|
58
|
+
f("div", S, q(r.value.name || r.value._id.name), 1),
|
59
|
+
d.showPrice ? c("", !0) : (o(), U(b, {
|
60
60
|
key: 0,
|
61
61
|
field: e.value,
|
62
62
|
"onUpdate:field": a[1] || (a[1] = (u) => e.value = u),
|
@@ -64,7 +64,7 @@ const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap fl
|
|
64
64
|
label: "Qty",
|
65
65
|
class: "bg-white w-100 w-max-10r br-solid br-1px br-black-transp-5 pd-small radius-small"
|
66
66
|
}, {
|
67
|
-
default:
|
67
|
+
default: y(() => [
|
68
68
|
i(w, {
|
69
69
|
select: l.value,
|
70
70
|
"onUpdate:select": a[0] || (a[0] = (u) => l.value = u),
|
@@ -84,17 +84,17 @@ const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap fl
|
|
84
84
|
onClick: x,
|
85
85
|
class: "bg-main aspect-1x1 radius-small pd-small"
|
86
86
|
}, [
|
87
|
-
i(h(
|
88
|
-
], 8,
|
87
|
+
i(h(B), { class: "i-semi" })
|
88
|
+
], 8, $)),
|
89
89
|
d.product ? (o(), p("button", {
|
90
90
|
key: 2,
|
91
91
|
onClick: P,
|
92
92
|
class: "bg-red aspect-1x1 radius-small pd-small"
|
93
93
|
}, [
|
94
|
-
i(h(
|
94
|
+
i(h(Q), { class: "i-semi" })
|
95
95
|
])) : c("", !0)
|
96
96
|
]),
|
97
|
-
d.showPrice ? (o(), p("div",
|
97
|
+
d.showPrice ? (o(), p("div", A, [
|
98
98
|
i(b, {
|
99
99
|
field: s.value,
|
100
100
|
"onUpdate:field": a[2] || (a[2] = (u) => s.value = u),
|
@@ -110,7 +110,7 @@ const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap fl
|
|
110
110
|
label: "Qty",
|
111
111
|
class: "bg-white w-100 br-solid br-1px br-black-transp-5 pd-small radius-small"
|
112
112
|
}, {
|
113
|
-
default:
|
113
|
+
default: y(() => [
|
114
114
|
i(w, {
|
115
115
|
select: l.value,
|
116
116
|
"onUpdate:select": a[3] || (a[3] = (u) => l.value = u),
|
@@ -129,5 +129,5 @@ const _ = { class: "gap-thin" }, N = { class: "gap-thin mn-b-thin flex-nowrap fl
|
|
129
129
|
}
|
130
130
|
};
|
131
131
|
export {
|
132
|
-
|
132
|
+
F as default
|
133
133
|
};
|
package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js
CHANGED
@@ -6,16 +6,16 @@ import { actions as g } from "../../store/leftovers.js";
|
|
6
6
|
const h = { class: "flex-column flex-wrap block" }, k = {
|
7
7
|
key: 0,
|
8
8
|
class: "w-100"
|
9
|
-
}, x = { class: "mn-r-regular w-100" }, w = ["onClick"],
|
9
|
+
}, x = { class: "mn-r-regular w-100" }, w = ["onClick"], V = {
|
10
10
|
__name: "LeftoverPositions",
|
11
11
|
props: {
|
12
12
|
order: Object
|
13
13
|
},
|
14
14
|
setup(n) {
|
15
15
|
b(), _();
|
16
|
-
const
|
17
|
-
function
|
18
|
-
g.deleteItemFromLeftover(
|
16
|
+
const m = n;
|
17
|
+
function d(s) {
|
18
|
+
g.deleteItemFromLeftover(m.order.positions[s]);
|
19
19
|
}
|
20
20
|
return (s, v) => (l(), o("div", null, [
|
21
21
|
i("ul", h, [
|
@@ -43,7 +43,7 @@ const h = { class: "flex-column flex-wrap block" }, k = {
|
|
43
43
|
}, null, 8, ["field", "onUpdate:field", "symbol"]),
|
44
44
|
i("a", {
|
45
45
|
class: "button",
|
46
|
-
onClick: (t) =>
|
46
|
+
onClick: (t) => d(c)
|
47
47
|
}, " Delete ", 8, w)
|
48
48
|
]))), 128))
|
49
49
|
])
|
@@ -51,5 +51,5 @@ const h = { class: "flex-column flex-wrap block" }, k = {
|
|
51
51
|
}
|
52
52
|
};
|
53
53
|
export {
|
54
|
-
|
54
|
+
V as default
|
55
55
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { computed as h, openBlock as o, createElementBlock as c, Fragment as m, createVNode as l, withCtx as u, createElementVNode as d, toDisplayString as
|
1
|
+
import { computed as h, openBlock as o, createElementBlock as c, Fragment as m, createVNode as l, withCtx as u, createElementVNode as d, toDisplayString as y, unref as U, createTextVNode as C, renderList as b } from "vue";
|
2
2
|
import { useRoute as k, useRouter as v } from "vue-router";
|
3
3
|
import g from "../../../icons/navigation/IconDelete.vue.js";
|
4
4
|
import S from "../../../../components/Button/Button.vue.js";
|
@@ -7,15 +7,15 @@ import i from "../../../../components/Field/Field.vue.js";
|
|
7
7
|
import p from "../../../../components/Block/Block.vue.js";
|
8
8
|
import { actions as f, state as t } from "../../store/categories.js";
|
9
9
|
/* empty css */
|
10
|
-
const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap gap-thin flex" },
|
10
|
+
const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap gap-thin flex" }, L = { class: "flex-v-center flex-nowrap flex" }, F = /* @__PURE__ */ d("h4", { class: "mn-r-thin t-medium" }, "Localization", -1), R = ["onClick"], $ = ["onClick"], T = ["onClick"], J = {
|
11
11
|
__name: "CategoryEdit",
|
12
|
-
setup(
|
12
|
+
setup(V) {
|
13
13
|
const n = k(), w = v();
|
14
14
|
n.params.category ? f.fetchCategory(n.params.category) : f.resetCategory(), h(() => t.current), h(() => n.name);
|
15
15
|
function x() {
|
16
16
|
n.params.category ? f.updateCategory(n.params.category) : f.addCategory();
|
17
17
|
}
|
18
|
-
function
|
18
|
+
function _() {
|
19
19
|
w.push({
|
20
20
|
name: "Categories Organization",
|
21
21
|
params: {
|
@@ -26,10 +26,10 @@ const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap ga
|
|
26
26
|
return (B, r) => (o(), c(m, null, [
|
27
27
|
l(p, { class: "radius-big mn-b-thin flex-nowrap flex-v-center flex" }, {
|
28
28
|
default: u(() => [
|
29
|
-
d("h1", N,
|
29
|
+
d("h1", N, y(U(n).params.category ? "Edit Category" : "Add Category"), 1),
|
30
30
|
l(S, {
|
31
31
|
submit: x,
|
32
|
-
callback:
|
32
|
+
callback: _,
|
33
33
|
class: "pd-small radius-big bg-main t-black uppercase t-medium"
|
34
34
|
}, {
|
35
35
|
default: u(() => [
|
@@ -81,8 +81,8 @@ const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap ga
|
|
81
81
|
placeholder: "Display product",
|
82
82
|
class: "pos-relative w-100 mn-b-small bg-white radius-small pd-medium"
|
83
83
|
}, null, 8, ["select"]),
|
84
|
-
d("div",
|
85
|
-
|
84
|
+
d("div", L, [
|
85
|
+
F,
|
86
86
|
d("button", {
|
87
87
|
onClick: r[4] || (r[4] = () => t.current.localization.push({ locale: "", text: "" })),
|
88
88
|
class: "i-small pd-thin button-delete button"
|
@@ -145,7 +145,7 @@ const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap ga
|
|
145
145
|
class: "radius-small pd-small flex-center flex aspect-1x1 bg-red"
|
146
146
|
}, [
|
147
147
|
l(g, { class: "i-medium" })
|
148
|
-
], 8,
|
148
|
+
], 8, $)
|
149
149
|
]))), 128))
|
150
150
|
]),
|
151
151
|
_: 1
|
@@ -180,7 +180,7 @@ const N = { class: "mn-r-auto" }, z = { class: "mn-b-medium w-100 flex-nowrap ga
|
|
180
180
|
class: "radius-small pd-small flex-center flex aspect-1x1 bg-red"
|
181
181
|
}, [
|
182
182
|
l(g, { class: "i-medium" })
|
183
|
-
], 8,
|
183
|
+
], 8, T)
|
184
184
|
]))), 128))
|
185
185
|
]),
|
186
186
|
_: 1
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { ref as h, computed as z, onMounted as E, openBlock as l, createElementBlock as
|
1
|
+
import { ref as h, computed as z, onMounted as E, openBlock as l, createElementBlock as p, createElementVNode as n, toDisplayString as k, unref as b, createVNode as a, withCtx as c, Fragment as P, renderList as $, createBlock as x, createCommentVNode as U } from "vue";
|
2
2
|
import v from "../../../../components/Block/Block.vue.js";
|
3
3
|
import B from "../../../../components/Field/Field.vue.js";
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
4
|
+
import I from "../../../../components/Feed/Feed.vue.js";
|
5
|
+
import O from "../../../../components/Select/Select.vue.js";
|
6
|
+
import V from "../../../../components/Popup/Popup.vue.js";
|
7
7
|
/* empty css */
|
8
|
-
import
|
9
|
-
import
|
8
|
+
import A from "../blocks/CardPosition.vue.js";
|
9
|
+
import F from "../../../orders/components/blocks/CardOrderItem.vue.js";
|
10
10
|
import { useRoute as j, useRouter as q } from "vue-router";
|
11
11
|
import { actions as y } from "../../../globals/store/globals.js";
|
12
12
|
import { state as M } from "../../../auth/store/auth.js";
|
@@ -68,10 +68,10 @@ const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-cente
|
|
68
68
|
(s) => console.error("error")
|
69
69
|
);
|
70
70
|
}
|
71
|
-
return (s, o) => (l(),
|
71
|
+
return (s, o) => (l(), p("div", H, [
|
72
72
|
n("header", J, [
|
73
73
|
n("h2", K, k(b(t).params.leftover ? "Edit " : "Add ") + " Inventory", 1),
|
74
|
-
a(
|
74
|
+
a(O, {
|
75
75
|
select: e.current.type,
|
76
76
|
"onUpdate:select": o[0] || (o[0] = (r) => e.current.type = r),
|
77
77
|
options: [
|
@@ -82,7 +82,7 @@ const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-cente
|
|
82
82
|
class: "bg-main t-black w-max pd-small t-semi p-big uppercase radius-small"
|
83
83
|
}, null, 8, ["select"])
|
84
84
|
]),
|
85
|
-
a(
|
85
|
+
a(V, {
|
86
86
|
title: "Add position",
|
87
87
|
onClosePopup: w,
|
88
88
|
isPopupOpen: f.value,
|
@@ -90,7 +90,7 @@ const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-cente
|
|
90
90
|
}, {
|
91
91
|
default: c(() => [
|
92
92
|
n("div", Q, [
|
93
|
-
a(
|
93
|
+
a(I, {
|
94
94
|
search: !0,
|
95
95
|
states: {
|
96
96
|
empty: {
|
@@ -110,7 +110,7 @@ const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-cente
|
|
110
110
|
default: c(({
|
111
111
|
items: r
|
112
112
|
}) => [
|
113
|
-
(l(!0),
|
113
|
+
(l(!0), p(P, null, $(r, (i, m) => (l(), x(F, {
|
114
114
|
key: i._id,
|
115
115
|
editable: !1,
|
116
116
|
product: i,
|
@@ -137,19 +137,19 @@ const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-cente
|
|
137
137
|
class: "mn-b-semi"
|
138
138
|
}, {
|
139
139
|
default: c(() => [
|
140
|
-
(l(!0),
|
140
|
+
(l(!0), p(P, null, $(e.current.positions, (r, i) => (l(), x(A, {
|
141
141
|
key: r._id,
|
142
142
|
product: r,
|
143
143
|
array: e.current.positions,
|
144
144
|
products: g.value,
|
145
|
-
onUpdate: (
|
145
|
+
onUpdate: (m) => y.update(
|
146
146
|
e.current.positions,
|
147
|
-
|
147
|
+
m,
|
148
148
|
i
|
149
149
|
),
|
150
|
-
onDelete: (
|
150
|
+
onDelete: (m) => y.delete(
|
151
151
|
e.current.positions,
|
152
|
-
|
152
|
+
m,
|
153
153
|
i
|
154
154
|
),
|
155
155
|
class: "mn-b-small radius-medium bg-white pd-small"
|
@@ -184,7 +184,7 @@ const H = { class: "pd-thin" }, J = { class: "mn-b-medium gap-small flex-v-cente
|
|
184
184
|
class: "t-white bg-second button",
|
185
185
|
onClick: o[3] || (o[3] = (r) => D())
|
186
186
|
}, " Reset "),
|
187
|
-
b(t).params.leftover ? (l(),
|
187
|
+
b(t).params.leftover ? (l(), p("a", {
|
188
188
|
key: 0,
|
189
189
|
onClick: o[4] || (o[4] = (r) => R()),
|
190
190
|
class: "t-white bg-red button"
|