@feedmepos/mf-hrm-portal 1.1.3-dev.1 → 1.1.3-dev.11

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.
Files changed (49) hide show
  1. package/dist/AuditLogList-DJljqXNX.js +462 -0
  2. package/dist/EmployeeList-jh-Jtgn7.js +626 -0
  3. package/dist/{Main-VjhiuuHr.js → Main-Bjd4gY-V.js} +28 -27
  4. package/dist/{Main-D5YEKOpl.js → Main-pGBnqjr1.js} +10 -9
  5. package/dist/PermissionSetList-De_oM6zJ.js +323 -0
  6. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-HT8O-x5x.js +3092 -0
  7. package/dist/RoleList-Be2stivK.js +494 -0
  8. package/dist/TeamMemberList-BC0on98P.js +973 -0
  9. package/dist/{TimesheetList-BTTBjTrO.js → TimesheetList-BJNNbqeI.js} +25 -24
  10. package/dist/api/audit-log/index.d.ts +4 -0
  11. package/dist/api/index.d.ts +5 -0
  12. package/dist/api/report-query/index.d.ts +5 -0
  13. package/dist/api/team/index.d.ts +2 -5
  14. package/dist/{app-CfIHEA52.js → app-B6sFazWs.js} +1566 -922
  15. package/dist/app.js +4 -4
  16. package/dist/composables/useReportPermissions.d.ts +14 -0
  17. package/dist/{dayjs.min-C8cBXLt-.js → dayjs.min-DyrmuWSw.js} +1 -1
  18. package/dist/employee-CiqtFaEs.js +144 -0
  19. package/dist/helpers/permission-set.d.ts +37 -0
  20. package/dist/helpers/rule.d.ts +1 -1
  21. package/dist/index-CUEt2D4C.js +827 -0
  22. package/dist/index-CUtOR5dv.js +10340 -0
  23. package/dist/{lodash-0EOIqOEG.js → lodash-CudL7fSp.js} +1 -1
  24. package/dist/stores/permission-set.d.ts +15 -0
  25. package/dist/stores/team.d.ts +13 -4
  26. package/dist/style.css +1 -1
  27. package/dist/team-BzRey7P9.js +30 -0
  28. package/dist/{timesheet-DTI6G4DD.js → timesheet-ppNqE2ke.js} +2 -2
  29. package/dist/tsconfig.app.tsbuildinfo +1 -1
  30. package/dist/types/permission-set.d.ts +4 -0
  31. package/dist/types/report-query.d.ts +6 -0
  32. package/dist/{useAppStore-DCpMNDxE.js → useAppStore-lxDKLJN1.js} +34 -46
  33. package/dist/{useLoading-ChLCiMQj.js → useLoading-ib83IjNC.js} +1 -1
  34. package/dist/useReportPermissions-sw6kd_sS.js +65 -0
  35. package/dist/views/audit-log/locales/index.d.ts +48 -8
  36. package/dist/views/team/locales/index.d.ts +32 -8
  37. package/package.json +4 -2
  38. package/dist/AuditLogList-qGKeg-cd.js +0 -384
  39. package/dist/EmployeeList-BWDsSFoY.js +0 -607
  40. package/dist/PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yghfcQRF.js +0 -3050
  41. package/dist/RoleList-CfPD_Gk_.js +0 -496
  42. package/dist/RolePermissionList-Cu1KTuuI.js +0 -285
  43. package/dist/TeamMemberList-DEYo6_pS.js +0 -949
  44. package/dist/employee-ChJpkvUF.js +0 -172
  45. package/dist/index-CgbDOn3W.js +0 -8411
  46. package/dist/team-C2muObo8.js +0 -26
  47. package/dist/types/permission.d.ts +0 -1
  48. /package/dist/views/team/{role/RolePermissionForm.vue.d.ts → permission-set/PermissionSetForm.vue.d.ts} +0 -0
  49. /package/dist/views/team/{role/RolePermissionList.vue.d.ts → permission-set/PermissionSetList.vue.d.ts} +0 -0
@@ -2,6 +2,7 @@ import type { FdoPermissionRule } from '@feedmepos/core/entity';
2
2
  export interface IFdtoPermissionSet {
3
3
  id: string;
4
4
  permissions: FdoPermissionRule[];
5
+ permissionSetIds: string[];
5
6
  businessId: string;
6
7
  name: string;
7
8
  }
@@ -9,10 +10,13 @@ export interface IFdtoCreatePermissionSetReq {
9
10
  name: string;
10
11
  businessId: string;
11
12
  permissions: FdoPermissionRule[];
13
+ permissionSetIds: string[];
12
14
  }
13
15
  export interface IFdtoUpdatePermissionSetReq {
14
16
  name?: string;
15
17
  permissions?: FdoPermissionRule[];
18
+ permissionSetIds?: string[];
19
+ businessId?: string;
16
20
  }
17
21
  export interface InheritedPermission {
18
22
  id: string;
@@ -0,0 +1,6 @@
1
+ export interface ReportPermissionItem {
2
+ name: string;
3
+ permissionKey: string;
4
+ category: string;
5
+ categoryName: string;
6
+ }
@@ -1,7 +1,7 @@
1
1
  import { defineStore as f, storeToRefs as v } from "pinia";
2
2
  import { ref as b } from "vue";
3
- import { useCoreStore as I, baseClientInstance as h } from "@feedmepos/mf-common";
4
- import { g as l, b as d, s as w } from "./index-CgbDOn3W.js";
3
+ import { useCoreStore as I, baseClientInstance as w } from "@feedmepos/mf-common";
4
+ import { g as l, b as d, s as R } from "./index-CUtOR5dv.js";
5
5
  const p = {
6
6
  async readRoles() {
7
7
  return l(await d().get("/pos-roles"));
@@ -23,54 +23,42 @@ const p = {
23
23
  };
24
24
  async function g(e) {
25
25
  const { restaurants: t } = I(), i = e.reduce((a, u) => {
26
- var s;
27
- const c = a.findIndex((o) => o._id === u._id), r = {
26
+ var r;
27
+ const c = a.findIndex((o) => o._id === u._id), s = {
28
28
  id: u.restaurantId,
29
- name: ((s = t.value.find((o) => o._id === u.restaurantId)) == null ? void 0 : s.profile.name) || ""
29
+ name: ((r = t.value.find((o) => o._id === u.restaurantId)) == null ? void 0 : r.profile.name) || ""
30
30
  };
31
31
  return c < 0 ? a.push({
32
32
  ...u,
33
- restaurants: [r]
34
- }) : a[c].restaurants.some((o) => o.id === u.restaurantId) || (a[c].restaurants = w([...a[c].restaurants, r], { selector: "name" })), a;
33
+ restaurants: [s]
34
+ }) : a[c].restaurants.some((o) => o.id === u.restaurantId) || (a[c].restaurants = R([...a[c].restaurants, s], { selector: "name" })), a;
35
35
  }, []);
36
- return w(i, { selector: "name" });
36
+ return R(i, { selector: "name" });
37
37
  }
38
38
  const x = f("role", () => {
39
39
  const e = b([]), t = b(!1);
40
40
  async function i() {
41
41
  try {
42
42
  t.value = !0;
43
- const r = await p.readRoles();
44
- e.value = await g(r);
45
- } catch (r) {
46
- console.log("Error reading roles:", r);
43
+ const s = await p.readRoles();
44
+ e.value = await g(s);
45
+ } catch (s) {
46
+ console.log("Error reading roles:", s);
47
47
  } finally {
48
48
  t.value = !1;
49
49
  }
50
50
  }
51
- async function a(r) {
52
- try {
53
- const s = await p.createRole(r);
54
- e.value = await g(s);
55
- } catch (s) {
56
- console.log("Error creating role:", s);
57
- }
51
+ async function a(s) {
52
+ const r = await p.createRole(s);
53
+ e.value = await g(r);
58
54
  }
59
- async function u(r, s) {
60
- try {
61
- const o = await p.updateRole(r, s);
62
- e.value = await g(o);
63
- } catch (o) {
64
- console.log("Error updating role:", o);
65
- }
55
+ async function u(s, r) {
56
+ const o = await p.updateRole(s, r);
57
+ e.value = await g(o);
66
58
  }
67
- async function c(r) {
68
- try {
69
- const s = await p.deleteRole(r);
70
- e.value = await g(s);
71
- } catch (s) {
72
- console.log("Error deleting role:", s);
73
- }
59
+ async function c(s) {
60
+ const r = await p.deleteRole(s);
61
+ e.value = await g(r);
74
62
  }
75
63
  return {
76
64
  roles: e,
@@ -100,25 +88,25 @@ function D() {
100
88
  return y(U);
101
89
  }
102
90
  var A = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
103
- const R = {
91
+ const S = {
104
92
  randomUUID: A
105
93
  };
106
- function E(e, t, i) {
107
- if (R.randomUUID && !e)
108
- return R.randomUUID();
94
+ function L(e, t, i) {
95
+ if (S.randomUUID && !e)
96
+ return S.randomUUID();
109
97
  e = e || {};
110
98
  var a = e.random || (e.rng || D)();
111
99
  return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Q(a);
112
100
  }
113
- const S = {
101
+ const h = {
114
102
  async read() {
115
- return l(await h("/").get("/public-setting"));
103
+ return l(await w("/").get("/public-setting"));
116
104
  },
117
105
  async update(e) {
118
- return l(await h("/").put("/public-setting", e));
106
+ return l(await w("/").put("/public-setting", e));
119
107
  }
120
108
  };
121
- function L() {
109
+ function C() {
122
110
  return {
123
111
  loadingQueue: [],
124
112
  publicSetting: {
@@ -142,7 +130,7 @@ function L() {
142
130
  };
143
131
  }
144
132
  const $ = f("portal-app-store", {
145
- state: () => L(),
133
+ state: () => C(),
146
134
  actions: {
147
135
  addLoadingQueues(e) {
148
136
  this.loadingQueue = [...this.loadingQueue, ...e];
@@ -154,7 +142,7 @@ const $ = f("portal-app-store", {
154
142
  this.loadingQueue = this.loadingQueue.filter((t) => !e.includes(t.id));
155
143
  },
156
144
  async promise(e, t = !0) {
157
- const i = E();
145
+ const i = L();
158
146
  try {
159
147
  const a = [{ id: i, isGlobal: t }];
160
148
  return this.addLoadingQueues(a), await e();
@@ -163,10 +151,10 @@ const $ = f("portal-app-store", {
163
151
  }
164
152
  },
165
153
  async getPublicSetting() {
166
- return this.publicSetting = await S.read(), this.publicSetting;
154
+ return this.publicSetting = await h.read(), this.publicSetting;
167
155
  },
168
156
  async updatePublicSetting(e) {
169
- return this.publicSetting = await S.update({
157
+ return this.publicSetting = await h.update({
170
158
  ...this.publicSetting,
171
159
  ...e
172
160
  }), this.publicSetting;
@@ -176,5 +164,5 @@ const $ = f("portal-app-store", {
176
164
  export {
177
165
  $ as a,
178
166
  T as u,
179
- E as v
167
+ L as v
180
168
  };
@@ -1,6 +1,6 @@
1
1
  import { computed as I, isRef as L, watch as M } from "vue";
2
2
  import { SnackbarPosition as y } from "@feedmepos/ui-library";
3
- import { a as w, v } from "./useAppStore-DCpMNDxE.js";
3
+ import { a as w, v } from "./useAppStore-lxDKLJN1.js";
4
4
  const E = (r) => {
5
5
  async function d(u, e) {
6
6
  var l, a;
@@ -0,0 +1,65 @@
1
+ import { computed as u, ref as r } from "vue";
2
+ import { g as v, q as R, e as h, a as m } from "./index-CUtOR5dv.js";
3
+ import { useCoreStore as g } from "@feedmepos/mf-common";
4
+ import "./app-B6sFazWs.js";
5
+ const P = {
6
+ async fetchReportPermissions(i) {
7
+ return v(
8
+ await R().get(`/report-query/hrm/${i}/reports`)
9
+ );
10
+ }
11
+ }, t = r([]), l = r(!1), o = r(!1), d = r(null);
12
+ function K() {
13
+ const i = g();
14
+ async function f() {
15
+ var n;
16
+ const s = (n = i.currentBusiness.value) == null ? void 0 : n.id;
17
+ if (s && (d.value !== s && (t.value = [], l.value = !1, o.value = !1, d.value = s), !(l.value || o.value))) {
18
+ o.value = !0;
19
+ try {
20
+ t.value = await P.fetchReportPermissions(s), l.value = !0;
21
+ } catch (e) {
22
+ console.warn("Failed to fetch dynamic report permissions, using hardcoded only:", e), t.value = [];
23
+ } finally {
24
+ o.value = !1;
25
+ }
26
+ }
27
+ }
28
+ const a = h.filter(
29
+ (s) => s.subject === m.F_RULE_SUBJECT.enum.report && s.conditions
30
+ ), p = u(() => {
31
+ const s = new Set(
32
+ a.map((e) => {
33
+ const c = typeof e.conditions == "string" ? JSON.parse(e.conditions) : e.conditions;
34
+ return c == null ? void 0 : c.name;
35
+ })
36
+ ), n = t.value.filter((e) => !s.has(e.permissionKey)).map((e) => ({
37
+ label: e.name,
38
+ subject: m.F_RULE_SUBJECT.enum.report,
39
+ actions: ["read"],
40
+ conditions: { name: e.permissionKey },
41
+ inverted: !1,
42
+ reason: ""
43
+ }));
44
+ return [...a, ...n];
45
+ }), y = u(() => {
46
+ const s = new Set(
47
+ a.map((n) => {
48
+ const e = typeof n.conditions == "string" ? JSON.parse(n.conditions) : n.conditions;
49
+ return e == null ? void 0 : e.name;
50
+ })
51
+ );
52
+ for (const n of t.value)
53
+ s.add(n.permissionKey);
54
+ return s;
55
+ });
56
+ return {
57
+ fetchReportPermissions: f,
58
+ allReportPermissions: p,
59
+ availableReportKeys: y,
60
+ isLoading: u(() => o.value)
61
+ };
62
+ }
63
+ export {
64
+ K as u
65
+ };
@@ -8,10 +8,16 @@ export declare const i18nMessages: {
8
8
  placeholder: string;
9
9
  };
10
10
  filter: {
11
- outcome_placeholder: string;
12
- selected_outcome_prefix: string;
11
+ user_placeholder: string;
12
+ selected_user_prefix: string;
13
+ subject_placeholder: string;
14
+ selected_subject_prefix: string;
13
15
  action_placeholder: string;
14
16
  selected_action_prefix: string;
17
+ status_placeholder: string;
18
+ selected_status_prefix: string;
19
+ outcome_placeholder: string;
20
+ selected_outcome_prefix: string;
15
21
  };
16
22
  action: {
17
23
  manage: string;
@@ -25,6 +31,7 @@ export declare const i18nMessages: {
25
31
  user: string;
26
32
  subject: string;
27
33
  action: string;
34
+ operation: string;
28
35
  outcome: string;
29
36
  };
30
37
  outcome: {
@@ -45,7 +52,9 @@ export declare const i18nMessages: {
45
52
  header: string;
46
53
  timestamp: string;
47
54
  user: string;
55
+ email: string;
48
56
  action: string;
57
+ operation: string;
49
58
  subject: string;
50
59
  field: string;
51
60
  outcome: string;
@@ -55,6 +64,7 @@ export declare const i18nMessages: {
55
64
  reason: string;
56
65
  resolvedFrom: string;
57
66
  permissionSet: string;
67
+ permissionTrace: string;
58
68
  decisivePermission: string;
59
69
  decisiveRule: string;
60
70
  requestMethod: string;
@@ -70,10 +80,16 @@ export declare const i18nMessages: {
70
80
  placeholder: string;
71
81
  };
72
82
  filter: {
73
- outcome_placeholder: string;
74
- selected_outcome_prefix: string;
83
+ user_placeholder: string;
84
+ selected_user_prefix: string;
85
+ subject_placeholder: string;
86
+ selected_subject_prefix: string;
75
87
  action_placeholder: string;
76
88
  selected_action_prefix: string;
89
+ status_placeholder: string;
90
+ selected_status_prefix: string;
91
+ outcome_placeholder: string;
92
+ selected_outcome_prefix: string;
77
93
  };
78
94
  action: {
79
95
  manage: string;
@@ -87,6 +103,7 @@ export declare const i18nMessages: {
87
103
  user: string;
88
104
  subject: string;
89
105
  action: string;
106
+ operation: string;
90
107
  outcome: string;
91
108
  };
92
109
  outcome: {
@@ -107,7 +124,9 @@ export declare const i18nMessages: {
107
124
  header: string;
108
125
  timestamp: string;
109
126
  user: string;
127
+ email: string;
110
128
  action: string;
129
+ operation: string;
111
130
  subject: string;
112
131
  field: string;
113
132
  outcome: string;
@@ -117,6 +136,7 @@ export declare const i18nMessages: {
117
136
  reason: string;
118
137
  resolvedFrom: string;
119
138
  permissionSet: string;
139
+ permissionTrace: string;
120
140
  decisivePermission: string;
121
141
  decisiveRule: string;
122
142
  request: string;
@@ -133,10 +153,16 @@ export declare const i18nMessages: {
133
153
  placeholder: string;
134
154
  };
135
155
  filter: {
136
- outcome_placeholder: string;
137
- selected_outcome_prefix: string;
156
+ user_placeholder: string;
157
+ selected_user_prefix: string;
158
+ subject_placeholder: string;
159
+ selected_subject_prefix: string;
138
160
  action_placeholder: string;
139
161
  selected_action_prefix: string;
162
+ status_placeholder: string;
163
+ selected_status_prefix: string;
164
+ outcome_placeholder: string;
165
+ selected_outcome_prefix: string;
140
166
  };
141
167
  action: {
142
168
  manage: string;
@@ -150,6 +176,7 @@ export declare const i18nMessages: {
150
176
  user: string;
151
177
  subject: string;
152
178
  action: string;
179
+ operation: string;
153
180
  outcome: string;
154
181
  };
155
182
  outcome: {
@@ -170,7 +197,9 @@ export declare const i18nMessages: {
170
197
  header: string;
171
198
  timestamp: string;
172
199
  user: string;
200
+ email: string;
173
201
  action: string;
202
+ operation: string;
174
203
  subject: string;
175
204
  field: string;
176
205
  outcome: string;
@@ -180,6 +209,7 @@ export declare const i18nMessages: {
180
209
  reason: string;
181
210
  resolvedFrom: string;
182
211
  permissionSet: string;
212
+ permissionTrace: string;
183
213
  decisivePermission: string;
184
214
  decisiveRule: string;
185
215
  request: string;
@@ -196,10 +226,16 @@ export declare const i18nMessages: {
196
226
  placeholder: string;
197
227
  };
198
228
  filter: {
199
- outcome_placeholder: string;
200
- selected_outcome_prefix: string;
229
+ user_placeholder: string;
230
+ selected_user_prefix: string;
231
+ subject_placeholder: string;
232
+ selected_subject_prefix: string;
201
233
  action_placeholder: string;
202
234
  selected_action_prefix: string;
235
+ status_placeholder: string;
236
+ selected_status_prefix: string;
237
+ outcome_placeholder: string;
238
+ selected_outcome_prefix: string;
203
239
  };
204
240
  action: {
205
241
  manage: string;
@@ -213,6 +249,7 @@ export declare const i18nMessages: {
213
249
  user: string;
214
250
  subject: string;
215
251
  action: string;
252
+ operation: string;
216
253
  outcome: string;
217
254
  };
218
255
  outcome: {
@@ -233,7 +270,9 @@ export declare const i18nMessages: {
233
270
  header: string;
234
271
  timestamp: string;
235
272
  user: string;
273
+ email: string;
236
274
  action: string;
275
+ operation: string;
237
276
  subject: string;
238
277
  field: string;
239
278
  outcome: string;
@@ -243,6 +282,7 @@ export declare const i18nMessages: {
243
282
  reason: string;
244
283
  resolvedFrom: string;
245
284
  permissionSet: string;
285
+ permissionTrace: string;
246
286
  decisivePermission: string;
247
287
  decisiveRule: string;
248
288
  request: string;
@@ -87,6 +87,8 @@ export declare const i18nMessages: {
87
87
  name: string;
88
88
  role: string;
89
89
  nameEmptyError: string;
90
+ restaurantRequired: string;
91
+ roleRequired: string;
90
92
  };
91
93
  posRole: {
92
94
  placeholder: string;
@@ -97,7 +99,7 @@ export declare const i18nMessages: {
97
99
  };
98
100
  };
99
101
  };
100
- role: {
102
+ permissionSet: {
101
103
  title: string;
102
104
  createButtonLabel: string;
103
105
  search: {
@@ -120,9 +122,13 @@ export declare const i18nMessages: {
120
122
  title: string;
121
123
  confirmationMessage: string;
122
124
  successMessage: string;
125
+ conflictError: string;
126
+ setReferencedConflictError: string;
123
127
  };
124
128
  name: string;
125
- roleNamePlaceholder: string;
129
+ namePlaceholder: string;
130
+ includedSets: string;
131
+ includedSetsPlaceholder: string;
126
132
  };
127
133
  table: {
128
134
  columns: {
@@ -217,6 +223,8 @@ export declare const i18nMessages: {
217
223
  name: string;
218
224
  role: string;
219
225
  nameEmptyError: string;
226
+ restaurantRequired: string;
227
+ roleRequired: string;
220
228
  };
221
229
  posRole: {
222
230
  placeholder: string;
@@ -227,7 +235,7 @@ export declare const i18nMessages: {
227
235
  };
228
236
  };
229
237
  };
230
- role: {
238
+ permissionSet: {
231
239
  title: string;
232
240
  createButtonLabel: string;
233
241
  search: {
@@ -250,9 +258,13 @@ export declare const i18nMessages: {
250
258
  title: string;
251
259
  confirmationMessage: string;
252
260
  successMessage: string;
261
+ conflictError: string;
262
+ setReferencedConflictError: string;
253
263
  };
254
264
  name: string;
255
- roleNamePlaceholder: string;
265
+ namePlaceholder: string;
266
+ includedSets: string;
267
+ includedSetsPlaceholder: string;
256
268
  };
257
269
  table: {
258
270
  columns: {
@@ -347,6 +359,8 @@ export declare const i18nMessages: {
347
359
  name: string;
348
360
  role: string;
349
361
  nameEmptyError: string;
362
+ restaurantRequired: string;
363
+ roleRequired: string;
350
364
  };
351
365
  posRole: {
352
366
  placeholder: string;
@@ -357,7 +371,7 @@ export declare const i18nMessages: {
357
371
  };
358
372
  };
359
373
  };
360
- role: {
374
+ permissionSet: {
361
375
  title: string;
362
376
  createButtonLabel: string;
363
377
  search: {
@@ -380,9 +394,13 @@ export declare const i18nMessages: {
380
394
  title: string;
381
395
  confirmationMessage: string;
382
396
  successMessage: string;
397
+ conflictError: string;
398
+ setReferencedConflictError: string;
383
399
  };
384
400
  name: string;
385
- roleNamePlaceholder: string;
401
+ namePlaceholder: string;
402
+ includedSets: string;
403
+ includedSetsPlaceholder: string;
386
404
  };
387
405
  table: {
388
406
  columns: {
@@ -477,6 +495,8 @@ export declare const i18nMessages: {
477
495
  name: string;
478
496
  role: string;
479
497
  nameEmptyError: string;
498
+ restaurantRequired: string;
499
+ roleRequired: string;
480
500
  };
481
501
  posRole: {
482
502
  placeholder: string;
@@ -494,7 +514,7 @@ export declare const i18nMessages: {
494
514
  };
495
515
  };
496
516
  };
497
- role: {
517
+ permissionSet: {
498
518
  title: string;
499
519
  createButtonLabel: string;
500
520
  search: {
@@ -517,9 +537,13 @@ export declare const i18nMessages: {
517
537
  title: string;
518
538
  confirmationMessage: string;
519
539
  successMessage: string;
540
+ conflictError: string;
541
+ setReferencedConflictError: string;
520
542
  };
521
543
  name: string;
522
- roleNamePlaceholder: string;
544
+ namePlaceholder: string;
545
+ includedSets: string;
546
+ includedSetsPlaceholder: string;
523
547
  };
524
548
  table: {
525
549
  columns: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-hrm-portal",
3
- "version": "1.1.3-dev.1",
3
+ "version": "1.1.3-dev.11",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -18,6 +18,7 @@
18
18
  "@feedmepos/core": "^2.14.36",
19
19
  "@feedmepos/mf-common": "^1.29.10",
20
20
  "@feedmepos/ui-library": "^1.7.0",
21
+ "@feedmepos/feature-flag": "^0.0.15",
21
22
  "axios": "^1.7.7",
22
23
  "dayjs": "^1.11.10",
23
24
  "libphonenumber-js": "^1.11.1",
@@ -28,7 +29,7 @@
28
29
  "vue-router": "^4.3.2",
29
30
  "vue3-lottie": "^3.3.0",
30
31
  "xlsx": "^0.18.5",
31
- "@feedmepos/hrm-permission": "^0.0.4-dev.3"
32
+ "@feedmepos/hrm-permission": "0.0.4-dev.11"
32
33
  },
33
34
  "devDependencies": {
34
35
  "@casl/ability": "^3.4.0",
@@ -76,6 +77,7 @@
76
77
  "publish-github": "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks",
77
78
  "publish-github:beta": "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks",
78
79
  "build-only": "pnpm build:mf && pnpm build:dts",
80
+ "build-only:dev": "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts",
79
81
  "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
80
82
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
81
83
  "format": "prettier --write src/",