bt-core-app 2.2.4 → 2.2.5
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/_virtual/VAlert.sass.mjs +1 -0
- package/dist/_virtual/VAvatar.sass.mjs +1 -0
- package/dist/_virtual/VBtn.sass.mjs +1 -0
- package/dist/_virtual/VBtnGroup.sass.mjs +1 -0
- package/dist/_virtual/VBtnToggle.sass.mjs +1 -0
- package/dist/_virtual/VCard.sass.mjs +1 -0
- package/dist/_virtual/VDivider.sass.mjs +1 -0
- package/dist/_virtual/VIcon.sass.mjs +1 -0
- package/dist/_virtual/VImg.sass.mjs +1 -0
- package/dist/_virtual/VList.sass.mjs +1 -0
- package/dist/_virtual/VListItem.sass.mjs +1 -0
- package/dist/_virtual/VMenu.sass.mjs +1 -0
- package/dist/_virtual/VOverlay.sass.mjs +1 -0
- package/dist/_virtual/VProgressCircular.sass.mjs +1 -0
- package/dist/_virtual/VProgressLinear.sass.mjs +1 -0
- package/dist/_virtual/VResponsive.sass.mjs +1 -0
- package/dist/_virtual/VRipple.sass.mjs +1 -0
- package/dist/_virtual/VToolbar.sass.mjs +1 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlert.mjs +196 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAlert/VAlertTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VAvatar/VAvatar.mjs +92 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs +220 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnGroup/VBtnGroup.mjs +68 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VBtnToggle/VBtnToggle.mjs +57 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCard.mjs +180 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardActions.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardItem.mjs +118 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardText.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VCard/VCardTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDefaultsProvider/VDefaultsProvider.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs +82 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs +77 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VImg/VImg.mjs +248 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs +281 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListChildren.mjs +104 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListGroup.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs +312 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs +29 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs +5 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/VListSubheader.mjs +50 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VList/list.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs +132 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VMenu/shared.mjs +4 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs +291 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/locationStrategies.mjs +292 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/requestNewFrame.mjs +15 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/scrollStrategies.mjs +91 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/useActivator.mjs +179 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VOverlay/util/point.mjs +42 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs +129 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/VProgressLinear.mjs +195 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VProgressLinear/chunks.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VResponsive/VResponsive.mjs +56 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbar.mjs +167 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/VToolbar/VToolbarTitle.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/createTransition.mjs +113 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/dialog-transition.mjs +136 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/expand-transition.mjs +52 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/border.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/color.mjs +69 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/component.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/defaults.mjs +70 -45
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/delay.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/density.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/dimensions.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/display.mjs +23 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/elevation.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/focusTrap.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/forwardRefs.mjs +78 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/group.mjs +169 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/hydration.mjs +20 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/iconSizes.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/icons.mjs +73 -40
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/intersectionObserver.mjs +24 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/lazy.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/list-items.mjs +33 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/loader.mjs +38 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/locale.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/location.mjs +49 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/activeStrategies.mjs +102 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/nested.mjs +315 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/openStrategies.mjs +60 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/nested/selectStrategies.mjs +206 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/position.mjs +22 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/proxiedModel.mjs +35 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/resizeObserver.mjs +26 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/reveal.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/rounded.mjs +30 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/router.mjs +97 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/scopeId.mjs +12 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/selectLink.mjs +16 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/size.mjs +27 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/ssrBoot.mjs +17 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/stack.mjs +39 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/tag.mjs +10 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/teleport.mjs +21 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/theme.mjs +32 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/toggleScope.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/transition.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/composables/variant.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/click-outside/index.mjs +62 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/intersect/index.mjs +41 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/directives/ripple/index.mjs +183 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/anchor.mjs +53 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/animation.mjs +44 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/bindProps.mjs +36 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/box.mjs +73 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/color/APCA.mjs +19 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/colorUtils.mjs +141 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/console.mjs +12 -4
- package/dist/bt-core/core/node_modules/vuetify/lib/util/createSimpleFunctional.mjs +31 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/deepEqual.mjs +37 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/dom.mjs +14 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/easing.mjs +7 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getCurrentInstance.mjs +13 -6
- package/dist/bt-core/core/node_modules/vuetify/lib/util/getScrollParent.mjs +34 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/globals.mjs +7 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/helpers.mjs +301 -28
- package/dist/bt-core/core/node_modules/vuetify/lib/util/isFixedPosition.mjs +11 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/throttle.mjs +25 -0
- package/dist/bt-core/core/node_modules/vuetify/lib/util/useRender.mjs +8 -0
- package/dist/components/BT-Blade.vue.mjs +108 -97
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { useToggleScope as oe } from "../../composables/toggleScope.mjs";
|
|
2
|
+
import { ref as U, watch as z, onScopeDispose as ee, computed as X, nextTick as ne } from "vue";
|
|
3
|
+
import { anchorToPoint as Y, getOffset as ae } from "./util/point.mjs";
|
|
4
|
+
import { Box as I, getTargetBox as le, getElementBox as se, getOverflow as G } from "../../util/box.mjs";
|
|
5
|
+
import { isFixedPosition as fe } from "../../util/isFixedPosition.mjs";
|
|
6
|
+
import { parseAnchor as J, flipSide as N, flipAlign as k, flipCorner as K, getAxis as Q } from "../../util/anchor.mjs";
|
|
7
|
+
import { destructComputed as ce, CircularBuffer as ue, convertToUnit as F, clamp as Z } from "../../util/helpers.mjs";
|
|
8
|
+
import { getScrollParents as ve } from "../../util/getScrollParent.mjs";
|
|
9
|
+
import { propsFactory as he } from "../../util/propsFactory.mjs";
|
|
10
|
+
import { IN_BROWSER as me } from "../../util/globals.mjs";
|
|
11
|
+
import { deepEqual as T } from "../../util/deepEqual.mjs";
|
|
12
|
+
import { consoleError as ge } from "../../util/console.mjs";
|
|
13
|
+
import { nullifyTransforms as ye } from "../../util/animation.mjs";
|
|
14
|
+
const te = {
|
|
15
|
+
static: xe,
|
|
16
|
+
// specific viewport position, usually centered
|
|
17
|
+
connected: be
|
|
18
|
+
// connected to a certain element
|
|
19
|
+
}, We = he({
|
|
20
|
+
locationStrategy: {
|
|
21
|
+
type: [String, Function],
|
|
22
|
+
default: "static",
|
|
23
|
+
validator: (e) => typeof e == "function" || e in te
|
|
24
|
+
},
|
|
25
|
+
location: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "bottom"
|
|
28
|
+
},
|
|
29
|
+
origin: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: "auto"
|
|
32
|
+
},
|
|
33
|
+
offset: [Number, String, Array],
|
|
34
|
+
stickToTarget: Boolean,
|
|
35
|
+
viewportMargin: {
|
|
36
|
+
type: [Number, String],
|
|
37
|
+
default: 12
|
|
38
|
+
}
|
|
39
|
+
}, "VOverlay-location-strategies");
|
|
40
|
+
function ze(e, o) {
|
|
41
|
+
const h = U({}), a = U();
|
|
42
|
+
me && oe(() => !!(o.isActive.value && e.locationStrategy), (m) => {
|
|
43
|
+
var l, R;
|
|
44
|
+
z(() => e.locationStrategy, m), ee(() => {
|
|
45
|
+
window.removeEventListener("resize", E), visualViewport == null || visualViewport.removeEventListener("resize", M), visualViewport == null || visualViewport.removeEventListener("scroll", p), a.value = void 0;
|
|
46
|
+
}), window.addEventListener("resize", E, {
|
|
47
|
+
passive: !0
|
|
48
|
+
}), visualViewport == null || visualViewport.addEventListener("resize", M, {
|
|
49
|
+
passive: !0
|
|
50
|
+
}), visualViewport == null || visualViewport.addEventListener("scroll", p, {
|
|
51
|
+
passive: !0
|
|
52
|
+
}), typeof e.locationStrategy == "function" ? a.value = (l = e.locationStrategy(o, e, h)) == null ? void 0 : l.updateLocation : a.value = (R = te[e.locationStrategy](o, e, h)) == null ? void 0 : R.updateLocation;
|
|
53
|
+
});
|
|
54
|
+
function E(m) {
|
|
55
|
+
var l;
|
|
56
|
+
(l = a.value) == null || l.call(a, m);
|
|
57
|
+
}
|
|
58
|
+
function M(m) {
|
|
59
|
+
var l;
|
|
60
|
+
(l = a.value) == null || l.call(a, m);
|
|
61
|
+
}
|
|
62
|
+
function p(m) {
|
|
63
|
+
var l;
|
|
64
|
+
(l = a.value) == null || l.call(a, m);
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
contentStyles: h,
|
|
68
|
+
updateLocation: a
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function xe() {
|
|
72
|
+
}
|
|
73
|
+
function de(e, o) {
|
|
74
|
+
const h = ye(e);
|
|
75
|
+
return o ? h.x += parseFloat(e.style.right || 0) : h.x -= parseFloat(e.style.left || 0), h.y -= parseFloat(e.style.top || 0), h;
|
|
76
|
+
}
|
|
77
|
+
function be(e, o, h) {
|
|
78
|
+
(Array.isArray(e.target.value) || fe(e.target.value)) && Object.assign(h.value, {
|
|
79
|
+
position: "fixed",
|
|
80
|
+
top: 0,
|
|
81
|
+
[e.isRtl.value ? "right" : "left"]: 0
|
|
82
|
+
});
|
|
83
|
+
const {
|
|
84
|
+
preferredAnchor: E,
|
|
85
|
+
preferredOrigin: M
|
|
86
|
+
} = ce(() => {
|
|
87
|
+
const t = J(o.location, e.isRtl.value), r = o.origin === "overlap" ? t : o.origin === "auto" ? N(t) : J(o.origin, e.isRtl.value);
|
|
88
|
+
return t.side === r.side && t.align === k(r).align ? {
|
|
89
|
+
preferredAnchor: K(t),
|
|
90
|
+
preferredOrigin: K(r)
|
|
91
|
+
} : {
|
|
92
|
+
preferredAnchor: t,
|
|
93
|
+
preferredOrigin: r
|
|
94
|
+
};
|
|
95
|
+
}), [p, m, l, R] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((t) => X(() => {
|
|
96
|
+
const r = parseFloat(o[t]);
|
|
97
|
+
return isNaN(r) ? 1 / 0 : r;
|
|
98
|
+
})), x = X(() => {
|
|
99
|
+
if (Array.isArray(o.offset))
|
|
100
|
+
return o.offset;
|
|
101
|
+
if (typeof o.offset == "string") {
|
|
102
|
+
const t = o.offset.split(" ").map(parseFloat);
|
|
103
|
+
return t.length < 2 && t.push(0), t;
|
|
104
|
+
}
|
|
105
|
+
return typeof o.offset == "number" ? [o.offset, 0] : [0, 0];
|
|
106
|
+
});
|
|
107
|
+
let H = !1, C = -1;
|
|
108
|
+
const L = new ue(4), O = new ResizeObserver(() => {
|
|
109
|
+
if (!H)
|
|
110
|
+
return;
|
|
111
|
+
if (requestAnimationFrame((r) => {
|
|
112
|
+
r !== C && L.clear(), requestAnimationFrame((s) => {
|
|
113
|
+
C = s;
|
|
114
|
+
});
|
|
115
|
+
}), L.isFull) {
|
|
116
|
+
const r = L.values();
|
|
117
|
+
if (T(r.at(-1), r.at(-3)) && !T(r.at(-1), r.at(-2)))
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
const t = w();
|
|
121
|
+
t && L.push(t.flipped);
|
|
122
|
+
});
|
|
123
|
+
let y = new I({
|
|
124
|
+
x: 0,
|
|
125
|
+
y: 0,
|
|
126
|
+
width: 0,
|
|
127
|
+
height: 0
|
|
128
|
+
});
|
|
129
|
+
z(e.target, (t, r) => {
|
|
130
|
+
r && !Array.isArray(r) && O.unobserve(r), Array.isArray(t) ? T(t, r) || w() : t && O.observe(t);
|
|
131
|
+
}, {
|
|
132
|
+
immediate: !0
|
|
133
|
+
}), z(e.contentEl, (t, r) => {
|
|
134
|
+
r && O.unobserve(r), t && O.observe(t);
|
|
135
|
+
}, {
|
|
136
|
+
immediate: !0
|
|
137
|
+
}), ee(() => {
|
|
138
|
+
O.disconnect();
|
|
139
|
+
});
|
|
140
|
+
function w() {
|
|
141
|
+
if (H = !1, requestAnimationFrame(() => H = !0), !e.target.value || !e.contentEl.value)
|
|
142
|
+
return;
|
|
143
|
+
(Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (y = le(e.target.value));
|
|
144
|
+
const t = de(e.contentEl.value, e.isRtl.value), r = ve(e.contentEl.value), s = Number(o.viewportMargin);
|
|
145
|
+
r.length || (r.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (t.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), t.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
146
|
+
const f = r.reduce((n, c) => {
|
|
147
|
+
const i = se(c);
|
|
148
|
+
return n ? new I({
|
|
149
|
+
x: Math.max(n.left, i.left),
|
|
150
|
+
y: Math.max(n.top, i.top),
|
|
151
|
+
width: Math.min(n.right, i.right) - Math.max(n.left, i.left),
|
|
152
|
+
height: Math.min(n.bottom, i.bottom) - Math.max(n.top, i.top)
|
|
153
|
+
}) : i;
|
|
154
|
+
}, void 0);
|
|
155
|
+
o.stickToTarget ? (f.x += Math.min(s, y.x), f.y += Math.min(s, y.y), f.width = Math.max(f.width - s * 2, y.x + y.width - s), f.height = Math.max(f.height - s * 2, y.y + y.height - s)) : (f.x += s, f.y += s, f.width -= s * 2, f.height -= s * 2);
|
|
156
|
+
let g = {
|
|
157
|
+
anchor: E.value,
|
|
158
|
+
origin: M.value
|
|
159
|
+
};
|
|
160
|
+
function j(n) {
|
|
161
|
+
const c = new I(t), i = Y(n.anchor, y), u = Y(n.origin, c);
|
|
162
|
+
let {
|
|
163
|
+
x: d,
|
|
164
|
+
y: b
|
|
165
|
+
} = ae(i, u);
|
|
166
|
+
switch (n.anchor.side) {
|
|
167
|
+
case "top":
|
|
168
|
+
b -= x.value[0];
|
|
169
|
+
break;
|
|
170
|
+
case "bottom":
|
|
171
|
+
b += x.value[0];
|
|
172
|
+
break;
|
|
173
|
+
case "left":
|
|
174
|
+
d -= x.value[0];
|
|
175
|
+
break;
|
|
176
|
+
case "right":
|
|
177
|
+
d += x.value[0];
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
switch (n.anchor.align) {
|
|
181
|
+
case "top":
|
|
182
|
+
b -= x.value[1];
|
|
183
|
+
break;
|
|
184
|
+
case "bottom":
|
|
185
|
+
b += x.value[1];
|
|
186
|
+
break;
|
|
187
|
+
case "left":
|
|
188
|
+
d -= x.value[1];
|
|
189
|
+
break;
|
|
190
|
+
case "right":
|
|
191
|
+
d += x.value[1];
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
return c.x += d, c.y += b, c.width = Math.min(c.width, l.value), c.height = Math.min(c.height, R.value), {
|
|
195
|
+
overflows: G(c, f),
|
|
196
|
+
x: d,
|
|
197
|
+
y: b
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
let A = 0, P = 0;
|
|
201
|
+
const B = {
|
|
202
|
+
x: 0,
|
|
203
|
+
y: 0
|
|
204
|
+
}, V = {
|
|
205
|
+
x: !1,
|
|
206
|
+
y: !1
|
|
207
|
+
};
|
|
208
|
+
let ie = -1;
|
|
209
|
+
for (; ; ) {
|
|
210
|
+
if (ie++ > 10) {
|
|
211
|
+
ge("Infinite loop detected in connectedLocationStrategy");
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
const {
|
|
215
|
+
x: n,
|
|
216
|
+
y: c,
|
|
217
|
+
overflows: i
|
|
218
|
+
} = j(g);
|
|
219
|
+
A += n, P += c, t.x += n, t.y += c;
|
|
220
|
+
{
|
|
221
|
+
const u = Q(g.anchor), d = i.x.before || i.x.after, b = i.y.before || i.y.after;
|
|
222
|
+
let q = !1;
|
|
223
|
+
if (["x", "y"].forEach((v) => {
|
|
224
|
+
if (v === "x" && d && !V.x || v === "y" && b && !V.y) {
|
|
225
|
+
const S = {
|
|
226
|
+
anchor: {
|
|
227
|
+
...g.anchor
|
|
228
|
+
},
|
|
229
|
+
origin: {
|
|
230
|
+
...g.origin
|
|
231
|
+
}
|
|
232
|
+
}, D = v === "x" ? u === "y" ? k : N : u === "y" ? N : k;
|
|
233
|
+
S.anchor = D(S.anchor), S.origin = D(S.origin);
|
|
234
|
+
const {
|
|
235
|
+
overflows: W
|
|
236
|
+
} = j(S);
|
|
237
|
+
(W[v].before <= i[v].before && W[v].after <= i[v].after || W[v].before + W[v].after < (i[v].before + i[v].after) / 2) && (g = S, q = V[v] = !0);
|
|
238
|
+
}
|
|
239
|
+
}), q)
|
|
240
|
+
continue;
|
|
241
|
+
}
|
|
242
|
+
i.x.before && (A += i.x.before, t.x += i.x.before), i.x.after && (A -= i.x.after, t.x -= i.x.after), i.y.before && (P += i.y.before, t.y += i.y.before), i.y.after && (P -= i.y.after, t.y -= i.y.after);
|
|
243
|
+
{
|
|
244
|
+
const u = G(t, f);
|
|
245
|
+
B.x = f.width - u.x.before - u.x.after, B.y = f.height - u.y.before - u.y.after, A += u.x.before, t.x += u.x.before, P += u.y.before, t.y += u.y.before;
|
|
246
|
+
}
|
|
247
|
+
break;
|
|
248
|
+
}
|
|
249
|
+
const re = Q(g.anchor);
|
|
250
|
+
return Object.assign(h.value, {
|
|
251
|
+
"--v-overlay-anchor-origin": `${g.anchor.side} ${g.anchor.align}`,
|
|
252
|
+
transformOrigin: `${g.origin.side} ${g.origin.align}`,
|
|
253
|
+
// transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
|
|
254
|
+
top: F($(P)),
|
|
255
|
+
left: e.isRtl.value ? void 0 : F($(A)),
|
|
256
|
+
right: e.isRtl.value ? F($(-A)) : void 0,
|
|
257
|
+
minWidth: F(re === "y" ? Math.min(p.value, y.width) : p.value),
|
|
258
|
+
maxWidth: F(_(Z(B.x, p.value === 1 / 0 ? 0 : p.value, l.value))),
|
|
259
|
+
maxHeight: F(_(Z(B.y, m.value === 1 / 0 ? 0 : m.value, R.value)))
|
|
260
|
+
}), {
|
|
261
|
+
available: B,
|
|
262
|
+
contentBox: t,
|
|
263
|
+
flipped: V
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
return z(() => [E.value, M.value, o.offset, o.minWidth, o.minHeight, o.maxWidth, o.maxHeight], () => w()), ne(() => {
|
|
267
|
+
const t = w();
|
|
268
|
+
if (!t)
|
|
269
|
+
return;
|
|
270
|
+
const {
|
|
271
|
+
available: r,
|
|
272
|
+
contentBox: s
|
|
273
|
+
} = t;
|
|
274
|
+
s.height > r.y && requestAnimationFrame(() => {
|
|
275
|
+
w(), requestAnimationFrame(() => {
|
|
276
|
+
w();
|
|
277
|
+
});
|
|
278
|
+
});
|
|
279
|
+
}), {
|
|
280
|
+
updateLocation: w
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
function $(e) {
|
|
284
|
+
return Math.round(e * devicePixelRatio) / devicePixelRatio;
|
|
285
|
+
}
|
|
286
|
+
function _(e) {
|
|
287
|
+
return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
|
|
288
|
+
}
|
|
289
|
+
export {
|
|
290
|
+
We as makeLocationStrategyProps,
|
|
291
|
+
ze as useLocationStrategies
|
|
292
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
let n = !0;
|
|
2
|
+
const t = [];
|
|
3
|
+
function f(e) {
|
|
4
|
+
!n || t.length ? (t.push(e), r()) : (n = !1, e(), r());
|
|
5
|
+
}
|
|
6
|
+
let a = -1;
|
|
7
|
+
function r() {
|
|
8
|
+
cancelAnimationFrame(a), a = requestAnimationFrame(() => {
|
|
9
|
+
const e = t.shift();
|
|
10
|
+
e && e(), t.length ? r() : n = !0;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
f as requestNewFrame
|
|
15
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { watchEffect as g, effectScope as P, onScopeDispose as y } from "vue";
|
|
2
|
+
import { requestNewFrame as h } from "./requestNewFrame.mjs";
|
|
3
|
+
import { getScrollParents as v, hasScrollbar as k } from "../../util/getScrollParent.mjs";
|
|
4
|
+
import { propsFactory as E } from "../../util/propsFactory.mjs";
|
|
5
|
+
import { IN_BROWSER as w } from "../../util/globals.mjs";
|
|
6
|
+
import { convertToUnit as m } from "../../util/helpers.mjs";
|
|
7
|
+
const u = {
|
|
8
|
+
none: null,
|
|
9
|
+
close: F,
|
|
10
|
+
block: L,
|
|
11
|
+
reposition: A
|
|
12
|
+
}, W = E({
|
|
13
|
+
scrollStrategy: {
|
|
14
|
+
type: [String, Function],
|
|
15
|
+
default: "block",
|
|
16
|
+
validator: (e) => typeof e == "function" || e in u
|
|
17
|
+
}
|
|
18
|
+
}, "VOverlay-scroll-strategies");
|
|
19
|
+
function V(e, r) {
|
|
20
|
+
if (!w)
|
|
21
|
+
return;
|
|
22
|
+
let t;
|
|
23
|
+
g(async () => {
|
|
24
|
+
t == null || t.stop(), r.isActive.value && e.scrollStrategy && (t = P(), await new Promise((l) => setTimeout(l)), t.active && t.run(() => {
|
|
25
|
+
var l;
|
|
26
|
+
typeof e.scrollStrategy == "function" ? e.scrollStrategy(r, e, t) : (l = u[e.scrollStrategy]) == null || l.call(u, r, e, t);
|
|
27
|
+
}));
|
|
28
|
+
}), y(() => {
|
|
29
|
+
t == null || t.stop();
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function F(e) {
|
|
33
|
+
function r(t) {
|
|
34
|
+
e.isActive.value = !1;
|
|
35
|
+
}
|
|
36
|
+
b(d(e.target.value, e.contentEl.value), r);
|
|
37
|
+
}
|
|
38
|
+
function L(e, r) {
|
|
39
|
+
var c;
|
|
40
|
+
const t = (c = e.root.value) == null ? void 0 : c.offsetParent, l = d(e.target.value, e.contentEl.value), s = [.../* @__PURE__ */ new Set([...v(l, r.contained ? t : void 0), ...v(e.contentEl.value, r.contained ? t : void 0)])].filter((o) => !o.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, n = ((o) => k(o) && o)(t || document.documentElement);
|
|
41
|
+
n && e.root.value.classList.add("v-overlay--scroll-blocked"), s.forEach((o, p) => {
|
|
42
|
+
o.style.setProperty("--v-body-scroll-x", m(-o.scrollLeft)), o.style.setProperty("--v-body-scroll-y", m(-o.scrollTop)), o !== document.documentElement && o.style.setProperty("--v-scrollbar-offset", m(a)), o.classList.add("v-overlay-scroll-blocked");
|
|
43
|
+
}), y(() => {
|
|
44
|
+
s.forEach((o, p) => {
|
|
45
|
+
const i = parseFloat(o.style.getPropertyValue("--v-body-scroll-x")), f = parseFloat(o.style.getPropertyValue("--v-body-scroll-y")), S = o.style.scrollBehavior;
|
|
46
|
+
o.style.scrollBehavior = "auto", o.style.removeProperty("--v-body-scroll-x"), o.style.removeProperty("--v-body-scroll-y"), o.style.removeProperty("--v-scrollbar-offset"), o.classList.remove("v-overlay-scroll-blocked"), o.scrollLeft = -i, o.scrollTop = -f, o.style.scrollBehavior = S;
|
|
47
|
+
}), n && e.root.value.classList.remove("v-overlay--scroll-blocked");
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function A(e, r, t) {
|
|
51
|
+
let l = !1, s = -1, a = -1;
|
|
52
|
+
function n(c) {
|
|
53
|
+
h(() => {
|
|
54
|
+
var i, f;
|
|
55
|
+
const o = performance.now();
|
|
56
|
+
(f = (i = e.updateLocation).value) == null || f.call(i, c), l = (performance.now() - o) / (1e3 / 60) > 2;
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
a = (typeof requestIdleCallback > "u" ? (c) => c() : requestIdleCallback)(() => {
|
|
60
|
+
t.run(() => {
|
|
61
|
+
b(d(e.target.value, e.contentEl.value), (c) => {
|
|
62
|
+
l ? (cancelAnimationFrame(s), s = requestAnimationFrame(() => {
|
|
63
|
+
s = requestAnimationFrame(() => {
|
|
64
|
+
n(c);
|
|
65
|
+
});
|
|
66
|
+
})) : n(c);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
}), y(() => {
|
|
70
|
+
typeof cancelIdleCallback < "u" && cancelIdleCallback(a), cancelAnimationFrame(s);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function d(e, r) {
|
|
74
|
+
return Array.isArray(e) ? document.elementsFromPoint(...e).find((t) => !(r != null && r.contains(t))) : e ?? r;
|
|
75
|
+
}
|
|
76
|
+
function b(e, r) {
|
|
77
|
+
const t = [document, ...v(e)];
|
|
78
|
+
t.forEach((l) => {
|
|
79
|
+
l.addEventListener("scroll", r, {
|
|
80
|
+
passive: !0
|
|
81
|
+
});
|
|
82
|
+
}), y(() => {
|
|
83
|
+
t.forEach((l) => {
|
|
84
|
+
l.removeEventListener("scroll", r);
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
W as makeScrollStrategyProps,
|
|
90
|
+
V as useScrollStrategies
|
|
91
|
+
};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { VMenuSymbol as R } from "../VMenu/shared.mjs";
|
|
2
|
+
import { makeDelayProps as _, useDelay as j } from "../../composables/delay.mjs";
|
|
3
|
+
import { ref as b, computed as m, inject as w, watch as y, watchEffect as x, nextTick as F, effectScope as $, onScopeDispose as H, mergeProps as M } from "vue";
|
|
4
|
+
import { bindProps as I, unbindProps as q } from "../../util/bindProps.mjs";
|
|
5
|
+
import { propsFactory as L } from "../../util/propsFactory.mjs";
|
|
6
|
+
import { getCurrentInstance as W } from "../../util/getCurrentInstance.mjs";
|
|
7
|
+
import { templateRef as A, matchesSelector as X } from "../../util/helpers.mjs";
|
|
8
|
+
import { IN_BROWSER as Y } from "../../util/globals.mjs";
|
|
9
|
+
const te = L({
|
|
10
|
+
target: [String, Object],
|
|
11
|
+
activator: [String, Object],
|
|
12
|
+
activatorProps: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default: () => ({})
|
|
15
|
+
},
|
|
16
|
+
openOnClick: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: void 0
|
|
19
|
+
},
|
|
20
|
+
openOnHover: Boolean,
|
|
21
|
+
openOnFocus: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: void 0
|
|
24
|
+
},
|
|
25
|
+
closeOnContentClick: Boolean,
|
|
26
|
+
..._()
|
|
27
|
+
}, "VOverlay-activator");
|
|
28
|
+
function ne(t, f) {
|
|
29
|
+
let {
|
|
30
|
+
isActive: o,
|
|
31
|
+
isTop: s,
|
|
32
|
+
contentEl: v
|
|
33
|
+
} = f;
|
|
34
|
+
const u = W("useActivator"), i = b();
|
|
35
|
+
let r = !1, n = !1, a = !0;
|
|
36
|
+
const l = m(() => t.openOnFocus || t.openOnFocus == null && t.openOnHover), B = m(() => t.openOnClick || t.openOnClick == null && !t.openOnHover && !l.value), {
|
|
37
|
+
runOpenDelay: d,
|
|
38
|
+
runCloseDelay: O
|
|
39
|
+
} = j(t, (e) => {
|
|
40
|
+
e === (t.openOnHover && r || l.value && n) && !(t.openOnHover && o.value && !s.value) && (o.value !== e && (a = !0), o.value = e);
|
|
41
|
+
}), E = b(), p = {
|
|
42
|
+
onClick: (e) => {
|
|
43
|
+
e.stopPropagation(), i.value = e.currentTarget || e.target, o.value || (E.value = [e.clientX, e.clientY]), o.value = !o.value;
|
|
44
|
+
},
|
|
45
|
+
onMouseenter: (e) => {
|
|
46
|
+
r = !0, i.value = e.currentTarget || e.target, d();
|
|
47
|
+
},
|
|
48
|
+
onMouseleave: (e) => {
|
|
49
|
+
r = !1, O();
|
|
50
|
+
},
|
|
51
|
+
onFocus: (e) => {
|
|
52
|
+
X(e.target, ":focus-visible") !== !1 && (n = !0, e.stopPropagation(), i.value = e.currentTarget || e.target, d());
|
|
53
|
+
},
|
|
54
|
+
onBlur: (e) => {
|
|
55
|
+
n = !1, e.stopPropagation(), O({
|
|
56
|
+
minDelay: 1
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
}, k = m(() => {
|
|
60
|
+
const e = {};
|
|
61
|
+
return B.value && (e.onClick = p.onClick), t.openOnHover && (e.onMouseenter = p.onMouseenter, e.onMouseleave = p.onMouseleave), l.value && (e.onFocus = p.onFocus, e.onBlur = p.onBlur), e;
|
|
62
|
+
}), D = m(() => {
|
|
63
|
+
const e = {};
|
|
64
|
+
if (t.openOnHover && (e.onMouseenter = () => {
|
|
65
|
+
r = !0, d();
|
|
66
|
+
}, e.onMouseleave = () => {
|
|
67
|
+
r = !1, O();
|
|
68
|
+
}), l.value && (e.onFocusin = (c) => {
|
|
69
|
+
c.target.matches(":focus-visible") && (n = !0, d());
|
|
70
|
+
}, e.onFocusout = () => {
|
|
71
|
+
n = !1, O({
|
|
72
|
+
minDelay: 1
|
|
73
|
+
});
|
|
74
|
+
}), t.closeOnContentClick) {
|
|
75
|
+
const c = w(R, null);
|
|
76
|
+
e.onClick = () => {
|
|
77
|
+
o.value = !1, c == null || c.closeParents();
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
return e;
|
|
81
|
+
}), S = m(() => {
|
|
82
|
+
const e = {};
|
|
83
|
+
return t.openOnHover && (e.onMouseenter = () => {
|
|
84
|
+
a && (r = !0, a = !1, d());
|
|
85
|
+
}, e.onMouseleave = () => {
|
|
86
|
+
r = !1, O();
|
|
87
|
+
}), e;
|
|
88
|
+
});
|
|
89
|
+
y(s, (e) => {
|
|
90
|
+
var c;
|
|
91
|
+
e && (t.openOnHover && !r && (!l.value || !n) || l.value && !n && (!t.openOnHover || !r)) && !((c = v.value) != null && c.contains(document.activeElement)) && (o.value = !1);
|
|
92
|
+
}), y(o, (e) => {
|
|
93
|
+
e || setTimeout(() => {
|
|
94
|
+
E.value = void 0;
|
|
95
|
+
});
|
|
96
|
+
}, {
|
|
97
|
+
flush: "post"
|
|
98
|
+
});
|
|
99
|
+
const P = A();
|
|
100
|
+
x(() => {
|
|
101
|
+
P.value && F(() => {
|
|
102
|
+
i.value = P.el;
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
const C = A(), h = m(() => t.target === "cursor" && E.value ? E.value : C.value ? C.el : T(t.target, u) || i.value), N = m(() => Array.isArray(h.value) ? void 0 : h.value);
|
|
106
|
+
let g;
|
|
107
|
+
return y(() => !!t.activator, (e) => {
|
|
108
|
+
e && Y ? (g = $(), g.run(() => {
|
|
109
|
+
z(t, u, {
|
|
110
|
+
activatorEl: i,
|
|
111
|
+
activatorEvents: k
|
|
112
|
+
});
|
|
113
|
+
})) : g && g.stop();
|
|
114
|
+
}, {
|
|
115
|
+
flush: "post",
|
|
116
|
+
immediate: !0
|
|
117
|
+
}), H(() => {
|
|
118
|
+
g == null || g.stop();
|
|
119
|
+
}), {
|
|
120
|
+
activatorEl: i,
|
|
121
|
+
activatorRef: P,
|
|
122
|
+
target: h,
|
|
123
|
+
targetEl: N,
|
|
124
|
+
targetRef: C,
|
|
125
|
+
activatorEvents: k,
|
|
126
|
+
contentEvents: D,
|
|
127
|
+
scrimEvents: S
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
function z(t, f, o) {
|
|
131
|
+
let {
|
|
132
|
+
activatorEl: s,
|
|
133
|
+
activatorEvents: v
|
|
134
|
+
} = o;
|
|
135
|
+
y(() => t.activator, (n, a) => {
|
|
136
|
+
if (a && n !== a) {
|
|
137
|
+
const l = r(a);
|
|
138
|
+
l && i(l);
|
|
139
|
+
}
|
|
140
|
+
n && F(() => u());
|
|
141
|
+
}, {
|
|
142
|
+
immediate: !0
|
|
143
|
+
}), y(() => t.activatorProps, () => {
|
|
144
|
+
u();
|
|
145
|
+
}), H(() => {
|
|
146
|
+
i();
|
|
147
|
+
});
|
|
148
|
+
function u() {
|
|
149
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : r(), a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t.activatorProps;
|
|
150
|
+
n && I(n, M(v.value, a));
|
|
151
|
+
}
|
|
152
|
+
function i() {
|
|
153
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : r(), a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t.activatorProps;
|
|
154
|
+
n && q(n, M(v.value, a));
|
|
155
|
+
}
|
|
156
|
+
function r() {
|
|
157
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : t.activator;
|
|
158
|
+
const a = T(n, f);
|
|
159
|
+
return s.value = (a == null ? void 0 : a.nodeType) === Node.ELEMENT_NODE ? a : void 0, s.value;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
function T(t, f) {
|
|
163
|
+
var s, v;
|
|
164
|
+
if (!t)
|
|
165
|
+
return;
|
|
166
|
+
let o;
|
|
167
|
+
if (t === "parent") {
|
|
168
|
+
let u = (v = (s = f == null ? void 0 : f.proxy) == null ? void 0 : s.$el) == null ? void 0 : v.parentNode;
|
|
169
|
+
for (; u != null && u.hasAttribute("data-no-activator"); )
|
|
170
|
+
u = u.parentNode;
|
|
171
|
+
o = u;
|
|
172
|
+
} else
|
|
173
|
+
typeof t == "string" ? o = document.querySelector(t) : "$el" in t ? o = t.$el : o = t;
|
|
174
|
+
return o;
|
|
175
|
+
}
|
|
176
|
+
export {
|
|
177
|
+
te as makeActivatorProps,
|
|
178
|
+
ne as useActivator
|
|
179
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
function h(e, t) {
|
|
2
|
+
return {
|
|
3
|
+
x: e.x + t.x,
|
|
4
|
+
y: e.y + t.y
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
function d(e, t) {
|
|
8
|
+
return {
|
|
9
|
+
x: e.x - t.x,
|
|
10
|
+
y: e.y - t.y
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
function g(e, t) {
|
|
14
|
+
if (e.side === "top" || e.side === "bottom") {
|
|
15
|
+
const {
|
|
16
|
+
side: n,
|
|
17
|
+
align: i
|
|
18
|
+
} = e, r = i === "left" ? 0 : i === "center" ? t.width / 2 : i === "right" ? t.width : i, s = n === "top" ? 0 : n === "bottom" ? t.height : n;
|
|
19
|
+
return h({
|
|
20
|
+
x: r,
|
|
21
|
+
y: s
|
|
22
|
+
}, t);
|
|
23
|
+
} else if (e.side === "left" || e.side === "right") {
|
|
24
|
+
const {
|
|
25
|
+
side: n,
|
|
26
|
+
align: i
|
|
27
|
+
} = e, r = n === "left" ? 0 : n === "right" ? t.width : n, s = i === "top" ? 0 : i === "center" ? t.height / 2 : i === "bottom" ? t.height : i;
|
|
28
|
+
return h({
|
|
29
|
+
x: r,
|
|
30
|
+
y: s
|
|
31
|
+
}, t);
|
|
32
|
+
}
|
|
33
|
+
return h({
|
|
34
|
+
x: t.width / 2,
|
|
35
|
+
y: t.height / 2
|
|
36
|
+
}, t);
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
g as anchorToPoint,
|
|
40
|
+
h as elementToViewport,
|
|
41
|
+
d as getOffset
|
|
42
|
+
};
|