@bagelink/vue 0.0.949 → 0.0.951
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.cjs +37 -37
- package/dist/index.mjs +37 -37
- package/dist/style.css +34 -34
- package/package.json +1 -1
- package/src/components/form/inputs/FileUpload.vue +15 -15
package/dist/index.cjs
CHANGED
|
@@ -18679,12 +18679,12 @@ const _hoisted_11$1 = {
|
|
|
18679
18679
|
key: 1,
|
|
18680
18680
|
class: "bgl-single-preview"
|
|
18681
18681
|
};
|
|
18682
|
-
const _hoisted_12$1 = {
|
|
18682
|
+
const _hoisted_12$1 = { class: "position-start m-05 flex opacity-7 z-99" };
|
|
18683
|
+
const _hoisted_13$1 = {
|
|
18683
18684
|
key: 0,
|
|
18684
18685
|
class: "h-100"
|
|
18685
18686
|
};
|
|
18686
|
-
const
|
|
18687
|
-
const _hoisted_14$1 = { class: "position-start m-05 flex opacity-7" };
|
|
18687
|
+
const _hoisted_14$1 = ["src"];
|
|
18688
18688
|
const _hoisted_15$1 = {
|
|
18689
18689
|
key: 0,
|
|
18690
18690
|
class: "progress"
|
|
@@ -18855,7 +18855,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18855
18855
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
18856
18856
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
18857
18857
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
18858
|
-
_ctx.required ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$l)) : vue.createCommentVNode("", true),
|
|
18858
|
+
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$l)) : vue.createCommentVNode("", true),
|
|
18859
18859
|
vue.unref(theme) === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
18860
18860
|
key: 1,
|
|
18861
18861
|
outline: "",
|
|
@@ -18976,43 +18976,43 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
18976
18976
|
key: file.id,
|
|
18977
18977
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
18978
18978
|
}, [
|
|
18979
|
-
|
|
18979
|
+
vue.createElementVNode("div", _hoisted_12$1, [
|
|
18980
|
+
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
18981
|
+
color: "gray",
|
|
18982
|
+
thin: "",
|
|
18983
|
+
icon: "delete",
|
|
18984
|
+
onClick: vue.withModifiers(($event) => removeFile(file), ["stop"])
|
|
18985
|
+
}, null, 8, ["onClick"]), [
|
|
18986
|
+
[_directive_tooltip, "Delete"]
|
|
18987
|
+
]),
|
|
18988
|
+
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
18989
|
+
color: "gray",
|
|
18990
|
+
thin: "",
|
|
18991
|
+
icon: "autorenew",
|
|
18992
|
+
onClick: browse
|
|
18993
|
+
}, null, 512), [
|
|
18994
|
+
[_directive_tooltip, "Replace"]
|
|
18995
|
+
]),
|
|
18996
|
+
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
18997
|
+
href: file.url,
|
|
18998
|
+
download: file.name,
|
|
18999
|
+
color: "gray",
|
|
19000
|
+
thin: "",
|
|
19001
|
+
icon: "download",
|
|
19002
|
+
target: "_blank",
|
|
19003
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
19004
|
+
}, ["stop"]))
|
|
19005
|
+
}, null, 8, ["href", "download"]), [
|
|
19006
|
+
[_directive_tooltip, "Download"]
|
|
19007
|
+
])
|
|
19008
|
+
]),
|
|
19009
|
+
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$1, [
|
|
18980
19010
|
vue.withDirectives(vue.createElementVNode("img", {
|
|
18981
19011
|
class: "single-preview",
|
|
18982
19012
|
src: file.url,
|
|
18983
19013
|
alt: ""
|
|
18984
|
-
}, null, 8,
|
|
19014
|
+
}, null, 8, _hoisted_14$1), [
|
|
18985
19015
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
18986
|
-
]),
|
|
18987
|
-
vue.createElementVNode("div", _hoisted_14$1, [
|
|
18988
|
-
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
18989
|
-
color: "gray",
|
|
18990
|
-
thin: "",
|
|
18991
|
-
icon: "delete",
|
|
18992
|
-
onClick: vue.withModifiers(($event) => removeFile(file), ["stop"])
|
|
18993
|
-
}, null, 8, ["onClick"]), [
|
|
18994
|
-
[_directive_tooltip, "Delete"]
|
|
18995
|
-
]),
|
|
18996
|
-
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
18997
|
-
color: "gray",
|
|
18998
|
-
thin: "",
|
|
18999
|
-
icon: "autorenew",
|
|
19000
|
-
onClick: browse
|
|
19001
|
-
}, null, 512), [
|
|
19002
|
-
[_directive_tooltip, "Replace"]
|
|
19003
|
-
]),
|
|
19004
|
-
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
19005
|
-
href: file.url,
|
|
19006
|
-
download: file.name,
|
|
19007
|
-
color: "gray",
|
|
19008
|
-
thin: "",
|
|
19009
|
-
icon: "download",
|
|
19010
|
-
target: "_blank",
|
|
19011
|
-
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
19012
|
-
}, ["stop"]))
|
|
19013
|
-
}, null, 8, ["href", "download"]), [
|
|
19014
|
-
[_directive_tooltip, "Download"]
|
|
19015
|
-
])
|
|
19016
19016
|
])
|
|
19017
19017
|
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
|
|
19018
19018
|
key: 1,
|
|
@@ -19066,7 +19066,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
19066
19066
|
};
|
|
19067
19067
|
}
|
|
19068
19068
|
});
|
|
19069
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
19069
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-36f16bdf"]]);
|
|
19070
19070
|
const _hoisted_1$u = ["title"];
|
|
19071
19071
|
const _hoisted_2$k = { key: 0 };
|
|
19072
19072
|
const _hoisted_3$g = ["value", "placeholder"];
|
package/dist/index.mjs
CHANGED
|
@@ -18677,12 +18677,12 @@ const _hoisted_11$1 = {
|
|
|
18677
18677
|
key: 1,
|
|
18678
18678
|
class: "bgl-single-preview"
|
|
18679
18679
|
};
|
|
18680
|
-
const _hoisted_12$1 = {
|
|
18680
|
+
const _hoisted_12$1 = { class: "position-start m-05 flex opacity-7 z-99" };
|
|
18681
|
+
const _hoisted_13$1 = {
|
|
18681
18682
|
key: 0,
|
|
18682
18683
|
class: "h-100"
|
|
18683
18684
|
};
|
|
18684
|
-
const
|
|
18685
|
-
const _hoisted_14$1 = { class: "position-start m-05 flex opacity-7" };
|
|
18685
|
+
const _hoisted_14$1 = ["src"];
|
|
18686
18686
|
const _hoisted_15$1 = {
|
|
18687
18687
|
key: 0,
|
|
18688
18688
|
class: "progress"
|
|
@@ -18853,7 +18853,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18853
18853
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
18854
18854
|
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
18855
18855
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
18856
|
-
_ctx.required ? (openBlock(), createElementBlock("input", _hoisted_2$l)) : createCommentVNode("", true),
|
|
18856
|
+
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$l)) : createCommentVNode("", true),
|
|
18857
18857
|
unref(theme) === "basic" ? (openBlock(), createBlock(unref(_sfc_main$R), {
|
|
18858
18858
|
key: 1,
|
|
18859
18859
|
outline: "",
|
|
@@ -18974,43 +18974,43 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
18974
18974
|
key: file.id,
|
|
18975
18975
|
class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
18976
18976
|
}, [
|
|
18977
|
-
|
|
18977
|
+
createElementVNode("div", _hoisted_12$1, [
|
|
18978
|
+
withDirectives(createVNode(unref(Btn), {
|
|
18979
|
+
color: "gray",
|
|
18980
|
+
thin: "",
|
|
18981
|
+
icon: "delete",
|
|
18982
|
+
onClick: withModifiers(($event) => removeFile(file), ["stop"])
|
|
18983
|
+
}, null, 8, ["onClick"]), [
|
|
18984
|
+
[_directive_tooltip, "Delete"]
|
|
18985
|
+
]),
|
|
18986
|
+
withDirectives(createVNode(unref(Btn), {
|
|
18987
|
+
color: "gray",
|
|
18988
|
+
thin: "",
|
|
18989
|
+
icon: "autorenew",
|
|
18990
|
+
onClick: browse
|
|
18991
|
+
}, null, 512), [
|
|
18992
|
+
[_directive_tooltip, "Replace"]
|
|
18993
|
+
]),
|
|
18994
|
+
withDirectives(createVNode(unref(Btn), {
|
|
18995
|
+
href: file.url,
|
|
18996
|
+
download: file.name,
|
|
18997
|
+
color: "gray",
|
|
18998
|
+
thin: "",
|
|
18999
|
+
icon: "download",
|
|
19000
|
+
target: "_blank",
|
|
19001
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
19002
|
+
}, ["stop"]))
|
|
19003
|
+
}, null, 8, ["href", "download"]), [
|
|
19004
|
+
[_directive_tooltip, "Download"]
|
|
19005
|
+
])
|
|
19006
|
+
]),
|
|
19007
|
+
isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
|
|
18978
19008
|
withDirectives(createElementVNode("img", {
|
|
18979
19009
|
class: "single-preview",
|
|
18980
19010
|
src: file.url,
|
|
18981
19011
|
alt: ""
|
|
18982
|
-
}, null, 8,
|
|
19012
|
+
}, null, 8, _hoisted_14$1), [
|
|
18983
19013
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
18984
|
-
]),
|
|
18985
|
-
createElementVNode("div", _hoisted_14$1, [
|
|
18986
|
-
withDirectives(createVNode(unref(Btn), {
|
|
18987
|
-
color: "gray",
|
|
18988
|
-
thin: "",
|
|
18989
|
-
icon: "delete",
|
|
18990
|
-
onClick: withModifiers(($event) => removeFile(file), ["stop"])
|
|
18991
|
-
}, null, 8, ["onClick"]), [
|
|
18992
|
-
[_directive_tooltip, "Delete"]
|
|
18993
|
-
]),
|
|
18994
|
-
withDirectives(createVNode(unref(Btn), {
|
|
18995
|
-
color: "gray",
|
|
18996
|
-
thin: "",
|
|
18997
|
-
icon: "autorenew",
|
|
18998
|
-
onClick: browse
|
|
18999
|
-
}, null, 512), [
|
|
19000
|
-
[_directive_tooltip, "Replace"]
|
|
19001
|
-
]),
|
|
19002
|
-
withDirectives(createVNode(unref(Btn), {
|
|
19003
|
-
href: file.url,
|
|
19004
|
-
download: file.name,
|
|
19005
|
-
color: "gray",
|
|
19006
|
-
thin: "",
|
|
19007
|
-
icon: "download",
|
|
19008
|
-
target: "_blank",
|
|
19009
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
19010
|
-
}, ["stop"]))
|
|
19011
|
-
}, null, 8, ["href", "download"]), [
|
|
19012
|
-
[_directive_tooltip, "Download"]
|
|
19013
|
-
])
|
|
19014
19014
|
])
|
|
19015
19015
|
])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$c), {
|
|
19016
19016
|
key: 1,
|
|
@@ -19064,7 +19064,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19064
19064
|
};
|
|
19065
19065
|
}
|
|
19066
19066
|
});
|
|
19067
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
19067
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-36f16bdf"]]);
|
|
19068
19068
|
const _hoisted_1$u = ["title"];
|
|
19069
19069
|
const _hoisted_2$k = { key: 0 };
|
|
19070
19070
|
const _hoisted_3$g = ["value", "placeholder"];
|
package/dist/style.css
CHANGED
|
@@ -707,7 +707,7 @@ data[data-v-6c27f163] {
|
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
709
|
|
|
710
|
-
.fileUploadWrap[data-v-
|
|
710
|
+
.fileUploadWrap[data-v-36f16bdf] {
|
|
711
711
|
outline: 1px solid var(--border-color);
|
|
712
712
|
border-radius: var(--input-border-radius);
|
|
713
713
|
text-align: center;
|
|
@@ -719,7 +719,7 @@ data[data-v-6c27f163] {
|
|
|
719
719
|
background: var(--input-bg);
|
|
720
720
|
height: 215px;
|
|
721
721
|
}
|
|
722
|
-
.bagel-input .fileUploadWrap.fileDropZone[data-v-
|
|
722
|
+
.bagel-input .fileUploadWrap.fileDropZone[data-v-36f16bdf] {
|
|
723
723
|
background: var(--input-bg);
|
|
724
724
|
display: flex;
|
|
725
725
|
align-items: center;
|
|
@@ -727,14 +727,14 @@ data[data-v-6c27f163] {
|
|
|
727
727
|
color: var(--bgl-gray);
|
|
728
728
|
flex-direction: column;
|
|
729
729
|
}
|
|
730
|
-
.fileUploadWrap.dragover[data-v-
|
|
731
|
-
.fileUploadWrap[data-v-
|
|
730
|
+
.fileUploadWrap.dragover[data-v-36f16bdf],
|
|
731
|
+
.fileUploadWrap[data-v-36f16bdf]:hover {
|
|
732
732
|
box-shadow: inset 0 0 10px #00000012;
|
|
733
733
|
}
|
|
734
|
-
.fileUploadWrap[style*="height: auto;"][data-v-
|
|
734
|
+
.fileUploadWrap[style*="height: auto;"][data-v-36f16bdf] {
|
|
735
735
|
min-height: 215px;
|
|
736
736
|
}
|
|
737
|
-
.multi-image-item-preview[data-v-
|
|
737
|
+
.multi-image-item-preview[data-v-36f16bdf] {
|
|
738
738
|
border: 1px solid var(--border-color) !important;
|
|
739
739
|
border-radius: var(--input-border-radius);
|
|
740
740
|
margin: 0.5rem !important;
|
|
@@ -748,12 +748,12 @@ data[data-v-6c27f163] {
|
|
|
748
748
|
gap: 1rem;
|
|
749
749
|
align-items: center;
|
|
750
750
|
}
|
|
751
|
-
.multi-image-item-preview p[data-v-
|
|
751
|
+
.multi-image-item-preview p[data-v-36f16bdf] {
|
|
752
752
|
overflow: hidden;
|
|
753
753
|
text-overflow: ellipsis;
|
|
754
754
|
white-space: nowrap;
|
|
755
755
|
}
|
|
756
|
-
.multi-preview[data-v-
|
|
756
|
+
.multi-preview[data-v-36f16bdf]{
|
|
757
757
|
width: 40px;
|
|
758
758
|
height: 40px;
|
|
759
759
|
border-radius: var(--input-border-radius);
|
|
@@ -764,17 +764,17 @@ data[data-v-6c27f163] {
|
|
|
764
764
|
align-items: center;
|
|
765
765
|
display: flex;
|
|
766
766
|
}
|
|
767
|
-
.bgl-single-preview[data-v-
|
|
767
|
+
.bgl-single-preview[data-v-36f16bdf]{
|
|
768
768
|
height: 100%;
|
|
769
769
|
position: relative;
|
|
770
770
|
}
|
|
771
|
-
.bgl-single-preview + .fileUploadPlaceHolder[data-v-
|
|
771
|
+
.bgl-single-preview + .fileUploadPlaceHolder[data-v-36f16bdf]{
|
|
772
772
|
position: absolute;
|
|
773
773
|
inset: 0;
|
|
774
774
|
margin: auto;
|
|
775
775
|
top: calc(50% - 2rem);
|
|
776
776
|
}
|
|
777
|
-
.single-image-item-preview[data-v-
|
|
777
|
+
.single-image-item-preview[data-v-36f16bdf] {
|
|
778
778
|
height: 100%;
|
|
779
779
|
min-height: 100%;
|
|
780
780
|
position: relative;
|
|
@@ -782,13 +782,13 @@ data[data-v-6c27f163] {
|
|
|
782
782
|
align-items: center;
|
|
783
783
|
justify-content: center;
|
|
784
784
|
}
|
|
785
|
-
.fileUploadWrap[style*="height: auto"] .single-image-item-preview[data-v-
|
|
785
|
+
.fileUploadWrap[style*="height: auto"] .single-image-item-preview[data-v-36f16bdf] {
|
|
786
786
|
min-height: 215px;
|
|
787
787
|
}
|
|
788
|
-
.fileUploadWrap[style*="height: auto"] .single-preview[data-v-
|
|
788
|
+
.fileUploadWrap[style*="height: auto"] .single-preview[data-v-36f16bdf] {
|
|
789
789
|
margin: 0rem !important;
|
|
790
790
|
}
|
|
791
|
-
.single-preview[data-v-
|
|
791
|
+
.single-preview[data-v-36f16bdf]{
|
|
792
792
|
border-radius: var(--input-border-radius);
|
|
793
793
|
margin: 1rem;
|
|
794
794
|
padding: 0px;
|
|
@@ -797,7 +797,7 @@ data[data-v-6c27f163] {
|
|
|
797
797
|
object-fit: cover;
|
|
798
798
|
background: var(--bgl-gray-light);
|
|
799
799
|
}
|
|
800
|
-
.single-image-item-preview[data-v-
|
|
800
|
+
.single-image-item-preview[data-v-36f16bdf]:hover::after{
|
|
801
801
|
content: "zoom_in";
|
|
802
802
|
font-size: 32px;
|
|
803
803
|
font-family: "Material Symbols Outlined", serif;
|
|
@@ -807,20 +807,20 @@ data[data-v-6c27f163] {
|
|
|
807
807
|
z-index: 9;
|
|
808
808
|
pointer-events: none;
|
|
809
809
|
}
|
|
810
|
-
.single-image-item-preview:hover img[data-v-
|
|
810
|
+
.single-image-item-preview:hover img[data-v-36f16bdf]{
|
|
811
811
|
filter: brightness(70%);
|
|
812
812
|
}
|
|
813
|
-
.bgl_fill-image.single-image-item-preview[data-v-
|
|
813
|
+
.bgl_fill-image.single-image-item-preview[data-v-36f16bdf] {
|
|
814
814
|
height: 100%;
|
|
815
815
|
}
|
|
816
|
-
.bgl_fill-image.single-image-item-preview .single-preview[data-v-
|
|
816
|
+
.bgl_fill-image.single-image-item-preview .single-preview[data-v-36f16bdf]{
|
|
817
817
|
border-radius: unset;
|
|
818
818
|
object-fit: cover;
|
|
819
819
|
box-shadow: unset;
|
|
820
820
|
width: 100%;
|
|
821
821
|
height: auto;
|
|
822
822
|
}
|
|
823
|
-
.single-image-item-preview .pie[data-v-
|
|
823
|
+
.single-image-item-preview .pie[data-v-36f16bdf] {
|
|
824
824
|
transform-origin: top;
|
|
825
825
|
transform: scale(1.4);
|
|
826
826
|
position: absolute;
|
|
@@ -834,31 +834,31 @@ data[data-v-6c27f163] {
|
|
|
834
834
|
border: none !important;
|
|
835
835
|
padding: 0 !important;
|
|
836
836
|
}
|
|
837
|
-
.bgl_oval-upload[data-v-
|
|
837
|
+
.bgl_oval-upload[data-v-36f16bdf] {
|
|
838
838
|
border-radius: 100% !important;
|
|
839
839
|
overflow: hidden;
|
|
840
840
|
}
|
|
841
|
-
.bgl_oval-upload p[data-v-
|
|
841
|
+
.bgl_oval-upload p[data-v-36f16bdf] {
|
|
842
842
|
padding: 0.75rem !important;
|
|
843
843
|
font-size: 12px
|
|
844
844
|
}
|
|
845
|
-
.bgl_oval-upload .fileUploadPlaceHolder[data-v-
|
|
845
|
+
.bgl_oval-upload .fileUploadPlaceHolder[data-v-36f16bdf]{
|
|
846
846
|
top: 0;
|
|
847
847
|
}
|
|
848
|
-
.bgl_oval-upload .pie[data-v-
|
|
848
|
+
.bgl_oval-upload .pie[data-v-36f16bdf] {
|
|
849
849
|
transform: scale(1);
|
|
850
850
|
}
|
|
851
|
-
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-
|
|
851
|
+
.bgl_oval-upload span.bgl_icon-font.color-primary[data-v-36f16bdf] {
|
|
852
852
|
transform: scale(0.4) !important;
|
|
853
853
|
}
|
|
854
|
-
.bgl_oval-upload .single-image-item-preview[data-v-
|
|
854
|
+
.bgl_oval-upload .single-image-item-preview[data-v-36f16bdf]{
|
|
855
855
|
height: 100%;
|
|
856
856
|
}
|
|
857
|
-
.bgl_oval-upload .single-preview[data-v-
|
|
857
|
+
.bgl_oval-upload .single-preview[data-v-36f16bdf] {
|
|
858
858
|
margin: 0;
|
|
859
859
|
height: 100% !important;
|
|
860
860
|
}
|
|
861
|
-
.pie[data-v-
|
|
861
|
+
.pie[data-v-36f16bdf] {
|
|
862
862
|
width: 30px;
|
|
863
863
|
height: 30px;
|
|
864
864
|
position: relative;
|
|
@@ -866,7 +866,7 @@ data[data-v-6c27f163] {
|
|
|
866
866
|
align-items: center;
|
|
867
867
|
justify-content: center;
|
|
868
868
|
}
|
|
869
|
-
.pie[data-v-
|
|
869
|
+
.pie[data-v-36f16bdf]:before {
|
|
870
870
|
content: '';
|
|
871
871
|
position: absolute;
|
|
872
872
|
border-radius: 50%;
|
|
@@ -884,26 +884,26 @@ data[data-v-6c27f163] {
|
|
|
884
884
|
#000 calc(100% - var(--b))
|
|
885
885
|
);
|
|
886
886
|
}
|
|
887
|
-
.pie .success[data-v-
|
|
887
|
+
.pie .success[data-v-36f16bdf] {
|
|
888
888
|
transform: scale(0);
|
|
889
889
|
opacity: 0;
|
|
890
890
|
transition: all 0.3s ease-in-out;
|
|
891
891
|
}
|
|
892
|
-
.pie .progress[data-v-
|
|
892
|
+
.pie .progress[data-v-36f16bdf] {
|
|
893
893
|
position: absolute;
|
|
894
894
|
font-size: 10px;
|
|
895
895
|
}
|
|
896
|
-
.pie.complete .progress[data-v-
|
|
896
|
+
.pie.complete .progress[data-v-36f16bdf] {
|
|
897
897
|
display: none;
|
|
898
898
|
}
|
|
899
|
-
.pie.complete .success[data-v-
|
|
899
|
+
.pie.complete .success[data-v-36f16bdf] {
|
|
900
900
|
transform: scale(1.3);
|
|
901
901
|
opacity: 1;
|
|
902
902
|
}
|
|
903
|
-
.pie.complete[data-v-
|
|
903
|
+
.pie.complete[data-v-36f16bdf]:before {
|
|
904
904
|
background: conic-gradient(var(--bgl-green) calc(var(--p) * 1%), #0000 0);
|
|
905
905
|
}
|
|
906
|
-
.pie.complete[data-v-
|
|
906
|
+
.pie.complete[data-v-36f16bdf] {
|
|
907
907
|
color: var(--bgl-green);
|
|
908
908
|
}
|
|
909
909
|
|
package/package.json
CHANGED
|
@@ -204,7 +204,7 @@ function drop(e: DragEvent) {
|
|
|
204
204
|
<label>
|
|
205
205
|
{{ label }}
|
|
206
206
|
</label>
|
|
207
|
-
<input v-if="required" placeholder="required" type="text" required class="pixel">
|
|
207
|
+
<input v-if="required && !storageFiles.length" placeholder="required" type="text" required class="pixel">
|
|
208
208
|
<Card
|
|
209
209
|
v-if="theme === 'basic'" outline class="flex p-05 gap-1" @dragover="dragover"
|
|
210
210
|
@drop="drop"
|
|
@@ -309,22 +309,22 @@ function drop(e: DragEvent) {
|
|
|
309
309
|
class="single-image-item-preview"
|
|
310
310
|
:class="{ 'bgl_fill-image': fill }"
|
|
311
311
|
>
|
|
312
|
+
<div class="position-start m-05 flex opacity-7 z-99">
|
|
313
|
+
<Btn v-tooltip="'Delete'" color="gray" thin icon="delete" @click.stop="removeFile(file)" />
|
|
314
|
+
<Btn
|
|
315
|
+
v-tooltip="'Replace'" color="gray" thin icon="autorenew"
|
|
316
|
+
@click="browse"
|
|
317
|
+
/>
|
|
318
|
+
<Btn
|
|
319
|
+
v-tooltip="'Download'"
|
|
320
|
+
:href="file.url" :download="file.name"
|
|
321
|
+
color="gray" thin icon="download"
|
|
322
|
+
target="_blank"
|
|
323
|
+
@click.stop
|
|
324
|
+
/>
|
|
325
|
+
</div>
|
|
312
326
|
<div v-if="isImage(file.extension || file.url)" class="h-100">
|
|
313
327
|
<img v-lightbox="{ src: file.url, download: true }" class="single-preview" :src="file.url" alt="">
|
|
314
|
-
<div class="position-start m-05 flex opacity-7">
|
|
315
|
-
<Btn v-tooltip="'Delete'" color="gray" thin icon="delete" @click.stop="removeFile(file)" />
|
|
316
|
-
<Btn
|
|
317
|
-
v-tooltip="'Replace'" color="gray" thin icon="autorenew"
|
|
318
|
-
@click="browse"
|
|
319
|
-
/>
|
|
320
|
-
<Btn
|
|
321
|
-
v-tooltip="'Download'"
|
|
322
|
-
:href="file.url" :download="file.name"
|
|
323
|
-
color="gray" thin icon="download"
|
|
324
|
-
target="_blank"
|
|
325
|
-
@click.stop
|
|
326
|
-
/>
|
|
327
|
-
</div>
|
|
328
328
|
</div>
|
|
329
329
|
<Icon v-else v-lightbox="{ src: file.url, download: true }" :size="4" weight="2" icon="draft" class="color-primary w-100" />
|
|
330
330
|
</div>
|