@feedmepos/mf-settings 0.0.51 → 0.0.52

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,25 +1,4 @@
1
1
  import { ref as ot } from "vue";
2
- const oe = ot(null), Zr = () => oe.value;
3
- function Qr(t) {
4
- oe.value || (oe.value = t);
5
- }
6
- const es = Object.freeze({
7
- jb: {
8
- lat: 1.492659,
9
- lng: 103.7413591
10
- }
11
- });
12
- function ts(t) {
13
- return [t.lng, t.lat];
14
- }
15
- function ns(t) {
16
- if (t.length !== 2)
17
- throw Error("Invalid coordinate array");
18
- return {
19
- lat: t[1],
20
- lng: t[0]
21
- };
22
- }
23
2
  /**
24
3
  * @license
25
4
  * Copyright 2017 Google LLC
@@ -314,7 +293,7 @@ const ht = () => ut().__FIREBASE_DEFAULTS__, dt = () => {
314
293
  }, Ue = () => {
315
294
  var t;
316
295
  return (t = K()) === null || t === void 0 ? void 0 : t.config;
317
- }, rs = (t) => {
296
+ }, Zr = (t) => {
318
297
  var e;
319
298
  return (e = K()) === null || e === void 0 ? void 0 : e[`_${t}`];
320
299
  };
@@ -418,7 +397,7 @@ function _t(t, e) {
418
397
  function Pe() {
419
398
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
420
399
  }
421
- function ss() {
400
+ function Qr() {
422
401
  return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
423
402
  // just to deal with this case would probably be a bad idea.
424
403
  !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(Pe());
@@ -436,14 +415,14 @@ function bt() {
436
415
  return !1;
437
416
  }
438
417
  }
439
- function os() {
418
+ function es() {
440
419
  const t = typeof chrome == "object" ? chrome.runtime : typeof browser == "object" ? browser.runtime : void 0;
441
420
  return typeof t == "object" && t.id !== void 0;
442
421
  }
443
- function is() {
422
+ function ts() {
444
423
  return typeof navigator == "object" && navigator.product === "ReactNative";
445
424
  }
446
- function as() {
425
+ function ns() {
447
426
  const t = Pe();
448
427
  return t.indexOf("MSIE ") >= 0 || t.indexOf("Trident/") >= 0;
449
428
  }
@@ -510,13 +489,13 @@ function It(t, e) {
510
489
  });
511
490
  }
512
491
  const Rt = /\{\$([^}]+)}/g;
513
- function cs(t) {
492
+ function rs(t) {
514
493
  for (const e in t)
515
494
  if (Object.prototype.hasOwnProperty.call(t, e))
516
495
  return !1;
517
496
  return !0;
518
497
  }
519
- function ie(t, e) {
498
+ function oe(t, e) {
520
499
  if (t === e)
521
500
  return !0;
522
501
  const n = Object.keys(t), r = Object.keys(e);
@@ -525,7 +504,7 @@ function ie(t, e) {
525
504
  return !1;
526
505
  const o = t[s], i = e[s];
527
506
  if (Ee(o) && Ee(i)) {
528
- if (!ie(o, i))
507
+ if (!oe(o, i))
529
508
  return !1;
530
509
  } else if (o !== i)
531
510
  return !1;
@@ -554,7 +533,7 @@ function Ee(t) {
554
533
  * See the License for the specific language governing permissions and
555
534
  * limitations under the License.
556
535
  */
557
- function ls(t) {
536
+ function ss(t) {
558
537
  const e = [];
559
538
  for (const [n, r] of Object.entries(t))
560
539
  Array.isArray(r) ? r.forEach((s) => {
@@ -562,7 +541,7 @@ function ls(t) {
562
541
  }) : e.push(encodeURIComponent(n) + "=" + encodeURIComponent(r));
563
542
  return e.length ? "&" + e.join("&") : "";
564
543
  }
565
- function us(t, e) {
544
+ function os(t, e) {
566
545
  const n = new Tt(t, e);
567
546
  return n.subscribe.bind(n);
568
547
  }
@@ -1065,7 +1044,7 @@ function Lt() {
1065
1044
  IDBCursor.prototype.continuePrimaryKey
1066
1045
  ]);
1067
1046
  }
1068
- const Me = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), fe = /* @__PURE__ */ new WeakMap();
1047
+ const Me = /* @__PURE__ */ new WeakMap(), ie = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap(), Q = /* @__PURE__ */ new WeakMap(), fe = /* @__PURE__ */ new WeakMap();
1069
1048
  function Mt(t) {
1070
1049
  const e = new Promise((n, r) => {
1071
1050
  const s = () => {
@@ -1083,7 +1062,7 @@ function Mt(t) {
1083
1062
  }), fe.set(e, t), e;
1084
1063
  }
1085
1064
  function $t(t) {
1086
- if (ae.has(t))
1065
+ if (ie.has(t))
1087
1066
  return;
1088
1067
  const e = new Promise((n, r) => {
1089
1068
  const s = () => {
@@ -1095,13 +1074,13 @@ function $t(t) {
1095
1074
  };
1096
1075
  t.addEventListener("complete", o), t.addEventListener("error", i), t.addEventListener("abort", i);
1097
1076
  });
1098
- ae.set(t, e);
1077
+ ie.set(t, e);
1099
1078
  }
1100
- let ce = {
1079
+ let ae = {
1101
1080
  get(t, e, n) {
1102
1081
  if (t instanceof IDBTransaction) {
1103
1082
  if (e === "done")
1104
- return ae.get(t);
1083
+ return ie.get(t);
1105
1084
  if (e === "objectStoreNames")
1106
1085
  return t.objectStoreNames || $e.get(t);
1107
1086
  if (e === "store")
@@ -1117,7 +1096,7 @@ let ce = {
1117
1096
  }
1118
1097
  };
1119
1098
  function Ft(t) {
1120
- ce = t(ce);
1099
+ ae = t(ae);
1121
1100
  }
1122
1101
  function Ht(t) {
1123
1102
  return t === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...n) {
@@ -1130,7 +1109,7 @@ function Ht(t) {
1130
1109
  };
1131
1110
  }
1132
1111
  function jt(t) {
1133
- return typeof t == "function" ? Ht(t) : (t instanceof IDBTransaction && $t(t), Ut(t, Pt()) ? new Proxy(t, ce) : t);
1112
+ return typeof t == "function" ? Ht(t) : (t instanceof IDBTransaction && $t(t), Ut(t, Pt()) ? new Proxy(t, ae) : t);
1134
1113
  }
1135
1114
  function A(t) {
1136
1115
  if (t instanceof IDBRequest)
@@ -1218,7 +1197,7 @@ function Gt(t) {
1218
1197
  const e = t.getComponent();
1219
1198
  return (e == null ? void 0 : e.type) === "VERSION";
1220
1199
  }
1221
- const le = "@firebase/app", Te = "0.9.13";
1200
+ const ce = "@firebase/app", Te = "0.9.13";
1222
1201
  /**
1223
1202
  * @license
1224
1203
  * Copyright 2019 Google LLC
@@ -1252,8 +1231,8 @@ const S = new xt("@firebase/app"), Kt = "@firebase/app-compat", Xt = "@firebase/
1252
1231
  * See the License for the specific language governing permissions and
1253
1232
  * limitations under the License.
1254
1233
  */
1255
- const ue = "[DEFAULT]", En = {
1256
- [le]: "fire-core",
1234
+ const le = "[DEFAULT]", En = {
1235
+ [ce]: "fire-core",
1257
1236
  [Kt]: "fire-core-compat",
1258
1237
  [Jt]: "fire-analytics",
1259
1238
  [Xt]: "fire-analytics-compat",
@@ -1296,7 +1275,7 @@ const ue = "[DEFAULT]", En = {
1296
1275
  * See the License for the specific language governing permissions and
1297
1276
  * limitations under the License.
1298
1277
  */
1299
- const F = /* @__PURE__ */ new Map(), he = /* @__PURE__ */ new Map();
1278
+ const F = /* @__PURE__ */ new Map(), ue = /* @__PURE__ */ new Map();
1300
1279
  function wn(t, e) {
1301
1280
  try {
1302
1281
  t.container.addComponent(e);
@@ -1306,9 +1285,9 @@ function wn(t, e) {
1306
1285
  }
1307
1286
  function G(t) {
1308
1287
  const e = t.name;
1309
- if (he.has(e))
1288
+ if (ue.has(e))
1310
1289
  return S.debug(`There were multiple attempts to register component ${e}.`), !1;
1311
- he.set(e, t);
1290
+ ue.set(e, t);
1312
1291
  for (const n of F.values())
1313
1292
  wn(n, t);
1314
1293
  return !0;
@@ -1424,7 +1403,7 @@ const An = yn;
1424
1403
  function vn(t, e = {}) {
1425
1404
  let n = t;
1426
1405
  typeof e != "object" && (e = { name: e });
1427
- const r = Object.assign({ name: ue, automaticDataCollectionEnabled: !1 }, e), s = r.name;
1406
+ const r = Object.assign({ name: le, automaticDataCollectionEnabled: !1 }, e), s = r.name;
1428
1407
  if (typeof s != "string" || !s)
1429
1408
  throw v.create("bad-app-name", {
1430
1409
  appName: String(s)
@@ -1436,25 +1415,25 @@ function vn(t, e = {}) {
1436
1415
  );
1437
1416
  const o = F.get(s);
1438
1417
  if (o) {
1439
- if (ie(n, o.options) && ie(r, o.config))
1418
+ if (oe(n, o.options) && oe(r, o.config))
1440
1419
  return o;
1441
1420
  throw v.create("duplicate-app", { appName: s });
1442
1421
  }
1443
1422
  const i = new Ot(s);
1444
- for (const c of he.values())
1423
+ for (const c of ue.values())
1445
1424
  i.addComponent(c);
1446
1425
  const a = new Tn(n, r, i);
1447
1426
  return F.set(s, a), a;
1448
1427
  }
1449
- function Dn(t = ue) {
1428
+ function Dn(t = le) {
1450
1429
  const e = F.get(t);
1451
- if (!e && t === ue && Ue())
1430
+ if (!e && t === le && Ue())
1452
1431
  return vn();
1453
1432
  if (!e)
1454
1433
  throw v.create("no-app", { appName: t });
1455
1434
  return e;
1456
1435
  }
1457
- function hs() {
1436
+ function is() {
1458
1437
  return Array.from(F.values());
1459
1438
  }
1460
1439
  function L(t, e, n) {
@@ -1693,7 +1672,7 @@ function Pn(t) {
1693
1672
  (e) => new Bn(e),
1694
1673
  "PRIVATE"
1695
1674
  /* ComponentType.PRIVATE */
1696
- )), L(le, Te, t), L(le, Te, "esm2017"), L("fire-js", "");
1675
+ )), L(ce, Te, t), L(ce, Te, "esm2017"), L("fire-js", "");
1697
1676
  }
1698
1677
  Pn("");
1699
1678
  /**
@@ -1813,7 +1792,7 @@ function Jn() {
1813
1792
  function Yn(t) {
1814
1793
  return new d(h.UNSUPPORTED_ENVIRONMENT, `${t} is missing. Make sure to install the required polyfills. See https://firebase.google.com/docs/web/environments-js-sdk#polyfills for more information.`);
1815
1794
  }
1816
- function de(t) {
1795
+ function he(t) {
1817
1796
  return new d(h.INVALID_ARGUMENT, t);
1818
1797
  }
1819
1798
  function ze() {
@@ -2015,9 +1994,9 @@ function me() {
2015
1994
  }
2016
1995
  function Oe(t, e, n, r) {
2017
1996
  if (r < e)
2018
- throw de(`Invalid value for '${t}'. Expected ${e} or greater.`);
1997
+ throw he(`Invalid value for '${t}'. Expected ${e} or greater.`);
2019
1998
  if (r > n)
2020
- throw de(`Invalid value for '${t}'. Expected ${n} or less.`);
1999
+ throw he(`Invalid value for '${t}'. Expected ${n} or less.`);
2021
2000
  }
2022
2001
  /**
2023
2002
  * @license
@@ -2927,7 +2906,7 @@ function qr(t, e) {
2927
2906
  if (e && zr(e)) {
2928
2907
  if (t instanceof ye)
2929
2908
  return Wr(t, e);
2930
- throw de("To use ref(service, url), the first argument must be a Storage instance.");
2909
+ throw he("To use ref(service, url), the first argument must be a Storage instance.");
2931
2910
  } else
2932
2911
  return nt(t, e);
2933
2912
  }
@@ -3053,19 +3032,19 @@ const Ne = "@firebase/storage", ke = "0.11.2";
3053
3032
  * limitations under the License.
3054
3033
  */
3055
3034
  const rt = "storage";
3056
- function ds(t, e, n) {
3035
+ function as(t, e, n) {
3057
3036
  return t = U(t), Fr(t, e, n);
3058
3037
  }
3059
- function fs(t) {
3038
+ function cs(t) {
3060
3039
  return t = U(t), Hr(t);
3061
3040
  }
3062
- function ps(t) {
3041
+ function ls(t) {
3063
3042
  return t = U(t), jr(t);
3064
3043
  }
3065
- function gs(t, e) {
3044
+ function us(t, e) {
3066
3045
  return t = U(t), qr(t, e);
3067
3046
  }
3068
- function ms(t = Dn(), e) {
3047
+ function hs(t = Dn(), e) {
3069
3048
  t = U(t);
3070
3049
  const r = In(t, rt).getImmediate({
3071
3050
  identifier: e
@@ -3091,7 +3070,7 @@ function Kr(t, e, n, r = {}) {
3091
3070
  * See the License for the specific language governing permissions and
3092
3071
  * limitations under the License.
3093
3072
  */
3094
- function _s(t, e) {
3073
+ function ds(t, e) {
3095
3074
  return t = U(t), $r(t, e);
3096
3075
  }
3097
3076
  function Xr(t, { instanceIdentifier: e }) {
@@ -3107,41 +3086,62 @@ function Jr() {
3107
3086
  ).setMultipleInstances(!0)), L(Ne, ke, ""), L(Ne, ke, "esm2017");
3108
3087
  }
3109
3088
  Jr();
3089
+ const de = ot(null), fs = () => de.value;
3090
+ function ps(t) {
3091
+ de.value || (de.value = t);
3092
+ }
3093
+ const gs = Object.freeze({
3094
+ jb: {
3095
+ lat: 1.492659,
3096
+ lng: 103.7413591
3097
+ }
3098
+ });
3099
+ function ms(t) {
3100
+ return [t.lng, t.lat];
3101
+ }
3102
+ function _s(t) {
3103
+ if (t.length !== 2)
3104
+ throw Error("Invalid coordinate array");
3105
+ return {
3106
+ lat: t[1],
3107
+ lng: t[0]
3108
+ };
3109
+ }
3110
3110
  export {
3111
- _s as A,
3112
- ds as B,
3111
+ ls as A,
3112
+ gs as B,
3113
3113
  $ as C,
3114
- fs as D,
3114
+ _s as D,
3115
3115
  Le as E,
3116
3116
  x as F,
3117
- ps as G,
3117
+ ms as G,
3118
3118
  u as L,
3119
3119
  An as S,
3120
3120
  G as _,
3121
- is as a,
3122
- os as b,
3121
+ ts as a,
3122
+ es as b,
3123
3123
  U as c,
3124
- us as d,
3124
+ os as d,
3125
3125
  In as e,
3126
3126
  pt as f,
3127
- rs as g,
3127
+ Zr as g,
3128
3128
  Dn as h,
3129
- ss as i,
3129
+ Qr as i,
3130
3130
  Pe as j,
3131
- ie as k,
3131
+ oe as k,
3132
3132
  xt as l,
3133
3133
  lt as m,
3134
- as as n,
3135
- cs as o,
3136
- hs as p,
3137
- ls as q,
3134
+ ns as n,
3135
+ rs as o,
3136
+ is as p,
3137
+ ss as q,
3138
3138
  L as r,
3139
3139
  vn as s,
3140
- ms as t,
3141
- Zr as u,
3142
- Qr as v,
3143
- es as w,
3144
- ns as x,
3145
- ts as y,
3146
- gs as z
3140
+ hs as t,
3141
+ fs as u,
3142
+ ps as v,
3143
+ us as w,
3144
+ ds as x,
3145
+ as as y,
3146
+ cs as z
3147
3147
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as p, openBlock as m, createElementBlock as u, createElementVNode as a, renderSlot as s, toDisplayString as f, normalizeClass as i, toRaw as h, markRaw as g, createVNode as x, render as C } from "vue";
1
+ import { defineComponent as p, openBlock as m, createElementBlock as u, createElementVNode as a, renderSlot as s, toDisplayString as f, normalizeClass as i, markRaw as h, createVNode as g, render as x, toRaw as C } from "vue";
2
2
  const _ = {
3
3
  class: /* @__PURE__ */ i([
4
4
  "flex flex-col",
@@ -31,34 +31,33 @@ const _ = {
31
31
  s(e.$slots, "default")
32
32
  ]));
33
33
  }
34
- });
34
+ }), w = (o, e, r) => {
35
+ if (!e)
36
+ throw new Error("No current instance found");
37
+ const t = document.createElement("div");
38
+ document.body.appendChild(t);
39
+ const c = h(o), n = g(c, r);
40
+ return n.appContext = e.appContext, x(n, t), { container: t, vNode: n };
41
+ };
42
+ function E(o, e, r) {
43
+ var d;
44
+ const { vNode: t, unmount: c } = w(e, o, r), n = (d = t.component) == null ? void 0 : d.exposed;
45
+ n == null || n.trigger();
46
+ }
35
47
  function l(o) {
36
48
  return JSON.parse(JSON.stringify(o));
37
49
  }
38
- function E(o) {
50
+ function S(o) {
39
51
  if (typeof structuredClone > "u")
40
52
  return l(o);
41
53
  try {
42
- return structuredClone(h(o));
54
+ return structuredClone(C(o));
43
55
  } catch {
44
56
  return l(o);
45
57
  }
46
58
  }
47
- const w = (o, e, r) => {
48
- if (!e)
49
- throw new Error("No current instance found");
50
- const t = document.createElement("div");
51
- document.body.appendChild(t);
52
- const c = g(o), n = x(c, r);
53
- return n.appContext = e.appContext, C(n, t), { container: t, vNode: n };
54
- };
55
- function S(o, e, r) {
56
- var d;
57
- const { vNode: t, unmount: c } = w(e, o, r), n = (d = t.component) == null ? void 0 : d.exposed;
58
- n == null || n.trigger();
59
- }
60
59
  export {
61
60
  v as _,
62
- S as a,
63
- E as c
61
+ E as a,
62
+ S as c
64
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-settings",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -21,7 +21,7 @@
21
21
  "@feedmepos/core-dart": "^0.2.6",
22
22
  "@feedmepos/ordering-model": "0.1.2-OT315-beta-2",
23
23
  "@feedmepos/payment-model": "0.0.12",
24
- "@feedmepos/print": "file:../../core-legacy-0.1.tar.gz",
24
+ "@feedmepos/print": "file:../../core-legacy-0.4.tar.gz",
25
25
  "@feedmepos/ui-library": "1.4.0-beta.3",
26
26
  "@feedmepos/mf-e-invoice": "^0.0.6",
27
27
  "@feedmepos/mf-mdm": "1.4.2-beta.135",
@@ -41,7 +41,7 @@
41
41
  "vue-i18n": "10.0.5",
42
42
  "vuedraggable": "^4.1.0",
43
43
  "lodash": "^4.17.21",
44
- "@feedmepos/mf-common": "^1.19.0-beta.1"
44
+ "@feedmepos/mf-common": "^1.20.0-beta.1"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rushstack/eslint-patch": "^1.3.3",