golden-logic-ui 1.0.428 → 1.0.430
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
|
@@ -1870,10 +1870,11 @@ const _le = /* @__PURE__ */ Kr(yX, [["render", xX]]), CX = {
|
|
|
1870
1870
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1871
1871
|
},
|
|
1872
1872
|
initSlider() {
|
|
1873
|
+
console.log("sliderContainer_ref", this.$refs.sliderContainer.clientWidth);
|
|
1873
1874
|
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
1875
|
console.log("cards length :", se.length);
|
|
1875
1876
|
let j = D.clientWidth;
|
|
1876
|
-
console.log("sliderContainerWidth :", D.clientWidth), console.log("elementsToShow :", this.elementsToShow);
|
|
1877
|
+
console.log("sliderContainer :", D), console.log("sliderContainerWidth :", D.clientWidth), console.log("elementsToShow :", this.elementsToShow);
|
|
1877
1878
|
let Ee = j / this.elementsToShow;
|
|
1878
1879
|
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) {
|
|
1879
1880
|
this.dotsNum = this.elementsToShow == 1 ? se.length : se.length - this.elementsToShow + 1;
|
|
@@ -1893,7 +1894,7 @@ const _le = /* @__PURE__ */ Kr(yX, [["render", xX]]), CX = {
|
|
|
1893
1894
|
this.direction_property == "rtl" ? ie.style.marginRight = -this.dotsNavigation[D - 1] + "px" : ie.style.marginLeft = -this.dotsNavigation[D - 1] + "px", this.currentDot = D;
|
|
1894
1895
|
}
|
|
1895
1896
|
}
|
|
1896
|
-
}, _m = (D) => (Mq("data-v-
|
|
1897
|
+
}, _m = (D) => (Mq("data-v-4368be1c"), D = D(), Pq(), D), SX = ["id"], _X = {
|
|
1897
1898
|
key: 0,
|
|
1898
1899
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
1899
1900
|
}, kX = { class: "w-full" }, TX = {
|
|
@@ -2096,6 +2097,7 @@ function TJ(D, ie, Q, ke, se, j) {
|
|
|
2096
2097
|
])
|
|
2097
2098
|
])) : at("", !0),
|
|
2098
2099
|
$("div", {
|
|
2100
|
+
ref: "sliderContainer",
|
|
2099
2101
|
class: nn(["overflow-hidden flex flex-col gap-3", j.sliderContainerAction()]),
|
|
2100
2102
|
id: "sliderContainer_" + D.Random_string
|
|
2101
2103
|
}, [
|
|
@@ -2195,7 +2197,7 @@ function TJ(D, ie, Q, ke, se, j) {
|
|
|
2195
2197
|
], 10, SX)
|
|
2196
2198
|
]);
|
|
2197
2199
|
}
|
|
2198
|
-
const kle = /* @__PURE__ */ Kr(CX, [["render", TJ], ["__scopeId", "data-v-
|
|
2200
|
+
const kle = /* @__PURE__ */ Kr(CX, [["render", TJ], ["__scopeId", "data-v-4368be1c"]]), 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" }, [
|
|
2199
2201
|
/* @__PURE__ */ $("svg", {
|
|
2200
2202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2201
2203
|
fill: "currentColor",
|