@topvisor/ui 1.0.12-jquery → 1.0.13
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/.chunks/datepicker-DOmAO7Nq.es.js +44 -0
- package/.chunks/datepicker-DOmAO7Nq.es.js.map +1 -0
- package/.chunks/datepicker-DX0qKxI_.amd.js +2 -0
- package/.chunks/datepicker-DX0qKxI_.amd.js.map +1 -0
- package/.chunks/{forms-DHMogHmw.amd.js → forms-Dg1N8Jv3.amd.js} +3 -3
- package/.chunks/{forms-DHMogHmw.amd.js.map → forms-Dg1N8Jv3.amd.js.map} +1 -1
- package/.chunks/{forms-CIeG_5LP.es.js → forms-FHMqYVvM.es.js} +25 -25
- package/.chunks/{forms-CIeG_5LP.es.js.map → forms-FHMqYVvM.es.js.map} +1 -1
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Gofkt4lj.es.js → listItem.vue_vue_type_script_setup_true_lang-CuWOLCGe.es.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Gofkt4lj.es.js.map → listItem.vue_vue_type_script_setup_true_lang-CuWOLCGe.es.js.map} +1 -1
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-DQXATE8-.amd.js → listItem.vue_vue_type_script_setup_true_lang-tzOQcPs_.amd.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-DQXATE8-.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-tzOQcPs_.amd.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-uGV-A-kW.es.js → menu.vue_vue_type_style_index_0_lang-BGdS1bYl.es.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-uGV-A-kW.es.js.map → menu.vue_vue_type_style_index_0_lang-BGdS1bYl.es.js.map} +1 -1
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-CeoVr4RC.amd.js → menu.vue_vue_type_style_index_0_lang-C_ND48ou.amd.js} +2 -2
- package/.chunks/{menu.vue_vue_type_style_index_0_lang-CeoVr4RC.amd.js.map → menu.vue_vue_type_style_index_0_lang-C_ND48ou.amd.js.map} +1 -1
- package/.chunks/{notice-BPG1753z.amd.js → notice-BixWe-8g.amd.js} +2 -2
- package/.chunks/notice-BixWe-8g.amd.js.map +1 -0
- package/.chunks/{notice-BA5zBdx2.es.js → notice-D07Kq3fU.es.js} +2 -2
- package/.chunks/notice-D07Kq3fU.es.js.map +1 -0
- package/.chunks/{popup-BnUijzts.es.js → popup-CBNL-Ixi.es.js} +46 -492
- package/.chunks/popup-CBNL-Ixi.es.js.map +1 -0
- package/.chunks/popup-CSNWKE4F.amd.js +2 -0
- package/.chunks/popup-CSNWKE4F.amd.js.map +1 -0
- package/.chunks/utils-B6497Bik.es.js +330 -0
- package/.chunks/utils-B6497Bik.es.js.map +1 -0
- package/.chunks/utils-BgirCapu.es.js +220 -0
- package/.chunks/utils-BgirCapu.es.js.map +1 -0
- package/.chunks/utils-Bxmh9YxC.amd.js +2 -0
- package/.chunks/utils-Bxmh9YxC.amd.js.map +1 -0
- package/.chunks/utils-DINqzHO_.amd.js +2 -0
- package/.chunks/utils-DINqzHO_.amd.js.map +1 -0
- package/assets/charts.css +1 -1
- package/assets/core.css +1 -1
- package/charts/charts.amd.js +1 -1
- package/charts/charts.amd.js.map +1 -1
- package/charts/charts.js +134 -81
- package/charts/charts.js.map +1 -1
- package/components/charts/charts.d.ts +2 -0
- package/components/charts/miniChart/miniChart.d.ts +8 -1
- package/components/charts/miniCharts/miniCharts.d.ts +20 -0
- package/components/charts/miniCharts/miniCharts.vue.d.ts +29 -0
- package/components/charts/miniCharts/stories/dummy.d.ts +6 -0
- package/components/dialog/dialog/composables/asyncDialogWorker.d.ts +51 -0
- package/components/dialog/dialog/composables/dialogWorker.d.ts +108 -0
- package/components/dialog/dialog/composables/types.d.ts +11 -0
- package/components/dialog/dialog/composables/utils.d.ts +21 -0
- package/components/dialog/dialog/dialog.vue.d.ts +27 -0
- package/components/dialog/dialog/dialogs/dialogs.vue.d.ts +10 -0
- package/components/dialog/dialog/page/page.vue.d.ts +18 -0
- package/components/dialog/dialog/page/types.d.ts +65 -0
- package/components/dialog/dialog/pageComponent/pageComponent.vue.d.ts +6 -0
- package/components/dialog/dialog/pageComponent/types.d.ts +18 -0
- package/components/dialog/dialog/stories/autoload.d.ts +2 -0
- package/components/dialog/dialog/stories/dialog_example/pages/utils.d.ts +7 -0
- package/components/dialog/dialog/types.d.ts +58 -0
- package/components/dialog/dialog.d.ts +6 -0
- package/components/dialog/lib/types.d.ts +16 -0
- package/components/dialog/lib/utils.d.ts +14 -0
- package/components/dialog/lib/utils.globalEvents.d.ts +8 -0
- package/components/dialog/lib/worker.d.ts +55 -0
- package/components/forms/select/select.d.ts +1 -1
- package/components/project/tagSelector/tagSelector.vue.d.ts +2 -2
- package/components/project/tagSelector/types.d.ts +2 -2
- package/components/tabsView/tabsView/tabsView.d.ts +1 -1
- package/core/app.amd.js +1 -1
- package/core/app.amd.js.map +1 -1
- package/core/app.d.ts +2 -0
- package/core/app.js +57 -50
- package/core/app.js.map +1 -1
- package/core/core/core.d.ts +1 -1
- package/core/core/options.d.ts +1 -1
- package/core/plugins/core.d.ts +12 -3
- package/dialog/dialog.amd.js +2 -0
- package/dialog/dialog.amd.js.map +1 -0
- package/dialog/dialog.d.ts +2 -0
- package/dialog/dialog.js +183 -0
- package/dialog/dialog.js.map +1 -0
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.js +54 -54
- package/jquery-ui.min.css +6 -0
- package/package.json +1 -1
- package/popup/popup.amd.js +1 -1
- package/popup/popup.js +2 -2
- package/popup/worker.amd.js +1 -1
- package/popup/worker.js +2 -2
- package/project/project.amd.js +1 -1
- package/project/project.js +3 -3
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.js +16 -16
- package/utils/date.amd.js +1 -1
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.js +1 -1
- package/utils/lodash.amd.js +1 -1
- package/utils/lodash.js +5 -5
- package/utils/price.amd.js +1 -1
- package/utils/price.js +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.js +1 -1
- package/.chunks/datepicker-DWXjh2hB.es.js +0 -290
- package/.chunks/datepicker-DWXjh2hB.es.js.map +0 -1
- package/.chunks/datepicker-NJ8JOvZG.amd.js +0 -248
- package/.chunks/datepicker-NJ8JOvZG.amd.js.map +0 -1
- package/.chunks/notice-BA5zBdx2.es.js.map +0 -1
- package/.chunks/notice-BPG1753z.amd.js.map +0 -1
- package/.chunks/popup-B-A8QzhE.amd.js +0 -448
- package/.chunks/popup-B-A8QzhE.amd.js.map +0 -1
- package/.chunks/popup-BnUijzts.es.js.map +0 -1
- package/components/core/dialog/types.d.ts +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as f,
|
|
2
|
-
import
|
|
1
|
+
import { C as f, c as P } from "./forms-FHMqYVvM.es.js";
|
|
2
|
+
import i from "../utils/dom.js";
|
|
3
3
|
import { TopPopupWorker as s } from "../popup/worker.js";
|
|
4
4
|
class x {
|
|
5
5
|
static componentName = "Top";
|
|
@@ -28,11 +28,11 @@ class x {
|
|
|
28
28
|
}
|
|
29
29
|
// получить инициированный компонент
|
|
30
30
|
static getComponent(t, p) {
|
|
31
|
-
return
|
|
31
|
+
return i.storage(t, "#" + p);
|
|
32
32
|
}
|
|
33
33
|
// устанвоить компонент
|
|
34
34
|
_setComponent(t) {
|
|
35
|
-
|
|
35
|
+
i.storage(t, "#" + this.componentName, this);
|
|
36
36
|
}
|
|
37
37
|
// функция подключения компонента
|
|
38
38
|
mount() {
|
|
@@ -40,7 +40,7 @@ class x {
|
|
|
40
40
|
}
|
|
41
41
|
// функция отключения компонента
|
|
42
42
|
unmount() {
|
|
43
|
-
|
|
43
|
+
i.storage(this.el, "#" + this.componentName, null), this.unmountEls.forEach((t) => {
|
|
44
44
|
t.remove();
|
|
45
45
|
}), this.unmountEls = [], this.unmountEvents.forEach((t) => {
|
|
46
46
|
t.el.removeEventListener(t.type, t.listener, t.options);
|
|
@@ -56,13 +56,13 @@ class x {
|
|
|
56
56
|
}
|
|
57
57
|
// указание новые события, которые должны будут удалиться после unmount
|
|
58
58
|
registerEventForUnmount(t, p, o, e) {
|
|
59
|
-
const
|
|
59
|
+
const n = {
|
|
60
60
|
el: t,
|
|
61
61
|
type: p,
|
|
62
62
|
listener: o,
|
|
63
63
|
options: e
|
|
64
64
|
};
|
|
65
|
-
this.unmountEvents.push(
|
|
65
|
+
this.unmountEvents.push(n);
|
|
66
66
|
}
|
|
67
67
|
// функция перенастройки уже подключенного компонента
|
|
68
68
|
reInit(t) {
|
|
@@ -106,8 +106,8 @@ class w {
|
|
|
106
106
|
if (!e || p.matches(".top-popup-noCloser"))
|
|
107
107
|
return;
|
|
108
108
|
if (p.getAttribute("href") === "." && t.preventDefault(), t.target.matches("[data-top-popup]")) {
|
|
109
|
-
const
|
|
110
|
-
|
|
109
|
+
const n = t.target.closest("ul"), r = t.target.closest("a, .a");
|
|
110
|
+
n && ((o = n.querySelector("a.top-active, .a.top-active")) == null || o.classList.remove("top-active")), r && r.classList.add("top-active");
|
|
111
111
|
return;
|
|
112
112
|
}
|
|
113
113
|
s.close(e);
|
|
@@ -121,7 +121,7 @@ class w {
|
|
|
121
121
|
* Глобальный обработчик нажатия кнопки на клавиатуре
|
|
122
122
|
*/
|
|
123
123
|
static onkeydown(t) {
|
|
124
|
-
var e,
|
|
124
|
+
var e, n;
|
|
125
125
|
if (!(t.target instanceof HTMLElement)) return;
|
|
126
126
|
const p = t.target.closest(".top-popup-wrapper");
|
|
127
127
|
if (!p)
|
|
@@ -133,19 +133,19 @@ class w {
|
|
|
133
133
|
break;
|
|
134
134
|
case "Enter":
|
|
135
135
|
if (!o) {
|
|
136
|
-
if (
|
|
136
|
+
if (i.querySelectorVisible(p, ".preloader"))
|
|
137
137
|
break;
|
|
138
|
-
const c =
|
|
138
|
+
const c = i.querySelectorVisible(p, ".top-popup_footer .go, .top-popup_footer [data-action]");
|
|
139
139
|
if (c instanceof HTMLElement) {
|
|
140
140
|
c.click();
|
|
141
141
|
break;
|
|
142
142
|
}
|
|
143
|
-
const m =
|
|
143
|
+
const m = i.querySelectorVisibleLast(p, ".top-popup_footer .top-button");
|
|
144
144
|
m instanceof HTMLElement && m.click();
|
|
145
145
|
break;
|
|
146
146
|
}
|
|
147
|
-
const
|
|
148
|
-
|
|
147
|
+
const r = i.querySelectorVisible(p, "li > a.top-active");
|
|
148
|
+
r && r.getAttribute("href") && (t.preventDefault(), location.href = r.getAttribute("href"));
|
|
149
149
|
const u = p.querySelector("li > .top-active");
|
|
150
150
|
u instanceof HTMLElement && u.click();
|
|
151
151
|
break;
|
|
@@ -155,7 +155,7 @@ class w {
|
|
|
155
155
|
case "ArrowLeft":
|
|
156
156
|
if (!o)
|
|
157
157
|
break;
|
|
158
|
-
t.key === "ArrowRight" || t.key === "ArrowLeft" ?
|
|
158
|
+
t.key === "ArrowRight" || t.key === "ArrowLeft" ? i.querySelectorVisible(
|
|
159
159
|
p,
|
|
160
160
|
"ul.top-popup_content > li:not(.top-popup_liNoSelectable) > .top-active > .top-popup_listMore"
|
|
161
161
|
) && t.preventDefault() : t.preventDefault();
|
|
@@ -165,7 +165,7 @@ class w {
|
|
|
165
165
|
if (c instanceof HTMLElement)
|
|
166
166
|
return c.click();
|
|
167
167
|
}
|
|
168
|
-
const d =
|
|
168
|
+
const d = i.querySelectorAllVisible(p, "ul.top-popup_content > li:not(.top-popup_liNoSelectable)"), h = d.length;
|
|
169
169
|
if (!h)
|
|
170
170
|
return;
|
|
171
171
|
let a = -1;
|
|
@@ -173,458 +173,12 @@ class w {
|
|
|
173
173
|
return t.target.matches("input") ? void 0 : s.close(p);
|
|
174
174
|
if (t.key === "ArrowRight" && a === h)
|
|
175
175
|
return;
|
|
176
|
-
a < 0 && (a = h - 1), a > h - 1 && (a = 0), p.querySelectorAll("ul.top-popup_content > li > .top-active").forEach((c) => c.classList.remove("top-active")), (
|
|
176
|
+
a < 0 && (a = h - 1), a > h - 1 && (a = 0), p.querySelectorAll("ul.top-popup_content > li > .top-active").forEach((c) => c.classList.remove("top-active")), (n = d[a].querySelector(":scope > a, :scope > .a")) == null || n.classList.add("top-active"), s.scrollToActive(p);
|
|
177
177
|
break;
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
const y = `:root {
|
|
182
|
-
--top-popup-z-index: 200000;
|
|
183
|
-
--top-popup-transition-delay: 100ms;
|
|
184
|
-
|
|
185
|
-
--top-popup-background-color: var(--color-layout-front-1);
|
|
186
|
-
--top-popup-background-color-hover: var(--color-layout-front-3);
|
|
187
|
-
--top-popup-background-color-active: var(--color-layout-front-4);
|
|
188
|
-
|
|
189
|
-
--top-popup-border-color: var(--color-line-2-opacity);
|
|
190
|
-
--top-popup-title-background-color: var(--color-layer-1);
|
|
191
|
-
|
|
192
|
-
/* суммарный отсуп от каря popup до элемента */
|
|
193
|
-
--top-popup-content-padding: calc(var(--top-popup-list-padding) + var(--top-popup-listItem-padding));
|
|
194
|
-
|
|
195
|
-
/* списки */
|
|
196
|
-
--top-popup-list-padding: var(--top-padding-2);
|
|
197
|
-
|
|
198
|
-
--top-popup-listItem-radius: var(--top-radius-2);
|
|
199
|
-
--top-popup-listItem-padding: var(--top-padding-2);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.top-popup-front { position: relative; }
|
|
203
|
-
|
|
204
|
-
.top-popup-wrapper {
|
|
205
|
-
/* см. recalcPosition() */
|
|
206
|
-
--top-popup-height: 0px;
|
|
207
|
-
--top-popup-right-bounding: 0px;
|
|
208
|
-
--top-popup-bottom-bounding: 0px;
|
|
209
|
-
--top-popup-top: 0px;
|
|
210
|
-
--top-popup-right: calc(100vw - var(--top-popup-right-bounding));
|
|
211
|
-
--top-popup-bottom: calc(var(--100vh) - var(--top-popup-bottom-bounding));
|
|
212
|
-
--top-popup-left: 0px;
|
|
213
|
-
|
|
214
|
-
text-align: initial; white-space: normal; word-break: normal;
|
|
215
|
-
position: absolute; z-index: 200000;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.top-popup-wrapper:not(.top-popup-wrapper-shown) { overflow: hidden; }
|
|
219
|
-
|
|
220
|
-
/* top-popupPanel */
|
|
221
|
-
.top-popupPanel {
|
|
222
|
-
cursor: default;
|
|
223
|
-
box-shadow: var(--top-shadow-b);
|
|
224
|
-
border-radius: 14px;
|
|
225
|
-
background: var(--top-popup-background-color);
|
|
226
|
-
position: absolute; overflow: hidden;
|
|
227
|
-
display: flex; flex-direction: column;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
/* position */
|
|
231
|
-
.top-popup-wrapper > * {
|
|
232
|
-
opacity: 0;
|
|
233
|
-
transition: opacity var(--top-popup-transition-delay) linear, transform var(--top-popup-transition-delay) linear;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.top-popup-wrapper.p0 > * { transform: translateY(-8px); }
|
|
237
|
-
|
|
238
|
-
.top-popup-wrapper.p1 > * { transform: translateY(8px); }
|
|
239
|
-
|
|
240
|
-
.top-popup-wrapper.p2 > * { transform: translateX(8px); }
|
|
241
|
-
|
|
242
|
-
.top-popup-wrapper.p3 > * { transform: translateY(8px); }
|
|
243
|
-
|
|
244
|
-
.top-popup-wrapper.p4 > * { transform: translateX(-8px); }
|
|
245
|
-
|
|
246
|
-
.top-popup-wrapper-shown:not(.top-popup-wrapper-closed) > * {opacity: 1;transform: translate(0, 0) !important;}
|
|
247
|
-
|
|
248
|
-
.top-popup-wrapper.p0 > .top-popup { top: calc(-16px); left: calc(0px - 8px); }
|
|
249
|
-
|
|
250
|
-
.top-popup-wrapper.p1 > .top-popup { bottom: calc(100% + 8px); }
|
|
251
|
-
|
|
252
|
-
.top-popup-wrapper.p2 > .top-popup { left: calc(100% + 8px); }
|
|
253
|
-
|
|
254
|
-
.top-popup-wrapper.p3 > .top-popup { top: calc(100% + 8px); }
|
|
255
|
-
|
|
256
|
-
.top-popup-wrapper.p4 > .top-popup { right: calc(100% + 8px); }
|
|
257
|
-
|
|
258
|
-
.top-popup-wrapper.p2 > .top-popup,
|
|
259
|
-
.top-popup-wrapper.p4 > .top-popup { margin-top: -10px; }
|
|
260
|
-
|
|
261
|
-
.top-popup-wrapper.p1.with_notch > .top-popup { margin-bottom: 5px; }
|
|
262
|
-
|
|
263
|
-
.top-popup-wrapper.p2.with_notch > .top-popup { margin-left: 5px; }
|
|
264
|
-
|
|
265
|
-
.top-popup-wrapper.p3.with_notch > .top-popup { margin-top: 5px; }
|
|
266
|
-
|
|
267
|
-
.top-popup-wrapper.p4.with_notch > .top-popup { margin-right: 5px; }
|
|
268
|
-
|
|
269
|
-
.top-popup-wrapper.invert-x > .top-popup { right: 0; }
|
|
270
|
-
|
|
271
|
-
.top-popup-wrapper.invert-y > .top-popup { bottom: 0; }
|
|
272
|
-
|
|
273
|
-
/* notch */
|
|
274
|
-
.top-popup-wrapper > .notch { border: 7.4px solid transparent; position: absolute; display: block; }
|
|
275
|
-
|
|
276
|
-
.top-popup-wrapper.p1 > .notch { border-bottom: 0; border-top: 7.4px solid var(--color-layout-front-1); margin: 0 0 7.4px -7.4px; bottom: 100%; left: 50% }
|
|
277
|
-
|
|
278
|
-
.top-popup-wrapper.p2 > .notch { border-left: 0; border-right: 7.4px solid var(--color-layout-front-1); margin: 0 0 -7.4px 7.4px; bottom: 50%; left: 100%; }
|
|
279
|
-
|
|
280
|
-
.top-popup-wrapper.p3 > .notch { border-top: 0; border-bottom: 7.4px solid var(--color-layout-front-1); margin: 7.4px 0 0 -7.4px; top: 100%; left: 50%; }
|
|
281
|
-
|
|
282
|
-
.top-popup-wrapper.p4 > .notch { border-right: 0; border-left: 7.4px solid var(--color-layout-front-1); margin: 0 7.4px -7.4px 0; bottom: 50%; right: 100%; }
|
|
283
|
-
|
|
284
|
-
.top-popup-wrapper.p1 > .notch-border { border-top-color: rgba(0, 0, 0, 0.05); margin-bottom: 6px; }
|
|
285
|
-
|
|
286
|
-
.top-popup-wrapper.p2 > .notch-border { border-right-color: rgba(0, 0, 0, 0.05); margin-left: 6px; }
|
|
287
|
-
|
|
288
|
-
.top-popup-wrapper.p3 > .notch-border { border-bottom-color: rgba(0, 0, 0, 0.05); margin-top: 6px; }
|
|
289
|
-
|
|
290
|
-
.top-popup-wrapper.p4 > .notch-border { border-left-color: rgba(0, 0, 0, 0.05); margin-right: 6px; }
|
|
291
|
-
|
|
292
|
-
/* common */
|
|
293
|
-
.top-popup_header,
|
|
294
|
-
.top-popup_content,
|
|
295
|
-
.top-popup_footer { font-size: 14px; }
|
|
296
|
-
|
|
297
|
-
.top-popup_header,
|
|
298
|
-
.top-popup_footer { display: flex; align-items: center; justify-content: space-between; }
|
|
299
|
-
|
|
300
|
-
/* header */
|
|
301
|
-
.top-popup_header {
|
|
302
|
-
color: var(--color-text-1);
|
|
303
|
-
border-bottom: 1px solid var(--top-popup-border-color);
|
|
304
|
-
padding: var(--top-padding-3);
|
|
305
|
-
font-weight: 600;
|
|
306
|
-
}
|
|
307
|
-
|
|
308
|
-
.top-popup_header > * { font-weight: 400; }
|
|
309
|
-
|
|
310
|
-
.top-popup_header > .a { cursor: pointer;}
|
|
311
|
-
|
|
312
|
-
.top-popup_header > .a:hover { color: var(--color-text-primary); }
|
|
313
|
-
|
|
314
|
-
.top-popup_headerButton { width: 60px; }
|
|
315
|
-
|
|
316
|
-
/* widget */
|
|
317
|
-
.top-popup_widget {
|
|
318
|
-
padding: var(--top-padding-2) var(--top-padding-2) 0 var(--top-padding-2);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/* content */
|
|
322
|
-
.top-popup_content {
|
|
323
|
-
margin: 0;
|
|
324
|
-
flex-grow: 1;
|
|
325
|
-
overflow-y: auto;
|
|
326
|
-
display: flex;
|
|
327
|
-
flex-direction: column;
|
|
328
|
-
gap: var(--top-gap-4);
|
|
329
|
-
|
|
330
|
-
-webkit-overflow-scrolling: touch;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
div.top-popup_content {
|
|
334
|
-
color: var(--color-text-1);
|
|
335
|
-
padding: var(--top-popup-content-padding);
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
div.top-popup_content > * { flex-shrink: 0; }
|
|
339
|
-
|
|
340
|
-
div.top-popup_content > .top-button { margin: 0; }
|
|
341
|
-
|
|
342
|
-
div.top-popup_content .top-unwrap {
|
|
343
|
-
--top-unwrap-x: var(--top-popup-content-padding);
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
ul.top-popup_content {
|
|
347
|
-
color: var(--color-text-1);
|
|
348
|
-
padding: var(--top-popup-list-padding);
|
|
349
|
-
gap: 2px;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
ul.top-popup_content .top-unwrap {
|
|
353
|
-
--top-unwrap-x: var(--top-popup-list-padding);
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
.top-popup_listItem {
|
|
357
|
-
border-radius: var(--top-popup-listItem-radius);
|
|
358
|
-
padding: var(--top-popup-listItem-padding);
|
|
359
|
-
line-height: 1 !important;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
ul.top-popup_content li { margin: 0; list-style: none; display: flex; position: relative }
|
|
363
|
-
|
|
364
|
-
ul.top-popup_content li > * { flex-grow: 1; }
|
|
365
|
-
|
|
366
|
-
ul.top-popup_content li > a:not(.top-button),
|
|
367
|
-
ul.top-popup_content li > .a {
|
|
368
|
-
cursor: pointer;
|
|
369
|
-
box-sizing: border-box;
|
|
370
|
-
border-radius: var(--top-popup-listItem-radius);
|
|
371
|
-
background: var(--top-popup-background-color);
|
|
372
|
-
padding: var(--top-popup-listItem-padding);
|
|
373
|
-
color: var(--color-text-1) !important; font-size: 14px; font-weight: normal !important; text-decoration: none !important; font-style: normal;
|
|
374
|
-
line-height: 1 !important;
|
|
375
|
-
display: flex; flex: 1 1 100%; align-items: center;
|
|
376
|
-
transition: background-color 0.1s ease-in-out;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
.top-popup-wrapper-no_animate ul.top-popup_content li > a:not(.top-button),
|
|
380
|
-
.top-popup-wrapper-no_animate ul.top-popup_content li > .a { transition: none; }
|
|
381
|
-
|
|
382
|
-
ul.top-popup_content li > a:not(.top-button):hover,
|
|
383
|
-
ul.top-popup_content li > .a:hover { background: var(--top-popup-background-color-hover); }
|
|
384
|
-
|
|
385
|
-
ul.top-popup_content li > a:not(.top-button).top-active,
|
|
386
|
-
ul.top-popup_content li > .a.top-active {
|
|
387
|
-
--top-icon-color: var(--color-text-primary) !important;
|
|
388
|
-
|
|
389
|
-
background: var(--top-popup-background-color-active);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
.top-popup_content + .top-popup_content { padding-top: 0; }
|
|
393
|
-
|
|
394
|
-
/* listTitle */
|
|
395
|
-
.top-popup_listItem-title {
|
|
396
|
-
background: var(--color-layer-1);
|
|
397
|
-
color: var(--color-text-1); font-size: 12px;
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
/* listDelimiter */
|
|
401
|
-
.top-popup_listItem-delimiter {
|
|
402
|
-
border-radius: 3px;
|
|
403
|
-
background: var(--top-popup-border-color);
|
|
404
|
-
height: 1px;
|
|
405
|
-
padding: 0;
|
|
406
|
-
margin: 4px;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
/* listMore */
|
|
410
|
-
.top-popup_listMore {
|
|
411
|
-
font-size: 20px;
|
|
412
|
-
margin: calc(0px - var(--top-popup-listItem-padding)) calc(0px - var(--top-popup-listItem-padding) / 2) calc(0px - var(--top-popup-listItem-padding)) 0;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
.top-popup_listMore.top-button { margin: 0; }
|
|
416
|
-
|
|
417
|
-
ul.top-popup_content li > .a.top-popup_listMore {
|
|
418
|
-
text-align: center;
|
|
419
|
-
flex-basis: 10px;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
ul.top-popup_content li > .a.top-popup_listMore:before { color: var(--color-text-2); }
|
|
423
|
-
|
|
424
|
-
ul.top-popup_content li > * > .top-popup_listMore {
|
|
425
|
-
margin-left: auto;
|
|
426
|
-
color: var(--color-layer-4);
|
|
427
|
-
font-size: 14px;
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
ul.top-popup_content li > * > i.top-popup_listMore:hover,
|
|
431
|
-
ul.top-popup_content li > * > i.top-popup_listMore.top-active { color: var(--color-text-primary); }
|
|
432
|
-
|
|
433
|
-
ul.top-popup_content li > * > i.top-popup_listMore:before {
|
|
434
|
-
transform: rotate(90deg);
|
|
435
|
-
display: block;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
ul.top-popup_content li a.close { background: none !important; }
|
|
439
|
-
|
|
440
|
-
/* data-top-icon */
|
|
441
|
-
.top-popup_content > [data-top-icon]:before {
|
|
442
|
-
--top-icon-size: 20px;
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
ul.top-popup_content li > [data-top-icon]:not(.top-button) {
|
|
446
|
-
--top-icon-color: var(--color-text-3);
|
|
447
|
-
--top-icon-size: 20px;
|
|
448
|
-
--top-icon-width: 20px;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
ul.top-popup_content li > [data-top-icon]:not(.top-button):before {
|
|
452
|
-
height: 1rem; margin-right: 8px; transition: color 0.1s;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
ul.top-popup_content li:hover > [data-top-icon]:not(.top-button) {
|
|
456
|
-
--top-icon-color: var(--color-text-2);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
/* footer */
|
|
460
|
-
.top-popup_footer {
|
|
461
|
-
/*padding: var(--top-popup-list-padding);*/
|
|
462
|
-
padding: var(--top-padding-3);
|
|
463
|
-
border-top: 1px solid var(--top-popup-border-color);
|
|
464
|
-
display: flex;
|
|
465
|
-
gap: var(--top-gap-2);
|
|
466
|
-
justify-content: flex-end;
|
|
467
|
-
}
|
|
468
|
-
|
|
469
|
-
/* footerSupportLink */
|
|
470
|
-
.top-popup_footerSupportLink {
|
|
471
|
-
margin-right: auto;
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
/* Виджеты */
|
|
475
|
-
.top-popup > [data-widget] { padding: 0 var(--top-popup-list-padding); }
|
|
476
|
-
|
|
477
|
-
.top-popup > [data-widget] + hr { margin: 0 var(--top-popup-list-padding); }
|
|
478
|
-
|
|
479
|
-
.top-popup .placeholder {
|
|
480
|
-
border: 1px solid #E0D9D9 !important; border-right: none !important; border-left: none !important; background: #F9F9F9 !important; margin: -1px 0; z-index: 1;
|
|
481
|
-
position: relative;
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
/* компоненты */
|
|
485
|
-
.top-popup-wrapper.simple_list > .top-popup { min-width: 0; white-space: nowrap; }
|
|
486
|
-
|
|
487
|
-
.top-popup_content .top-column { display: flex; flex-direction: column; gap: 4px; }
|
|
488
|
-
|
|
489
|
-
html .top-popup .top-popup_content li > .top-button {
|
|
490
|
-
margin: calc(var(--top-popup-listItem-padding) / 2) var(--top-popup-listItem-padding);
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
.top-popup li .check_all,
|
|
494
|
-
.top-popup li .clear_all { cursor: pointer; color: var(--color-text-primary); padding: 8px; display: inline-block; }
|
|
495
|
-
|
|
496
|
-
.top-popup li .check_all:hover,
|
|
497
|
-
.top-popup li .clear_all:hover { text-decoration: underline; }
|
|
498
|
-
|
|
499
|
-
.top-popup li .clear_all { display: none; }
|
|
500
|
-
|
|
501
|
-
/* table */
|
|
502
|
-
.top-popup_content table { margin: -9px 0; }
|
|
503
|
-
|
|
504
|
-
.top-popup_content table td,
|
|
505
|
-
.top-popup_content table th { padding: 9px var(--top-popup-listItem-padding) 9px 0; vertical-align: top; }
|
|
506
|
-
|
|
507
|
-
.top-popup_content table th { width: 40%; font-weight: 600; white-space: nowrap; }
|
|
508
|
-
|
|
509
|
-
/* формы */
|
|
510
|
-
ul.top-popup_content .a > [type="checkbox"],
|
|
511
|
-
ul.top-popup_content .a > [type="radio"] { margin: -8px 0 -8px auto; }
|
|
512
|
-
|
|
513
|
-
/* deprecated */
|
|
514
|
-
ul.top-popup_content a > [class*=icon],
|
|
515
|
-
ul.top-popup_content i.a > [class*=icon] {
|
|
516
|
-
transition: 0.1s;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
.top-popup .buttons { border-radius: 0 0 4px 4px; border-top: 1px solid #BDC3C7; background: #ECF0F1; padding: 10px 15px; margin: 10px -15px -10px -15px; white-space: nowrap; }
|
|
520
|
-
|
|
521
|
-
.top-popup_footer [class*=btn]:not(.btn-transparent) { min-width: 100px; padding: 5px 14px; margin-left: 10px; }
|
|
522
|
-
|
|
523
|
-
.top-popup_footer [class*=btn]:first-child { margin-left: 0; }
|
|
524
|
-
|
|
525
|
-
.top-popup_footer .btn.full_width { margin: 0; flex-grow: 1; }
|
|
526
|
-
`, _ = `:root {
|
|
527
|
-
--top-popup-list-padding: 0px;
|
|
528
|
-
|
|
529
|
-
--top-popup-listItem-radius: 0px;
|
|
530
|
-
--top-popup-listItem-padding: var(--top-padding-4);
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
html.with_popup { background: #808080; }
|
|
534
|
-
|
|
535
|
-
.top-popup-wrapper {
|
|
536
|
-
--top-popup-footer-offset: 25px;
|
|
537
|
-
|
|
538
|
-
width: auto !important; height: auto !important;
|
|
539
|
-
position: fixed; top: 0 !important; right: 0 !important; left: 0 !important; overflow: hidden;
|
|
540
|
-
transition: background 0.3s;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
.top-popup-wrapper-shown:not(.top-popup-wrapper-closed) { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(1px); }
|
|
544
|
-
.top-popup-wrapper-shown:not(.top-popup-wrapper-closed) > .top-popup { opacity: 1 !important; }
|
|
545
|
-
|
|
546
|
-
.top-popup {
|
|
547
|
-
border-radius: 8px 8px 0 0; width: auto !important; max-height: calc(100% - var(--header-height, 0px) - var(--toolbar-height, 0px) - 12px); margin: 0 !important;
|
|
548
|
-
top: auto !important; right: 0 !important; bottom: var(--toolbar-height, 0px) !important; left: 0 !important;
|
|
549
|
-
display: flex; flex-direction: column;
|
|
550
|
-
|
|
551
|
-
/* невозможно опустить элемент вниз за экран на 100%, fix: opacity и translateY(80%) */
|
|
552
|
-
transform: translateY(80%);
|
|
553
|
-
|
|
554
|
-
transition: opacity 0.3s, transform 0.3s;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
/* from top */
|
|
558
|
-
.top-popup-wrapper.p-from-top {
|
|
559
|
-
--top-popup-footer-offset: 0px;
|
|
560
|
-
|
|
561
|
-
top: var(--header-height, 0px) !important;
|
|
562
|
-
}
|
|
563
|
-
.with_dialog .top-popup-wrapper.p-from-top { top: 50px !important; }
|
|
564
|
-
.top-popup-wrapper.p-from-top > .top-popup {
|
|
565
|
-
border-radius: 0 0 8px 8px; max-height: calc(100% - 24px); top: 0 !important; bottom: auto !important;
|
|
566
|
-
transform: translateY(calc(-100% - 24px));
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
/* widget */
|
|
570
|
-
.top-popup_widget { padding: var(--top-padding-2);}
|
|
571
|
-
.top-popup_widget:not(.p-from-top) { order: 10; }
|
|
572
|
-
|
|
573
|
-
/* content */
|
|
574
|
-
ul.top-popup_content {
|
|
575
|
-
gap: 0;
|
|
576
|
-
}
|
|
577
|
-
ul.top-popup_content li:not(:last-child) { border-bottom: 1px solid var(--top-popup-border-color); }
|
|
578
|
-
|
|
579
|
-
.top-popup-wrapper.top-style_alt > .top-popup > ul > li { border-bottom: none; }
|
|
580
|
-
|
|
581
|
-
/* footer */
|
|
582
|
-
.top-popup_footer {
|
|
583
|
-
flex-direction: column-reverse;
|
|
584
|
-
}
|
|
585
|
-
.top-popup_footer > .top-button {
|
|
586
|
-
--top-forms-base-height: var(--top-forms-base-height_l);
|
|
587
|
-
|
|
588
|
-
width: 100%;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
/* listTitle */
|
|
592
|
-
ul.top-popup_content .top-popup_listItem-title {
|
|
593
|
-
--top-popup-padding-v: 12px;
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
/* listDelimiter */
|
|
597
|
-
ul.top-popup_content .top-popup_listItem-delimiter { background: var(--color-line-1-opacity); height: 4px; margin: 0; }
|
|
598
|
-
ul.top-popup_content li:first-child > .top-popup_listItem-delimiter { border-top: 1px solid var(--top-popup-border-color); }
|
|
599
|
-
`, L = `html:not(.with_dialog) { margin-right: 0 !important; }
|
|
600
|
-
|
|
601
|
-
.top-popup { min-width: 250px; max-width: calc(100vw - var(--top-popup-left) - 16px); max-height: calc(var(--top-popup-bottom) + var(--top-popup-height)); }
|
|
602
|
-
.top-popup-wrapper.invert-x > .top-popup { max-width: calc(100vw - var(--top-popup-right) - 16px); }
|
|
603
|
-
.top-popup-wrapper.invert-y > .top-popup { max-height: calc(100vh - var(--top-popup-bottom) - 16px); }
|
|
604
|
-
|
|
605
|
-
/* position */
|
|
606
|
-
.top-popup-wrapper.p1 > .top-popup { max-height: calc(var(--top-popup-top) - var(--header-height, 0px) - 16px); }
|
|
607
|
-
.top-popup-wrapper.p3 > .top-popup { max-height: calc(var(--top-popup-bottom) - 16px); }
|
|
608
|
-
.top-popup-wrapper.p2 > .top-popup { max-width: calc(var(--top-popup-right) - 16px); }
|
|
609
|
-
.top-popup-wrapper.p4 > .top-popup { max-width: calc(var(--top-popup-left) - 16px); }
|
|
610
|
-
|
|
611
|
-
/* notch */
|
|
612
|
-
.top-popup-wrapper.p1.with_notch > .top-popup,
|
|
613
|
-
.top-popup-wrapper.p3.with_notch > .top-popup { margin-left: -16px !important; }
|
|
614
|
-
.top-popup-wrapper.p1.with_notch > .notch,
|
|
615
|
-
.top-popup-wrapper.p3.with_notch > .notch { margin-left: -8px !important; }
|
|
616
|
-
|
|
617
|
-
.top-popup-wrapper.p1.with_notch.invert-x,
|
|
618
|
-
.top-popup-wrapper.p3.with_notch.invert-x { margin-left: 3px !important; }
|
|
619
|
-
.top-popup-wrapper.p1.with_notch.invert-x > .notch,
|
|
620
|
-
.top-popup-wrapper.p3.with_notch.invert-x > .notch { margin-left: -9px !important; }
|
|
621
|
-
|
|
622
|
-
/* listMore */
|
|
623
|
-
ul.top-popup_content li > * > i.top-popup_listMore { visibility: hidden; transition: none; }
|
|
624
|
-
ul.top-popup_content li:hover > * > i.top-popup_listMore,
|
|
625
|
-
ul.top-popup_content li > *.top-active > i.top-popup_listMore,
|
|
626
|
-
ul.top-popup_content li > * > i.top-popup_listMore.top-active { visibility: visible; }
|
|
627
|
-
`;
|
|
181
|
+
const y = ":root{--top-popup-z-index: 200000;--top-popup-transition-delay: .1s;--top-popup-background-color: var(--color-layout-front-1);--top-popup-background-color-hover: var(--color-layout-front-3);--top-popup-background-color-active: var(--color-layout-front-4);--top-popup-border-color: var(--color-line-2-opacity);--top-popup-title-background-color: var(--color-layer-1);--top-popup-content-padding: calc(var(--top-popup-list-padding) + var(--top-popup-listItem-padding));--top-popup-list-padding: var(--top-padding-2);--top-popup-listItem-radius: var(--top-radius-2);--top-popup-listItem-padding: var(--top-padding-2)}.top-popup-front{position:relative}.top-popup-wrapper{--top-popup-height: 0px;--top-popup-right-bounding: 0px;--top-popup-bottom-bounding: 0px;--top-popup-top: 0px;--top-popup-right: calc(100vw - var(--top-popup-right-bounding));--top-popup-bottom: calc(var(--100vh) - var(--top-popup-bottom-bounding));--top-popup-left: 0px;text-align:initial;white-space:normal;word-break:normal;position:absolute;z-index:200000}.top-popup-wrapper:not(.top-popup-wrapper-shown){overflow:hidden}.top-popupPanel{cursor:default;box-shadow:var(--top-shadow-b);border-radius:14px;background:var(--top-popup-background-color);position:absolute;overflow:hidden;display:flex;flex-direction:column}.top-popup-wrapper>*{opacity:0;transition:opacity var(--top-popup-transition-delay) linear,transform var(--top-popup-transition-delay) linear}.top-popup-wrapper.p0>*{transform:translateY(-8px)}.top-popup-wrapper.p1>*{transform:translateY(8px)}.top-popup-wrapper.p2>*{transform:translate(8px)}.top-popup-wrapper.p3>*{transform:translateY(8px)}.top-popup-wrapper.p4>*{transform:translate(-8px)}.top-popup-wrapper-shown:not(.top-popup-wrapper-closed)>*{opacity:1;transform:translate(0)!important}.top-popup-wrapper.p0>.top-popup{top:-16px;left:-8px}.top-popup-wrapper.p1>.top-popup{bottom:calc(100% + 8px)}.top-popup-wrapper.p2>.top-popup{left:calc(100% + 8px)}.top-popup-wrapper.p3>.top-popup{top:calc(100% + 8px)}.top-popup-wrapper.p4>.top-popup{right:calc(100% + 8px)}.top-popup-wrapper.p2>.top-popup,.top-popup-wrapper.p4>.top-popup{margin-top:-10px}.top-popup-wrapper.p1.with_notch>.top-popup{margin-bottom:5px}.top-popup-wrapper.p2.with_notch>.top-popup{margin-left:5px}.top-popup-wrapper.p3.with_notch>.top-popup{margin-top:5px}.top-popup-wrapper.p4.with_notch>.top-popup{margin-right:5px}.top-popup-wrapper.invert-x>.top-popup{right:0}.top-popup-wrapper.invert-y>.top-popup{bottom:0}.top-popup-wrapper>.notch{border:7.4px solid transparent;position:absolute;display:block}.top-popup-wrapper.p1>.notch{border-bottom:0;border-top:7.4px solid var(--color-layout-front-1);margin:0 0 7.4px -7.4px;bottom:100%;left:50%}.top-popup-wrapper.p2>.notch{border-left:0;border-right:7.4px solid var(--color-layout-front-1);margin:0 0 -7.4px 7.4px;bottom:50%;left:100%}.top-popup-wrapper.p3>.notch{border-top:0;border-bottom:7.4px solid var(--color-layout-front-1);margin:7.4px 0 0 -7.4px;top:100%;left:50%}.top-popup-wrapper.p4>.notch{border-right:0;border-left:7.4px solid var(--color-layout-front-1);margin:0 7.4px -7.4px 0;bottom:50%;right:100%}.top-popup-wrapper.p1>.notch-border{border-top-color:#0000000d;margin-bottom:6px}.top-popup-wrapper.p2>.notch-border{border-right-color:#0000000d;margin-left:6px}.top-popup-wrapper.p3>.notch-border{border-bottom-color:#0000000d;margin-top:6px}.top-popup-wrapper.p4>.notch-border{border-left-color:#0000000d;margin-right:6px}.top-popup_header,.top-popup_content,.top-popup_footer{font-size:14px}.top-popup_header,.top-popup_footer{display:flex;align-items:center;justify-content:space-between}.top-popup_header{color:var(--color-text-1);border-bottom:1px solid var(--top-popup-border-color);padding:var(--top-padding-3);font-weight:600}.top-popup_header>*{font-weight:400}.top-popup_header>.a{cursor:pointer}.top-popup_header>.a:hover{color:var(--color-text-primary)}.top-popup_headerButton{width:60px}.top-popup_widget{padding:var(--top-padding-2) var(--top-padding-2) 0 var(--top-padding-2)}.top-popup_content{margin:0;flex-grow:1;overflow-y:auto;display:flex;flex-direction:column;gap:var(--top-gap-4);-webkit-overflow-scrolling:touch}div.top-popup_content{color:var(--color-text-1);padding:var(--top-popup-content-padding)}div.top-popup_content>*{flex-shrink:0}div.top-popup_content>.top-button{margin:0}div.top-popup_content .top-unwrap{--top-unwrap-x: var(--top-popup-content-padding)}ul.top-popup_content{color:var(--color-text-1);padding:var(--top-popup-list-padding);gap:2px}ul.top-popup_content .top-unwrap{--top-unwrap-x: var(--top-popup-list-padding)}.top-popup_listItem{border-radius:var(--top-popup-listItem-radius);padding:var(--top-popup-listItem-padding);line-height:1!important}ul.top-popup_content li{margin:0;list-style:none;display:flex;position:relative}ul.top-popup_content li>*{flex-grow:1}ul.top-popup_content li>a:not(.top-button),ul.top-popup_content li>.a{cursor:pointer;box-sizing:border-box;border-radius:var(--top-popup-listItem-radius);background:var(--top-popup-background-color);padding:var(--top-popup-listItem-padding);color:var(--color-text-1)!important;font-size:14px;font-weight:400!important;text-decoration:none!important;font-style:normal;line-height:1!important;display:flex;flex:1 1 100%;align-items:center;transition:background-color .1s ease-in-out}.top-popup-wrapper-no_animate ul.top-popup_content li>a:not(.top-button),.top-popup-wrapper-no_animate ul.top-popup_content li>.a{transition:none}ul.top-popup_content li>a:not(.top-button):hover,ul.top-popup_content li>.a:hover{background:var(--top-popup-background-color-hover)}ul.top-popup_content li>a:not(.top-button).top-active,ul.top-popup_content li>.a.top-active{--top-icon-color: var(--color-text-primary) !important;background:var(--top-popup-background-color-active)}.top-popup_content+.top-popup_content{padding-top:0}.top-popup_listItem-title{background:var(--color-layer-1);color:var(--color-text-1);font-size:12px}.top-popup_listItem-delimiter{border-radius:3px;background:var(--top-popup-border-color);height:1px;padding:0;margin:4px}.top-popup_listMore{font-size:20px;margin:calc(0px - var(--top-popup-listItem-padding)) calc(0px - var(--top-popup-listItem-padding) / 2) calc(0px - var(--top-popup-listItem-padding)) 0}.top-popup_listMore.top-button{margin:0}ul.top-popup_content li>.a.top-popup_listMore{text-align:center;flex-basis:10px}ul.top-popup_content li>.a.top-popup_listMore:before{color:var(--color-text-2)}ul.top-popup_content li>*>.top-popup_listMore{margin-left:auto;color:var(--color-layer-4);font-size:14px}ul.top-popup_content li>*>i.top-popup_listMore:hover,ul.top-popup_content li>*>i.top-popup_listMore.top-active{color:var(--color-text-primary)}ul.top-popup_content li>*>i.top-popup_listMore:before{transform:rotate(90deg);display:block}ul.top-popup_content li a.close{background:none!important}.top-popup_content>[data-top-icon]:before{--top-icon-size: 20px}ul.top-popup_content li>[data-top-icon]:not(.top-button){--top-icon-color: var(--color-text-3);--top-icon-size: 20px;--top-icon-width: 20px}ul.top-popup_content li>[data-top-icon]:not(.top-button):before{height:1rem;margin-right:8px;transition:color .1s}ul.top-popup_content li:hover>[data-top-icon]:not(.top-button){--top-icon-color: var(--color-text-2)}.top-popup_footer{padding:var(--top-padding-3);border-top:1px solid var(--top-popup-border-color);display:flex;gap:var(--top-gap-2);justify-content:flex-end}.top-popup_footerSupportLink{margin-right:auto}.top-popup>[data-widget]{padding:0 var(--top-popup-list-padding)}.top-popup>[data-widget]+hr{margin:0 var(--top-popup-list-padding)}.top-popup .placeholder{border:1px solid #E0D9D9!important;border-right:none!important;border-left:none!important;background:#f9f9f9!important;margin:-1px 0;z-index:1;position:relative}.top-popup-wrapper.simple_list>.top-popup{min-width:0;white-space:nowrap}.top-popup_content .top-column{display:flex;flex-direction:column;gap:4px}html .top-popup .top-popup_content li>.top-button{margin:calc(var(--top-popup-listItem-padding) / 2) var(--top-popup-listItem-padding)}.top-popup li .check_all,.top-popup li .clear_all{cursor:pointer;color:var(--color-text-primary);padding:8px;display:inline-block}.top-popup li .check_all:hover,.top-popup li .clear_all:hover{text-decoration:underline}.top-popup li .clear_all{display:none}.top-popup_content table{margin:-9px 0}.top-popup_content table td,.top-popup_content table th{padding:9px var(--top-popup-listItem-padding) 9px 0;vertical-align:top}.top-popup_content table th{width:40%;font-weight:600;white-space:nowrap}ul.top-popup_content .a>[type=checkbox],ul.top-popup_content .a>[type=radio]{margin:-8px 0 -8px auto}ul.top-popup_content a>[class*=icon],ul.top-popup_content i.a>[class*=icon]{transition:.1s}.top-popup .buttons{border-radius:0 0 4px 4px;border-top:1px solid #BDC3C7;background:#ecf0f1;padding:10px 15px;margin:10px -15px -10px;white-space:nowrap}.top-popup_footer [class*=btn]:not(.btn-transparent){min-width:100px;padding:5px 14px;margin-left:10px}.top-popup_footer [class*=btn]:first-child{margin-left:0}.top-popup_footer .btn.full_width{margin:0;flex-grow:1}", _ = ":root{--top-popup-list-padding: 0px;--top-popup-listItem-radius: 0px;--top-popup-listItem-padding: var(--top-padding-4)}html.with_popup{background:gray}.top-popup-wrapper{--top-popup-footer-offset: 25px;width:auto!important;height:auto!important;position:fixed;top:0!important;right:0!important;left:0!important;overflow:hidden;transition:background .3s}.top-popup-wrapper-shown:not(.top-popup-wrapper-closed){background:#00000080;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}.top-popup-wrapper-shown:not(.top-popup-wrapper-closed)>.top-popup{opacity:1!important}.top-popup{border-radius:8px 8px 0 0;width:auto!important;max-height:calc(100% - var(--header-height, 0px) - var(--toolbar-height, 0px) - 12px);margin:0!important;top:auto!important;right:0!important;bottom:var(--toolbar-height, 0px)!important;left:0!important;display:flex;flex-direction:column;transform:translateY(80%);transition:opacity .3s,transform .3s}.top-popup-wrapper.p-from-top{--top-popup-footer-offset: 0px;top:var(--header-height, 0px)!important}.with_dialog .top-popup-wrapper.p-from-top{top:50px!important}.top-popup-wrapper.p-from-top>.top-popup{border-radius:0 0 8px 8px;max-height:calc(100% - 24px);top:0!important;bottom:auto!important;transform:translateY(calc(-100% - 24px))}.top-popup_widget{padding:var(--top-padding-2)}.top-popup_widget:not(.p-from-top){order:10}ul.top-popup_content{gap:0}ul.top-popup_content li:not(:last-child){border-bottom:1px solid var(--top-popup-border-color)}.top-popup-wrapper.top-style_alt>.top-popup>ul>li{border-bottom:none}.top-popup_footer{flex-direction:column-reverse}.top-popup_footer>.top-button{--top-forms-base-height: var(--top-forms-base-height_l);width:100%}ul.top-popup_content .top-popup_listItem-title{--top-popup-padding-v: 12px}ul.top-popup_content .top-popup_listItem-delimiter{background:var(--color-line-1-opacity);height:4px;margin:0}ul.top-popup_content li:first-child>.top-popup_listItem-delimiter{border-top:1px solid var(--top-popup-border-color)}", L = "html:not(.with_dialog){margin-right:0!important}.top-popup{min-width:250px;max-width:calc(100vw - var(--top-popup-left) - 16px);max-height:calc(var(--top-popup-bottom) + var(--top-popup-height))}.top-popup-wrapper.invert-x>.top-popup{max-width:calc(100vw - var(--top-popup-right) - 16px)}.top-popup-wrapper.invert-y>.top-popup{max-height:calc(100vh - var(--top-popup-bottom) - 16px)}.top-popup-wrapper.p1>.top-popup{max-height:calc(var(--top-popup-top) - var(--header-height, 0px) - 16px)}.top-popup-wrapper.p3>.top-popup{max-height:calc(var(--top-popup-bottom) - 16px)}.top-popup-wrapper.p2>.top-popup{max-width:calc(var(--top-popup-right) - 16px)}.top-popup-wrapper.p4>.top-popup{max-width:calc(var(--top-popup-left) - 16px)}.top-popup-wrapper.p1.with_notch>.top-popup,.top-popup-wrapper.p3.with_notch>.top-popup{margin-left:-16px!important}.top-popup-wrapper.p1.with_notch>.notch,.top-popup-wrapper.p3.with_notch>.notch{margin-left:-8px!important}.top-popup-wrapper.p1.with_notch.invert-x,.top-popup-wrapper.p3.with_notch.invert-x{margin-left:3px!important}.top-popup-wrapper.p1.with_notch.invert-x>.notch,.top-popup-wrapper.p3.with_notch.invert-x>.notch{margin-left:-9px!important}ul.top-popup_content li>*>i.top-popup_listMore{visibility:hidden;transition:none}ul.top-popup_content li:hover>*>i.top-popup_listMore,ul.top-popup_content li>*.top-active>i.top-popup_listMore,ul.top-popup_content li>*>i.top-popup_listMore.top-active{visibility:visible}";
|
|
628
182
|
f.insertStyleToPage(y);
|
|
629
183
|
f.insertStyleToPage(_, "m");
|
|
630
184
|
f.insertStyleToPage(L, "pc");
|
|
@@ -688,17 +242,17 @@ class v extends x {
|
|
|
688
242
|
super(), this.init(v.componentName, t, p);
|
|
689
243
|
}
|
|
690
244
|
async mount() {
|
|
691
|
-
var e,
|
|
245
|
+
var e, n;
|
|
692
246
|
if (!(this.el instanceof HTMLElement)) return;
|
|
693
247
|
const t = this.vueGetComponent();
|
|
694
|
-
if (this.el.closest(".top-popup-wrapper") && (this.popupParent = s.getPopup(this.el.closest(".top-popup-wrapper"))), await this.mountJQuery(),
|
|
695
|
-
this.type = "vue", this.options.popup = "", this.elPopup =
|
|
248
|
+
if (this.el.closest(".top-popup-wrapper") && (this.popupParent = s.getPopup(this.el.closest(".top-popup-wrapper"))), await this.mountJQuery(), i.css(this.el, "position") !== "absolute" && (this.el.style.position = "relative"), this.el.dataset.topPopupOpened = "opened", this.elActiveByDefault = this.el.classList.contains("top-active"), this.el.classList.add("top-active"), t)
|
|
249
|
+
this.type = "vue", this.options.popup = "", this.elPopup = i.genEl("div", {}, this.options.popup);
|
|
696
250
|
else if ((e = this.options.popup) != null && e.match(/^[#.]/))
|
|
697
251
|
this.type = "selector", this.elPopup = document.querySelector(`${this.options.popup}.template`) || void 0;
|
|
698
252
|
else {
|
|
699
253
|
if (this.type = "html", this.options.useOriginal)
|
|
700
254
|
throw "Option useOriginal not allowed for text templates";
|
|
701
|
-
this.elPopup =
|
|
255
|
+
this.elPopup = i.genEl("div", {}, this.options.popup ?? "");
|
|
702
256
|
}
|
|
703
257
|
if (!this.elPopup || t != null && t.opened) {
|
|
704
258
|
if (this.options.useOriginal || t != null && t.opened) {
|
|
@@ -712,29 +266,29 @@ class v extends x {
|
|
|
712
266
|
}
|
|
713
267
|
if (!this.elPopup)
|
|
714
268
|
return;
|
|
715
|
-
for (this.options.useOriginal ? (this.elStartPosition = this.elPopup.closest(".top-popup-el-start-position"), this.elStartPosition || (this.elStartPosition =
|
|
716
|
-
|
|
717
|
-
}),
|
|
269
|
+
for (this.options.useOriginal ? (this.elStartPosition = this.elPopup.closest(".top-popup-el-start-position"), this.elStartPosition || (this.elStartPosition = i.wrap(this.elPopup, "i"), this.elStartPosition.classList.add("top-popup-el-start-position", "hidden"))) : (this.elPopup = this.elPopup.cloneNode(!0), this.type === "selector" && !this.elPopup.matches(".template") && (this.elPopup.classList.remove("hidden"), this.elPopup.querySelector(":scope > .top-popup_content") || this.elPopup.classList.add("top-popup_content"), this.elPopup = i.wrap(this.elPopup, "div")), this.type === "html" && (this.elPopup.querySelector(":scope > .top-popup_content") || (this.elPopup.classList.add("top-popup_content"), this.elPopup = i.wrap(this.elPopup, "div"))), (this.type === "selector" && !this.elPopup.matches(".template") || this.type === "html" || this.type === "vue") && (i.querySelectorAllArray(this.elPopup, "[data-top-popup]").forEach((r) => {
|
|
270
|
+
r instanceof HTMLElement && (r.dataset.topPopupPosBy = "fixed");
|
|
271
|
+
}), i.querySelectorAllArray(this.elPopup, ".top-popup-wrapper").forEach((r) => r.remove()))), s.decoratorBeforeOpen(this), t && (this.options.class = t.classRef.value, t.transitionDurationRef.value !== void 0 && (this.options.transitionDuration = t.transitionDurationRef.value, this.elPopup instanceof HTMLElement && this.elPopup.style.setProperty(
|
|
718
272
|
"--top-popup-transition-delay",
|
|
719
273
|
this.options.transitionDuration + "ms"
|
|
720
274
|
))), this.elPopupInner = document.createElement("div"), this.elPopupInner.classList.add("top-popupPanel", "top-popup"); this.elPopup.firstChild; )
|
|
721
275
|
this.elPopupInner.appendChild(this.elPopup.firstChild);
|
|
722
276
|
if (this.elPopup.append(this.elPopupInner), this.elPopup.classList.add("top-popup-wrapper"), this.options.class) {
|
|
723
|
-
const
|
|
724
|
-
this.elPopup.classList.add(...
|
|
277
|
+
const r = this.options.class.split(" ");
|
|
278
|
+
this.elPopup.classList.add(...r);
|
|
725
279
|
}
|
|
726
280
|
this.options.notch && (this.elPopup.classList.add("with_notch"), this.elPopup.insertAdjacentHTML("beforeend", '<i class="notch notch-border"></i><i class="notch"></i>')), await this.vueOpen(), this.elPopupHeader = this.elPopupInner.querySelector(".top-popup_header"), this.elPopupWidget = this.elPopupInner.querySelector(".top-popup_widget"), this.elPopupBody = this.elPopupInner.querySelector(".top-popup_content"), this.elPopupFooter = this.elPopupInner.querySelector(".top-popup_footer");
|
|
727
281
|
const p = !!this.elPopup.querySelector('[data-widget="search"]');
|
|
728
282
|
if (this.options.isFullScreen && !p) {
|
|
729
|
-
const
|
|
730
|
-
!this.elPopupHeader &&
|
|
283
|
+
const r = P();
|
|
284
|
+
!this.elPopupHeader && r.Common.Close && (this.elPopupHeader = i.genEl("i", { class: "top-popup_header" }), this.elPopupInner.prepend(this.elPopupHeader), this.elPopupHeader.prepend(i.genEl("i", { class: "a closer" }, r.Common.Close)), this.elPopupHeader.append(i.genEl("i", { class: "top-popup_headerButton" })));
|
|
731
285
|
}
|
|
732
|
-
|
|
286
|
+
i.storage(this.elPopup, v.componentName, this), this.options.frontSelector && (this.elFront = document.querySelector(this.options.frontSelector)), this.elFront || (this.elFront = this.el.closest(".top-popup-front")), this.elFront || (this.elFront = document.body), this.elPopup instanceof HTMLElement && (this.elPopup.style.width = this.el.offsetWidth + "px", this.elPopup.style.height = this.el.offsetHeight + "px", this.elPopup.style.top = this.el.offsetTop + "px", this.elPopup.style.right = parseInt(this.el.style.right || "0") + "px", this.elPopup.style.bottom = parseInt(this.el.style.bottom || "0") + "px"), (n = this.el.parentElement) == null || n.insertBefore(this.elPopup, this.el), this.elPopup.classList.remove("template"), this.options.invertX && this.elPopup.classList.add("invert-x");
|
|
733
287
|
let o = !!this.el.closest(".modal-header");
|
|
734
288
|
o || (o = !!this.el.closest("#top_panel")), o || (o = !!this.el.closest("#secondmenu")), o && this.elPopup.classList.add("p-from-top"), setTimeout(() => {
|
|
735
|
-
var
|
|
736
|
-
return (
|
|
737
|
-
}), this.elFront && !this.elFront.matches("body") && (this.elFront.append(this.elPopup), this.shift.top =
|
|
289
|
+
var r;
|
|
290
|
+
return (r = this.elPopup) == null ? void 0 : r.classList.add("top-popup-wrapper-shown");
|
|
291
|
+
}), this.elFront && !this.elFront.matches("body") && (this.elFront.append(this.elPopup), this.shift.top = i.offset(this.el).top - this.el.offsetTop - i.offset(this.elFront).top, this.shift.left = i.offset(this.el).left - this.el.offsetLeft - i.offset(this.elFront).left, this.shift.top -= parseInt(this.el.style["margin-top"] || 0), this.shift.left -= parseInt(this.el.style["margin-left"] || 0), this.elPopup instanceof HTMLElement && (this.elPopup.style.top = parseInt(this.elPopup.style.top || "0") + this.shift.top + "px", this.elPopup.style.left = parseInt(this.elPopup.style.left || "0") + this.shift.left + "px")), this.$ && f.$ && this.$.trigger("aftershow.top-menu-popup", [f.$(this.elPopup)]), this.recalcPosition(), this.elPopup.setAttribute("tabindex", "0"), this.focus(), s.decoratorAfterOpen(this), this.mountEvents();
|
|
738
292
|
}
|
|
739
293
|
async mountJQuery() {
|
|
740
294
|
f.$ && (this.$ = f.$(this.el));
|
|
@@ -744,7 +298,7 @@ class v extends x {
|
|
|
744
298
|
*/
|
|
745
299
|
focus() {
|
|
746
300
|
let t;
|
|
747
|
-
this.elPopup && (t =
|
|
301
|
+
this.elPopup && (t = i.querySelectorVisible(this.elPopup, ".top-popup-autofocus"), t || (t = i.querySelectorVisible(this.elPopup, ":read-write, select:not(:disabled)")), t || (t = i.querySelectorVisible(this.elPopup, ".top-popup_footer .top-button")), t || (t = this.elPopup), t instanceof HTMLElement && t.focus(), setTimeout(() => {
|
|
748
302
|
t instanceof HTMLElement && t.focus();
|
|
749
303
|
}, this.options.transitionDuration));
|
|
750
304
|
}
|
|
@@ -757,8 +311,8 @@ class v extends x {
|
|
|
757
311
|
onMousedown(t) {
|
|
758
312
|
if (!this.elPopup || !(t.target instanceof Element) || !this.isFirstClick || (this.isFirstClick = !1, setTimeout(() => this.isFirstClick = !0), t instanceof MouseEvent && t.button !== 0))
|
|
759
313
|
return;
|
|
760
|
-
let p =
|
|
761
|
-
p && p !== this.elPopup || t.target.closest(".top-popup-front") && (p =
|
|
314
|
+
let p = i.querySelectorVisibleLast(document.body, ":scope > .top-popup-wrapper");
|
|
315
|
+
p && p !== this.elPopup || t.target.closest(".top-popup-front") && (p = i.querySelectorVisibleLast(t.target.closest(".top-popup-front"), ":scope > .top-popup-wrapper"), p && p !== this.elPopup) || this.elPopup.contains(t.target) || this.elPopup.closest(".ui-dialog") && !t.target.closest(".ui-dialog") || s.decoratorIsIgnoreOuterClick(t) || s.close(this.elPopup);
|
|
762
316
|
}
|
|
763
317
|
/**
|
|
764
318
|
* Закрыть другие Popup при фокусе на элемент формы в текущем
|
|
@@ -767,8 +321,8 @@ class v extends x {
|
|
|
767
321
|
if (t.target instanceof Element && t.target.matches("input") || this.isClosed)
|
|
768
322
|
return;
|
|
769
323
|
s.getAllVisible().forEach((o) => {
|
|
770
|
-
var e,
|
|
771
|
-
(e = this.elPopup) != null && e.contains(o) || ((
|
|
324
|
+
var e, n, r, u;
|
|
325
|
+
(e = this.elPopup) != null && e.contains(o) || ((n = this.popupParent) == null ? void 0 : n.elPopup) === o || ((u = (r = this.popupParent) == null ? void 0 : r.popupParent) == null ? void 0 : u.elPopup) === o || s.close(o);
|
|
772
326
|
});
|
|
773
327
|
}
|
|
774
328
|
/**
|
|
@@ -783,7 +337,7 @@ class v extends x {
|
|
|
783
337
|
* Контроль положения Popup при fixed позиционировании
|
|
784
338
|
*/
|
|
785
339
|
onResize() {
|
|
786
|
-
this.elPopup && this.elPopup.parentElement !== document.body && document.body.append(this.elPopup), this.elPopup instanceof HTMLElement && (this.elPopup.style.top =
|
|
340
|
+
this.elPopup && this.elPopup.parentElement !== document.body && document.body.append(this.elPopup), this.elPopup instanceof HTMLElement && (this.elPopup.style.top = i.offset(this.el).top + "px", this.elPopup.style.left = i.offset(this.el).left + "px");
|
|
787
341
|
}
|
|
788
342
|
unmount() {
|
|
789
343
|
super.unmount(), this.el instanceof HTMLElement && (this.el.dataset.topPopupOpened = ""), this.elActiveByDefault || this.el.classList.remove("top-active");
|
|
@@ -812,16 +366,16 @@ class v extends x {
|
|
|
812
366
|
}
|
|
813
367
|
const o = this.elPopup.getBoundingClientRect();
|
|
814
368
|
this.elPopup.style.setProperty("--top-popup-height", this.elPopup.offsetHeight + "px"), this.elPopup.style.setProperty("--top-popup-right-bounding", o.right + "px"), this.elPopup.style.setProperty("--top-popup-bottom-bounding", o.bottom + "px"), this.elPopup.style.setProperty("--top-popup-top", o.top + "px"), this.elPopup.style.setProperty("--top-popup-left", o.left + "px"), this.elPopupInner instanceof HTMLElement && (this.elPopupInner.style.maxWidth = "unset", this.elPopupInner.style.maxHeight = "unset");
|
|
815
|
-
let e = !1,
|
|
369
|
+
let e = !1, n = !1, r = !1, u = !1, l = o.left > window.innerWidth / 2, d = o.top > window.innerHeight / 2;
|
|
816
370
|
t === 4 && (l = !l), t === 1 && (d = !d);
|
|
817
371
|
const h = (b = this.elPopupInner) == null ? void 0 : b.getBoundingClientRect();
|
|
818
372
|
let a, c;
|
|
819
373
|
if (h) {
|
|
820
374
|
a = window.innerWidth - h.right, c = window.innerHeight - h.bottom;
|
|
821
375
|
const g = 8;
|
|
822
|
-
h.top < g && (e = !0), a < g && (
|
|
376
|
+
h.top < g && (e = !0), a < g && (n = !0), c < g && (r = !0), h.left < g && (u = !0);
|
|
823
377
|
}
|
|
824
|
-
e && (t === 0 || t === 1) && d && (t = 3),
|
|
378
|
+
e && (t === 0 || t === 1) && d && (t = 3), r && t === 3 && d && (t = 1), n && t === 2 && l && (t = 4), u && t === 4 && l && (t = 2), n && (t === 0 || t === 1 || t === 3) && this.elPopup.classList.add("invert-x"), r && (t === 2 || t === 4) && d && (t === 2 && !l && this.elPopup.classList.add("invert-y"), t === 4 && !l && this.elPopup.classList.add("invert-x"), this.elPopup.matches(".invert-y") || (t = 1)), this.elPopup.classList.remove("p0", "p1", "p2", "p3", "p4"), this.elPopup.classList.add("p" + t), this.elPopupInner instanceof HTMLElement && (this.elPopupInner.style.maxWidth = "", this.elPopupInner.style.maxHeight = ""), s.scrollToActive(this.elPopup);
|
|
825
379
|
}
|
|
826
380
|
onTouchmove(t) {
|
|
827
381
|
var p, o, e;
|
|
@@ -834,9 +388,9 @@ class v extends x {
|
|
|
834
388
|
close() {
|
|
835
389
|
var t;
|
|
836
390
|
this.isClosed || (this.isClosed = !0, this.$ && f.$ && this.elPopup && this.$.trigger("afterclose.top-menu-popup", [f.$(this.elPopup)]), !s.noClose && (this.unmount(), (t = this.elPopup) == null || t.classList.add("top-popup-wrapper-closed"), setTimeout(() => {
|
|
837
|
-
var e,
|
|
391
|
+
var e, n, r, u, l;
|
|
838
392
|
if (this.vueClose(), !this.elPopup) return;
|
|
839
|
-
this.options.useOriginal ? (this.elPopup.removeAttribute("style"), this.elPopup.classList.remove("top-popup-wrapper-shown", "top-popup-wrapper-closed"), this.elPopup.classList.add("template"), (e = this.elStartPosition) == null || e.append(this.elPopup), (
|
|
393
|
+
this.options.useOriginal ? (this.elPopup.removeAttribute("style"), this.elPopup.classList.remove("top-popup-wrapper-shown", "top-popup-wrapper-closed"), this.elPopup.classList.add("template"), (e = this.elStartPosition) == null || e.append(this.elPopup), (n = this.elPopup.querySelector("div.top-popup_content.top-column")) == null || n.classList.remove("top-column"), (r = this.elPopup.querySelector(".notch-border")) == null || r.remove(), (u = this.elPopup.querySelector(".notch")) == null || u.remove(), (l = this.elPopupInner) == null || l.replaceWith(...this.elPopupInner.childNodes), i.storageClear(this.elPopup)) : (i.storageClear(this.elPopup), this.elPopup.remove(), delete this.elPopup);
|
|
840
394
|
const p = s.getAllVisible(), o = p.length && p[p.length - 1];
|
|
841
395
|
o ? s.getPopup(o).focus() : document.documentElement.classList.remove("with_popup");
|
|
842
396
|
}, this.options.transitionDuration)));
|
|
@@ -859,4 +413,4 @@ export {
|
|
|
859
413
|
v as Popup,
|
|
860
414
|
v as default
|
|
861
415
|
};
|
|
862
|
-
//# sourceMappingURL=popup-
|
|
416
|
+
//# sourceMappingURL=popup-CBNL-Ixi.es.js.map
|