@feedmepos/mf-common 1.27.5 → 1.27.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { ref as S, computed as s, defineComponent as le, mergeModels as te, useModel as ae, watch as U, resolveComponent as C, openBlock as d, createElementBlock as y, createElementVNode as k, createVNode as g, withCtx as z, normalizeClass as ne, toDisplayString as ue, createCommentVNode as $, withModifiers as j, unref as h, isRef as re, Fragment as I, renderList as K, createBlock as P, renderSlot as oe, nextTick as se } from "vue";
2
- import { t as ie, u as ce, a as ve, O as N, b as de } from "./app-42fbc6b2.js";
2
+ import { t as ie, u as ce, a as ve, O as N, b as de } from "./app-f8b2e389.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import "pinia";
5
5
  import "vue-router";
@@ -47006,12 +47006,158 @@ var yu;
47006
47006
  })(o.Feedme || (o.Feedme = {})), ((i) => {
47007
47007
  i.quota = "quota", i.owner = "owner";
47008
47008
  })(o.FeedmeBusinessField || (o.FeedmeBusinessField = {})), ((i) => {
47009
- i.profile = "business::profile", i.restaurant = "business::restaurant", i.menu = "business::menu", i.promotion = "business::promotion", i.voucher = "business::voucher", i.membership = "business::membership", i.stock = "business::stock", i.permission = "business::permission", i.role = "business::role", i.wastageTemplate = "business::wastageTemplate", i.closingTemplate = "business::closingTemplate", i.orderTemplate = "business::orderTemplate", i.ingredient = "business::ingredient";
47009
+ i.profile = "business::profile", i.restaurant = "business::restaurant", i.menu = "business::menu", i.promotion = "business::promotion", i.voucher = "business::voucher", i.membership = "business::membership", i.stock = "business::stock", i.permission = "business::permission", i.role = "business::role", i.wastageTemplate = "business::wastageTemplate", i.closingTemplate = "business::closingTemplate", i.orderTemplate = "business::orderTemplate", i.ingredient = "business::ingredient", i.recipe = "business::recipe", i.unit = "business::unit", i.supplier = "business::supplier", i.warehouse = "business::warehouse", i.publish = "business::publish", i.integration = "business::integration";
47010
47010
  })(o.Business || (o.Business = {})), ((i) => {
47011
47011
  i.restaurant = "restaurant";
47012
47012
  })(o.Restaurant || (o.Restaurant = {}));
47013
47013
  })(l.Subject || (l.Subject = {}));
47014
47014
  })(yu || (yu = {}));
47015
+ const fx = {
47016
+ menu: {
47017
+ label: "Menu Management",
47018
+ subject: "business::menu",
47019
+ actions: [
47020
+ "manage"
47021
+ /* manage */
47022
+ ]
47023
+ },
47024
+ stock: {
47025
+ label: "Stock Management",
47026
+ subject: "business::stock",
47027
+ actions: [
47028
+ "manage"
47029
+ /* manage */
47030
+ ]
47031
+ },
47032
+ promotion: {
47033
+ label: "Promotion Management",
47034
+ subject: "business::promotion",
47035
+ actions: [
47036
+ "manage"
47037
+ /* manage */
47038
+ ]
47039
+ },
47040
+ voucher: {
47041
+ label: "Voucher Management",
47042
+ subject: "business::voucher",
47043
+ actions: [
47044
+ "manage"
47045
+ /* manage */
47046
+ ]
47047
+ },
47048
+ membership: {
47049
+ label: "Membership Management",
47050
+ subject: "business::membership",
47051
+ actions: [
47052
+ "manage"
47053
+ /* manage */
47054
+ ]
47055
+ },
47056
+ permission: {
47057
+ label: "Team Management",
47058
+ subject: "business::permission",
47059
+ actions: [
47060
+ "manage"
47061
+ /* manage */
47062
+ ]
47063
+ },
47064
+ restaurant: {
47065
+ label: "Restaurant Owner",
47066
+ subject: "business::restaurant",
47067
+ actions: [
47068
+ "manage"
47069
+ /* manage */
47070
+ ]
47071
+ },
47072
+ role: {
47073
+ label: "Role Management",
47074
+ subject: "business::role",
47075
+ actions: [
47076
+ "manage"
47077
+ /* manage */
47078
+ ]
47079
+ },
47080
+ wastageTemplate: {
47081
+ label: "Wastage Template Management",
47082
+ subject: "business::wastageTemplate",
47083
+ actions: [
47084
+ "manage"
47085
+ /* manage */
47086
+ ]
47087
+ },
47088
+ closingTemplate: {
47089
+ label: "Closing Template Management",
47090
+ subject: "business::closingTemplate",
47091
+ actions: [
47092
+ "manage"
47093
+ /* manage */
47094
+ ]
47095
+ },
47096
+ orderTemplate: {
47097
+ label: "Order Template Management",
47098
+ subject: "business::orderTemplate",
47099
+ actions: [
47100
+ "manage"
47101
+ /* manage */
47102
+ ]
47103
+ },
47104
+ ingredient: {
47105
+ label: "Ingredient Management",
47106
+ subject: "business::ingredient",
47107
+ actions: [
47108
+ "manage"
47109
+ /* manage */
47110
+ ]
47111
+ },
47112
+ recipe: {
47113
+ label: "Recipe Management",
47114
+ subject: "business::recipe",
47115
+ actions: [
47116
+ "manage"
47117
+ /* manage */
47118
+ ]
47119
+ },
47120
+ unit: {
47121
+ label: "Unit Management",
47122
+ subject: "business::unit",
47123
+ actions: [
47124
+ "manage"
47125
+ /* manage */
47126
+ ]
47127
+ },
47128
+ supplier: {
47129
+ label: "Supplier Management",
47130
+ subject: "business::supplier",
47131
+ actions: [
47132
+ "manage"
47133
+ /* manage */
47134
+ ]
47135
+ },
47136
+ warehouse: {
47137
+ label: "Warehouse Management",
47138
+ subject: "business::warehouse",
47139
+ actions: [
47140
+ "manage"
47141
+ /* manage */
47142
+ ]
47143
+ },
47144
+ publish: {
47145
+ label: "Publish Management",
47146
+ subject: "business::publish",
47147
+ actions: [
47148
+ "manage"
47149
+ /* manage */
47150
+ ]
47151
+ },
47152
+ integration: {
47153
+ label: "Integration Management",
47154
+ subject: "business::integration",
47155
+ actions: [
47156
+ "manage"
47157
+ /* manage */
47158
+ ]
47159
+ }
47160
+ };
47015
47161
  async function $B(l) {
47016
47162
  const { sessionUser: o, validationManifest: i } = l, { requiredRoles: u, requiredCaslPermissions: R, customValidationFunction: m } = i;
47017
47163
  if (!o)
@@ -47057,9 +47203,9 @@ async function _B(l) {
47057
47203
  canAccess: !0
47058
47204
  };
47059
47205
  }
47060
- function fx(l) {
47061
- }
47062
47206
  function yx(l) {
47207
+ }
47208
+ function zx(l) {
47063
47209
  return {
47064
47210
  render: () => du(KB, {}, { default: () => du(l) })
47065
47211
  };
@@ -49418,7 +49564,7 @@ const kO = /* @__PURE__ */ Ad(SO, [["__scopeId", "data-v-318fbbc5"]]), fO = { cl
49418
49564
  ])
49419
49565
  ], 64));
49420
49566
  }
49421
- }), zx = /* @__PURE__ */ Pt({
49567
+ }), Qx = /* @__PURE__ */ Pt({
49422
49568
  __name: "App",
49423
49569
  props: {
49424
49570
  hideAppDrawer: { type: Boolean }
@@ -49484,11 +49630,11 @@ const kO = /* @__PURE__ */ Ad(SO, [["__scopeId", "data-v-318fbbc5"]]), fO = { cl
49484
49630
  _: 3
49485
49631
  }, 8, ["dropdown-opened", "apps", "businesses", "countries", "current-app", "current-business", "current-country", "user", "embedded", "hide-app-drawer"]));
49486
49632
  }
49487
- }), Qx = JN(
49488
- () => import("./CustomAttributesForm-a4f037ad.js")
49489
- ), gx = JN(
49490
- () => import("./RestaurantSelector-7fa74f07.js")
49491
- ), vx = JN(() => import("./ItemSelector-b751ecbd.js")), zO = {
49633
+ }), gx = JN(
49634
+ () => import("./CustomAttributesForm-05d5b316.js")
49635
+ ), vx = JN(
49636
+ () => import("./RestaurantSelector-571a07f4.js")
49637
+ ), Yx = JN(() => import("./ItemSelector-b13afc4e.js")), zO = {
49492
49638
  yes: "Yes",
49493
49639
  no: "No",
49494
49640
  ok: "OK",
@@ -50354,7 +50500,7 @@ const kO = /* @__PURE__ */ Ad(SO, [["__scopeId", "data-v-318fbbc5"]]), fO = { cl
50354
50500
  "th-TH": { ...XO, ...vO },
50355
50501
  "zh-Hant": { ...PO, ...jO }
50356
50502
  };
50357
- function Yx(l) {
50503
+ function Jx(l) {
50358
50504
  if (l.messages)
50359
50505
  for (const o of KO) {
50360
50506
  const i = l.messages[o] || {};
@@ -50365,7 +50511,7 @@ function Yx(l) {
50365
50511
  }
50366
50512
  return _g(l);
50367
50513
  }
50368
- function Jx(l, o, i) {
50514
+ function Gx(l, o, i) {
50369
50515
  l && o && i && /^GTM-[0-9A-Z]+$/.test(i.id) ? l.use(
50370
50516
  sv({
50371
50517
  id: i.id,
@@ -50378,7 +50524,7 @@ function Jx(l, o, i) {
50378
50524
  })
50379
50525
  ) : console.log("skipped init vue client monitoring");
50380
50526
  }
50381
- function Gx(l) {
50527
+ function jx(l) {
50382
50528
  l.beforeEach((o, i) => {
50383
50529
  const u = i.query.country || o.query.country || ua.getCountry(), R = i.query.businessId || o.query.businessId || ua.getBusinessId(), m = i.query.restaurantId || o.query.restaurantId || ua.getRestaurantId();
50384
50530
  if (R || u) {
@@ -50399,7 +50545,7 @@ function Gx(l) {
50399
50545
  });
50400
50546
  }
50401
50547
  const QT = "fm-post-message-request", zN = "fm-post-message-response";
50402
- function jx({
50548
+ function Bx({
50403
50549
  targetWindow: l,
50404
50550
  methodName: o,
50405
50551
  params: i = [],
@@ -50452,59 +50598,59 @@ async function vT(l) {
50452
50598
  });
50453
50599
  }
50454
50600
  }
50455
- function Bx(l, o) {
50601
+ function Dx(l, o) {
50456
50602
  gT[l] = o;
50457
50603
  }
50458
50604
  let QN = !1;
50459
- function Dx() {
50605
+ function wx() {
50460
50606
  QN || (window.addEventListener("message", vT), QN = !0);
50461
50607
  }
50462
- function wx() {
50608
+ function Ox() {
50463
50609
  window.removeEventListener("message", vT), QN = !1;
50464
50610
  }
50465
50611
  export {
50466
50612
  $O as A,
50467
- Yx as B,
50468
- Qx as C,
50613
+ Jx as B,
50614
+ gx as C,
50469
50615
  eD as D,
50470
50616
  WB as E,
50471
50617
  Tn as F,
50472
50618
  IV as G,
50473
50619
  QT as H,
50474
- vx as I,
50620
+ Yx as I,
50475
50621
  zN as J,
50476
- jx as K,
50477
- Bx as L,
50478
- Dx as M,
50479
- wx as N,
50622
+ Bx as K,
50623
+ Dx as L,
50624
+ wx as M,
50625
+ Ox as N,
50480
50626
  bx as O,
50481
50627
  yu as P,
50482
- gx as R,
50628
+ vx as R,
50483
50629
  KB as _,
50484
50630
  B9 as a,
50485
50631
  Ex as b,
50486
50632
  a0 as c,
50487
- Q0 as d,
50488
- Fd as e,
50489
- _e as f,
50490
- Qt as g,
50491
- _n as h,
50492
- hr as i,
50493
- Tx as j,
50494
- VG as k,
50633
+ _e as d,
50634
+ Qt as e,
50635
+ _n as f,
50636
+ hr as g,
50637
+ VG as h,
50638
+ Tx as i,
50639
+ sT as j,
50640
+ Gx as k,
50495
50641
  pe as l,
50496
- sT as m,
50497
- Jx as n,
50642
+ UG as m,
50643
+ jx as n,
50498
50644
  Wx as o,
50499
- UG as p,
50500
- Gx as q,
50501
- Mx as r,
50502
- WT as s,
50645
+ Q0 as p,
50646
+ Mx as q,
50647
+ WT as r,
50648
+ Sx as s,
50503
50649
  gn as t,
50504
50650
  Sn as u,
50505
- Sx as v,
50506
- kx as w,
50651
+ kx as v,
50652
+ yx as w,
50507
50653
  fx as x,
50508
- yx as y,
50509
- zx as z
50654
+ zx as y,
50655
+ Qx as z
50510
50656
  };
package/dist/app.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as s } from "./app-42fbc6b2.js";
2
- import { C as u, E as M, s as m, H as E, J as S, F as p, z as P, k as d, I as c, P as C, _, R as g, i as h, K as F, B as R, p as A, A as y, n as O, j as I, q as L, M as T, x as b, v as G, w as N, o as Q, L as U, D as w, N as x, u as B, m as D, r as Y, t as f, G as v, y as z } from "./app-42fbc6b2.js";
1
+ import { p as s } from "./app-f8b2e389.js";
2
+ import { C as u, E as m, r as M, H as E, J as P, F as S, z as p, h as c, I as d, P as g, _ as C, R as _, g as h, K as F, B as R, m as A, x as y, A as O, k as I, i as L, n as T, M as b, w as G, s as N, v as Q, o as U, L as f, D as w, N as x, u as B, j as D, q as Y, t as v, G as z, y as V } from "./app-f8b2e389.js";
3
3
  import "pinia";
4
4
  import "vue";
5
5
  import "vue-router";
@@ -8,37 +8,38 @@ const r = s.Dinero;
8
8
  export {
9
9
  u as CustomAttributesForm,
10
10
  r as Dinero,
11
- M as EMPTY_MONGO_QUERY,
12
- m as EMPTY_RULE,
11
+ m as EMPTY_MONGO_QUERY,
12
+ M as EMPTY_RULE,
13
13
  E as FM_POST_MESSAGE_REQUEST,
14
- S as FM_POST_MESSAGE_RESPONSE,
15
- p as FeedMeAuth,
16
- P as FmNavBar,
17
- d as FmpUser,
18
- c as ItemSelector,
19
- C as Permission,
20
- _ as PermissionWrapper,
21
- g as RestaurantSelector,
14
+ P as FM_POST_MESSAGE_RESPONSE,
15
+ S as FeedMeAuth,
16
+ p as FmNavBar,
17
+ c as FmpUser,
18
+ d as ItemSelector,
19
+ g as Permission,
20
+ C as PermissionWrapper,
21
+ _ as RestaurantSelector,
22
22
  h as baseClientInstance,
23
23
  F as callMethodOnWindow,
24
24
  R as createFeedMeI18n,
25
25
  A as detectLocale,
26
- y as i18nMessages,
27
- O as initVueClientMonitoring,
28
- I as initialize,
29
- L as installBusinessQueryStatePlugin,
30
- T as installPostMessageMethodCall,
31
- b as installRouteValidation,
32
- G as isEmptyMongoQuery,
33
- N as isEmptyRule,
34
- Q as onAuthStateChanged,
35
- U as registerPostMessageMethod,
26
+ y as fullPermission,
27
+ O as i18nMessages,
28
+ I as initVueClientMonitoring,
29
+ L as initialize,
30
+ T as installBusinessQueryStatePlugin,
31
+ b as installPostMessageMethodCall,
32
+ G as installRouteValidation,
33
+ N as isEmptyMongoQuery,
34
+ Q as isEmptyRule,
35
+ U as onAuthStateChanged,
36
+ f as registerPostMessageMethod,
36
37
  w as setEnabledLocales,
37
38
  x as uninstallPostMessageMethodCall,
38
39
  B as useCoreStore,
39
40
  D as useCountry,
40
41
  Y as useCustomAttributes,
41
- f as useI18n,
42
- v as useLocale,
43
- z as withPermission
42
+ v as useI18n,
43
+ z as useLocale,
44
+ V as withPermission
44
45
  };
@@ -41,7 +41,13 @@ export declare namespace Permission.Subject {
41
41
  wastageTemplate = "business::wastageTemplate",
42
42
  closingTemplate = "business::closingTemplate",
43
43
  orderTemplate = "business::orderTemplate",
44
- ingredient = "business::ingredient"
44
+ ingredient = "business::ingredient",
45
+ recipe = "business::recipe",
46
+ unit = "business::unit",
47
+ supplier = "business::supplier",
48
+ warehouse = "business::warehouse",
49
+ publish = "business::publish",
50
+ integration = "business::integration"
45
51
  }
46
52
  enum Restaurant {
47
53
  restaurant = "restaurant"
@@ -1 +1 @@
1
- {"version":3,"file":"permission.d.ts","sourceRoot":"","sources":["../../../src/permission/permission.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAK,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AACvC,OAAO,EAAE,KAAK,6BAA6B,EAAE,KAAK,MAAM,EAAE,MAAM,YAAY,CAAA;AAG5E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,yBAAiB,UAAU,CAAC;IAC1B,KAAY,KAAK;QACf,MAAM,IAAI;QACV,QAAQ,IAAI;QACZ,UAAU,IAAI;KACf;IAED,KAAY,MAAM;QAChB,MAAM,WAAW;QACjB,MAAM,WAAW;QACjB,IAAI,SAAS;QACb,MAAM,WAAW;QACjB,MAAM,WAAW;KAClB;CACF;AAED,yBAAiB,UAAU,CAAC,OAAO,CAAC;IAClC,KAAY,MAAM;QAChB,GAAG,QAAQ;QACX,UAAU,eAAe;QACzB,QAAQ,aAAa;QACrB,QAAQ,aAAa;QACrB,KAAK,UAAU;KAChB;IAED,KAAY,mBAAmB;QAC7B,KAAK,UAAU;QACf,KAAK,UAAU;KAChB;IAED,KAAY,QAAQ;QAClB,OAAO,sBAAsB;QAC7B,UAAU,yBAAyB;QACnC,IAAI,mBAAmB;QACvB,SAAS,wBAAwB;QACjC,OAAO,sBAAsB;QAC7B,UAAU,yBAAyB;QACnC,KAAK,oBAAoB;QACzB,UAAU,yBAAyB;QACnC,IAAI,mBAAmB;QACvB,eAAe,8BAA8B;QAC7C,eAAe,8BAA8B;QAC7C,aAAa,4BAA4B;QACzC,UAAU,yBAAyB;KACpC;IAGD,KAAY,UAAU;QACpB,UAAU,eAAe;KAC1B;CACF;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,E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QACjB,kBAAkB,CAAC,EAAE,kBAAkB,CAAA;KACxC;CACF;AAID,wBAAsB,aAAa,CACjC,KAAK,EAAE,6BAA6B,GACnC,OAAO,CAAC,qBAAqB,CAAC,CAmBhC;AAED,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,MAAM,QAEpD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,SAAS;;;;EAI7C"}
@@ -1,3 +1,3 @@
1
- export { installRouteValidation, Permission, type ValidationManifest, type RouteValidationResult, withPermission } from "./permission/permission";
1
+ export { installRouteValidation, Permission, fullPermission, withPermission, type IFdtoPortalPermission, type IPermissionUser, type PermissionLevelDetail, type AbilityConstructOption, type ValidationManifest, type RouteValidationResult } from "./permission/permission";
2
2
  export { default as PermissionWrapper } from "./components/PermissionWrapper.vue";
3
3
  //# sourceMappingURL=permissions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/permissions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,UAAU,EACV,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,cAAc,EACf,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,oCAAoC,CAAA"}
1
+ {"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../src/permissions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,UAAU,EACV,cAAc,EACd,cAAc,EACd,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC3B,MAAM,yBAAyB,CAAA;AAEhC,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,oCAAoC,CAAA"}