@quoreadmin/ui 1.5.0 → 1.6.0
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/index.css +1 -1
- package/dist/index.js +48 -46
- package/dist/index10.js +26 -26
- package/dist/index100.js +119 -6
- package/dist/index102.js +128 -25
- package/dist/index103.js +10 -0
- package/dist/index105.js +39 -0
- package/dist/{index104.js → index107.js} +2 -2
- package/dist/{index106.js → index109.js} +1 -1
- package/dist/index11.js +2 -2
- package/dist/{index108.js → index111.js} +4 -4
- package/dist/{index110.js → index113.js} +7 -7
- package/dist/{index112.js → index115.js} +1 -1
- package/dist/{index114.js → index117.js} +5 -5
- package/dist/index12.js +2 -2
- package/dist/{index118.js → index121.js} +1 -1
- package/dist/{index126.js → index129.js} +1 -1
- package/dist/index13.js +2 -2
- package/dist/{index128.js → index131.js} +1 -1
- package/dist/{index132.js → index135.js} +1 -1
- package/dist/{index136.js → index139.js} +111 -110
- package/dist/index14.js +2 -2
- package/dist/{index138.js → index141.js} +1 -1
- package/dist/{index140.js → index143.js} +11 -11
- package/dist/index15.js +2 -2
- package/dist/{index148.js → index151.js} +1 -1
- package/dist/{index150.js → index153.js} +1 -1
- package/dist/{index152.js → index155.js} +2 -2
- package/dist/index157.js +205 -111
- package/dist/index16.js +2 -2
- package/dist/index160.js +110 -87
- package/dist/index161.js +478 -844
- package/dist/index162.js +5520 -36
- package/dist/index163.js +90 -279
- package/dist/index164.js +833 -122
- package/dist/index165.js +36 -1197
- package/dist/index166.js +268 -760
- package/dist/index167.js +146 -1304
- package/dist/index168.js +1151 -228
- package/dist/index169.js +754 -88
- package/dist/index17.js +2 -2
- package/dist/index170.js +1308 -2
- package/dist/index171.js +259 -1359
- package/dist/index172.js +108 -0
- package/dist/index173.js +2 -18
- package/dist/index174.js +1372 -14
- package/dist/index176.js +8 -8
- package/dist/index177.js +10 -17
- package/dist/index178.js +18 -759
- package/dist/index179.js +18 -1100
- package/dist/index18.js +2 -2
- package/dist/index180.js +22 -1231
- package/dist/index181.js +740 -11258
- package/dist/index182.js +1100 -36
- package/dist/index183.js +1200 -81
- package/dist/index184.js +11276 -43
- package/dist/index185.js +36 -1190
- package/dist/{index94.js → index186.js} +4 -4
- package/dist/index187.js +44 -5938
- package/dist/index188.js +5830 -99
- package/dist/index189.js +188 -16
- package/dist/index19.js +2 -2
- package/dist/index190.js +25 -8
- package/dist/index191.js +16 -76
- package/dist/index192.js +1172 -235
- package/dist/index194.js +77 -26
- package/dist/index195.js +245 -55
- package/dist/index196.js +13655 -209
- package/dist/index197.js +26 -307
- package/dist/index198.js +43 -268
- package/dist/index199.js +237 -32
- package/dist/index2.js +2 -2
- package/dist/index20.js +2 -2
- package/dist/index200.js +301 -109
- package/dist/index201.js +287 -35
- package/dist/index202.js +88 -26
- package/dist/index203.js +407 -36
- package/dist/index204.js +22 -9
- package/dist/index205.js +31 -17
- package/dist/index206.js +116 -10
- package/dist/index207.js +35 -9
- package/dist/index208.js +26 -51
- package/dist/index209.js +34 -41
- package/dist/index21.js +2 -2
- package/dist/index210.js +9 -4
- package/dist/index211.js +18 -38
- package/dist/index212.js +10 -21
- package/dist/index213.js +10 -88
- package/dist/index214.js +48 -404
- package/dist/index215.js +43 -22
- package/dist/index216.js +3 -3631
- package/dist/index217.js +38 -54
- package/dist/index218.js +21 -77
- package/dist/index219.js +122 -47
- package/dist/index22.js +2 -2
- package/dist/index220.js +33 -210
- package/dist/index221.js +79 -9
- package/dist/index222.js +20 -57
- package/dist/index223.js +20 -61
- package/dist/index224.js +20 -54
- package/dist/index225.js +20 -75
- package/dist/index226.js +19 -722
- package/dist/index227.js +160 -38
- package/dist/index228.js +225 -61
- package/dist/index229.js +37 -11
- package/dist/index23.js +61 -170
- package/dist/index230.js +9 -704
- package/dist/index231.js +153 -812
- package/dist/index232.js +11 -13
- package/dist/index233.js +12 -12
- package/dist/index234.js +198 -19
- package/dist/index235.js +48 -814
- package/dist/index236.js +34 -702
- package/dist/index237.js +39 -175
- package/dist/index238.js +3632 -20
- package/dist/index239.js +55 -20
- package/dist/index24.js +173 -10
- package/dist/index240.js +77 -22
- package/dist/index241.js +52 -20
- package/dist/index242.js +215 -20
- package/dist/index243.js +10 -20
- package/dist/index244.js +57 -3
- package/dist/index245.js +55 -181
- package/dist/index246.js +49 -128
- package/dist/index247.js +68 -154
- package/dist/index248.js +694 -1194
- package/dist/index249.js +34 -122
- package/dist/index25.js +9 -38
- package/dist/index250.js +64 -20
- package/dist/index251.js +11 -22
- package/dist/index252.js +705 -20
- package/dist/index253.js +820 -22
- package/dist/index254.js +21 -37
- package/dist/index255.js +15 -22
- package/dist/index256.js +6 -6
- package/dist/index257.js +836 -20
- package/dist/index258.js +702 -2
- package/dist/index259.js +176 -2
- package/dist/index26.js +36 -116
- package/dist/index260.js +21 -160
- package/dist/index261.js +20 -228
- package/dist/index262.js +19 -36
- package/dist/index263.js +3 -10
- package/dist/index264.js +186 -21
- package/dist/index265.js +102 -168
- package/dist/index266.js +1199 -46
- package/dist/index267.js +20 -34
- package/dist/index268.js +21 -39
- package/dist/index269.js +22 -80
- package/dist/index27.js +116 -22
- package/dist/index270.js +22 -13
- package/dist/index271.js +11 -11
- package/dist/index272.js +20 -253
- package/dist/index273.js +2 -8
- package/dist/index274.js +2 -138
- package/dist/index275.js +232 -62
- package/dist/index276.js +8 -3
- package/dist/index277.js +135 -24
- package/dist/index278.js +73 -225
- package/dist/index279.js +2 -6
- package/dist/index28.js +24 -158
- package/dist/index280.js +73 -128
- package/dist/index281.js +229 -62
- package/dist/index282.js +5 -86
- package/dist/index283.js +131 -26
- package/dist/index284.js +67 -8
- package/dist/index285.js +83 -71
- package/dist/index286.js +28 -3
- package/dist/index287.js +9 -2
- package/dist/index288.js +70 -78
- package/dist/index289.js +3 -53
- package/dist/index29.js +141 -264
- package/dist/index290.js +2 -6
- package/dist/index291.js +82 -4
- package/dist/index292.js +51 -176
- package/dist/index293.js +5 -62
- package/dist/index294.js +5 -75
- package/dist/index295.js +149 -1488
- package/dist/index296.js +55 -378
- package/dist/index297.js +75 -2731
- package/dist/index298.js +3 -86
- package/dist/index299.js +21 -3764
- package/dist/index3.js +2 -2
- package/dist/index30.js +279 -62
- package/dist/index300.js +50 -56
- package/dist/index301.js +26 -15
- package/dist/index302.js +21 -83
- package/dist/index303.js +22 -202
- package/dist/index304.js +16 -246
- package/dist/index305.js +16 -78
- package/dist/index306.js +21 -77
- package/dist/index307.js +1518 -22
- package/dist/index308.js +362 -911
- package/dist/index309.js +2731 -22
- package/dist/index31.js +64 -178
- package/dist/index310.js +85 -19
- package/dist/index311.js +3770 -20
- package/dist/index312.js +59 -68
- package/dist/index313.js +15 -19
- package/dist/index314.js +84 -19
- package/dist/index315.js +201 -53
- package/dist/index316.js +246 -22
- package/dist/index317.js +78 -21
- package/dist/index318.js +22 -63
- package/dist/index319.js +935 -2
- package/dist/index32.js +177 -38
- package/dist/index320.js +13 -17
- package/dist/index321.js +11 -13
- package/dist/index322.js +13 -15
- package/dist/index323.js +67 -14
- package/dist/index324.js +16 -14
- package/dist/index325.js +17 -21
- package/dist/index326.js +21 -8
- package/dist/index327.js +21 -12
- package/dist/index328.js +63 -55
- package/dist/index329.js +34 -9
- package/dist/index33.js +38 -49
- package/dist/index330.js +20 -13
- package/dist/index331.js +53 -55
- package/dist/index332.js +27 -50
- package/dist/index333.js +6 -30
- package/dist/index334.js +52 -2
- package/dist/index335.js +5 -4
- package/dist/index336.js +12 -2
- package/dist/index337.js +6 -22
- package/dist/index338.js +27 -40
- package/dist/index339.js +2 -2
- package/dist/index34.js +47 -30
- package/dist/index340.js +69 -10
- package/dist/index341.js +165 -18
- package/dist/index342.js +9 -16
- package/dist/index343.js +9 -9
- package/dist/index344.js +13 -9
- package/dist/index345.js +10 -2
- package/dist/index346.js +16 -8
- package/dist/index347.js +8 -9
- package/dist/index348.js +13 -14
- package/dist/index349.js +52 -18
- package/dist/index35.js +31 -28
- package/dist/index350.js +11 -55
- package/dist/index351.js +13 -28
- package/dist/index352.js +57 -6
- package/dist/index353.js +50 -50
- package/dist/index354.js +31 -6
- package/dist/index355.js +2 -12
- package/dist/index356.js +4 -6
- package/dist/index357.js +2 -28
- package/dist/index358.js +23 -2
- package/dist/index359.js +40 -69
- package/dist/index36.js +29 -13
- package/dist/index360.js +2 -167
- package/dist/index361.js +10 -36
- package/dist/index362.js +19 -19
- package/dist/index363.js +2 -20
- package/dist/index364.js +9 -64
- package/dist/index365.js +20 -37
- package/dist/index366.js +20 -13
- package/dist/index367.js +64 -7
- package/dist/index368.js +37 -31
- package/dist/index369.js +30 -10
- package/dist/index37.js +15 -43
- package/dist/index370.js +10 -3
- package/dist/index371.js +3 -3
- package/dist/index372.js +3 -11
- package/dist/index373.js +13 -5
- package/dist/index374.js +7 -33
- package/dist/index375.js +11 -30
- package/dist/index376.js +5 -28
- package/dist/index377.js +33 -61
- package/dist/index378.js +29 -96
- package/dist/index379.js +26 -99
- package/dist/index38.js +42 -37
- package/dist/index380.js +61 -91
- package/dist/index381.js +97 -16
- package/dist/index382.js +100 -2
- package/dist/index383.js +91 -2
- package/dist/index384.js +17 -2
- package/dist/index385.js +3 -17
- package/dist/index386.js +2 -13
- package/dist/index387.js +2 -6
- package/dist/index388.js +17 -32
- package/dist/index389.js +15 -0
- package/dist/index39.js +36 -26
- package/dist/index390.js +8 -0
- package/dist/index391.js +34 -0
- package/dist/index4.js +2 -2
- package/dist/index40.js +25 -32
- package/dist/index41.js +32 -37
- package/dist/index42.js +37 -1068
- package/dist/index43.js +1045 -309
- package/dist/index44.js +326 -146
- package/dist/index45.js +155 -18
- package/dist/index46.js +16 -36
- package/dist/index47.js +38 -68
- package/dist/index48.js +67 -60
- package/dist/index49.js +56 -175
- package/dist/index5.js +2 -2
- package/dist/index50.js +173 -77
- package/dist/index51.js +79 -200
- package/dist/index52.js +206 -68
- package/dist/index53.js +69 -20
- package/dist/index54.js +20 -11
- package/dist/index55.js +10 -6
- package/dist/index56.js +5 -209
- package/dist/index57.js +210 -12
- package/dist/index58.js +12 -184
- package/dist/index59.js +176 -68
- package/dist/index6.js +2 -2
- package/dist/index60.js +79 -0
- package/dist/index62.js +7 -63
- package/dist/index63.js +65 -0
- package/dist/index7.js +2 -2
- package/dist/{index70.js → index71.js} +2 -2
- package/dist/index75.js +40 -301
- package/dist/index76.js +326 -0
- package/dist/{index77.js → index78.js} +1 -1
- package/dist/index8.js +3 -3
- package/dist/{index79.js → index80.js} +7 -7
- package/dist/{index81.js → index82.js} +1 -1
- package/dist/index84.js +22 -126
- package/dist/index85.js +140 -0
- package/dist/{index86.js → index87.js} +5 -5
- package/dist/{index88.js → index89.js} +5 -5
- package/dist/index9.js +2 -2
- package/dist/index95.js +117 -0
- package/dist/index97.js +20 -25
- package/dist/index98.js +34 -0
- package/dist/src/components/calendar/calendar.d.ts +65 -37
- package/dist/src/components/calendar/calendar.stories.d.ts +13 -6
- package/dist/src/components/event/event.d.ts +356 -0
- package/dist/src/components/event/event.stories.d.ts +33 -0
- package/dist/src/components/event/event.vue.d.ts +2 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +1 -1
- package/dist/src/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/index154.js +0 -210
- package/dist/index158.js +0 -497
- package/dist/index159.js +0 -5524
- package/dist/index175.js +0 -20
- package/dist/index193.js +0 -13686
- package/dist/index61.js +0 -9
- package/dist/index74.js +0 -62
- package/dist/index83.js +0 -36
- package/dist/index96.js +0 -29
- package/dist/index99.js +0 -142
- /package/dist/{index116.js → index119.js} +0 -0
- /package/dist/{index120.js → index123.js} +0 -0
- /package/dist/{index122.js → index125.js} +0 -0
- /package/dist/{index124.js → index127.js} +0 -0
- /package/dist/{index130.js → index133.js} +0 -0
- /package/dist/{index134.js → index137.js} +0 -0
- /package/dist/{index142.js → index145.js} +0 -0
- /package/dist/{index144.js → index147.js} +0 -0
- /package/dist/{index146.js → index149.js} +0 -0
- /package/dist/{index64.js → index65.js} +0 -0
- /package/dist/{index66.js → index67.js} +0 -0
- /package/dist/{index68.js → index69.js} +0 -0
- /package/dist/{index72.js → index73.js} +0 -0
- /package/dist/{index90.js → index91.js} +0 -0
- /package/dist/{index92.js → index93.js} +0 -0
package/dist/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import d from "./
|
|
1
|
+
import d from "./index63.js";
|
|
2
2
|
import { resolveComponent as c, createElementBlock as t, openBlock as i, normalizeClass as o, createElementVNode as s, createCommentVNode as a, createVNode as y, renderSlot as n, toDisplayString as r } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import v from "./
|
|
4
|
+
import v from "./index62.js";
|
|
5
5
|
const u = ["role"], k = { class: "activity-item__content-wrapper" }, f = { key: 0 }, h = { class: "activity-item__content-text" }, _ = { key: 0 }, w = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "activity-item__time"
|
package/dist/index30.js
CHANGED
|
@@ -1,69 +1,286 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { resolveComponent as p, createElementBlock as i, openBlock as l, normalizeClass as s, createElementVNode as a, createCommentVNode as t, mergeProps as m, renderSlot as f, normalizeProps as c, guardReactiveProps as C, createVNode as k, withModifiers as v, createBlock as d } from "vue";
|
|
1
|
+
import C from "./index113.js";
|
|
2
|
+
import { resolveComponent as c, createElementBlock as n, openBlock as t, createVNode as s, createCommentVNode as d, withCtx as l, createBlock as m, createElementVNode as a, normalizeStyle as V, normalizeClass as p, renderSlot as $, Fragment as q, renderList as I, createTextVNode as v, toDisplayString as u, withModifiers as T, Transition as y } from "vue";
|
|
4
3
|
/* empty css */
|
|
5
|
-
import
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
4
|
+
import N from "./index62.js";
|
|
5
|
+
const F = ["id"], M = ["id"], P = ["src", "alt"], S = ["id", "alt", "src"], H = ["id", "onMouseover", "onClick"], j = ["alt", "src"], B = {
|
|
6
|
+
key: 1,
|
|
7
|
+
class: "bg-gray-00 hover:bg-gray-10 cursor-pointer p-3 h-16 md:h-20 max-w-[14rem] rounded-lg border border-gray-20 flex items-center"
|
|
8
|
+
}, G = { class: "grow text-ellipsis overflow-hidden" }, U = { class: "text-inkwell-30 bold leading-normal text-nowrap text-ellipsis text-sm overflow-hidden -mt-1" }, R = { class: "uppercase text-xxs" }, D = {
|
|
9
|
+
key: 2,
|
|
10
|
+
class: "image-overlay absolute top-0 left-0 w-full h-full cursor-pointer"
|
|
11
|
+
}, E = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "absolute top-0 left-0 z-1 w-full h-full cursor-pointer bg-black/50 rounded-lg flex items-center justify-center"
|
|
14
|
+
}, L = {
|
|
15
|
+
key: 1,
|
|
16
|
+
width: "100%",
|
|
17
|
+
height: "auto",
|
|
18
|
+
controls: "",
|
|
19
|
+
class: "bg-black"
|
|
20
|
+
}, Q = ["src"], O = { class: "flex items-center flex-col p-12" }, Z = ["src"], J = ["data", "type"], K = { class: "flex items-center flex-col p-12" };
|
|
21
|
+
function W(e, i, X, Y, _, x) {
|
|
22
|
+
const r = c("q-icon"), k = c("Galleria"), b = c("q-badge"), w = c("q-tooltip"), f = c("q-menu"), z = c("q-pdf-viewer"), A = c("q-bottom-sheet");
|
|
23
|
+
return t(), n("div", {
|
|
24
|
+
id: e.id,
|
|
25
|
+
class: "q-image-gallery flex",
|
|
26
|
+
ref: "container"
|
|
12
27
|
}, [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
s(k, {
|
|
29
|
+
activeIndex: e.active,
|
|
30
|
+
"onUpdate:activeIndex": i[0] || (i[0] = (o) => e.active = o),
|
|
31
|
+
visible: e.showCarousel,
|
|
32
|
+
"onUpdate:visible": i[1] || (i[1] = (o) => e.showCarousel = o),
|
|
33
|
+
value: e.images,
|
|
34
|
+
numVisible: e.thumbnailsVisible,
|
|
35
|
+
circular: !0,
|
|
36
|
+
fullScreen: !0,
|
|
37
|
+
showItemNavigators: e.mq.md,
|
|
38
|
+
showThumbnailNavigators: !0,
|
|
39
|
+
showThumbnails: e.showThumbnails && e.mq.md,
|
|
40
|
+
showIndicators: !e.mq.md,
|
|
41
|
+
containerStyle: [{ height: "100vh" }],
|
|
42
|
+
"base-z-index": e.baseZIndex
|
|
43
|
+
}, {
|
|
44
|
+
closeicon: l(() => [
|
|
45
|
+
s(r, {
|
|
46
|
+
class: p(e.closeIconClasses),
|
|
47
|
+
icon: "times-circle",
|
|
48
|
+
type: "outline",
|
|
49
|
+
size: "lg",
|
|
50
|
+
color: "white"
|
|
51
|
+
}, null, 8, ["class"])
|
|
52
|
+
]),
|
|
53
|
+
item: l(({ item: o }) => [
|
|
54
|
+
a("div", {
|
|
55
|
+
id: `gallery-featured${o.id ? "-" + o.id : ""}`,
|
|
56
|
+
ref: "featuredPhoto",
|
|
57
|
+
class: "featured-image h-[80vh] overflow-hidden flex max-w-screen relative md:h-full w-screen items-center"
|
|
58
|
+
}, [
|
|
59
|
+
a("img", {
|
|
60
|
+
src: o?.url,
|
|
61
|
+
alt: o?.alt,
|
|
62
|
+
class: p(e.itemClasses),
|
|
63
|
+
style: V([
|
|
64
|
+
{ left: e.left, opacity: e.opacity },
|
|
65
|
+
`transform: scale(${e.scale})`
|
|
66
|
+
])
|
|
67
|
+
}, null, 14, P)
|
|
68
|
+
], 8, M)
|
|
69
|
+
]),
|
|
70
|
+
thumbnail: l(({ item: o }) => [
|
|
71
|
+
a("img", {
|
|
72
|
+
id: `gallery-image-thumbnail${o.id ? "-" + o.id : ""}`,
|
|
73
|
+
alt: o?.alt || "",
|
|
74
|
+
src: o?.url,
|
|
75
|
+
class: "rounded-lg block min-h-24 min-w-24 max-w-24 max-h-24 object-cover"
|
|
76
|
+
}, null, 8, S)
|
|
77
|
+
]),
|
|
78
|
+
previousitemicon: l(() => [
|
|
79
|
+
s(r, {
|
|
80
|
+
icon: "chevron-circle-left",
|
|
81
|
+
type: "outline",
|
|
36
82
|
size: "md",
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
83
|
+
color: "white"
|
|
84
|
+
})
|
|
85
|
+
]),
|
|
86
|
+
nextitemicon: l(() => [
|
|
87
|
+
s(r, {
|
|
88
|
+
icon: "chevron-circle-right",
|
|
89
|
+
type: "outline",
|
|
90
|
+
size: "md",
|
|
91
|
+
color: "white"
|
|
92
|
+
})
|
|
93
|
+
]),
|
|
94
|
+
previousthumbnailicon: l(() => [
|
|
95
|
+
e.images.length > e.thumbnailsVisible ? (t(), m(r, {
|
|
96
|
+
key: 0,
|
|
97
|
+
icon: "chevron-left",
|
|
98
|
+
type: "line",
|
|
99
|
+
size: "sm",
|
|
100
|
+
color: "white"
|
|
101
|
+
})) : d("", !0)
|
|
102
|
+
]),
|
|
103
|
+
nextthumbnailicon: l(() => [
|
|
104
|
+
e.images.length > e.thumbnailsVisible ? (t(), m(r, {
|
|
105
|
+
key: 0,
|
|
106
|
+
icon: "chevron-right",
|
|
107
|
+
type: "line",
|
|
108
|
+
size: "sm",
|
|
109
|
+
color: "white"
|
|
110
|
+
})) : d("", !0)
|
|
111
|
+
]),
|
|
112
|
+
_: 1
|
|
113
|
+
}, 8, ["activeIndex", "visible", "value", "numVisible", "showItemNavigators", "showThumbnails", "showIndicators", "base-z-index"]),
|
|
114
|
+
e.normalizedFiles ? (t(), n("div", {
|
|
115
|
+
key: 0,
|
|
116
|
+
class: p(e.thumbnailContainerClasses)
|
|
48
117
|
}, [
|
|
49
|
-
e
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
118
|
+
$(e.$slots, "actions", {}, void 0, !0),
|
|
119
|
+
(t(!0), n(q, null, I(e.normalizedFiles, (o, h) => (t(), n("div", {
|
|
120
|
+
ref_for: !0,
|
|
121
|
+
ref: "longPressRef",
|
|
122
|
+
key: o.id || o.name || h,
|
|
123
|
+
id: `gallery-file-thumbnail-${o.id ? o.id : h}`,
|
|
124
|
+
class: p([
|
|
125
|
+
"p-0 relative rounded-lg",
|
|
126
|
+
{ "shrink-0": e.deviceType !== "desktop" }
|
|
127
|
+
]),
|
|
128
|
+
onMouseover: (g) => e.hoveredIndex = Number(h),
|
|
129
|
+
onMouseleave: i[2] || (i[2] = (g) => e.hoveredIndex = null),
|
|
130
|
+
onClick: (g) => e.onClickThumbnail(h, o)
|
|
131
|
+
}, [
|
|
132
|
+
s(w, {
|
|
133
|
+
class: p(e.deviceType !== "desktop" && "!overflow-visible"),
|
|
134
|
+
controlled: e.deviceType !== "desktop",
|
|
135
|
+
position: "top"
|
|
136
|
+
}, {
|
|
137
|
+
trigger: l(() => [
|
|
138
|
+
o.type && o.type.includes("image") && !o.type.includes("tif") ? (t(), n("img", {
|
|
139
|
+
key: 0,
|
|
140
|
+
alt: o?.alt,
|
|
141
|
+
src: o?.url,
|
|
142
|
+
class: "rounded-lg cursor-pointer size-16 md:size-20 object-cover bg-gray-0 border-gray-20 border"
|
|
143
|
+
}, null, 8, j)) : (t(), n("div", B, [
|
|
144
|
+
s(r, {
|
|
145
|
+
icon: o.icon,
|
|
146
|
+
color: "inkwell-30",
|
|
147
|
+
class: "h-full -ml-1.5 mt-1 mr-1 rounded-lg shrink-0",
|
|
148
|
+
size: "xl"
|
|
149
|
+
}, null, 8, ["icon"]),
|
|
150
|
+
a("div", G, [
|
|
151
|
+
a("div", U, u(o.name), 1),
|
|
152
|
+
a("div", R, u(o.name.match(/([^.]+$)/)[0]), 1)
|
|
153
|
+
])
|
|
154
|
+
])),
|
|
155
|
+
e.deviceType !== "desktop" ? (t(), n("div", D)) : d("", !0),
|
|
156
|
+
e.showRemove && // user canRemove
|
|
157
|
+
(e.showOnHover && e.hoveredIndex === h && e.deviceType === "desktop" || e.deviceType !== "desktop") && !e.processing ? (t(), m(b, {
|
|
158
|
+
key: 3,
|
|
159
|
+
color: "inkwell-30",
|
|
160
|
+
shape: "circle",
|
|
161
|
+
class: "cursor-pointer absolute -top-2 -right-2 shadow-solid z-10",
|
|
162
|
+
onClick: T((g) => e.onRemoveFile(o), ["stop"])
|
|
163
|
+
}, {
|
|
164
|
+
icon: l(() => [
|
|
165
|
+
s(r, {
|
|
166
|
+
icon: "close",
|
|
167
|
+
size: "xs",
|
|
168
|
+
type: "line",
|
|
169
|
+
color: "white"
|
|
170
|
+
})
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["onClick"])) : d("", !0)
|
|
174
|
+
]),
|
|
175
|
+
content: l(() => [
|
|
176
|
+
v(u(o.name), 1)
|
|
177
|
+
]),
|
|
178
|
+
_: 2
|
|
179
|
+
}, 1032, ["class", "controlled"]),
|
|
180
|
+
s(y, { name: "fade" }, {
|
|
181
|
+
default: l(() => [
|
|
182
|
+
e.processing ? (t(), n("div", E, [...i[7] || (i[7] = [
|
|
183
|
+
a("svg", {
|
|
184
|
+
class: "animate-spin fill-white",
|
|
185
|
+
width: "20",
|
|
186
|
+
height: "20",
|
|
187
|
+
viewBox: "0 0 24 24"
|
|
188
|
+
}, [
|
|
189
|
+
a("path", { d: "M2 12a1 1 0 0 1 2 0 8 8 0 1 0 8-8 1 1 0 0 1 0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12z" })
|
|
190
|
+
], -1)
|
|
191
|
+
])])) : d("", !0)
|
|
192
|
+
]),
|
|
193
|
+
_: 1
|
|
194
|
+
})
|
|
195
|
+
], 42, H))), 128)),
|
|
196
|
+
s(y, { name: "fade" }, {
|
|
197
|
+
default: l(() => [
|
|
198
|
+
e.longPressedHook ? (t(), m(f, {
|
|
199
|
+
key: 0,
|
|
200
|
+
modelValue: e.longPressedHook,
|
|
201
|
+
"onUpdate:modelValue": i[3] || (i[3] = (o) => e.longPressedHook = o),
|
|
202
|
+
actions: e.menuActions,
|
|
203
|
+
links: e.linkActions,
|
|
204
|
+
"links-background": "light-gray",
|
|
205
|
+
"onClick:link": e.onClickMenuLink,
|
|
206
|
+
"onClick:action": i[4] || (i[4] = (o) => e.longPressedHook = !1)
|
|
207
|
+
}, null, 8, ["modelValue", "actions", "links", "onClick:link"])) : d("", !0)
|
|
208
|
+
]),
|
|
209
|
+
_: 1
|
|
210
|
+
})
|
|
211
|
+
], 2)) : d("", !0),
|
|
212
|
+
s(y, { name: "slide-up-fade" }, {
|
|
213
|
+
default: l(() => [
|
|
214
|
+
e.showFileViewer && e.activeAttachment ? (t(), m(A, {
|
|
215
|
+
key: 0,
|
|
216
|
+
id: "gallery-file-viewer",
|
|
217
|
+
modelValue: e.showFileViewer,
|
|
218
|
+
"onUpdate:modelValue": i[6] || (i[6] = (o) => e.showFileViewer = o),
|
|
219
|
+
"show-close-button": !1,
|
|
220
|
+
"content-class": "p-0",
|
|
221
|
+
"header-class": "border-b border-solid border-gray-20",
|
|
222
|
+
"title-class": "min-w-0 truncate"
|
|
223
|
+
}, {
|
|
224
|
+
header: l(() => [
|
|
225
|
+
v(u(e.activeAttachment.name), 1)
|
|
226
|
+
]),
|
|
227
|
+
headerAction: l(() => [
|
|
228
|
+
!e.activeAttachment.type.includes("video") && e.activeAttachment.type !== "audio/mpeg" && e.activeAttachment.type !== "application/pdf" ? (t(), m(r, {
|
|
229
|
+
key: 0,
|
|
230
|
+
icon: "arrow-to-bottom",
|
|
231
|
+
type: "line",
|
|
232
|
+
size: "md",
|
|
233
|
+
color: "inkwell-40",
|
|
234
|
+
class: "shrink-0 cursor-pointer",
|
|
235
|
+
onClick: i[5] || (i[5] = (o) => e.downloadDocument(e.activeAttachment))
|
|
236
|
+
})) : d("", !0)
|
|
237
|
+
]),
|
|
238
|
+
default: l(() => [
|
|
239
|
+
e.activeAttachment.type === "application/pdf" ? (t(), m(z, {
|
|
240
|
+
key: 0,
|
|
241
|
+
url: e.activeAttachment.url
|
|
242
|
+
}, null, 8, ["url"])) : e.activeAttachment.type.includes("video") ? (t(), n("video", L, [
|
|
243
|
+
a("source", {
|
|
244
|
+
src: e.activeAttachment.url,
|
|
245
|
+
type: "video/mp4"
|
|
246
|
+
}, null, 8, Q),
|
|
247
|
+
a("div", O, [
|
|
248
|
+
s(r, {
|
|
249
|
+
color: "inkwell-30",
|
|
250
|
+
icon: "mp4",
|
|
251
|
+
size: "xl"
|
|
252
|
+
}),
|
|
253
|
+
v(" " + u(e.activeAttachment.extension), 1)
|
|
254
|
+
])
|
|
255
|
+
])) : e.activeAttachment.type === "audio/mpeg" ? (t(), n("audio", {
|
|
256
|
+
key: 2,
|
|
257
|
+
controls: "",
|
|
258
|
+
src: e.activeAttachment.url,
|
|
259
|
+
class: "mx-auto my-6"
|
|
260
|
+
}, null, 8, Z)) : (t(), n("object", {
|
|
261
|
+
key: 3,
|
|
262
|
+
data: e.activeAttachment.url,
|
|
263
|
+
type: e.activeAttachment.type,
|
|
264
|
+
class: "w-full h-auto"
|
|
265
|
+
}, [
|
|
266
|
+
a("div", K, [
|
|
267
|
+
s(r, {
|
|
268
|
+
icon: e.activeAttachment.icon,
|
|
269
|
+
size: "xl",
|
|
270
|
+
color: "inkwell-30"
|
|
271
|
+
}, null, 8, ["icon"]),
|
|
272
|
+
v(" " + u(e.activeAttachment.extension), 1)
|
|
273
|
+
])
|
|
274
|
+
], 8, J))
|
|
275
|
+
]),
|
|
276
|
+
_: 1
|
|
277
|
+
}, 8, ["modelValue"])) : d("", !0)
|
|
278
|
+
]),
|
|
279
|
+
_: 1
|
|
280
|
+
})
|
|
281
|
+
], 8, F);
|
|
63
282
|
}
|
|
64
|
-
const
|
|
283
|
+
const le = /* @__PURE__ */ N(C, [["render", W], ["__scopeId", "data-v-ba42d8cf"]]);
|
|
65
284
|
export {
|
|
66
|
-
|
|
67
|
-
q as SHOW_PASSWORD_ICON,
|
|
68
|
-
w as default
|
|
285
|
+
le as default
|
|
69
286
|
};
|
package/dist/index300.js
CHANGED
|
@@ -1,62 +1,56 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
let s = r[l];
|
|
10
|
-
if (/^(cmd|meta|m)$/i.test(s))
|
|
11
|
-
a = !0;
|
|
12
|
-
else if (/^a(lt)?$/i.test(s))
|
|
13
|
-
i = !0;
|
|
14
|
-
else if (/^(c|ctrl|control)$/i.test(s))
|
|
15
|
-
f = !0;
|
|
16
|
-
else if (/^s(hift)?$/i.test(s))
|
|
17
|
-
o = !0;
|
|
18
|
-
else if (/^mod$/i.test(s))
|
|
19
|
-
p ? a = !0 : f = !0;
|
|
20
|
-
else
|
|
21
|
-
throw new Error("Unrecognized modifier name: " + s);
|
|
22
|
-
}
|
|
23
|
-
return i && (t = "Alt-" + t), f && (t = "Ctrl-" + t), a && (t = "Meta-" + t), o && (t = "Shift-" + t), t;
|
|
24
|
-
}
|
|
25
|
-
function h(e) {
|
|
26
|
-
let r = /* @__PURE__ */ Object.create(null);
|
|
27
|
-
for (let t in e)
|
|
28
|
-
r[m(t)] = e[t];
|
|
29
|
-
return r;
|
|
1
|
+
import l from "./index277.js";
|
|
2
|
+
function r(e) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
5
|
+
return typeof t;
|
|
6
|
+
} : function(t) {
|
|
7
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
8
|
+
}, r(e);
|
|
30
9
|
}
|
|
31
|
-
function
|
|
32
|
-
return
|
|
10
|
+
function i(e, t, n) {
|
|
11
|
+
return t = u(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
33
12
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
13
|
+
function u(e) {
|
|
14
|
+
var t = a(e, "string");
|
|
15
|
+
return r(t) == "symbol" ? t : String(t);
|
|
36
16
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
if (l && l(t.state, t.dispatch, t))
|
|
47
|
-
return !0;
|
|
48
|
-
}
|
|
49
|
-
if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
50
|
-
!(y && i.ctrlKey && i.altKey) && (o = c[i.keyCode]) && o != f) {
|
|
51
|
-
let l = r[n(o, i)];
|
|
52
|
-
if (l && l(t.state, t.dispatch, t))
|
|
53
|
-
return !0;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return !1;
|
|
57
|
-
};
|
|
17
|
+
function a(e, t) {
|
|
18
|
+
if (r(e) != "object" || !e) return e;
|
|
19
|
+
var n = e[Symbol.toPrimitive];
|
|
20
|
+
if (n !== void 0) {
|
|
21
|
+
var o = n.call(e, t);
|
|
22
|
+
if (r(o) != "object") return o;
|
|
23
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
24
|
+
}
|
|
25
|
+
return (t === "string" ? String : Number)(e);
|
|
58
26
|
}
|
|
27
|
+
var p = {
|
|
28
|
+
root: function(t) {
|
|
29
|
+
var n = t.instance, o = t.props;
|
|
30
|
+
return ["p-button p-component", i(i(i(i(i(i(i(i({
|
|
31
|
+
"p-button-icon-only": n.hasIcon && !o.label && !o.badge,
|
|
32
|
+
"p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
|
|
33
|
+
"p-disabled": n.$attrs.disabled || n.$attrs.disabled === "" || o.loading,
|
|
34
|
+
"p-button-loading": o.loading,
|
|
35
|
+
"p-button-loading-label-only": o.loading && !n.hasIcon && o.label,
|
|
36
|
+
"p-button-link": o.link
|
|
37
|
+
}, "p-button-".concat(o.severity), o.severity), "p-button-raised", o.raised), "p-button-rounded", o.rounded), "p-button-text", o.text), "p-button-outlined", o.outlined), "p-button-sm", o.size === "small"), "p-button-lg", o.size === "large"), "p-button-plain", o.plain)];
|
|
38
|
+
},
|
|
39
|
+
loadingIcon: "p-button-loading-icon pi-spin",
|
|
40
|
+
icon: function(t) {
|
|
41
|
+
var n = t.props;
|
|
42
|
+
return ["p-button-icon", {
|
|
43
|
+
"p-button-icon-left": n.iconPos === "left" && n.label,
|
|
44
|
+
"p-button-icon-right": n.iconPos === "right" && n.label,
|
|
45
|
+
"p-button-icon-top": n.iconPos === "top" && n.label,
|
|
46
|
+
"p-button-icon-bottom": n.iconPos === "bottom" && n.label
|
|
47
|
+
}];
|
|
48
|
+
},
|
|
49
|
+
label: "p-button-label"
|
|
50
|
+
}, s = l.extend({
|
|
51
|
+
name: "button",
|
|
52
|
+
classes: p
|
|
53
|
+
});
|
|
59
54
|
export {
|
|
60
|
-
|
|
61
|
-
k as keymap
|
|
55
|
+
s as default
|
|
62
56
|
};
|
package/dist/index301.js
CHANGED
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import t from "./index280.js";
|
|
2
|
+
import { createElementBlock as C, openBlock as o, mergeProps as l, createElementVNode as e } from "vue";
|
|
3
|
+
var n = {
|
|
4
|
+
name: "ExclamationTriangleIcon",
|
|
5
|
+
extends: t
|
|
6
|
+
}, i = /* @__PURE__ */ e("path", {
|
|
7
|
+
d: "M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",
|
|
8
|
+
fill: "currentColor"
|
|
9
|
+
}, null, -1), a = /* @__PURE__ */ e("path", {
|
|
10
|
+
d: "M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",
|
|
11
|
+
fill: "currentColor"
|
|
12
|
+
}, null, -1), p = /* @__PURE__ */ e("path", {
|
|
13
|
+
d: "M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",
|
|
14
|
+
fill: "currentColor"
|
|
15
|
+
}, null, -1), s = [i, a, p];
|
|
16
|
+
function c(r, d, h, m, u, _) {
|
|
17
|
+
return o(), C("svg", l({
|
|
18
|
+
width: "14",
|
|
19
|
+
height: "14",
|
|
20
|
+
viewBox: "0 0 14 14",
|
|
21
|
+
fill: "none",
|
|
22
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
23
|
+
}, r.pti()), s, 16);
|
|
24
|
+
}
|
|
25
|
+
n.render = c;
|
|
11
26
|
export {
|
|
12
|
-
|
|
13
|
-
t as h,
|
|
14
|
-
t as jsx,
|
|
15
|
-
t as jsxDEV,
|
|
16
|
-
t as jsxs
|
|
27
|
+
n as default
|
|
17
28
|
};
|
package/dist/index302.js
CHANGED
|
@@ -1,86 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
destroy() {
|
|
21
|
-
this.handlers.forEach(({ name: e, handler: t }) => this.editorView.dom.removeEventListener(e, t));
|
|
22
|
-
}
|
|
23
|
-
update(e, t) {
|
|
24
|
-
this.cursorPos != null && t.doc != e.state.doc && (this.cursorPos > e.state.doc.content.size ? this.setCursor(null) : this.updateOverlay());
|
|
25
|
-
}
|
|
26
|
-
setCursor(e) {
|
|
27
|
-
e != this.cursorPos && (this.cursorPos = e, e == null ? (this.element.parentNode.removeChild(this.element), this.element = null) : this.updateOverlay());
|
|
28
|
-
}
|
|
29
|
-
updateOverlay() {
|
|
30
|
-
let e = this.editorView.state.doc.resolve(this.cursorPos), t = !e.parent.inlineContent, i, s = this.editorView.dom, d = s.getBoundingClientRect(), r = d.width / s.offsetWidth, h = d.height / s.offsetHeight;
|
|
31
|
-
if (t) {
|
|
32
|
-
let o = e.nodeBefore, n = e.nodeAfter;
|
|
33
|
-
if (o || n) {
|
|
34
|
-
let a = this.editorView.nodeDOM(this.cursorPos - (o ? o.nodeSize : 0));
|
|
35
|
-
if (a) {
|
|
36
|
-
let c = a.getBoundingClientRect(), u = o ? c.bottom : c.top;
|
|
37
|
-
o && n && (u = (u + this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top) / 2);
|
|
38
|
-
let g = this.width / 2 * h;
|
|
39
|
-
i = { left: c.left, right: c.right, top: u - g, bottom: u + g };
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
if (!i) {
|
|
44
|
-
let o = this.editorView.coordsAtPos(this.cursorPos), n = this.width / 2 * r;
|
|
45
|
-
i = { left: o.left - n, right: o.left + n, top: o.top, bottom: o.bottom };
|
|
46
|
-
}
|
|
47
|
-
let l = this.editorView.dom.offsetParent;
|
|
48
|
-
this.element || (this.element = l.appendChild(document.createElement("div")), this.class && (this.element.className = this.class), this.element.style.cssText = "position: absolute; z-index: 50; pointer-events: none;", this.color && (this.element.style.backgroundColor = this.color)), this.element.classList.toggle("prosemirror-dropcursor-block", t), this.element.classList.toggle("prosemirror-dropcursor-inline", !t);
|
|
49
|
-
let f, p;
|
|
50
|
-
if (!l || l == document.body && getComputedStyle(l).position == "static")
|
|
51
|
-
f = -pageXOffset, p = -pageYOffset;
|
|
52
|
-
else {
|
|
53
|
-
let o = l.getBoundingClientRect(), n = o.width / l.offsetWidth, a = o.height / l.offsetHeight;
|
|
54
|
-
f = o.left - l.scrollLeft * n, p = o.top - l.scrollTop * a;
|
|
55
|
-
}
|
|
56
|
-
this.element.style.left = (i.left - f) / r + "px", this.element.style.top = (i.top - p) / h + "px", this.element.style.width = (i.right - i.left) / r + "px", this.element.style.height = (i.bottom - i.top) / h + "px";
|
|
57
|
-
}
|
|
58
|
-
scheduleRemoval(e) {
|
|
59
|
-
clearTimeout(this.timeout), this.timeout = setTimeout(() => this.setCursor(null), e);
|
|
60
|
-
}
|
|
61
|
-
dragover(e) {
|
|
62
|
-
if (!this.editorView.editable)
|
|
63
|
-
return;
|
|
64
|
-
let t = this.editorView.posAtCoords({ left: e.clientX, top: e.clientY }), i = t && t.inside >= 0 && this.editorView.state.doc.nodeAt(t.inside), s = i && i.type.spec.disableDropCursor, d = typeof s == "function" ? s(this.editorView, t, e) : s;
|
|
65
|
-
if (t && !d) {
|
|
66
|
-
let r = t.pos;
|
|
67
|
-
if (this.editorView.dragging && this.editorView.dragging.slice) {
|
|
68
|
-
let h = v(this.editorView.state.doc, r, this.editorView.dragging.slice);
|
|
69
|
-
h != null && (r = h);
|
|
70
|
-
}
|
|
71
|
-
this.setCursor(r), this.scheduleRemoval(5e3);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
dragend() {
|
|
75
|
-
this.scheduleRemoval(20);
|
|
76
|
-
}
|
|
77
|
-
drop() {
|
|
78
|
-
this.scheduleRemoval(20);
|
|
79
|
-
}
|
|
80
|
-
dragleave(e) {
|
|
81
|
-
this.editorView.dom.contains(e.relatedTarget) || this.setCursor(null);
|
|
82
|
-
}
|
|
1
|
+
import e from "./index280.js";
|
|
2
|
+
import { createElementBlock as r, openBlock as o, mergeProps as t, createElementVNode as n } from "vue";
|
|
3
|
+
var l = {
|
|
4
|
+
name: "InfoCircleIcon",
|
|
5
|
+
extends: e
|
|
6
|
+
}, i = /* @__PURE__ */ n("path", {
|
|
7
|
+
"fill-rule": "evenodd",
|
|
8
|
+
"clip-rule": "evenodd",
|
|
9
|
+
d: "M3.11101 12.8203C4.26215 13.5895 5.61553 14 7 14C8.85652 14 10.637 13.2625 11.9497 11.9497C13.2625 10.637 14 8.85652 14 7C14 5.61553 13.5895 4.26215 12.8203 3.11101C12.0511 1.95987 10.9579 1.06266 9.67879 0.532846C8.3997 0.00303296 6.99224 -0.13559 5.63437 0.134506C4.2765 0.404603 3.02922 1.07129 2.05026 2.05026C1.07129 3.02922 0.404603 4.2765 0.134506 5.63437C-0.13559 6.99224 0.00303296 8.3997 0.532846 9.67879C1.06266 10.9579 1.95987 12.0511 3.11101 12.8203ZM3.75918 2.14976C4.71846 1.50879 5.84628 1.16667 7 1.16667C8.5471 1.16667 10.0308 1.78125 11.1248 2.87521C12.2188 3.96918 12.8333 5.45291 12.8333 7C12.8333 8.15373 12.4912 9.28154 11.8502 10.2408C11.2093 11.2001 10.2982 11.9478 9.23232 12.3893C8.16642 12.8308 6.99353 12.9463 5.86198 12.7212C4.73042 12.4962 3.69102 11.9406 2.87521 11.1248C2.05941 10.309 1.50384 9.26958 1.27876 8.13803C1.05367 7.00647 1.16919 5.83358 1.61071 4.76768C2.05222 3.70178 2.79989 2.79074 3.75918 2.14976ZM7.00002 4.8611C6.84594 4.85908 6.69873 4.79698 6.58977 4.68801C6.48081 4.57905 6.4187 4.43185 6.41669 4.27776V3.88888C6.41669 3.73417 6.47815 3.58579 6.58754 3.4764C6.69694 3.367 6.84531 3.30554 7.00002 3.30554C7.15473 3.30554 7.3031 3.367 7.4125 3.4764C7.52189 3.58579 7.58335 3.73417 7.58335 3.88888V4.27776C7.58134 4.43185 7.51923 4.57905 7.41027 4.68801C7.30131 4.79698 7.1541 4.85908 7.00002 4.8611ZM7.00002 10.6945C6.84594 10.6925 6.69873 10.6304 6.58977 10.5214C6.48081 10.4124 6.4187 10.2652 6.41669 10.1111V6.22225C6.41669 6.06754 6.47815 5.91917 6.58754 5.80977C6.69694 5.70037 6.84531 5.63892 7.00002 5.63892C7.15473 5.63892 7.3031 5.70037 7.4125 5.80977C7.52189 5.91917 7.58335 6.06754 7.58335 6.22225V10.1111C7.58134 10.2652 7.51923 10.4124 7.41027 10.5214C7.30131 10.6304 7.1541 10.6925 7.00002 10.6945Z",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
}, null, -1), p = [i];
|
|
12
|
+
function d(C, c, s, a, m, f) {
|
|
13
|
+
return o(), r("svg", t({
|
|
14
|
+
width: "14",
|
|
15
|
+
height: "14",
|
|
16
|
+
viewBox: "0 0 14 14",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, C.pti()), p, 16);
|
|
83
20
|
}
|
|
21
|
+
l.render = d;
|
|
84
22
|
export {
|
|
85
|
-
|
|
23
|
+
l as default
|
|
86
24
|
};
|