@fangzhongya/fang-ui 0.1.69 → 0.1.71
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/audios/src/data.d.ts +2 -1
- package/dist/components/box/src/data.d.ts +6 -1
- package/dist/components/box-adjust/src/data.d.ts +6 -1
- package/dist/components/box-fun/src/data.d.ts +2 -1
- package/dist/components/box-local/src/data.d.ts +6 -1
- package/dist/components/box-mask/src/data.d.ts +2 -1
- package/dist/components/box-teleport/src/data.d.ts +2 -1
- package/dist/components/box-title/src/data.cjs +8 -0
- package/dist/components/box-title/src/data.d.ts +10 -1
- package/dist/components/box-title/src/data.js +8 -0
- package/dist/components/box-title/src/index2.cjs +3 -2
- package/dist/components/box-title/src/index2.js +4 -3
- package/dist/components/buttons/src/data.d.ts +2 -1
- package/dist/components/cascaders/src/data.d.ts +2 -1
- package/dist/components/checks/src/data.d.ts +2 -1
- package/dist/components/dates/src/data.d.ts +2 -1
- package/dist/components/dates-divide/src/data.d.ts +2 -1
- package/dist/components/dates-picker/src/data.d.ts +2 -1
- package/dist/components/dates2/src/data.d.ts +2 -1
- package/dist/components/dialogs/src/data.d.ts +2 -1
- package/dist/components/double/src/data.d.ts +2 -1
- package/dist/components/draggable/src/data.d.ts +2 -1
- package/dist/components/edit/src/data.d.ts +2 -1
- package/dist/components/edit-data/src/data.d.ts +2 -1
- package/dist/components/edit-data-add/src/data.d.ts +2 -1
- package/dist/components/edit-float/src/data.d.ts +2 -1
- package/dist/components/edit-float/src/index2.cjs +1 -1
- package/dist/components/edit-float/src/index2.js +1 -1
- package/dist/components/forms/src/data.d.ts +2 -1
- package/dist/components/forms-div/src/data.d.ts +2 -1
- package/dist/components/forms-item/src/data.d.ts +2 -1
- package/dist/components/forms-items/src/data.d.ts +2 -1
- package/dist/components/full-screen/src/data.d.ts +2 -1
- package/dist/components/global-config/src/data.d.ts +2 -1
- package/dist/components/history/src/data.d.ts +2 -1
- package/dist/components/icon/src/data.d.ts +2 -1
- package/dist/components/icon-picker/src/data.d.ts +2 -1
- package/dist/components/iframe/src/data.d.ts +2 -4
- package/dist/components/images/src/data.d.ts +2 -1
- package/dist/components/index.scss +3 -0
- package/dist/components/index2.scss +3 -0
- package/dist/components/input-array/src/data.d.ts +2 -1
- package/dist/components/input-history/src/data.d.ts +3 -2
- package/dist/components/input-num/src/data.d.ts +2 -1
- package/dist/components/input-select/src/data.d.ts +2 -1
- package/dist/components/inputs/src/data.d.ts +2 -1
- package/dist/components/keep-com/src/data.d.ts +1 -0
- package/dist/components/labels/src/data.d.ts +2 -1
- package/dist/components/list/src/data.d.ts +2 -1
- package/dist/components/lists/src/data.d.ts +2 -1
- package/dist/components/listsp/src/data.d.ts +2 -1
- package/dist/components/listspd/src/data.d.ts +2 -1
- package/dist/components/menus/src/data.d.ts +2 -1
- package/dist/components/no-data/src/data.d.ts +2 -1
- package/dist/components/page/src/data.d.ts +2 -1
- package/dist/components/paging/src/data.d.ts +2 -1
- package/dist/components/popup/src/data.d.ts +6 -1
- package/dist/components/retract/src/data.d.ts +2 -1
- package/dist/components/right-key/src/data.d.ts +2 -1
- package/dist/components/seamless-scroll/src/data.d.ts +2 -1
- package/dist/components/select-scroll/src/data.d.ts +2 -1
- package/dist/components/selector/src/data.d.ts +2 -1
- package/dist/components/selects/src/data.d.ts +2 -1
- package/dist/components/sliders/src/data.d.ts +2 -1
- package/dist/components/stick-div/index.cjs +1 -0
- package/dist/components/stick-div/index.js +1 -0
- package/dist/components/stick-div/index.scss +9 -0
- package/dist/components/stick-div/src/data.d.ts +2 -1
- package/dist/components/stick-div/style/index2.scss +1 -0
- package/dist/components/stick-edge/index.cjs +1 -0
- package/dist/components/stick-edge/index.js +1 -0
- package/dist/components/stick-edge/index.scss +5 -0
- package/dist/components/stick-edge/src/data.d.ts +2 -1
- package/dist/components/stick-edge/style/index2.scss +1 -0
- package/dist/components/stick-window/index.cjs +1 -0
- package/dist/components/stick-window/index.css +40 -0
- package/dist/components/stick-window/index.js +1 -0
- package/dist/components/stick-window/index.scss +18 -0
- package/dist/components/stick-window/src/data.d.ts +2 -1
- package/dist/components/stick-window/style/index2.scss +1 -0
- package/dist/components/switchs/src/data.d.ts +1 -3
- package/dist/components/tables/src/data.d.ts +2 -1
- package/dist/components/tablesp/src/data.d.ts +2 -5
- package/dist/components/tablespd/src/data.d.ts +2 -5
- package/dist/components/tablesv/src/data.d.ts +2 -7
- package/dist/components/tablesvp/src/data.d.ts +2 -5
- package/dist/components/tablesvpd/src/data.d.ts +2 -5
- package/dist/components/texts/src/data.d.ts +2 -1
- package/dist/components/uploads/src/data.d.ts +2 -1
- package/dist/components/videos/src/data.d.ts +2 -1
- package/dist/components/window/src/data.d.ts +6 -1
- package/dist/css/index.css +16 -0
- package/dist/css/stick-window.css +40 -0
- package/dist/directives/adjust/index.d.ts +2 -1
- package/dist/directives/adjustment/index.d.ts +2 -2
- package/dist/directives/drag/index.d.ts +3 -1
- package/dist/directives/expose/index.d.ts +2 -0
- package/dist/directives/inserted/index.d.ts +2 -0
- package/dist/directives/locus/index.d.ts +3 -1
- package/dist/directives/scroll/index.d.ts +2 -0
- package/dist/directives/sortable/index.d.ts +3 -1
- package/dist/directives/stick/index.d.ts +2 -2
- package/dist/directives/v-loading/index.d.ts +2 -1
- package/dist/expand/{chunk-BJVT6JH7.cjs → chunk-OJ66KIK7.cjs} +3 -0
- package/dist/expand/{chunk-I5UJEJJB.js → chunk-WDSWWSNJ.js} +3 -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.json +1 -1
- package/dist/index.css +16 -0
- package/dist/utils/util.d.ts +6 -0
- package/package.json +11 -10
- /package/dist/components/{box → box-fun}/index.css +0 -0
- /package/dist/components/{menu-item → draggable}/index.css +0 -0
- /package/dist/css/{box.css → box-fun.css} +0 -0
- /package/dist/css/{menu-item.css → draggable.css} +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import { FunctConfig } from '../../../utils/enums';
|
|
3
3
|
/**
|
|
4
|
-
* @title {h3} box
|
|
4
|
+
* @title {h3} box 弹框
|
|
5
|
+
* @state 0
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "box";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -29,6 +30,10 @@ export declare const dataProps: {
|
|
|
29
30
|
boxClass: {
|
|
30
31
|
type: StringConstructor;
|
|
31
32
|
};
|
|
33
|
+
isClose: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
32
37
|
to: {
|
|
33
38
|
type: StringConstructor;
|
|
34
39
|
default: FunctConfig;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import { FunctConfig } from '../../../utils/enums';
|
|
3
3
|
/**
|
|
4
|
-
* @title {h3} box-adjust
|
|
4
|
+
* @title {h3} box-adjust 拖拽弹框
|
|
5
|
+
* @state 0
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "box-adjust";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -42,6 +43,10 @@ export declare const dataProps: {
|
|
|
42
43
|
boxClass: {
|
|
43
44
|
type: StringConstructor;
|
|
44
45
|
};
|
|
46
|
+
isClose: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
45
50
|
to: {
|
|
46
51
|
type: StringConstructor;
|
|
47
52
|
default: FunctConfig;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import { FunctConfig } from '../../../utils/enums';
|
|
3
3
|
/**
|
|
4
|
-
* @title {h3} box-local
|
|
4
|
+
* @title {h3} box-local 切换弹框
|
|
5
|
+
* @state 0
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "box-local";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -20,6 +21,10 @@ export declare const dataProps: {
|
|
|
20
21
|
boxClass: {
|
|
21
22
|
type: StringConstructor;
|
|
22
23
|
};
|
|
24
|
+
isClose: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
23
28
|
to: {
|
|
24
29
|
type: StringConstructor;
|
|
25
30
|
default: FunctConfig;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import { FunctConfig } from '../../../utils/enums';
|
|
3
3
|
/**
|
|
4
|
-
* @title {h3} box-teleport
|
|
4
|
+
* @title {h3} box-teleport 跳转
|
|
5
|
+
* @state 0
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "box-teleport";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} box-title
|
|
3
|
+
* @title {h3} box-title 标题
|
|
4
|
+
* @state 0
|
|
4
5
|
*/
|
|
5
6
|
export declare const name = "box-title";
|
|
6
7
|
export declare const dataProps: {
|
|
@@ -11,6 +12,14 @@ export declare const dataProps: {
|
|
|
11
12
|
title: {
|
|
12
13
|
type: StringConstructor;
|
|
13
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* @props { Boolean } isClose=true
|
|
17
|
+
* 关闭按钮
|
|
18
|
+
*/
|
|
19
|
+
isClose: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
14
23
|
};
|
|
15
24
|
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
16
25
|
/**
|
|
@@ -32,7 +32,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
32
32
|
class: vue.normalizeClass(vue.unref(cs).z("name"))
|
|
33
33
|
}, vue.toDisplayString(vue.unref(props).title), 3),
|
|
34
34
|
vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).icon),
|
|
35
|
-
vue.
|
|
35
|
+
vue.unref(props).isClose ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
36
|
+
key: 0,
|
|
36
37
|
class: vue.normalizeClass(vue.unref(cs).z("close")),
|
|
37
38
|
onClick: onClose
|
|
38
39
|
}, [
|
|
@@ -45,7 +46,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
45
46
|
]),
|
|
46
47
|
_: 1
|
|
47
48
|
}, 8, ["class", "title"])
|
|
48
|
-
], 2)
|
|
49
|
+
], 2)) : vue.createCommentVNode("", true)
|
|
49
50
|
], 2);
|
|
50
51
|
};
|
|
51
52
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx } from "vue";
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, renderSlot, createCommentVNode, toDisplayString, createVNode, withCtx } from "vue";
|
|
2
2
|
import { name, dataProps, dataExpose, dataSlot, dataEmits } from "./data.js";
|
|
3
3
|
import { Icon } from "../../icon/index.js";
|
|
4
4
|
import "../../../icons/vue/close.js";
|
|
@@ -30,7 +30,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
class: normalizeClass(unref(cs).z("name"))
|
|
31
31
|
}, toDisplayString(unref(props).title), 3),
|
|
32
32
|
renderSlot(_ctx.$slots, unref(dataSlot).icon),
|
|
33
|
-
|
|
33
|
+
unref(props).isClose ? (openBlock(), createElementBlock("span", {
|
|
34
|
+
key: 0,
|
|
34
35
|
class: normalizeClass(unref(cs).z("close")),
|
|
35
36
|
onClick: onClose
|
|
36
37
|
}, [
|
|
@@ -43,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
44
|
]),
|
|
44
45
|
_: 1
|
|
45
46
|
}, 8, ["class", "title"])
|
|
46
|
-
], 2)
|
|
47
|
+
], 2)) : createCommentVNode("", true)
|
|
47
48
|
], 2);
|
|
48
49
|
};
|
|
49
50
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
type SingleType = 'year' | 'month' | 'date' | 'datetime';
|
|
3
3
|
/**
|
|
4
|
-
* @title {h3} dates-divide
|
|
4
|
+
* @title {h3} dates-divide 双时间
|
|
5
|
+
* @state 1
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "dates-divide";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -2,7 +2,8 @@ import { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
import { DateType } from './util';
|
|
3
3
|
import { comHandle, Options } from '../../common/list';
|
|
4
4
|
/**
|
|
5
|
-
* @title {h3} dates2
|
|
5
|
+
* @title {h3} dates2 时间扩展
|
|
6
|
+
* @state 1
|
|
6
7
|
*/
|
|
7
8
|
export declare const name = "dates2";
|
|
8
9
|
export declare const dataProps: {
|
|
@@ -2,7 +2,8 @@ import { ExtractPublicPropTypes } from 'vue';
|
|
|
2
2
|
import { Locale } from '../../../types/locale';
|
|
3
3
|
import { DefaultConfig } from '../../../utils/enums';
|
|
4
4
|
/**
|
|
5
|
-
* @title {h3} global-config
|
|
5
|
+
* @title {h3} global-config 全局配置
|
|
6
|
+
* @state 0
|
|
6
7
|
*/
|
|
7
8
|
export declare const name = "global-config";
|
|
8
9
|
export declare const dataProps: {
|
|
@@ -2,7 +2,8 @@ import { ExtractPropTypes, PropType } from 'vue';
|
|
|
2
2
|
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
3
3
|
export type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com';
|
|
4
4
|
/**
|
|
5
|
-
* @title {h3} icon
|
|
5
|
+
* @title {h3} icon 图标
|
|
6
|
+
* @state 0
|
|
6
7
|
*/
|
|
7
8
|
export declare const name = "icon";
|
|
8
9
|
export declare const dataProps: {
|
|
@@ -76,6 +76,9 @@
|
|
|
76
76
|
@use './popup/index.scss' as *;
|
|
77
77
|
@use './right-key/index.scss' as *;
|
|
78
78
|
@use './seamless-scroll/index.scss' as *;
|
|
79
|
+
@use './stick-div/index.scss' as *;
|
|
80
|
+
@use './stick-edge/index.scss' as *;
|
|
81
|
+
@use './stick-window/index.scss' as *;
|
|
79
82
|
@use './window/index.scss' as *;
|
|
80
83
|
@use './global-config/index.scss' as *;
|
|
81
84
|
@use './icon-picker/index.scss' as *;
|
|
@@ -76,6 +76,9 @@
|
|
|
76
76
|
@use './popup/style/index2.scss' as *;
|
|
77
77
|
@use './right-key/style/index2.scss' as *;
|
|
78
78
|
@use './seamless-scroll/style/index2.scss' as *;
|
|
79
|
+
@use './stick-div/style/index2.scss' as *;
|
|
80
|
+
@use './stick-edge/style/index2.scss' as *;
|
|
81
|
+
@use './stick-window/style/index2.scss' as *;
|
|
79
82
|
@use './window/style/index2.scss' as *;
|
|
80
83
|
@use './global-config/style/index2.scss' as *;
|
|
81
84
|
@use './icon-picker/style/index2.scss' as *;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {h3} input-history
|
|
4
|
-
* @
|
|
3
|
+
* @title {h3} input-history 输入历史记录
|
|
4
|
+
* @text {p} 输入历史记录组件 但没有了解其用途
|
|
5
|
+
* @state 3
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "input-history";
|
|
7
8
|
export declare const dataProps: {
|