@veltra/desktop 1.1.3 → 1.1.5

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.
Files changed (163) hide show
  1. package/dist/components/action/action-group.js +3 -110
  2. package/dist/components/action/action-group.js.map +1 -1
  3. package/dist/components/action/action-group.vue.d.ts +5 -14
  4. package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js +105 -0
  5. package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js.map +1 -0
  6. package/dist/components/action/action.js +5 -1
  7. package/dist/components/action/action.js.map +1 -1
  8. package/dist/components/action/di.js.map +1 -1
  9. package/dist/components/action/style2.css +17 -14
  10. package/dist/components/auto-complete/auto-complete.js +1 -1
  11. package/dist/components/auto-complete/auto-complete.vue.d.ts +2 -2
  12. package/dist/components/badge/badge.js +1 -1
  13. package/dist/components/batch-edit/batch-edit-form.js +94 -101
  14. package/dist/components/batch-edit/batch-edit-form.js.map +1 -1
  15. package/dist/components/batch-edit/batch-edit-list.js +52 -68
  16. package/dist/components/batch-edit/batch-edit-list.js.map +1 -1
  17. package/dist/components/batch-edit/style2.css +13 -89
  18. package/dist/components/breadcrumb/breadcrumb.js +1 -1
  19. package/dist/components/button/button.js +1 -1
  20. package/dist/components/card/card.js +1 -1
  21. package/dist/components/cascade/cascade-panel-item.js +4 -4
  22. package/dist/components/cascade/cascade.js +2 -2
  23. package/dist/components/cascade/cascade.vue.d.ts +5 -5
  24. package/dist/components/checkbox/checkbox-button.js +1 -1
  25. package/dist/components/checkbox/checkbox.js +1 -1
  26. package/dist/components/checkbox-group/checkbox-group.js +1 -1
  27. package/dist/components/code-editor/code-editor.js +1 -1
  28. package/dist/components/collapse/collapse.js +1 -1
  29. package/dist/components/condition-editor/components/condition-group.js +152 -0
  30. package/dist/components/condition-editor/components/condition-group.js.map +1 -0
  31. package/dist/components/condition-editor/components/condition-row.js +217 -0
  32. package/dist/components/condition-editor/components/condition-row.js.map +1 -0
  33. package/dist/components/condition-editor/condition-editor.js +134 -5
  34. package/dist/components/condition-editor/condition-editor.js.map +1 -1
  35. package/dist/components/condition-editor/condition-editor.vue.d.ts +10 -2
  36. package/dist/components/condition-editor/core/evaluator.js +75 -0
  37. package/dist/components/condition-editor/core/evaluator.js.map +1 -0
  38. package/dist/components/condition-editor/core/operators.js +123 -0
  39. package/dist/components/condition-editor/core/operators.js.map +1 -0
  40. package/dist/components/condition-editor/style.js +7 -0
  41. package/dist/components/condition-editor/style2.css +186 -0
  42. package/dist/components/context-menu/context-menu.js +1 -1
  43. package/dist/components/date-picker/date-picker.js +2 -2
  44. package/dist/components/date-picker/date-picker.vue.d.ts +2 -2
  45. package/dist/components/date-range-picker/date-range-picker.js +2 -2
  46. package/dist/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
  47. package/dist/components/dialog/dialog.js +7 -7
  48. package/dist/components/dialog/style2.css +8 -0
  49. package/dist/components/dialog/use-maximum.js +1 -1
  50. package/dist/components/drawer/style2.css +8 -0
  51. package/dist/components/dropdown/dropdown.js +1 -1
  52. package/dist/components/expression-editor/components/variable-picker.js +8 -8
  53. package/dist/components/expression-editor/expression-editor.js +1 -1
  54. package/dist/components/expression-editor/style2.css +1 -0
  55. package/dist/components/file-viewer/file-viewer.js +13 -13
  56. package/dist/components/form-item/form-item.js.map +1 -1
  57. package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +6 -6
  58. package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js.map +1 -1
  59. package/dist/components/grid-input/grid-input.js +1 -1
  60. package/dist/components/group-input/group-input.js +2 -1
  61. package/dist/components/group-input/group-input.js.map +1 -1
  62. package/dist/components/group-input/style.js +1 -0
  63. package/dist/components/index.js +154 -154
  64. package/dist/components/input/input.vue.d.ts +4 -4
  65. package/dist/components/input/input.vue_vue_type_script_setup_true_lang.js +1 -1
  66. package/dist/components/layout/layout-resizer.js +1 -1
  67. package/dist/components/layout/layout.js +1 -1
  68. package/dist/components/list/list.js +1 -1
  69. package/dist/components/loading/loading.js +1 -1
  70. package/dist/components/menu/menu-sub-collapsed.js +4 -4
  71. package/dist/components/menu/menu.js +1 -1
  72. package/dist/components/message/message.js +1 -1
  73. package/dist/components/message-confirm/message-confirm.js +1 -1
  74. package/dist/components/multi-select/multi-select-option.js +19 -14
  75. package/dist/components/multi-select/multi-select-option.js.map +1 -1
  76. package/dist/components/multi-select/multi-select.js +15 -15
  77. package/dist/components/multi-select/multi-select.vue.d.ts +4 -4
  78. package/dist/components/multi-tree-select/multi-tree-select.js +8 -8
  79. package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +6 -6
  80. package/dist/components/notification/notification.js +1 -1
  81. package/dist/components/notification/notification.vue.d.ts +1 -1
  82. package/dist/components/number/number.vue.d.ts +1 -1
  83. package/dist/components/number-input/number-input.js +2 -2
  84. package/dist/components/number-input/number-input.vue.d.ts +4 -4
  85. package/dist/components/number-range-input/number-range-input.js +1 -1
  86. package/dist/components/number-range-input/number-range-input.vue.d.ts +1 -1
  87. package/dist/components/number-range-input/style2.css +1 -0
  88. package/dist/components/paginator/paginator.js +6 -6
  89. package/dist/components/paginator/style.js +1 -1
  90. package/dist/components/palette/palette.js +1 -1
  91. package/dist/components/password-input/password-input.js +2 -2
  92. package/dist/components/password-input/password-input.vue.d.ts +1 -1
  93. package/dist/components/pop-confirm/pop-confirm.js +1 -1
  94. package/dist/components/pop-confirm/pop-confirm.vue.d.ts +1 -1
  95. package/dist/components/progress-nodes/progress-nodes.js +1 -1
  96. package/dist/components/radio/radio.js +1 -1
  97. package/dist/components/radio-group/radio-group.js +1 -1
  98. package/dist/components/rich-text-editor/rich-text-editor.js +1 -1
  99. package/dist/components/rich-text-editor/rich-text-editor.vue.d.ts +1 -1
  100. package/dist/components/scroll/scroll-bar.js +1 -1
  101. package/dist/components/scroll/scroll.js +1 -1
  102. package/dist/components/select/select.js +10 -10
  103. package/dist/components/select/select.vue.d.ts +2 -2
  104. package/dist/components/slider/slider.js +1 -1
  105. package/dist/components/steps/steps.js +2 -2
  106. package/dist/components/switch/switch.js +1 -1
  107. package/dist/components/table/style2.css +4 -1
  108. package/dist/components/table/table.js +2 -2
  109. package/dist/components/table/table.js.map +1 -1
  110. package/dist/components/table/use-columns.js +1 -1
  111. package/dist/components/table/use-fixed-columns.js +8 -31
  112. package/dist/components/table/use-fixed-columns.js.map +1 -1
  113. package/dist/components/table-editor/table-editor.js +1 -1
  114. package/dist/components/tabs/tabs-horizontal.js +1 -1
  115. package/dist/components/tabs/tabs-horizontal.vue.d.ts +4 -4
  116. package/dist/components/tabs/tabs-vertical.js +1 -1
  117. package/dist/components/tabs/tabs-vertical.vue.d.ts +3 -3
  118. package/dist/components/tabs/tabs.js +1 -1
  119. package/dist/components/tabs/tabs.vue.d.ts +4 -4
  120. package/dist/components/tag/tag.js +1 -1
  121. package/dist/components/textarea/textarea.js +1 -1
  122. package/dist/components/textarea/textarea.vue.d.ts +4 -4
  123. package/dist/components/theme/style.js +1 -1
  124. package/dist/components/theme/theme.js +11 -11
  125. package/dist/components/tip/tip.js +1 -1
  126. package/dist/components/tree/tree-node.js +1 -1
  127. package/dist/components/tree/tree.js +5 -5
  128. package/dist/components/tree-select/tree-select.js +6 -6
  129. package/dist/components/tree-select/tree-select.vue.d.ts +5 -5
  130. package/dist/index.d.ts +5 -5
  131. package/dist/index.js +83 -83
  132. package/dist/style.js +2 -2
  133. package/dist/types/action.d.ts +5 -11
  134. package/dist/types/condition-editor.d.ts +41 -8
  135. package/dist/types/index.d.ts +4 -4
  136. package/package.json +11 -11
  137. package/src/components/action/action-group.vue +68 -82
  138. package/src/components/action/action.vue +9 -1
  139. package/src/components/action/di.ts +2 -1
  140. package/src/components/action/style.scss +22 -27
  141. package/src/components/batch-edit/batch-edit-form.vue +65 -70
  142. package/src/components/batch-edit/batch-edit-list.vue +35 -41
  143. package/src/components/batch-edit/style.scss +19 -118
  144. package/src/components/condition-editor/components/condition-group.vue +131 -0
  145. package/src/components/condition-editor/components/condition-row.vue +208 -0
  146. package/src/components/condition-editor/condition-editor.vue +145 -6
  147. package/src/components/condition-editor/core/evaluator.ts +93 -0
  148. package/src/components/condition-editor/core/operators.ts +57 -0
  149. package/src/components/condition-editor/style.scss +239 -1
  150. package/src/components/condition-editor/style.ts +7 -0
  151. package/src/components/dialog/style.scss +13 -0
  152. package/src/components/drawer/style.scss +13 -0
  153. package/src/components/expression-editor/style.scss +1 -0
  154. package/src/components/form-item/form-item.vue +1 -1
  155. package/src/components/group-input/group-input.vue +8 -1
  156. package/src/components/group-input/style.ts +1 -0
  157. package/src/components/multi-select/multi-select-option.vue +19 -13
  158. package/src/components/number-range-input/style.scss +1 -0
  159. package/src/components/table/style.scss +9 -1
  160. package/src/components/table/table.vue +1 -3
  161. package/src/components/table/use-fixed-columns.ts +5 -49
  162. package/src/types/action.ts +6 -11
  163. package/src/types/condition-editor.ts +39 -7
@@ -1,18 +1,18 @@
1
- import _sfc_main$1 from "../scroll/scroll.js";
2
- import _sfc_main$2 from "../icon/icon.js";
3
- import _sfc_main$3 from "../empty/empty.js";
4
- import _sfc_main$4 from "../checkbox/checkbox.js";
5
- import _sfc_main$5 from "../dropdown/dropdown.js";
1
+ import _sfc_main$1 from "../icon/icon.js";
2
+ import _sfc_main$2 from "../empty/empty.js";
3
+ import _sfc_main$3 from "../scroll/scroll.js";
4
+ import _sfc_main$4 from "../dropdown/dropdown.js";
6
5
  import input_default from "../input/input.js";
7
- import _sfc_main$6 from "../tag/tag.js";
8
6
  import { useOptions } from "../select/use-options.js";
7
+ import _sfc_main$5 from "../checkbox/checkbox.js";
8
+ import _sfc_main$6 from "../tag/tag.js";
9
9
  import { MultiSelectDIKey } from "./di.js";
10
10
  import _sfc_main$7 from "./multi-select-option.js";
11
11
  import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, shallowReactive, shallowRef, toDisplayString, unref, useModel, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
12
- import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
13
12
  import { useFormFallbackProps, useVirtualizer } from "@veltra/compositions";
14
- import { o } from "@cat-kit/core";
13
+ import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
15
14
  import { ArrowDown, Close, Search } from "@veltra/icons/normal";
15
+ import { o } from "@cat-kit/core";
16
16
  //#region src/components/multi-select/multi-select.vue
17
17
  const _sfc_main = /* @__PURE__ */ defineComponent({
18
18
  name: "MultiSelect",
@@ -271,7 +271,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
271
271
  checkboxClass: cls.e("checkbox")
272
272
  });
273
273
  return (_ctx, _cache) => {
274
- return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$5), {
274
+ return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$4), {
275
275
  key: 0,
276
276
  trigger: "click",
277
277
  ref_key: "dropdownRef",
@@ -316,14 +316,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
316
316
  name: "zoom-in",
317
317
  mode: "out-in"
318
318
  }, {
319
- default: withCtx(() => [__props.clearable && model.value?.length && hovered.value && !unref(disabled) ? (openBlock(), createBlock(unref(_sfc_main$2), {
319
+ default: withCtx(() => [__props.clearable && model.value?.length && hovered.value && !unref(disabled) ? (openBlock(), createBlock(unref(_sfc_main$1), {
320
320
  key: 0,
321
321
  class: normalizeClass(unref(cls).e("clear")),
322
322
  onClick: withModifiers(handleClear, ["stop"])
323
323
  }, {
324
324
  default: withCtx(() => [createVNode(unref(Close))]),
325
325
  _: 1
326
- }, 8, ["class"])) : (openBlock(), createBlock(unref(_sfc_main$2), {
326
+ }, 8, ["class"])) : (openBlock(), createBlock(unref(_sfc_main$1), {
327
327
  key: 1,
328
328
  class: normalizeClass(unref(cls).e("arrow"))
329
329
  }, {
@@ -335,7 +335,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
335
335
  ]),
336
336
  content: withCtx(() => [
337
337
  createCommentVNode(" 多选栏 "),
338
- createElementVNode("div", { class: normalizeClass(unref(cls).e("content-header")) }, [createVNode(unref(_sfc_main$4), {
338
+ createElementVNode("div", { class: normalizeClass(unref(cls).e("content-header")) }, [createVNode(unref(_sfc_main$5), {
339
339
  "model-value": allChecked.value,
340
340
  indeterminate: indeterminate.value,
341
341
  "onUpdate:modelValue": handleCheckAll,
@@ -358,7 +358,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
358
358
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(queryString) ? queryString.value = $event : null),
359
359
  onKeydown: withKeys(withModifiers(handleCreateByEnter, ["prevent"]), ["enter"])
360
360
  }, {
361
- suffix: withCtx(() => [createVNode(unref(_sfc_main$2), null, {
361
+ suffix: withCtx(() => [createVNode(unref(_sfc_main$1), null, {
362
362
  default: withCtx(() => [createVNode(unref(Search))]),
363
363
  _: 1
364
364
  })]),
@@ -366,7 +366,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
366
366
  }, 8, ["modelValue", "onKeydown"])], 2)) : createCommentVNode("v-if", true),
367
367
  createCommentVNode(" 多选列表 "),
368
368
  createCommentVNode("\n 虚拟化启用时内容容器 height 由 useVirtualizer 命令式写入;\n 模板不再绑定 totalSize,避免尺寸变化引起重渲染。\n "),
369
- options.value.length ? (openBlock(), createBlock(unref(_sfc_main$1), {
369
+ options.value.length ? (openBlock(), createBlock(unref(_sfc_main$3), {
370
370
  key: 1,
371
371
  tag: "ul",
372
372
  class: normalizeClass([unref(cls).e("options")]),
@@ -422,7 +422,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
422
422
  }, 8, ["class", "content-class"])) : (openBlock(), createElementBlock("div", {
423
423
  key: 2,
424
424
  class: normalizeClass(unref(cls).e("empty"))
425
- }, [createVNode(unref(_sfc_main$3))], 2))
425
+ }, [createVNode(unref(_sfc_main$2))], 2))
426
426
  ]),
427
427
  _: 3
428
428
  }, 8, [
@@ -30,12 +30,12 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
30
30
  }>, {
31
31
  labelKey: string;
32
32
  valueKey: string;
33
- clearable: boolean;
34
- placeholder: string;
35
- visibilityLimit: number;
36
- minWidth: string;
37
33
  disabled: boolean;
38
34
  readonly: boolean;
35
+ placeholder: string;
36
+ clearable: boolean;
37
+ minWidth: string;
38
+ visibilityLimit: number;
39
39
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
40
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
41
  declare const _default: typeof __VLS_export;
@@ -1,15 +1,15 @@
1
1
  import _sfc_main$1 from "../icon/icon.js";
2
- import _sfc_main$2 from "../checkbox/checkbox.js";
3
- import _sfc_main$3 from "../tree/tree.js";
4
- import _sfc_main$4 from "../dropdown/dropdown.js";
2
+ import _sfc_main$2 from "../dropdown/dropdown.js";
5
3
  import input_default from "../input/input.js";
4
+ import _sfc_main$3 from "../checkbox/checkbox.js";
5
+ import _sfc_main$4 from "../tree/tree.js";
6
6
  import _sfc_main$5 from "../button/button.js";
7
7
  import _sfc_main$6 from "../tag/tag.js";
8
8
  import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, renderList, shallowRef, toDisplayString, unref, useModel, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
9
- import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
10
9
  import { useFormFallbackProps } from "@veltra/compositions";
11
- import { dfs, o } from "@cat-kit/core";
10
+ import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
12
11
  import { ArrowDown, Close, Search } from "@veltra/icons/normal";
12
+ import { dfs, o } from "@cat-kit/core";
13
13
  //#region src/components/multi-tree-select/multi-tree-select.vue
14
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  name: "MultiTreeSelect",
@@ -188,7 +188,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
188
188
  if (!visible) qs.value = "";
189
189
  };
190
190
  return (_ctx, _cache) => {
191
- return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$4), {
191
+ return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$2), {
192
192
  key: 0,
193
193
  class: normalizeClass([
194
194
  unref(cls).b,
@@ -256,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
256
256
  content: withCtx(() => [
257
257
  createElementVNode("div", { class: normalizeClass([unref(cls).e("content-header"), unref(cls).m(unref(size))]) }, [
258
258
  createCommentVNode(" 全选 "),
259
- createVNode(unref(_sfc_main$2), {
259
+ createVNode(unref(_sfc_main$3), {
260
260
  "model-value": allChecked.value,
261
261
  indeterminate: indeterminate.value,
262
262
  "onUpdate:modelValue": handleCheckAll
@@ -290,7 +290,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
290
290
  _: 1
291
291
  }, 8, ["modelValue"])], 2)) : createCommentVNode("v-if", true),
292
292
  createCommentVNode(" 菜单列表 "),
293
- createVNode(unref(_sfc_main$3), mergeProps(treeProps.value, {
293
+ createVNode(unref(_sfc_main$4), mergeProps(treeProps.value, {
294
294
  checked: model.value,
295
295
  "onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => model.value = $event), handleCheck],
296
296
  ref_key: "treeRef",
@@ -15,23 +15,23 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
15
15
  "update:modelValue": (value: (string | number)[]) => any;
16
16
  } & {
17
17
  "update:modelValue": (value: any[]) => any;
18
- change: (checked: Record<string, any>[]) => any;
19
18
  clear: () => any;
19
+ change: (checked: Record<string, any>[]) => any;
20
20
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
21
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
22
- onChange?: ((checked: Record<string, any>[]) => any) | undefined;
23
22
  onClear?: (() => any) | undefined;
23
+ onChange?: ((checked: Record<string, any>[]) => any) | undefined;
24
24
  }>, {
25
25
  expandAll: boolean;
26
26
  labelKey: string;
27
27
  valueKey: string;
28
- clearable: boolean;
28
+ disabled: boolean;
29
+ readonly: boolean;
29
30
  placeholder: string;
31
+ clearable: boolean;
30
32
  filterable: boolean;
31
- visibilityLimit: number;
32
33
  minWidth: string;
33
- disabled: boolean;
34
- readonly: boolean;
34
+ visibilityLimit: number;
35
35
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
36
36
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
37
  declare const _default: typeof __VLS_export;
@@ -1,8 +1,8 @@
1
1
  import _sfc_main$1 from "../icon/icon.js";
2
2
  import _sfc_main$2 from "../button/button.js";
3
3
  import { Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, ref, resolveDynamicComponent, toDisplayString, unref, vShow, withCtx, withDirectives, withModifiers } from "vue";
4
- import { bem } from "@veltra/utils";
5
4
  import { useFallbackProps } from "@veltra/compositions";
5
+ import { bem } from "@veltra/utils";
6
6
  import { CircleCheckFilled, CircleClose, Close, InfoFilled, QuestionFilled, WarningFilled } from "@veltra/icons/normal";
7
7
  //#region src/components/notification/notification.vue
8
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -5,10 +5,10 @@ import * as _$_veltra_utils0 from "@veltra/utils";
5
5
  //#region src/components/notification/notification.vue.d.ts
6
6
  declare const __VLS_export: _$vue.DefineComponent<NotificationProps, _$_veltra_utils0.DeconstructValue<_NotificationExposed>, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
7
7
  closable: boolean;
8
+ position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
8
9
  duration: number;
9
10
  offset: number;
10
11
  buttonText: string;
11
- position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
12
12
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  //#endregion
@@ -3,8 +3,8 @@ import * as _$vue from "vue";
3
3
 
4
4
  //#region src/components/number/number.vue.d.ts
5
5
  declare const __VLS_export: _$vue.DefineComponent<NumberProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<NumberProps> & Readonly<{}>, {
6
- duration: number;
7
6
  format: "currency" | "percent" | "decimal";
7
+ duration: number;
8
8
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
9
9
  declare const _default: typeof __VLS_export;
10
10
  //#endregion
@@ -1,10 +1,10 @@
1
1
  import _sfc_main$1 from "../icon/icon.js";
2
2
  import input_default from "../input/input.js";
3
3
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, renderSlot, shallowRef, toDisplayString, unref, useModel, useSlots, watch, withCtx, withDirectives, withModifiers } from "vue";
4
- import { FORM_EMPTY_CONTENT, Tween, bem, injectFormContext } from "@veltra/utils";
5
4
  import { useFormFallbackProps } from "@veltra/compositions";
6
- import { $n, isUndef, n, o } from "@cat-kit/core";
5
+ import { FORM_EMPTY_CONTENT, Tween, bem, injectFormContext } from "@veltra/utils";
7
6
  import { ArrowDown, ArrowUp, Close } from "@veltra/icons/normal";
7
+ import { $n, isUndef, n, o } from "@cat-kit/core";
8
8
  import { vRipple } from "@veltra/directives";
9
9
  //#region src/components/number-input/number-input.vue
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -15,17 +15,17 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
15
15
  "update:modelValue": (value: number | undefined) => any;
16
16
  } & {
17
17
  "update:modelValue": (value?: number | undefined) => any;
18
- change: (value?: number | undefined) => any;
19
18
  clear: () => any;
19
+ change: (value?: number | undefined) => any;
20
20
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
21
  "onUpdate:modelValue"?: ((value?: number | undefined) => any) | undefined;
22
- onChange?: ((value?: number | undefined) => any) | undefined;
23
22
  onClear?: (() => any) | undefined;
23
+ onChange?: ((value?: number | undefined) => any) | undefined;
24
24
  }>, {
25
- clearable: boolean;
26
- placeholder: string;
27
25
  disabled: boolean;
28
26
  readonly: boolean;
27
+ placeholder: string;
28
+ clearable: boolean;
29
29
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
30
30
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
31
31
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,7 @@
1
1
  import _sfc_main$1 from "../number-input/number-input.js";
2
2
  import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, nextTick, normalizeClass, onMounted, openBlock, toDisplayString, unref, useModel, watch } from "vue";
3
- import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
4
3
  import { useFormFallbackProps } from "@veltra/compositions";
4
+ import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
5
5
  import { $n, n, o } from "@cat-kit/core";
6
6
  //#region src/components/number-range-input/number-range-input.vue
7
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -24,9 +24,9 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
24
24
  "onUpdate:start"?: ((value: number | undefined) => any) | undefined;
25
25
  "onUpdate:end"?: ((value: number | undefined) => any) | undefined;
26
26
  }>, {
27
- clearable: boolean;
28
27
  disabled: boolean;
29
28
  readonly: boolean;
29
+ clearable: boolean;
30
30
  startPlaceholder: string;
31
31
  endPlaceholder: string;
32
32
  separator: string;
@@ -18,6 +18,7 @@
18
18
  .u-number-range-input {
19
19
  display: inline-flex;
20
20
  align-items: center;
21
+ width: 100%;
21
22
  gap: var(--u-gap-small);
22
23
  }
23
24
  .u-number-range-input__separator {
@@ -1,11 +1,11 @@
1
1
  import _sfc_main$1 from "../icon/icon.js";
2
- import _sfc_main$2 from "../number-input/number-input.js";
3
- import _sfc_main$3 from "../select/select.js";
2
+ import _sfc_main$2 from "../select/select.js";
3
+ import _sfc_main$3 from "../number-input/number-input.js";
4
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, reactive, renderList, shallowRef, toDisplayString, unref, useModel, withCtx, withDirectives, withKeys } from "vue";
5
- import { bem } from "@veltra/utils";
6
5
  import { useConfig, useFallbackProps } from "@veltra/compositions";
7
- import { n } from "@cat-kit/core";
6
+ import { bem } from "@veltra/utils";
8
7
  import { ArrowLeft, ArrowRight, DArrowLeft, DArrowRight } from "@veltra/icons/normal";
8
+ import { n } from "@cat-kit/core";
9
9
  import { vRipple } from "@veltra/directives";
10
10
  //#region src/components/paginator/paginator.vue
11
11
  const _hoisted_1 = { key: 0 };
@@ -123,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
123
123
  ref: paginatorRef
124
124
  }, [
125
125
  createElementVNode("div", null, "共 " + toDisplayString(__props.total) + " 条", 1),
126
- createVNode(unref(_sfc_main$3), {
126
+ createVNode(unref(_sfc_main$2), {
127
127
  class: normalizeClass(unref(cls).e("size-select")),
128
128
  modelValue: pageSize.value,
129
129
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => pageSize.value = $event),
@@ -182,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
182
182
  ], 2)) : createCommentVNode("v-if", true),
183
183
  createElementVNode("div", { class: normalizeClass(unref(cls).e("jumper")) }, [
184
184
  _cache[6] || (_cache[6] = createElementVNode("span", null, "前往", -1)),
185
- createVNode(unref(_sfc_main$2), {
185
+ createVNode(unref(_sfc_main$3), {
186
186
  class: normalizeClass(unref(cls).e("page-input")),
187
187
  size: "small",
188
188
  min: 1,
@@ -1,4 +1,4 @@
1
1
  import "../icon/style.js";
2
- import "../number-input/style.js";
3
2
  import "../select/style.js";
3
+ import "../number-input/style.js";
4
4
  import "./style2.css";
@@ -7,8 +7,8 @@ import _sfc_main$4 from "./palette-hue.js";
7
7
  import _sfc_main$5 from "./palette-sv.js";
8
8
  import { useHSV } from "./use-hsv.js";
9
9
  import { computed, createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, provide, shallowRef, unref, useModel, useTemplateRef, watch, withCtx } from "vue";
10
- import { bem, injectFormContext } from "@veltra/utils";
11
10
  import { useFormFallbackProps, useUserAction } from "@veltra/compositions";
11
+ import { bem, injectFormContext } from "@veltra/utils";
12
12
  //#region src/components/palette/palette.vue
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  name: "Palette",
@@ -1,10 +1,10 @@
1
1
  import _sfc_main$1 from "../icon/icon.js";
2
2
  import input_default from "../input/input.js";
3
3
  import { Transition, computed, createBlock, createSlots, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, renderSlot, shallowRef, unref, useModel, useSlots, withCtx } from "vue";
4
- import { bem, injectFormContext } from "@veltra/utils";
5
4
  import { useFormFallbackProps } from "@veltra/compositions";
6
- import { o } from "@cat-kit/core";
5
+ import { bem, injectFormContext } from "@veltra/utils";
7
6
  import { Hide, View } from "@veltra/icons/normal";
7
+ import { o } from "@cat-kit/core";
8
8
  //#region src/components/password-input/password-input.vue
9
9
  const passwordChar = "●";
10
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -15,9 +15,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
15
15
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
17
17
  }>, {
18
- clearable: boolean;
19
18
  disabled: boolean;
20
19
  readonly: boolean;
20
+ clearable: boolean;
21
21
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
@@ -2,8 +2,8 @@ import _sfc_main$1 from "../icon/icon.js";
2
2
  import _sfc_main$2 from "../tip/tip.js";
3
3
  import _sfc_main$3 from "../button/button.js";
4
4
  import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
5
- import { bem, injectFormContext } from "@veltra/utils";
6
5
  import { useFormFallbackProps } from "@veltra/compositions";
6
+ import { bem, injectFormContext } from "@veltra/utils";
7
7
  import { QuestionFilled } from "@veltra/icons/normal";
8
8
  //#region src/components/pop-confirm/pop-confirm.vue
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -14,9 +14,9 @@ declare const __VLS_base: _$vue.DefineComponent<PopConfirmProps, {}, {}, {}, {},
14
14
  onConfirm?: (() => any) | undefined;
15
15
  onCancel?: (() => any) | undefined;
16
16
  }>, {
17
- icon: _$vue.Component;
18
17
  trigger: "hover" | "click";
19
18
  direction: TipDirection;
19
+ icon: _$vue.Component;
20
20
  iconColor: string;
21
21
  confirmText: string;
22
22
  cancelText: string;
@@ -1,6 +1,6 @@
1
1
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, toRefs, unref, useTemplateRef, watch } from "vue";
2
- import { bem } from "@veltra/utils";
3
2
  import { useDrag, useResizeObserver } from "@veltra/compositions";
3
+ import { bem } from "@veltra/utils";
4
4
  import { o } from "@cat-kit/core";
5
5
  //#region src/components/progress-nodes/progress-nodes.vue
6
6
  const _hoisted_1 = ["onClick"];
@@ -1,6 +1,6 @@
1
1
  import { Transition, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderSlot, toDisplayString, unref, useModel, vModelRadio, withCtx, withDirectives } from "vue";
2
- import { bem, injectFormContext } from "@veltra/utils";
3
2
  import { useFormFallbackProps } from "@veltra/compositions";
3
+ import { bem, injectFormContext } from "@veltra/utils";
4
4
  //#region src/components/radio/radio.vue
5
5
  const _hoisted_1 = ["value", "disabled"];
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -1,7 +1,7 @@
1
1
  import _sfc_main$1 from "../radio/radio.js";
2
2
  import { Fragment, createBlock, createElementBlock, createTextVNode, defineComponent, mergeModels, normalizeClass, openBlock, renderList, toDisplayString, unref, useModel, withCtx } from "vue";
3
- import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
4
3
  import { useFormFallbackProps } from "@veltra/compositions";
4
+ import { FORM_EMPTY_CONTENT, bem, injectFormContext } from "@veltra/utils";
5
5
  //#region src/components/radio-group/radio-group.vue
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  name: "RadioGroup",
@@ -1,7 +1,7 @@
1
1
  import _sfc_main$1 from "./toolbar.js";
2
2
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, shallowRef, toDisplayString, unref, useModel, useTemplateRef, watch } from "vue";
3
- import { bem, injectFormContext } from "@veltra/utils";
4
3
  import { useFormFallbackProps } from "@veltra/compositions";
4
+ import { bem, injectFormContext } from "@veltra/utils";
5
5
  import { createEmptyHistoryState, registerHistory } from "@lexical/history";
6
6
  import { $generateHtmlFromNodes, $generateNodesFromDOM } from "@lexical/html";
7
7
  import { AutoLinkNode, LinkNode } from "@lexical/link";
@@ -12,9 +12,9 @@ declare const __VLS_export: _$vue.DefineComponent<RichTextEditorProps & {
12
12
  }> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
14
  }>, {
15
- placeholder: string;
16
15
  disabled: boolean;
17
16
  readonly: boolean;
17
+ placeholder: string;
18
18
  format: RichTextFormat;
19
19
  toolbar: ToolbarItem[];
20
20
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -1,7 +1,7 @@
1
1
  import { ScrollDIKey } from "./di.js";
2
2
  import { computed, createElementBlock, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, shallowRef, unref, vShow, withDirectives } from "vue";
3
- import { bem } from "@veltra/utils";
4
3
  import { useDrag } from "@veltra/compositions";
4
+ import { bem } from "@veltra/utils";
5
5
  //#region src/components/scroll/scroll-bar.vue
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
7
  name: "ScrollBar",
@@ -1,8 +1,8 @@
1
1
  import { ScrollDIKey } from "./di.js";
2
2
  import _sfc_main$1 from "./scroll-bar.js";
3
3
  import { computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, provide, renderSlot, resolveDynamicComponent, shallowRef, unref, withCtx } from "vue";
4
- import { bem, withUnit } from "@veltra/utils";
5
4
  import { useResizeObserver } from "@veltra/compositions";
5
+ import { bem, withUnit } from "@veltra/utils";
6
6
  import { debounce } from "@cat-kit/core";
7
7
  //#region src/components/scroll/scroll.vue
8
8
  const minSize = 20;
@@ -1,15 +1,15 @@
1
- import _sfc_main$1 from "../scroll/scroll.js";
2
- import _sfc_main$2 from "../icon/icon.js";
3
- import _sfc_main$3 from "../empty/empty.js";
1
+ import _sfc_main$1 from "../icon/icon.js";
2
+ import _sfc_main$2 from "../empty/empty.js";
3
+ import _sfc_main$3 from "../scroll/scroll.js";
4
4
  import _sfc_main$4 from "../dropdown/dropdown.js";
5
5
  import input_default from "../input/input.js";
6
- import { useOptions } from "./use-options.js";
7
6
  import { useKeyboard } from "./use-keyboard.js";
7
+ import { useOptions } from "./use-options.js";
8
8
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createSlots, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useModel, watch, withCtx, withDirectives } from "vue";
9
- import { FORM_EMPTY_CONTENT, bem, injectFormContext, scrollIntoContainerView, withUnit } from "@veltra/utils";
10
9
  import { useFormFallbackProps, useVirtualizer } from "@veltra/compositions";
11
- import { o } from "@cat-kit/core";
10
+ import { FORM_EMPTY_CONTENT, bem, injectFormContext, scrollIntoContainerView, withUnit } from "@veltra/utils";
12
11
  import { ArrowDown, Search } from "@veltra/icons/normal";
12
+ import { o } from "@cat-kit/core";
13
13
  import { vFocus } from "@veltra/directives";
14
14
  //#region src/components/select/select.vue
15
15
  const _hoisted_1 = ["onClick", "data-index"];
@@ -211,7 +211,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
211
211
  onKeydown: unref(handleKeydown),
212
212
  "native-readonly": ""
213
213
  }, createSlots({
214
- suffix: withCtx(() => [createVNode(unref(_sfc_main$2), { class: normalizeClass(unref(cls).e("arrow")) }, {
214
+ suffix: withCtx(() => [createVNode(unref(_sfc_main$1), { class: normalizeClass(unref(cls).e("arrow")) }, {
215
215
  default: withCtx(() => [createVNode(unref(ArrowDown))]),
216
216
  _: 1
217
217
  }, 8, ["class"])]),
@@ -239,14 +239,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
239
239
  modelValue: unref(queryString),
240
240
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(queryString) ? queryString.value = $event : null)
241
241
  }, {
242
- suffix: withCtx(() => [createVNode(unref(_sfc_main$2), null, {
242
+ suffix: withCtx(() => [createVNode(unref(_sfc_main$1), null, {
243
243
  default: withCtx(() => [createVNode(unref(Search))]),
244
244
  _: 1
245
245
  })]),
246
246
  _: 1
247
247
  }, 8, ["modelValue"])), [[unref(vFocus)]])], 2)) : createCommentVNode("v-if", true),
248
248
  createCommentVNode("\n 单选列表。虚拟化启用时,内容容器 height 由 useVirtualizer 命令式写入;\n 此处 content-style 仅承担 grid 相关样式,避免 height 变化触发模板重渲染。\n "),
249
- unref(options).length ? (openBlock(), createBlock(unref(_sfc_main$1), {
249
+ unref(options).length ? (openBlock(), createBlock(unref(_sfc_main$3), {
250
250
  key: 1,
251
251
  tag: "ul",
252
252
  class: normalizeClass(unref(cls).e("options")),
@@ -295,7 +295,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
295
295
  ])) : (openBlock(), createElementBlock("div", {
296
296
  key: 2,
297
297
  class: normalizeClass(unref(cls).e("empty"))
298
- }, [createVNode(unref(_sfc_main$3))], 2))
298
+ }, [createVNode(unref(_sfc_main$2))], 2))
299
299
  ]),
300
300
  _: 3
301
301
  }, 8, [
@@ -28,10 +28,10 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
28
28
  }>, {
29
29
  labelKey: string;
30
30
  valueKey: string;
31
- clearable: boolean;
32
- placeholder: string;
33
31
  disabled: boolean;
34
32
  readonly: boolean;
33
+ placeholder: string;
34
+ clearable: boolean;
35
35
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
36
36
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
37
  declare const _default: typeof __VLS_export;
@@ -2,8 +2,8 @@ import { sliderContextKey } from "./di.js";
2
2
  import _sfc_main$1 from "./slider-thumb.js";
3
3
  import { useSlider } from "./use-slider.js";
4
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, isRef, normalizeClass, normalizeStyle, openBlock, provide, renderList, toDisplayString, unref, watch, withModifiers } from "vue";
5
- import { bem, injectFormContext } from "@veltra/utils";
6
5
  import { useFormFallbackProps, useUserAction } from "@veltra/compositions";
6
+ import { bem, injectFormContext } from "@veltra/utils";
7
7
  //#region src/components/slider/slider.vue
8
8
  const _hoisted_1 = { key: 1 };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -2,10 +2,10 @@ import _sfc_main$1 from "../icon/icon.js";
2
2
  import NodeRender from "../node-render/node-render.js";
3
3
  import _sfc_main$2 from "../tip/tip.js";
4
4
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useSlots, useTemplateRef, watch, withCtx } from "vue";
5
- import { bem } from "@veltra/utils";
6
5
  import { useFallbackProps } from "@veltra/compositions";
7
- import { n, o } from "@cat-kit/core";
6
+ import { bem } from "@veltra/utils";
8
7
  import { Check } from "@veltra/icons/normal";
8
+ import { n, o } from "@cat-kit/core";
9
9
  //#region src/components/steps/steps.vue
10
10
  const _hoisted_1 = ["onClick"];
11
11
  const _hoisted_2 = ["onMouseenter"];
@@ -1,6 +1,6 @@
1
1
  import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, normalizeClass, openBlock, toDisplayString, unref, useModel, withModifiers } from "vue";
2
- import { bem, injectFormContext } from "@veltra/utils";
3
2
  import { useFormFallbackProps } from "@veltra/compositions";
3
+ import { bem, injectFormContext } from "@veltra/utils";
4
4
  //#region src/components/switch/switch.vue
5
5
  const _hoisted_1 = ["checked", "disabled"];
6
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -19,8 +19,8 @@
19
19
  width: 100%;
20
20
  position: relative;
21
21
  border: 1px solid var(--u-table-border-color);
22
- border-bottom: none;
23
22
  overflow: hidden;
23
+ background-color: var(--u-bg-color-top);
24
24
  }
25
25
  .u-table--small {
26
26
  border-radius: var(--u-radius-small);
@@ -147,6 +147,9 @@
147
147
  .u-table__body {
148
148
  will-change: transform;
149
149
  }
150
+ .u-table__body .u-table__row:last-child .u-table__cell {
151
+ border-bottom: none;
152
+ }
150
153
  .u-table__empty {
151
154
  position: sticky;
152
155
  left: 50%;
@@ -10,8 +10,8 @@ import { useFixedColumns } from "./use-fixed-columns.js";
10
10
  import { useRows } from "./use-rows.js";
11
11
  import { useTable } from "./use-table.js";
12
12
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, provide, renderList, renderSlot, shallowRef, toRef, unref, useSlots, useTemplateRef, watch, withCtx } from "vue";
13
- import { bem, withUnit } from "@veltra/utils";
14
13
  import { useFallbackProps, useVirtualizer } from "@veltra/compositions";
14
+ import { bem, withUnit } from "@veltra/utils";
15
15
  //#region src/components/table/table.vue
16
16
  const _hoisted_1 = {
17
17
  key: 0,
@@ -96,7 +96,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
96
96
  cls
97
97
  });
98
98
  const { leafColumns } = columnConfig;
99
- const { handleScroll, leftFixed, rightFixed } = useFixedColumns({ isScrolling: isScrollingRelay });
99
+ const { handleScroll, leftFixed, rightFixed } = useFixedColumns();
100
100
  const { getColumnSlotsNode, getExpandRowSlotsNode, getHeaderSlotsNode, getCellClass, getCellCtx, getHeaderCellClass } = useTable({
101
101
  props,
102
102
  cls,