@feedmepos/mf-settings 0.0.74-dev.1 → 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 (39) hide show
  1. package/dist/App-35971c1b.js +4378 -0
  2. package/dist/Business-f606024e.js +11276 -0
  3. package/dist/{CreateBusiness-55e7de74.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-3d10ba6e.js → Tagging-a5f9efca.js} +8 -9
  7. package/dist/app-3b03b910.js +4270 -0
  8. package/dist/app.js +3 -4
  9. package/dist/apps/mf-settings/src/app.d.ts +1 -1
  10. package/dist/apps/mf-settings/src/components/tagging/TaggingForm.vue.d.ts +6 -3
  11. package/dist/apps/mf-settings/src/extensions/business.d.ts +7 -2
  12. package/dist/apps/mf-settings/src/router/shared.d.ts +1 -1
  13. package/dist/apps/mf-settings/src/store/attributeSettings.d.ts +30 -15
  14. package/dist/apps/mf-settings/tsconfig.app.tsbuildinfo +1 -1
  15. package/dist/{business-1b85fe7e.js → business-1f49af71.js} +1 -1
  16. package/dist/dayjs.min-a3e17295.js +345 -0
  17. package/dist/index-406cc08d.js +19758 -0
  18. package/dist/{index-b9ef9a01.js → index-4d304b46.js} +5520 -5366
  19. package/dist/index-fdc00332.js +8047 -0
  20. package/dist/object-8ac0c0d8.js +63 -0
  21. package/dist/packages/shared/src/helpers/actionButton.d.ts +2 -2
  22. package/dist/rules-c9fa22f8.js +13 -0
  23. package/package.json +5 -4
  24. package/dist/App-44a7faee.js +0 -23266
  25. package/dist/Business-80eeb674.js +0 -11950
  26. package/dist/FoodCourt-c38eaa03.js +0 -72969
  27. package/dist/ReasonTemplate-b56a5a9d.js +0 -2235
  28. package/dist/ResponsiveFabButton.vue_vue_type_script_setup_true_lang-8f929a2d.js +0 -38
  29. package/dist/_commonjs-dynamic-modules-bed80856.js +0 -6
  30. package/dist/_plugin-vue_export-helper-dad06003.js +0 -9
  31. package/dist/app-a734e3bb.js +0 -1853
  32. package/dist/apps/mf-settings/src/View/ReasonTemplate.vue.d.ts +0 -2
  33. package/dist/apps/mf-settings/src/components/reason/ReasonTemplateForm.vue.d.ts +0 -28
  34. package/dist/apps/mf-settings/src/types/reasonTemplate.d.ts +0 -9
  35. package/dist/createForm-d3b97d2e.js +0 -50
  36. package/dist/dayjs.min-6eec923a.js +0 -310
  37. package/dist/index-b1e448c9.js +0 -2395
  38. package/dist/object-27ce045b.js +0 -16
  39. package/dist/rules-2bee6632.js +0 -6
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,28 +0,0 @@
1
- import { type FdoReasonTemplate } from "@feedmepos/core/entity";
2
- interface Props {
3
- initialValue?: FdoReasonTemplate;
4
- onSave: (template: FdoReasonTemplate) => Promise<void>;
5
- }
6
- declare function trigger(): void;
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {
8
- trigger: typeof trigger;
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
10
- trigger?(_: {
11
- trigger: typeof trigger;
12
- }): any;
13
- }>;
14
- export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- type __VLS_WithTemplateSlots<T, S> = T & {
25
- new (): {
26
- $slots: S;
27
- };
28
- };
@@ -1,9 +0,0 @@
1
- import type { FdoReasonTemplate } from "@feedmepos/core/entity";
2
- export declare enum F_REASON_TEMPLATE_ACTION {
3
- VOID = "VOID",
4
- REFUND = "REFUND",
5
- REJECT_ORDER = "REJECT_ORDER"
6
- }
7
- export interface FEReasonTemplate extends FdoReasonTemplate {
8
- id: string;
9
- }
@@ -1,50 +0,0 @@
1
- import { defineComponent as p, openBlock as i, createElementBlock as m, createElementVNode as a, renderSlot as s, toDisplayString as h, normalizeClass as l, markRaw as u, createVNode as f, render as g } from "vue";
2
- const x = {
3
- class: /* @__PURE__ */ l([
4
- "flex flex-col",
5
- "p-24 xs:p-0",
6
- "bg-fm-color-neutral-white",
7
- "min-h-[calc(100dvh-56px)]",
8
- "xs:max-h-[calc(100dvh-56px)]"
9
- ])
10
- }, _ = {
11
- class: /* @__PURE__ */ l([
12
- "flex items-center",
13
- "mb-24 xs:mb-0 xs:p-16",
14
- "xs:border-b border-fm-color-neutral-gray-100"
15
- ])
16
- }, b = { class: "fm-typo-en-title-md-600" }, y = /* @__PURE__ */ p({
17
- __name: "PageLayout",
18
- props: {
19
- heading: {}
20
- },
21
- setup(t) {
22
- return (e, r) => (i(), m("div", x, [
23
- a("div", _, [
24
- s(e.$slots, "prepend-heading"),
25
- a("div", null, [
26
- a("h1", b, h(e.heading), 1),
27
- s(e.$slots, "sub-heading")
28
- ]),
29
- s(e.$slots, "append-heading")
30
- ]),
31
- s(e.$slots, "default")
32
- ]));
33
- }
34
- }), v = (t, e, r) => {
35
- if (!e)
36
- throw new Error("No current instance found");
37
- const n = document.createElement("div");
38
- document.body.appendChild(n);
39
- const c = u(t), o = f(c, r);
40
- return o.appContext = e.appContext, g(o, n), { container: n, vNode: o };
41
- };
42
- function w(t, e, r) {
43
- var d;
44
- const { vNode: n, unmount: c } = v(e, t, r), o = (d = n.component) == null ? void 0 : d.exposed;
45
- o == null || o.trigger();
46
- }
47
- export {
48
- y as _,
49
- w as c
50
- };
@@ -1,310 +0,0 @@
1
- import { useSnackbar as K } from "@feedmepos/ui-library";
2
- import { c as R, g as X } from "./index-b9ef9a01.js";
3
- function rt() {
4
- const F = K();
5
- return { copyTextToClipboard: async (b, p = "Copied") => {
6
- const T = "text/plain", C = new Blob([b], { type: T }), y = [new ClipboardItem({ [T]: C })];
7
- await navigator.clipboard.write(y), p && F.open({
8
- title: p,
9
- message: b,
10
- type: "success"
11
- });
12
- } };
13
- }
14
- var V = { exports: {} };
15
- (function(F, B) {
16
- (function(b, p) {
17
- F.exports = p();
18
- })(R, function() {
19
- var b = 1e3, p = 6e4, T = 36e5, C = "millisecond", y = "second", O = "minute", _ = "hour", M = "day", L = "week", m = "month", J = "quarter", v = "year", x = "date", Z = "Invalid Date", q = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|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, P = { 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) {
20
- var n = ["th", "st", "nd", "rd"], t = s % 100;
21
- return "[" + s + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
22
- } }, N = function(s, n, t) {
23
- var r = String(s);
24
- return !r || r.length >= n ? s : "" + Array(n + 1 - r.length).join(t) + s;
25
- }, Q = { s: N, z: function(s) {
26
- var n = -s.utcOffset(), t = Math.abs(n), r = Math.floor(t / 60), e = t % 60;
27
- return (n <= 0 ? "+" : "-") + N(r, 2, "0") + ":" + N(e, 2, "0");
28
- }, m: function s(n, t) {
29
- if (n.date() < t.date())
30
- return -s(t, n);
31
- var r = 12 * (t.year() - n.year()) + (t.month() - n.month()), e = n.clone().add(r, m), i = t - e < 0, a = n.clone().add(r + (i ? -1 : 1), m);
32
- return +(-(r + (t - e) / (i ? e - a : a - e)) || 0);
33
- }, a: function(s) {
34
- return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
35
- }, p: function(s) {
36
- return { M: m, y: v, w: L, d: M, D: x, h: _, m: O, s: y, ms: C, Q: J }[s] || String(s || "").toLowerCase().replace(/s$/, "");
37
- }, u: function(s) {
38
- return s === void 0;
39
- } }, Y = "en", D = {};
40
- D[Y] = P;
41
- var z = "$isDayjsObject", U = function(s) {
42
- return s instanceof A || !(!s || !s[z]);
43
- }, W = function s(n, t, r) {
44
- var e;
45
- if (!n)
46
- return Y;
47
- if (typeof n == "string") {
48
- var i = n.toLowerCase();
49
- D[i] && (e = i), t && (D[i] = t, e = i);
50
- var a = n.split("-");
51
- if (!e && a.length > 1)
52
- return s(a[0]);
53
- } else {
54
- var o = n.name;
55
- D[o] = n, e = o;
56
- }
57
- return !r && e && (Y = e), e || !r && Y;
58
- }, f = function(s, n) {
59
- if (U(s))
60
- return s.clone();
61
- var t = typeof n == "object" ? n : {};
62
- return t.date = s, t.args = arguments, new A(t);
63
- }, u = Q;
64
- u.l = W, u.i = U, u.w = function(s, n) {
65
- return f(s, { locale: n.$L, utc: n.$u, x: n.$x, $offset: n.$offset });
66
- };
67
- var A = function() {
68
- function s(t) {
69
- this.$L = W(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[z] = !0;
70
- }
71
- var n = s.prototype;
72
- return n.parse = function(t) {
73
- this.$d = function(r) {
74
- var e = r.date, i = r.utc;
75
- if (e === null)
76
- return /* @__PURE__ */ new Date(NaN);
77
- if (u.u(e))
78
- return /* @__PURE__ */ new Date();
79
- if (e instanceof Date)
80
- return new Date(e);
81
- if (typeof e == "string" && !/Z$/i.test(e)) {
82
- var a = e.match(q);
83
- if (a) {
84
- var o = a[2] - 1 || 0, c = (a[7] || "0").substring(0, 3);
85
- return i ? new Date(Date.UTC(a[1], o, a[3] || 1, a[4] || 0, a[5] || 0, a[6] || 0, c)) : new Date(a[1], o, a[3] || 1, a[4] || 0, a[5] || 0, a[6] || 0, c);
86
- }
87
- }
88
- return new Date(e);
89
- }(t), this.init();
90
- }, n.init = function() {
91
- var t = this.$d;
92
- 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();
93
- }, n.$utils = function() {
94
- return u;
95
- }, n.isValid = function() {
96
- return this.$d.toString() !== Z;
97
- }, n.isSame = function(t, r) {
98
- var e = f(t);
99
- return this.startOf(r) <= e && e <= this.endOf(r);
100
- }, n.isAfter = function(t, r) {
101
- return f(t) < this.startOf(r);
102
- }, n.isBefore = function(t, r) {
103
- return this.endOf(r) < f(t);
104
- }, n.$g = function(t, r, e) {
105
- return u.u(t) ? this[r] : this.set(e, t);
106
- }, n.unix = function() {
107
- return Math.floor(this.valueOf() / 1e3);
108
- }, n.valueOf = function() {
109
- return this.$d.getTime();
110
- }, n.startOf = function(t, r) {
111
- var e = this, i = !!u.u(r) || r, a = u.p(t), o = function(w, l) {
112
- var g = u.w(e.$u ? Date.UTC(e.$y, l, w) : new Date(e.$y, l, w), e);
113
- return i ? g : g.endOf(M);
114
- }, c = function(w, l) {
115
- return u.w(e.toDate()[w].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(l)), e);
116
- }, h = this.$W, d = this.$M, $ = this.$D, k = "set" + (this.$u ? "UTC" : "");
117
- switch (a) {
118
- case v:
119
- return i ? o(1, 0) : o(31, 11);
120
- case m:
121
- return i ? o(1, d) : o(0, d + 1);
122
- case L:
123
- var S = this.$locale().weekStart || 0, H = (h < S ? h + 7 : h) - S;
124
- return o(i ? $ - H : $ + (6 - H), d);
125
- case M:
126
- case x:
127
- return c(k + "Hours", 0);
128
- case _:
129
- return c(k + "Minutes", 1);
130
- case O:
131
- return c(k + "Seconds", 2);
132
- case y:
133
- return c(k + "Milliseconds", 3);
134
- default:
135
- return this.clone();
136
- }
137
- }, n.endOf = function(t) {
138
- return this.startOf(t, !1);
139
- }, n.$set = function(t, r) {
140
- var e, i = u.p(t), a = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = a + "Date", e[x] = a + "Date", e[m] = a + "Month", e[v] = a + "FullYear", e[_] = a + "Hours", e[O] = a + "Minutes", e[y] = a + "Seconds", e[C] = a + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
141
- if (i === m || i === v) {
142
- var h = this.clone().set(x, 1);
143
- h.$d[o](c), h.init(), this.$d = h.set(x, Math.min(this.$D, h.daysInMonth())).$d;
144
- } else
145
- o && this.$d[o](c);
146
- return this.init(), this;
147
- }, n.set = function(t, r) {
148
- return this.clone().$set(t, r);
149
- }, n.get = function(t) {
150
- return this[u.p(t)]();
151
- }, n.add = function(t, r) {
152
- var e, i = this;
153
- t = Number(t);
154
- var a = u.p(r), o = function(d) {
155
- var $ = f(i);
156
- return u.w($.date($.date() + Math.round(d * t)), i);
157
- };
158
- if (a === m)
159
- return this.set(m, this.$M + t);
160
- if (a === v)
161
- return this.set(v, this.$y + t);
162
- if (a === M)
163
- return o(1);
164
- if (a === L)
165
- return o(7);
166
- var c = (e = {}, e[O] = p, e[_] = T, e[y] = b, e)[a] || 1, h = this.$d.getTime() + t * c;
167
- return u.w(h, this);
168
- }, n.subtract = function(t, r) {
169
- return this.add(-1 * t, r);
170
- }, n.format = function(t) {
171
- var r = this, e = this.$locale();
172
- if (!this.isValid())
173
- return e.invalidDate || Z;
174
- var i = t || "YYYY-MM-DDTHH:mm:ssZ", a = u.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, $ = e.months, k = e.meridiem, S = function(l, g, j, I) {
175
- return l && (l[g] || l(r, i)) || j[g].slice(0, I);
176
- }, H = function(l) {
177
- return u.s(o % 12 || 12, l, "0");
178
- }, w = k || function(l, g, j) {
179
- var I = l < 12 ? "AM" : "PM";
180
- return j ? I.toLowerCase() : I;
181
- };
182
- return i.replace(G, function(l, g) {
183
- return g || function(j) {
184
- switch (j) {
185
- case "YY":
186
- return String(r.$y).slice(-2);
187
- case "YYYY":
188
- return u.s(r.$y, 4, "0");
189
- case "M":
190
- return h + 1;
191
- case "MM":
192
- return u.s(h + 1, 2, "0");
193
- case "MMM":
194
- return S(e.monthsShort, h, $, 3);
195
- case "MMMM":
196
- return S($, h);
197
- case "D":
198
- return r.$D;
199
- case "DD":
200
- return u.s(r.$D, 2, "0");
201
- case "d":
202
- return String(r.$W);
203
- case "dd":
204
- return S(e.weekdaysMin, r.$W, d, 2);
205
- case "ddd":
206
- return S(e.weekdaysShort, r.$W, d, 3);
207
- case "dddd":
208
- return d[r.$W];
209
- case "H":
210
- return String(o);
211
- case "HH":
212
- return u.s(o, 2, "0");
213
- case "h":
214
- return H(1);
215
- case "hh":
216
- return H(2);
217
- case "a":
218
- return w(o, c, !0);
219
- case "A":
220
- return w(o, c, !1);
221
- case "m":
222
- return String(c);
223
- case "mm":
224
- return u.s(c, 2, "0");
225
- case "s":
226
- return String(r.$s);
227
- case "ss":
228
- return u.s(r.$s, 2, "0");
229
- case "SSS":
230
- return u.s(r.$ms, 3, "0");
231
- case "Z":
232
- return a;
233
- }
234
- return null;
235
- }(l) || a.replace(":", "");
236
- });
237
- }, n.utcOffset = function() {
238
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
239
- }, n.diff = function(t, r, e) {
240
- var i, a = this, o = u.p(r), c = f(t), h = (c.utcOffset() - this.utcOffset()) * p, d = this - c, $ = function() {
241
- return u.m(a, c);
242
- };
243
- switch (o) {
244
- case v:
245
- i = $() / 12;
246
- break;
247
- case m:
248
- i = $();
249
- break;
250
- case J:
251
- i = $() / 3;
252
- break;
253
- case L:
254
- i = (d - h) / 6048e5;
255
- break;
256
- case M:
257
- i = (d - h) / 864e5;
258
- break;
259
- case _:
260
- i = d / T;
261
- break;
262
- case O:
263
- i = d / p;
264
- break;
265
- case y:
266
- i = d / b;
267
- break;
268
- default:
269
- i = d;
270
- }
271
- return e ? i : u.a(i);
272
- }, n.daysInMonth = function() {
273
- return this.endOf(m).$D;
274
- }, n.$locale = function() {
275
- return D[this.$L];
276
- }, n.locale = function(t, r) {
277
- if (!t)
278
- return this.$L;
279
- var e = this.clone(), i = W(t, r, !0);
280
- return i && (e.$L = i), e;
281
- }, n.clone = function() {
282
- return u.w(this.$d, this);
283
- }, n.toDate = function() {
284
- return new Date(this.valueOf());
285
- }, n.toJSON = function() {
286
- return this.isValid() ? this.toISOString() : null;
287
- }, n.toISOString = function() {
288
- return this.$d.toISOString();
289
- }, n.toString = function() {
290
- return this.$d.toUTCString();
291
- }, s;
292
- }(), E = A.prototype;
293
- return f.prototype = E, [["$ms", C], ["$s", y], ["$m", O], ["$H", _], ["$W", M], ["$M", m], ["$y", v], ["$D", x]].forEach(function(s) {
294
- E[s[1]] = function(n) {
295
- return this.$g(n, s[0], s[1]);
296
- };
297
- }), f.extend = function(s, n) {
298
- return s.$i || (s(n, A, f), s.$i = !0), f;
299
- }, f.locale = W, f.isDayjs = U, f.unix = function(s) {
300
- return f(1e3 * s);
301
- }, f.en = D[Y], f.Ls = D, f.p = {}, f;
302
- });
303
- })(V);
304
- var tt = V.exports;
305
- const st = /* @__PURE__ */ X(tt);
306
- export {
307
- st as D,
308
- tt as d,
309
- rt as u
310
- };