golden-logic-ui 1.0.447 → 1.0.449
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.
package/dist/golden-logic-ui.js
CHANGED
|
@@ -2275,7 +2275,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2275
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), xe = ne[0].clientWidth + 28;
|
|
2276
2276
|
console.log("cardwidth", xe);
|
|
2277
2277
|
let Q = A.clientWidth;
|
|
2278
|
-
if (console.log("sliderContainerWidth ", Q), this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth / xe : Q / xe),
|
|
2278
|
+
if (console.log("sliderContainerWidth ", Q), this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth / xe : Q / xe), console.log("elementsToShow", this.elementsToShow), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, console.log("elementsToShow new", this.elementsToShow), xe = (this.hide_arrow ? re.clientWidth : Q) / this.elementsToShow, console.log("cardwidth new last ", xe), ne.length > 1) {
|
|
2279
2279
|
this.dotsNum = Math.ceil(ne.length / this.elementsToShow), console.log("dotsNum", this.dotsNum);
|
|
2280
2280
|
let $e = this.elementsToShow * xe;
|
|
2281
2281
|
console.log("navigation_no_between_slides", $e), this.dotsNavigation = [];
|
|
@@ -2284,15 +2284,17 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2284
2284
|
console.log("dotsNavigation", this.dotsNavigation);
|
|
2285
2285
|
}
|
|
2286
2286
|
G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
2287
|
-
for (let $e = 0; $e < ne.length; $e++)
|
|
2288
|
-
;
|
|
2287
|
+
for (let $e = 0; $e < ne.length; $e++) {
|
|
2288
|
+
const at = ne[$e];
|
|
2289
|
+
at.style.width = xe + "px";
|
|
2290
|
+
}
|
|
2289
2291
|
},
|
|
2290
2292
|
setDot(A) {
|
|
2291
2293
|
let re = document.getElementById("slider_" + this.Random_string);
|
|
2292
2294
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2293
2295
|
}
|
|
2294
2296
|
}
|
|
2295
|
-
}, km = (A) => (rq("data-v-
|
|
2297
|
+
}, km = (A) => (rq("data-v-771dec86"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2296
2298
|
key: 0,
|
|
2297
2299
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2298
2300
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2594,7 +2596,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2594
2596
|
], 10, DJ)
|
|
2595
2597
|
]);
|
|
2596
2598
|
}
|
|
2597
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2599
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-771dec86"]]), 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" }, [
|
|
2598
2600
|
/* @__PURE__ */ R("svg", {
|
|
2599
2601
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2600
2602
|
fill: "currentColor",
|