vary-ui 3.21.56 → 3.21.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Loading-BdLB_IrH.js → Loading-CMPzpdUb.js} +2 -2
- package/dist/{Wrap-k2Ug6Ck7.js → Wrap-fTE38dai.js} +1 -1
- package/dist/lib/Button/Button.js +2 -2
- package/dist/lib/Card/Card.js +2 -2
- package/dist/lib/Checkbox/Checkbox.js +2 -2
- package/dist/lib/CheckboxGroup/CheckboxGroup.js +3 -3
- package/dist/lib/Confirm/Confirm.js +2 -2
- package/dist/lib/Date/Date.js +4 -4
- package/dist/lib/Dialog/Dialog.js +1 -1
- package/dist/lib/Divider/Divider.js +1 -1
- package/dist/lib/Field/Field.js +2 -2
- package/dist/lib/Form/Form.js +1 -1
- package/dist/lib/Input/Input.js +3 -3
- package/dist/lib/Link/Link.js +2 -2
- package/dist/lib/Loading/Loading.js +3 -3
- package/dist/lib/Menu/Menu.js +2 -2
- package/dist/lib/Message/Message.js +2 -2
- package/dist/lib/Pagination/Pagination.js +5 -5
- package/dist/lib/Popover/Popover.js +2 -2
- package/dist/lib/Radio/Radio.js +2 -2
- package/dist/lib/RadioGroup/RadioGroup.js +2 -2
- package/dist/lib/Scene/Scene.js +1 -1
- package/dist/lib/Scroll/Scroll.js +4 -2
- package/dist/lib/Select/Select.js +5 -5
- package/dist/lib/Skeleton/Skeleton.js +1 -1
- package/dist/lib/Tab/Tab.js +2 -2
- package/dist/lib/TabPanel/TabPanel.js +1 -1
- package/dist/lib/Table/Table.js +7 -7
- package/dist/lib/TableColumn/TableColumn.js +1 -1
- package/dist/types/lib/Scroll/Scroll.vue.d.ts +0 -17
- package/dist/vary-ui.js +5 -5
- package/package.json +1 -1
- /package/dist/{_plugin-vue_export-helper-BU1PFw9X.js → _plugin-vue_export-helper-CgecWxzb.js} +0 -0
- /package/dist/{config-DEb52glV.js → config-HxwsF3Fm.js} +0 -0
- /package/dist/{utils-JaU8xRmG.js → utils-DvQNiQre.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, createVNode } from 'vue';
|
|
2
|
-
import { c as config } from './config-
|
|
3
|
-
import { _ as _export_sfc } from './_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from './config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _a;
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from './_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, createVNode } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
console.log(config);
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
package/dist/lib/Card/Card.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createVNode, createTextVNode } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, inject, createVNode } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, provide, createVNode } from 'vue';
|
|
2
|
-
import { i as isArray } from '../../utils-
|
|
2
|
+
import { i as isArray } from '../../utils-DvQNiQre.js';
|
|
3
3
|
import Checkbox from '../Checkbox/Checkbox.js';
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
5
|
-
import '../../config-
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
5
|
+
import '../../config-HxwsF3Fm.js';
|
|
6
6
|
|
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, createVNode, createApp, h } from 'vue';
|
|
2
2
|
import Button from '../Button/Button.js';
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
4
|
-
import '../../config-
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
|
+
import '../../config-HxwsF3Fm.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
props: {
|
package/dist/lib/Date/Date.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, shallowRef, ref, reactive, watch, createVNode, createTextVNode } from 'vue';
|
|
2
|
-
import { n as now, e as isTime, g as isYear, h as isMonth, d as isDate, f as isDateTime } from '../../utils-
|
|
2
|
+
import { n as now, e as isTime, g as isYear, h as isMonth, d as isDate, f as isDateTime } from '../../utils-DvQNiQre.js';
|
|
3
3
|
import Popover from '../Popover/Popover.js';
|
|
4
4
|
import Scroll from '../Scroll/Scroll.js';
|
|
5
5
|
import Link from '../Link/Link.js';
|
|
6
|
-
import { W as Wrap } from '../../Wrap-
|
|
7
|
-
import { c as config } from '../../config-
|
|
8
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
6
|
+
import { W as Wrap } from '../../Wrap-fTE38dai.js';
|
|
7
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
8
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
9
9
|
|
|
10
10
|
const weeks = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
|
|
11
11
|
const months = ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"].map((r, i) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onMounted, onBeforeUnmount, createVNode, createTextVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
package/dist/lib/Field/Field.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, createVNode } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
package/dist/lib/Form/Form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, provide, createVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
package/dist/lib/Input/Input.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, createVNode, mergeProps } from 'vue';
|
|
2
|
-
import { W as Wrap } from '../../Wrap-
|
|
3
|
-
import { c as isFun } from '../../utils-
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { W as Wrap } from '../../Wrap-fTE38dai.js';
|
|
3
|
+
import { c as isFun } from '../../utils-DvQNiQre.js';
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
inheritAttrs: false,
|
package/dist/lib/Link/Link.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, createVNode } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { shallowRef, createApp, h } from 'vue';
|
|
2
|
-
import { L as Loading } from '../../Loading-
|
|
3
|
-
import { c as config } from '../../config-
|
|
4
|
-
import '../../_plugin-vue_export-helper-
|
|
2
|
+
import { L as Loading } from '../../Loading-CMPzpdUb.js';
|
|
3
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
4
|
+
import '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
5
5
|
|
|
6
6
|
const defaultOptions = {
|
|
7
7
|
lock: false,
|
package/dist/lib/Menu/Menu.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, createVNode } from 'vue';
|
|
2
|
-
import { k as debounce } from '../../utils-
|
|
2
|
+
import { k as debounce } from '../../utils-DvQNiQre.js';
|
|
3
3
|
import Scroll from '../Scroll/Scroll.js';
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, h, createApp } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, createVNode, createTextVNode } from 'vue';
|
|
2
2
|
import Select from '../Select/Select.js';
|
|
3
|
-
import { c as config } from '../../config-
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
5
|
-
import '../../utils-
|
|
3
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
5
|
+
import '../../utils-DvQNiQre.js';
|
|
6
6
|
import '../Popover/Popover.js';
|
|
7
|
-
import '../../Wrap-
|
|
7
|
+
import '../../Wrap-fTE38dai.js';
|
|
8
8
|
import '../Input/Input.js';
|
|
9
9
|
import '../Checkbox/Checkbox.js';
|
|
10
10
|
import '../Scroll/Scroll.js';
|
|
11
|
-
import '../../Loading-
|
|
11
|
+
import '../../Loading-CMPzpdUb.js';
|
|
12
12
|
|
|
13
13
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, shallowRef, ref, watch, onMounted, onBeforeUnmount, createVNode, nextTick } from 'vue';
|
|
2
|
-
import { t as throttle } from '../../utils-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { t as throttle } from '../../utils-DvQNiQre.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
package/dist/lib/Radio/Radio.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, createVNode, inject } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, provide, createVNode } from 'vue';
|
|
2
2
|
import Radio from '../Radio/Radio.js';
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
4
|
-
import '../../config-
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
|
+
import '../../config-HxwsF3Fm.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
props: {
|
package/dist/lib/Scene/Scene.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, renderSlot } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /*@__PURE__*/ defineComponent({
|
|
5
5
|
__name: 'Scene',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, shallowRef, ref, onMounted, nextTick, onBeforeUnmount, createVNode } from 'vue';
|
|
2
|
-
import { k as debounce } from '../../utils-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { k as debounce } from '../../utils-DvQNiQre.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* note:
|
|
@@ -19,6 +19,7 @@ import { _ as _export_sfc } from '../../_plugin-vue_export-helper-BU1PFw9X.js';
|
|
|
19
19
|
* 为啥要加一层scroll_body
|
|
20
20
|
* 因为slot.default()可能是多个元素, 没有根元素
|
|
21
21
|
*/
|
|
22
|
+
let scrollKey = 0;
|
|
22
23
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
24
|
props: {
|
|
24
25
|
width: {
|
|
@@ -271,6 +272,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
271
272
|
return () => {
|
|
272
273
|
return createVNode("div", {
|
|
273
274
|
"ref": rootRef,
|
|
275
|
+
"scroll-key": scrollKey++,
|
|
274
276
|
"class": ["v_scroll", {
|
|
275
277
|
v_scroll_enable_y: showScrollY.value,
|
|
276
278
|
v_scroll_enable_x: showScrollX.value
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, ref, shallowRef, reactive, watch, createVNode, createTextVNode, isVNode, nextTick } from 'vue';
|
|
2
|
-
import { k as debounce } from '../../utils-
|
|
2
|
+
import { k as debounce } from '../../utils-DvQNiQre.js';
|
|
3
3
|
import Popover from '../Popover/Popover.js';
|
|
4
|
-
import { W as Wrap } from '../../Wrap-
|
|
4
|
+
import { W as Wrap } from '../../Wrap-fTE38dai.js';
|
|
5
5
|
import Input from '../Input/Input.js';
|
|
6
6
|
import Checkbox from '../Checkbox/Checkbox.js';
|
|
7
7
|
import Scroll from '../Scroll/Scroll.js';
|
|
8
|
-
import { c as config } from '../../config-
|
|
9
|
-
import { L as Loading } from '../../Loading-
|
|
10
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
8
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
9
|
+
import { L as Loading } from '../../Loading-CMPzpdUb.js';
|
|
10
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
11
11
|
|
|
12
12
|
/******************************************************************************
|
|
13
13
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
package/dist/lib/Tab/Tab.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, onBeforeUnmount, createVNode } from 'vue';
|
|
2
|
-
import { m as matchChildrenCoponent } from '../../utils-
|
|
2
|
+
import { m as matchChildrenCoponent } from '../../utils-DvQNiQre.js';
|
|
3
3
|
import TabPanel from '../TabPanel/TabPanel.js';
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
setup(_props, {
|
package/dist/lib/Table/Table.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, getCurrentInstance, ref, shallowRef, reactive, nextTick, onMounted, watch, onBeforeMount, createVNode, createTextVNode } from 'vue';
|
|
2
|
-
import { k as debounce, m as matchChildrenCoponent } from '../../utils-
|
|
2
|
+
import { k as debounce, m as matchChildrenCoponent } from '../../utils-DvQNiQre.js';
|
|
3
3
|
import Checkbox from '../Checkbox/Checkbox.js';
|
|
4
4
|
import Scroll from '../Scroll/Scroll.js';
|
|
5
5
|
import TableColumn from '../TableColumn/TableColumn.js';
|
|
6
|
-
import { c as config } from '../../config-
|
|
7
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
6
|
+
import { c as config } from '../../config-HxwsF3Fm.js';
|
|
7
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-CgecWxzb.js';
|
|
8
8
|
|
|
9
9
|
let colKey = 0;
|
|
10
10
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -751,7 +751,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
751
751
|
"class": "v_table_head"
|
|
752
752
|
}, [
|
|
753
753
|
// 左侧固定表头
|
|
754
|
-
showFixedColumn.value && fixedLeftColumns.value.length > 0 && createVNode(Scroll, {
|
|
754
|
+
dataList.value.length > 0 && showFixedColumn.value && fixedLeftColumns.value.length > 0 && createVNode(Scroll, {
|
|
755
755
|
"ref": scrollHeadLeftRef,
|
|
756
756
|
"class": ["v_table_head_left", {
|
|
757
757
|
"v_table_head_left--show_shadow": showLeftShadow.value
|
|
@@ -798,7 +798,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
798
798
|
}))])])])]
|
|
799
799
|
}),
|
|
800
800
|
// 右侧固定表头
|
|
801
|
-
showFixedColumn.value && fixedRightColumns.value.length > 0 && createVNode(Scroll, {
|
|
801
|
+
dataList.value.length > 0 && showFixedColumn.value && fixedRightColumns.value.length > 0 && createVNode(Scroll, {
|
|
802
802
|
"ref": scrollHeadRightRef,
|
|
803
803
|
"class": ["v_table_head_right", {
|
|
804
804
|
"v_table_head_right--show_shadow": showRightShadow.value
|
|
@@ -826,7 +826,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
826
826
|
"class": "v_table_body"
|
|
827
827
|
}, [
|
|
828
828
|
// 左侧固定table
|
|
829
|
-
showFixedColumn.value && fixedLeftColumns.value.length > 0 && createVNode(Scroll, {
|
|
829
|
+
dataList.value.length > 0 && showFixedColumn.value && fixedLeftColumns.value.length > 0 && createVNode(Scroll, {
|
|
830
830
|
"ref": scrollBodyLeftRef,
|
|
831
831
|
"class": ["v_table_body_left", {
|
|
832
832
|
"v_table_body_left--show_shadow": showLeftShadow.value
|
|
@@ -921,7 +921,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
921
921
|
}, [_slots.empty ? _slots.empty() : "Empty Data"])]
|
|
922
922
|
}),
|
|
923
923
|
// 右侧固定table
|
|
924
|
-
showFixedColumn.value && fixedRightColumns.value.length > 0 && createVNode(Scroll, {
|
|
924
|
+
dataList.value.length > 0 && showFixedColumn.value && fixedRightColumns.value.length > 0 && createVNode(Scroll, {
|
|
925
925
|
"ref": scrollBodyRightRef,
|
|
926
926
|
"class": ["v_table_body_right", {
|
|
927
927
|
"v_table_body_right--show_shadow": showRightShadow.value
|
|
@@ -1,20 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* note:
|
|
3
|
-
* outer有个默认的width=100%; 不能有默认的height, height默认情况下要取决于inner的高度, inner又取决于内容
|
|
4
|
-
*
|
|
5
|
-
* 先说height
|
|
6
|
-
* inner的高度取决于自身内容
|
|
7
|
-
* 如果inner的height超过outer的height, 则会自动出现纵向滚动条(这个是默认行为)
|
|
8
|
-
* 用户可以通过style动态设置outer的高度
|
|
9
|
-
*
|
|
10
|
-
* 再说width
|
|
11
|
-
* inner的width默认是auto,
|
|
12
|
-
* 如果inner的width超过outer的width, 则会自动出现横向滚动条
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* 为啥要加一层scroll_body
|
|
16
|
-
* 因为slot.default()可能是多个元素, 没有根元素
|
|
17
|
-
*/
|
|
18
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
19
2
|
width: {
|
|
20
3
|
type: StringConstructor;
|
package/dist/vary-ui.js
CHANGED
|
@@ -17,7 +17,7 @@ import Scroll from './lib/Scroll/Scroll.js';
|
|
|
17
17
|
import Select from './lib/Select/Select.js';
|
|
18
18
|
import Skeleton from './lib/Skeleton/Skeleton.js';
|
|
19
19
|
import { defineComponent, ref, watch, createVNode, onMounted, onBeforeUnmount, createTextVNode, createApp, h } from 'vue';
|
|
20
|
-
import { _ as _export_sfc } from './_plugin-vue_export-helper-
|
|
20
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-CgecWxzb.js';
|
|
21
21
|
import Tab from './lib/Tab/Tab.js';
|
|
22
22
|
import Table from './lib/Table/Table.js';
|
|
23
23
|
import TableColumn from './lib/TableColumn/TableColumn.js';
|
|
@@ -27,10 +27,10 @@ import RadioGroup from './lib/RadioGroup/RadioGroup.js';
|
|
|
27
27
|
export { default as Message } from './lib/Message/Message.js';
|
|
28
28
|
export { default as Confirm } from './lib/Confirm/Confirm.js';
|
|
29
29
|
import './lib/Loading/Loading.js';
|
|
30
|
-
import { c as config, s as setConfig } from './config-
|
|
31
|
-
export { k as debounce, i as isArray, b as isBoolean, d as isDate, f as isDateTime, c as isFun, h as isMonth, j as isNumber, a as isObject, e as isTime, g as isYear, m as matchChildrenCoponent, n as now, t as throttle } from './utils-
|
|
32
|
-
import { L as Loading } from './Loading-
|
|
33
|
-
import './Wrap-
|
|
30
|
+
import { c as config, s as setConfig } from './config-HxwsF3Fm.js';
|
|
31
|
+
export { k as debounce, i as isArray, b as isBoolean, d as isDate, f as isDateTime, c as isFun, h as isMonth, j as isNumber, a as isObject, e as isTime, g as isYear, m as matchChildrenCoponent, n as now, t as throttle } from './utils-DvQNiQre.js';
|
|
32
|
+
import { L as Loading } from './Loading-CMPzpdUb.js';
|
|
33
|
+
import './Wrap-fTE38dai.js';
|
|
34
34
|
|
|
35
35
|
var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
36
36
|
props: {
|
package/package.json
CHANGED
/package/dist/{_plugin-vue_export-helper-BU1PFw9X.js → _plugin-vue_export-helper-CgecWxzb.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|