@quoreadmin/ui 1.4.2 → 1.4.4
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.js +110 -85433
- package/dist/index10.js +55 -0
- package/dist/index101.js +213 -0
- package/dist/index103.js +78 -0
- package/dist/index105.js +136 -0
- package/dist/index107.js +216 -0
- package/dist/index109.js +134 -0
- package/dist/index11.js +183 -0
- package/dist/index111.js +154 -0
- package/dist/index113.js +44 -0
- package/dist/index115.js +78 -0
- package/dist/index117.js +25 -0
- package/dist/index119.js +84 -0
- package/dist/index12.js +74 -0
- package/dist/index121.js +16 -0
- package/dist/index123.js +82 -0
- package/dist/index125.js +134 -0
- package/dist/index127.js +56 -0
- package/dist/index129.js +37 -0
- package/dist/index13.js +32 -0
- package/dist/index131.js +65 -0
- package/dist/index133.js +815 -0
- package/dist/index135.js +277 -0
- package/dist/index137.js +350 -0
- package/dist/index139.js +31 -0
- package/dist/index14.js +190 -0
- package/dist/index141.js +89 -0
- package/dist/index143.js +93 -0
- package/dist/index145.js +116 -0
- package/dist/index147.js +389 -0
- package/dist/index149.js +44 -0
- package/dist/index15.js +138 -0
- package/dist/index151.js +210 -0
- package/dist/index154.js +116 -0
- package/dist/index155.js +497 -0
- package/dist/index156.js +5524 -0
- package/dist/index157.js +93 -0
- package/dist/index158.js +863 -0
- package/dist/index159.js +40 -0
- package/dist/index16.js +318 -0
- package/dist/index160.js +282 -0
- package/dist/index161.js +152 -0
- package/dist/index162.js +1201 -0
- package/dist/index163.js +774 -0
- package/dist/index164.js +1310 -0
- package/dist/index165.js +278 -0
- package/dist/index166.js +108 -0
- package/dist/index167.js +4 -0
- package/dist/index168.js +1378 -0
- package/dist/index17.js +25 -0
- package/dist/index170.js +20 -0
- package/dist/index171.js +20 -0
- package/dist/index172.js +20 -0
- package/dist/index173.js +20 -0
- package/dist/index174.js +27 -0
- package/dist/index175.js +761 -0
- package/dist/index176.js +831 -0
- package/dist/index177.js +1236 -0
- package/dist/index178.js +11279 -0
- package/dist/index179.js +38 -0
- package/dist/index18.js +48 -0
- package/dist/index180.js +117 -0
- package/dist/index181.js +46 -0
- package/dist/index182.js +1192 -0
- package/dist/index184.js +5940 -0
- package/dist/index185.js +209 -0
- package/dist/index186.js +37 -0
- package/dist/index187.js +20 -0
- package/dist/index188.js +80 -0
- package/dist/index189.js +255 -0
- package/dist/index19.js +53 -0
- package/dist/index190.js +13686 -0
- package/dist/index191.js +29 -0
- package/dist/index192.js +65 -0
- package/dist/index193.js +240 -0
- package/dist/index194.js +310 -0
- package/dist/index195.js +290 -0
- package/dist/index196.js +35 -0
- package/dist/index197.js +118 -0
- package/dist/index198.js +38 -0
- package/dist/index199.js +28 -0
- package/dist/index2.js +86 -0
- package/dist/index20.js +35 -0
- package/dist/index200.js +38 -0
- package/dist/index201.js +11 -0
- package/dist/index202.js +21 -0
- package/dist/index203.js +12 -0
- package/dist/index204.js +12 -0
- package/dist/index205.js +53 -0
- package/dist/index206.js +45 -0
- package/dist/index207.js +6 -0
- package/dist/index208.js +41 -0
- package/dist/index209.js +23 -0
- package/dist/index21.js +68 -0
- package/dist/index210.js +163 -0
- package/dist/index211.js +22 -0
- package/dist/index212.js +22 -0
- package/dist/index213.js +24 -0
- package/dist/index214.js +201 -0
- package/dist/index215.js +72 -0
- package/dist/index216.js +90 -0
- package/dist/index217.js +409 -0
- package/dist/index218.js +36 -0
- package/dist/index219.js +42 -0
- package/dist/index22.js +176 -0
- package/dist/index220.js +163 -0
- package/dist/index221.js +230 -0
- package/dist/index222.js +39 -0
- package/dist/index223.js +12 -0
- package/dist/index224.js +24 -0
- package/dist/index225.js +129 -0
- package/dist/index226.js +40 -0
- package/dist/index227.js +82 -0
- package/dist/index228.js +22 -0
- package/dist/index229.js +22 -0
- package/dist/index23.js +14 -0
- package/dist/index230.js +22 -0
- package/dist/index231.js +22 -0
- package/dist/index232.js +24 -0
- package/dist/index233.js +24 -0
- package/dist/index234.js +22 -0
- package/dist/index235.js +838 -0
- package/dist/index236.js +704 -0
- package/dist/index237.js +178 -0
- package/dist/index238.js +24 -0
- package/dist/index239.js +22 -0
- package/dist/index24.js +43 -0
- package/dist/index240.js +22 -0
- package/dist/index241.js +5 -0
- package/dist/index242.js +189 -0
- package/dist/index243.js +135 -0
- package/dist/index244.js +1225 -0
- package/dist/index245.js +22 -0
- package/dist/index246.js +24 -0
- package/dist/index247.js +24 -0
- package/dist/index248.js +31 -0
- package/dist/index249.js +22 -0
- package/dist/index25.js +123 -0
- package/dist/index250.js +22 -0
- package/dist/index251.js +4 -0
- package/dist/index252.js +4 -0
- package/dist/index253.js +3634 -0
- package/dist/index254.js +57 -0
- package/dist/index255.js +79 -0
- package/dist/index256.js +54 -0
- package/dist/index257.js +217 -0
- package/dist/index258.js +12 -0
- package/dist/index259.js +59 -0
- package/dist/index26.js +29 -0
- package/dist/index260.js +63 -0
- package/dist/index261.js +56 -0
- package/dist/index262.js +77 -0
- package/dist/index263.js +725 -0
- package/dist/index264.js +41 -0
- package/dist/index265.js +66 -0
- package/dist/index266.js +13 -0
- package/dist/index267.js +707 -0
- package/dist/index268.js +822 -0
- package/dist/index269.js +56 -0
- package/dist/index27.js +163 -0
- package/dist/index270.js +81 -0
- package/dist/index271.js +28 -0
- package/dist/index272.js +24 -0
- package/dist/index273.js +24 -0
- package/dist/index274.js +18 -0
- package/dist/index275.js +19 -0
- package/dist/index276.js +255 -0
- package/dist/index277.js +10 -0
- package/dist/index278.js +140 -0
- package/dist/index279.js +85 -0
- package/dist/index28.js +286 -0
- package/dist/index280.js +25 -0
- package/dist/index281.js +4 -0
- package/dist/index282.js +5 -0
- package/dist/index283.js +29 -0
- package/dist/index284.js +237 -0
- package/dist/index285.js +8 -0
- package/dist/index286.js +136 -0
- package/dist/index287.js +70 -0
- package/dist/index288.js +89 -0
- package/dist/index289.js +31 -0
- package/dist/index29.js +69 -0
- package/dist/index290.js +11 -0
- package/dist/index291.js +77 -0
- package/dist/index292.js +6 -0
- package/dist/index293.js +4 -0
- package/dist/index294.js +85 -0
- package/dist/index295.js +56 -0
- package/dist/index296.js +8 -0
- package/dist/index297.js +7 -0
- package/dist/index298.js +181 -0
- package/dist/index299.js +65 -0
- package/dist/index3.js +69 -0
- package/dist/index30.js +183 -0
- package/dist/index300.js +77 -0
- package/dist/index301.js +81 -0
- package/dist/index302.js +24 -0
- package/dist/index303.js +937 -0
- package/dist/index304.js +24 -0
- package/dist/index305.js +22 -0
- package/dist/index306.js +22 -0
- package/dist/index307.js +71 -0
- package/dist/index308.js +21 -0
- package/dist/index309.js +21 -0
- package/dist/index31.js +44 -0
- package/dist/index310.js +24 -0
- package/dist/index311.js +24 -0
- package/dist/index312.js +65 -0
- package/dist/index313.js +1520 -0
- package/dist/index314.js +388 -0
- package/dist/index315.js +2733 -0
- package/dist/index316.js +88 -0
- package/dist/index317.js +3772 -0
- package/dist/index318.js +62 -0
- package/dist/index319.js +17 -0
- package/dist/index32.js +55 -0
- package/dist/index320.js +86 -0
- package/dist/index321.js +204 -0
- package/dist/index322.js +248 -0
- package/dist/index323.js +39 -0
- package/dist/index324.js +11 -0
- package/dist/index325.js +15 -0
- package/dist/index326.js +57 -0
- package/dist/index327.js +14 -0
- package/dist/index328.js +16 -0
- package/dist/index329.js +60 -0
- package/dist/index33.js +38 -0
- package/dist/index330.js +54 -0
- package/dist/index331.js +33 -0
- package/dist/index332.js +4 -0
- package/dist/index333.js +7 -0
- package/dist/index334.js +4 -0
- package/dist/index335.js +25 -0
- package/dist/index336.js +43 -0
- package/dist/index337.js +4 -0
- package/dist/index338.js +13 -0
- package/dist/index339.js +22 -0
- package/dist/index34.js +35 -0
- package/dist/index340.js +19 -0
- package/dist/index341.js +12 -0
- package/dist/index342.js +12 -0
- package/dist/index343.js +4 -0
- package/dist/index344.js +11 -0
- package/dist/index345.js +12 -0
- package/dist/index346.js +16 -0
- package/dist/index347.js +23 -0
- package/dist/index348.js +58 -0
- package/dist/index349.js +31 -0
- package/dist/index35.js +19 -0
- package/dist/index350.js +9 -0
- package/dist/index351.js +54 -0
- package/dist/index352.js +8 -0
- package/dist/index353.js +14 -0
- package/dist/index354.js +9 -0
- package/dist/index355.js +30 -0
- package/dist/index356.js +4 -0
- package/dist/index357.js +72 -0
- package/dist/index358.js +169 -0
- package/dist/index359.js +22 -0
- package/dist/index36.js +47 -0
- package/dist/index360.js +22 -0
- package/dist/index361.js +66 -0
- package/dist/index362.js +39 -0
- package/dist/index363.js +33 -0
- package/dist/index364.js +13 -0
- package/dist/index365.js +6 -0
- package/dist/index366.js +6 -0
- package/dist/index367.js +15 -0
- package/dist/index368.js +9 -0
- package/dist/index369.js +14 -0
- package/dist/index37.js +42 -0
- package/dist/index370.js +7 -0
- package/dist/index371.js +35 -0
- package/dist/index372.js +33 -0
- package/dist/index373.js +30 -0
- package/dist/index374.js +63 -0
- package/dist/index375.js +19 -0
- package/dist/index376.js +103 -0
- package/dist/index377.js +93 -0
- package/dist/index378.js +100 -0
- package/dist/index379.js +5 -0
- package/dist/index38.js +32 -0
- package/dist/index380.js +4 -0
- package/dist/index381.js +4 -0
- package/dist/index382.js +19 -0
- package/dist/index383.js +15 -0
- package/dist/index384.js +8 -0
- package/dist/index385.js +34 -0
- package/dist/index39.js +39 -0
- package/dist/index4.js +23 -0
- package/dist/index40.js +44 -0
- package/dist/index41.js +1075 -0
- package/dist/index42.js +339 -0
- package/dist/index43.js +159 -0
- package/dist/index44.js +22 -0
- package/dist/index45.js +42 -0
- package/dist/index46.js +72 -0
- package/dist/index47.js +65 -0
- package/dist/index48.js +184 -0
- package/dist/index49.js +88 -0
- package/dist/index5.js +19 -0
- package/dist/index50.js +209 -0
- package/dist/index51.js +71 -0
- package/dist/index52.js +22 -0
- package/dist/index53.js +13 -0
- package/dist/index54.js +9 -0
- package/dist/index55.js +213 -0
- package/dist/index56.js +15 -0
- package/dist/index57.js +187 -0
- package/dist/index58.js +79 -0
- package/dist/index6.js +21 -0
- package/dist/index60.js +9 -0
- package/dist/index61.js +65 -0
- package/dist/index63.js +44 -0
- package/dist/index65.js +16 -0
- package/dist/index67.js +30 -0
- package/dist/index69.js +141 -0
- package/dist/index7.js +76 -0
- package/dist/index71.js +78 -0
- package/dist/index73.js +62 -0
- package/dist/index74.js +105 -0
- package/dist/index76.js +217 -0
- package/dist/index78.js +108 -0
- package/dist/index8.js +31 -0
- package/dist/index80.js +36 -0
- package/dist/index81.js +140 -0
- package/dist/index83.js +141 -0
- package/dist/index85.js +292 -0
- package/dist/index87.js +29 -0
- package/dist/index89.js +45 -0
- package/dist/index9.js +36 -0
- package/dist/index91.js +117 -0
- package/dist/index93.js +29 -0
- package/dist/index94.js +34 -0
- package/dist/index96.js +138 -0
- package/dist/index97.js +10 -0
- package/dist/index99.js +39 -0
- package/dist/src/composables/filtering.d.ts +5 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/views/lists.vue.d.ts +52 -12
- package/dist/src/views/showcase.vue.d.ts +130 -30
- package/dist/src/views/tables.vue.d.ts +52 -12
- package/package.json +3 -4
- package/tailwind.preset.ts +1 -0
- package/dist/index.umd.cjs +0 -1322
package/dist/index28.js
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
import C from "./index107.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";
|
|
3
|
+
/* empty css */
|
|
4
|
+
import N from "./index60.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"
|
|
27
|
+
}, [
|
|
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",
|
|
82
|
+
size: "md",
|
|
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)
|
|
117
|
+
}, [
|
|
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);
|
|
282
|
+
}
|
|
283
|
+
const le = /* @__PURE__ */ N(C, [["render", W], ["__scopeId", "data-v-ba42d8cf"]]);
|
|
284
|
+
export {
|
|
285
|
+
le as default
|
|
286
|
+
};
|
package/dist/index280.js
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import r from "./index278.js";
|
|
2
|
+
import { ObjectUtils as t } from "./index162.js";
|
|
3
|
+
var n = {
|
|
4
|
+
root: function(a) {
|
|
5
|
+
var e = a.props, s = a.instance;
|
|
6
|
+
return ["p-badge p-component", {
|
|
7
|
+
"p-badge-no-gutter": t.isNotEmpty(e.value) && String(e.value).length === 1,
|
|
8
|
+
"p-badge-dot": t.isEmpty(e.value) && !s.$slots.default,
|
|
9
|
+
"p-badge-lg": e.size === "large",
|
|
10
|
+
"p-badge-xl": e.size === "xlarge",
|
|
11
|
+
"p-badge-info": e.severity === "info",
|
|
12
|
+
"p-badge-success": e.severity === "success",
|
|
13
|
+
"p-badge-warning": e.severity === "warning",
|
|
14
|
+
"p-badge-danger": e.severity === "danger",
|
|
15
|
+
"p-badge-secondary": e.severity === "secondary",
|
|
16
|
+
"p-badge-contrast": e.severity === "contrast"
|
|
17
|
+
}];
|
|
18
|
+
}
|
|
19
|
+
}, d = r.extend({
|
|
20
|
+
name: "badge",
|
|
21
|
+
classes: n
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
d as default
|
|
25
|
+
};
|
package/dist/index281.js
ADDED
package/dist/index282.js
ADDED
package/dist/index283.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
function p(h) {
|
|
2
|
+
let n = [], s = [], i = 0, f = !1, o = !1;
|
|
3
|
+
const l = /* @__PURE__ */ new WeakSet(), u = {
|
|
4
|
+
schedule: (e, t = !1, r = !1) => {
|
|
5
|
+
const d = r && f, c = d ? n : s;
|
|
6
|
+
return t && l.add(e), c.indexOf(e) === -1 && (c.push(e), d && f && (i = n.length)), e;
|
|
7
|
+
},
|
|
8
|
+
cancel: (e) => {
|
|
9
|
+
const t = s.indexOf(e);
|
|
10
|
+
t !== -1 && s.splice(t, 1), l.delete(e);
|
|
11
|
+
},
|
|
12
|
+
process: (e) => {
|
|
13
|
+
if (f) {
|
|
14
|
+
o = !0;
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
if (f = !0, [n, s] = [s, n], s.length = 0, i = n.length, i)
|
|
18
|
+
for (let t = 0; t < i; t++) {
|
|
19
|
+
const r = n[t];
|
|
20
|
+
r(e), l.has(r) && (u.schedule(r), h());
|
|
21
|
+
}
|
|
22
|
+
f = !1, o && (o = !1, u.process(e));
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
return u;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
p as createRenderStep
|
|
29
|
+
};
|
package/dist/index284.js
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import R from "./index285.js";
|
|
2
|
+
const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, F = /* @__PURE__ */ ((e) => (t) => {
|
|
3
|
+
const n = T.call(t);
|
|
4
|
+
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
5
|
+
})(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => F(t) === e), O = (e) => (t) => typeof t === e, { isArray: p } = Array, a = O("undefined");
|
|
6
|
+
function d(e) {
|
|
7
|
+
return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
8
|
+
}
|
|
9
|
+
const B = f("ArrayBuffer");
|
|
10
|
+
function M(e) {
|
|
11
|
+
let t;
|
|
12
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
|
|
13
|
+
}
|
|
14
|
+
const k = O("string"), c = O("function"), E = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
|
|
15
|
+
if (F(e) !== "object")
|
|
16
|
+
return !1;
|
|
17
|
+
const t = A(e);
|
|
18
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
|
|
19
|
+
}, U = (e) => {
|
|
20
|
+
if (!y(e) || d(e))
|
|
21
|
+
return !1;
|
|
22
|
+
try {
|
|
23
|
+
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
24
|
+
} catch {
|
|
25
|
+
return !1;
|
|
26
|
+
}
|
|
27
|
+
}, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
|
|
28
|
+
let t;
|
|
29
|
+
return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = F(e)) === "formdata" || // detect form-data instance
|
|
30
|
+
t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
|
|
31
|
+
}, J = f("URLSearchParams"), [K, $, W, G] = ["ReadableStream", "Request", "Response", "Headers"].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
32
|
+
function m(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
33
|
+
if (e === null || typeof e > "u")
|
|
34
|
+
return;
|
|
35
|
+
let r, s;
|
|
36
|
+
if (typeof e != "object" && (e = [e]), p(e))
|
|
37
|
+
for (r = 0, s = e.length; r < s; r++)
|
|
38
|
+
t.call(null, e[r], r, e);
|
|
39
|
+
else {
|
|
40
|
+
if (d(e))
|
|
41
|
+
return;
|
|
42
|
+
const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
|
|
43
|
+
let l;
|
|
44
|
+
for (r = 0; r < i; r++)
|
|
45
|
+
l = o[r], t.call(null, e[l], l, e);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function P(e, t) {
|
|
49
|
+
if (d(e))
|
|
50
|
+
return null;
|
|
51
|
+
t = t.toLowerCase();
|
|
52
|
+
const n = Object.keys(e);
|
|
53
|
+
let r = n.length, s;
|
|
54
|
+
for (; r-- > 0; )
|
|
55
|
+
if (s = n[r], t === s.toLowerCase())
|
|
56
|
+
return s;
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
|
|
60
|
+
function h() {
|
|
61
|
+
const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
|
|
62
|
+
const i = e && P(n, o) || o;
|
|
63
|
+
w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
|
|
64
|
+
};
|
|
65
|
+
for (let s = 0, o = arguments.length; s < o; s++)
|
|
66
|
+
arguments[s] && m(arguments[s], r);
|
|
67
|
+
return n;
|
|
68
|
+
}
|
|
69
|
+
const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
|
|
70
|
+
n && c(s) ? e[o] = R(s, n) : e[o] = s;
|
|
71
|
+
}, { allOwnKeys: r }), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
|
|
72
|
+
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
73
|
+
value: t.prototype
|
|
74
|
+
}), n && Object.assign(e.prototype, n);
|
|
75
|
+
}, j = (e, t, n, r) => {
|
|
76
|
+
let s, o, i;
|
|
77
|
+
const l = {};
|
|
78
|
+
if (t = t || {}, e == null) return t;
|
|
79
|
+
do {
|
|
80
|
+
for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
|
|
81
|
+
i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
|
|
82
|
+
e = n !== !1 && A(e);
|
|
83
|
+
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
84
|
+
return t;
|
|
85
|
+
}, v = (e, t, n) => {
|
|
86
|
+
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
87
|
+
const r = e.indexOf(t, n);
|
|
88
|
+
return r !== -1 && r === n;
|
|
89
|
+
}, ee = (e) => {
|
|
90
|
+
if (!e) return null;
|
|
91
|
+
if (p(e)) return e;
|
|
92
|
+
let t = e.length;
|
|
93
|
+
if (!E(t)) return null;
|
|
94
|
+
const n = new Array(t);
|
|
95
|
+
for (; t-- > 0; )
|
|
96
|
+
n[t] = e[t];
|
|
97
|
+
return n;
|
|
98
|
+
}, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
|
|
99
|
+
const r = (e && e[g]).call(e);
|
|
100
|
+
let s;
|
|
101
|
+
for (; (s = r.next()) && !s.done; ) {
|
|
102
|
+
const o = s.value;
|
|
103
|
+
t.call(e, o[0], o[1]);
|
|
104
|
+
}
|
|
105
|
+
}, re = (e, t) => {
|
|
106
|
+
let n;
|
|
107
|
+
const r = [];
|
|
108
|
+
for (; (n = e.exec(t)) !== null; )
|
|
109
|
+
r.push(n);
|
|
110
|
+
return r;
|
|
111
|
+
}, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(
|
|
112
|
+
/[-_\s]([a-z\d])(\w*)/g,
|
|
113
|
+
function(n, r, s) {
|
|
114
|
+
return r.toUpperCase() + s;
|
|
115
|
+
}
|
|
116
|
+
), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
|
|
117
|
+
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
118
|
+
m(n, (s, o) => {
|
|
119
|
+
let i;
|
|
120
|
+
(i = t(s, o, e)) !== !1 && (r[o] = i || s);
|
|
121
|
+
}), Object.defineProperties(e, r);
|
|
122
|
+
}, ce = (e) => {
|
|
123
|
+
C(e, (t, n) => {
|
|
124
|
+
if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
125
|
+
return !1;
|
|
126
|
+
const r = e[n];
|
|
127
|
+
if (c(r)) {
|
|
128
|
+
if (t.enumerable = !1, "writable" in t) {
|
|
129
|
+
t.writable = !1;
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
t.set || (t.set = () => {
|
|
133
|
+
throw Error("Can not rewrite read-only method '" + n + "'");
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}, fe = (e, t) => {
|
|
138
|
+
const n = {}, r = (s) => {
|
|
139
|
+
s.forEach((o) => {
|
|
140
|
+
n[o] = !0;
|
|
141
|
+
});
|
|
142
|
+
};
|
|
143
|
+
return p(e) ? r(e) : r(String(e).split(t)), n;
|
|
144
|
+
}, le = () => {
|
|
145
|
+
}, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
146
|
+
function ae(e) {
|
|
147
|
+
return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
|
|
148
|
+
}
|
|
149
|
+
const pe = (e) => {
|
|
150
|
+
const t = new Array(10), n = (r, s) => {
|
|
151
|
+
if (y(r)) {
|
|
152
|
+
if (t.indexOf(r) >= 0)
|
|
153
|
+
return;
|
|
154
|
+
if (d(r))
|
|
155
|
+
return r;
|
|
156
|
+
if (!("toJSON" in r)) {
|
|
157
|
+
t[s] = r;
|
|
158
|
+
const o = p(r) ? [] : {};
|
|
159
|
+
return m(r, (i, l) => {
|
|
160
|
+
const b = n(i, s + 1);
|
|
161
|
+
!a(b) && (o[l] = b);
|
|
162
|
+
}), t[s] = void 0, o;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return r;
|
|
166
|
+
};
|
|
167
|
+
return n(e, 0);
|
|
168
|
+
}, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener("message", ({ source: s, data: o }) => {
|
|
169
|
+
s === u && o === n && r.length && r.shift()();
|
|
170
|
+
}, !1), (s) => {
|
|
171
|
+
r.push(s), u.postMessage(n, "*");
|
|
172
|
+
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
173
|
+
typeof setImmediate == "function",
|
|
174
|
+
c(u.postMessage)
|
|
175
|
+
), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), Fe = {
|
|
176
|
+
isArray: p,
|
|
177
|
+
isArrayBuffer: B,
|
|
178
|
+
isBuffer: d,
|
|
179
|
+
isFormData: z,
|
|
180
|
+
isArrayBufferView: M,
|
|
181
|
+
isString: k,
|
|
182
|
+
isNumber: E,
|
|
183
|
+
isBoolean: N,
|
|
184
|
+
isObject: y,
|
|
185
|
+
isPlainObject: w,
|
|
186
|
+
isEmptyObject: U,
|
|
187
|
+
isReadableStream: K,
|
|
188
|
+
isRequest: $,
|
|
189
|
+
isResponse: W,
|
|
190
|
+
isHeaders: G,
|
|
191
|
+
isUndefined: a,
|
|
192
|
+
isDate: I,
|
|
193
|
+
isFile: V,
|
|
194
|
+
isBlob: _,
|
|
195
|
+
isRegExp: ie,
|
|
196
|
+
isFunction: c,
|
|
197
|
+
isStream: H,
|
|
198
|
+
isURLSearchParams: J,
|
|
199
|
+
isTypedArray: te,
|
|
200
|
+
isFileList: q,
|
|
201
|
+
forEach: m,
|
|
202
|
+
merge: h,
|
|
203
|
+
extend: X,
|
|
204
|
+
trim: Q,
|
|
205
|
+
stripBOM: Y,
|
|
206
|
+
inherits: Z,
|
|
207
|
+
toFlatObject: j,
|
|
208
|
+
kindOf: F,
|
|
209
|
+
kindOfTest: f,
|
|
210
|
+
endsWith: v,
|
|
211
|
+
toArray: ee,
|
|
212
|
+
forEachEntry: ne,
|
|
213
|
+
matchAll: re,
|
|
214
|
+
isHTMLForm: se,
|
|
215
|
+
hasOwnProperty: x,
|
|
216
|
+
hasOwnProp: x,
|
|
217
|
+
// an alias to avoid ESLint no-prototype-builtins detection
|
|
218
|
+
reduceDescriptors: C,
|
|
219
|
+
freezeMethods: ce,
|
|
220
|
+
toObjectSet: fe,
|
|
221
|
+
toCamelCase: oe,
|
|
222
|
+
noop: le,
|
|
223
|
+
toFiniteNumber: ue,
|
|
224
|
+
findKey: P,
|
|
225
|
+
global: u,
|
|
226
|
+
isContextDefined: L,
|
|
227
|
+
isSpecCompliantForm: ae,
|
|
228
|
+
toJSONObject: pe,
|
|
229
|
+
isAsyncFn: de,
|
|
230
|
+
isThenable: ye,
|
|
231
|
+
setImmediate: D,
|
|
232
|
+
asap: me,
|
|
233
|
+
isIterable: we
|
|
234
|
+
};
|
|
235
|
+
export {
|
|
236
|
+
Fe as default
|
|
237
|
+
};
|