lew-ui 2.5.3 → 2.5.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/LICENSE +21 -21
- package/README.md +45 -45
- package/README.zh-CN.md +47 -47
- package/dist/index.mjs +43 -29
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
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
|
@@ -4328,7 +4328,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
4328
4328
|
...sizeConfig,
|
|
4329
4329
|
borderRadius: round2 ? "20px" : sizeConfig.borderRadius,
|
|
4330
4330
|
opacity: disabled ? "var(--lew-disabled-opacity)" : void 0,
|
|
4331
|
-
pointerEvents: disabled ? "none" :
|
|
4331
|
+
pointerEvents: disabled ? "none" : void 0
|
|
4332
4332
|
};
|
|
4333
4333
|
});
|
|
4334
4334
|
return (_ctx, _cache) => {
|
|
@@ -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-
|
|
7475
|
+
const LewFlex = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-3832593a"]]);
|
|
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-
|
|
7990
|
+
const LewMenu = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-0b1ac599"]]);
|
|
7991
7991
|
const menuTreeModel = {
|
|
7992
7992
|
modelValue: {
|
|
7993
7993
|
type: String,
|
|
@@ -8099,8 +8099,6 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8099
8099
|
} else {
|
|
8100
8100
|
if (modelValue2.value !== props2.menuKey) {
|
|
8101
8101
|
modelValue2.value = props2.menuKey;
|
|
8102
|
-
} else {
|
|
8103
|
-
modelValue2.value = "";
|
|
8104
8102
|
}
|
|
8105
8103
|
}
|
|
8106
8104
|
expandKeys.value = cloneDeep(expandKeys.value);
|
|
@@ -8172,7 +8170,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
8172
8170
|
};
|
|
8173
8171
|
}
|
|
8174
8172
|
});
|
|
8175
|
-
const LewMenuTreeItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
8173
|
+
const LewMenuTreeItem = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-cc37e11f"]]);
|
|
8176
8174
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
8177
8175
|
__name: "LewMenuTree",
|
|
8178
8176
|
props: /* @__PURE__ */ mergeModels(menuTreeProps, {
|
|
@@ -8295,7 +8293,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
8295
8293
|
};
|
|
8296
8294
|
}
|
|
8297
8295
|
});
|
|
8298
|
-
const LewMenuTree = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-
|
|
8296
|
+
const LewMenuTree = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-964895d2"]]);
|
|
8299
8297
|
const dropdownProps = {
|
|
8300
8298
|
trigger: {
|
|
8301
8299
|
type: String,
|
|
@@ -11794,13 +11792,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11794
11792
|
var _a2;
|
|
11795
11793
|
if (v && isFocus.value) {
|
|
11796
11794
|
(_a2 = lewInputRef.value) == null ? void 0 : _a2.blur();
|
|
11797
|
-
ok
|
|
11795
|
+
emit2("ok", modelValue2.value);
|
|
11798
11796
|
}
|
|
11799
11797
|
});
|
|
11800
11798
|
}
|
|
11801
|
-
const ok = useDebounceFn(() => {
|
|
11802
|
-
emit2("ok", modelValue2.value);
|
|
11803
|
-
}, 250);
|
|
11804
11799
|
onUnmounted(() => {
|
|
11805
11800
|
if (timer) clearTimeout(timer);
|
|
11806
11801
|
});
|
|
@@ -11989,7 +11984,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
11989
11984
|
};
|
|
11990
11985
|
}
|
|
11991
11986
|
});
|
|
11992
|
-
const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-
|
|
11987
|
+
const LewInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-bade7900"]]);
|
|
11993
11988
|
const inputNumberModel = {
|
|
11994
11989
|
modelValue: {
|
|
11995
11990
|
type: Number,
|
|
@@ -12573,7 +12568,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
12573
12568
|
};
|
|
12574
12569
|
}
|
|
12575
12570
|
});
|
|
12576
|
-
const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-
|
|
12571
|
+
const LewTextarea = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-fa22d421"]]);
|
|
12577
12572
|
const inputTagModel = {
|
|
12578
12573
|
modelValue: {
|
|
12579
12574
|
type: Array,
|
|
@@ -12621,6 +12616,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12621
12616
|
}),
|
|
12622
12617
|
emits: /* @__PURE__ */ mergeModels(["close", "change"], ["update:modelValue"]),
|
|
12623
12618
|
setup(__props2, { emit: __emit2 }) {
|
|
12619
|
+
var _a;
|
|
12620
|
+
const app2 = (_a = getCurrentInstance()) == null ? void 0 : _a.appContext.app;
|
|
12621
|
+
if (app2 && !app2.directive("tooltip")) {
|
|
12622
|
+
app2.use(LewMessage$1);
|
|
12623
|
+
}
|
|
12624
12624
|
const emit2 = __emit2;
|
|
12625
12625
|
const props2 = __props2;
|
|
12626
12626
|
const modelValue2 = useModel(__props2, "modelValue");
|
|
@@ -12655,6 +12655,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12655
12655
|
} else {
|
|
12656
12656
|
if (!(modelValue2.value || []).includes(inputValue.value)) {
|
|
12657
12657
|
addTag();
|
|
12658
|
+
} else {
|
|
12659
|
+
LewMessage$1.warning("不允许重复标签");
|
|
12658
12660
|
}
|
|
12659
12661
|
}
|
|
12660
12662
|
if (isEnter) {
|
|
@@ -12723,13 +12725,14 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12723
12725
|
style: { "max-width": "100%" },
|
|
12724
12726
|
size: _ctx.size,
|
|
12725
12727
|
closable: !_ctx.readonly && !_ctx.disabled,
|
|
12728
|
+
disabled: _ctx.disabled,
|
|
12726
12729
|
onClose: ($event) => delTag(index2)
|
|
12727
12730
|
}, {
|
|
12728
12731
|
default: withCtx(() => [
|
|
12729
12732
|
createTextVNode(toDisplayString(item), 1)
|
|
12730
12733
|
]),
|
|
12731
12734
|
_: 2
|
|
12732
|
-
}, 1032, ["size", "closable", "onClose"]);
|
|
12735
|
+
}, 1032, ["size", "closable", "disabled", "onClose"]);
|
|
12733
12736
|
}), 128)),
|
|
12734
12737
|
unref(isFocus) || (modelValue2.value || []).length === 0 ? (openBlock(), createBlock(unref(LewInput), {
|
|
12735
12738
|
key: 0,
|
|
@@ -12742,6 +12745,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12742
12745
|
size: _ctx.size,
|
|
12743
12746
|
readonly: !unref(isFocus),
|
|
12744
12747
|
placeholder: (modelValue2.value || []).length > 0 ? "" : _ctx.placeholder,
|
|
12748
|
+
"ok-by-enter": "",
|
|
12745
12749
|
onBlur: blurFn
|
|
12746
12750
|
}, null, 8, ["auto-width", "modelValue", "size", "readonly", "placeholder"])) : createCommentVNode("", true)
|
|
12747
12751
|
]),
|
|
@@ -12768,7 +12772,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
12768
12772
|
};
|
|
12769
12773
|
}
|
|
12770
12774
|
});
|
|
12771
|
-
const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
12775
|
+
const LewInputTag = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-b4a4327b"]]);
|
|
12772
12776
|
const checkboxModel = {
|
|
12773
12777
|
modelValue: {
|
|
12774
12778
|
type: Boolean,
|
|
@@ -13601,7 +13605,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
13601
13605
|
};
|
|
13602
13606
|
}
|
|
13603
13607
|
});
|
|
13604
|
-
const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
13608
|
+
const LewTabs = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3d5cad26"]]);
|
|
13605
13609
|
function tryOnScopeDispose(fn2) {
|
|
13606
13610
|
if (getCurrentScope()) {
|
|
13607
13611
|
onScopeDispose(fn2);
|
|
@@ -14478,7 +14482,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14478
14482
|
unref(getChecked)(templateProps.value) && _ctx.showCheckIcon ? (openBlock(), createBlock(Icon, {
|
|
14479
14483
|
key: 0,
|
|
14480
14484
|
class: "lew-icon-check",
|
|
14481
|
-
size:
|
|
14485
|
+
size: 16,
|
|
14486
|
+
strokeWidth: 3,
|
|
14482
14487
|
type: "check"
|
|
14483
14488
|
})) : createCommentVNode("", true)
|
|
14484
14489
|
], 2))
|
|
@@ -14495,7 +14500,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14495
14500
|
};
|
|
14496
14501
|
}
|
|
14497
14502
|
});
|
|
14498
|
-
const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-
|
|
14503
|
+
const LewSelect = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-45397f66"]]);
|
|
14499
14504
|
const selectMultipleModel = {
|
|
14500
14505
|
modelValue: {
|
|
14501
14506
|
type: Array,
|
|
@@ -17090,7 +17095,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
17090
17095
|
};
|
|
17091
17096
|
}
|
|
17092
17097
|
});
|
|
17093
|
-
const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-
|
|
17098
|
+
const LewCascader = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-a8fbdd97"]]);
|
|
17094
17099
|
const treeSelectModel = {
|
|
17095
17100
|
modelValue: {
|
|
17096
17101
|
type: [String, Number],
|
|
@@ -17534,7 +17539,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
17534
17539
|
};
|
|
17535
17540
|
}
|
|
17536
17541
|
});
|
|
17537
|
-
const LewTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
17542
|
+
const LewTreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-bbe3e3af"]]);
|
|
17538
17543
|
const _hoisted_1$l = { class: "lew-form-modal lew-scrollbar" };
|
|
17539
17544
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
17540
17545
|
__name: "FormModal",
|
|
@@ -18258,7 +18263,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
18258
18263
|
};
|
|
18259
18264
|
}
|
|
18260
18265
|
});
|
|
18261
|
-
const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-
|
|
18266
|
+
const LewSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-91c197fb"]]);
|
|
18262
18267
|
const sliderModel = {
|
|
18263
18268
|
modelValue: {
|
|
18264
18269
|
type: [Number, void 0],
|
|
@@ -18622,7 +18627,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
18622
18627
|
};
|
|
18623
18628
|
}
|
|
18624
18629
|
});
|
|
18625
|
-
const LewSlider = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-
|
|
18630
|
+
const LewSlider = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-0fac63bf"]]);
|
|
18626
18631
|
const sliderRangeModel = {
|
|
18627
18632
|
modelValue: {
|
|
18628
18633
|
type: Array,
|
|
@@ -19012,7 +19017,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
19012
19017
|
};
|
|
19013
19018
|
}
|
|
19014
19019
|
});
|
|
19015
|
-
const LewSliderRange = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-
|
|
19020
|
+
const LewSliderRange = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-d48f33f4"]]);
|
|
19016
19021
|
const colorPickerModel = {
|
|
19017
19022
|
modelValue: {
|
|
19018
19023
|
type: String,
|
|
@@ -19169,7 +19174,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
19169
19174
|
};
|
|
19170
19175
|
}
|
|
19171
19176
|
});
|
|
19172
|
-
const LewColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
19177
|
+
const LewColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-b3157b53"]]);
|
|
19173
19178
|
const uploadProps = {
|
|
19174
19179
|
accept: {
|
|
19175
19180
|
type: String,
|
|
@@ -20408,6 +20413,15 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
20408
20413
|
deep: true
|
|
20409
20414
|
}
|
|
20410
20415
|
);
|
|
20416
|
+
watch(
|
|
20417
|
+
() => props2.dataSource,
|
|
20418
|
+
() => {
|
|
20419
|
+
compTrHeight();
|
|
20420
|
+
},
|
|
20421
|
+
{
|
|
20422
|
+
deep: true
|
|
20423
|
+
}
|
|
20424
|
+
);
|
|
20411
20425
|
const handleTableResize = throttle(() => {
|
|
20412
20426
|
const table = tableRef.value;
|
|
20413
20427
|
if (!table) return;
|
|
@@ -21281,7 +21295,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
21281
21295
|
};
|
|
21282
21296
|
}
|
|
21283
21297
|
});
|
|
21284
|
-
const LewPagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-
|
|
21298
|
+
const LewPagination = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-f4861d07"]]);
|
|
21285
21299
|
const magicNumberProps = {
|
|
21286
21300
|
value: {
|
|
21287
21301
|
type: Number,
|
|
@@ -21854,7 +21868,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
21854
21868
|
};
|
|
21855
21869
|
}
|
|
21856
21870
|
});
|
|
21857
|
-
const LewTree = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
21871
|
+
const LewTree = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-71b6af52"]]);
|
|
21858
21872
|
const collapseModel = {
|
|
21859
21873
|
modelValue: {
|
|
21860
21874
|
type: [Array, String],
|
|
@@ -22622,7 +22636,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
22622
22636
|
};
|
|
22623
22637
|
}
|
|
22624
22638
|
});
|
|
22625
|
-
const LewDescItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-
|
|
22639
|
+
const LewDescItem = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1543c046"]]);
|
|
22626
22640
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
22627
22641
|
__name: "LewDesc",
|
|
22628
22642
|
props: descProps,
|
|
@@ -23038,7 +23052,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
23038
23052
|
};
|
|
23039
23053
|
}
|
|
23040
23054
|
});
|
|
23041
|
-
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
23055
|
+
const LewModal = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-9ba5f29e"]]);
|
|
23042
23056
|
const popokProps = {
|
|
23043
23057
|
type: {
|
|
23044
23058
|
type: String,
|
|
@@ -24450,7 +24464,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24450
24464
|
};
|
|
24451
24465
|
}
|
|
24452
24466
|
});
|
|
24453
|
-
const _LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
24467
|
+
const _LewContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e33c6a11"]]);
|
|
24454
24468
|
const initLewHoverMenu = () => {
|
|
24455
24469
|
window.LewHoverMenu = {
|
|
24456
24470
|
menu: {},
|