golden-logic-ui 1.0.427 → 1.0.428
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
|
@@ -1872,7 +1872,9 @@ const _le = /* @__PURE__ */ Kr(yX, [["render", xX]]), CX = {
|
|
|
1872
1872
|
initSlider() {
|
|
1873
1873
|
let D = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), Q = document.getElementById("slider_" + this.Random_string), ke = Q.querySelectorAll("li"), se = Array.from(ke).filter((ee) => ee.parentNode === Q);
|
|
1874
1874
|
console.log("cards length :", se.length);
|
|
1875
|
-
let j = D.clientWidth
|
|
1875
|
+
let j = D.clientWidth;
|
|
1876
|
+
console.log("sliderContainerWidth :", D.clientWidth), console.log("elementsToShow :", this.elementsToShow);
|
|
1877
|
+
let Ee = j / this.elementsToShow;
|
|
1876
1878
|
if (console.log("cardwidth :", Ee), this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ee = this.hide_arrow ? ie.clientWidth : j) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ee = this.hide_arrow ? ie.clientWidth : j), se.length > 1) {
|
|
1877
1879
|
this.dotsNum = this.elementsToShow == 1 ? se.length : se.length - this.elementsToShow + 1;
|
|
1878
1880
|
let ee = this.elementsToShow == 1 ? Ee * se.length / this.dotsNum : Ee * (se.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
@@ -1891,7 +1893,7 @@ const _le = /* @__PURE__ */ Kr(yX, [["render", xX]]), CX = {
|
|
|
1891
1893
|
this.direction_property == "rtl" ? ie.style.marginRight = -this.dotsNavigation[D - 1] + "px" : ie.style.marginLeft = -this.dotsNavigation[D - 1] + "px", this.currentDot = D;
|
|
1892
1894
|
}
|
|
1893
1895
|
}
|
|
1894
|
-
}, _m = (D) => (Mq("data-v-
|
|
1896
|
+
}, _m = (D) => (Mq("data-v-38caa188"), D = D(), Pq(), D), SX = ["id"], _X = {
|
|
1895
1897
|
key: 0,
|
|
1896
1898
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
1897
1899
|
}, kX = { class: "w-full" }, TX = {
|
|
@@ -2193,7 +2195,7 @@ function TJ(D, ie, Q, ke, se, j) {
|
|
|
2193
2195
|
], 10, SX)
|
|
2194
2196
|
]);
|
|
2195
2197
|
}
|
|
2196
|
-
const kle = /* @__PURE__ */ Kr(CX, [["render", TJ], ["__scopeId", "data-v-
|
|
2198
|
+
const kle = /* @__PURE__ */ Kr(CX, [["render", TJ], ["__scopeId", "data-v-38caa188"]]), EJ = { 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" }, AJ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, DJ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, OJ = /* @__PURE__ */ $("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2197
2199
|
/* @__PURE__ */ $("svg", {
|
|
2198
2200
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2199
2201
|
fill: "currentColor",
|