lew-ui 2.5.6 → 2.5.7

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,45 +1,45 @@
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
-
41
- We are grateful for the support these excellent open source projects provide to Lew UI.
42
-
43
- ## License
44
-
45
- 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
+
41
+ We are grateful for the support these excellent open source projects provide to Lew UI.
42
+
43
+ ## License
44
+
45
+ Lew UI is open source software licensed as MIT.
package/README.zh-CN.md CHANGED
@@ -1,47 +1,47 @@
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
-
43
- 我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
44
-
45
- ## 许可证
46
-
47
- 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
+
43
+ 我们感谢这些优秀的开源项目为 Lew UI 提供的支持。
44
+
45
+ ## 许可证
46
+
47
+ Lew UI 是根据 MIT 许可证的开源软件。
package/dist/index.mjs CHANGED
@@ -7472,7 +7472,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
7472
7472
  };
7473
7473
  }
7474
7474
  });
7475
- const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-3832593a"]]);
7475
+ const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-e8c800cb"]]);
7476
7476
  const markProps = {
7477
7477
  color: {
7478
7478
  type: String,
@@ -7987,7 +7987,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
7987
7987
  };
7988
7988
  }
7989
7989
  });
7990
- const LewMenu = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-0b1ac599"]]);
7990
+ const LewMenu = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-93729b05"]]);
7991
7991
  const menuTreeModel = {
7992
7992
  modelValue: {
7993
7993
  type: String,
@@ -8293,7 +8293,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
8293
8293
  };
8294
8294
  }
8295
8295
  });
8296
- const LewMenuTree = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-964895d2"]]);
8296
+ const LewMenuTree = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-9c3463ba"]]);
8297
8297
  const dropdownProps = {
8298
8298
  trigger: {
8299
8299
  type: String,
@@ -11984,7 +11984,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
11984
11984
  };
11985
11985
  }
11986
11986
  });
11987
- const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-bade7900"]]);
11987
+ const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-3c20080e"]]);
11988
11988
  const inputNumberModel = {
11989
11989
  modelValue: {
11990
11990
  type: Number,
@@ -12568,7 +12568,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
12568
12568
  };
12569
12569
  }
12570
12570
  });
12571
- const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-fa22d421"]]);
12571
+ const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-4b92a5fb"]]);
12572
12572
  const inputTagModel = {
12573
12573
  modelValue: {
12574
12574
  type: Array,
@@ -12772,7 +12772,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
12772
12772
  };
12773
12773
  }
12774
12774
  });
12775
- const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-b4a4327b"]]);
12775
+ const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1b2570c1"]]);
12776
12776
  const checkboxModel = {
12777
12777
  modelValue: {
12778
12778
  type: Boolean,
@@ -13605,7 +13605,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
13605
13605
  };
13606
13606
  }
13607
13607
  });
13608
- const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3d5cad26"]]);
13608
+ const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-b86d4bc4"]]);
13609
13609
  function tryOnScopeDispose(fn2) {
13610
13610
  if (getCurrentScope()) {
13611
13611
  onScopeDispose(fn2);
@@ -17095,7 +17095,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17095
17095
  };
17096
17096
  }
17097
17097
  });
17098
- const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-a8fbdd97"]]);
17098
+ const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-125f865d"]]);
17099
17099
  const treeSelectModel = {
17100
17100
  modelValue: {
17101
17101
  type: [String, Number],
@@ -17539,7 +17539,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17539
17539
  };
17540
17540
  }
17541
17541
  });
17542
- const LewTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-bbe3e3af"]]);
17542
+ const LewTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-8b411b09"]]);
17543
17543
  const _hoisted_1$l = { class: "lew-form-modal lew-scrollbar" };
17544
17544
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
17545
17545
  __name: "FormModal",
@@ -18263,7 +18263,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
18263
18263
  };
18264
18264
  }
18265
18265
  });
18266
- const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-91c197fb"]]);
18266
+ const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-f9d855ca"]]);
18267
18267
  const sliderModel = {
18268
18268
  modelValue: {
18269
18269
  type: [Number, void 0],
@@ -19174,7 +19174,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
19174
19174
  };
19175
19175
  }
19176
19176
  });
19177
- const LewColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b3157b53"]]);
19177
+ const LewColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-5601dfdf"]]);
19178
19178
  const uploadProps = {
19179
19179
  accept: {
19180
19180
  type: String,
@@ -21295,7 +21295,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
21295
21295
  };
21296
21296
  }
21297
21297
  });
21298
- const LewPagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-f4861d07"]]);
21298
+ const LewPagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-e37e24d3"]]);
21299
21299
  const magicNumberProps = {
21300
21300
  value: {
21301
21301
  type: Number,
@@ -21868,7 +21868,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
21868
21868
  };
21869
21869
  }
21870
21870
  });
21871
- const LewTree = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-71b6af52"]]);
21871
+ const LewTree = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-86c0e774"]]);
21872
21872
  const collapseModel = {
21873
21873
  modelValue: {
21874
21874
  type: [Array, String],
@@ -22636,7 +22636,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
22636
22636
  };
22637
22637
  }
22638
22638
  });
22639
- const LewDescItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1543c046"]]);
22639
+ const LewDescItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-25a1c7c1"]]);
22640
22640
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
22641
22641
  __name: "LewDesc",
22642
22642
  props: descProps,
@@ -23052,7 +23052,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
23052
23052
  };
23053
23053
  }
23054
23054
  });
23055
- const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-9ba5f29e"]]);
23055
+ const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-5cc72080"]]);
23056
23056
  const popokProps = {
23057
23057
  type: {
23058
23058
  type: String,
@@ -24464,7 +24464,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
24464
24464
  };
24465
24465
  }
24466
24466
  });
24467
- const _LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e33c6a11"]]);
24467
+ const _LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-189cc6df"]]);
24468
24468
  const initLewHoverMenu = () => {
24469
24469
  window.LewHoverMenu = {
24470
24470
  menu: {},