bkui-vue 1.0.0 → 1.0.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/README.md +1 -0
- package/dist/index.cjs.js +47 -47
- package/dist/index.esm.js +10405 -10394
- package/dist/index.umd.js +47 -47
- package/dist/locale/en.esm.js +1 -1
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/en.umd.js +1 -1
- package/dist/locale/en.umd.js.map +1 -1
- package/dist/locale/zh-cn.esm.js +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/dist/locale/zh-cn.umd.js +1 -1
- package/dist/locale/zh-cn.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.d.ts +57 -111
- package/lib/affix/index.js +19 -19
- package/lib/alert/alert.d.ts +1 -1
- package/lib/alert/index.d.ts +82 -132
- package/lib/alert/index.js +20 -20
- package/lib/animate-number/index.d.ts +33 -96
- package/lib/backtop/index.d.ts +69 -117
- package/lib/badge/badge.d.ts +1 -1
- package/lib/badge/index.d.ts +120 -153
- package/lib/badge/index.js +19 -19
- package/lib/breadcrumb/index.d.ts +67 -119
- package/lib/breadcrumb/index.js +17 -17
- package/lib/button/button.d.ts +2 -2
- package/lib/button/index.d.ts +119 -155
- package/lib/button/index.js +19 -20
- package/lib/card/card.d.ts +1 -1
- package/lib/card/index.d.ts +129 -158
- package/lib/card/index.js +20 -22
- package/lib/cascader/cascader.d.ts +3 -3
- package/lib/cascader/index.d.ts +393 -354
- package/lib/cascader/index.js +233 -234
- package/lib/checkbox/checkbox.d.ts +1 -1
- package/lib/checkbox/index.d.ts +119 -161
- package/lib/checkbox/index.js +39 -41
- package/lib/code-diff/index.d.ts +65 -82
- package/lib/code-diff/index.js +381 -438
- package/lib/collapse/index.d.ts +144 -168
- package/lib/collapse/index.js +21 -21
- package/lib/collapse-transition/index.d.ts +19 -94
- package/lib/color-picker/color-picker.d.ts +1 -1
- package/lib/color-picker/index.d.ts +128 -154
- package/lib/color-picker/index.js +25 -28
- package/lib/config-provider/config-provider.d.ts +9 -0
- package/lib/config-provider/index.d.ts +168 -223
- package/lib/config-provider/index.js +19 -19
- package/lib/config-provider/token.d.ts +3 -0
- package/lib/container/container.d.ts +1 -1
- package/lib/container/index.d.ts +74 -85
- package/lib/container/index.js +19 -19
- package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
- package/lib/date-picker/base/time-spinner.d.ts +3 -3
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/lib/date-picker/index.d.ts +384 -351
- package/lib/date-picker/index.js +92 -104
- package/lib/date-picker/panel/date-range.d.ts +1 -1
- package/lib/date-picker/panel/date.d.ts +1 -1
- package/lib/date-picker/panel/time-range.d.ts +2 -2
- package/lib/date-picker/panel/time.d.ts +1 -1
- package/lib/date-picker/time-picker.d.ts +3 -3
- package/lib/dialog/index.d.ts +355 -309
- package/lib/dialog/index.js +227 -228
- package/lib/directives/index.js +27 -27
- package/lib/divider/index.d.ts +57 -111
- package/lib/dropdown/dropdown.d.ts +1 -1
- package/lib/dropdown/index.d.ts +94 -136
- package/lib/dropdown/index.js +17 -17
- package/lib/exception/index.d.ts +41 -102
- package/lib/exception/index.js +18 -19
- package/lib/fixed-navbar/index.d.ts +59 -113
- package/lib/form/form.css +3 -0
- package/lib/form/form.d.ts +1 -1
- package/lib/form/form.less +3 -0
- package/lib/form/form.variable.css +3 -0
- package/lib/form/index.d.ts +80 -132
- package/lib/form/index.js +29 -27
- package/lib/icon/angle-double-down-line.js +21 -21
- package/lib/icon/angle-double-left-line.js +21 -21
- package/lib/icon/angle-double-left.js +21 -21
- package/lib/icon/angle-double-right-line.js +21 -21
- package/lib/icon/angle-double-right.js +21 -21
- package/lib/icon/angle-double-up-line.js +21 -21
- package/lib/icon/angle-down-fill.js +21 -21
- package/lib/icon/angle-down-line.js +21 -21
- package/lib/icon/angle-down.js +21 -21
- package/lib/icon/angle-left.js +21 -21
- package/lib/icon/angle-right.js +21 -21
- package/lib/icon/angle-up-fill.js +21 -21
- package/lib/icon/angle-up.js +21 -21
- package/lib/icon/archive-fill.js +21 -21
- package/lib/icon/arrows-left.js +21 -21
- package/lib/icon/arrows-right.js +21 -21
- package/lib/icon/assistant.js +21 -21
- package/lib/icon/audio-fill.js +21 -21
- package/lib/icon/bk.js +21 -21
- package/lib/icon/circle.js +21 -21
- package/lib/icon/close-line.js +21 -21
- package/lib/icon/close.js +21 -21
- package/lib/icon/code.js +21 -21
- package/lib/icon/cog-shape.js +21 -21
- package/lib/icon/collapse-left.js +21 -21
- package/lib/icon/copy-shape.js +21 -21
- package/lib/icon/copy.js +21 -21
- package/lib/icon/data-shape.js +21 -21
- package/lib/icon/del.js +21 -21
- package/lib/icon/doc-fill.js +21 -21
- package/lib/icon/done.js +21 -21
- package/lib/icon/down-shape.js +21 -21
- package/lib/icon/down-small.js +21 -21
- package/lib/icon/edit-line.js +21 -21
- package/lib/icon/ellipsis.js +21 -21
- package/lib/icon/enlarge-line.js +21 -21
- package/lib/icon/error.js +21 -21
- package/lib/icon/excel-fill.js +21 -21
- package/lib/icon/exclamation-circle-shape.js +21 -21
- package/lib/icon/eye.js +21 -21
- package/lib/icon/filliscreen-line.js +21 -21
- package/lib/icon/fix-line.js +21 -21
- package/lib/icon/fix-shape.js +21 -21
- package/lib/icon/folder-open.js +21 -21
- package/lib/icon/folder-shape-open.js +21 -21
- package/lib/icon/folder-shape.js +21 -21
- package/lib/icon/folder.js +21 -21
- package/lib/icon/funnel.js +21 -21
- package/lib/icon/grag-fill.js +21 -21
- package/lib/icon/help-document-fill.js +21 -21
- package/lib/icon/help-fill.js +21 -21
- package/lib/icon/help.js +21 -21
- package/lib/icon/image-fill.js +22 -22
- package/lib/icon/img-error.js +22 -22
- package/lib/icon/img-placehoulder.js +22 -22
- package/lib/icon/index.js +192 -192
- package/lib/icon/info-line.js +22 -22
- package/lib/icon/info.js +22 -22
- package/lib/icon/left-shape.js +22 -22
- package/lib/icon/left-turn-line.js +22 -22
- package/lib/icon/loading.js +22 -22
- package/lib/icon/narrow-line.js +22 -22
- package/lib/icon/original.js +22 -22
- package/lib/icon/pdf-fill.js +22 -22
- package/lib/icon/play-shape.js +22 -22
- package/lib/icon/plus.js +22 -22
- package/lib/icon/ppt-fill.js +22 -22
- package/lib/icon/qq.js +22 -22
- package/lib/icon/right-shape.js +22 -22
- package/lib/icon/right-turn-line.js +22 -22
- package/lib/icon/search.js +22 -22
- package/lib/icon/share.js +22 -22
- package/lib/icon/spinner.js +22 -22
- package/lib/icon/success.js +22 -22
- package/lib/icon/switcher-loading.js +22 -22
- package/lib/icon/text-file.js +22 -22
- package/lib/icon/text-fill.js +22 -22
- package/lib/icon/transfer.js +22 -22
- package/lib/icon/tree-application-shape.js +22 -22
- package/lib/icon/unfull-screen.js +22 -22
- package/lib/icon/unvisible.js +22 -22
- package/lib/icon/up-shape.js +22 -22
- package/lib/icon/upload.js +22 -22
- package/lib/icon/video-fill.js +22 -22
- package/lib/icon/warn.js +22 -22
- package/lib/icon/weixin-pro.js +22 -22
- package/lib/icon/weixin.js +22 -22
- package/lib/image/index.d.ts +113 -149
- package/lib/image/index.js +19 -19
- package/lib/info-box/index.js +231 -232
- package/lib/input/index.d.ts +326 -293
- package/lib/input/index.js +256 -258
- package/lib/link/index.d.ts +73 -122
- package/lib/loading/index.d.ts +132 -158
- package/lib/loading/index.js +23 -25
- package/lib/loading/loading.d.ts +4 -4
- package/lib/locale/index.js +8 -12
- package/lib/locale/lang/en.d.ts +3 -0
- package/lib/menu/index.d.ts +51 -112
- package/lib/menu/index.js +25 -25
- package/lib/message/index.js +28 -30
- package/lib/message/messageConstructor.d.ts +5 -5
- package/lib/modal/index.d.ts +261 -249
- package/lib/modal/index.js +492 -33
- package/lib/navigation/index.d.ts +152 -188
- package/lib/notify/index.js +22 -24
- package/lib/notify/notifyConstructor.d.ts +1 -1
- package/lib/overflow-title/index.d.ts +314 -242
- package/lib/overflow-title/index.js +1 -1
- package/lib/pagination/index.d.ts +194 -205
- package/lib/pagination/index.js +49 -56
- package/lib/plugin-popover/index.js +192 -98
- package/lib/pop-confirm/index.d.ts +126 -159
- package/lib/pop-confirm/index.js +0 -1
- package/lib/pop-confirm/pop-confirm.d.ts +1 -1
- package/lib/popover/content.d.ts +1 -1
- package/lib/popover/index.d.ts +374 -330
- package/lib/popover/index.js +192 -98
- package/lib/popover2/index.d.ts +8 -83
- package/lib/process/index.d.ts +93 -137
- package/lib/process/index.js +225 -226
- package/lib/progress/index.d.ts +178 -187
- package/lib/progress/index.js +19 -19
- package/lib/progress/progress.d.ts +2 -2
- package/lib/radio/index.d.ts +83 -135
- package/lib/radio/index.js +41 -43
- package/lib/rate/index.d.ts +55 -112
- package/lib/rate/index.js +19 -20
- package/lib/resize-layout/index.d.ts +156 -185
- package/lib/resize-layout/index.js +20 -21
- package/lib/resize-layout/resize-layout.d.ts +2 -2
- package/lib/search-select/index.d.ts +292 -327
- package/lib/search-select/index.js +239 -240
- package/lib/search-select/input.d.ts +2 -2
- package/lib/search-select/search-select.d.ts +3 -3
- package/lib/search-select/selected.d.ts +2 -2
- package/lib/select/index.d.ts +1234 -1135
- package/lib/select/index.js +259 -262
- package/lib/select/select.d.ts +121 -161
- package/lib/select/selectTagInput.d.ts +2 -2
- package/lib/shared/helper.d.ts +4 -0
- package/lib/shared/index.js +81 -63
- package/lib/sideslider/index.d.ts +247 -233
- package/lib/sideslider/index.js +241 -247
- package/lib/slider/index.d.ts +204 -204
- package/lib/slider/index.js +208 -209
- package/lib/steps/index.d.ts +114 -150
- package/lib/steps/index.js +227 -228
- package/lib/swiper/index.d.ts +81 -127
- package/lib/swiper/index.js +18 -18
- package/lib/switcher/index.d.ts +152 -174
- package/lib/switcher/index.js +20 -22
- package/lib/tab/index.d.ts +199 -211
- package/lib/tab/index.js +23 -25
- package/lib/table/components/table-column.d.ts +2 -2
- package/lib/table/index.d.ts +605 -593
- package/lib/table/index.js +81 -95
- package/lib/table/plugins/use-pagination.d.ts +1 -1
- package/lib/table/table.d.ts +1 -1
- package/lib/table/use-common.d.ts +67 -34
- package/lib/table-column/index.d.ts +207 -243
- package/lib/table-column/index.js +18 -19
- package/lib/tag/index.d.ts +95 -142
- package/lib/tag/index.js +19 -19
- package/lib/tag-input/index.d.ts +690 -498
- package/lib/tag-input/index.js +54 -62
- package/lib/tag-input/tag-input.d.ts +5 -5
- package/lib/time-picker/index.d.ts +442 -385
- package/lib/timeline/index.d.ts +50 -109
- package/lib/timeline/index.js +6 -6
- package/lib/transfer/index.d.ts +191 -206
- package/lib/tree/index.d.ts +322 -288
- package/lib/tree/index.js +36 -39
- package/lib/tree/tree.d.ts +1 -1
- package/lib/tree/use-tree-init.d.ts +1 -1
- package/lib/upload/index.d.ts +281 -254
- package/lib/upload/index.js +254 -257
- package/lib/upload/upload.d.ts +2 -2
- package/lib/virtual-render/index.d.ts +337 -242
- package/lib/virtual-render/index.js +30 -30
- package/lib/virtual-render/virtual-render.d.ts +1 -1
- package/package.json +6 -13
package/lib/upload/index.js
CHANGED
@@ -760,304 +760,304 @@ var _typeof = (__webpack_require__(7425)["default"]);
|
|
760
760
|
function _regeneratorRuntime() {
|
761
761
|
"use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
762
762
|
module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
|
763
|
-
return
|
763
|
+
return e;
|
764
764
|
}, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
765
|
-
var
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
765
|
+
var t,
|
766
|
+
e = {},
|
767
|
+
r = Object.prototype,
|
768
|
+
n = r.hasOwnProperty,
|
769
|
+
o = Object.defineProperty || function (t, e, r) {
|
770
|
+
t[e] = r.value;
|
770
771
|
},
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
function define(
|
776
|
-
return Object.defineProperty(
|
777
|
-
value:
|
772
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
773
|
+
a = i.iterator || "@@iterator",
|
774
|
+
c = i.asyncIterator || "@@asyncIterator",
|
775
|
+
u = i.toStringTag || "@@toStringTag";
|
776
|
+
function define(t, e, r) {
|
777
|
+
return Object.defineProperty(t, e, {
|
778
|
+
value: r,
|
778
779
|
enumerable: !0,
|
779
780
|
configurable: !0,
|
780
781
|
writable: !0
|
781
|
-
}),
|
782
|
+
}), t[e];
|
782
783
|
}
|
783
784
|
try {
|
784
785
|
define({}, "");
|
785
|
-
} catch (
|
786
|
-
define = function define(
|
787
|
-
return
|
786
|
+
} catch (t) {
|
787
|
+
define = function define(t, e, r) {
|
788
|
+
return t[e] = r;
|
788
789
|
};
|
789
790
|
}
|
790
|
-
function wrap(
|
791
|
-
var
|
792
|
-
|
793
|
-
|
794
|
-
return
|
795
|
-
value: makeInvokeMethod(
|
796
|
-
}),
|
791
|
+
function wrap(t, e, r, n) {
|
792
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
793
|
+
a = Object.create(i.prototype),
|
794
|
+
c = new Context(n || []);
|
795
|
+
return o(a, "_invoke", {
|
796
|
+
value: makeInvokeMethod(t, r, c)
|
797
|
+
}), a;
|
797
798
|
}
|
798
|
-
function tryCatch(
|
799
|
+
function tryCatch(t, e, r) {
|
799
800
|
try {
|
800
801
|
return {
|
801
802
|
type: "normal",
|
802
|
-
arg:
|
803
|
+
arg: t.call(e, r)
|
803
804
|
};
|
804
|
-
} catch (
|
805
|
+
} catch (t) {
|
805
806
|
return {
|
806
807
|
type: "throw",
|
807
|
-
arg:
|
808
|
+
arg: t
|
808
809
|
};
|
809
810
|
}
|
810
811
|
}
|
811
|
-
|
812
|
-
var
|
812
|
+
e.wrap = wrap;
|
813
|
+
var h = "suspendedStart",
|
814
|
+
l = "suspendedYield",
|
815
|
+
f = "executing",
|
816
|
+
s = "completed",
|
817
|
+
y = {};
|
813
818
|
function Generator() {}
|
814
819
|
function GeneratorFunction() {}
|
815
820
|
function GeneratorFunctionPrototype() {}
|
816
|
-
var
|
817
|
-
define(
|
821
|
+
var p = {};
|
822
|
+
define(p, a, function () {
|
818
823
|
return this;
|
819
824
|
});
|
820
|
-
var
|
821
|
-
|
822
|
-
|
823
|
-
var
|
824
|
-
function defineIteratorMethods(
|
825
|
-
["next", "throw", "return"].forEach(function (
|
826
|
-
define(
|
827
|
-
return this._invoke(
|
825
|
+
var d = Object.getPrototypeOf,
|
826
|
+
v = d && d(d(values([])));
|
827
|
+
v && v !== r && n.call(v, a) && (p = v);
|
828
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
829
|
+
function defineIteratorMethods(t) {
|
830
|
+
["next", "throw", "return"].forEach(function (e) {
|
831
|
+
define(t, e, function (t) {
|
832
|
+
return this._invoke(e, t);
|
828
833
|
});
|
829
834
|
});
|
830
835
|
}
|
831
|
-
function AsyncIterator(
|
832
|
-
function invoke(
|
833
|
-
var
|
834
|
-
if ("throw" !==
|
835
|
-
var
|
836
|
-
|
837
|
-
return
|
838
|
-
invoke("next",
|
839
|
-
}, function (
|
840
|
-
invoke("throw",
|
841
|
-
}) :
|
842
|
-
|
843
|
-
}, function (
|
844
|
-
return invoke("throw",
|
836
|
+
function AsyncIterator(t, e) {
|
837
|
+
function invoke(r, o, i, a) {
|
838
|
+
var c = tryCatch(t[r], t, o);
|
839
|
+
if ("throw" !== c.type) {
|
840
|
+
var u = c.arg,
|
841
|
+
h = u.value;
|
842
|
+
return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
843
|
+
invoke("next", t, i, a);
|
844
|
+
}, function (t) {
|
845
|
+
invoke("throw", t, i, a);
|
846
|
+
}) : e.resolve(h).then(function (t) {
|
847
|
+
u.value = t, i(u);
|
848
|
+
}, function (t) {
|
849
|
+
return invoke("throw", t, i, a);
|
845
850
|
});
|
846
851
|
}
|
847
|
-
|
852
|
+
a(c.arg);
|
848
853
|
}
|
849
|
-
var
|
850
|
-
|
851
|
-
value: function value(
|
854
|
+
var r;
|
855
|
+
o(this, "_invoke", {
|
856
|
+
value: function value(t, n) {
|
852
857
|
function callInvokeWithMethodAndArg() {
|
853
|
-
return new
|
854
|
-
invoke(
|
858
|
+
return new e(function (e, r) {
|
859
|
+
invoke(t, n, e, r);
|
855
860
|
});
|
856
861
|
}
|
857
|
-
return
|
862
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
858
863
|
}
|
859
864
|
});
|
860
865
|
}
|
861
|
-
function makeInvokeMethod(
|
862
|
-
var
|
863
|
-
return function (
|
864
|
-
if (
|
865
|
-
if (
|
866
|
-
if ("throw" ===
|
867
|
-
return
|
866
|
+
function makeInvokeMethod(e, r, n) {
|
867
|
+
var o = h;
|
868
|
+
return function (i, a) {
|
869
|
+
if (o === f) throw new Error("Generator is already running");
|
870
|
+
if (o === s) {
|
871
|
+
if ("throw" === i) throw a;
|
872
|
+
return {
|
873
|
+
value: t,
|
874
|
+
done: !0
|
875
|
+
};
|
868
876
|
}
|
869
|
-
for (
|
870
|
-
var
|
871
|
-
if (
|
872
|
-
var
|
873
|
-
if (
|
874
|
-
if (
|
875
|
-
return
|
877
|
+
for (n.method = i, n.arg = a;;) {
|
878
|
+
var c = n.delegate;
|
879
|
+
if (c) {
|
880
|
+
var u = maybeInvokeDelegate(c, n);
|
881
|
+
if (u) {
|
882
|
+
if (u === y) continue;
|
883
|
+
return u;
|
876
884
|
}
|
877
885
|
}
|
878
|
-
if ("next" ===
|
879
|
-
if (
|
880
|
-
|
881
|
-
} else "return" ===
|
882
|
-
|
883
|
-
var
|
884
|
-
if ("normal" ===
|
885
|
-
if (
|
886
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
887
|
+
if (o === h) throw o = s, n.arg;
|
888
|
+
n.dispatchException(n.arg);
|
889
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
890
|
+
o = f;
|
891
|
+
var p = tryCatch(e, r, n);
|
892
|
+
if ("normal" === p.type) {
|
893
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
886
894
|
return {
|
887
|
-
value:
|
888
|
-
done:
|
895
|
+
value: p.arg,
|
896
|
+
done: n.done
|
889
897
|
};
|
890
898
|
}
|
891
|
-
"throw" ===
|
899
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
892
900
|
}
|
893
901
|
};
|
894
902
|
}
|
895
|
-
function maybeInvokeDelegate(
|
896
|
-
var
|
897
|
-
|
898
|
-
if (
|
899
|
-
var
|
900
|
-
if ("throw" ===
|
901
|
-
var
|
902
|
-
return
|
903
|
+
function maybeInvokeDelegate(e, r) {
|
904
|
+
var n = r.method,
|
905
|
+
o = e.iterator[n];
|
906
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
907
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
908
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
909
|
+
var a = i.arg;
|
910
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
903
911
|
}
|
904
|
-
function pushTryEntry(
|
905
|
-
var
|
906
|
-
tryLoc:
|
912
|
+
function pushTryEntry(t) {
|
913
|
+
var e = {
|
914
|
+
tryLoc: t[0]
|
907
915
|
};
|
908
|
-
1 in
|
916
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
909
917
|
}
|
910
|
-
function resetTryEntry(
|
911
|
-
var
|
912
|
-
|
918
|
+
function resetTryEntry(t) {
|
919
|
+
var e = t.completion || {};
|
920
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
913
921
|
}
|
914
|
-
function Context(
|
922
|
+
function Context(t) {
|
915
923
|
this.tryEntries = [{
|
916
924
|
tryLoc: "root"
|
917
|
-
}],
|
925
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
918
926
|
}
|
919
|
-
function values(
|
920
|
-
if (
|
921
|
-
var
|
922
|
-
if (
|
923
|
-
if ("function" == typeof
|
924
|
-
if (!isNaN(
|
925
|
-
var
|
926
|
-
|
927
|
-
for (; ++
|
928
|
-
return next.value =
|
927
|
+
function values(e) {
|
928
|
+
if (e || "" === e) {
|
929
|
+
var r = e[a];
|
930
|
+
if (r) return r.call(e);
|
931
|
+
if ("function" == typeof e.next) return e;
|
932
|
+
if (!isNaN(e.length)) {
|
933
|
+
var o = -1,
|
934
|
+
i = function next() {
|
935
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
936
|
+
return next.value = t, next.done = !0, next;
|
929
937
|
};
|
930
|
-
return
|
938
|
+
return i.next = i;
|
931
939
|
}
|
932
940
|
}
|
933
|
-
|
934
|
-
next: doneResult
|
935
|
-
};
|
936
|
-
}
|
937
|
-
function doneResult() {
|
938
|
-
return {
|
939
|
-
value: undefined,
|
940
|
-
done: !0
|
941
|
-
};
|
941
|
+
throw new TypeError(_typeof(e) + " is not iterable");
|
942
942
|
}
|
943
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype,
|
943
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
944
944
|
value: GeneratorFunctionPrototype,
|
945
945
|
configurable: !0
|
946
|
-
}),
|
946
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
947
947
|
value: GeneratorFunction,
|
948
948
|
configurable: !0
|
949
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
950
|
-
var
|
951
|
-
return !!
|
952
|
-
},
|
953
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
954
|
-
},
|
949
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
950
|
+
var e = "function" == typeof t && t.constructor;
|
951
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
952
|
+
}, e.mark = function (t) {
|
953
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
954
|
+
}, e.awrap = function (t) {
|
955
955
|
return {
|
956
|
-
__await:
|
956
|
+
__await: t
|
957
957
|
};
|
958
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
958
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
959
959
|
return this;
|
960
|
-
}),
|
961
|
-
void 0 ===
|
962
|
-
var
|
963
|
-
return
|
964
|
-
return
|
960
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
961
|
+
void 0 === i && (i = Promise);
|
962
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
963
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
964
|
+
return t.done ? t.value : a.next();
|
965
965
|
});
|
966
|
-
}, defineIteratorMethods(
|
966
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
967
967
|
return this;
|
968
|
-
}), define(
|
968
|
+
}), define(g, "toString", function () {
|
969
969
|
return "[object Generator]";
|
970
|
-
}),
|
971
|
-
var
|
972
|
-
|
973
|
-
for (var
|
974
|
-
return
|
975
|
-
for (;
|
976
|
-
var
|
977
|
-
if (
|
970
|
+
}), e.keys = function (t) {
|
971
|
+
var e = Object(t),
|
972
|
+
r = [];
|
973
|
+
for (var n in e) r.push(n);
|
974
|
+
return r.reverse(), function next() {
|
975
|
+
for (; r.length;) {
|
976
|
+
var t = r.pop();
|
977
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
978
978
|
}
|
979
979
|
return next.done = !0, next;
|
980
980
|
};
|
981
|
-
},
|
981
|
+
}, e.values = values, Context.prototype = {
|
982
982
|
constructor: Context,
|
983
|
-
reset: function reset(
|
984
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
983
|
+
reset: function reset(e) {
|
984
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
985
985
|
},
|
986
986
|
stop: function stop() {
|
987
987
|
this.done = !0;
|
988
|
-
var
|
989
|
-
if ("throw" ===
|
988
|
+
var t = this.tryEntries[0].completion;
|
989
|
+
if ("throw" === t.type) throw t.arg;
|
990
990
|
return this.rval;
|
991
991
|
},
|
992
|
-
dispatchException: function dispatchException(
|
993
|
-
if (this.done) throw
|
994
|
-
var
|
995
|
-
function handle(
|
996
|
-
return
|
992
|
+
dispatchException: function dispatchException(e) {
|
993
|
+
if (this.done) throw e;
|
994
|
+
var r = this;
|
995
|
+
function handle(n, o) {
|
996
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
997
997
|
}
|
998
|
-
for (var
|
999
|
-
var
|
1000
|
-
|
1001
|
-
if ("root" ===
|
1002
|
-
if (
|
1003
|
-
var
|
1004
|
-
|
1005
|
-
if (
|
1006
|
-
if (this.prev <
|
1007
|
-
if (this.prev <
|
1008
|
-
} else if (
|
1009
|
-
if (this.prev <
|
998
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
999
|
+
var i = this.tryEntries[o],
|
1000
|
+
a = i.completion;
|
1001
|
+
if ("root" === i.tryLoc) return handle("end");
|
1002
|
+
if (i.tryLoc <= this.prev) {
|
1003
|
+
var c = n.call(i, "catchLoc"),
|
1004
|
+
u = n.call(i, "finallyLoc");
|
1005
|
+
if (c && u) {
|
1006
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
1007
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
1008
|
+
} else if (c) {
|
1009
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
1010
1010
|
} else {
|
1011
|
-
if (!
|
1012
|
-
if (this.prev <
|
1011
|
+
if (!u) throw new Error("try statement without catch or finally");
|
1012
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
1013
1013
|
}
|
1014
1014
|
}
|
1015
1015
|
}
|
1016
1016
|
},
|
1017
|
-
abrupt: function abrupt(
|
1018
|
-
for (var
|
1019
|
-
var
|
1020
|
-
if (
|
1021
|
-
var
|
1017
|
+
abrupt: function abrupt(t, e) {
|
1018
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
1019
|
+
var o = this.tryEntries[r];
|
1020
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
1021
|
+
var i = o;
|
1022
1022
|
break;
|
1023
1023
|
}
|
1024
1024
|
}
|
1025
|
-
|
1026
|
-
var
|
1027
|
-
return
|
1025
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
1026
|
+
var a = i ? i.completion : {};
|
1027
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
1028
1028
|
},
|
1029
|
-
complete: function complete(
|
1030
|
-
if ("throw" ===
|
1031
|
-
return "break" ===
|
1029
|
+
complete: function complete(t, e) {
|
1030
|
+
if ("throw" === t.type) throw t.arg;
|
1031
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
1032
1032
|
},
|
1033
|
-
finish: function finish(
|
1034
|
-
for (var
|
1035
|
-
var
|
1036
|
-
if (
|
1033
|
+
finish: function finish(t) {
|
1034
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
1035
|
+
var r = this.tryEntries[e];
|
1036
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
1037
1037
|
}
|
1038
1038
|
},
|
1039
|
-
"catch": function _catch(
|
1040
|
-
for (var
|
1041
|
-
var
|
1042
|
-
if (
|
1043
|
-
var
|
1044
|
-
if ("throw" ===
|
1045
|
-
var
|
1046
|
-
resetTryEntry(
|
1039
|
+
"catch": function _catch(t) {
|
1040
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
1041
|
+
var r = this.tryEntries[e];
|
1042
|
+
if (r.tryLoc === t) {
|
1043
|
+
var n = r.completion;
|
1044
|
+
if ("throw" === n.type) {
|
1045
|
+
var o = n.arg;
|
1046
|
+
resetTryEntry(r);
|
1047
1047
|
}
|
1048
|
-
return
|
1048
|
+
return o;
|
1049
1049
|
}
|
1050
1050
|
}
|
1051
1051
|
throw new Error("illegal catch attempt");
|
1052
1052
|
},
|
1053
|
-
delegateYield: function delegateYield(
|
1053
|
+
delegateYield: function delegateYield(e, r, n) {
|
1054
1054
|
return this.delegate = {
|
1055
|
-
iterator: values(
|
1056
|
-
resultName:
|
1057
|
-
nextLoc:
|
1058
|
-
}, "next" === this.method && (this.arg =
|
1055
|
+
iterator: values(e),
|
1056
|
+
resultName: r,
|
1057
|
+
nextLoc: n
|
1058
|
+
}, "next" === this.method && (this.arg = t), y;
|
1059
1059
|
}
|
1060
|
-
},
|
1060
|
+
}, e;
|
1061
1061
|
}
|
1062
1062
|
module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
1063
1063
|
|
@@ -1066,14 +1066,14 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
1066
1066
|
/***/ 7425:
|
1067
1067
|
/***/ ((module) => {
|
1068
1068
|
|
1069
|
-
function _typeof(
|
1069
|
+
function _typeof(o) {
|
1070
1070
|
"@babel/helpers - typeof";
|
1071
1071
|
|
1072
|
-
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
1073
|
-
return typeof
|
1074
|
-
} : function (
|
1075
|
-
return
|
1076
|
-
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(
|
1072
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1073
|
+
return typeof o;
|
1074
|
+
} : function (o) {
|
1075
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1076
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(o);
|
1077
1077
|
}
|
1078
1078
|
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
1079
1079
|
|
@@ -1203,38 +1203,38 @@ function _asyncToGenerator(fn) {
|
|
1203
1203
|
};
|
1204
1204
|
}
|
1205
1205
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
1206
|
-
function _typeof(
|
1206
|
+
function _typeof(o) {
|
1207
1207
|
"@babel/helpers - typeof";
|
1208
1208
|
|
1209
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (
|
1210
|
-
return typeof
|
1211
|
-
} : function (
|
1212
|
-
return
|
1213
|
-
}, _typeof(
|
1209
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
1210
|
+
return typeof o;
|
1211
|
+
} : function (o) {
|
1212
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
1213
|
+
}, _typeof(o);
|
1214
1214
|
}
|
1215
1215
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
|
1216
1216
|
|
1217
|
-
function
|
1218
|
-
if (
|
1219
|
-
var
|
1220
|
-
if (
|
1221
|
-
var
|
1222
|
-
if (
|
1217
|
+
function toPrimitive(t, r) {
|
1218
|
+
if ("object" != _typeof(t) || !t) return t;
|
1219
|
+
var e = t[Symbol.toPrimitive];
|
1220
|
+
if (void 0 !== e) {
|
1221
|
+
var i = e.call(t, r || "default");
|
1222
|
+
if ("object" != _typeof(i)) return i;
|
1223
1223
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
1224
1224
|
}
|
1225
|
-
return (
|
1225
|
+
return ("string" === r ? String : Number)(t);
|
1226
1226
|
}
|
1227
1227
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
|
1228
1228
|
|
1229
1229
|
|
1230
|
-
function
|
1231
|
-
var
|
1232
|
-
return _typeof(
|
1230
|
+
function toPropertyKey(t) {
|
1231
|
+
var i = toPrimitive(t, "string");
|
1232
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
1233
1233
|
}
|
1234
1234
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
1235
1235
|
|
1236
1236
|
function _defineProperty(obj, key, value) {
|
1237
|
-
key =
|
1237
|
+
key = toPropertyKey(key);
|
1238
1238
|
if (key in obj) {
|
1239
1239
|
Object.defineProperty(obj, key, {
|
1240
1240
|
value: value,
|
@@ -1458,31 +1458,31 @@ function _arrayWithHoles(arr) {
|
|
1458
1458
|
if (Array.isArray(arr)) return arr;
|
1459
1459
|
}
|
1460
1460
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
|
1461
|
-
function _iterableToArrayLimit(
|
1462
|
-
var
|
1463
|
-
if (null !=
|
1464
|
-
var
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1461
|
+
function _iterableToArrayLimit(r, l) {
|
1462
|
+
var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
1463
|
+
if (null != t) {
|
1464
|
+
var e,
|
1465
|
+
n,
|
1466
|
+
i,
|
1467
|
+
u,
|
1468
|
+
a = [],
|
1469
|
+
f = !0,
|
1470
|
+
o = !1;
|
1471
1471
|
try {
|
1472
|
-
if (
|
1473
|
-
if (Object(
|
1474
|
-
|
1475
|
-
} else for (; !(
|
1476
|
-
} catch (
|
1477
|
-
|
1472
|
+
if (i = (t = t.call(r)).next, 0 === l) {
|
1473
|
+
if (Object(t) !== t) return;
|
1474
|
+
f = !1;
|
1475
|
+
} else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
|
1476
|
+
} catch (r) {
|
1477
|
+
o = !0, n = r;
|
1478
1478
|
} finally {
|
1479
1479
|
try {
|
1480
|
-
if (!
|
1480
|
+
if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
|
1481
1481
|
} finally {
|
1482
|
-
if (
|
1482
|
+
if (o) throw n;
|
1483
1483
|
}
|
1484
1484
|
}
|
1485
|
-
return
|
1485
|
+
return a;
|
1486
1486
|
}
|
1487
1487
|
}
|
1488
1488
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
@@ -1594,8 +1594,7 @@ function _isSlot(s) {
|
|
1594
1594
|
return isPhotowall.value && !multiple.value;
|
1595
1595
|
});
|
1596
1596
|
var classNames = (0,external_vue_namespaceObject.computed)(function () {
|
1597
|
-
|
1598
|
-
return (0,shared_namespaceObject.classes)((_classes = {}, _defineProperty(_classes, classBlock, true), _defineProperty(_classes, "".concat(classBlock, "--").concat(theme.value), true), _defineProperty(_classes, "".concat(classBlock, "--disabled"), disabled.value), _classes));
|
1597
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, classBlock, true), "".concat(classBlock, "--").concat(theme.value), true), "".concat(classBlock, "--disabled"), disabled.value));
|
1599
1598
|
});
|
1600
1599
|
function formatSize(value) {
|
1601
1600
|
var uints = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
|
@@ -1614,8 +1613,7 @@ function _isSlot(s) {
|
|
1614
1613
|
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.TransitionGroup, {
|
1615
1614
|
"name": "".concat(classBlock, "__item")
|
1616
1615
|
}, _isSlot(_slot = props.files.map(function (file) {
|
1617
|
-
var
|
1618
|
-
var classNames = (0,shared_namespaceObject.classes)((_classes2 = {}, _defineProperty(_classes2, "".concat(classBlock, "__item"), true), _defineProperty(_classes2, "".concat(classBlock, "__item-picture"), true), _defineProperty(_classes2, "".concat(classBlock, "__item--").concat(file.status), true), _classes2));
|
1616
|
+
var classNames = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(classBlock, "__item"), true), "".concat(classBlock, "__item-picture"), true), "".concat(classBlock, "__item--").concat(file.status), true));
|
1619
1617
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
1620
1618
|
"key": file.uid,
|
1621
1619
|
"class": classNames
|
@@ -1657,8 +1655,7 @@ function _isSlot(s) {
|
|
1657
1655
|
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.TransitionGroup, {
|
1658
1656
|
"name": "".concat(classBlock, "__item")
|
1659
1657
|
}, _isSlot(_slot2 = props.files.map(function (file) {
|
1660
|
-
var
|
1661
|
-
var classNames = (0,shared_namespaceObject.classes)((_classes3 = {}, _defineProperty(_classes3, "".concat(classBlock, "__item"), true), _defineProperty(_classes3, "".concat(classBlock, "__item--").concat(file.status), true), _classes3));
|
1658
|
+
var classNames = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty({}, "".concat(classBlock, "__item"), true), "".concat(classBlock, "__item--").concat(file.status), true));
|
1662
1659
|
return (0,external_vue_namespaceObject.createVNode)("li", {
|
1663
1660
|
"key": file.uid,
|
1664
1661
|
"class": classNames
|
@@ -1829,8 +1826,8 @@ const button_less_namespaceObject = button_less_x({ });
|
|
1829
1826
|
});
|
1830
1827
|
var inputEl = (0,external_vue_namespaceObject.ref)(null);
|
1831
1828
|
var classNames = (0,external_vue_namespaceObject.computed)(function () {
|
1832
|
-
var _file$value, _file$value2, _file$value3
|
1833
|
-
return (0,shared_namespaceObject.classes)((
|
1829
|
+
var _file$value, _file$value2, _file$value3;
|
1830
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, classBlock, true), "".concat(classBlock, "--").concat(theme.value), true), "".concat(classBlock, "--single-picture"), isSinglePicture.value), "".concat(classBlock, "--has-file"), (_file$value = file.value) !== null && _file$value !== void 0 ? _file$value : false), "".concat(classBlock, "--").concat((_file$value2 = file.value) === null || _file$value2 === void 0 ? void 0 : _file$value2.status), (_file$value3 = file.value) !== null && _file$value3 !== void 0 ? _file$value3 : false), "".concat(classBlock, "--dragover"), dragover.value), "".concat(classBlock, "--disabled"), disabled.value));
|
1834
1831
|
});
|
1835
1832
|
var invoke = function invoke() {
|
1836
1833
|
inputEl.value.value = null;
|
@@ -2335,8 +2332,8 @@ var hashFile = function hashFile(file, chunkSize) {
|
|
2335
2332
|
|
2336
2333
|
|
2337
2334
|
|
2338
|
-
function ownKeys(
|
2339
|
-
function _objectSpread(
|
2335
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
2336
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
2340
2337
|
/*
|
2341
2338
|
* Tencent is pleased to support the open source community by making
|
2342
2339
|
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
@@ -2633,8 +2630,8 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
|
|
2633
2630
|
return isPhotowall.value && !props.multiple;
|
2634
2631
|
});
|
2635
2632
|
var classNames = (0,external_vue_namespaceObject.computed)(function () {
|
2636
|
-
var _props$extCls
|
2637
|
-
return (0,shared_namespaceObject.classes)((
|
2633
|
+
var _props$extCls;
|
2634
|
+
return (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, CLASS_PREFIX, true), "".concat(CLASS_PREFIX, "--").concat(props.theme), true), "".concat(CLASS_PREFIX, "--disabled"), props.disabled), "".concat(CLASS_PREFIX, "--single-picture"), isSinglePhoto.value), props.extCls, (_props$extCls = props.extCls) !== null && _props$extCls !== void 0 ? _props$extCls : false));
|
2638
2635
|
});
|
2639
2636
|
var triggerProps = (0,external_vue_namespaceObject.computed)(function () {
|
2640
2637
|
return {
|
@@ -2810,7 +2807,7 @@ function upload_arrayLikeToArray(arr, len) { if (len == null || len > arr.length
|
|
2810
2807
|
Object.keys(reqs).forEach(function (uid) {
|
2811
2808
|
if (reqs[uid] instanceof XMLHttpRequest) {
|
2812
2809
|
var xhr = reqs[uid];
|
2813
|
-
xhr === null || xhr === void 0
|
2810
|
+
xhr === null || xhr === void 0 || xhr.abort();
|
2814
2811
|
}
|
2815
2812
|
delete requests.value[uid];
|
2816
2813
|
});
|