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.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance, inject, defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, useCssVars, createCommentVNode, createVNode, unref, createBlock, reactive, Fragment, renderList, withModifiers, ref, watch, onMounted, onUnmounted, withDirectives, vModelText, vShow, toDisplayString, withCtx, createTextVNode, nextTick, renderSlot, mergeProps, createSlots, onBeforeUnmount, toRef, normalizeProps, guardReactiveProps, h, resolveDynamicComponent, isVNode, useSlots, Teleport, createApp } from "vue";
1
+ import { getCurrentInstance, inject, defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, createCommentVNode, createVNode, unref, createBlock, reactive, Fragment, renderList, withModifiers, ref, watch, onMounted, onUnmounted, withDirectives, vModelText, vShow, toDisplayString, withCtx, createTextVNode, useCssVars, nextTick, renderSlot, mergeProps, createSlots, onBeforeUnmount, toRef, normalizeProps, guardReactiveProps, h, resolveDynamicComponent, isVNode, useSlots, Teleport, createApp } from "vue";
2
2
  import ArcoVue, { Progress, Spin, Dropdown, Doption, Modal, Upload, Button, Image as Image$1, Message, Select, Cascader, Transfer, Mention, Rate, Slider, Switch, RangePicker, TimePicker, DatePicker, TreeSelect, CheckboxGroup, Checkbox, RadioGroup, Radio, AutoComplete, Textarea, InputPassword, InputNumber, Input, ImagePreviewGroup, Form, Row, Col, FormItem, Tooltip, Space, Divider, Popover, Table, Popconfirm, Link, Descriptions, DescriptionsItem } from "@arco-design/web-vue";
3
3
  const configProviderInjectionKey = Symbol("ArcoConfigProvider");
4
4
  const CLASS_PREFIX = "arco";
@@ -2303,9 +2303,6 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2303
2303
  },
2304
2304
  emits: ["dragstart", "dragend", "preview", "remove"],
2305
2305
  setup(__props, { emit: __emit }) {
2306
- useCssVars((_ctx) => ({
2307
- "v6adf0568": _ctx.cardSize + 10 + "px"
2308
- }));
2309
2306
  const props = __props;
2310
2307
  const emit = __emit;
2311
2308
  const isVideoFile = (file) => {
@@ -2354,7 +2351,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2354
2351
  draggable: !__props.disabled,
2355
2352
  style: normalizeStyle({
2356
2353
  width: `${__props.cardSize}px`,
2357
- height: `${__props.cardSize}px`
2354
+ height: `${__props.cardSize}px`,
2355
+ "--indicator-height": `${__props.cardSize + 10}px`
2358
2356
  }),
2359
2357
  onDragstart: handleDragStart,
2360
2358
  onDragend: handleDragEnd
@@ -2398,7 +2396,7 @@ const _export_sfc = (sfc, props) => {
2398
2396
  }
2399
2397
  return target;
2400
2398
  };
2401
- const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-c8377d24"]]);
2399
+ const SortableFileItem = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-b7fe69e3"]]);
2402
2400
  const _hoisted_1$b = { class: "sortable-file-list" };
2403
2401
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
2404
2402
  ...{