knt-shared 1.8.5 → 1.8.6
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":"SortableFileItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Upload/components/SortableFileItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SortableFileItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Upload/components/SortableFileItem.vue"],"names":[],"mappings":"AA8CA;AAQA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,UAAU,CAAC;AAQ7C,UAAU,qBAAqB;IAC7B,WAAW;IACX,IAAI,EAAE,cAAc,CAAC;IACrB,aAAa;IACb,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,QAAQ,EAAE,OAAO,CAAC;CACnB;;;;;;;;;;;;;;;;;;;;;;cADW,OAAO;cAFP,MAAM;gBAJJ,OAAO;YAEX,OAAO;;AA6TjB,wBAOG;AACH,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"}
|
package/dist/index.cjs.js
CHANGED
|
@@ -2305,9 +2305,6 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2305
2305
|
},
|
|
2306
2306
|
emits: ["dragstart", "dragend", "preview", "remove"],
|
|
2307
2307
|
setup(__props, { emit: __emit }) {
|
|
2308
|
-
vue.useCssVars((_ctx) => ({
|
|
2309
|
-
"v6adf0568": _ctx.cardSize + 10 + "px"
|
|
2310
|
-
}));
|
|
2311
2308
|
const props = __props;
|
|
2312
2309
|
const emit = __emit;
|
|
2313
2310
|
const isVideoFile = (file) => {
|
|
@@ -2356,7 +2353,8 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
2356
2353
|
draggable: !__props.disabled,
|
|
2357
2354
|
style: vue.normalizeStyle({
|
|
2358
2355
|
width: `${__props.cardSize}px`,
|
|
2359
|
-
height: `${__props.cardSize}px
|
|
2356
|
+
height: `${__props.cardSize}px`,
|
|
2357
|
+
"--indicator-height": `${__props.cardSize + 10}px`
|
|
2360
2358
|
}),
|
|
2361
2359
|
onDragstart: handleDragStart,
|
|
2362
2360
|
onDragend: handleDragEnd
|
|
@@ -2400,7 +2398,7 @@ const _export_sfc = (sfc, props) => {
|
|
|
2400
2398
|
}
|
|
2401
2399
|
return target;
|
|
2402
2400
|
};
|
|
2403
|
-
const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-
|
|
2401
|
+
const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-b7fe69e3"]]);
|
|
2404
2402
|
const _hoisted_1$b = { class: "sortable-file-list" };
|
|
2405
2403
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
2406
2404
|
...{
|