golden-logic-ui 1.0.442 → 1.0.444
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,8 +2275,8 @@ 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), Ce = ne[0].clientWidth + 28;
|
|
2276
2276
|
console.log("cardwidth", Ce);
|
|
2277
2277
|
let ee = A.clientWidth;
|
|
2278
|
-
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / Ce), console.log("elementsToShow", this.elementsToShow),
|
|
2279
|
-
this.dotsNum = Math.
|
|
2278
|
+
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / Ce), console.log("elementsToShow", this.elementsToShow), console.log("elementsToShow new", this.elementsToShow), ne.length > 1) {
|
|
2279
|
+
this.dotsNum = Math.ceil(ne.length / this.elementsToShow), console.log("dotsNum", this.dotsNum);
|
|
2280
2280
|
let $e = this.elementsToShow * Ce;
|
|
2281
2281
|
console.log("navigation_no_between_slides", $e), this.dotsNavigation = [];
|
|
2282
2282
|
for (let at = 0; at < this.dotsNum; at++)
|
|
@@ -2292,7 +2292,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2292
2292
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2293
2293
|
}
|
|
2294
2294
|
}
|
|
2295
|
-
}, km = (A) => (rq("data-v-
|
|
2295
|
+
}, km = (A) => (rq("data-v-f08a57e1"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2296
2296
|
key: 0,
|
|
2297
2297
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2298
2298
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2594,7 +2594,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2594
2594
|
], 10, DJ)
|
|
2595
2595
|
]);
|
|
2596
2596
|
}
|
|
2597
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2597
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-f08a57e1"]]), 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
2598
|
/* @__PURE__ */ R("svg", {
|
|
2599
2599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2600
2600
|
fill: "currentColor",
|