@fangzhongya/fang-ui 0.1.34 → 0.1.35
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/components/buttons/src/data.cjs +1 -1
- package/dist/components/buttons/src/data.d.ts +1 -1
- package/dist/components/buttons/src/data.js +1 -1
- package/dist/components/buttons/src/index2.cjs +1 -1
- package/dist/components/buttons/src/index2.js +1 -1
- package/dist/components/common/config.d.ts +42 -40
- package/dist/components/dates-picker/src/index2.cjs +1 -1
- package/dist/components/dates-picker/src/index2.js +1 -1
- package/dist/components/dates2/src/index2.cjs +1 -1
- package/dist/components/dates2/src/index2.js +1 -1
- package/dist/components/dialogs/src/data.cjs +2 -2
- package/dist/components/dialogs/src/data.d.ts +5 -2
- package/dist/components/dialogs/src/data.js +2 -2
- package/dist/components/dialogs/src/index2.cjs +1 -1
- package/dist/components/dialogs/src/index2.js +1 -1
- package/dist/components/edit/src/data.cjs +1 -1
- package/dist/components/edit/src/data.d.ts +1 -1
- package/dist/components/edit/src/data.js +1 -1
- package/dist/components/edit/src/index2.cjs +3 -3
- package/dist/components/edit/src/index2.js +3 -3
- package/dist/components/edit/style/index2.scss +2 -0
- package/dist/components/edit-float/src/data.cjs +2 -2
- package/dist/components/edit-float/src/data.d.ts +2 -2
- package/dist/components/edit-float/src/data.js +2 -2
- package/dist/components/edit-float/src/index2.cjs +2 -2
- package/dist/components/edit-float/src/index2.js +2 -2
- package/dist/components/edit-float/style/index2.scss +4 -0
- package/dist/components/forms/index.css +3 -0
- package/dist/components/forms/index.scss +3 -0
- package/dist/components/forms/src/index2.cjs +2 -2
- package/dist/components/forms/src/index2.js +2 -2
- package/dist/components/forms-drag/src/index2.cjs +2 -2
- package/dist/components/forms-drag/src/index2.js +2 -2
- package/dist/components/forms-item/src/index2.cjs +2 -2
- package/dist/components/forms-item/src/index2.js +2 -2
- package/dist/components/forms-items/src/index2.cjs +2 -2
- package/dist/components/forms-items/src/index2.js +2 -2
- package/dist/components/index.scss +2 -1
- package/dist/components/input-history/src/index2.cjs +1 -1
- package/dist/components/input-history/src/index2.js +1 -1
- package/dist/components/input-history/style/index2.scss +3 -0
- package/dist/components/listsp/src/index2.cjs +2 -2
- package/dist/components/listsp/src/index2.js +2 -2
- package/dist/components/listspd/src/index2.cjs +2 -2
- package/dist/components/listspd/src/index2.js +2 -2
- package/dist/components/menus/src/index2.cjs +1 -1
- package/dist/components/menus/src/index2.js +1 -1
- package/dist/components/page/index.css +3 -0
- package/dist/components/page/src/index2.cjs +6 -6
- package/dist/components/page/src/index2.js +6 -6
- package/dist/components/switchs/src/data.cjs +5 -1
- package/dist/components/switchs/src/data.d.ts +4 -0
- package/dist/components/switchs/src/data.js +5 -1
- package/dist/components/switchs/src/index2.cjs +19 -2
- package/dist/components/switchs/src/index2.js +19 -2
- package/dist/components/tablesp/src/index2.cjs +1 -1
- package/dist/components/tablesp/src/index2.js +1 -1
- package/dist/components/tablespd/src/index2.cjs +2 -2
- package/dist/components/tablespd/src/index2.js +2 -2
- package/dist/components/tabless/src/index2.cjs +3 -3
- package/dist/components/tabless/src/index2.js +3 -3
- package/dist/components/tablesv/src/index2.cjs +1 -1
- package/dist/components/tablesv/src/index2.js +1 -1
- package/dist/components/tablesvp/src/index2.cjs +2 -2
- package/dist/components/tablesvp/src/index2.js +2 -2
- package/dist/components/tablesvpd/src/index2.cjs +2 -2
- package/dist/components/tablesvpd/src/index2.js +2 -2
- package/dist/components/videos/index.css +11 -2
- package/dist/components/videos/index.scss +13 -2
- package/dist/components/videos/src/index2.cjs +49 -5
- package/dist/components/videos/src/index2.js +49 -5
- package/dist/components/window/src/data.cjs +3 -3
- package/dist/components/window/src/data.d.ts +2 -2
- package/dist/components/window/src/data.js +3 -3
- package/dist/components/window/src/index2.cjs +1 -1
- package/dist/components/window/src/index2.js +1 -1
- package/dist/css/forms.css +3 -0
- package/dist/css/index.css +42 -2
- package/dist/css/page.css +3 -0
- package/dist/css/videos.css +11 -2
- package/dist/icons/index.json +1 -1
- package/dist/index.css +42 -2
- package/package.json +2 -2
- /package/dist/components/{forms-items → forms-item}/index.css +0 -0
- /package/dist/components/{slider → popover}/index.css +0 -0
- /package/dist/css/{forms-items.css → forms-item.css} +0 -0
- /package/dist/css/{slider.css → popover.css} +0 -0
|
@@ -26,7 +26,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
26
26
|
...data.dataExpose
|
|
27
27
|
});
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
|
-
return vue.unref(props).
|
|
29
|
+
return vue.unref(props).isFather ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(vue.unref(props).options, (item, index2) => {
|
|
30
30
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
31
31
|
!item.hide ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Button), vue.mergeProps({
|
|
32
32
|
key: 0,
|
|
@@ -24,7 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
24
24
|
...dataExpose
|
|
25
25
|
});
|
|
26
26
|
return (_ctx, _cache) => {
|
|
27
|
-
return unref(props).
|
|
27
|
+
return unref(props).isFather ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(props).options, (item, index) => {
|
|
28
28
|
return openBlock(), createElementBlock(Fragment, { key: index }, [
|
|
29
29
|
!item.hide ? (openBlock(), createBlock(unref(Button), mergeProps({
|
|
30
30
|
key: 0,
|
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
export declare const config: {
|
|
2
|
+
/**
|
|
3
|
+
* 组件其他配置参数
|
|
4
|
+
*/
|
|
5
|
+
config: string;
|
|
6
|
+
/**
|
|
7
|
+
* 列数据
|
|
8
|
+
*/
|
|
9
|
+
list: string;
|
|
10
|
+
/**
|
|
11
|
+
* 选择数据
|
|
12
|
+
*/
|
|
13
|
+
options: string;
|
|
14
|
+
/**
|
|
15
|
+
* 下一级
|
|
16
|
+
*/
|
|
17
|
+
children: string;
|
|
18
|
+
/**
|
|
19
|
+
* 展示的文字
|
|
20
|
+
*/
|
|
21
|
+
label: string;
|
|
22
|
+
/**
|
|
23
|
+
* 取值的字段
|
|
24
|
+
*/
|
|
25
|
+
prop: string;
|
|
26
|
+
/**
|
|
27
|
+
* 数据值
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
/**
|
|
31
|
+
* 禁止
|
|
32
|
+
*/
|
|
33
|
+
disabled: string;
|
|
34
|
+
/**
|
|
35
|
+
* 是否的多选
|
|
36
|
+
*/
|
|
37
|
+
multiple: string;
|
|
38
|
+
/**
|
|
39
|
+
* 请求后台
|
|
40
|
+
*/
|
|
41
|
+
ajax: string;
|
|
42
|
+
};
|
|
@@ -58,7 +58,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
58
58
|
return {
|
|
59
59
|
name: k,
|
|
60
60
|
fn: vue.withCtx((scope) => [
|
|
61
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
61
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
62
62
|
])
|
|
63
63
|
};
|
|
64
64
|
})
|
|
@@ -56,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
56
56
|
return {
|
|
57
57
|
name: k,
|
|
58
58
|
fn: withCtx((scope) => [
|
|
59
|
-
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
59
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope || {})))
|
|
60
60
|
])
|
|
61
61
|
};
|
|
62
62
|
})
|
|
@@ -93,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
93
|
return {
|
|
94
94
|
name: k,
|
|
95
95
|
fn: vue.withCtx((scope) => [
|
|
96
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
96
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
97
97
|
])
|
|
98
98
|
};
|
|
99
99
|
})
|
|
@@ -91,7 +91,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
return {
|
|
92
92
|
name: k,
|
|
93
93
|
fn: withCtx((scope) => [
|
|
94
|
-
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
94
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope || {})))
|
|
95
95
|
])
|
|
96
96
|
};
|
|
97
97
|
})
|
|
@@ -18,10 +18,10 @@ const dataProps = {
|
|
|
18
18
|
default: 800
|
|
19
19
|
},
|
|
20
20
|
/**
|
|
21
|
-
* @props { Boolean }
|
|
21
|
+
* @props { Boolean } isFooter=true ( )
|
|
22
22
|
* 是否隐藏底部
|
|
23
23
|
*/
|
|
24
|
-
|
|
24
|
+
isFooter: { type: Boolean, default: true },
|
|
25
25
|
/**
|
|
26
26
|
* @props { String } closeName='关闭' ( )
|
|
27
27
|
* 关闭按钮名称
|
|
@@ -20,10 +20,13 @@ export declare const dataProps: {
|
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
|
-
* @props { Boolean }
|
|
23
|
+
* @props { Boolean } isFooter=true ( )
|
|
24
24
|
* 是否隐藏底部
|
|
25
25
|
*/
|
|
26
|
-
|
|
26
|
+
isFooter: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
27
30
|
/**
|
|
28
31
|
* @props { String } closeName='关闭' ( )
|
|
29
32
|
* 关闭按钮名称
|
|
@@ -16,10 +16,10 @@ const dataProps = {
|
|
|
16
16
|
default: 800
|
|
17
17
|
},
|
|
18
18
|
/**
|
|
19
|
-
* @props { Boolean }
|
|
19
|
+
* @props { Boolean } isFooter=true ( )
|
|
20
20
|
* 是否隐藏底部
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
isFooter: { type: Boolean, default: true },
|
|
23
23
|
/**
|
|
24
24
|
* @props { String } closeName='关闭' ( )
|
|
25
25
|
* 关闭按钮名称
|
|
@@ -32,13 +32,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
32
32
|
const value = vue.computed({
|
|
33
33
|
get() {
|
|
34
34
|
let v = props.modelValue;
|
|
35
|
-
if (!v && props.
|
|
35
|
+
if (!v && props.isEmpty) {
|
|
36
36
|
isIcon.value = true;
|
|
37
37
|
}
|
|
38
38
|
return v;
|
|
39
39
|
},
|
|
40
40
|
set(value2) {
|
|
41
|
-
if (!value2 && props.
|
|
41
|
+
if (!value2 && props.isEmpty) {
|
|
42
42
|
isIcon.value = true;
|
|
43
43
|
}
|
|
44
44
|
emit("update:modelValue", value2);
|
|
@@ -52,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
52
52
|
isInput.value = false;
|
|
53
53
|
}
|
|
54
54
|
function setIsIcon() {
|
|
55
|
-
if (!value.value && props.
|
|
55
|
+
if (!value.value && props.isEmpty) {
|
|
56
56
|
isIcon.value = true;
|
|
57
57
|
} else {
|
|
58
58
|
isIcon.value = false;
|
|
@@ -30,13 +30,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
const value = computed({
|
|
31
31
|
get() {
|
|
32
32
|
let v = props.modelValue;
|
|
33
|
-
if (!v && props.
|
|
33
|
+
if (!v && props.isEmpty) {
|
|
34
34
|
isIcon.value = true;
|
|
35
35
|
}
|
|
36
36
|
return v;
|
|
37
37
|
},
|
|
38
38
|
set(value2) {
|
|
39
|
-
if (!value2 && props.
|
|
39
|
+
if (!value2 && props.isEmpty) {
|
|
40
40
|
isIcon.value = true;
|
|
41
41
|
}
|
|
42
42
|
emit("update:modelValue", value2);
|
|
@@ -50,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
isInput.value = false;
|
|
51
51
|
}
|
|
52
52
|
function setIsIcon() {
|
|
53
|
-
if (!value.value && props.
|
|
53
|
+
if (!value.value && props.isEmpty) {
|
|
54
54
|
isIcon.value = true;
|
|
55
55
|
} else {
|
|
56
56
|
isIcon.value = false;
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
49
49
|
isInput.value = false;
|
|
50
50
|
}
|
|
51
51
|
function onConfirm() {
|
|
52
|
-
if (props.
|
|
52
|
+
if (props.isEmpty && !value.value) {
|
|
53
53
|
return false;
|
|
54
54
|
}
|
|
55
55
|
isIcon.value = false;
|
|
@@ -57,7 +57,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
57
57
|
emit("update:modelValue", value.value);
|
|
58
58
|
}
|
|
59
59
|
function setIsIcon() {
|
|
60
|
-
if (!props.modelValue && props.
|
|
60
|
+
if (!props.modelValue && props.isEmpty) {
|
|
61
61
|
isIcon.value = true;
|
|
62
62
|
} else {
|
|
63
63
|
isIcon.value = false;
|
|
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
isInput.value = false;
|
|
48
48
|
}
|
|
49
49
|
function onConfirm() {
|
|
50
|
-
if (props.
|
|
50
|
+
if (props.isEmpty && !value.value) {
|
|
51
51
|
return false;
|
|
52
52
|
}
|
|
53
53
|
isIcon.value = false;
|
|
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
55
|
emit("update:modelValue", value.value);
|
|
56
56
|
}
|
|
57
57
|
function setIsIcon() {
|
|
58
|
-
if (!props.modelValue && props.
|
|
58
|
+
if (!props.modelValue && props.isEmpty) {
|
|
59
59
|
isIcon.value = true;
|
|
60
60
|
} else {
|
|
61
61
|
isIcon.value = false;
|
|
@@ -133,7 +133,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
133
133
|
return {
|
|
134
134
|
name: k,
|
|
135
135
|
fn: vue.withCtx((scope) => [
|
|
136
|
-
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
|
|
136
|
+
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope || {}))
|
|
137
137
|
])
|
|
138
138
|
};
|
|
139
139
|
})
|
|
@@ -150,7 +150,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
150
150
|
return {
|
|
151
151
|
name: k,
|
|
152
152
|
fn: vue.withCtx((scope) => [
|
|
153
|
-
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
|
|
153
|
+
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope || {}))
|
|
154
154
|
])
|
|
155
155
|
};
|
|
156
156
|
})
|
|
@@ -131,7 +131,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
131
131
|
return {
|
|
132
132
|
name: k,
|
|
133
133
|
fn: withCtx((scope) => [
|
|
134
|
-
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope))
|
|
134
|
+
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope || {}))
|
|
135
135
|
])
|
|
136
136
|
};
|
|
137
137
|
})
|
|
@@ -148,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
148
|
return {
|
|
149
149
|
name: k,
|
|
150
150
|
fn: withCtx((scope) => [
|
|
151
|
-
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope))
|
|
151
|
+
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope || {}))
|
|
152
152
|
])
|
|
153
153
|
};
|
|
154
154
|
})
|
|
@@ -170,7 +170,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
170
170
|
return {
|
|
171
171
|
name: k,
|
|
172
172
|
fn: vue.withCtx((scope) => [
|
|
173
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
173
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
174
174
|
])
|
|
175
175
|
};
|
|
176
176
|
})
|
|
@@ -186,7 +186,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
186
186
|
return {
|
|
187
187
|
name: k,
|
|
188
188
|
fn: vue.withCtx((scope) => [
|
|
189
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
189
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
190
190
|
])
|
|
191
191
|
};
|
|
192
192
|
})
|
|
@@ -168,7 +168,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
168
168
|
return {
|
|
169
169
|
name: k,
|
|
170
170
|
fn: withCtx((scope) => [
|
|
171
|
-
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
171
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope || {})))
|
|
172
172
|
])
|
|
173
173
|
};
|
|
174
174
|
})
|
|
@@ -184,7 +184,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
184
184
|
return {
|
|
185
185
|
name: k,
|
|
186
186
|
fn: withCtx((scope) => [
|
|
187
|
-
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
187
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope || {})))
|
|
188
188
|
])
|
|
189
189
|
};
|
|
190
190
|
})
|
|
@@ -77,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
77
77
|
return {
|
|
78
78
|
name: k,
|
|
79
79
|
fn: vue.withCtx((scope) => [
|
|
80
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
80
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
81
81
|
])
|
|
82
82
|
};
|
|
83
83
|
})
|
|
@@ -117,7 +117,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
117
117
|
return {
|
|
118
118
|
name: k,
|
|
119
119
|
fn: vue.withCtx((scope) => [
|
|
120
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
120
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
121
121
|
])
|
|
122
122
|
};
|
|
123
123
|
})
|
|
@@ -75,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
return {
|
|
76
76
|
name: k,
|
|
77
77
|
fn: withCtx((scope) => [
|
|
78
|
-
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
78
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope || {})))
|
|
79
79
|
])
|
|
80
80
|
};
|
|
81
81
|
})
|
|
@@ -115,7 +115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
115
115
|
return {
|
|
116
116
|
name: k,
|
|
117
117
|
fn: withCtx((scope) => [
|
|
118
|
-
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)))
|
|
118
|
+
renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope || {})))
|
|
119
119
|
])
|
|
120
120
|
};
|
|
121
121
|
})
|
|
@@ -94,7 +94,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
94
94
|
return {
|
|
95
95
|
name: k,
|
|
96
96
|
fn: vue.withCtx((scope) => [
|
|
97
|
-
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
|
|
97
|
+
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope || {}))
|
|
98
98
|
])
|
|
99
99
|
};
|
|
100
100
|
})
|
|
@@ -113,7 +113,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
113
113
|
return {
|
|
114
114
|
name: k,
|
|
115
115
|
fn: vue.withCtx((scope) => [
|
|
116
|
-
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope))
|
|
116
|
+
vue.renderSlot(_ctx.$slots, k, vue.mergeProps({ ref_for: true }, scope || {}))
|
|
117
117
|
])
|
|
118
118
|
};
|
|
119
119
|
})
|
|
@@ -92,7 +92,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
92
92
|
return {
|
|
93
93
|
name: k,
|
|
94
94
|
fn: withCtx((scope) => [
|
|
95
|
-
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope))
|
|
95
|
+
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope || {}))
|
|
96
96
|
])
|
|
97
97
|
};
|
|
98
98
|
})
|
|
@@ -111,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
111
|
return {
|
|
112
112
|
name: k,
|
|
113
113
|
fn: withCtx((scope) => [
|
|
114
|
-
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope))
|
|
114
|
+
renderSlot(_ctx.$slots, k, mergeProps({ ref_for: true }, scope || {}))
|
|
115
115
|
])
|
|
116
116
|
};
|
|
117
117
|
})
|
|
@@ -6,10 +6,10 @@ const clear = require("../../../icons/vue/clear.cjs");
|
|
|
6
6
|
const index$3 = require("../../../hooks/expose/index.cjs");
|
|
7
7
|
const index$4 = require("../../popover/index.cjs");
|
|
8
8
|
const index$7 = require("../../button/index.cjs");
|
|
9
|
+
const index$6 = require("../../inputs/index.cjs");
|
|
9
10
|
const getCss = require("@fangzhongya/utils/css/getCss");
|
|
10
11
|
const util = require("./util.cjs");
|
|
11
12
|
const data = require("./data.cjs");
|
|
12
|
-
const index$6 = require("../../inputs/index.cjs");
|
|
13
13
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
14
14
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
15
15
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
@@ -4,10 +4,10 @@ import Clear from "../../../icons/vue/clear.js";
|
|
|
4
4
|
import { useExpose } from "../../../hooks/expose/index.js";
|
|
5
5
|
import { Popover } from "../../popover/index.js";
|
|
6
6
|
import { Button } from "../../button/index.js";
|
|
7
|
+
import { Inputs } from "../../inputs/index.js";
|
|
7
8
|
import { getCss } from "@fangzhongya/utils/css/getCss";
|
|
8
9
|
import { useStorage, replaceAfter, deleteArray } from "./util.js";
|
|
9
10
|
import { name, dataProps, dataExpose, dataEmits } from "./data.js";
|
|
10
|
-
import { Inputs } from "../../inputs/index.js";
|
|
11
11
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
12
12
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
13
13
|
import { usePropsDefault, viewProps, getProps } from "../../../hooks/props-default/index.js";
|
|
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
74
74
|
paginat: vue.unref(paginat),
|
|
75
75
|
value: vue.unref(data$1).list,
|
|
76
76
|
list: vue.unref(tableList),
|
|
77
|
-
loading: ((_b = vue.unref(tableConfig).config) == null ? void 0 : _b.
|
|
77
|
+
loading: ((_b = vue.unref(tableConfig).config) == null ? void 0 : _b.isloading) === false || vue.unref(paginat).scroll && vue.unref(paginat).current > 1 ? false : vue.unref(loading),
|
|
78
78
|
options: vue.unref(props).options,
|
|
79
79
|
compons: vue.unref(props).compons,
|
|
80
80
|
onSortChange: vue.unref(onSortChange),
|
|
@@ -87,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
87
87
|
return {
|
|
88
88
|
name: k,
|
|
89
89
|
fn: vue.withCtx((scope) => [
|
|
90
|
-
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
90
|
+
vue.renderSlot(_ctx.$slots, k, vue.normalizeProps(vue.guardReactiveProps(scope || {})))
|
|
91
91
|
])
|
|
92
92
|
};
|
|
93
93
|
})
|