@nmorph/nmorph-ui-kit 3.0.3 → 3.0.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/assets/icons/chevron-right.svg.js +2 -2
- package/dist/assets/icons/hand.svg.js +10 -28
- package/dist/assets/icons/mic.svg.js +6 -6
- package/dist/assets/icons/mute.svg.js +6 -6
- package/dist/assets/icons/pin.svg.js +5 -5
- package/dist/assets/icons/video-camera-off.svg.js +6 -6
- package/dist/components/basic/nmorph-scroll/NmorphScroll.css +1 -1
- package/dist/components/basic/nmorph-scroll/NmorphScroll.vue2.js +25 -20
- package/dist/components/data/nmorph-card/NmorphCard.css +1 -1
- package/dist/components/data/nmorph-card/NmorphCard.vue2.js +19 -17
- package/dist/components/data/nmorph-carousel/NmorphCarousel.css +1 -1
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue.js +10 -10
- package/dist/components/data/nmorph-carousel/NmorphCarousel.vue2.js +23 -20
- package/dist/components/data/nmorph-file-card/NmorphFileCard.vue2.js +7 -7
- package/dist/components/data/nmorph-image/NmorphImage.vue2.js +1 -1
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.css +1 -1
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.js +5 -5
- package/dist/components/data/nmorph-media-gallery/NmorphMediaGallery.vue2.js +184 -145
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.css +1 -1
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue.js +77 -82
- package/dist/components/data/nmorph-media-tile/NmorphMediaTile.vue2.js +56 -34
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue.js +87 -91
- package/dist/components/data/nmorph-pagination/NmorphPagination.vue2.js +71 -44
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue.js +4 -4
- package/dist/components/data/nmorph-video-preview/NmorphVideoPreview.vue2.js +25 -25
- package/dist/components/feedback/nmorph-guide/NmorphGuide.vue2.js +66 -61
- package/dist/components/feedback/nmorph-guide/NmorphGuideStep.vue.js +25 -23
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.css +1 -1
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue.js +88 -48
- package/dist/components/feedback/nmorph-tooltip/NmorphTooltip.vue2.js +75 -59
- package/dist/components/form/nmorph-file-upload/NmorphFileUpload.css +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.css +1 -1
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue.js +128 -95
- package/dist/components/form/nmorph-time-picker/NmorphTimePicker.vue2.js +73 -71
- package/dist/components/navigation/nmorph-stepper/NmorphStepper.css +1 -1
- package/dist/components/navigation/nmorph-stepper/NmorphStepper.vue.js +49 -26
- package/dist/index.umd.js +50 -50
- package/dist/package.json.js +1 -1
- package/dist/src/components/basic/nmorph-scroll/NmorphScroll.vue.d.ts +1 -0
- package/dist/src/components/basic/nmorph-scroll/types.d.ts +1 -0
- package/dist/src/components/data/nmorph-card/NmorphCard.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-card/types.d.ts +1 -0
- package/dist/src/components/data/nmorph-media-gallery/NmorphMediaGallery.vue.d.ts +5 -1
- package/dist/src/components/data/nmorph-media-gallery/types.d.ts +8 -2
- package/dist/src/components/data/nmorph-media-tile/NmorphMediaTile.vue.d.ts +2 -1
- package/dist/src/components/data/nmorph-media-tile/types.d.ts +1 -1
- package/dist/src/components/data/nmorph-pagination/NmorphPagination.vue.d.ts +1 -0
- package/dist/src/components/data/nmorph-pagination/types.d.ts +1 -0
- package/dist/src/components/data/nmorph-qr-code/NmorphQRCode.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-alert/NmorphAlert.vue.d.ts +1 -1
- package/dist/src/components/feedback/nmorph-guide/NmorphGuide.vue.d.ts +2 -0
- package/dist/src/components/feedback/nmorph-guide/types.d.ts +4 -0
- package/dist/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue.d.ts +2 -0
- package/dist/src/components/feedback/nmorph-tooltip/types.d.ts +2 -0
- package/dist/src/components/form/nmorph-slider/NmorphSlider.vue.d.ts +10 -2
- package/dist/src/components/form/nmorph-switch/NmorphSwitch.vue.d.ts +1 -1
- package/dist/src/components/navigation/nmorph-context-menu/NmorphContextMenu.vue.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
import './NmorphTooltip.css';
|
|
2
|
-
import
|
|
3
|
-
import { openBlock as
|
|
2
|
+
import h from "./NmorphTooltip.vue2.js";
|
|
3
|
+
import { openBlock as t, createElementBlock as e, normalizeStyle as c, normalizeClass as a, createElementVNode as n, renderSlot as d, Fragment as y, createBlock as p, Transition as _, withCtx as f, createCommentVNode as l, toDisplayString as m, Teleport as v, createVNode as k } from "vue";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import C from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
6
|
+
const T = {
|
|
7
7
|
ref: "slotDOMRef",
|
|
8
8
|
class: "nmorph-tooltip__trigger"
|
|
9
|
-
},
|
|
9
|
+
}, P = { class: "nmorph-tooltip__shadow-content" }, g = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "nmorph-tooltip__triangle"
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
class: "nmorph-tooltip__info-content"
|
|
16
|
-
}, E = { class: "nmorph-tooltip__shadow-content" }, M = { key: 0 };
|
|
17
|
-
function b(l, a, i, o, u, w) {
|
|
18
|
-
return e(), t(
|
|
12
|
+
}, x = { key: 1 }, w = { class: "nmorph-tooltip__shadow-content" }, B = { key: 0 }, E = { class: "nmorph-tooltip__shadow-content" }, M = { key: 0 };
|
|
13
|
+
function b(r, s, i, o, N, R) {
|
|
14
|
+
return t(), e(
|
|
19
15
|
"div",
|
|
20
16
|
{
|
|
21
|
-
class:
|
|
22
|
-
style:
|
|
17
|
+
class: a(o.modifiers),
|
|
18
|
+
style: c(o.styles)
|
|
23
19
|
},
|
|
24
20
|
[
|
|
25
21
|
n(
|
|
@@ -38,77 +34,81 @@ function b(l, a, i, o, u, w) {
|
|
|
38
34
|
[
|
|
39
35
|
n(
|
|
40
36
|
"div",
|
|
41
|
-
|
|
37
|
+
T,
|
|
42
38
|
[
|
|
43
|
-
|
|
39
|
+
d(r.$slots, "default")
|
|
44
40
|
],
|
|
45
41
|
512
|
|
46
42
|
/* NEED_PATCH */
|
|
47
43
|
),
|
|
48
|
-
o.props.disabled
|
|
44
|
+
!o.props.disabled && !o.teleportTooltip ? (t(), e(
|
|
49
45
|
y,
|
|
50
46
|
{ key: 0 },
|
|
51
47
|
[
|
|
52
|
-
o.props.forceCoordinate ? (
|
|
48
|
+
o.props.forceCoordinate ? (t(), p(_, {
|
|
53
49
|
key: 0,
|
|
54
50
|
name: "opacity"
|
|
55
51
|
}, {
|
|
56
|
-
default:
|
|
57
|
-
o.shouldRenderTooltip ? (
|
|
52
|
+
default: f(() => [
|
|
53
|
+
o.shouldRenderTooltip ? (t(), e(
|
|
58
54
|
"div",
|
|
59
55
|
{
|
|
60
56
|
key: 0,
|
|
61
57
|
ref: "tooltipBody",
|
|
62
|
-
class:
|
|
63
|
-
style:
|
|
58
|
+
class: a(o.tooltipContentClass),
|
|
59
|
+
style: c({ left: i.forceCoordinate?.x, bottom: i.forceCoordinate?.y })
|
|
64
60
|
},
|
|
65
61
|
[
|
|
66
|
-
n("div",
|
|
67
|
-
o.props.forceCoordinate ?
|
|
68
|
-
o.props.text ? (
|
|
62
|
+
n("div", P, [
|
|
63
|
+
o.props.forceCoordinate ? l("v-if", !0) : (t(), e("div", g)),
|
|
64
|
+
o.props.text ? (t(), e(
|
|
69
65
|
"span",
|
|
70
|
-
|
|
71
|
-
|
|
66
|
+
x,
|
|
67
|
+
m(i.text),
|
|
72
68
|
1
|
|
73
69
|
/* TEXT */
|
|
74
|
-
)) :
|
|
70
|
+
)) : d(r.$slots, "content", { key: 2 })
|
|
75
71
|
])
|
|
76
72
|
],
|
|
77
|
-
|
|
78
|
-
/* STYLE */
|
|
79
|
-
)) :
|
|
73
|
+
6
|
|
74
|
+
/* CLASS, STYLE */
|
|
75
|
+
)) : l("v-if", !0)
|
|
80
76
|
]),
|
|
81
77
|
_: 3
|
|
82
78
|
/* FORWARDED */
|
|
83
|
-
})) : (
|
|
79
|
+
})) : (t(), p(_, {
|
|
84
80
|
key: 1,
|
|
85
81
|
name: "opacity"
|
|
86
82
|
}, {
|
|
87
|
-
default:
|
|
88
|
-
o.shouldRenderTooltip ? (
|
|
83
|
+
default: f(() => [
|
|
84
|
+
o.shouldRenderTooltip ? (t(), e(
|
|
89
85
|
"div",
|
|
90
|
-
|
|
86
|
+
{
|
|
87
|
+
key: 0,
|
|
88
|
+
ref: "tooltipBody",
|
|
89
|
+
class: a(o.tooltipContentClass)
|
|
90
|
+
},
|
|
91
91
|
[
|
|
92
|
-
n("div",
|
|
93
|
-
|
|
92
|
+
n("div", w, [
|
|
93
|
+
s[0] || (s[0] = n(
|
|
94
94
|
"div",
|
|
95
95
|
{ class: "nmorph-tooltip__triangle" },
|
|
96
96
|
null,
|
|
97
97
|
-1
|
|
98
98
|
/* CACHED */
|
|
99
99
|
)),
|
|
100
|
-
o.props.text ? (
|
|
100
|
+
o.props.text ? (t(), e(
|
|
101
101
|
"span",
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
B,
|
|
103
|
+
m(i.text),
|
|
104
104
|
1
|
|
105
105
|
/* TEXT */
|
|
106
|
-
)) :
|
|
106
|
+
)) : d(r.$slots, "content", { key: 1 })
|
|
107
107
|
])
|
|
108
108
|
],
|
|
109
|
-
|
|
110
|
-
/*
|
|
111
|
-
)) :
|
|
109
|
+
2
|
|
110
|
+
/* CLASS */
|
|
111
|
+
)) : l("v-if", !0)
|
|
112
112
|
]),
|
|
113
113
|
_: 3
|
|
114
114
|
/* FORWARDED */
|
|
@@ -116,17 +116,57 @@ function b(l, a, i, o, u, w) {
|
|
|
116
116
|
],
|
|
117
117
|
64
|
|
118
118
|
/* STABLE_FRAGMENT */
|
|
119
|
-
))
|
|
119
|
+
)) : l("v-if", !0)
|
|
120
120
|
],
|
|
121
121
|
544
|
|
122
122
|
/* NEED_HYDRATION, NEED_PATCH */
|
|
123
|
-
)
|
|
123
|
+
),
|
|
124
|
+
o.teleportTooltip ? (t(), p(v, {
|
|
125
|
+
key: 0,
|
|
126
|
+
to: o.props.teleportTo
|
|
127
|
+
}, [
|
|
128
|
+
k(_, { name: "opacity" }, {
|
|
129
|
+
default: f(() => [
|
|
130
|
+
o.shouldRenderTooltip ? (t(), e(
|
|
131
|
+
"div",
|
|
132
|
+
{
|
|
133
|
+
key: 0,
|
|
134
|
+
ref: "tooltipBody",
|
|
135
|
+
class: a(o.tooltipContentClass),
|
|
136
|
+
style: c(o.tooltipContentStyle)
|
|
137
|
+
},
|
|
138
|
+
[
|
|
139
|
+
n("div", E, [
|
|
140
|
+
s[1] || (s[1] = n(
|
|
141
|
+
"div",
|
|
142
|
+
{ class: "nmorph-tooltip__triangle" },
|
|
143
|
+
null,
|
|
144
|
+
-1
|
|
145
|
+
/* CACHED */
|
|
146
|
+
)),
|
|
147
|
+
o.props.text ? (t(), e(
|
|
148
|
+
"span",
|
|
149
|
+
M,
|
|
150
|
+
m(i.text),
|
|
151
|
+
1
|
|
152
|
+
/* TEXT */
|
|
153
|
+
)) : d(r.$slots, "content", { key: 1 })
|
|
154
|
+
])
|
|
155
|
+
],
|
|
156
|
+
6
|
|
157
|
+
/* CLASS, STYLE */
|
|
158
|
+
)) : l("v-if", !0)
|
|
159
|
+
]),
|
|
160
|
+
_: 3
|
|
161
|
+
/* FORWARDED */
|
|
162
|
+
})
|
|
163
|
+
], 8, ["to"])) : l("v-if", !0)
|
|
124
164
|
],
|
|
125
165
|
6
|
|
126
166
|
/* CLASS, STYLE */
|
|
127
167
|
);
|
|
128
168
|
}
|
|
129
|
-
const
|
|
169
|
+
const O = /* @__PURE__ */ C(h, [["render", b], ["__file", "/builds/ketjo/nmorph/library/src/components/feedback/nmorph-tooltip/NmorphTooltip.vue"]]);
|
|
130
170
|
export {
|
|
131
|
-
|
|
171
|
+
O as default
|
|
132
172
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './NmorphTooltip.css';
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { usePlacement as
|
|
4
|
-
import { useZIndex as
|
|
5
|
-
import { useModifiers as
|
|
6
|
-
import { createCssSizeVariables as
|
|
7
|
-
const
|
|
2
|
+
import { defineComponent as Z, ref as l, useSlots as $, computed as t, watch as H, onBeforeUnmount as J } from "vue";
|
|
3
|
+
import { usePlacement as K } from "../../../hooks/use-placement.js";
|
|
4
|
+
import { useZIndex as Q } from "../../../hooks/use-z-index.js";
|
|
5
|
+
import { useModifiers as X } from "../../../utils/create-modifiers.js";
|
|
6
|
+
import { createCssSizeVariables as ee } from "../../../utils/common.js";
|
|
7
|
+
const E = 600, ie = /* @__PURE__ */ Z({
|
|
8
8
|
__name: "NmorphTooltip",
|
|
9
9
|
props: {
|
|
10
10
|
text: { type: String, required: !1, default: "" },
|
|
@@ -17,60 +17,63 @@ const P = 600, $ = /* @__PURE__ */ j({
|
|
|
17
17
|
openDelay: { type: Number, required: !1, default: 0 },
|
|
18
18
|
closeDelay: { type: Number, required: !1, default: 0 },
|
|
19
19
|
zIndex: { type: Number, required: !1, default: void 0 },
|
|
20
|
+
teleportTo: { type: null, required: !1, default: "body" },
|
|
21
|
+
disabledTeleport: { type: Boolean, required: !1, default: !0 },
|
|
20
22
|
width: { type: [Number, String], required: !1, default: void 0 },
|
|
21
23
|
maxWidth: { type: [Number, String], required: !1, default: void 0 },
|
|
22
24
|
height: { type: [Number, String], required: !1, default: void 0 }
|
|
23
25
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const e =
|
|
26
|
+
setup(k, { expose: z }) {
|
|
27
|
+
const e = k, n = l(e.forceShow), I = l(null), q = l(null), T = l(null), x = $(), a = l(null), u = l(null), s = l(null), i = l("mouse"), f = l(!1), m = t(() => !!(e.text || x.content)), b = t(() => n.value && m.value && !e.disabled), { placement: g, placementCoords: S, placementReady: C } = K({
|
|
26
28
|
initialPlacement: e.position,
|
|
27
|
-
contentDOMElement:
|
|
28
|
-
relativeElement:
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
contentDOMElement: T,
|
|
30
|
+
relativeElement: q,
|
|
31
|
+
enabled: b
|
|
32
|
+
}), R = t(
|
|
33
|
+
() => X({
|
|
31
34
|
"nmorph-tooltip": [
|
|
32
|
-
|
|
35
|
+
g.value,
|
|
33
36
|
e.disabled && "disabled",
|
|
34
37
|
!!e.forceCoordinate?.x && !!e.forceCoordinate?.y && "force-coords"
|
|
35
38
|
]
|
|
36
39
|
})
|
|
37
|
-
),
|
|
38
|
-
n.value && clearTimeout(n.value), n.value = null;
|
|
39
|
-
}, c = () => {
|
|
40
|
+
), p = () => {
|
|
40
41
|
a.value && clearTimeout(a.value), a.value = null;
|
|
41
|
-
},
|
|
42
|
+
}, d = () => {
|
|
42
43
|
u.value && clearTimeout(u.value), u.value = null;
|
|
43
|
-
},
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
}, v = () => {
|
|
45
|
+
s.value && clearTimeout(s.value), s.value = null;
|
|
46
|
+
}, r = (o) => {
|
|
47
|
+
if (p(), d(), e.disabled || !m.value) {
|
|
48
|
+
n.value = !1;
|
|
46
49
|
return;
|
|
47
50
|
}
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
if (
|
|
51
|
+
n.value = o;
|
|
52
|
+
}, c = () => {
|
|
53
|
+
if (d(), !(e.disabled || !m.value)) {
|
|
51
54
|
if (e.openDelay <= 0) {
|
|
52
|
-
|
|
55
|
+
r(!0);
|
|
53
56
|
return;
|
|
54
57
|
}
|
|
55
|
-
|
|
58
|
+
p(), a.value = setTimeout(() => r(!0), e.openDelay);
|
|
56
59
|
}
|
|
57
60
|
}, h = () => {
|
|
58
61
|
if (!e.forceShow) {
|
|
59
|
-
if (
|
|
60
|
-
|
|
62
|
+
if (p(), e.closeDelay <= 0) {
|
|
63
|
+
r(!1);
|
|
61
64
|
return;
|
|
62
65
|
}
|
|
63
|
-
|
|
66
|
+
d(), u.value = setTimeout(() => r(!1), e.closeDelay);
|
|
64
67
|
}
|
|
65
68
|
}, y = () => {
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
e.trigger !== "hover" || i.value !== "mouse" ||
|
|
69
|
-
},
|
|
69
|
+
n.value ? h() : c();
|
|
70
|
+
}, L = () => {
|
|
71
|
+
e.trigger !== "hover" || i.value !== "mouse" || c();
|
|
72
|
+
}, W = () => {
|
|
70
73
|
e.trigger !== "hover" || i.value !== "mouse" || h();
|
|
71
|
-
},
|
|
72
|
-
if (
|
|
73
|
-
|
|
74
|
+
}, j = (o) => {
|
|
75
|
+
if (f.value) {
|
|
76
|
+
f.value = !1, o.preventDefault();
|
|
74
77
|
return;
|
|
75
78
|
}
|
|
76
79
|
if (e.disabled || e.trigger === "manual") return;
|
|
@@ -80,42 +83,55 @@ const P = 600, $ = /* @__PURE__ */ j({
|
|
|
80
83
|
return;
|
|
81
84
|
}
|
|
82
85
|
e.trigger === "click" && y();
|
|
83
|
-
},
|
|
84
|
-
i.value =
|
|
85
|
-
|
|
86
|
-
},
|
|
87
|
-
},
|
|
86
|
+
}, A = (o) => {
|
|
87
|
+
i.value = o.pointerType || "mouse", !(e.disabled || e.touch !== "longpress") && (o.pointerType !== "touch" && o.pointerType !== "pen" || (v(), s.value = setTimeout(() => {
|
|
88
|
+
f.value = !0, c();
|
|
89
|
+
}, E)));
|
|
90
|
+
}, F = () => {
|
|
88
91
|
v();
|
|
89
|
-
},
|
|
90
|
-
() =>
|
|
92
|
+
}, w = t(() => e.forceCoordinate ? "100%" : "auto"), D = Q(
|
|
93
|
+
() => n.value,
|
|
91
94
|
() => e.zIndex
|
|
92
|
-
),
|
|
93
|
-
"--nmorph-private-tooltip-root-width":
|
|
94
|
-
"--nmorph-private-tooltip-z-index":
|
|
95
|
-
...
|
|
95
|
+
), P = t(() => ({
|
|
96
|
+
"--nmorph-private-tooltip-root-width": w.value,
|
|
97
|
+
"--nmorph-private-tooltip-z-index": D.value,
|
|
98
|
+
...ee({
|
|
96
99
|
"--nmorph-private-tooltip-width": e.width,
|
|
97
100
|
"--nmorph-private-tooltip-max-width": e.maxWidth,
|
|
98
101
|
"--nmorph-private-tooltip-height": e.height
|
|
99
102
|
})
|
|
100
|
-
})),
|
|
101
|
-
|
|
103
|
+
})), N = t(
|
|
104
|
+
() => !e.disabledTeleport && !e.forceCoordinate && typeof document < "u"
|
|
105
|
+
), _ = t(() => N.value && b.value), B = t(() => g.value.split("-")[0]), G = t(() => [
|
|
106
|
+
"nmorph-tooltip__info-content",
|
|
107
|
+
`nmorph-tooltip__info-content--${B.value}`,
|
|
108
|
+
_.value && "nmorph-tooltip__info-content--teleported"
|
|
109
|
+
]), U = t(() => ({
|
|
110
|
+
...P.value,
|
|
111
|
+
..._.value ? {
|
|
112
|
+
left: S.value.x,
|
|
113
|
+
top: S.value.y,
|
|
114
|
+
visibility: C.value ? "visible" : "hidden"
|
|
115
|
+
} : {}
|
|
116
|
+
}));
|
|
117
|
+
H(
|
|
102
118
|
() => [e.forceShow, e.disabled],
|
|
103
|
-
([
|
|
104
|
-
const
|
|
105
|
-
if (
|
|
106
|
-
|
|
119
|
+
([o, M], V) => {
|
|
120
|
+
const Y = V?.[0] ?? !1;
|
|
121
|
+
if (M) {
|
|
122
|
+
r(!1);
|
|
107
123
|
return;
|
|
108
124
|
}
|
|
109
|
-
|
|
125
|
+
o ? r(!0) : Y && r(!1);
|
|
110
126
|
},
|
|
111
127
|
{ immediate: !0 }
|
|
112
|
-
),
|
|
113
|
-
|
|
114
|
-
}),
|
|
115
|
-
const
|
|
116
|
-
return Object.defineProperty(
|
|
128
|
+
), J(() => {
|
|
129
|
+
p(), d(), v();
|
|
130
|
+
}), z({ tooltipBody: T, open: c, close: h, toggle: y });
|
|
131
|
+
const O = { LONG_PRESS_DELAY_IN_MS: E, props: e, showTooltip: n, tooltipDOMRef: I, slotDOMRef: q, tooltipBody: T, slots: x, openTimer: a, closeTimer: u, longPressTimer: s, lastPointerType: i, suppressNextClick: f, hasTooltipContent: m, shouldRenderTooltip: b, placement: g, placementCoords: S, placementReady: C, modifiers: R, clearOpenTimer: p, clearCloseTimer: d, clearLongPressTimer: v, setTooltipOpen: r, open: c, close: h, toggle: y, handleMouseEnter: L, handleMouseLeave: W, handleClick: j, handlePointerDown: A, handlePointerEnd: F, rootWidth: w, zIndex: D, styles: P, canTeleportTooltip: N, teleportTooltip: _, placementSide: B, tooltipContentClass: G, tooltipContentStyle: U };
|
|
132
|
+
return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
|
|
117
133
|
}
|
|
118
134
|
});
|
|
119
135
|
export {
|
|
120
|
-
|
|
136
|
+
ie as default
|
|
121
137
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-file-upload{box-sizing:border-box;width:100%;min-width:0}.nmorph-file-upload .nmorph-file-upload__trigger{position:relative;width:100%;min-width:0}.nmorph-file-upload input{display:none}.nmorph-file-upload .nmorph-file-upload__list{width:100%;min-width:0;margin-top:var(--indentation-03)}.nmorph-file-upload .nmorph-file-upload__list>div{box-sizing:border-box;width:100%;min-width:0}.nmorph-file-upload .nmorph-file-upload__file{display:flex;gap:var(--indentation-02);align-items:center;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin-bottom:
|
|
1
|
+
.nmorph-file-upload{box-sizing:border-box;width:100%;min-width:0}.nmorph-file-upload .nmorph-file-upload__trigger{position:relative;width:100%;min-width:0}.nmorph-file-upload input{display:none}.nmorph-file-upload .nmorph-file-upload__list{width:100%;min-width:0;margin-top:var(--indentation-03)}.nmorph-file-upload .nmorph-file-upload__list>div{display:grid;gap:var(--indentation-02);box-sizing:border-box;width:100%;min-width:0}.nmorph-file-upload .nmorph-file-upload__file{display:flex;gap:var(--indentation-02);align-items:center;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin-bottom:0;padding:var(--indentation-02) var(--indentation-03);overflow:hidden;background:var(--nmorph-main-color);border-radius:var(--default-border-radius);box-shadow:var(--base-shadow-width) var(--base-shadow-width) var(--base-shadow-blur) var(--nmorph-dark-shade-color),calc(-1 * var(--base-shadow-width)) calc(-1 * var(--base-shadow-width)) var(--base-shadow-blur) var(--nmorph-light-shade-color)}.nmorph-file-upload.nmorph-file-upload--compact .nmorph-file-upload__file{padding:var(--indentation-01) var(--indentation-02)}.nmorph-file-upload.nmorph-file-upload--layout-grid .nmorph-file-upload__list>div{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:var(--indentation-02)}.nmorph-file-upload.nmorph-file-upload--layout-grid .nmorph-file-upload__file{margin-bottom:0}.nmorph-file-upload.nmorph-file-upload--layout-inline .nmorph-file-upload__list>div{display:flex;flex-wrap:wrap;gap:var(--indentation-02)}.nmorph-file-upload.nmorph-file-upload--layout-inline .nmorph-file-upload__file{width:auto;margin-bottom:0}.nmorph-file-upload .nmorph-file-upload__file>.nmorph-image-preview{flex:0 0 auto}.nmorph-file-upload .nmorph-file-upload__file>.nmorph-video-preview,.nmorph-file-upload .nmorph-file-upload__file>.nmorph-audio-preview,.nmorph-file-upload .nmorph-file-upload__file>.nmorph-file-card{flex:1 1 0;min-width:0}.nmorph-file-upload .nmorph-file-upload__file-info{display:flex;flex:1 1 0;gap:var(--indentation-02);align-items:center;min-width:0;max-width:100%;overflow:hidden}.nmorph-file-upload .nmorph-file-upload__file-info>.nmorph-icon{flex:0 0 auto}.nmorph-file-upload .nmorph-file-upload__file-name{display:block;flex:1 1 0;width:var(--nmorph-private-file-upload-name-width, auto);min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.nmorph-file-upload .nmorph-file-upload__remove-file{flex:0 0 auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.nmorph-time-picker{--nmorph-private-time-picker-width:
|
|
1
|
+
.nmorph-time-picker{--nmorph-private-time-picker-width: fit-content;position:relative;display:inline-block;width:var(--nmorph-private-time-picker-width);min-width:0;height:var(--nmorph-private-control-height)}.nmorph-time-picker .nmorph-time-picker__input{display:inline-flex;gap:8px;align-items:center;box-sizing:border-box;width:100%;min-width:0;height:100%;padding:0 var(--default-indentation-input);overflow:hidden;background:var(--nmorph-main-color);border-radius:var(--default-border-radius);box-shadow:var(--nmorph-shadow-outset);cursor:pointer}.nmorph-time-picker .nmorph-time-picker__native{position:absolute;width:0;height:0;padding:0;border:0;opacity:0;pointer-events:none}.nmorph-time-picker .nmorph-time-picker__clock-icon{flex:0 0 auto}.nmorph-time-picker .nmorph-time-picker__selected-value{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transform:translateY(var(--nmorph-private-control-text-offset-y))}.nmorph-time-picker .nmorph-time-picker__clear{display:inline-flex;flex:0 0 auto;justify-content:center;align-items:center;width:18px;height:18px;padding:0;color:var(--nmorph-text-color);background:transparent;border:0;cursor:pointer}.nmorph-time-picker.nmorph-time-picker--open .nmorph-time-picker__input{box-shadow:var(--nmorph-shadow-inset)}.nmorph-time-picker.nmorph-time-picker--focus{outline:2px solid var(--nmorph-accent-color)}.nmorph-time-picker.nmorph-time-picker--placeholder .nmorph-time-picker__selected-value{color:var(--nmorph-placeholder-text-color)}.nmorph-time-picker.nmorph-time-picker--disabled{cursor:not-allowed;opacity:.6}.nmorph-time-picker.nmorph-time-picker--disabled .nmorph-time-picker__input{pointer-events:none}.nmorph-time-picker__panel{display:grid;grid-template-columns:minmax(64px,1fr) 8px minmax(64px,1fr);gap:8px;align-items:start;box-sizing:border-box;width:100%;padding:10px;color:var(--nmorph-text-color)}.nmorph-time-picker__panel--with-seconds{grid-template-columns:minmax(64px,1fr) 8px minmax(64px,1fr) 8px minmax(64px,1fr)}.nmorph-time-picker__column{min-width:0;padding:4px;background:color-mix(in srgb,var(--nmorph-text-color) 4%,transparent);border-radius:var(--default-border-radius)}.nmorph-time-picker__column .nmorph-scroll{display:grid;grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}.nmorph-time-picker__column .nmorph-scroll__viewport{padding:0 2px 0 0}.nmorph-time-picker__separator{display:flex;justify-content:center;align-items:flex-start;min-width:8px;padding-top:calc((var(--nmorph-private-control-height) - 1em) / 2 + 2px);color:var(--nmorph-semi-contrast-text-color);font-weight:var(--font-weight-bold);line-height:1}.nmorph-time-picker__option{width:100%;min-width:0}.nmorph-time-picker__option .nmorph-button__content{width:100%;min-width:0;padding-right:var(--indentation-02);padding-left:var(--indentation-02);background:transparent}.nmorph-time-picker__option.nmorph-button--plain .nmorph-button__content:not(:disabled,[loading=true]):hover{background:color-mix(in srgb,var(--nmorph-accent-color) 14%,transparent)}.nmorph-time-picker__option.nmorph-button.nmorph-button--active .nmorph-button__content{color:var(--nmorph-focus-text-color);background:var(--nmorph-accent-color);border-color:var(--nmorph-accent-color);box-shadow:none}.nmorph-time-picker__option.nmorph-button.nmorph-button--active .nmorph-button__content span,.nmorph-time-picker__option.nmorph-button.nmorph-button--active .nmorph-button__content .nmorph-icon{color:var(--nmorph-focus-text-color);--nmorph-private-icon-color: var(--nmorph-focus-text-color)}
|