@quoreadmin/ui 1.8.11 → 1.9.1
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 +35 -33
- package/dist/index10.js +2 -2
- package/dist/index100.js +34 -0
- package/dist/{index101.js → index102.js} +1 -1
- package/dist/index104.js +147 -2
- package/dist/index105.js +2 -37
- package/dist/index106.js +39 -0
- package/dist/{index107.js → index108.js} +2 -2
- package/dist/index11.js +2 -2
- package/dist/{index109.js → index110.js} +1 -1
- package/dist/{index111.js → index112.js} +3 -3
- package/dist/{index113.js → index114.js} +5 -5
- package/dist/{index115.js → index116.js} +1 -1
- package/dist/{index117.js → index118.js} +5 -5
- package/dist/index12.js +2 -2
- package/dist/index13.js +2 -2
- package/dist/{index131.js → index132.js} +1 -1
- package/dist/{index133.js → index134.js} +2 -2
- package/dist/index14.js +2 -2
- package/dist/{index142.js → index143.js} +4 -4
- package/dist/{index144.js → index145.js} +1 -1
- package/dist/{index146.js → index147.js} +10 -10
- package/dist/index15.js +2 -2
- package/dist/index153.js +562 -0
- package/dist/index157.js +87 -356
- package/dist/index16.js +2 -2
- package/dist/index160.js +389 -0
- package/dist/{index159.js → index162.js} +1 -1
- package/dist/index164.js +205 -111
- package/dist/index167.js +110 -87
- package/dist/index168.js +478 -844
- package/dist/index169.js +5520 -36
- package/dist/index17.js +2 -2
- package/dist/index170.js +90 -279
- package/dist/index171.js +833 -122
- package/dist/index172.js +36 -1197
- package/dist/index173.js +268 -760
- package/dist/index174.js +146 -1304
- package/dist/index175.js +1151 -228
- package/dist/index176.js +754 -88
- package/dist/index177.js +1308 -2
- package/dist/index178.js +259 -1359
- package/dist/index179.js +108 -0
- package/dist/index18.js +2 -2
- package/dist/index180.js +2 -18
- package/dist/index181.js +1372 -14
- package/dist/index183.js +8 -8
- package/dist/index184.js +10 -17
- package/dist/index185.js +18 -759
- package/dist/index186.js +18 -1144
- package/dist/index187.js +22 -1231
- package/dist/index188.js +740 -11258
- package/dist/index189.js +1144 -36
- package/dist/index19.js +2 -2
- package/dist/index190.js +1233 -43
- package/dist/index191.js +11260 -1173
- package/dist/index192.js +38 -0
- package/dist/index193.js +44 -5938
- package/dist/index194.js +1116 -133
- package/dist/index196.js +5933 -13
- package/dist/index197.js +205 -76
- package/dist/index198.js +28 -246
- package/dist/index199.js +14 -13680
- package/dist/index2.js +2 -2
- package/dist/index20.js +2 -2
- package/dist/index200.js +77 -26
- package/dist/index201.js +245 -55
- package/dist/index202.js +13655 -209
- package/dist/index203.js +26 -310
- package/dist/index204.js +43 -275
- package/dist/index205.js +237 -32
- package/dist/index206.js +303 -108
- package/dist/index207.js +293 -34
- package/dist/index208.js +88 -26
- package/dist/index209.js +407 -36
- package/dist/index21.js +2 -2
- package/dist/index210.js +22 -51
- package/dist/index211.js +31 -41
- package/dist/index212.js +115 -3
- package/dist/index213.js +36 -9
- package/dist/index214.js +26 -19
- package/dist/index215.js +36 -10
- package/dist/index216.js +51 -10
- package/dist/index217.js +40 -36
- package/dist/index218.js +4 -21
- package/dist/index219.js +9 -88
- package/dist/index22.js +2 -2
- package/dist/index220.js +19 -407
- package/dist/index221.js +10 -22
- package/dist/index222.js +10 -161
- package/dist/index223.js +38 -19
- package/dist/index224.js +21 -20
- package/dist/index225.js +126 -21
- package/dist/index226.js +22 -183
- package/dist/index227.js +79 -69
- package/dist/index228.js +20 -34
- package/dist/index229.js +19 -39
- package/dist/index23.js +2 -2
- package/dist/index230.js +19 -160
- package/dist/index231.js +20 -228
- package/dist/index232.js +19 -36
- package/dist/index233.js +161 -10
- package/dist/index234.js +19 -126
- package/dist/index235.js +21 -37
- package/dist/index236.js +192 -73
- package/dist/index237.js +68 -18
- package/dist/index238.js +34 -20
- package/dist/index239.js +39 -19
- package/dist/index24.js +61 -58
- package/dist/index240.js +14 -12
- package/dist/index241.js +3 -3
- package/dist/index242.js +13 -15
- package/dist/index243.js +836 -20
- package/dist/index244.js +613 -747
- package/dist/index245.js +166 -692
- package/dist/index246.js +22 -176
- package/dist/index247.js +12 -14
- package/dist/index248.js +9 -9
- package/dist/index249.js +3 -20
- package/dist/index250.js +187 -3
- package/dist/index251.js +42 -96
- package/dist/index252.js +1160 -70
- package/dist/index253.js +20 -1223
- package/dist/index254.js +14 -12
- package/dist/index255.js +11 -11
- package/dist/index256.js +22 -15
- package/dist/index257.js +12 -21
- package/dist/index258.js +9 -9
- package/dist/index259.js +2 -20
- package/dist/index26.js +2 -2
- package/dist/index261.js +161 -2
- package/dist/index262.js +187 -3595
- package/dist/index263.js +37 -55
- package/dist/index264.js +10 -77
- package/dist/index265.js +3617 -33
- package/dist/index266.js +32 -192
- package/dist/index267.js +76 -9
- package/dist/index268.js +34 -39
- package/dist/index269.js +186 -32
- package/dist/index27.js +2 -2
- package/dist/index270.js +9 -53
- package/dist/index271.js +40 -58
- package/dist/index272.js +35 -700
- package/dist/index273.js +40 -28
- package/dist/index274.js +34 -23
- package/dist/index275.js +725 -10
- package/dist/index276.js +30 -693
- package/dist/index277.js +62 -818
- package/dist/index278.js +11 -253
- package/dist/index279.js +704 -7
- package/dist/index28.js +2 -2
- package/dist/index280.js +809 -127
- package/dist/index281.js +232 -62
- package/dist/index282.js +7 -53
- package/dist/index283.js +118 -59
- package/dist/index284.js +83 -26
- package/dist/index285.js +3 -22
- package/dist/index286.js +26 -21
- package/dist/index287.js +261 -15
- package/dist/index288.js +6 -17
- package/dist/index289.js +138 -21
- package/dist/index29.js +2 -2
- package/dist/index290.js +73 -3
- package/dist/index291.js +85 -25
- package/dist/index292.js +23 -256
- package/dist/index293.js +15 -5
- package/dist/index294.js +66 -131
- package/dist/index295.js +3 -72
- package/dist/index296.js +2 -87
- package/dist/index297.js +78 -24
- package/dist/index298.js +47 -10
- package/dist/index299.js +5 -74
- package/dist/index3.js +2 -2
- package/dist/index30.js +2 -2
- package/dist/index300.js +4 -3
- package/dist/index301.js +179 -2
- package/dist/index302.js +58 -78
- package/dist/index303.js +75 -53
- package/dist/index304.js +2 -6
- package/dist/index305.js +78 -4
- package/dist/index306.js +49 -174
- package/dist/index307.js +25 -62
- package/dist/index308.js +22 -75
- package/dist/index309.js +22 -2
- package/dist/index31.js +3 -3
- package/dist/index310.js +16 -1534
- package/dist/index311.js +17 -386
- package/dist/index312.js +23 -2731
- package/dist/index313.js +75 -82
- package/dist/index314.js +22 -3792
- package/dist/index315.js +931 -56
- package/dist/index316.js +21 -78
- package/dist/index317.js +13 -15
- package/dist/index318.js +20 -935
- package/dist/index319.js +68 -21
- package/dist/index32.js +2 -2
- package/dist/index320.js +19 -20
- package/dist/index321.js +19 -20
- package/dist/index322.js +21 -68
- package/dist/index323.js +22 -19
- package/dist/index324.js +60 -16
- package/dist/index325.js +1534 -22
- package/dist/index326.js +386 -22
- package/dist/index327.js +2731 -63
- package/dist/index328.js +86 -15
- package/dist/index329.js +3768 -60
- package/dist/index33.js +2 -2
- package/dist/index330.js +55 -197
- package/dist/index331.js +15 -246
- package/dist/index332.js +78 -31
- package/dist/index333.js +201 -8
- package/dist/index334.js +245 -12
- package/dist/index335.js +8 -54
- package/dist/index336.js +12 -11
- package/dist/index337.js +52 -11
- package/dist/index338.js +9 -55
- package/dist/index339.js +13 -51
- package/dist/index34.js +2 -2
- package/dist/index340.js +51 -24
- package/dist/index341.js +52 -2
- package/dist/index342.js +31 -5
- package/dist/index343.js +2 -2
- package/dist/index344.js +4 -22
- package/dist/index345.js +2 -41
- package/dist/index346.js +23 -2
- package/dist/index347.js +40 -10
- package/dist/index348.js +2 -20
- package/dist/index349.js +10 -9
- package/dist/index35.js +2 -2
- package/dist/index350.js +20 -10
- package/dist/index351.js +9 -16
- package/dist/index352.js +10 -2
- package/dist/index353.js +16 -8
- package/dist/index354.js +2 -10
- package/dist/index355.js +8 -13
- package/dist/index356.js +9 -18
- package/dist/index357.js +14 -57
- package/dist/index358.js +16 -26
- package/dist/index359.js +56 -6
- package/dist/index36.js +2 -2
- package/dist/index360.js +28 -51
- package/dist/index361.js +7 -7
- package/dist/index362.js +51 -11
- package/dist/index363.js +6 -6
- package/dist/index364.js +12 -28
- package/dist/index365.js +7 -2
- package/dist/index366.js +27 -69
- package/dist/index367.js +2 -167
- package/dist/index368.js +70 -20
- package/dist/index369.js +167 -20
- package/dist/index37.js +2 -2
- package/dist/index370.js +33 -60
- package/dist/index371.js +20 -37
- package/dist/index372.js +19 -30
- package/dist/index373.js +63 -10
- package/dist/index374.js +37 -4
- package/dist/index375.js +30 -3
- package/dist/index376.js +11 -13
- package/dist/index377.js +4 -7
- package/dist/index378.js +3 -11
- package/dist/index379.js +13 -5
- package/dist/index38.js +2 -2
- package/dist/index380.js +7 -33
- package/dist/index381.js +11 -30
- package/dist/index382.js +5 -28
- package/dist/index383.js +33 -61
- package/dist/index384.js +30 -16
- package/dist/index385.js +26 -99
- package/dist/index386.js +61 -91
- package/dist/index387.js +16 -97
- package/dist/index388.js +100 -2
- package/dist/index389.js +91 -2
- package/dist/index39.js +2 -2
- package/dist/index390.js +98 -2
- package/dist/index391.js +3 -17
- package/dist/index392.js +2 -13
- package/dist/index393.js +2 -6
- package/dist/index394.js +17 -32
- package/dist/index395.js +15 -0
- package/dist/index396.js +8 -0
- package/dist/index397.js +34 -0
- package/dist/index4.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index41.js +2 -2
- package/dist/index42.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/index44.js +4 -4
- package/dist/index45.js +10 -10
- package/dist/index46.js +2 -2
- package/dist/index47.js +2 -2
- package/dist/index48.js +3 -3
- package/dist/index49.js +4 -69
- package/dist/index5.js +2 -2
- package/dist/index50.js +67 -61
- package/dist/index51.js +57 -175
- package/dist/index52.js +173 -77
- package/dist/index53.js +79 -200
- package/dist/index54.js +206 -68
- package/dist/index55.js +69 -20
- package/dist/index56.js +20 -11
- package/dist/index57.js +10 -6
- package/dist/index58.js +5 -209
- package/dist/index59.js +210 -12
- package/dist/index6.js +2 -2
- package/dist/index60.js +12 -184
- package/dist/index61.js +176 -68
- package/dist/index62.js +79 -0
- package/dist/index64.js +7 -91
- package/dist/index65.js +93 -0
- package/dist/index7.js +12 -12
- package/dist/{index72.js → index73.js} +2 -2
- package/dist/index77.js +40 -308
- package/dist/index78.js +330 -0
- package/dist/index8.js +3 -3
- package/dist/{index81.js → index82.js} +4 -4
- package/dist/{index83.js → index84.js} +1 -1
- package/dist/index86.js +23 -131
- package/dist/index87.js +144 -0
- package/dist/{index88.js → index89.js} +5 -5
- package/dist/index9.js +2 -2
- package/dist/{index90.js → index91.js} +5 -5
- package/dist/{index96.js → index97.js} +4 -4
- package/dist/index99.js +20 -25
- package/dist/src/components/comment/comment.d.ts +10 -0
- package/dist/src/components/comment/comment.stories.d.ts +10 -0
- package/dist/src/components/comment-section/comment-section.d.ts +20 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +30 -0
- package/dist/src/components/file-upload/file-upload.d.ts +10 -0
- package/dist/src/components/file-upload/file-upload.stories.d.ts +1315 -0
- package/dist/src/components/time-picker/time-picker.stories.d.ts +25 -0
- package/dist/src/components/time-picker/time-picker.vue.d.ts +52 -0
- package/dist/src/components/wysiwyg/wysiwyg.d.ts +10 -0
- package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +10 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/index103.js +0 -142
- package/dist/index154.js +0 -120
- package/dist/index161.js +0 -210
- package/dist/index165.js +0 -497
- package/dist/index166.js +0 -5524
- package/dist/index182.js +0 -20
- package/dist/index195.js +0 -37
- package/dist/index63.js +0 -9
- package/dist/index76.js +0 -62
- package/dist/index85.js +0 -36
- package/dist/index98.js +0 -29
- /package/dist/{index119.js → index120.js} +0 -0
- /package/dist/{index121.js → index122.js} +0 -0
- /package/dist/{index123.js → index124.js} +0 -0
- /package/dist/{index125.js → index126.js} +0 -0
- /package/dist/{index127.js → index128.js} +0 -0
- /package/dist/{index129.js → index130.js} +0 -0
- /package/dist/{index136.js → index137.js} +0 -0
- /package/dist/{index138.js → index139.js} +0 -0
- /package/dist/{index140.js → index141.js} +0 -0
- /package/dist/{index148.js → index149.js} +0 -0
- /package/dist/{index150.js → index151.js} +0 -0
- /package/dist/{index152.js → index155.js} +0 -0
- /package/dist/{index66.js → index67.js} +0 -0
- /package/dist/{index68.js → index69.js} +0 -0
- /package/dist/{index70.js → index71.js} +0 -0
- /package/dist/{index74.js → index75.js} +0 -0
- /package/dist/{index79.js → index80.js} +0 -0
- /package/dist/{index92.js → index93.js} +0 -0
- /package/dist/{index94.js → index95.js} +0 -0
package/dist/index237.js
CHANGED
|
@@ -1,22 +1,72 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import i from "./index209.js";
|
|
2
|
+
import o from "./index311.js";
|
|
3
|
+
import { openBlock as t, createElementBlock as a, mergeProps as r, renderSlot as s, createTextVNode as u, toDisplayString as d, createCommentVNode as l, createElementVNode as m } from "vue";
|
|
3
4
|
var p = {
|
|
4
|
-
name: "
|
|
5
|
-
extends:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
name: "BaseProgressBar",
|
|
6
|
+
extends: i,
|
|
7
|
+
props: {
|
|
8
|
+
value: {
|
|
9
|
+
type: Number,
|
|
10
|
+
default: null
|
|
11
|
+
},
|
|
12
|
+
mode: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: "determinate"
|
|
15
|
+
},
|
|
16
|
+
showValue: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: !0
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
style: o,
|
|
22
|
+
provide: function() {
|
|
23
|
+
return {
|
|
24
|
+
$parentInstance: this
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}, v = {
|
|
28
|
+
name: "ProgressBar",
|
|
29
|
+
extends: p,
|
|
30
|
+
inheritAttrs: !1,
|
|
31
|
+
computed: {
|
|
32
|
+
progressStyle: function() {
|
|
33
|
+
return {
|
|
34
|
+
width: this.value + "%",
|
|
35
|
+
display: "flex"
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
indeterminate: function() {
|
|
39
|
+
return this.mode === "indeterminate";
|
|
40
|
+
},
|
|
41
|
+
determinate: function() {
|
|
42
|
+
return this.mode === "determinate";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}, c = ["aria-valuenow"];
|
|
46
|
+
function f(e, y, g, h, B, n) {
|
|
47
|
+
return t(), a("div", r({
|
|
48
|
+
role: "progressbar",
|
|
49
|
+
class: e.cx("root"),
|
|
50
|
+
"aria-valuemin": "0",
|
|
51
|
+
"aria-valuenow": e.value,
|
|
52
|
+
"aria-valuemax": "100"
|
|
53
|
+
}, e.ptmi("root")), [n.determinate ? (t(), a("div", r({
|
|
54
|
+
key: 0,
|
|
55
|
+
class: e.cx("value"),
|
|
56
|
+
style: n.progressStyle
|
|
57
|
+
}, e.ptm("value")), [e.value != null && e.value !== 0 && e.showValue ? (t(), a("div", r({
|
|
58
|
+
key: 0,
|
|
59
|
+
class: e.cx("label")
|
|
60
|
+
}, e.ptm("label")), [s(e.$slots, "default", {}, function() {
|
|
61
|
+
return [u(d(e.value + "%"), 1)];
|
|
62
|
+
})], 16)) : l("", !0)], 16)) : l("", !0), n.indeterminate ? (t(), a("div", r({
|
|
63
|
+
key: 1,
|
|
64
|
+
class: e.cx("container")
|
|
65
|
+
}, e.ptm("container")), [m("div", r({
|
|
66
|
+
class: e.cx("value")
|
|
67
|
+
}, e.ptm("value")), null, 16)], 16)) : l("", !0)], 16, c);
|
|
18
68
|
}
|
|
19
|
-
|
|
69
|
+
v.render = f;
|
|
20
70
|
export {
|
|
21
|
-
|
|
71
|
+
v as default
|
|
22
72
|
};
|
package/dist/index238.js
CHANGED
|
@@ -1,22 +1,36 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
p
|
|
1
|
+
import t from "./index283.js";
|
|
2
|
+
var a = {
|
|
3
|
+
root: function(e) {
|
|
4
|
+
var o = e.props;
|
|
5
|
+
return ["p-fileupload p-fileupload-".concat(o.mode, " p-component")];
|
|
6
|
+
},
|
|
7
|
+
buttonbar: "p-fileupload-buttonbar",
|
|
8
|
+
chooseButton: function(e) {
|
|
9
|
+
var o = e.instance, l = e.props;
|
|
10
|
+
return ["p-button p-component p-fileupload-choose", {
|
|
11
|
+
"p-fileupload-choose-selected": l.mode === "basic" && o.hasFiles,
|
|
12
|
+
"p-disabled": l.disabled,
|
|
13
|
+
"p-focus": o.focused
|
|
14
|
+
}];
|
|
15
|
+
},
|
|
16
|
+
chooseIcon: "p-button-icon p-button-icon-left",
|
|
17
|
+
chooseButtonLabel: "p-button-label",
|
|
18
|
+
content: "p-fileupload-content",
|
|
19
|
+
empty: "p-fileupload-empty",
|
|
20
|
+
uploadIcon: "p-button-icon p-button-icon-left",
|
|
21
|
+
label: "p-button-label",
|
|
22
|
+
file: "p-fileupload-file",
|
|
23
|
+
thumbnail: "p-fileupload-file-thumbnail",
|
|
24
|
+
details: "p-fileupload-file-details",
|
|
25
|
+
fileName: "p-fileupload-file-name",
|
|
26
|
+
fileSize: "p-fileupload-file-size",
|
|
27
|
+
badge: "p-fileupload-file-badge",
|
|
28
|
+
actions: "p-fileupload-file-actions",
|
|
29
|
+
removeButton: "p-fileupload-file-remove"
|
|
30
|
+
}, n = t.extend({
|
|
31
|
+
name: "fileupload",
|
|
32
|
+
classes: a
|
|
33
|
+
});
|
|
20
34
|
export {
|
|
21
|
-
|
|
35
|
+
n as default
|
|
22
36
|
};
|
package/dist/index239.js
CHANGED
|
@@ -1,22 +1,42 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import t from "./index312.js";
|
|
2
|
+
import r from "./index209.js";
|
|
3
|
+
import { openBlock as n, createElementBlock as o, mergeProps as a, renderSlot as s, createTextVNode as p, toDisplayString as i } from "vue";
|
|
4
|
+
var l = {
|
|
5
|
+
name: "BaseBadge",
|
|
6
|
+
extends: r,
|
|
7
|
+
props: {
|
|
8
|
+
value: {
|
|
9
|
+
type: [String, Number],
|
|
10
|
+
default: null
|
|
11
|
+
},
|
|
12
|
+
severity: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: null
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
type: String,
|
|
18
|
+
default: null
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
style: t,
|
|
22
|
+
provide: function() {
|
|
23
|
+
return {
|
|
24
|
+
$parentInstance: this
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}, u = {
|
|
28
|
+
name: "Badge",
|
|
29
|
+
extends: l,
|
|
30
|
+
inheritAttrs: !1
|
|
31
|
+
};
|
|
32
|
+
function d(e, c, f, m, g, $) {
|
|
33
|
+
return n(), o("span", a({
|
|
34
|
+
class: e.cx("root")
|
|
35
|
+
}, e.ptmi("root")), [s(e.$slots, "default", {}, function() {
|
|
36
|
+
return [p(i(e.value), 1)];
|
|
37
|
+
})], 16);
|
|
18
38
|
}
|
|
19
|
-
|
|
39
|
+
u.render = d;
|
|
20
40
|
export {
|
|
21
|
-
|
|
41
|
+
u as default
|
|
22
42
|
};
|
package/dist/index24.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as a, openBlock as
|
|
3
|
-
import
|
|
4
|
-
const L = { class: "file-upload-container w-full" },
|
|
1
|
+
import C from "./index104.js";
|
|
2
|
+
import { resolveComponent as a, openBlock as o, createElementBlock as r, createVNode as n, withCtx as i, createElementVNode as m, normalizeStyle as v, normalizeClass as u, toDisplayString as s, createCommentVNode as d, renderSlot as z, withKeys as c, withModifiers as $, Transition as U, createBlock as g, Teleport as q, createTextVNode as A, Fragment as y, renderList as b } from "vue";
|
|
3
|
+
import S from "./index64.js";
|
|
4
|
+
const L = { class: "file-upload-container w-full" }, I = {
|
|
5
5
|
ref: "dropZoneRef",
|
|
6
6
|
class: "flex flex-col relative"
|
|
7
|
-
}, R = { class: "mt-2 mb-0 text-inkwell-0 text-sm" },
|
|
7
|
+
}, R = { class: "mt-2 mb-0 text-inkwell-0 text-sm" }, H = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "image-gallery-container"
|
|
10
|
-
}, D = {
|
|
10
|
+
}, D = ["tabindex"], V = {
|
|
11
11
|
id: "add-file-label",
|
|
12
12
|
class: "text-inkwell-20 leading-[1.25rem] text-xs"
|
|
13
|
-
},
|
|
13
|
+
}, O = {
|
|
14
14
|
id: "file-upload-error-message",
|
|
15
15
|
class: "flex flex-col gap-2 text-center"
|
|
16
|
-
},
|
|
16
|
+
}, N = { class: "font-bold md:leading-6 text-center text-[1.25rem] md:text-lg text-inkwell-30" }, T = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "sm-down:text-sm text-center text-inkwell-0"
|
|
19
|
-
},
|
|
19
|
+
}, _ = {
|
|
20
20
|
key: 1,
|
|
21
21
|
id: "file-size-errors",
|
|
22
22
|
class: "mb-2 md:mb-6 sm-down:text-sm text-center text-inkwell-0 text-left"
|
|
23
|
-
},
|
|
23
|
+
}, Z = {
|
|
24
24
|
key: 2,
|
|
25
25
|
class: "sm-down:text-sm text-center text-inkwell-0"
|
|
26
|
-
},
|
|
26
|
+
}, K = {
|
|
27
27
|
key: 3,
|
|
28
28
|
id: "file-type-errors",
|
|
29
29
|
class: "mb-2 md:mb-6 sm-down:text-sm text-center text-inkwell-0 text-left"
|
|
30
30
|
};
|
|
31
|
-
function B(e, t, G,
|
|
32
|
-
const
|
|
33
|
-
return
|
|
34
|
-
n(
|
|
31
|
+
function B(e, t, G, P, Q, j) {
|
|
32
|
+
const f = a("q-icon"), k = a("q-image-gallery"), h = a("FileUpload", !0), w = a("q-button"), E = a("q-modal-content"), F = a("q-modal");
|
|
33
|
+
return o(), r("div", L, [
|
|
34
|
+
n(h, {
|
|
35
35
|
ref: "fileUpload",
|
|
36
36
|
name: e.name,
|
|
37
37
|
url: e.url,
|
|
@@ -41,9 +41,10 @@ function B(e, t, G, K, P, x) {
|
|
|
41
41
|
auto: e.autoUpload,
|
|
42
42
|
"custom-upload": e.customUpload,
|
|
43
43
|
disabled: e.disabled,
|
|
44
|
-
|
|
44
|
+
"file-limit": e.fileLimit,
|
|
45
|
+
onError: t[3] || (t[3] = (l) => e.onUploadError(l)),
|
|
45
46
|
onUpload: e.onUpload,
|
|
46
|
-
onUploader: t[4] || (t[4] = (
|
|
47
|
+
onUploader: t[4] || (t[4] = (l) => e.onUploading(l)),
|
|
47
48
|
onSelect: e.onSelectedFiles,
|
|
48
49
|
pt: {
|
|
49
50
|
root: { class: "flex flex-col" },
|
|
@@ -52,36 +53,36 @@ function B(e, t, G, K, P, x) {
|
|
|
52
53
|
},
|
|
53
54
|
ptOptions: { mergeProps: !0 }
|
|
54
55
|
}, {
|
|
55
|
-
content: i((
|
|
56
|
-
|
|
57
|
-
e.isOverDropZone && e.mq.md ? (
|
|
56
|
+
content: i((l) => [
|
|
57
|
+
m("div", I, [
|
|
58
|
+
e.isOverDropZone && e.mq.md ? (o(), r("div", {
|
|
58
59
|
key: 0,
|
|
59
|
-
class:
|
|
60
|
+
class: u([
|
|
60
61
|
"flex flex-col items-center justify-center",
|
|
61
62
|
"bg-gray-0 border border-blue-20 border-dashed",
|
|
62
63
|
"rounded-lg h-[calc(100%+2px)] w-[calc(100%+2px)] -m-px",
|
|
63
64
|
"absolute top-0 left-0 z-30",
|
|
64
65
|
{
|
|
65
66
|
"cursor-pointer": !e.disabled,
|
|
66
|
-
"border-red-30":
|
|
67
|
+
"border-red-30": l.messages && l.messages.length > 0
|
|
67
68
|
}
|
|
68
69
|
]),
|
|
69
|
-
style:
|
|
70
|
+
style: v(`
|
|
70
71
|
height: ${(e.dropZoneRef?.closest(".editor-container")?.clientHeight || 0) + 2}px;
|
|
71
72
|
top: ${e.dropZoneRef?.closest(".show-formatting-menu") ? -36 : 0}px;
|
|
72
73
|
`)
|
|
73
74
|
}, [
|
|
74
|
-
n(
|
|
75
|
+
n(f, {
|
|
75
76
|
icon: "paperclip",
|
|
76
77
|
size: "lg",
|
|
77
78
|
type: "line",
|
|
78
79
|
color: "gray-40"
|
|
79
80
|
}),
|
|
80
|
-
|
|
81
|
+
m("div", R, s(e.$t("HC_CLICK_DRAG_FILES_HERE")), 1)
|
|
81
82
|
], 6)) : d("", !0),
|
|
82
83
|
z(e.$slots, "default"),
|
|
83
|
-
e.allFiles.length || e.showGallery ? (
|
|
84
|
-
n(
|
|
84
|
+
e.allFiles.length || e.showGallery ? (o(), r("div", H, [
|
|
85
|
+
n(k, {
|
|
85
86
|
files: e.allFiles,
|
|
86
87
|
"show-remove": !0,
|
|
87
88
|
processing: e.processing,
|
|
@@ -89,27 +90,29 @@ function B(e, t, G, K, P, x) {
|
|
|
89
90
|
"onUpdate:modelValue": e.onRemoveFile
|
|
90
91
|
}, {
|
|
91
92
|
actions: i(() => [
|
|
92
|
-
|
|
93
|
+
m("div", {
|
|
93
94
|
id: "add-file-container",
|
|
94
95
|
"aria-labelledby": "add-file-label",
|
|
95
|
-
class:
|
|
96
|
+
class: u([
|
|
97
|
+
"p-0 relative rounded-lg shrink-0 my-2 py-2 size-16 md:py-[1.125rem] md:size-20 rounded-lg flex align-center items-center flex-col bg-gray-7",
|
|
98
|
+
e.disabled ? "cursor-not-allowed pointer-events-none" : "hover:bg-gray-20 focus:bg-gray-20 cursor-pointer"
|
|
99
|
+
]),
|
|
96
100
|
role: "button",
|
|
97
|
-
tabindex:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
n(u, {
|
|
101
|
+
tabindex: e.disabled ? -1 : 0,
|
|
102
|
+
onClick: t[0] || (t[0] = (...p) => e.onAddFileClick && e.onAddFileClick(...p)),
|
|
103
|
+
onKeydown: [
|
|
104
|
+
t[1] || (t[1] = c((...p) => e.onAddFileClick && e.onAddFileClick(...p), ["enter"])),
|
|
105
|
+
t[2] || (t[2] = c($((...p) => e.onAddFileClick && e.onAddFileClick(...p), ["prevent"]), ["space"]))
|
|
106
|
+
]
|
|
107
|
+
}, [
|
|
108
|
+
n(f, {
|
|
106
109
|
icon: "circle-plus",
|
|
107
110
|
color: "inkwell-0",
|
|
108
111
|
class: "shrink-0",
|
|
109
112
|
size: "md"
|
|
110
113
|
}),
|
|
111
|
-
|
|
112
|
-
],
|
|
114
|
+
m("div", V, s(e.$t("HC_ADD")), 1)
|
|
115
|
+
], 42, D)
|
|
113
116
|
]),
|
|
114
117
|
_: 1
|
|
115
118
|
}, 8, ["files", "processing", "onUpdate:modelValue"])
|
|
@@ -117,11 +120,11 @@ function B(e, t, G, K, P, x) {
|
|
|
117
120
|
], 512)
|
|
118
121
|
]),
|
|
119
122
|
_: 3
|
|
120
|
-
}, 8, ["name", "url", "multiple", "accept", "maxFileSize", "auto", "custom-upload", "disabled", "onUpload", "onSelect", "pt"]),
|
|
121
|
-
n(
|
|
123
|
+
}, 8, ["name", "url", "multiple", "accept", "maxFileSize", "auto", "custom-upload", "disabled", "file-limit", "onUpload", "onSelect", "pt"]),
|
|
124
|
+
n(U, { name: "fade" }, {
|
|
122
125
|
default: i(() => [
|
|
123
|
-
(
|
|
124
|
-
e.sizeErrors.length || e.typeErrors.length ? (
|
|
126
|
+
(o(), g(q, { to: "body" }, [
|
|
127
|
+
e.sizeErrors.length || e.typeErrors.length ? (o(), g(F, {
|
|
125
128
|
key: 0,
|
|
126
129
|
id: "file-upload-error-modal",
|
|
127
130
|
dismissible: !1,
|
|
@@ -129,33 +132,33 @@ function B(e, t, G, K, P, x) {
|
|
|
129
132
|
"container-class": "h-fit min-h-fit"
|
|
130
133
|
}, {
|
|
131
134
|
default: i(() => [
|
|
132
|
-
n(
|
|
135
|
+
n(E, null, {
|
|
133
136
|
body: i(() => [
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
e.sizeErrors.length ? (
|
|
137
|
+
m("div", O, [
|
|
138
|
+
m("h2", N, s(e.typeErrors.length ? e.$t("HC_INVALID_FILES") : e.$t("HC_FILE_TOO_LARGE")), 1),
|
|
139
|
+
e.sizeErrors.length ? (o(), r("p", T, s(e.$t("HC_UPLOAD_FILE_SIZE_ERROR", {
|
|
137
140
|
size: e.maxFileSize / 1024 / 1024
|
|
138
141
|
})), 1)) : d("", !0),
|
|
139
|
-
e.sizeErrors.length ? (
|
|
140
|
-
(
|
|
142
|
+
e.sizeErrors.length ? (o(), r("ul", _, [
|
|
143
|
+
(o(!0), r(y, null, b(e.sizeErrors, (l) => (o(), r("li", { key: l }, s(l), 1))), 128))
|
|
141
144
|
])) : d("", !0),
|
|
142
|
-
e.typeErrors.length ? (
|
|
145
|
+
e.typeErrors.length ? (o(), r("p", Z, s(e.$t("HC_INVALID_FILE_TYPES", {
|
|
143
146
|
types: e.displayAllowedTypes
|
|
144
147
|
}) + ":"), 1)) : d("", !0),
|
|
145
|
-
e.typeErrors.length ? (
|
|
146
|
-
(
|
|
148
|
+
e.typeErrors.length ? (o(), r("ul", K, [
|
|
149
|
+
(o(!0), r(y, null, b(e.typeErrors, (l) => (o(), r("li", { key: l }, s(l), 1))), 128))
|
|
147
150
|
])) : d("", !0)
|
|
148
151
|
])
|
|
149
152
|
]),
|
|
150
153
|
footer: i(() => [
|
|
151
|
-
n(
|
|
152
|
-
class:
|
|
154
|
+
n(w, {
|
|
155
|
+
class: u([e.mq.md ? "mx-3" : "w-full"]),
|
|
153
156
|
status: e.mq.md ? "primary" : "primary-blue",
|
|
154
157
|
size: "lg",
|
|
155
|
-
onClick: t[5] || (t[5] = (
|
|
158
|
+
onClick: t[5] || (t[5] = (l) => e.clearErrors())
|
|
156
159
|
}, {
|
|
157
160
|
default: i(() => [
|
|
158
|
-
|
|
161
|
+
A(s(e.$t("HC_OK")), 1)
|
|
159
162
|
]),
|
|
160
163
|
_: 1
|
|
161
164
|
}, 8, ["class", "status"])
|
|
@@ -171,7 +174,7 @@ function B(e, t, G, K, P, x) {
|
|
|
171
174
|
})
|
|
172
175
|
]);
|
|
173
176
|
}
|
|
174
|
-
const J = /* @__PURE__ */
|
|
177
|
+
const J = /* @__PURE__ */ S(C, [["render", B]]);
|
|
175
178
|
export {
|
|
176
179
|
J as default
|
|
177
180
|
};
|
package/dist/index240.js
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import r from "./
|
|
2
|
-
import { openBlock as
|
|
3
|
-
var
|
|
4
|
-
name: "
|
|
1
|
+
import r from "./index305.js";
|
|
2
|
+
import { openBlock as o, createElementBlock as t, mergeProps as n, createElementVNode as C } from "vue";
|
|
3
|
+
var l = {
|
|
4
|
+
name: "ArrowDownIcon",
|
|
5
5
|
extends: r
|
|
6
|
-
},
|
|
7
|
-
|
|
6
|
+
}, i = /* @__PURE__ */ C("path", {
|
|
7
|
+
"fill-rule": "evenodd",
|
|
8
|
+
"clip-rule": "evenodd",
|
|
9
|
+
d: "M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",
|
|
8
10
|
fill: "currentColor"
|
|
9
|
-
}, null, -1),
|
|
10
|
-
function
|
|
11
|
-
return
|
|
11
|
+
}, null, -1), p = [i];
|
|
12
|
+
function d(e, s, a, c, m, h) {
|
|
13
|
+
return o(), t("svg", n({
|
|
12
14
|
width: "14",
|
|
13
15
|
height: "14",
|
|
14
16
|
viewBox: "0 0 14 14",
|
|
15
17
|
fill: "none",
|
|
16
18
|
xmlns: "http://www.w3.org/2000/svg"
|
|
17
|
-
}, e.pti()),
|
|
19
|
+
}, e.pti()), p, 16);
|
|
18
20
|
}
|
|
19
|
-
|
|
21
|
+
l.render = d;
|
|
20
22
|
export {
|
|
21
|
-
|
|
23
|
+
l as default
|
|
22
24
|
};
|
package/dist/index241.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import r from "./
|
|
1
|
+
import r from "./index305.js";
|
|
2
2
|
import { openBlock as o, createElementBlock as t, mergeProps as n, createElementVNode as C } from "vue";
|
|
3
3
|
var l = {
|
|
4
|
-
name: "
|
|
4
|
+
name: "ArrowUpIcon",
|
|
5
5
|
extends: r
|
|
6
6
|
}, i = /* @__PURE__ */ C("path", {
|
|
7
7
|
"fill-rule": "evenodd",
|
|
8
8
|
"clip-rule": "evenodd",
|
|
9
|
-
d: "M6.
|
|
9
|
+
d: "M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",
|
|
10
10
|
fill: "currentColor"
|
|
11
11
|
}, null, -1), p = [i];
|
|
12
12
|
function d(e, s, a, c, m, h) {
|
package/dist/index242.js
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { openBlock as
|
|
3
|
-
var
|
|
4
|
-
name: "
|
|
5
|
-
extends:
|
|
6
|
-
},
|
|
7
|
-
"
|
|
8
|
-
"clip-rule": "evenodd",
|
|
9
|
-
d: "M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",
|
|
1
|
+
import C from "./index305.js";
|
|
2
|
+
import { openBlock as r, createElementBlock as t, mergeProps as o, createElementVNode as n } from "vue";
|
|
3
|
+
var i = {
|
|
4
|
+
name: "SpinnerIcon",
|
|
5
|
+
extends: C
|
|
6
|
+
}, p = /* @__PURE__ */ n("path", {
|
|
7
|
+
d: "M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",
|
|
10
8
|
fill: "currentColor"
|
|
11
|
-
}, null, -1),
|
|
12
|
-
function
|
|
13
|
-
return
|
|
9
|
+
}, null, -1), l = [p];
|
|
10
|
+
function s(e, a, c, d, m, h) {
|
|
11
|
+
return r(), t("svg", o({
|
|
14
12
|
width: "14",
|
|
15
13
|
height: "14",
|
|
16
14
|
viewBox: "0 0 14 14",
|
|
17
15
|
fill: "none",
|
|
18
16
|
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}, e.pti()),
|
|
17
|
+
}, e.pti()), l, 16);
|
|
20
18
|
}
|
|
21
|
-
|
|
19
|
+
i.render = s;
|
|
22
20
|
export {
|
|
23
|
-
|
|
21
|
+
i as default
|
|
24
22
|
};
|