vary-ui 3.22.7 → 3.22.9
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-DHBUHbEf.js → Loading-CTYyGhZk.js} +2 -2
- package/dist/{Wrap-BTaVaBPq.js → Wrap-BcRnoEvI.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 +2 -2
- package/dist/lib/Confirm/Confirm.js +9 -5
- 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/Form/Form.js +2 -2
- package/dist/lib/FormItem/FormItem.js +3 -3
- package/dist/lib/Input/Input.js +4 -4
- 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 +6 -6
- package/dist/lib/Popover/Popover.js +2 -2
- package/dist/lib/Radio/Radio.js +2 -2
- package/dist/lib/RadioButton/RadioButton.js +2 -2
- package/dist/lib/RadioGroup/RadioGroup.js +1 -1
- package/dist/lib/Scene/Scene.js +1 -1
- package/dist/lib/Scroll/Scroll.js +2 -2
- package/dist/lib/Select/Select.js +6 -6
- 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 +3 -5
- package/dist/lib/TableColumn/TableColumn.js +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/lib/Confirm/Confirm.d.ts +4 -4
- package/dist/vary-ui.js +8 -7
- package/package.json +1 -1
- /package/dist/{_plugin-vue_export-helper-D-x43h3i.js → _plugin-vue_export-helper-DTcS4NKz.js} +0 -0
- /package/dist/{_tslib-Cr-cI6Nu.js → _tslib-BgTLz7hM.js} +0 -0
- /package/dist/{config-BP1eDKTh.js → config-CMWfBC3C.js} +0 -0
- /package/dist/{utils-BKZVDLCZ.js → utils-DfxagjuZ.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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-DTcS4NKz.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-DTcS4NKz.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, createVNode } from 'vue';
|
|
2
|
-
import { c as config } from '../../config-
|
|
2
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
3
3
|
import { Icon } from '@iconify/vue';
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
props: {
|
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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, 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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, provide, computed, createVNode } from 'vue';
|
|
2
|
-
import { i as isArray } from '../../utils-
|
|
3
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { i as isArray } from '../../utils-DfxagjuZ.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, createVNode, createApp, h } from 'vue';
|
|
1
|
+
import { defineComponent, ref, createVNode, createApp, h, isVNode } 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-DTcS4NKz.js';
|
|
4
|
+
import '../../config-CMWfBC3C.js';
|
|
5
5
|
import '@iconify/vue';
|
|
6
6
|
|
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -104,6 +104,10 @@ function createConfirm(props) {
|
|
|
104
104
|
return new Promise((resolve, reject) => {
|
|
105
105
|
const msgInstance = createApp({
|
|
106
106
|
render() {
|
|
107
|
+
// 处理组件转换为VNode
|
|
108
|
+
const processedProps = Object.assign(Object.assign({}, props), { content: typeof props.content === "object" && !isVNode(props.content)
|
|
109
|
+
? h(props.content)
|
|
110
|
+
: props.content });
|
|
107
111
|
return h(Confirm, Object.assign({
|
|
108
112
|
// 这是默认属性
|
|
109
113
|
title: "",
|
|
@@ -118,9 +122,9 @@ function createConfirm(props) {
|
|
|
118
122
|
},
|
|
119
123
|
onCancel: () => {
|
|
120
124
|
msgInstance.unmount();
|
|
121
|
-
|
|
125
|
+
reject(false);
|
|
122
126
|
},
|
|
123
|
-
},
|
|
127
|
+
}, processedProps));
|
|
124
128
|
},
|
|
125
129
|
});
|
|
126
130
|
// 挂载到根组件
|
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-DfxagjuZ.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-BcRnoEvI.js';
|
|
7
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
8
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.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-DTcS4NKz.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-DTcS4NKz.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
props: {
|
package/dist/lib/Form/Form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, provide, createVNode } from 'vue';
|
|
2
|
-
import { _ as __awaiter } from '../../_tslib-
|
|
2
|
+
import { _ as __awaiter } from '../../_tslib-BgTLz7hM.js';
|
|
3
3
|
import Schema from 'async-validator';
|
|
4
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
5
5
|
|
|
6
6
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, inject, computed, ref, onMounted, onUnmounted, provide, createVNode } from 'vue';
|
|
2
|
-
import { _ as __awaiter } from '../../_tslib-
|
|
3
|
-
import { c as config } from '../../config-
|
|
2
|
+
import { _ as __awaiter } from '../../_tslib-BgTLz7hM.js';
|
|
3
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
4
4
|
import Schema from 'async-validator';
|
|
5
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
5
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
6
6
|
|
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
props: {
|
package/dist/lib/Input/Input.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, inject, watch, createVNode } from 'vue';
|
|
2
|
-
import { W as Wrap } from '../../Wrap-
|
|
3
|
-
import { c as isFun } from '../../utils-
|
|
4
|
-
import { c as config } from '../../config-
|
|
5
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { W as Wrap } from '../../Wrap-BcRnoEvI.js';
|
|
3
|
+
import { c as isFun } from '../../utils-DfxagjuZ.js';
|
|
4
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
5
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
6
6
|
|
|
7
7
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
props: {
|
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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.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-CTYyGhZk.js';
|
|
3
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
4
|
+
import '../../_plugin-vue_export-helper-DTcS4NKz.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-DfxagjuZ.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-DTcS4NKz.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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
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 '../../_tslib-
|
|
6
|
-
import '../../utils-
|
|
3
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
4
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
5
|
+
import '../../_tslib-BgTLz7hM.js';
|
|
6
|
+
import '../../utils-DfxagjuZ.js';
|
|
7
7
|
import '../Popover/Popover.js';
|
|
8
|
-
import '../../Wrap-
|
|
8
|
+
import '../../Wrap-BcRnoEvI.js';
|
|
9
9
|
import '../Input/Input.js';
|
|
10
10
|
import '../Checkbox/Checkbox.js';
|
|
11
11
|
import '../Scroll/Scroll.js';
|
|
12
|
-
import '../../Loading-
|
|
12
|
+
import '../../Loading-CTYyGhZk.js';
|
|
13
13
|
|
|
14
14
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
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-DfxagjuZ.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.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, inject, ref, 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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, 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-CMWfBC3C.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, provide, computed, createVNode } from 'vue';
|
|
2
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
2
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
3
3
|
|
|
4
4
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
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-DTcS4NKz.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-DfxagjuZ.js';
|
|
3
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* note:
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent, ref, shallowRef, reactive, watch, onMounted, createVNode, createTextVNode, nextTick, isVNode } from 'vue';
|
|
2
|
-
import { _ as __awaiter } from '../../_tslib-
|
|
3
|
-
import { i as isArray, a as isObject, k as debounce } from '../../utils-
|
|
2
|
+
import { _ as __awaiter } from '../../_tslib-BgTLz7hM.js';
|
|
3
|
+
import { i as isArray, a as isObject, k as debounce } from '../../utils-DfxagjuZ.js';
|
|
4
4
|
import Popover from '../Popover/Popover.js';
|
|
5
|
-
import { W as Wrap } from '../../Wrap-
|
|
5
|
+
import { W as Wrap } from '../../Wrap-BcRnoEvI.js';
|
|
6
6
|
import Input from '../Input/Input.js';
|
|
7
7
|
import Checkbox from '../Checkbox/Checkbox.js';
|
|
8
8
|
import Scroll from '../Scroll/Scroll.js';
|
|
9
|
-
import { c as config } from '../../config-
|
|
10
|
-
import { L as Loading } from '../../Loading-
|
|
11
|
-
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-
|
|
9
|
+
import { c as config } from '../../config-CMWfBC3C.js';
|
|
10
|
+
import { L as Loading } from '../../Loading-CTYyGhZk.js';
|
|
11
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
关于远程搜索:
|
|
@@ -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-DTcS4NKz.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-DfxagjuZ.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-DTcS4NKz.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-DTcS4NKz.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, ref, shallowRef, reactive, computed, nextTick, onMounted, watch, onBeforeMount, createVNode, createTextVNode } from 'vue';
|
|
2
|
-
import { k as debounce, m as matchChildrenCoponent, t as throttle } from '../../utils-
|
|
2
|
+
import { k as debounce, m as matchChildrenCoponent, t as throttle } from '../../utils-DfxagjuZ.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-CMWfBC3C.js';
|
|
7
|
+
import { _ as _export_sfc } from '../../_plugin-vue_export-helper-DTcS4NKz.js';
|
|
8
8
|
|
|
9
9
|
let colKey = 0;
|
|
10
10
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -764,7 +764,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
764
764
|
});
|
|
765
765
|
onMounted(() => {
|
|
766
766
|
initData();
|
|
767
|
-
console.log("watch data 1", _props.autoExpandAll);
|
|
768
767
|
if (_props.autoExpandAll) {
|
|
769
768
|
expandAll();
|
|
770
769
|
}
|
|
@@ -782,7 +781,6 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
782
781
|
});
|
|
783
782
|
watch(() => _props.data, () => {
|
|
784
783
|
initData();
|
|
785
|
-
console.log("watch data 2", _props.autoExpandAll);
|
|
786
784
|
if (_props.autoExpandAll) {
|
|
787
785
|
expandAll();
|
|
788
786
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -37,9 +37,10 @@ declare const VarMessage: {
|
|
|
37
37
|
tips: any;
|
|
38
38
|
};
|
|
39
39
|
declare const VarConfirm: typeof Confirm;
|
|
40
|
+
declare const VarAlert: typeof Confirm;
|
|
40
41
|
declare const VarLoading: import("vue").DefineComponent<{}, {}, any>;
|
|
41
42
|
declare const VarPreview: import("vue").DefineComponent<{}, {}, any>;
|
|
42
|
-
export { Scene, Card, Dialog, Divider, Button, Link, Input, Radio, RadioButton, RadioGroup, Checkbox, CheckboxGroup, Select, Date, Tab, TabPanel, Table, TableColumn, Menu, Scroll, Skeleton, Switch, Pagination, Popover, Preview, Form, FormItem, Tree, VarMessage, VarConfirm, VarLoading, VarPreview, Icon, };
|
|
43
|
+
export { Scene, Card, Dialog, Divider, Button, Link, Input, Radio, RadioButton, RadioGroup, Checkbox, CheckboxGroup, Select, Date, Tab, TabPanel, Table, TableColumn, Menu, Scroll, Skeleton, Switch, Pagination, Popover, Preview, Form, FormItem, Tree, VarMessage, VarConfirm, VarAlert, VarLoading, VarPreview, Icon, };
|
|
43
44
|
export * from "./lib/utils";
|
|
44
45
|
import "./src/styles/root.scss";
|
|
45
46
|
import "./icomoon/style.css";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { VNode } from "vue";
|
|
1
|
+
import { VNode, Component } from "vue";
|
|
2
2
|
type ConfirmOption = {
|
|
3
|
-
icon?: "success" | "warning" | "danger" | "info" | VNode;
|
|
4
|
-
title?: string | VNode;
|
|
5
|
-
content?: string | VNode;
|
|
3
|
+
icon?: "success" | "warning" | "danger" | "info" | VNode | Component;
|
|
4
|
+
title?: string | VNode | Component;
|
|
5
|
+
content?: string | VNode | Component;
|
|
6
6
|
confirmText?: string;
|
|
7
7
|
cancelText?: string;
|
|
8
8
|
closeOnMask?: boolean;
|
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 } from 'vue';
|
|
20
|
-
import { _ as _export_sfc } from './_plugin-vue_export-helper-
|
|
20
|
+
import { _ as _export_sfc } from './_plugin-vue_export-helper-DTcS4NKz.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';
|
|
@@ -30,11 +30,11 @@ import createConfirm from './lib/Confirm/Confirm.js';
|
|
|
30
30
|
import './lib/Loading/Loading.js';
|
|
31
31
|
import { Icon } from '@iconify/vue';
|
|
32
32
|
export { Icon } from '@iconify/vue';
|
|
33
|
-
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-
|
|
34
|
-
import { s as setConfig } from './config-
|
|
35
|
-
import { L as Loading } from './Loading-
|
|
36
|
-
import './Wrap-
|
|
37
|
-
import './_tslib-
|
|
33
|
+
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-DfxagjuZ.js';
|
|
34
|
+
import { s as setConfig } from './config-CMWfBC3C.js';
|
|
35
|
+
import { L as Loading } from './Loading-CTYyGhZk.js';
|
|
36
|
+
import './Wrap-BcRnoEvI.js';
|
|
37
|
+
import './_tslib-BgTLz7hM.js';
|
|
38
38
|
import 'async-validator';
|
|
39
39
|
|
|
40
40
|
var _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -343,6 +343,7 @@ var Preview = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/loki/Do
|
|
|
343
343
|
|
|
344
344
|
const VarMessage = Message;
|
|
345
345
|
const VarConfirm = createConfirm;
|
|
346
|
+
const VarAlert = createConfirm;
|
|
346
347
|
const VarLoading = Loading;
|
|
347
348
|
const VarPreview = Preview;
|
|
348
349
|
const comps = {
|
|
@@ -393,4 +394,4 @@ const VaryUI = {
|
|
|
393
394
|
},
|
|
394
395
|
};
|
|
395
396
|
|
|
396
|
-
export { Button, Card, Checkbox, CheckboxGroup, Date, Dialog, Divider, Form, FormItem, Input, Link, Menu, Pagination, Popover, Preview, Radio, RadioButton, RadioGroup, Scene, Scroll, Select, Skeleton, Switch, Tab, TabPanel, Table, TableColumn, Tree, VarConfirm, VarLoading, VarMessage, VarPreview, VaryUI as default };
|
|
397
|
+
export { Button, Card, Checkbox, CheckboxGroup, Date, Dialog, Divider, Form, FormItem, Input, Link, Menu, Pagination, Popover, Preview, Radio, RadioButton, RadioGroup, Scene, Scroll, Select, Skeleton, Switch, Tab, TabPanel, Table, TableColumn, Tree, VarAlert, VarConfirm, VarLoading, VarMessage, VarPreview, VaryUI as default };
|
package/package.json
CHANGED
/package/dist/{_plugin-vue_export-helper-D-x43h3i.js → _plugin-vue_export-helper-DTcS4NKz.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|