@feedmepos/mf-settings 0.0.74 → 0.0.75-dev.1

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 (42) hide show
  1. package/dist/App-35971c1b.js +4378 -0
  2. package/dist/Business-f606024e.js +11276 -0
  3. package/dist/{CreateBusiness-c881b40e.js → CreateBusiness-8709fcdc.js} +117 -149
  4. package/dist/FoodCourt-b54debb1.js +47800 -0
  5. package/dist/{FormSection.vue_vue_type_script_setup_true_lang-6aab82f2.js → FormSection.vue_vue_type_script_setup_true_lang-f34c8596.js} +17 -16
  6. package/dist/{Tagging-4337306c.js → Tagging-a5f9efca.js} +8 -9
  7. package/dist/TemplateBuilder-54a34178.js +27 -0
  8. package/dist/app-3b03b910.js +4270 -0
  9. package/dist/app.js +3 -4
  10. package/dist/apps/mf-settings/src/app.d.ts +1 -1
  11. package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +6 -3
  12. package/dist/apps/mf-settings/src/extensions/business.d.ts +7 -2
  13. package/dist/apps/mf-settings/src/router/shared.d.ts +1 -1
  14. package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +30 -15
  15. package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
  16. package/dist/{business-f739dad4.js → business-1f49af71.js} +1 -1
  17. package/dist/dayjs.min-a3e17295.js +345 -0
  18. package/dist/index-406cc08d.js +19758 -0
  19. package/dist/{index-b9ef9a01.js → index-4d304b46.js} +5520 -5366
  20. package/dist/index-fdc00332.js +8047 -0
  21. package/dist/{map-54b71412.js → map-695afd6f.js} +410 -527
  22. package/dist/object-8ac0c0d8.js +63 -0
  23. package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
  24. package/dist/rules-c9fa22f8.js +13 -0
  25. package/package.json +5 -4
  26. package/dist/App-12cbd13e.js +0 -23257
  27. package/dist/Business-c6660aea.js +0 -20073
  28. package/dist/FoodCourt-67ab2a1a.js +0 -72969
  29. package/dist/ReasonTemplate-b4e2346e.js +0 -2235
  30. package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js +0 -38
  31. package/dist/TemplateBuilder-3e34e9e8.js +0 -27
  32. package/dist/_commonjs-dynamic-modules-bed80856.js +0 -6
  33. package/dist/_plugin-vue_export-helper-dad06003.js +0 -9
  34. package/dist/app-df7c7bf8.js +0 -1853
  35. package/dist/apps/mf-settings/src/View/ReasonTemplate.vue.d.ts +0 -2
  36. package/dist/apps/mf-settings/src/components/reason/ReasonTemplateForm.vue.d.ts +0 -28
  37. package/dist/apps/mf-settings/src/types/reasonTemplate.d.ts +0 -9
  38. package/dist/createForm-d3b97d2e.js +0 -50
  39. package/dist/dayjs.min-6eec923a.js +0 -310
  40. package/dist/index-6d139c6d.js +0 -2395
  41. package/dist/object-27ce045b.js +0 -16
  42. package/dist/rules-2bee6632.js +0 -6
@@ -1,4 +1,4 @@
1
- import { g as e, b as a } from "./index-6d139c6d.js";
1
+ import { g as e, b as a } from "./index-4d304b46.js";
2
2
  const i = {
3
3
  async readBusiness(s) {
4
4
  return e(await a().get(`/businesses/${s}`));
@@ -0,0 +1,345 @@
1
+ import { defineComponent as tt, computed as V, resolveComponent as et, openBlock as Z, createBlock as nt, normalizeProps as rt, mergeProps as q, createElementBlock as st, createVNode as it } from "vue";
2
+ import { useBreakpoints as at, useSnackbar as ot } from "@feedmepos/ui-library";
3
+ import { c as ut, g as ct } from "./app-3b03b910.js";
4
+ const ft = {
5
+ key: 1,
6
+ class: "z-10 fixed bottom-72 right-16"
7
+ }, pt = /* @__PURE__ */ tt({
8
+ __name: "ResponsiveFabButton",
9
+ props: {
10
+ variant: {},
11
+ label: {},
12
+ icon: {},
13
+ size: {},
14
+ disabled: { type: Boolean },
15
+ iconColor: {},
16
+ borderColor: {},
17
+ textColor: {},
18
+ bgColor: {},
19
+ type: {},
20
+ iconPosition: {},
21
+ prependIcon: {},
22
+ appendIcon: {},
23
+ loading: { type: Boolean },
24
+ disableIconStatus: { type: Boolean },
25
+ overwriteIconOutline: {}
26
+ },
27
+ setup(B) {
28
+ const S = B, M = V(() => S.variant === "primary" || !S.variant ? "fab" : S.variant), m = at(), w = V(() => m.breakpoints.value.xs);
29
+ return (x, v) => {
30
+ const y = et("FmButton");
31
+ return w.value ? (Z(), st("div", ft, [
32
+ it(y, q(S, { variant: M.value }), null, 16, ["variant"])
33
+ ])) : (Z(), nt(y, rt(q({ key: 0 }, S)), null, 16));
34
+ };
35
+ }
36
+ });
37
+ function mt() {
38
+ const B = ot();
39
+ return { copyTextToClipboard: async (M, m = "Copied") => {
40
+ const w = "text/plain", x = new Blob([M], { type: w }), v = [new ClipboardItem({ [w]: x })];
41
+ await navigator.clipboard.write(v), m && B.open({
42
+ title: m,
43
+ message: M,
44
+ type: "success"
45
+ });
46
+ } };
47
+ }
48
+ var G = { exports: {} };
49
+ (function(B, S) {
50
+ (function(M, m) {
51
+ B.exports = m();
52
+ })(ut, function() {
53
+ var M = 1e3, m = 6e4, w = 36e5, x = "millisecond", v = "second", y = "minute", C = "hour", g = "day", L = "week", p = "month", U = "quarter", b = "year", T = "date", E = "Invalid Date", Q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, K = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
54
+ var n = ["th", "st", "nd", "rd"], t = s % 100;
55
+ return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
56
+ } }, z = function(s, n, t) {
57
+ var r = String(s);
58
+ return !r || r.length >= n ? s : "" + Array(n + 1 - r.length).join(t) + s;
59
+ }, X = { s: z, z: function(s) {
60
+ var n = -s.utcOffset(), t = Math.abs(n), r = Math.floor(t / 60), e = t % 60;
61
+ return (n <= 0 ? "+" : "-") + z(r, 2, "0") + ":" + z(e, 2, "0");
62
+ }, m: function s(n, t) {
63
+ if (n.date() < t.date())
64
+ return -s(t, n);
65
+ var r = 12 * (t.year() - n.year()) + (t.month() - n.month()), e = n.clone().add(r, p), i = t - e < 0, a = n.clone().add(r + (i ? -1 : 1), p);
66
+ return +(-(r + (t - e) / (i ? e - a : a - e)) || 0);
67
+ }, a: function(s) {
68
+ return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
69
+ }, p: function(s) {
70
+ return { M: p, y: b, w: L, d: g, D: T, h: C, m: y, s: v, ms: x, Q: U }[s] || String(s || "").toLowerCase().replace(/s$/, "");
71
+ }, u: function(s) {
72
+ return s === void 0;
73
+ } }, H = "en", _ = {};
74
+ _[H] = K;
75
+ var J = "$isDayjsObject", N = function(s) {
76
+ return s instanceof F || !(!s || !s[J]);
77
+ }, W = function s(n, t, r) {
78
+ var e;
79
+ if (!n)
80
+ return H;
81
+ if (typeof n == "string") {
82
+ var i = n.toLowerCase();
83
+ _[i] && (e = i), t && (_[i] = t, e = i);
84
+ var a = n.split("-");
85
+ if (!e && a.length > 1)
86
+ return s(a[0]);
87
+ } else {
88
+ var u = n.name;
89
+ _[u] = n, e = u;
90
+ }
91
+ return !r && e && (H = e), e || !r && H;
92
+ }, f = function(s, n) {
93
+ if (N(s))
94
+ return s.clone();
95
+ var t = typeof n == "object" ? n : {};
96
+ return t.date = s, t.args = arguments, new F(t);
97
+ }, o = X;
98
+ o.l = W, o.i = N, o.w = function(s, n) {
99
+ return f(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
100
+ };
101
+ var F = function() {
102
+ function s(t) {
103
+ this.$L = W(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[J] = !0;
104
+ }
105
+ var n = s.prototype;
106
+ return n.parse = function(t) {
107
+ this.$d = function(r) {
108
+ var e = r.date, i = r.utc;
109
+ if (e === null)
110
+ return /* @__PURE__ */ new Date(NaN);
111
+ if (o.u(e))
112
+ return /* @__PURE__ */ new Date();
113
+ if (e instanceof Date)
114
+ return new Date(e);
115
+ if (typeof e == "string" && !/Z$/i.test(e)) {
116
+ var a = e.match(Q);
117
+ if (a) {
118
+ var u = a[2] - 1 || 0, c = (a[7] || "0").substring(0, 3);
119
+ return i ? new Date(Date.UTC(a[1], u, a[3] || 1, a[4] || 0, a[5] || 0, a[6] || 0, c)) : new Date(a[1], u, a[3] || 1, a[4] || 0, a[5] || 0, a[6] || 0, c);
120
+ }
121
+ }
122
+ return new Date(e);
123
+ }(t), this.init();
124
+ }, n.init = function() {
125
+ var t = this.$d;
126
+ this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
127
+ }, n.$utils = function() {
128
+ return o;
129
+ }, n.isValid = function() {
130
+ return this.$d.toString() !== E;
131
+ }, n.isSame = function(t, r) {
132
+ var e = f(t);
133
+ return this.startOf(r) <= e && e <= this.endOf(r);
134
+ }, n.isAfter = function(t, r) {
135
+ return f(t) < this.startOf(r);
136
+ }, n.isBefore = function(t, r) {
137
+ return this.endOf(r) < f(t);
138
+ }, n.$g = function(t, r, e) {
139
+ return o.u(t) ? this[r] : this.set(e, t);
140
+ }, n.unix = function() {
141
+ return Math.floor(this.valueOf() / 1e3);
142
+ }, n.valueOf = function() {
143
+ return this.$d.getTime();
144
+ }, n.startOf = function(t, r) {
145
+ var e = this, i = !!o.u(r) || r, a = o.p(t), u = function(O, d) {
146
+ var D = o.w(e.$u ? Date.UTC(e.$y, d, O) : new Date(e.$y, d, O), e);
147
+ return i ? D : D.endOf(g);
148
+ }, c = function(O, d) {
149
+ return o.w(e.toDate()[O].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(d)), e);
150
+ }, l = this.$W, h = this.$M, $ = this.$D, Y = "set" + (this.$u ? "UTC" : "");
151
+ switch (a) {
152
+ case b:
153
+ return i ? u(1, 0) : u(31, 11);
154
+ case p:
155
+ return i ? u(1, h) : u(0, h + 1);
156
+ case L:
157
+ var k = this.$locale().weekStart || 0, I = (l < k ? l + 7 : l) - k;
158
+ return u(i ? $ - I : $ + (6 - I), h);
159
+ case g:
160
+ case T:
161
+ return c(Y + "Hours", 0);
162
+ case C:
163
+ return c(Y + "Minutes", 1);
164
+ case y:
165
+ return c(Y + "Seconds", 2);
166
+ case v:
167
+ return c(Y + "Milliseconds", 3);
168
+ default:
169
+ return this.clone();
170
+ }
171
+ }, n.endOf = function(t) {
172
+ return this.startOf(t, !1);
173
+ }, n.$set = function(t, r) {
174
+ var e, i = o.p(t), a = "set" + (this.$u ? "UTC" : ""), u = (e = {}, e[g] = a + "Date", e[T] = a + "Date", e[p] = a + "Month", e[b] = a + "FullYear", e[C] = a + "Hours", e[y] = a + "Minutes", e[v] = a + "Seconds", e[x] = a + "Milliseconds", e)[i], c = i === g ? this.$D + (r - this.$W) : r;
175
+ if (i === p || i === b) {
176
+ var l = this.clone().set(T, 1);
177
+ l.$d[u](c), l.init(), this.$d = l.set(T, Math.min(this.$D, l.daysInMonth())).$d;
178
+ } else
179
+ u && this.$d[u](c);
180
+ return this.init(), this;
181
+ }, n.set = function(t, r) {
182
+ return this.clone().$set(t, r);
183
+ }, n.get = function(t) {
184
+ return this[o.p(t)]();
185
+ }, n.add = function(t, r) {
186
+ var e, i = this;
187
+ t = Number(t);
188
+ var a = o.p(r), u = function(h) {
189
+ var $ = f(i);
190
+ return o.w($.date($.date() + Math.round(h * t)), i);
191
+ };
192
+ if (a === p)
193
+ return this.set(p, this.$M + t);
194
+ if (a === b)
195
+ return this.set(b, this.$y + t);
196
+ if (a === g)
197
+ return u(1);
198
+ if (a === L)
199
+ return u(7);
200
+ var c = (e = {}, e[y] = m, e[C] = w, e[v] = M, e)[a] || 1, l = this.$d.getTime() + t * c;
201
+ return o.w(l, this);
202
+ }, n.subtract = function(t, r) {
203
+ return this.add(-1 * t, r);
204
+ }, n.format = function(t) {
205
+ var r = this, e = this.$locale();
206
+ if (!this.isValid())
207
+ return e.invalidDate || E;
208
+ var i = t || "YYYY-MM-DDTHH:mm:ssZ", a = o.z(this), u = this.$H, c = this.$m, l = this.$M, h = e.weekdays, $ = e.months, Y = e.meridiem, k = function(d, D, j, A) {
209
+ return d && (d[D] || d(r, i)) || j[D].slice(0, A);
210
+ }, I = function(d) {
211
+ return o.s(u % 12 || 12, d, "0");
212
+ }, O = Y || function(d, D, j) {
213
+ var A = d < 12 ? "AM" : "PM";
214
+ return j ? A.toLowerCase() : A;
215
+ };
216
+ return i.replace(R, function(d, D) {
217
+ return D || function(j) {
218
+ switch (j) {
219
+ case "YY":
220
+ return String(r.$y).slice(-2);
221
+ case "YYYY":
222
+ return o.s(r.$y, 4, "0");
223
+ case "M":
224
+ return l + 1;
225
+ case "MM":
226
+ return o.s(l + 1, 2, "0");
227
+ case "MMM":
228
+ return k(e.monthsShort, l, $, 3);
229
+ case "MMMM":
230
+ return k($, l);
231
+ case "D":
232
+ return r.$D;
233
+ case "DD":
234
+ return o.s(r.$D, 2, "0");
235
+ case "d":
236
+ return String(r.$W);
237
+ case "dd":
238
+ return k(e.weekdaysMin, r.$W, h, 2);
239
+ case "ddd":
240
+ return k(e.weekdaysShort, r.$W, h, 3);
241
+ case "dddd":
242
+ return h[r.$W];
243
+ case "H":
244
+ return String(u);
245
+ case "HH":
246
+ return o.s(u, 2, "0");
247
+ case "h":
248
+ return I(1);
249
+ case "hh":
250
+ return I(2);
251
+ case "a":
252
+ return O(u, c, !0);
253
+ case "A":
254
+ return O(u, c, !1);
255
+ case "m":
256
+ return String(c);
257
+ case "mm":
258
+ return o.s(c, 2, "0");
259
+ case "s":
260
+ return String(r.$s);
261
+ case "ss":
262
+ return o.s(r.$s, 2, "0");
263
+ case "SSS":
264
+ return o.s(r.$ms, 3, "0");
265
+ case "Z":
266
+ return a;
267
+ }
268
+ return null;
269
+ }(d) || a.replace(":", "");
270
+ });
271
+ }, n.utcOffset = function() {
272
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
273
+ }, n.diff = function(t, r, e) {
274
+ var i, a = this, u = o.p(r), c = f(t), l = (c.utcOffset() - this.utcOffset()) * m, h = this - c, $ = function() {
275
+ return o.m(a, c);
276
+ };
277
+ switch (u) {
278
+ case b:
279
+ i = $() / 12;
280
+ break;
281
+ case p:
282
+ i = $();
283
+ break;
284
+ case U:
285
+ i = $() / 3;
286
+ break;
287
+ case L:
288
+ i = (h - l) / 6048e5;
289
+ break;
290
+ case g:
291
+ i = (h - l) / 864e5;
292
+ break;
293
+ case C:
294
+ i = h / w;
295
+ break;
296
+ case y:
297
+ i = h / m;
298
+ break;
299
+ case v:
300
+ i = h / M;
301
+ break;
302
+ default:
303
+ i = h;
304
+ }
305
+ return e ? i : o.a(i);
306
+ }, n.daysInMonth = function() {
307
+ return this.endOf(p).$D;
308
+ }, n.$locale = function() {
309
+ return _[this.$L];
310
+ }, n.locale = function(t, r) {
311
+ if (!t)
312
+ return this.$L;
313
+ var e = this.clone(), i = W(t, r, !0);
314
+ return i && (e.$L = i), e;
315
+ }, n.clone = function() {
316
+ return o.w(this.$d, this);
317
+ }, n.toDate = function() {
318
+ return new Date(this.valueOf());
319
+ }, n.toJSON = function() {
320
+ return this.isValid() ? this.toISOString() : null;
321
+ }, n.toISOString = function() {
322
+ return this.$d.toISOString();
323
+ }, n.toString = function() {
324
+ return this.$d.toUTCString();
325
+ }, s;
326
+ }(), P = F.prototype;
327
+ return f.prototype = P, [["$ms", x], ["$s", v], ["$m", y], ["$H", C], ["$W", g], ["$M", p], ["$y", b], ["$D", T]].forEach(function(s) {
328
+ P[s[1]] = function(n) {
329
+ return this.$g(n, s[0], s[1]);
330
+ };
331
+ }), f.extend = function(s, n) {
332
+ return s.$i || (s(n, F, f), s.$i = !0), f;
333
+ }, f.locale = W, f.isDayjs = N, f.unix = function(s) {
334
+ return f(1e3 * s);
335
+ }, f.en = _[H], f.Ls = _, f.p = {}, f;
336
+ });
337
+ })(G);
338
+ var lt = G.exports;
339
+ const vt = /* @__PURE__ */ ct(lt);
340
+ export {
341
+ vt as D,
342
+ pt as _,
343
+ lt as d,
344
+ mt as u
345
+ };