@qikdev/vue-ui 0.1.64 → 0.1.66
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/lib.es.js +10 -3
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +2 -2
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
|
|
|
32
32
|
};
|
|
33
33
|
import { openBlock, createElementBlock, renderSlot, resolveComponent, createBlock, withCtx, createVNode, Fragment, renderList, normalizeClass, toDisplayString, withDirectives, resolveDynamicComponent, vShow, withModifiers, createTextVNode, createCommentVNode, createElementVNode, mergeProps, toHandlers, pushScopeId, popScopeId, normalizeStyle, Teleport, vModelSelect, withKeys, vModelText, TransitionGroup, defineComponent, h, nextTick, vModelDynamic, vModelCheckbox, reactive, watch } from "vue";
|
|
34
34
|
import { EventDispatcher } from "@qikdev/sdk";
|
|
35
|
-
const version$1 = "0.1.
|
|
35
|
+
const version$1 = "0.1.66";
|
|
36
36
|
var flexColumn_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
37
37
|
var _export_sfc = (sfc, props2) => {
|
|
38
38
|
const target = sfc.__vccOpts || sfc;
|
|
@@ -12867,7 +12867,14 @@ const _sfc_main$p = {
|
|
|
12867
12867
|
config.headers = {
|
|
12868
12868
|
"Content-Type": void 0
|
|
12869
12869
|
};
|
|
12870
|
-
|
|
12870
|
+
let uploadURL = `/file/upload`;
|
|
12871
|
+
if (self2.$sdk.fileAPI) {
|
|
12872
|
+
uploadURL = `${self2.$sdk.fileAPI}${uploadURL}`;
|
|
12873
|
+
console.log("UPLOADING BINARY", uploadURL);
|
|
12874
|
+
} else {
|
|
12875
|
+
console.log("PROXY UPLOAD");
|
|
12876
|
+
}
|
|
12877
|
+
return self2.$sdk.api.post(uploadURL, body, config).then(function(res) {
|
|
12871
12878
|
fileItem.state = "complete";
|
|
12872
12879
|
fileItem.result = res.data;
|
|
12873
12880
|
fileItem.cancelToken = null;
|
|
@@ -13031,7 +13038,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13031
13038
|
}, 8, ["onFiles"]))
|
|
13032
13039
|
], 64);
|
|
13033
13040
|
}
|
|
13034
|
-
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-
|
|
13041
|
+
var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$p], ["__scopeId", "data-v-5c2c5882"]]);
|
|
13035
13042
|
var group_vue_vue_type_style_index_0_scoped_true_lang$1 = "";
|
|
13036
13043
|
const _sfc_main$o = {
|
|
13037
13044
|
mixins: [InputMixin],
|