golden-logic-ui 1.0.437 → 1.0.439

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.
@@ -2272,13 +2272,16 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
2272
2272
  this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
2273
2273
  },
2274
2274
  initSlider() {
2275
- let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter(($e) => $e.parentNode === G), Ce = ne[0].clientWidth, ee = A.clientWidth;
2276
- if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / Ce), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, ne.length > 1) {
2277
- this.dotsNum = this.elementsToShow == 1 ? ne.length : ne.length - this.elementsToShow + 1, console.log("dotsNum", this.dotsNum);
2278
- let $e = this.elementsToShow == 1 ? Ce * ne.length / this.dotsNum : Ce * (ne.length - this.elementsToShow) / (this.dotsNum - 1);
2275
+ let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter(($e) => $e.parentNode === G), Ce = ne[0].clientWidth;
2276
+ console.log("cardwidth", Ce);
2277
+ let ee = A.clientWidth;
2278
+ if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / Ce), console.log("elementsToShow", this.elementsToShow), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, console.log("elementsToShow new", this.elementsToShow), ne.length > 1) {
2279
+ this.dotsNum = ne.length / this.elementsToShow, console.log("dotsNum", this.dotsNum);
2280
+ let $e = this.elementsToShow * Ce;
2279
2281
  console.log("navigation_no_between_slides", $e), this.dotsNavigation = [];
2280
2282
  for (let at = 0; at < this.dotsNum; at++)
2281
2283
  this.dotsNavigation.push($e * at);
2284
+ console.log("dotsNavigation", this.dotsNavigation);
2282
2285
  }
2283
2286
  G.style.transition = "margin", G.style.transitionDuration = "1s";
2284
2287
  for (let $e = 0; $e < ne.length; $e++)
@@ -2289,7 +2292,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
2289
2292
  this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
2290
2293
  }
2291
2294
  }
2292
- }, km = (A) => (rq("data-v-49160d8f"), A = A(), aq(), A), DJ = ["id"], OJ = {
2295
+ }, km = (A) => (rq("data-v-08865524"), A = A(), aq(), A), DJ = ["id"], OJ = {
2293
2296
  key: 0,
2294
2297
  class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
2295
2298
  }, RJ = { class: "w-full" }, $J = {
@@ -2591,7 +2594,7 @@ function $Q(A, re, G, _e, ne, Z) {
2591
2594
  ], 10, DJ)
2592
2595
  ]);
2593
2596
  }
2594
- const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-49160d8f"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2597
+ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-08865524"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
2595
2598
  /* @__PURE__ */ R("svg", {
2596
2599
  xmlns: "http://www.w3.org/2000/svg",
2597
2600
  fill: "currentColor",