knt-shared 1.10.8 → 1.10.9
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicUpload.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Upload/BasicUpload.vue"],"names":[],"mappings":"AAwJA;AAGA,OAAO,EAEL,MAAM,IAAI,OAAO,EAGlB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,KAAK,EACV,gBAAgB,EAEhB,cAAc,EAEd,iBAAiB,EAClB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"BasicUpload.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Upload/BasicUpload.vue"],"names":[],"mappings":"AAwJA;AAGA,OAAO,EAEL,MAAM,IAAI,OAAO,EAGlB,MAAM,sBAAsB,CAAC;AAM9B,OAAO,KAAK,EACV,gBAAgB,EAEhB,cAAc,EAEd,iBAAiB,EAClB,MAAM,SAAS,CAAC;AA06BjB,iBAAS,cAAc;mBAqhBK,GAAG;6BACQ,GAAG;qBACZ,GAAG;iBACP,GAAG;;;QACF,GAAG;EAG7B;AAsCD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAvyBK,cAAc;;uBAiBhB,cAAc,EAAE;uBAOd,cAAc;4BAOT,OAAO,CAAC,gBAAgB,CAAC;yBAO5B,cAAc,EAAE;oBAQrB,cAAc;2BAQP,cAAc;2BAWd,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA8uB1C,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -2883,7 +2883,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
2883
2883
|
};
|
|
2884
2884
|
}
|
|
2885
2885
|
});
|
|
2886
|
-
const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
2886
|
+
const VideoPreviewModal = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-7b674f81"]]);
|
|
2887
2887
|
const _hoisted_1$9 = { class: "basic-upload" };
|
|
2888
2888
|
const _hoisted_2$6 = {
|
|
2889
2889
|
key: 0,
|
|
@@ -2974,7 +2974,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
2974
2974
|
emits: ["register", "update:modelValue", "change", "handleSuccess", "handleError", "progress", "remove", "preview", "exceed", "sortChange"],
|
|
2975
2975
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2976
2976
|
vue.useCssVars((_ctx) => ({
|
|
2977
|
-
"
|
|
2977
|
+
"v5d214bdf": cardSizeValue.value
|
|
2978
2978
|
}));
|
|
2979
2979
|
const MAX_SIZE_UNIT_BYTES = {
|
|
2980
2980
|
B: 1,
|
|
@@ -3258,8 +3258,8 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
3258
3258
|
const addVideoFileClass = () => {
|
|
3259
3259
|
vue.nextTick(() => {
|
|
3260
3260
|
var _a;
|
|
3261
|
-
const root = (
|
|
3262
|
-
const scope = root
|
|
3261
|
+
const root = (_a = uploadRef.value) == null ? void 0 : _a.$el;
|
|
3262
|
+
const scope = root instanceof Element ? root : document;
|
|
3263
3263
|
const uploadItems = scope.querySelectorAll(".arco-upload-list-picture");
|
|
3264
3264
|
uploadItems.forEach((item) => {
|
|
3265
3265
|
const img = item.querySelector("img");
|
|
@@ -3663,7 +3663,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
3663
3663
|
};
|
|
3664
3664
|
}
|
|
3665
3665
|
});
|
|
3666
|
-
const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-
|
|
3666
|
+
const BasicUpload = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-627de95c"]]);
|
|
3667
3667
|
function useUpload(props) {
|
|
3668
3668
|
const uploadRef = vue.ref(null);
|
|
3669
3669
|
const fileListRef = vue.ref((props == null ? void 0 : props.defaultFileList) || []);
|