@inno_user/inno_clouds_lib 8.2.1 → 8.2.3

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.
@@ -14,14 +14,14 @@ var fs = (i, e, t, n) => ({
14
14
  }
15
15
  });
16
16
  import { createRouter as ec, createWebHistory as tc, useRouter as er, useRoute as tr } from "vue-router";
17
- import { useRoute as Yg, useRouter as Vg } from "vue-router";
17
+ import { useRoute as Gg, useRouter as Kg } from "vue-router";
18
18
  import { defineStore as ii, storeToRefs as me } from "pinia";
19
19
  import { ref as X, watchEffect as Tn, computed as ge, reactive as mi, toRaw as nc, defineComponent as be, onMounted as nr, nextTick as Gn, createElementBlock as N, openBlock as F, renderSlot as si, createElementVNode as y, onBeforeUnmount as Yi, normalizeClass as $e, unref as I, createCommentVNode as ne, withModifiers as et, createVNode as oe, withCtx as Qt, Fragment as Xe, renderList as $t, toDisplayString as ie, watch as dt, createBlock as un, Transition as Vr, withKeys as Di, withDirectives as Sn, normalizeStyle as wt, vShow as $i, onUnmounted as ho, createTextVNode as Je, resolveComponent as rc, vModelText as Si, createStaticVNode as Jo, isRef as Zo } from "vue";
20
- function pg(i) {
20
+ function _g(i) {
21
21
  return i;
22
22
  }
23
23
  const ic = [];
24
- function _g() {
24
+ function mg() {
25
25
  return ec({
26
26
  history: tc(),
27
27
  routes: ic
@@ -957,11 +957,14 @@ const It = ii("themeLib", () => {
957
957
  kiosk_show_loyalty_card_button: null,
958
958
  kiosk_show_loyalty_phone_input_button: null,
959
959
  show_order_comment: null,
960
- show_nutrition_in_cart: null
960
+ show_nutrition_in_cart: null,
961
+ apply_custom_size_picker_fonts: null,
962
+ size_picker_unselected_font_size: null,
963
+ size_picker_selected_font_size: null
961
964
  });
962
965
  function n(r) {
963
966
  if (!r) return;
964
- t.value = { ...r }, document.documentElement.style.setProperty("--primaryColor", r.primary_color), document.documentElement.style.setProperty("--accentColor", r.accent_color), document.documentElement.style.setProperty("--accentLightColor", r.accent_light_color), document.documentElement.style.setProperty("--accentDarkColor", r.accent_dark_color), document.documentElement.style.setProperty("--bgButtonColor", r.bg_button_color), document.documentElement.style.setProperty("--inactiveButtonColor", r.inactive_button_color), document.documentElement.style.setProperty("--cardsColor", r.cards_color), document.documentElement.style.setProperty("--textColor", r.text_color), document.documentElement.style.setProperty("--nonworkingBgColor", r.nonworking_bg_color);
967
+ t.value = { ...r }, document.documentElement.style.setProperty("--primaryColor", r.primary_color), document.documentElement.style.setProperty("--accentColor", r.accent_color), document.documentElement.style.setProperty("--accentLightColor", r.accent_light_color), document.documentElement.style.setProperty("--accentDarkColor", r.accent_dark_color), document.documentElement.style.setProperty("--bgButtonColor", r.bg_button_color), document.documentElement.style.setProperty("--inactiveButtonColor", r.inactive_button_color), document.documentElement.style.setProperty("--cardsColor", r.cards_color), document.documentElement.style.setProperty("--textColor", r.text_color), document.documentElement.style.setProperty("--nonworkingBgColor", r.nonworking_bg_color), r.apply_custom_size_picker_fonts && r.size_picker_unselected_font_size && r.size_picker_unselected_font_size > 0 && document.documentElement.style.setProperty("--sizePickerUnselectedFontSize", `${r.size_picker_unselected_font_size}rem`), r.apply_custom_size_picker_fonts && r.size_picker_selected_font_size && r.size_picker_selected_font_size > 0 && document.documentElement.style.setProperty("--sizePickerSelectedFontSize", `${r.size_picker_selected_font_size}rem`);
965
968
  const s = t.value.primary_color || "#F2F7FF", o = Q(s).setAlpha(0.7).toRgbString(), a = `linear-gradient(to bottom, transparent 10%, ${o} 50%, ${s} 85%)`, l = `-webkit-linear-gradient(to bottom, transparent 10%, ${o} 50%, ${s} 85%)`;
966
969
  return t.value.gradientStyle = {
967
970
  background: a,
@@ -3103,22 +3106,22 @@ Ce.getAdapter = Pl.getAdapter;
3103
3106
  Ce.HttpStatusCode = Bs;
3104
3107
  Ce.default = Ce;
3105
3108
  const {
3106
- Axios: vg,
3107
- AxiosError: yg,
3108
- CanceledError: bg,
3109
- isCancel: wg,
3110
- CancelToken: xg,
3111
- VERSION: Sg,
3112
- all: Cg,
3113
- Cancel: kg,
3114
- isAxiosError: Tg,
3115
- spread: Pg,
3116
- toFormData: Mg,
3117
- AxiosHeaders: Ag,
3118
- HttpStatusCode: Eg,
3119
- formToJSON: Og,
3120
- getAdapter: Rg,
3121
- mergeConfig: Dg
3109
+ Axios: yg,
3110
+ AxiosError: bg,
3111
+ CanceledError: wg,
3112
+ isCancel: xg,
3113
+ CancelToken: Sg,
3114
+ VERSION: Cg,
3115
+ all: kg,
3116
+ Cancel: Tg,
3117
+ isAxiosError: Pg,
3118
+ spread: Mg,
3119
+ toFormData: Ag,
3120
+ AxiosHeaders: Eg,
3121
+ HttpStatusCode: Og,
3122
+ formToJSON: Rg,
3123
+ getAdapter: Dg,
3124
+ mergeConfig: $g
3122
3125
  } = Ce;
3123
3126
  var pf = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3124
3127
  function _f(i) {
@@ -4950,7 +4953,7 @@ const Gt = /* @__PURE__ */ be({
4950
4953
  ]);
4951
4954
  };
4952
4955
  }
4953
- }), $g = /* @__PURE__ */ Me(lp, [["__scopeId", "data-v-c420b27b"]]), up = {
4956
+ }), Ig = /* @__PURE__ */ Me(lp, [["__scopeId", "data-v-c420b27b"]]), up = {
4954
4957
  key: 0,
4955
4958
  class: "popupWindowDefault_overlay"
4956
4959
  }, cp = /* @__PURE__ */ be({
@@ -5463,7 +5466,7 @@ const e_ = /* @__PURE__ */ Me(Jp, [["render", Qp]]), t_ = { class: "cart_wrapper
5463
5466
  }, g_ = ["disabled", "max"], v_ = {
5464
5467
  key: 1,
5465
5468
  class: "footer_sales"
5466
- }, y_ = ["max"], b_ = { class: "list_price" }, w_ = { key: 0 }, x_ = { key: 1 }, S_ = { key: 2 }, C_ = { class: "accept_field" }, k_ = { class: "accept_field" }, T_ = { class: "accept_field" }, P_ = { class: "wrapper_footer_cart_btn" }, Ig = /* @__PURE__ */ be({
5469
+ }, y_ = ["max"], b_ = { class: "list_price" }, w_ = { key: 0 }, x_ = { key: 1 }, S_ = { key: 2 }, C_ = { class: "accept_field" }, k_ = { class: "accept_field" }, T_ = { class: "accept_field" }, P_ = { class: "wrapper_footer_cart_btn" }, Lg = /* @__PURE__ */ be({
5467
5470
  __name: "CartPage",
5468
5471
  props: {
5469
5472
  configPage: {},
@@ -5815,7 +5818,7 @@ function E_(i, e) {
5815
5818
  y("path", { d: "M18 6L6 18M6 6l12 12" }, null, -1)
5816
5819
  ])]);
5817
5820
  }
5818
- const O_ = /* @__PURE__ */ Me(M_, [["render", E_]]), R_ = { class: "retry_screen" }, D_ = { class: "retry_all_in_screen" }, $_ = { class: "retry_content" }, I_ = { class: "retry_icon_wrap" }, L_ = { class: "retry_icon_circle" }, F_ = { class: "retry_error_x" }, Lg = /* @__PURE__ */ be({
5821
+ const O_ = /* @__PURE__ */ Me(M_, [["render", E_]]), R_ = { class: "retry_screen" }, D_ = { class: "retry_all_in_screen" }, $_ = { class: "retry_content" }, I_ = { class: "retry_icon_wrap" }, L_ = { class: "retry_icon_circle" }, F_ = { class: "retry_error_x" }, Fg = /* @__PURE__ */ be({
5819
5822
  __name: "RetryPage",
5820
5823
  setup(i) {
5821
5824
  const e = oi(), t = er(), n = tr(), r = nt(), s = () => {
@@ -6028,7 +6031,7 @@ const O_ = /* @__PURE__ */ Me(M_, [["render", E_]]), R_ = { class: "retry_screen
6028
6031
  }, 8, ["container", "idActive"])
6029
6032
  ], 512)) : ne("", !0);
6030
6033
  }
6031
- }), Fg = /* @__PURE__ */ Me(nm, [["__scopeId", "data-v-33006a7e"]]), rm = ["id", "onClick"], im = /* @__PURE__ */ be({
6034
+ }), Ng = /* @__PURE__ */ Me(nm, [["__scopeId", "data-v-33006a7e"]]), rm = ["id", "onClick"], im = /* @__PURE__ */ be({
6032
6035
  __name: "TagsMain",
6033
6036
  props: {
6034
6037
  menuTags: { default: () => [] },
@@ -6068,7 +6071,7 @@ const O_ = /* @__PURE__ */ Me(M_, [["render", E_]]), R_ = { class: "retry_screen
6068
6071
  }, 8, ["container", "idActive"])
6069
6072
  ], 512)) : ne("", !0);
6070
6073
  }
6071
- }), Ng = /* @__PURE__ */ Me(im, [["__scopeId", "data-v-1d9c55bf"]]), sm = ii("imageCache", () => {
6074
+ }), Bg = /* @__PURE__ */ Me(im, [["__scopeId", "data-v-1d9c55bf"]]), sm = ii("imageCache", () => {
6072
6075
  const i = X({});
6073
6076
  async function e(o) {
6074
6077
  const a = String(o);
@@ -6165,7 +6168,7 @@ const am = ["data-id"], lm = ["src"], um = ["src"], cm = /* @__PURE__ */ be({
6165
6168
  y("p", null, ie(i.group.name), 1)
6166
6169
  ], 10, am));
6167
6170
  }
6168
- }), Bg = /* @__PURE__ */ Me(cm, [["__scopeId", "data-v-c1f6cef5"]]), dm = {}, fm = {
6171
+ }), zg = /* @__PURE__ */ Me(cm, [["__scopeId", "data-v-c1f6cef5"]]), dm = {}, fm = {
6169
6172
  width: "9.998535",
6170
6173
  height: "10.000000",
6171
6174
  viewBox: "0 0 9.99854 10",
@@ -6222,7 +6225,7 @@ const pm = /* @__PURE__ */ Me(dm, [["render", hm]]), _m = { class: "recommendati
6222
6225
  ])
6223
6226
  ]));
6224
6227
  }
6225
- }), zg = /* @__PURE__ */ Me(vm, [["__scopeId", "data-v-22178b54"]]), ym = { class: "wrapper_modal" }, bm = { class: "card_modal" }, wm = /* @__PURE__ */ be({
6228
+ }), Ug = /* @__PURE__ */ Me(vm, [["__scopeId", "data-v-22178b54"]]), ym = { class: "wrapper_modal" }, bm = { class: "card_modal" }, wm = /* @__PURE__ */ be({
6226
6229
  __name: "ModalWindows",
6227
6230
  props: {
6228
6231
  visible: { type: Boolean }
@@ -6246,7 +6249,7 @@ const pm = /* @__PURE__ */ Me(dm, [["render", hm]]), _m = { class: "recommendati
6246
6249
  ])
6247
6250
  ], 64));
6248
6251
  }
6249
- }), Ug = /* @__PURE__ */ Me(wm, [["__scopeId", "data-v-ec2b2c4d"]]);
6252
+ }), Hg = /* @__PURE__ */ Me(wm, [["__scopeId", "data-v-ec2b2c4d"]]);
6250
6253
  function on(i) {
6251
6254
  if (i === void 0)
6252
6255
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
@@ -8957,7 +8960,7 @@ G0(kr.prototype, {
8957
8960
  kr.zIndex = 1e3;
8958
8961
  kr.version = "3.13.0";
8959
8962
  qu() && de.registerPlugin(kr);
8960
- const rg = { class: "popup_wrapper" }, ig = { class: "popup_info" }, Hg = /* @__PURE__ */ be({
8963
+ const rg = { class: "popup_wrapper" }, ig = { class: "popup_info" }, Wg = /* @__PURE__ */ be({
8961
8964
  __name: "PopupWindowDraggable",
8962
8965
  props: {
8963
8966
  visible: { type: Boolean },
@@ -9021,7 +9024,7 @@ const rg = { class: "popup_wrapper" }, ig = { class: "popup_info" }, Hg = /* @__
9021
9024
  ])
9022
9025
  ], 64));
9023
9026
  }
9024
- }), xi = Symbol("clickOutside"), Wg = {
9027
+ }), xi = Symbol("clickOutside"), qg = {
9025
9028
  mounted(i, e) {
9026
9029
  i[xi] = (t) => {
9027
9030
  i.contains(t.target) || e.value(t);
@@ -9033,7 +9036,7 @@ const rg = { class: "popup_wrapper" }, ig = { class: "popup_info" }, Hg = /* @__
9033
9036
  }, sg = { class: "button_price_bg" }, og = { class: "wrapper_container_price_bg" }, ag = { class: "button_price" }, lg = {
9034
9037
  key: 0,
9035
9038
  class: "image_product_container"
9036
- }, ug = ["src"], qg = /* @__PURE__ */ be({
9039
+ }, ug = ["src"], jg = /* @__PURE__ */ be({
9037
9040
  __name: "BasketButton",
9038
9041
  emits: ["goToCart"],
9039
9042
  setup(i) {
@@ -9069,32 +9072,53 @@ const rg = { class: "popup_wrapper" }, ig = { class: "popup_info" }, Hg = /* @__
9069
9072
  ])
9070
9073
  ]));
9071
9074
  }
9072
- });
9075
+ }), cg = {
9076
+ pinch: !0,
9077
+ doubleTap: !0,
9078
+ wheel: !0,
9079
+ buttons: ["+", "-", "=", "0"]
9080
+ }, Xg = (i) => {
9081
+ var t;
9082
+ const e = Object.assign({}, cg, i);
9083
+ if (e.pinch && (document.addEventListener("touchstart", (n) => n.touches.length > 1 && n.preventDefault(), { passive: !1 }), document.addEventListener("gesturestart", (n) => n.preventDefault(), { passive: !1 })), e.doubleTap) {
9084
+ let n = 0;
9085
+ document.addEventListener(
9086
+ "touchend",
9087
+ (r) => {
9088
+ const s = Date.now();
9089
+ s - n <= 250 && r.preventDefault(), n = s;
9090
+ },
9091
+ { passive: !1 }
9092
+ );
9093
+ }
9094
+ e.wheel && document.addEventListener("wheel", (n) => (n.ctrlKey || n.metaKey) && n.preventDefault(), { passive: !1 }), (t = e.buttons) != null && t.length && document.addEventListener("keydown", (n) => (n.ctrlKey || n.metaKey) && e.buttons.includes(n.key) && n.preventDefault());
9095
+ };
9073
9096
  export {
9074
- qg as BasketButton,
9097
+ jg as BasketButton,
9075
9098
  ar as ButtonDefault,
9076
9099
  em as CardMain,
9077
- $g as CardProductPage,
9100
+ Ig as CardProductPage,
9078
9101
  qp as CardReader,
9079
9102
  Cp as CartBox,
9080
- Ig as CartPage,
9081
- Bg as DrumItem,
9082
- Fg as GroupMain,
9103
+ Lg as CartPage,
9104
+ zg as DrumItem,
9105
+ Ng as GroupMain,
9083
9106
  Jn as InitConnection,
9084
- Ug as ModalWindows,
9107
+ Hg as ModalWindows,
9085
9108
  dp as PopupWindowDefault,
9086
- Hg as PopupWindowDraggable,
9087
- zg as Recommendation,
9088
- Lg as RetryPage,
9089
- Ng as TagsMain,
9090
- pg as initPinia,
9091
- _g as initRouter,
9109
+ Wg as PopupWindowDraggable,
9110
+ Ug as Recommendation,
9111
+ Fg as RetryPage,
9112
+ Bg as TagsMain,
9113
+ _g as initPinia,
9114
+ mg as initRouter,
9115
+ Xg as preventZoom,
9092
9116
  yt as useCardLibStore,
9093
9117
  oi as useCartLibStore,
9094
9118
  sm as useImageCacheStore,
9095
9119
  nt as useMainLibStore,
9096
- Yg as useRoute,
9097
- Vg as useRouter,
9120
+ Gg as useRoute,
9121
+ Kg as useRouter,
9098
9122
  It as useThemeStore,
9099
- Wg as vClickOutside
9123
+ qg as vClickOutside
9100
9124
  };