@feedmepos/mf-settings 0.0.75-dev.4 → 0.0.75

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.
@@ -2,23 +2,14 @@ import { defineComponent as ur, computed as zu, ref as Vr, watchEffect as Ur, re
2
2
  import { useRouter as Qr, RouterView as Yr } from "vue-router";
3
3
  import { useI18n as Zr, useCoreStore as ar, FeedMeAuth as Xr } from "@feedmepos/mf-common";
4
4
  import { c as gu } from "./_commonjs-dynamic-modules-bed80856.js";
5
- import { e as ir } from "./index-91b55cd8.js";
6
- import { c as Xe, r as yu } from "./app-c08977ee.js";
7
- import { r as ku, g as sr, i as en, a as tn, _ as Pu, C as Du, b as un, S as Tt, c as vt, E as Eu, d as rn, e as or, f as nn, h as an, L as cr, j as Se, k as sn, l as on, F as xu, q as It, m as cn, n as ln, o as dn, p as fn, s as hn, t as pn, u as bn, v as $n } from "./map-695afd6f.js";
5
+ import { e as ir } from "./index-cdad1889.js";
6
+ import { c as Xe, r as yu } from "./app-925bdc75.js";
7
+ import { r as ku, g as sr, i as en, a as tn, _ as Pu, C as Du, b as un, S as Tt, c as vt, E as Eu, d as rn, e as or, f as nn, h as an, L as cr, j as xu, k as Se, l as sn, m as on, F as Su, q as It, n as cn, o as ln, p as dn, s as fn, t as hn, u as pn, v as bn, w as $n } from "./map-54b71412.js";
8
8
  import "@feedmepos/mf-mdm";
9
9
  import "@feedmepos/mf-media";
10
10
  import "@feedmepos/mf-order-setting";
11
11
  import "@feedmepos/ui-library";
12
12
  import "@feedmepos/mf-e-invoice";
13
- function Su(M, b) {
14
- var g = {};
15
- for (var x in M)
16
- Object.prototype.hasOwnProperty.call(M, x) && b.indexOf(x) < 0 && (g[x] = M[x]);
17
- if (M != null && typeof Object.getOwnPropertySymbols == "function")
18
- for (var T = 0, x = Object.getOwnPropertySymbols(M); T < x.length; T++)
19
- b.indexOf(x[T]) < 0 && Object.prototype.propertyIsEnumerable.call(M, x[T]) && (g[x[T]] = M[x[T]]);
20
- return g;
21
- }
22
13
  var Au = {};
23
14
  (function(M) {
24
15
  var b = typeof process < "u" && (process.versions || {}).hasOwnProperty("node"), g = b ? Object.create(globalThis) : globalThis;
@@ -20223,7 +20214,7 @@ async function hr(M, b, g) {
20223
20214
  Ve(M, oe);
20224
20215
  }
20225
20216
  } catch (T) {
20226
- if (T instanceof xu)
20217
+ if (T instanceof Su)
20227
20218
  throw T;
20228
20219
  Ve(M, "network-request-failed", { message: String(T) });
20229
20220
  }
@@ -20378,7 +20369,7 @@ async function xt(M, b, g = !1) {
20378
20369
  try {
20379
20370
  return await b;
20380
20371
  } catch (x) {
20381
- throw x instanceof xu && Un(x) && M.auth.currentUser === M && await M.auth.signOut(), x;
20372
+ throw x instanceof Su && Un(x) && M.auth.currentUser === M && await M.auth.signOut(), x;
20382
20373
  }
20383
20374
  }
20384
20375
  function Un({ code: M }) {
@@ -20529,7 +20520,7 @@ function Wn(M, b) {
20529
20520
  }
20530
20521
  function Qn(M) {
20531
20522
  return M.map((b) => {
20532
- var { providerId: g } = b, x = Su(b, ["providerId"]);
20523
+ var { providerId: g } = b, x = xu(b, ["providerId"]);
20533
20524
  return {
20534
20525
  providerId: g,
20535
20526
  uid: x.rawId || "",
@@ -20683,7 +20674,7 @@ function Je(M, b) {
20683
20674
  }
20684
20675
  class ht {
20685
20676
  constructor(b) {
20686
- var { uid: g, auth: x, stsTokenManager: T } = b, C = Su(b, ["uid", "auth", "stsTokenManager"]);
20677
+ var { uid: g, auth: x, stsTokenManager: T } = b, C = xu(b, ["uid", "auth", "stsTokenManager"]);
20687
20678
  this.providerId = "firebase", this.proactiveRefresh = new Kn(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = g, this.auth = x, this.stsTokenManager = T, this.accessToken = T.accessToken, this.displayName = C.displayName || null, this.email = C.email || null, this.emailVerified = C.emailVerified || !1, this.phoneNumber = C.phoneNumber || null, this.photoURL = C.photoURL || null, this.isAnonymous = C.isAnonymous || !1, this.tenantId = C.tenantId || null, this.providerData = C.providerData ? [...C.providerData] : [], this.metadata = new $r(C.createdAt || void 0, C.lastLoginAt || void 0);
20688
20679
  }
20689
20680
  async getIdToken(b) {
@@ -21758,7 +21749,7 @@ class pt extends Ir {
21758
21749
  * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
21759
21750
  */
21760
21751
  static fromJSON(b) {
21761
- const g = typeof b == "string" ? JSON.parse(b) : b, { providerId: x, signInMethod: T } = g, C = Su(g, ["providerId", "signInMethod"]);
21752
+ const g = typeof b == "string" ? JSON.parse(b) : b, { providerId: x, signInMethod: T } = g, C = xu(g, ["providerId", "signInMethod"]);
21762
21753
  if (!x || !T)
21763
21754
  return null;
21764
21755
  const N = new pt(x, T);
@@ -22224,7 +22215,7 @@ function Uu(M) {
22224
22215
  * See the License for the specific language governing permissions and
22225
22216
  * limitations under the License.
22226
22217
  */
22227
- class Ut extends xu {
22218
+ class Ut extends Su {
22228
22219
  constructor(b, g, x, T) {
22229
22220
  var C;
22230
22221
  super(g.code, g.message), this.operationType = x, this.user = T, Object.setPrototypeOf(this, Ut.prototype), this.customData = {
@@ -24100,7 +24091,7 @@ At.CALLBACK_NAME = "_dk_google_maps_loader_cb";
24100
24091
  async function Ri() {
24101
24092
  if (fn().length)
24102
24093
  return;
24103
- const M = hn({ apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }), b = await Xr.getCustomToken(), g = _i();
24094
+ const M = hn({ apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }), b = await Xr.getCustomToken(), g = _i();
24104
24095
  await ya(g, b), pn(M);
24105
24096
  }
24106
24097
  async function Ni() {