@fangzhongya/fang-ui 0.1.70 → 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/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/package.json +10 -9
- /package/dist/components/{keep-com → draggable}/index.css +0 -0
- /package/dist/components/{edit-data-add → edit-data}/index.css +0 -0
- /package/dist/css/{keep-com.css → draggable.css} +0 -0
- /package/dist/css/{edit-data-add.css → edit-data.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} popup
|
|
4
|
+
* @title {h3} popup 切换拖拽弹窗
|
|
5
|
+
* @state 0
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "popup";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -66,6 +67,10 @@ export declare const dataProps: {
|
|
|
66
67
|
boxClass: {
|
|
67
68
|
type: StringConstructor;
|
|
68
69
|
};
|
|
70
|
+
isClose: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
69
74
|
to: {
|
|
70
75
|
type: StringConstructor;
|
|
71
76
|
default: FunctConfig;
|
|
@@ -2,7 +2,8 @@ import { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
import { ObjAny } from '../../../types/index';
|
|
3
3
|
import { FunctConfig } from '../../../utils/enums';
|
|
4
4
|
/**
|
|
5
|
-
* @title {h3} right-key
|
|
5
|
+
* @title {h3} right-key 右键菜单
|
|
6
|
+
* @state 0
|
|
6
7
|
*/
|
|
7
8
|
export declare const name = "right-key";
|
|
8
9
|
export declare const dataProps: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
3
4
|
require("./src/index.cjs");
|
|
4
5
|
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
6
|
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
2
2
|
export type Direction = 'left' | 'right' | 'top' | 'bottom';
|
|
3
3
|
/**
|
|
4
|
-
* @title {h3}
|
|
4
|
+
* @title {h3} stick-div 吸边
|
|
5
|
+
* @state 0
|
|
5
6
|
*/
|
|
6
7
|
export declare const name = "stick-div";
|
|
7
8
|
export declare const dataProps: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use '../index.scss' as *;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
3
4
|
require("./src/index.cjs");
|
|
4
5
|
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
6
|
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use '../index.scss' as *;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
3
4
|
require("./src/index.cjs");
|
|
4
5
|
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
6
|
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
:root {
|
|
3
|
+
--on: rgb(91, 189, 246);
|
|
4
|
+
--color-primary: #409eff;
|
|
5
|
+
--bag-primary: #409eff;
|
|
6
|
+
--bag-primary-text: #ffffff;
|
|
7
|
+
--border: #eee;
|
|
8
|
+
--layout-panel-gap: 10px;
|
|
9
|
+
--layout-panel-padding: 20px;
|
|
10
|
+
--layout-form-item-padding-right: var(
|
|
11
|
+
--layout-panel-gap
|
|
12
|
+
);
|
|
13
|
+
--g-main-bg: var(--bg-color-page);
|
|
14
|
+
--lable-array-height: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.com-footer {
|
|
18
|
+
border-top: 1px solid var(--border);
|
|
19
|
+
padding: 20px 20px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.com-lable-array {
|
|
23
|
+
line-height: var(--lable-array-height);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.stick-window {
|
|
27
|
+
background-color: #fff;
|
|
28
|
+
}
|
|
29
|
+
.stick-window-window-li {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
flex-direction: inherit;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 5px;
|
|
34
|
+
}
|
|
35
|
+
.stick-window-window-li—title {
|
|
36
|
+
word-break: break-all;
|
|
37
|
+
}
|
|
38
|
+
.stick-window-window-li-close {
|
|
39
|
+
margin-left: 5px;
|
|
40
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use '../scss/common.scss' as *;
|
|
2
|
+
|
|
3
|
+
$stick-window: 'stick-window';
|
|
4
|
+
@include b($stick-window) {
|
|
5
|
+
background-color: #fff;
|
|
6
|
+
&-window-li {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
flex-direction: inherit;
|
|
9
|
+
align-items: center;
|
|
10
|
+
padding: 5px;
|
|
11
|
+
&—title {
|
|
12
|
+
word-break: break-all;
|
|
13
|
+
}
|
|
14
|
+
&-close {
|
|
15
|
+
margin-left: 5px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -2,7 +2,8 @@ import { ExtractPublicPropTypes, PropType } from 'vue';
|
|
|
2
2
|
import { Direction } from '../../stick-div/src/data';
|
|
3
3
|
import { FunctConfig } from '../../../utils/enums';
|
|
4
4
|
/**
|
|
5
|
-
* @title {h3}
|
|
5
|
+
* @title {h3} stick-window 窗口吸边
|
|
6
|
+
* @state 0
|
|
6
7
|
*/
|
|
7
8
|
export declare const name = "stick-window";
|
|
8
9
|
export declare const dataProps: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use '../index.scss' as *;
|
|
@@ -2,11 +2,9 @@ import { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
import { Options } from '../../common/list';
|
|
3
3
|
/**
|
|
4
4
|
* @title {h3} switchs 开关列表
|
|
5
|
+
* @state 1
|
|
5
6
|
* @text value: '' 在@change中会返回 true
|
|
6
7
|
*/
|
|
7
|
-
/**
|
|
8
|
-
* @title {h3}
|
|
9
|
-
*/
|
|
10
8
|
export declare const name = "switchs";
|
|
11
9
|
export declare const dataProps: {
|
|
12
10
|
isEmpty: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {
|
|
4
|
-
* @
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @title {h3} tablesp
|
|
3
|
+
* @title {h3} tablesp 表格分页
|
|
4
|
+
* @state 1
|
|
8
5
|
*/
|
|
9
6
|
export declare const name = "tablesp";
|
|
10
7
|
export declare const dataProps: {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {
|
|
4
|
-
* @
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @title {h3} tablespd
|
|
3
|
+
* @title {h3} tablespd 表格分页拖拽
|
|
4
|
+
* @state 2
|
|
8
5
|
*/
|
|
9
6
|
export declare const name = "tablespd";
|
|
10
7
|
export declare const dataProps: {};
|
|
@@ -4,13 +4,8 @@ export type DefaultSort = {
|
|
|
4
4
|
order: string;
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
|
-
* @title
|
|
8
|
-
* @
|
|
9
|
-
* @description 对el-table进行二次封装,减少写html,自适应自身高度
|
|
10
|
-
* @date 2022年11月21日19点34分
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* @title {h3} tablesv
|
|
7
|
+
* @title {h3} tablesv 表格vex
|
|
8
|
+
* @state 2
|
|
14
9
|
*/
|
|
15
10
|
export declare const name = "tablesv";
|
|
16
11
|
export declare const dataProps: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {
|
|
4
|
-
* @
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @title {h3} tablesvp
|
|
3
|
+
* @title {h3} tablesvp 表格vex分页
|
|
4
|
+
* @state 2
|
|
8
5
|
*/
|
|
9
6
|
export declare const name = "tablesvp";
|
|
10
7
|
export declare const dataProps: {};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
/**
|
|
3
|
-
* @title {
|
|
4
|
-
* @
|
|
5
|
-
*/
|
|
6
|
-
/**
|
|
7
|
-
* @title {h3} tablesvpd
|
|
3
|
+
* @title {h3} tablesvpd 表格vex分页拖拽
|
|
4
|
+
* @state 2
|
|
8
5
|
*/
|
|
9
6
|
export declare const name = "tablesvpd";
|
|
10
7
|
export declare const dataProps: {};
|
|
@@ -6,7 +6,8 @@ type Pallet = {
|
|
|
6
6
|
[key: string]: any;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
|
-
* @title {h3}
|
|
9
|
+
* @title {h3} window 窗口弹框
|
|
10
|
+
* @state 0
|
|
10
11
|
*/
|
|
11
12
|
export declare const name = "window";
|
|
12
13
|
export declare const dataProps: {
|
|
@@ -95,6 +96,10 @@ export declare const dataProps: {
|
|
|
95
96
|
boxClass: {
|
|
96
97
|
type: StringConstructor;
|
|
97
98
|
};
|
|
99
|
+
isClose: {
|
|
100
|
+
type: BooleanConstructor;
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
98
103
|
to: {
|
|
99
104
|
type: StringConstructor;
|
|
100
105
|
default: FunctConfig;
|
package/dist/css/index.css
CHANGED
|
@@ -837,6 +837,22 @@
|
|
|
837
837
|
/*box-sizing: border-box;*/
|
|
838
838
|
}
|
|
839
839
|
|
|
840
|
+
.stick-window {
|
|
841
|
+
background-color: #fff;
|
|
842
|
+
}
|
|
843
|
+
.stick-window-window-li {
|
|
844
|
+
display: inline-flex;
|
|
845
|
+
flex-direction: inherit;
|
|
846
|
+
align-items: center;
|
|
847
|
+
padding: 5px;
|
|
848
|
+
}
|
|
849
|
+
.stick-window-window-li—title {
|
|
850
|
+
word-break: break-all;
|
|
851
|
+
}
|
|
852
|
+
.stick-window-window-li-close {
|
|
853
|
+
margin-left: 5px;
|
|
854
|
+
}
|
|
855
|
+
|
|
840
856
|
.window {
|
|
841
857
|
position: fixed;
|
|
842
858
|
width: 100vw;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
:root {
|
|
3
|
+
--on: rgb(91, 189, 246);
|
|
4
|
+
--color-primary: #409eff;
|
|
5
|
+
--bag-primary: #409eff;
|
|
6
|
+
--bag-primary-text: #ffffff;
|
|
7
|
+
--border: #eee;
|
|
8
|
+
--layout-panel-gap: 10px;
|
|
9
|
+
--layout-panel-padding: 20px;
|
|
10
|
+
--layout-form-item-padding-right: var(
|
|
11
|
+
--layout-panel-gap
|
|
12
|
+
);
|
|
13
|
+
--g-main-bg: var(--bg-color-page);
|
|
14
|
+
--lable-array-height: 20px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.com-footer {
|
|
18
|
+
border-top: 1px solid var(--border);
|
|
19
|
+
padding: 20px 20px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.com-lable-array {
|
|
23
|
+
line-height: var(--lable-array-height);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.stick-window {
|
|
27
|
+
background-color: #fff;
|
|
28
|
+
}
|
|
29
|
+
.stick-window-window-li {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
flex-direction: inherit;
|
|
32
|
+
align-items: center;
|
|
33
|
+
padding: 5px;
|
|
34
|
+
}
|
|
35
|
+
.stick-window-window-li—title {
|
|
36
|
+
word-break: break-all;
|
|
37
|
+
}
|
|
38
|
+
.stick-window-window-li-close {
|
|
39
|
+
margin-left: 5px;
|
|
40
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkOJ66KIK7cjs = require('./chunk-OJ66KIK7.cjs');
|
|
4
4
|
|
|
5
5
|
// expand/components.ts
|
|
6
6
|
var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
|
|
@@ -35,11 +35,11 @@ function getFrom(mc, type, conf) {
|
|
|
35
35
|
const p = config.prefix ? config.prefix + "-" : "";
|
|
36
36
|
const filename = p ? mc.replace(new RegExp("^" + p), "") : mc;
|
|
37
37
|
if (type == 1) {
|
|
38
|
-
if (
|
|
38
|
+
if (_chunkOJ66KIK7cjs.config_default.components.includes(filename)) {
|
|
39
39
|
const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
|
|
40
40
|
const from = `${config.name}/components/${filename}/index`;
|
|
41
41
|
let sideEffects;
|
|
42
|
-
if (
|
|
42
|
+
if (_chunkOJ66KIK7cjs.config_default.sideEffects.includes(filename)) {
|
|
43
43
|
if (conf.css) {
|
|
44
44
|
sideEffects = `${config.name}/components/${filename}/style/index${conf.css || 2}.scss`;
|
|
45
45
|
} else {
|
|
@@ -55,14 +55,14 @@ function getFrom(mc, type, conf) {
|
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
} else {
|
|
58
|
-
if (
|
|
58
|
+
if (_chunkOJ66KIK7cjs.config_default.directives.includes(filename)) {
|
|
59
59
|
const name = "default";
|
|
60
60
|
const from = `${config.name}/directives/${filename}/index`;
|
|
61
61
|
return {
|
|
62
62
|
name,
|
|
63
63
|
from
|
|
64
64
|
};
|
|
65
|
-
} else if (
|
|
65
|
+
} else if (_chunkOJ66KIK7cjs.config_default.directives.includes("v-" + filename)) {
|
|
66
66
|
const name = "default";
|
|
67
67
|
const from = `${config.name}/directives/${"v-" + filename}/index`;
|
|
68
68
|
return {
|