golden-logic-ui 1.2.21 → 1.2.23
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/ConfirmationModal-i3ekouBw.js +75 -0
- package/dist/DatatableAction-D-Qdjj2W.js +113 -0
- package/dist/DatatableCommand-BoU5cYJg.js +18 -0
- package/dist/DatatableConvertCronToHuman-Coiaa-wa.js +82 -0
- package/dist/DatatableDate-DtEktp_Z.js +20 -0
- package/dist/DatatableDateTime-PEXV-bY7.js +22 -0
- package/dist/DatatableDeleteAction-BQ6MyhV6.js +104 -0
- package/dist/DatatableDeleteEditAction-Cx324OUt.js +125 -0
- package/dist/DatatableFileDownload-BxP2_lpQ.js +87 -0
- package/dist/DatatableFiles-BROH3vBH.js +80 -0
- package/dist/DatatableHtml-ChZzeapg.js +17 -0
- package/dist/DatatableList-BSVI22pu.js +35 -0
- package/dist/DatatableListNested-BWEqWRCc.js +37 -0
- package/dist/DatatablePicture-DaWD4uIX.js +26 -0
- package/dist/DatatablePictures-xxeghKp3.js +39 -0
- package/dist/DatatableStatus-Dx60sa7s.js +31 -0
- package/dist/DatatableStatusGeneral-UOub65UY.js +59 -0
- package/dist/DatatableStatusServer-Dcq11U5_.js +37 -0
- package/dist/DatatableStatusSpecficColor-BYUuGgEb.js +64 -0
- package/dist/DatatableStatusTextLabelGeneral-J4MytOnh.js +83 -0
- package/dist/DeleteConfirmationModal-CQ07_qiL.js +96 -0
- package/dist/DynamicConfirmation-rEhA3jCe.js +115 -0
- package/dist/FilesUpload-JKyOru3A.js +300 -0
- package/dist/GLButton-ByIDh6vq.js +118 -0
- package/dist/GLDataTable-Bixwkdr4.js +278 -0
- package/dist/GLDataTableServerSide-Ra5AqDGB.js +16336 -0
- package/dist/GLTextarea-j7XXWI7A.js +110 -0
- package/dist/GlAccordion-BIAfvctc.js +91 -0
- package/dist/GlAccordionsWrapper-DsdunDzi.js +31 -0
- package/dist/GlCard-BVXmTv6q.js +37 -0
- package/dist/GlCodeCopy-C068yRcM.js +86 -0
- package/dist/GlCodeMirror-Ow8TJYSN.js +161 -0
- package/dist/GlCodeMirrorTranslate-CFmoM7d6.js +2068 -0
- package/dist/GlDataTableComponent-CSsMcDcX.js +366 -0
- package/dist/GlDataTableServerSideGroupBy-cG4BhXOA.js +260 -0
- package/dist/GlDateRangePicker-BWAEfZTB.js +124 -0
- package/dist/GlDropdown-B_zVkmxO.js +414 -0
- package/dist/GlLanguageSelector-DmWuIxzK.js +68 -0
- package/dist/GlModal-AMtSRssu.js +123 -0
- package/dist/GlModalShow-BzbcLu51.js +120 -0
- package/dist/GlModalWithoutOverflow-vR50Ulka.js +127 -0
- package/dist/GlMultiItemSlide-CxsiUcTr.js +409 -0
- package/dist/GlMultiItemSlideDynamic-BhdHrj3L.js +434 -0
- package/dist/GlMultiSelectDropdown-OaAC5ouZ.js +383 -0
- package/dist/GlTab-CUbU0yit.js +22 -0
- package/dist/GlTabShow-BBU3VU7O.js +21 -0
- package/dist/GlTabsWrapper-Dw7NAgDw.js +54 -0
- package/dist/GlTextCopy-CGgnIqPh.js +93 -0
- package/dist/GlTextInput-CoL8oZSw.js +126 -0
- package/dist/GlTextInputFile-BE2maeRQ.js +95 -0
- package/dist/GlTextInputWithText-C6fzOoYl.js +116 -0
- package/dist/GlTextTranslate-C3DzCK6k.js +125 -0
- package/dist/GlTextareaTranslate-DyU86Wf_.js +126 -0
- package/dist/GlTinymce-CjsbThKo.js +118 -0
- package/dist/GlTinymceTranslate-vp6hYqDK.js +188 -0
- package/dist/GlToastList-eeZ0hUJQ.js +126 -0
- package/dist/GlToggleBox-Dym29cx5.js +120 -0
- package/dist/GlToggleBoxTrueFalse-CjvcXXTw.js +112 -0
- package/dist/StatusConnectingConnectedDisconnected-CK5YzyQH.js +63 -0
- package/dist/StatusRunningSuccessFailed-CxK20462.js +41 -0
- package/dist/TailwindPagination-Dz89aS_l.js +276 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/golden-logic-ui.css +1 -1
- package/dist/golden-logic-ui.js +217 -94352
- package/dist/golden-logic-ui.umd.cjs +94 -94
- package/dist/index-B4V16SEr.js +15668 -0
- package/dist/plugin-D6yBFU6i.js +53226 -0
- package/package.json +1 -1
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as s, createElementVNode as r, normalizeClass as w, createCommentVNode as d, renderSlot as v, withModifiers as h, Fragment as c, renderList as m } from "vue";
|
|
2
|
+
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
+
const k = {
|
|
4
|
+
props: {
|
|
5
|
+
elements_to_show_prop: {
|
|
6
|
+
type: Number,
|
|
7
|
+
default: 3
|
|
8
|
+
},
|
|
9
|
+
hide_arrow: {
|
|
10
|
+
type: Boolean,
|
|
11
|
+
default: !1
|
|
12
|
+
},
|
|
13
|
+
disable_touch: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
},
|
|
17
|
+
direction_property: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: "ltr"
|
|
20
|
+
},
|
|
21
|
+
slider_arrows_indicators_position: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "arrows_outside_slider"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
mutationObserver: null,
|
|
29
|
+
elementsToShow: this.elements_to_show_prop,
|
|
30
|
+
dotsNum: 0,
|
|
31
|
+
currentDot: 1,
|
|
32
|
+
dotsNavigation: [],
|
|
33
|
+
touchStartX: 0,
|
|
34
|
+
isMoving: !1,
|
|
35
|
+
initialX: 0,
|
|
36
|
+
initialY: 0,
|
|
37
|
+
Random_string: this.generateRandomString(6)
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
mounted() {
|
|
41
|
+
this.$nextTick(() => {
|
|
42
|
+
this.observeSlotChanges(), this.initSlider(), this.disable_touch || this.movingActions(), window.addEventListener("resize", this.resizeHandler);
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
beforeDestroy() {
|
|
46
|
+
window.removeEventListener("resize", this.resizeHandler);
|
|
47
|
+
},
|
|
48
|
+
beforeUnmount() {
|
|
49
|
+
this.mutationObserver && this.mutationObserver.disconnect();
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
observeSlotChanges() {
|
|
53
|
+
const i = this.$refs.slotContainer;
|
|
54
|
+
i && (this.mutationObserver = new MutationObserver((t) => {
|
|
55
|
+
t.forEach((e) => {
|
|
56
|
+
this.initSlider();
|
|
57
|
+
});
|
|
58
|
+
}), this.mutationObserver.observe(i, {
|
|
59
|
+
childList: !0,
|
|
60
|
+
subtree: !0
|
|
61
|
+
}));
|
|
62
|
+
},
|
|
63
|
+
resizeHandler() {
|
|
64
|
+
this.initSlider();
|
|
65
|
+
},
|
|
66
|
+
sliderIndicatorsAction() {
|
|
67
|
+
let i = "";
|
|
68
|
+
return this.direction_property === "rtl" && (i += " space-x-reverse "), this.slider_arrows_indicators_position === "arrows_indicators_inside_slider" && (i += " slider_indicators "), i;
|
|
69
|
+
},
|
|
70
|
+
sliderContainerAction() {
|
|
71
|
+
let i = "";
|
|
72
|
+
return !this.hide_arrow && this.slider_arrows_indicators_position === "arrows_outside_slider" ? i += " w-12/12 xl:w-8/12 xxl:w-8/12 md:w-8/12 sm:w-8/12" : this.slider_arrows_indicators_position !== "arrows_outside_slider" && (i += " w-12/12 "), i;
|
|
73
|
+
},
|
|
74
|
+
generateRandomString(i) {
|
|
75
|
+
let t = "";
|
|
76
|
+
const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", a = e.length;
|
|
77
|
+
for (let n = 0; n < i; n++)
|
|
78
|
+
t += e.charAt(Math.floor(Math.random() * a));
|
|
79
|
+
return t;
|
|
80
|
+
},
|
|
81
|
+
movingActions() {
|
|
82
|
+
},
|
|
83
|
+
next() {
|
|
84
|
+
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
85
|
+
},
|
|
86
|
+
prev() {
|
|
87
|
+
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
88
|
+
},
|
|
89
|
+
initSlider() {
|
|
90
|
+
let i = document.getElementById("sliderContainer_" + this.Random_string), t = document.getElementById("mainSliderContainer_" + this.Random_string), e = document.getElementById("slider_" + this.Random_string), a = Array.from(e.querySelectorAll("li")).filter((l) => l.parentNode === e), n = i.clientWidth, u = n / this.elementsToShow;
|
|
91
|
+
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, u = this.hide_arrow ? t.clientWidth : n) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, u = this.hide_arrow ? t.clientWidth : n), a.length > 1) {
|
|
92
|
+
this.dotsNum = this.elementsToShow === 1 ? a.length : a.length - this.elementsToShow + 1;
|
|
93
|
+
let l = this.elementsToShow === 1 ? u * a.length / this.dotsNum : u * (a.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
94
|
+
this.dotsNavigation = Array.from({ length: this.dotsNum }, (_, f) => l * f);
|
|
95
|
+
}
|
|
96
|
+
e.style.width = `${a.length * u}px`, e.style.transition = "margin", e.style.transitionDuration = "1s", a.forEach((l) => l.style.width = `${u}px`);
|
|
97
|
+
},
|
|
98
|
+
setDot(i) {
|
|
99
|
+
let t = document.getElementById("slider_" + this.Random_string);
|
|
100
|
+
this.direction_property === "rtl" ? t.style.marginRight = -this.dotsNavigation[i - 1] + "px" : t.style.marginLeft = -this.dotsNavigation[i - 1] + "px", this.currentDot = i;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, x = ["id"], y = {
|
|
104
|
+
key: 0,
|
|
105
|
+
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
106
|
+
}, p = { class: "w-full" }, b = {
|
|
107
|
+
key: 0,
|
|
108
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
109
|
+
class: "w-6 h-6",
|
|
110
|
+
fill: "none",
|
|
111
|
+
viewBox: "0 0 24 24",
|
|
112
|
+
stroke: "currentColor",
|
|
113
|
+
"stroke-width": "2"
|
|
114
|
+
}, C = {
|
|
115
|
+
key: 1,
|
|
116
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
117
|
+
class: "w-6 h-6",
|
|
118
|
+
fill: "none",
|
|
119
|
+
viewBox: "0 0 24 24",
|
|
120
|
+
stroke: "currentColor",
|
|
121
|
+
"stroke-width": "2"
|
|
122
|
+
}, S = ["id"], N = ["id"], B = { class: "w-full" }, M = {
|
|
123
|
+
key: 0,
|
|
124
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
125
|
+
class: "w-6 h-6",
|
|
126
|
+
fill: "none",
|
|
127
|
+
viewBox: "0 0 24 24",
|
|
128
|
+
stroke: "currentColor",
|
|
129
|
+
"stroke-width": "2"
|
|
130
|
+
}, j = {
|
|
131
|
+
key: 1,
|
|
132
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
133
|
+
class: "w-6 h-6",
|
|
134
|
+
fill: "none",
|
|
135
|
+
viewBox: "0 0 24 24",
|
|
136
|
+
stroke: "currentColor",
|
|
137
|
+
"stroke-width": "2"
|
|
138
|
+
}, D = { class: "w-full" }, A = {
|
|
139
|
+
key: 0,
|
|
140
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
141
|
+
class: "w-6 h-6",
|
|
142
|
+
fill: "none",
|
|
143
|
+
viewBox: "0 0 24 24",
|
|
144
|
+
stroke: "currentColor",
|
|
145
|
+
"stroke-width": "2"
|
|
146
|
+
}, R = {
|
|
147
|
+
key: 1,
|
|
148
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
149
|
+
class: "w-6 h-6",
|
|
150
|
+
fill: "none",
|
|
151
|
+
viewBox: "0 0 24 24",
|
|
152
|
+
stroke: "currentColor",
|
|
153
|
+
"stroke-width": "2"
|
|
154
|
+
}, T = ["onClick"], E = {
|
|
155
|
+
key: 1,
|
|
156
|
+
class: "flex justify-between pl-5 pr-5"
|
|
157
|
+
}, H = ["onClick"], I = {
|
|
158
|
+
key: 0,
|
|
159
|
+
class: "flex"
|
|
160
|
+
}, z = { class: "flex items-center" }, L = { class: "w-full" }, O = {
|
|
161
|
+
key: 0,
|
|
162
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
163
|
+
class: "w-6 h-6",
|
|
164
|
+
fill: "none",
|
|
165
|
+
viewBox: "0 0 24 24",
|
|
166
|
+
stroke: "currentColor",
|
|
167
|
+
"stroke-width": "2"
|
|
168
|
+
}, W = {
|
|
169
|
+
key: 1,
|
|
170
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
171
|
+
class: "w-6 h-6",
|
|
172
|
+
fill: "none",
|
|
173
|
+
viewBox: "0 0 24 24",
|
|
174
|
+
stroke: "currentColor",
|
|
175
|
+
"stroke-width": "2"
|
|
176
|
+
}, V = { class: "flex items-center" }, X = { class: "w-full" }, q = {
|
|
177
|
+
key: 0,
|
|
178
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
179
|
+
class: "w-6 h-6",
|
|
180
|
+
fill: "none",
|
|
181
|
+
viewBox: "0 0 24 24",
|
|
182
|
+
stroke: "currentColor",
|
|
183
|
+
"stroke-width": "2"
|
|
184
|
+
}, F = {
|
|
185
|
+
key: 1,
|
|
186
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
187
|
+
class: "w-6 h-6",
|
|
188
|
+
fill: "none",
|
|
189
|
+
viewBox: "0 0 24 24",
|
|
190
|
+
stroke: "currentColor",
|
|
191
|
+
"stroke-width": "2"
|
|
192
|
+
}, G = {
|
|
193
|
+
key: 1,
|
|
194
|
+
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
195
|
+
}, U = { class: "w-full" }, Y = {
|
|
196
|
+
key: 0,
|
|
197
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
198
|
+
class: "w-6 h-6",
|
|
199
|
+
fill: "none",
|
|
200
|
+
viewBox: "0 0 24 24",
|
|
201
|
+
stroke: "currentColor",
|
|
202
|
+
"stroke-width": "2"
|
|
203
|
+
}, J = {
|
|
204
|
+
key: 1,
|
|
205
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
206
|
+
class: "w-6 h-6",
|
|
207
|
+
fill: "none",
|
|
208
|
+
viewBox: "0 0 24 24",
|
|
209
|
+
stroke: "currentColor",
|
|
210
|
+
"stroke-width": "2"
|
|
211
|
+
};
|
|
212
|
+
function K(i, t, e, a, n, u) {
|
|
213
|
+
return s(), o("div", null, [
|
|
214
|
+
r("div", {
|
|
215
|
+
class: w(["", !e.hide_arrow && e.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
216
|
+
id: "mainSliderContainer_" + n.Random_string
|
|
217
|
+
}, [
|
|
218
|
+
n.dotsNum > 0 && !e.hide_arrow && e.slider_arrows_indicators_position == "arrows_outside_slider" ? (s(), o("div", y, [
|
|
219
|
+
r("div", p, [
|
|
220
|
+
r("button", {
|
|
221
|
+
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
222
|
+
onClick: t[0] || (t[0] = (l) => u.prev())
|
|
223
|
+
}, [
|
|
224
|
+
e.direction_property == "ltr" ? (s(), o("svg", b, t[6] || (t[6] = [
|
|
225
|
+
r("path", {
|
|
226
|
+
"stroke-linecap": "round",
|
|
227
|
+
"stroke-linejoin": "round",
|
|
228
|
+
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
229
|
+
}, null, -1)
|
|
230
|
+
]))) : d("", !0),
|
|
231
|
+
e.direction_property == "rtl" ? (s(), o("svg", C, t[7] || (t[7] = [
|
|
232
|
+
r("path", {
|
|
233
|
+
"stroke-linecap": "round",
|
|
234
|
+
"stroke-linejoin": "round",
|
|
235
|
+
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
236
|
+
}, null, -1)
|
|
237
|
+
]))) : d("", !0)
|
|
238
|
+
])
|
|
239
|
+
])
|
|
240
|
+
])) : d("", !0),
|
|
241
|
+
r("div", {
|
|
242
|
+
ref: "slotContainer",
|
|
243
|
+
class: w(["overflow-hidden flex flex-col gap-3", u.sliderContainerAction()]),
|
|
244
|
+
id: "sliderContainer_" + n.Random_string
|
|
245
|
+
}, [
|
|
246
|
+
r("ul", {
|
|
247
|
+
class: w(["flex", e.elements_to_show_prop == 1 ? "" : "gap-7"]),
|
|
248
|
+
id: "slider_" + n.Random_string
|
|
249
|
+
}, [
|
|
250
|
+
n.dotsNum > 0 && !e.hide_arrow && e.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (s(), o("div", {
|
|
251
|
+
key: 0,
|
|
252
|
+
class: w(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", e.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
253
|
+
}, [
|
|
254
|
+
r("div", B, [
|
|
255
|
+
r("button", {
|
|
256
|
+
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
257
|
+
onClick: t[1] || (t[1] = h((l) => u.prev(), ["stop"]))
|
|
258
|
+
}, [
|
|
259
|
+
e.direction_property == "ltr" ? (s(), o("svg", M, t[8] || (t[8] = [
|
|
260
|
+
r("path", {
|
|
261
|
+
"stroke-linecap": "round",
|
|
262
|
+
"stroke-linejoin": "round",
|
|
263
|
+
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
264
|
+
}, null, -1)
|
|
265
|
+
]))) : d("", !0),
|
|
266
|
+
e.direction_property == "rtl" ? (s(), o("svg", j, t[9] || (t[9] = [
|
|
267
|
+
r("path", {
|
|
268
|
+
"stroke-linecap": "round",
|
|
269
|
+
"stroke-linejoin": "round",
|
|
270
|
+
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
271
|
+
}, null, -1)
|
|
272
|
+
]))) : d("", !0)
|
|
273
|
+
])
|
|
274
|
+
])
|
|
275
|
+
], 2)) : d("", !0),
|
|
276
|
+
v(i.$slots, "default", {}, void 0, !0),
|
|
277
|
+
n.dotsNum > 0 && !e.hide_arrow && e.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (s(), o("div", {
|
|
278
|
+
key: 1,
|
|
279
|
+
class: w(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", e.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
280
|
+
}, [
|
|
281
|
+
r("div", D, [
|
|
282
|
+
r("button", {
|
|
283
|
+
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
284
|
+
onClick: t[2] || (t[2] = h((l) => u.next(), ["stop"]))
|
|
285
|
+
}, [
|
|
286
|
+
e.direction_property == "ltr" ? (s(), o("svg", A, t[10] || (t[10] = [
|
|
287
|
+
r("path", {
|
|
288
|
+
"stroke-linecap": "round",
|
|
289
|
+
"stroke-linejoin": "round",
|
|
290
|
+
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
291
|
+
}, null, -1)
|
|
292
|
+
]))) : d("", !0),
|
|
293
|
+
e.direction_property == "rtl" ? (s(), o("svg", R, t[11] || (t[11] = [
|
|
294
|
+
r("path", {
|
|
295
|
+
"stroke-linecap": "round",
|
|
296
|
+
"stroke-linejoin": "round",
|
|
297
|
+
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
298
|
+
}, null, -1)
|
|
299
|
+
]))) : d("", !0)
|
|
300
|
+
])
|
|
301
|
+
])
|
|
302
|
+
], 2)) : d("", !0)
|
|
303
|
+
], 10, N),
|
|
304
|
+
e.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (s(), o("div", {
|
|
305
|
+
key: 0,
|
|
306
|
+
class: w(["flex justify-center mb-1 space-x-1", u.sliderIndicatorsAction()])
|
|
307
|
+
}, [
|
|
308
|
+
(s(!0), o(c, null, m(n.dotsNum, (l) => (s(), o("button", {
|
|
309
|
+
role: "button",
|
|
310
|
+
class: w(["gl-dot", { active: n.currentDot == l }]),
|
|
311
|
+
key: l,
|
|
312
|
+
onClick: (_) => u.setDot(l)
|
|
313
|
+
}, t[12] || (t[12] = [
|
|
314
|
+
r("span", null, null, -1)
|
|
315
|
+
]), 10, T))), 128))
|
|
316
|
+
], 2)) : d("", !0),
|
|
317
|
+
e.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (s(), o("div", E, [
|
|
318
|
+
r("div", {
|
|
319
|
+
class: w(["flex justify-center mb-1 space-x-1", u.sliderIndicatorsAction()])
|
|
320
|
+
}, [
|
|
321
|
+
(s(!0), o(c, null, m(n.dotsNum, (l) => (s(), o("button", {
|
|
322
|
+
role: "button",
|
|
323
|
+
class: w(["gl-dot", { active: n.currentDot == l }]),
|
|
324
|
+
key: l,
|
|
325
|
+
onClick: (_) => u.setDot(l)
|
|
326
|
+
}, t[13] || (t[13] = [
|
|
327
|
+
r("span", null, null, -1)
|
|
328
|
+
]), 10, H))), 128))
|
|
329
|
+
], 2),
|
|
330
|
+
n.dotsNum > 0 ? (s(), o("div", I, [
|
|
331
|
+
r("div", z, [
|
|
332
|
+
r("div", L, [
|
|
333
|
+
r("button", {
|
|
334
|
+
class: w(["p-3 rounded-full arrow_button_styles", e.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
335
|
+
onClick: t[3] || (t[3] = (l) => u.prev())
|
|
336
|
+
}, [
|
|
337
|
+
e.direction_property == "ltr" ? (s(), o("svg", O, t[14] || (t[14] = [
|
|
338
|
+
r("path", {
|
|
339
|
+
"stroke-linecap": "round",
|
|
340
|
+
"stroke-linejoin": "round",
|
|
341
|
+
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
342
|
+
}, null, -1)
|
|
343
|
+
]))) : d("", !0),
|
|
344
|
+
e.direction_property == "rtl" ? (s(), o("svg", W, t[15] || (t[15] = [
|
|
345
|
+
r("path", {
|
|
346
|
+
"stroke-linecap": "round",
|
|
347
|
+
"stroke-linejoin": "round",
|
|
348
|
+
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
349
|
+
}, null, -1)
|
|
350
|
+
]))) : d("", !0)
|
|
351
|
+
], 2)
|
|
352
|
+
])
|
|
353
|
+
]),
|
|
354
|
+
r("div", V, [
|
|
355
|
+
r("div", X, [
|
|
356
|
+
r("button", {
|
|
357
|
+
class: "p-3 rounded-full arrow_button_styles",
|
|
358
|
+
onClick: t[4] || (t[4] = (l) => u.next())
|
|
359
|
+
}, [
|
|
360
|
+
e.direction_property == "ltr" ? (s(), o("svg", q, t[16] || (t[16] = [
|
|
361
|
+
r("path", {
|
|
362
|
+
"stroke-linecap": "round",
|
|
363
|
+
"stroke-linejoin": "round",
|
|
364
|
+
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
365
|
+
}, null, -1)
|
|
366
|
+
]))) : d("", !0),
|
|
367
|
+
e.direction_property == "rtl" ? (s(), o("svg", F, t[17] || (t[17] = [
|
|
368
|
+
r("path", {
|
|
369
|
+
"stroke-linecap": "round",
|
|
370
|
+
"stroke-linejoin": "round",
|
|
371
|
+
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
372
|
+
}, null, -1)
|
|
373
|
+
]))) : d("", !0)
|
|
374
|
+
])
|
|
375
|
+
])
|
|
376
|
+
])
|
|
377
|
+
])) : d("", !0)
|
|
378
|
+
])) : d("", !0)
|
|
379
|
+
], 10, S),
|
|
380
|
+
n.dotsNum > 0 && !e.hide_arrow && e.slider_arrows_indicators_position == "arrows_outside_slider" ? (s(), o("div", G, [
|
|
381
|
+
r("div", U, [
|
|
382
|
+
r("button", {
|
|
383
|
+
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
384
|
+
onClick: t[5] || (t[5] = (l) => u.next())
|
|
385
|
+
}, [
|
|
386
|
+
e.direction_property == "ltr" ? (s(), o("svg", Y, t[18] || (t[18] = [
|
|
387
|
+
r("path", {
|
|
388
|
+
"stroke-linecap": "round",
|
|
389
|
+
"stroke-linejoin": "round",
|
|
390
|
+
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
391
|
+
}, null, -1)
|
|
392
|
+
]))) : d("", !0),
|
|
393
|
+
e.direction_property == "rtl" ? (s(), o("svg", J, t[19] || (t[19] = [
|
|
394
|
+
r("path", {
|
|
395
|
+
"stroke-linecap": "round",
|
|
396
|
+
"stroke-linejoin": "round",
|
|
397
|
+
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
398
|
+
}, null, -1)
|
|
399
|
+
]))) : d("", !0)
|
|
400
|
+
])
|
|
401
|
+
])
|
|
402
|
+
])) : d("", !0)
|
|
403
|
+
], 10, x)
|
|
404
|
+
]);
|
|
405
|
+
}
|
|
406
|
+
const Z = /* @__PURE__ */ g(k, [["render", K], ["__scopeId", "data-v-8b2ed8ee"]]);
|
|
407
|
+
export {
|
|
408
|
+
Z as default
|
|
409
|
+
};
|