lew-ui 2.6.35 → 2.6.37

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2023 lew
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2023 lew
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,46 +1,46 @@
1
- # Lew UI
2
-
3
- A Component Library for Vue3. Doc address: https://lew.kamtao.com
4
-
5
- English | [中文](./README.zh-CN.md)
6
-
7
- ## Install
8
-
9
- ```bash
10
- npm install lew-ui
11
- ```
12
-
13
- ## How to use
14
-
15
- ```js
16
- // main.ts
17
- import 'lew-ui/style'
18
- ```
19
-
20
- ```vue
21
- <script setup lang="ts">
22
- // page.vue
23
- import { LewButton } from 'lew-ui'
24
- </script>
25
-
26
- <template>
27
- <lew-button text="Submit" />
28
- </template>
29
- ```
30
-
31
- ## Open Source Libraries
32
-
33
- Lew UI uses the following open source libraries:
34
-
35
- - [Tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
36
- - [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
37
- - [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
38
- - [Day.js](https://day.js.org/): Lightweight library for date manipulation
39
- - [Yup](https://github.com/jquense/yup): Object schema validation library
40
- - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
41
-
42
- We are grateful for the support these excellent open source projects provide to Lew UI.
43
-
44
- ## License
45
-
46
- Lew UI is open source software licensed as MIT.
1
+ # Lew UI
2
+
3
+ A Component Library for Vue3. Doc address: https://lew.kamtao.com
4
+
5
+ English | [中文](./README.zh-CN.md)
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install lew-ui
11
+ ```
12
+
13
+ ## How to use
14
+
15
+ ```js
16
+ // main.ts
17
+ import 'lew-ui/style'
18
+ ```
19
+
20
+ ```vue
21
+ <script setup lang="ts">
22
+ // page.vue
23
+ import { LewButton } from 'lew-ui'
24
+ </script>
25
+
26
+ <template>
27
+ <lew-button text="Submit" />
28
+ </template>
29
+ ```
30
+
31
+ ## Open Source Libraries
32
+
33
+ Lew UI uses the following open source libraries:
34
+
35
+ - [Tippy.js](https://atomiks.github.io/tippyjs/): For creating tooltips and popovers
36
+ - [Lucide](https://github.com/lucide-icons/lucide): Provides a clean and beautiful icon set
37
+ - [VueUse](https://vueuse.org/): Collection of Vue Composition API utilities
38
+ - [Day.js](https://day.js.org/): Lightweight library for date manipulation
39
+ - [Yup](https://github.com/jquense/yup): Object schema validation library
40
+ - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): Virtual list
41
+
42
+ We are grateful for the support these excellent open source projects provide to Lew UI.
43
+
44
+ ## License
45
+
46
+ Lew UI is open source software licensed as MIT.
package/README.zh-CN.md CHANGED
@@ -1,48 +1,48 @@
1
- # Lew UI
2
-
3
- 一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
4
-
5
- [英文](./README.md) | 中文
6
-
7
- ## 安装
8
-
9
- ```bash
10
- npm install lew-ui
11
- ```
12
-
13
- ## 如何使用
14
-
15
- main.ts
16
-
17
- ```js
18
- // main.ts
19
- import 'lew-ui/style'
20
- ```
21
-
22
- ```vue
23
- <script setup lang="ts">
24
- // page.vue
25
- import { LewButton } from 'lew-ui'
26
- </script>
27
-
28
- <template>
29
- <lew-button text="提交" />
30
- </template>
31
- ```
32
-
33
- ## 开源库声明
34
-
35
- Lew UI 使用了以下开源库:
36
-
37
- - [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
38
- - [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
39
- - [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
40
- - [Day.js](https://day.js.org/): 轻量级日期处理库
41
- - [Yup](https://github.com/jquense/yup): 对象模式验证库
42
- - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
43
-
44
- 我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
45
-
46
- ## 许可证
47
-
48
- Lew UI 是根据 MIT 许可证的开源软件。
1
+ # Lew UI
2
+
3
+ 一个用于 Vue3 的组件库。文档地址:https://lew.kamtao.com
4
+
5
+ [英文](./README.md) | 中文
6
+
7
+ ## 安装
8
+
9
+ ```bash
10
+ npm install lew-ui
11
+ ```
12
+
13
+ ## 如何使用
14
+
15
+ main.ts
16
+
17
+ ```js
18
+ // main.ts
19
+ import 'lew-ui/style'
20
+ ```
21
+
22
+ ```vue
23
+ <script setup lang="ts">
24
+ // page.vue
25
+ import { LewButton } from 'lew-ui'
26
+ </script>
27
+
28
+ <template>
29
+ <lew-button text="提交" />
30
+ </template>
31
+ ```
32
+
33
+ ## 开源库声明
34
+
35
+ Lew UI 使用了以下开源库:
36
+
37
+ - [tippy.js](https://atomiks.github.io/tippyjs/): 用于创建工具提示和弹出框
38
+ - [Lucide](https://github.com/lucide-icons/lucide): 提供简洁美观的图标集
39
+ - [VueUse](https://vueuse.org/): Vue Composition API 实用工具集合
40
+ - [Day.js](https://day.js.org/): 轻量级日期处理库
41
+ - [Yup](https://github.com/jquense/yup): 对象模式验证库
42
+ - [vue-virt-list](https://github.com/kolarorz/vue-virt-list): 虚拟列表
43
+
44
+ 我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
45
+
46
+ ## 许可证
47
+
48
+ Lew UI 是根据 MIT 许可证的开源软件。
package/dist/index.mjs CHANGED
@@ -3145,7 +3145,7 @@ const _export_sfc = (sfc, props2) => {
3145
3145
  }
3146
3146
  return target;
3147
3147
  };
3148
- const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-b2db63b3"]]);
3148
+ const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-9e37ae9e"]]);
3149
3149
  const iconColorType = {
3150
3150
  normal: "gray",
3151
3151
  warning: "orange",
@@ -3741,7 +3741,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3741
3741
  };
3742
3742
  }
3743
3743
  });
3744
- const LewImage = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-763af839"]]);
3744
+ const LewImage = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-2bb4a7ed"]]);
3745
3745
  const avatarProps = {
3746
3746
  size: {
3747
3747
  type: [Number, String],
@@ -7671,7 +7671,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
7671
7671
  };
7672
7672
  }
7673
7673
  });
7674
- const LewTextTrim = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-94021c25"]]);
7674
+ const LewTextTrim = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-06e1464c"]]);
7675
7675
  const flexProps = {
7676
7676
  direction: {
7677
7677
  type: String,
@@ -8978,7 +8978,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
8978
8978
  };
8979
8979
  }
8980
8980
  });
8981
- const LewActionBox = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-4dd73c21"]]);
8981
+ const LewActionBox = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-a115e3dc"]]);
8982
8982
  const _hoisted_1$C = ["width", "height"];
8983
8983
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
8984
8984
  __name: "RequiredIcon",
@@ -11814,7 +11814,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
11814
11814
  };
11815
11815
  }
11816
11816
  });
11817
- const LewFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-faff38ef"]]);
11817
+ const LewFormItem = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-2c8c84b0"]]);
11818
11818
  const _sfc_main$L = /* @__PURE__ */ defineComponent({
11819
11819
  __name: "LewForm",
11820
11820
  props: formProps,
@@ -11957,7 +11957,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
11957
11957
  };
11958
11958
  }
11959
11959
  });
11960
- const LewForm = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-aaec9ce6"]]);
11960
+ const LewForm = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-a365deab"]]);
11961
11961
  const inputModel = {
11962
11962
  modelValue: {
11963
11963
  type: [String, Number],
@@ -12525,7 +12525,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
12525
12525
  };
12526
12526
  }
12527
12527
  });
12528
- const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-52405f50"]]);
12528
+ const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-9cb47d78"]]);
12529
12529
  const inputNumberModel = {
12530
12530
  modelValue: {
12531
12531
  type: Number,
@@ -12823,7 +12823,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
12823
12823
  };
12824
12824
  }
12825
12825
  });
12826
- const LewInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-ae20671c"]]);
12826
+ const LewInputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4f739b1f"]]);
12827
12827
  const textareaModel = {
12828
12828
  modelValue: {
12829
12829
  type: String,
@@ -13104,7 +13104,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13104
13104
  };
13105
13105
  }
13106
13106
  });
13107
- const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-c1810ae2"]]);
13107
+ const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-bdc9e630"]]);
13108
13108
  const inputTagModel = {
13109
13109
  modelValue: {
13110
13110
  type: Array,
@@ -13633,7 +13633,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
13633
13633
  };
13634
13634
  }
13635
13635
  });
13636
- const LewCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-3a44fadd"]]);
13636
+ const LewCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-11b88813"]]);
13637
13637
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
13638
13638
  __name: "LewCheckboxGroup",
13639
13639
  props: /* @__PURE__ */ mergeModels(checkboxGroupProps, {
@@ -13903,7 +13903,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
13903
13903
  };
13904
13904
  }
13905
13905
  });
13906
- const LewRadio = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-aa830ef3"]]);
13906
+ const LewRadio = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-3df63f9a"]]);
13907
13907
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
13908
13908
  __name: "LewRadioGroup",
13909
13909
  props: /* @__PURE__ */ mergeModels(radioGroupProps, {
@@ -14240,7 +14240,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
14240
14240
  };
14241
14241
  }
14242
14242
  });
14243
- const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0d554416"]]);
14243
+ const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-b0af215e"]]);
14244
14244
  function vue3h(ele, props2, children) {
14245
14245
  const { attrs, on, ...rest } = props2;
14246
14246
  let event = {};
@@ -16273,7 +16273,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
16273
16273
  };
16274
16274
  }
16275
16275
  });
16276
- const LewSelectMultiple = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3b8fdaa3"]]);
16276
+ const LewSelectMultiple = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-aeb6b727"]]);
16277
16277
  const getMonthDate = (year, month) => {
16278
16278
  const ret = [];
16279
16279
  if (!year || !month) {
@@ -16852,7 +16852,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
16852
16852
  };
16853
16853
  }
16854
16854
  });
16855
- const LewDate = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-caa9240e"]]);
16855
+ const LewDate = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-231d2113"]]);
16856
16856
  const _hoisted_1$r = { class: "lew-date-picker-view" };
16857
16857
  const _hoisted_2$f = ["onClick"];
16858
16858
  const _sfc_main$y = /* @__PURE__ */ defineComponent({
@@ -17043,7 +17043,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17043
17043
  };
17044
17044
  }
17045
17045
  });
17046
- const LewDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-15f91150"]]);
17046
+ const LewDatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-0b2facc5"]]);
17047
17047
  const dateRangePickerModel = {
17048
17048
  modelValue: {
17049
17049
  type: Object,
@@ -17630,7 +17630,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17630
17630
  };
17631
17631
  }
17632
17632
  });
17633
- const LewDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-a4b5c316"]]);
17633
+ const LewDateRange = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-874d373d"]]);
17634
17634
  const _hoisted_1$p = { class: "lew-date-range-picker-view" };
17635
17635
  const _hoisted_2$d = {
17636
17636
  key: 0,
@@ -17800,7 +17800,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17800
17800
  };
17801
17801
  }
17802
17802
  });
17803
- const LewDateRangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-2df69772"]]);
17803
+ const LewDateRangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-f92cbfbb"]]);
17804
17804
  const cascaderModel = {
17805
17805
  modelValue: {
17806
17806
  type: [String, Number],
@@ -18896,7 +18896,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
18896
18896
  };
18897
18897
  }
18898
18898
  });
18899
- const FormModal = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-a3c87162"]]);
18899
+ const FormModal = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-63fae5a6"]]);
18900
18900
  const inputTableModel = {
18901
18901
  modelValue: {
18902
18902
  type: Array,
@@ -19301,7 +19301,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
19301
19301
  };
19302
19302
  }
19303
19303
  });
19304
- const LewInputTable = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-09ebc52a"]]);
19304
+ const LewInputTable = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-6eec5983"]]);
19305
19305
  const switchModel = {
19306
19306
  modelValue: {
19307
19307
  type: Boolean,
@@ -19472,7 +19472,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
19472
19472
  };
19473
19473
  }
19474
19474
  });
19475
- const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-5c9f9ee3"]]);
19475
+ const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-98eecdc4"]]);
19476
19476
  const sliderModel = {
19477
19477
  modelValue: {
19478
19478
  type: [Number, void 0],
@@ -20794,7 +20794,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
20794
20794
  };
20795
20795
  }
20796
20796
  });
20797
- const LewUploadByList = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-9eb98361"]]);
20797
+ const LewUploadByList = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-3b650dea"]]);
20798
20798
  const _hoisted_1$g = ["src"];
20799
20799
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
20800
20800
  __name: "LewUploadByCard",
@@ -20998,7 +20998,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
20998
20998
  };
20999
20999
  }
21000
21000
  });
21001
- const LewUploadByCard = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-cf133017"]]);
21001
+ const LewUploadByCard = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-e57b2505"]]);
21002
21002
  const _hoisted_1$f = ["multiple", "accept"];
21003
21003
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
21004
21004
  __name: "LewUpload",
@@ -21349,7 +21349,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
21349
21349
  };
21350
21350
  }
21351
21351
  });
21352
- const LewUpload = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-f27730be"]]);
21352
+ const LewUpload = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-fe60ab42"]]);
21353
21353
  const rateModel = {
21354
21354
  modelValue: {
21355
21355
  type: Number,
@@ -21522,7 +21522,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
21522
21522
  };
21523
21523
  }
21524
21524
  });
21525
- const LewRate = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-9d59e2d2"]]);
21525
+ const LewRate = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-478c6caf"]]);
21526
21526
  const tableModel = {
21527
21527
  selectedKeys: {
21528
21528
  type: [Array, String, Number, void 0],
@@ -21928,7 +21928,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
21928
21928
  };
21929
21929
  const hasPartialSelection = computed(() => {
21930
21930
  const selectedRowsMap = state.selectedRowsMap;
21931
- return state.dataSource.some((row) => selectedRowsMap[row[props2.rowKey]]);
21931
+ return state.dataSource.some(
21932
+ (row) => selectedRowsMap[row[props2.rowKey]]
21933
+ );
21932
21934
  });
21933
21935
  const updateAllCheckedState = () => {
21934
21936
  const checkedKeys = keys(pickBy(state.selectedRowsMap, Boolean));
@@ -21986,18 +21988,25 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
21986
21988
  if (column.sortable) {
21987
21989
  tdClass.push("lew-table-td-sortable");
21988
21990
  }
21991
+ const xMap = {
21992
+ start: "start",
21993
+ left: "start",
21994
+ center: "center",
21995
+ right: "end",
21996
+ end: "end"
21997
+ };
21989
21998
  const tdStyle = {
21990
21999
  display: "flex",
21991
22000
  flexDirection: "column",
21992
22001
  width: any2px(column.width),
21993
22002
  justifyContent: "center",
21994
- alignItems: column.x || "start"
22003
+ alignItems: xMap[column.x] || "start"
21995
22004
  };
21996
22005
  const titleSpanStyle = {
21997
22006
  padding: getPadding.value,
21998
22007
  display: "flex",
21999
22008
  alignItems: "center",
22000
- justifyContent: column.x,
22009
+ justifyContent: xMap[column.x],
22001
22010
  width: any2px(column.width),
22002
22011
  height: "100%",
22003
22012
  boxSizing: "border-box"
@@ -22260,7 +22269,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22260
22269
  return h("span", {}, { default: () => String(customContent) });
22261
22270
  } catch (e) {
22262
22271
  console.error("Error in customRender:", e);
22263
- return h("span", {}, { default: () => showTextAndEmpty(row[column.field]) });
22272
+ return h(
22273
+ "span",
22274
+ {},
22275
+ { default: () => showTextAndEmpty(row[column.field]) }
22276
+ );
22264
22277
  }
22265
22278
  };
22266
22279
  const initDragState = () => {
@@ -22356,7 +22369,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22356
22369
  };
22357
22370
  const updateDragTarget = (mouseY) => {
22358
22371
  state.lastMouseY = mouseY;
22359
- if (!state.dragRowId || Object.keys(state.trPositionsMap).length === 0) return;
22372
+ if (!state.dragRowId || Object.keys(state.trPositionsMap).length === 0)
22373
+ return;
22360
22374
  const dragDistance = Math.abs(state.initialDragY - mouseY);
22361
22375
  const minDragDistance = 5;
22362
22376
  if (dragDistance < minDragDistance) {
@@ -22501,7 +22515,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
22501
22515
  class: normalizeClass(["lew-table lew-scrollbar", {
22502
22516
  "lew-table-bordered": _ctx.bordered,
22503
22517
  "lew-table-scroll": unref(state).isScroll,
22504
- "lew-table-dragging": unref(state).isDragging
22518
+ "lew-table-dragging": unref(state).isDragging,
22519
+ "lew-table-has-fixed-left": unref(getFixedColumns)("left").length > 0 || _ctx.checkable || _ctx.sortable,
22520
+ "lew-table-has-fixed-right": unref(getFixedColumns)("right").length > 0
22505
22521
  }]),
22506
22522
  style: normalizeStyle(`max-height: ${unref(any2px)(_ctx.maxHeight)}`),
22507
22523
  onScroll: updateScrollState,
@@ -23141,7 +23157,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
23141
23157
  };
23142
23158
  }
23143
23159
  });
23144
- const LewPagination = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-e04b35ee"]]);
23160
+ const LewPagination = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-5ef91bdb"]]);
23145
23161
  const treeModel = {
23146
23162
  modelValue: {
23147
23163
  type: [Array, String],
@@ -24611,7 +24627,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
24611
24627
  };
24612
24628
  }
24613
24629
  });
24614
- const LewDescItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-65b841af"]]);
24630
+ const LewDescItem = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-b46d3c0a"]]);
24615
24631
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
24616
24632
  __name: "LewDesc",
24617
24633
  props: descProps,
@@ -25229,7 +25245,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
25229
25245
  };
25230
25246
  }
25231
25247
  });
25232
- const LewPopok = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-61a03726"]]);
25248
+ const LewPopok = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-7bf19654"]]);
25233
25249
  const popoverProps = {
25234
25250
  trigger: {
25235
25251
  type: String,
@@ -26385,7 +26401,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
26385
26401
  };
26386
26402
  }
26387
26403
  });
26388
- const _LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-fb151e7c"]]);
26404
+ const _LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-c9b419ce"]]);
26389
26405
  const initLewHoverMenu = () => {
26390
26406
  window.LewHoverMenu = {
26391
26407
  menu: {},
@@ -26984,7 +27000,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
26984
27000
  };
26985
27001
  }
26986
27002
  });
26987
- const NotificationItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-a19d41cb"]]);
27003
+ const NotificationItem = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-833b45ed"]]);
26988
27004
  const _sfc_main = /* @__PURE__ */ defineComponent({
26989
27005
  __name: "NotificationContainer",
26990
27006
  setup(__props2, { expose: __expose2 }) {