@fangzhongya/fang-ui 0.0.44 → 0.0.45
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/bin/fang-ui.js +1 -1
- package/dist/components/alert/src/data.d.ts +1 -1
- package/dist/components/box/src/data.cjs +10 -6
- package/dist/components/box/src/data.d.ts +10 -1
- package/dist/components/box/src/data.js +10 -6
- package/dist/components/box/src/index2.cjs +2 -3
- package/dist/components/box/src/index2.js +2 -3
- package/dist/components/box-adjust/src/data.cjs +4 -2
- package/dist/components/box-adjust/src/data.d.ts +10 -3
- package/dist/components/box-adjust/src/data.js +4 -2
- package/dist/components/box-adjust/src/index2.cjs +2 -3
- package/dist/components/box-adjust/src/index2.js +2 -3
- package/dist/components/box-local/src/data.d.ts +6 -1
- package/dist/components/box-local/src/index2.cjs +5 -4
- package/dist/components/box-local/src/index2.js +5 -4
- package/dist/components/box-mask/src/data.cjs +2 -1
- package/dist/components/box-mask/src/data.d.ts +2 -5
- package/dist/components/box-mask/src/data.js +2 -1
- package/dist/components/box-teleport/src/data.cjs +5 -1
- package/dist/components/box-teleport/src/data.d.ts +5 -5
- package/dist/components/box-teleport/src/data.js +5 -1
- package/dist/components/box-teleport/src/index2.cjs +7 -2
- package/dist/components/box-teleport/src/index2.js +7 -2
- package/dist/components/box-title/src/data.cjs +2 -7
- package/dist/components/box-title/src/data.d.ts +4 -11
- package/dist/components/box-title/src/data.js +2 -7
- package/dist/components/button/src/data.d.ts +1 -1
- package/dist/components/card/src/data.d.ts +1 -1
- package/dist/components/cascader/src/data.d.ts +1 -1
- package/dist/components/cascader-panel/src/data.d.ts +1 -1
- package/dist/components/checkbox/src/data.d.ts +1 -1
- package/dist/components/checkbox-group/src/data.d.ts +1 -1
- package/dist/components/collapse/src/data.d.ts +1 -1
- package/dist/components/collapse-item/src/data.d.ts +1 -1
- package/dist/components/color-picker/src/data.d.ts +1 -1
- package/dist/components/common/urls.cjs +14 -8
- package/dist/components/common/urls.d.ts +14 -8
- package/dist/components/common/urls.js +14 -8
- package/dist/components/config-provider/src/data.d.ts +1 -1
- package/dist/components/date-picker/src/data.d.ts +1 -1
- package/dist/components/dialog/src/data.d.ts +1 -1
- package/dist/components/dialogs/src/data.cjs +9 -1
- package/dist/components/dialogs/src/data.d.ts +17 -1
- package/dist/components/dialogs/src/data.js +9 -1
- package/dist/components/divider/src/data.d.ts +1 -1
- package/dist/components/drawer/src/data.d.ts +1 -1
- package/dist/components/dropdown/src/data.d.ts +1 -1
- package/dist/components/dropdown-item/src/data.d.ts +1 -1
- package/dist/components/dropdown-menu/src/data.d.ts +1 -1
- package/dist/components/form/src/data.d.ts +1 -1
- package/dist/components/form-item/src/data.d.ts +1 -1
- package/dist/components/forms/src/data.cjs +63 -7
- package/dist/components/forms/src/data.d.ts +63 -15
- package/dist/components/forms/src/data.js +63 -7
- package/dist/components/forms/src/index2.cjs +3 -3
- package/dist/components/forms/src/index2.js +3 -3
- package/dist/components/forms-div/src/data.cjs +15 -2
- package/dist/components/forms-div/src/data.d.ts +15 -4
- package/dist/components/forms-div/src/data.js +15 -2
- package/dist/components/forms-item/src/data.cjs +22 -1
- package/dist/components/forms-item/src/data.d.ts +24 -5
- package/dist/components/forms-item/src/data.js +22 -1
- package/dist/components/forms-items/src/data.cjs +11 -2
- package/dist/components/forms-items/src/data.d.ts +12 -5
- package/dist/components/forms-items/src/data.js +11 -2
- package/dist/components/global-config/src/data.cjs +9 -1
- package/dist/components/global-config/src/data.d.ts +12 -1
- package/dist/components/global-config/src/data.js +9 -1
- package/dist/components/icon/src/data.cjs +16 -2
- package/dist/components/icon/src/data.d.ts +16 -2
- package/dist/components/icon/src/data.js +16 -2
- package/dist/components/icon/style/index2.scss +1 -0
- package/dist/components/icon/tests/cs3/assets/index.scss +70 -0
- package/dist/components/icon-picker/src/data.cjs +3 -3
- package/dist/components/icon-picker/src/data.d.ts +3 -3
- package/dist/components/icon-picker/src/data.js +3 -3
- package/dist/components/iframe/src/data.cjs +3 -3
- package/dist/components/iframe/src/data.d.ts +6 -3
- package/dist/components/iframe/src/data.js +3 -3
- package/dist/components/iframe/src/index2.cjs +4 -0
- package/dist/components/iframe/src/index2.js +4 -0
- package/dist/components/image/src/data.d.ts +1 -1
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +2 -1
- package/dist/components/input/src/data.d.ts +1 -1
- package/dist/components/input-number/src/data.d.ts +1 -1
- package/dist/components/lists/src/data.cjs +36 -4
- package/dist/components/lists/src/data.d.ts +36 -2
- package/dist/components/lists/src/data.js +36 -4
- package/dist/components/menus/src/index2.cjs +11 -1
- package/dist/components/menus/src/index2.js +11 -1
- package/dist/components/option-group/src/data.d.ts +1 -1
- package/dist/components/pagination/src/data.d.ts +1 -1
- package/dist/components/popconfirm/src/data.d.ts +1 -1
- package/dist/components/popover/src/data.d.ts +1 -1
- package/dist/components/popup/index.scss +1 -0
- package/dist/components/popup/src/data.cjs +14 -7
- package/dist/components/popup/src/data.d.ts +20 -8
- package/dist/components/popup/src/data.js +14 -7
- package/dist/components/popup/src/index2.cjs +3 -4
- package/dist/components/popup/src/index2.js +3 -4
- package/dist/components/radio/src/data.d.ts +1 -1
- package/dist/components/radio-group/src/data.d.ts +1 -1
- package/dist/components/retract/index.cjs +1 -0
- package/dist/components/retract/index.css +87 -0
- package/dist/components/retract/index.js +1 -0
- package/dist/components/retract/index.scss +76 -0
- package/dist/components/retract/src/data.cjs +3 -5
- package/dist/components/retract/src/data.d.ts +4 -8
- package/dist/components/retract/src/data.js +3 -5
- package/dist/components/retract/src/index2.cjs +1 -1
- package/dist/components/retract/src/index2.js +1 -1
- package/dist/components/right-key/src/data.cjs +10 -9
- package/dist/components/right-key/src/data.d.ts +15 -4
- package/dist/components/right-key/src/data.js +10 -9
- package/dist/components/seamless-scroll/index.css +1 -0
- package/dist/components/seamless-scroll/index.scss +1 -0
- package/dist/components/seamless-scroll/src/data.cjs +13 -12
- package/dist/components/seamless-scroll/src/data.d.ts +13 -15
- package/dist/components/seamless-scroll/src/data.js +13 -12
- package/dist/components/seamless-scroll/src/index2.cjs +6 -3
- package/dist/components/seamless-scroll/src/index2.js +6 -3
- package/dist/components/select/src/data.d.ts +1 -1
- package/dist/components/slider/src/data.d.ts +1 -1
- package/dist/components/stick-div/src/data.cjs +6 -3
- package/dist/components/stick-div/src/data.d.ts +6 -3
- package/dist/components/stick-div/src/data.js +6 -3
- package/dist/components/stick-edge/src/data.cjs +6 -3
- package/dist/components/stick-edge/src/data.d.ts +6 -3
- package/dist/components/stick-edge/src/data.js +6 -3
- package/dist/components/stick-window/src/data.cjs +6 -30
- package/dist/components/stick-window/src/data.d.ts +13 -19
- package/dist/components/stick-window/src/data.js +6 -30
- package/dist/components/switch/src/data.d.ts +1 -1
- package/dist/components/tab-pane/src/data.d.ts +1 -1
- package/dist/components/tabs/src/data.d.ts +1 -1
- package/dist/components/time-picker/src/data.d.ts +1 -1
- package/dist/components/time-select/src/data.d.ts +1 -1
- package/dist/components/tooltip/src/data.d.ts +1 -1
- package/dist/components/tree/src/data.d.ts +1 -1
- package/dist/components/tree-select/src/data.d.ts +1 -1
- package/dist/components/upload/src/data.d.ts +1 -1
- package/dist/components/window/index.css +3 -2
- package/dist/components/window/index.scss +7 -9
- package/dist/components/window/src/data.cjs +22 -9
- package/dist/components/window/src/data.d.ts +34 -10
- package/dist/components/window/src/data.js +22 -9
- package/dist/components/window/src/index2.cjs +39 -25
- package/dist/components/window/src/index2.js +39 -25
- package/dist/css/index.css +78 -2
- package/dist/css/retract.css +87 -0
- package/dist/css/seamless-scroll.css +1 -0
- package/dist/css/window.css +3 -2
- package/dist/directives/drag/index.cjs +2 -0
- package/dist/directives/drag/index.d.ts +0 -1
- package/dist/directives/drag/index.js +2 -0
- package/dist/expand/{chunk-NWMTWNXH.cjs → chunk-J3OWSCOI.cjs} +1 -0
- package/dist/expand/{chunk-5DCURPLA.js → chunk-WXZESOPO.js} +1 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/icons/index.css +28 -28
- package/dist/icons/index.json +9 -9
- package/dist/index.css +78 -2
- package/package.json +10 -10
- /package/dist/components/{tooltip → button}/index.css +0 -0
- /package/dist/css/{tooltip.css → button.css} +0 -0
package/bin/fang-ui.js
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const data$1 = require("../../box-teleport/src/data.cjs");
|
|
5
|
+
const data = require("../../box-title/src/data.cjs");
|
|
6
|
+
const data$2 = require("../../box-mask/src/data.cjs");
|
|
4
7
|
const dataProps = buildProps.buildProps({
|
|
8
|
+
...data$2.dataProps,
|
|
9
|
+
...data$1.dataProps,
|
|
10
|
+
...data.dataProps,
|
|
5
11
|
/**
|
|
6
12
|
* @props title 弹框头
|
|
7
13
|
* @type String
|
|
@@ -18,12 +24,10 @@ const dataProps = buildProps.buildProps({
|
|
|
18
24
|
modelValue: {
|
|
19
25
|
type: Boolean
|
|
20
26
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
type: Boolean
|
|
26
|
-
},
|
|
27
|
+
/**
|
|
28
|
+
* @props {String} boxClass
|
|
29
|
+
* 样式名称
|
|
30
|
+
*/
|
|
27
31
|
boxClass: {
|
|
28
32
|
type: String
|
|
29
33
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
import { FunctConfig } from '../../../utils/enums';
|
|
2
3
|
export declare const dataProps: {
|
|
3
4
|
/**
|
|
4
5
|
* @props title 弹框头
|
|
@@ -16,13 +17,21 @@ export declare const dataProps: {
|
|
|
16
17
|
modelValue: {
|
|
17
18
|
type: BooleanConstructor;
|
|
18
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
* @props {String} boxClass
|
|
22
|
+
* 样式名称
|
|
23
|
+
*/
|
|
24
|
+
boxClass: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
};
|
|
19
27
|
to: {
|
|
20
28
|
type: StringConstructor;
|
|
29
|
+
default: FunctConfig;
|
|
21
30
|
};
|
|
22
31
|
disabled: {
|
|
23
32
|
type: BooleanConstructor;
|
|
24
33
|
};
|
|
25
|
-
|
|
34
|
+
cssprefix: {
|
|
26
35
|
type: StringConstructor;
|
|
27
36
|
};
|
|
28
37
|
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
|
+
import { dataProps as dataProps$2 } from "../../box-teleport/src/data.js";
|
|
3
|
+
import { dataProps as dataProps$1 } from "../../box-title/src/data.js";
|
|
4
|
+
import { dataProps as dataProps$3 } from "../../box-mask/src/data.js";
|
|
2
5
|
const dataProps = buildProps({
|
|
6
|
+
...dataProps$3,
|
|
7
|
+
...dataProps$2,
|
|
8
|
+
...dataProps$1,
|
|
3
9
|
/**
|
|
4
10
|
* @props title 弹框头
|
|
5
11
|
* @type String
|
|
@@ -16,12 +22,10 @@ const dataProps = buildProps({
|
|
|
16
22
|
modelValue: {
|
|
17
23
|
type: Boolean
|
|
18
24
|
},
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
type: Boolean
|
|
24
|
-
},
|
|
25
|
+
/**
|
|
26
|
+
* @props {String} boxClass
|
|
27
|
+
* 样式名称
|
|
28
|
+
*/
|
|
25
29
|
boxClass: {
|
|
26
30
|
type: String
|
|
27
31
|
}
|
|
@@ -46,17 +46,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
46
46
|
}, [
|
|
47
47
|
vue.createVNode(vue.unref(index$3.BoxMask), {
|
|
48
48
|
onClick: onClose,
|
|
49
|
-
cssprefix: vue.unref(cs).z()
|
|
49
|
+
cssprefix: props.cssprefix || vue.unref(cs).z()
|
|
50
50
|
}, null, 8, ["cssprefix"]),
|
|
51
51
|
vue.createElementVNode("div", {
|
|
52
52
|
class: vue.normalizeClass(vue.unref(cs).z("body"))
|
|
53
53
|
}, [
|
|
54
54
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
|
|
55
55
|
vue.createVNode(vue.unref(index$4.BoxTitle), {
|
|
56
|
-
cssprefix: vue.unref(cs).z(),
|
|
57
56
|
onClose,
|
|
58
57
|
title: props.title
|
|
59
|
-
}, null, 8, ["
|
|
58
|
+
}, null, 8, ["title"])
|
|
60
59
|
]),
|
|
61
60
|
vue.createElementVNode("div", {
|
|
62
61
|
name: vue.unref(data.dataSlot).default,
|
|
@@ -44,17 +44,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
44
|
}, [
|
|
45
45
|
createVNode(unref(BoxMask), {
|
|
46
46
|
onClick: onClose,
|
|
47
|
-
cssprefix: unref(cs).z()
|
|
47
|
+
cssprefix: props.cssprefix || unref(cs).z()
|
|
48
48
|
}, null, 8, ["cssprefix"]),
|
|
49
49
|
createElementVNode("div", {
|
|
50
50
|
class: normalizeClass(unref(cs).z("body"))
|
|
51
51
|
}, [
|
|
52
52
|
renderSlot(_ctx.$slots, unref(dataSlot).title, {}, () => [
|
|
53
53
|
createVNode(unref(BoxTitle), {
|
|
54
|
-
cssprefix: unref(cs).z(),
|
|
55
54
|
onClose,
|
|
56
55
|
title: props.title
|
|
57
|
-
}, null, 8, ["
|
|
56
|
+
}, null, 8, ["title"])
|
|
58
57
|
]),
|
|
59
58
|
createElementVNode("div", {
|
|
60
59
|
name: unref(dataSlot).default,
|
|
@@ -5,14 +5,16 @@ const data = require("../../box/src/data.cjs");
|
|
|
5
5
|
const dataProps = buildProps.buildProps({
|
|
6
6
|
...data.dataProps,
|
|
7
7
|
/**
|
|
8
|
-
* @props { } drag= ( )
|
|
8
|
+
* @props { String, Boolean } drag='.com-title-name' ( )
|
|
9
|
+
* 可拖拽的元素样式
|
|
9
10
|
*/
|
|
10
11
|
drag: {
|
|
11
12
|
type: [String, Boolean],
|
|
12
13
|
default: ".com-title-name"
|
|
13
14
|
},
|
|
14
15
|
/**
|
|
15
|
-
* @props { Boolean } often= ( )
|
|
16
|
+
* @props { Boolean } often= ( )
|
|
17
|
+
* 是否时时变化
|
|
16
18
|
*/
|
|
17
19
|
often: {
|
|
18
20
|
type: Boolean
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
import { FunctConfig } from '../../../utils/enums';
|
|
2
3
|
export declare const dataProps: {
|
|
3
4
|
/**
|
|
4
|
-
* @props { } drag= ( )
|
|
5
|
+
* @props { String, Boolean } drag='.com-title-name' ( )
|
|
6
|
+
* 可拖拽的元素样式
|
|
5
7
|
*/
|
|
6
8
|
drag: {
|
|
7
9
|
type: (BooleanConstructor | StringConstructor)[];
|
|
8
10
|
default: string;
|
|
9
11
|
};
|
|
10
12
|
/**
|
|
11
|
-
* @props { Boolean } often= ( )
|
|
13
|
+
* @props { Boolean } often= ( )
|
|
14
|
+
* 是否时时变化
|
|
12
15
|
*/
|
|
13
16
|
often: {
|
|
14
17
|
type: BooleanConstructor;
|
|
@@ -19,13 +22,17 @@ export declare const dataProps: {
|
|
|
19
22
|
modelValue: {
|
|
20
23
|
type: BooleanConstructor;
|
|
21
24
|
};
|
|
25
|
+
boxClass: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
};
|
|
22
28
|
to: {
|
|
23
29
|
type: StringConstructor;
|
|
30
|
+
default: FunctConfig;
|
|
24
31
|
};
|
|
25
32
|
disabled: {
|
|
26
33
|
type: BooleanConstructor;
|
|
27
34
|
};
|
|
28
|
-
|
|
35
|
+
cssprefix: {
|
|
29
36
|
type: StringConstructor;
|
|
30
37
|
};
|
|
31
38
|
};
|
|
@@ -3,14 +3,16 @@ import { dataProps as dataProps$1, dataEmits as dataEmits$1, dataSlot as dataSlo
|
|
|
3
3
|
const dataProps = buildProps({
|
|
4
4
|
...dataProps$1,
|
|
5
5
|
/**
|
|
6
|
-
* @props { } drag= ( )
|
|
6
|
+
* @props { String, Boolean } drag='.com-title-name' ( )
|
|
7
|
+
* 可拖拽的元素样式
|
|
7
8
|
*/
|
|
8
9
|
drag: {
|
|
9
10
|
type: [String, Boolean],
|
|
10
11
|
default: ".com-title-name"
|
|
11
12
|
},
|
|
12
13
|
/**
|
|
13
|
-
* @props { Boolean } often= ( )
|
|
14
|
+
* @props { Boolean } often= ( )
|
|
15
|
+
* 是否时时变化
|
|
14
16
|
*/
|
|
15
17
|
often: {
|
|
16
18
|
type: Boolean
|
|
@@ -47,17 +47,16 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
47
47
|
}, [
|
|
48
48
|
vue.createVNode(vue.unref(index$3.BoxMask), {
|
|
49
49
|
onClick: onClose,
|
|
50
|
-
cssprefix: vue.unref(cs).z()
|
|
50
|
+
cssprefix: props.cssprefix || vue.unref(cs).z()
|
|
51
51
|
}, null, 8, ["cssprefix"]),
|
|
52
52
|
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
53
53
|
class: vue.normalizeClass(vue.unref(cs).z("body"))
|
|
54
54
|
}, [
|
|
55
55
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).title, {}, () => [
|
|
56
56
|
vue.createVNode(vue.unref(index$4.BoxTitle), {
|
|
57
|
-
cssprefix: vue.unref(cs).z(),
|
|
58
57
|
onClose,
|
|
59
58
|
title: props.title
|
|
60
|
-
}, null, 8, ["
|
|
59
|
+
}, null, 8, ["title"])
|
|
61
60
|
]),
|
|
62
61
|
vue.createElementVNode("div", {
|
|
63
62
|
class: vue.normalizeClass(vue.unref(cs).z("body-div"))
|
|
@@ -45,17 +45,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
45
45
|
}, [
|
|
46
46
|
createVNode(unref(BoxMask), {
|
|
47
47
|
onClick: onClose,
|
|
48
|
-
cssprefix: unref(cs).z()
|
|
48
|
+
cssprefix: props.cssprefix || unref(cs).z()
|
|
49
49
|
}, null, 8, ["cssprefix"]),
|
|
50
50
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
51
51
|
class: normalizeClass(unref(cs).z("body"))
|
|
52
52
|
}, [
|
|
53
53
|
renderSlot(_ctx.$slots, unref(dataSlot).title, {}, () => [
|
|
54
54
|
createVNode(unref(BoxTitle), {
|
|
55
|
-
cssprefix: unref(cs).z(),
|
|
56
55
|
onClose,
|
|
57
56
|
title: props.title
|
|
58
|
-
}, null, 8, ["
|
|
57
|
+
}, null, 8, ["title"])
|
|
59
58
|
]),
|
|
60
59
|
createElementVNode("div", {
|
|
61
60
|
class: normalizeClass(unref(cs).z("body-div"))
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
import { FunctConfig } from '../../../utils/enums';
|
|
2
3
|
export declare const dataProps: {
|
|
3
4
|
/**
|
|
4
5
|
* @props { Boolean } local= ( ) 是否启动弹框模式
|
|
@@ -12,13 +13,17 @@ export declare const dataProps: {
|
|
|
12
13
|
modelValue: {
|
|
13
14
|
type: BooleanConstructor;
|
|
14
15
|
};
|
|
16
|
+
boxClass: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
};
|
|
15
19
|
to: {
|
|
16
20
|
type: StringConstructor;
|
|
21
|
+
default: FunctConfig;
|
|
17
22
|
};
|
|
18
23
|
disabled: {
|
|
19
24
|
type: BooleanConstructor;
|
|
20
25
|
};
|
|
21
|
-
|
|
26
|
+
cssprefix: {
|
|
22
27
|
type: StringConstructor;
|
|
23
28
|
};
|
|
24
29
|
};
|
|
@@ -70,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
70
70
|
title: props.title,
|
|
71
71
|
disabled: props.disabled,
|
|
72
72
|
to: props.to,
|
|
73
|
+
cssprefix: props.cssprefix,
|
|
73
74
|
modelValue: value.value,
|
|
74
75
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
75
76
|
onClose
|
|
@@ -83,15 +84,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
83
84
|
]),
|
|
84
85
|
_: 2
|
|
85
86
|
}, [
|
|
86
|
-
vue.renderList(Object.values(vue.unref(data.dataSlot)), (
|
|
87
|
+
vue.renderList(Object.values(vue.unref(data.dataSlot)), (key, index2) => {
|
|
87
88
|
return {
|
|
88
|
-
name:
|
|
89
|
+
name: key,
|
|
89
90
|
fn: vue.withCtx(() => [
|
|
90
|
-
vue.renderSlot(_ctx.$slots,
|
|
91
|
+
vue.renderSlot(_ctx.$slots, key)
|
|
91
92
|
])
|
|
92
93
|
};
|
|
93
94
|
})
|
|
94
|
-
]), 1032, ["title", "disabled", "to", "modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
95
|
+
]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
95
96
|
key: 1,
|
|
96
97
|
class: vue.normalizeClass(vue.unref(cs).z())
|
|
97
98
|
}, [
|
|
@@ -68,6 +68,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
68
|
title: props.title,
|
|
69
69
|
disabled: props.disabled,
|
|
70
70
|
to: props.to,
|
|
71
|
+
cssprefix: props.cssprefix,
|
|
71
72
|
modelValue: value.value,
|
|
72
73
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
73
74
|
onClose
|
|
@@ -81,15 +82,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
81
82
|
]),
|
|
82
83
|
_: 2
|
|
83
84
|
}, [
|
|
84
|
-
renderList(Object.values(unref(dataSlot)), (
|
|
85
|
+
renderList(Object.values(unref(dataSlot)), (key, index) => {
|
|
85
86
|
return {
|
|
86
|
-
name:
|
|
87
|
+
name: key,
|
|
87
88
|
fn: withCtx(() => [
|
|
88
|
-
renderSlot(_ctx.$slots,
|
|
89
|
+
renderSlot(_ctx.$slots, key)
|
|
89
90
|
])
|
|
90
91
|
};
|
|
91
92
|
})
|
|
92
|
-
]), 1032, ["title", "disabled", "to", "modelValue"])) : (openBlock(), createElementBlock("div", {
|
|
93
|
+
]), 1032, ["title", "disabled", "to", "cssprefix", "modelValue"])) : (openBlock(), createElementBlock("div", {
|
|
93
94
|
key: 1,
|
|
94
95
|
class: normalizeClass(unref(cs).z())
|
|
95
96
|
}, [
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
4
|
const dataProps = buildProps.buildProps({
|
|
5
5
|
/**
|
|
6
|
-
* @props { String }
|
|
6
|
+
* @props { String } cssprefix
|
|
7
|
+
* 样式前缀
|
|
7
8
|
*/
|
|
8
9
|
cssprefix: {
|
|
9
10
|
type: String
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
export declare const dataProps: {
|
|
3
3
|
/**
|
|
4
|
-
* @props { String }
|
|
4
|
+
* @props { String } cssprefix
|
|
5
|
+
* 样式前缀
|
|
5
6
|
*/
|
|
6
7
|
cssprefix: {
|
|
7
8
|
type: StringConstructor;
|
|
@@ -9,8 +10,6 @@ export declare const dataProps: {
|
|
|
9
10
|
};
|
|
10
11
|
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
11
12
|
/**
|
|
12
|
-
* @emits change (val:[String, Array])
|
|
13
|
-
* 选择的时间
|
|
14
13
|
*/
|
|
15
14
|
export declare const dataEmits: {};
|
|
16
15
|
export type DataEmits = typeof dataEmits;
|
|
@@ -21,7 +20,5 @@ export declare const dataSlot: {
|
|
|
21
20
|
default: string;
|
|
22
21
|
};
|
|
23
22
|
/**
|
|
24
|
-
* @expose setValue (val:<string>设置的数据 )
|
|
25
|
-
* 设置值
|
|
26
23
|
*/
|
|
27
24
|
export declare const dataExpose: {};
|
|
@@ -4,13 +4,17 @@ const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
|
4
4
|
const enums = require("../../../utils/enums.cjs");
|
|
5
5
|
const dataProps = buildProps.buildProps({
|
|
6
6
|
/**
|
|
7
|
-
* @props { String } to= (配置值 )
|
|
7
|
+
* @props { String } to='#fang-ui-boxs' (配置值 )
|
|
8
8
|
* 跳转位置
|
|
9
9
|
*/
|
|
10
10
|
to: {
|
|
11
11
|
type: String,
|
|
12
12
|
default: enums.FunctConfig.BOXIDNAME
|
|
13
13
|
},
|
|
14
|
+
/**
|
|
15
|
+
* @props { Boolean } disabled
|
|
16
|
+
* 是否禁用
|
|
17
|
+
*/
|
|
14
18
|
disabled: {
|
|
15
19
|
type: Boolean
|
|
16
20
|
}
|
|
@@ -2,21 +2,23 @@ import { ExtractPublicPropTypes } from 'vue';
|
|
|
2
2
|
import { FunctConfig } from '../../../utils/enums';
|
|
3
3
|
export declare const dataProps: {
|
|
4
4
|
/**
|
|
5
|
-
* @props { String } to= (配置值 )
|
|
5
|
+
* @props { String } to='#fang-ui-boxs' (配置值 )
|
|
6
6
|
* 跳转位置
|
|
7
7
|
*/
|
|
8
8
|
to: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
default: FunctConfig;
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* @props { Boolean } disabled
|
|
14
|
+
* 是否禁用
|
|
15
|
+
*/
|
|
12
16
|
disabled: {
|
|
13
17
|
type: BooleanConstructor;
|
|
14
18
|
};
|
|
15
19
|
};
|
|
16
20
|
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
17
21
|
/**
|
|
18
|
-
* @emits change (val:[String, Array])
|
|
19
|
-
* 选择的时间
|
|
20
22
|
*/
|
|
21
23
|
export declare const dataEmits: {
|
|
22
24
|
change: (evt: string | string[]) => void;
|
|
@@ -29,7 +31,5 @@ export declare const dataSlot: {
|
|
|
29
31
|
default: string;
|
|
30
32
|
};
|
|
31
33
|
/**
|
|
32
|
-
* @expose setValue (val:<string>设置的数据 )
|
|
33
|
-
* 设置值
|
|
34
34
|
*/
|
|
35
35
|
export declare const dataExpose: {};
|
|
@@ -2,13 +2,17 @@ import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
|
2
2
|
import { FunctConfig } from "../../../utils/enums.js";
|
|
3
3
|
const dataProps = buildProps({
|
|
4
4
|
/**
|
|
5
|
-
* @props { String } to= (配置值 )
|
|
5
|
+
* @props { String } to='#fang-ui-boxs' (配置值 )
|
|
6
6
|
* 跳转位置
|
|
7
7
|
*/
|
|
8
8
|
to: {
|
|
9
9
|
type: String,
|
|
10
10
|
default: FunctConfig.BOXIDNAME
|
|
11
11
|
},
|
|
12
|
+
/**
|
|
13
|
+
* @props { Boolean } disabled
|
|
14
|
+
* 是否禁用
|
|
15
|
+
*/
|
|
12
16
|
disabled: {
|
|
13
17
|
type: Boolean
|
|
14
18
|
}
|
|
@@ -14,9 +14,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
14
14
|
const cs = index$1.useCssName("box-teleport");
|
|
15
15
|
const props = __props;
|
|
16
16
|
const emit = __emit;
|
|
17
|
-
|
|
17
|
+
const id = enums.FunctConfig.BOXIDNAME.trim();
|
|
18
|
+
if (document && !document?.querySelector(id)) {
|
|
18
19
|
const d = document.createElement("div");
|
|
19
|
-
|
|
20
|
+
if (id.startsWith("#")) {
|
|
21
|
+
d.id = id.replace(/^#/, "");
|
|
22
|
+
} else if (id.startsWith(".")) {
|
|
23
|
+
d.className = id.replace(/./g, " ");
|
|
24
|
+
}
|
|
20
25
|
document.body.appendChild(d);
|
|
21
26
|
}
|
|
22
27
|
__expose({
|
|
@@ -12,9 +12,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
const cs = useCssName("box-teleport");
|
|
13
13
|
const props = __props;
|
|
14
14
|
const emit = __emit;
|
|
15
|
-
|
|
15
|
+
const id = FunctConfig.BOXIDNAME.trim();
|
|
16
|
+
if (document && !document?.querySelector(id)) {
|
|
16
17
|
const d = document.createElement("div");
|
|
17
|
-
|
|
18
|
+
if (id.startsWith("#")) {
|
|
19
|
+
d.id = id.replace(/^#/, "");
|
|
20
|
+
} else if (id.startsWith(".")) {
|
|
21
|
+
d.className = id.replace(/./g, " ");
|
|
22
|
+
}
|
|
18
23
|
document.body.appendChild(d);
|
|
19
24
|
}
|
|
20
25
|
__expose({
|
|
@@ -3,16 +3,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
4
|
const dataProps = buildProps.buildProps({
|
|
5
5
|
/**
|
|
6
|
-
* @props { String }
|
|
6
|
+
* @props { String } title
|
|
7
|
+
* 标题名称
|
|
7
8
|
*/
|
|
8
9
|
title: {
|
|
9
10
|
type: String
|
|
10
|
-
},
|
|
11
|
-
/**
|
|
12
|
-
* @props { String } 样式前缀
|
|
13
|
-
*/
|
|
14
|
-
cssprefix: {
|
|
15
|
-
type: String
|
|
16
11
|
}
|
|
17
12
|
});
|
|
18
13
|
const dataEmits = ["close"];
|
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
export declare const dataProps: {
|
|
3
3
|
/**
|
|
4
|
-
* @props { String }
|
|
4
|
+
* @props { String } title
|
|
5
|
+
* 标题名称
|
|
5
6
|
*/
|
|
6
7
|
title: {
|
|
7
8
|
type: StringConstructor;
|
|
8
9
|
};
|
|
9
|
-
/**
|
|
10
|
-
* @props { String } 样式前缀
|
|
11
|
-
*/
|
|
12
|
-
cssprefix: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
10
|
};
|
|
16
11
|
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
17
12
|
/**
|
|
18
|
-
* @emits
|
|
19
|
-
*
|
|
13
|
+
* @emits close ()
|
|
14
|
+
* 关闭事件
|
|
20
15
|
*/
|
|
21
16
|
export declare const dataEmits: string[];
|
|
22
17
|
export type DataEmits = typeof dataEmits;
|
|
@@ -27,7 +22,5 @@ export declare const dataSlot: {
|
|
|
27
22
|
default: string;
|
|
28
23
|
};
|
|
29
24
|
/**
|
|
30
|
-
* @expose setValue (val:<string>设置的数据 )
|
|
31
|
-
* 设置值
|
|
32
25
|
*/
|
|
33
26
|
export declare const dataExpose: {};
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
2
|
const dataProps = buildProps({
|
|
3
3
|
/**
|
|
4
|
-
* @props { String }
|
|
4
|
+
* @props { String } title
|
|
5
|
+
* 标题名称
|
|
5
6
|
*/
|
|
6
7
|
title: {
|
|
7
8
|
type: String
|
|
8
|
-
},
|
|
9
|
-
/**
|
|
10
|
-
* @props { String } 样式前缀
|
|
11
|
-
*/
|
|
12
|
-
cssprefix: {
|
|
13
|
-
type: String
|
|
14
9
|
}
|
|
15
10
|
});
|
|
16
11
|
const dataEmits = ["close"];
|