golden-logic-ui 1.0.435 → 1.0.436
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
|
@@ -2273,7 +2273,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2273
2273
|
},
|
|
2274
2274
|
initSlider() {
|
|
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, ee = A.clientWidth;
|
|
2276
|
-
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee / Ce), ne.length > 1) {
|
|
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
2277
|
this.dotsNum = this.elementsToShow == 1 ? ne.length : ne.length - this.elementsToShow + 1;
|
|
2278
2278
|
let $e = this.elementsToShow == 1 ? Ce * ne.length / this.dotsNum : Ce * (ne.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
2279
2279
|
this.dotsNavigation = [];
|
|
@@ -2289,7 +2289,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2289
2289
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2290
2290
|
}
|
|
2291
2291
|
}
|
|
2292
|
-
}, km = (A) => (rq("data-v-
|
|
2292
|
+
}, km = (A) => (rq("data-v-bac20e28"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2293
2293
|
key: 0,
|
|
2294
2294
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2295
2295
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2591,7 +2591,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2591
2591
|
], 10, DJ)
|
|
2592
2592
|
]);
|
|
2593
2593
|
}
|
|
2594
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2594
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bac20e28"]]), 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
2595
|
/* @__PURE__ */ R("svg", {
|
|
2596
2596
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2597
2597
|
fill: "currentColor",
|