@fangzhongya/fang-ui 0.0.25 → 0.0.27
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/array/index.css +1 -2
- package/dist/components/box/index.css +1 -2
- package/dist/components/box-adjust/index.css +1 -2
- package/dist/components/box-local/index.css +1 -2
- package/dist/components/box-mask/index.css +1 -2
- package/dist/components/box-title/index.css +1 -2
- package/dist/components/buttons/index.css +1 -2
- package/dist/components/cascaders/index.css +1 -2
- package/dist/components/checks/index.css +1 -2
- package/dist/components/css/common.scss +1 -2
- package/dist/components/dates/index.css +1 -2
- package/dist/components/dialog/index.css +7 -8
- package/dist/components/dialog/index.scss +7 -7
- package/dist/components/drawer/index.css +1 -2
- package/dist/components/el-tables/index.css +2 -5
- package/dist/components/el-tables/index.scss +1 -3
- package/dist/components/forms/index.css +4 -2
- package/dist/components/forms/index.d.ts +9 -0
- package/dist/components/forms/index.scss +5 -0
- package/dist/components/forms/src/data.cjs +3 -0
- package/dist/components/forms/src/data.d.ts +3 -0
- package/dist/components/forms/src/data.js +3 -0
- package/dist/components/forms/src/index.cjs +3 -1
- package/dist/components/forms/src/index.d.ts +6 -0
- package/dist/components/forms/src/index.js +3 -1
- package/dist/components/forms-div/index.css +1 -2
- package/dist/components/forms-drag/index.d.ts +9 -0
- package/dist/components/forms-drag/src/index.d.ts +6 -0
- package/dist/components/forms-items/index.css +1 -2
- package/dist/components/global-config/index.css +1 -2
- package/dist/components/icon/index.css +1 -2
- package/dist/components/input-array/index.css +1 -2
- package/dist/components/input-num/index.css +1 -2
- package/dist/components/inputs/index.css +1 -2
- package/dist/components/lists/index.css +1 -2
- package/dist/components/menus/index.css +4 -2
- package/dist/components/menus/index.scss +8 -3
- package/dist/components/page/index.css +1 -2
- package/dist/components/pagin/index.css +1 -2
- package/dist/components/popup/index.css +1 -2
- package/dist/components/right-key/index.css +1 -2
- package/dist/components/selects/index.css +1 -2
- package/dist/components/switchs/index.css +1 -2
- package/dist/components/tables/index.css +1 -2
- package/dist/components/tables-pagin/index.css +2 -5
- package/dist/components/text/index.css +1 -2
- package/dist/components/vxe-tables/index.css +1 -2
- package/dist/components/window/index.css +1 -2
- package/dist/index.css +14 -11
- package/package.json +5 -5
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
@forward './mixins.scss';
|
|
6
6
|
|
|
7
7
|
:root {
|
|
8
|
-
--#{$cssname}
|
|
9
|
-
--#{$cssname}icon-picker-border: #eee;
|
|
8
|
+
--#{$cssname}on: rgb(91, 189, 246);
|
|
10
9
|
--#{$cssname}color-primary: #409eff;
|
|
11
10
|
--#{$cssname}bag-primary: #409eff;
|
|
12
11
|
--#{$cssname}bag-primary-text: #fff;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--icon-picker-border: #eee;
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
4
3
|
--color-primary: #409eff;
|
|
5
4
|
--bag-primary: #409eff;
|
|
6
5
|
--bag-primary-text: #fff;
|
|
@@ -16,20 +15,20 @@
|
|
|
16
15
|
.f-dialog.el-dialog {
|
|
17
16
|
padding: 0;
|
|
18
17
|
}
|
|
19
|
-
.f-dialog.el-dialog .
|
|
18
|
+
.f-dialog.el-dialog .el-dialog__header {
|
|
20
19
|
padding-top: 16px;
|
|
21
20
|
padding-left: 20px;
|
|
22
|
-
border-bottom: 1px solid
|
|
21
|
+
border-bottom: 1px solid var(--border);
|
|
23
22
|
}
|
|
24
|
-
.f-dialog.el-dialog .
|
|
23
|
+
.f-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn {
|
|
25
24
|
width: 56px;
|
|
26
25
|
height: 56px;
|
|
27
26
|
font-size: 22px;
|
|
28
27
|
}
|
|
29
|
-
.f-dialog.el-dialog .
|
|
28
|
+
.f-dialog.el-dialog .el-dialog__body {
|
|
30
29
|
padding: 20px 30px;
|
|
31
30
|
}
|
|
32
|
-
.f-dialog.el-dialog .
|
|
33
|
-
border-top: 1px solid
|
|
31
|
+
.f-dialog.el-dialog .el-dialog__footer {
|
|
32
|
+
border-top: 1px solid var(--border);
|
|
34
33
|
padding: 20px 20px;
|
|
35
34
|
}
|
|
@@ -4,16 +4,16 @@ $dialog: 'f-dialog';
|
|
|
4
4
|
@include b($dialog) {
|
|
5
5
|
&.#{e()}dialog {
|
|
6
6
|
padding: 0;
|
|
7
|
-
.#{
|
|
7
|
+
.#{e()}dialog {
|
|
8
8
|
&__header {
|
|
9
9
|
padding-top: 16px;
|
|
10
10
|
padding-left: 20px;
|
|
11
11
|
// background-color: #3770ed;
|
|
12
|
-
border-bottom: 1px solid
|
|
13
|
-
.#{e()}dialog__title,
|
|
14
|
-
.#{e()}dialog__close {
|
|
15
|
-
|
|
16
|
-
}
|
|
12
|
+
border-bottom: 1px solid var(--#{$cssname}border);
|
|
13
|
+
// .#{e()}dialog__title,
|
|
14
|
+
// .#{e()}dialog__close {
|
|
15
|
+
// // color: #fff;
|
|
16
|
+
// }
|
|
17
17
|
.#{e()}dialog__headerbtn {
|
|
18
18
|
width: 56px;
|
|
19
19
|
height: 56px;
|
|
@@ -24,7 +24,7 @@ $dialog: 'f-dialog';
|
|
|
24
24
|
padding: 20px 30px;
|
|
25
25
|
}
|
|
26
26
|
&__footer {
|
|
27
|
-
border-top: 1px solid
|
|
27
|
+
border-top: 1px solid var(--#{$cssname}border);
|
|
28
28
|
padding: 20px 20px;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--icon-picker-border: #eee;
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
4
3
|
--color-primary: #409eff;
|
|
5
4
|
--bag-primary: #409eff;
|
|
6
5
|
--bag-primary-text: #fff;
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
}
|
|
24
23
|
.tables-table {
|
|
25
24
|
background-color: transparent;
|
|
25
|
+
--el-table-header-bg-color: rgb(248, 248, 249);
|
|
26
26
|
}
|
|
27
27
|
.tables-table.is-absolute {
|
|
28
28
|
position: absolute;
|
|
@@ -30,7 +30,4 @@
|
|
|
30
30
|
right: 0;
|
|
31
31
|
bottom: 0;
|
|
32
32
|
left: 0;
|
|
33
|
-
}
|
|
34
|
-
.tables-table th.el-table__cell {
|
|
35
|
-
background-color: rgb(248, 248, 249);
|
|
36
33
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--icon-picker-border: #eee;
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
4
3
|
--color-primary: #409eff;
|
|
5
4
|
--bag-primary: #409eff;
|
|
6
5
|
--bag-primary-text: #fff;
|
|
@@ -99,4 +98,7 @@
|
|
|
99
98
|
}
|
|
100
99
|
.forms-elf.center .el-form-item__label {
|
|
101
100
|
justify-content: center;
|
|
101
|
+
}
|
|
102
|
+
.forms-buts-div .el-button {
|
|
103
|
+
height: inherit;
|
|
102
104
|
}
|
|
@@ -101,6 +101,9 @@ declare const Forms: {
|
|
|
101
101
|
butLeft: {
|
|
102
102
|
type: StringConstructor;
|
|
103
103
|
};
|
|
104
|
+
butHeight: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
};
|
|
104
107
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
105
108
|
value: {
|
|
106
109
|
type: () => ObjAny;
|
|
@@ -530,6 +533,9 @@ declare const Forms: {
|
|
|
530
533
|
butLeft: {
|
|
531
534
|
type: StringConstructor;
|
|
532
535
|
};
|
|
536
|
+
butHeight: {
|
|
537
|
+
type: StringConstructor;
|
|
538
|
+
};
|
|
533
539
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
534
540
|
value: {
|
|
535
541
|
type: () => ObjAny;
|
|
@@ -677,6 +683,9 @@ declare const Forms: {
|
|
|
677
683
|
butLeft: {
|
|
678
684
|
type: StringConstructor;
|
|
679
685
|
};
|
|
686
|
+
butHeight: {
|
|
687
|
+
type: StringConstructor;
|
|
688
|
+
};
|
|
680
689
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
681
690
|
value: {
|
|
682
691
|
type: () => ObjAny;
|
|
@@ -141,7 +141,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
141
141
|
}, {
|
|
142
142
|
default: vue.withCtx(() => [
|
|
143
143
|
vue.createElementVNode("div", {
|
|
144
|
-
style: vue.normalizeStyle({
|
|
144
|
+
style: vue.normalizeStyle({
|
|
145
|
+
height: props.butHeight ?? props.rowHeight
|
|
146
|
+
}),
|
|
145
147
|
class: vue.normalizeClass(vue.unref(cs).z("buts-div"))
|
|
146
148
|
}, [
|
|
147
149
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(buts), (item, index2) => {
|
|
@@ -386,6 +386,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
386
386
|
butLeft: {
|
|
387
387
|
type: StringConstructor;
|
|
388
388
|
};
|
|
389
|
+
butHeight: {
|
|
390
|
+
type: StringConstructor;
|
|
391
|
+
};
|
|
389
392
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
390
393
|
value: {
|
|
391
394
|
type: () => ObjAny;
|
|
@@ -512,6 +515,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
512
515
|
butLeft: {
|
|
513
516
|
type: StringConstructor;
|
|
514
517
|
};
|
|
518
|
+
butHeight: {
|
|
519
|
+
type: StringConstructor;
|
|
520
|
+
};
|
|
515
521
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
516
522
|
value: {
|
|
517
523
|
type: () => ObjAny;
|
|
@@ -139,7 +139,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
139
139
|
}, {
|
|
140
140
|
default: withCtx(() => [
|
|
141
141
|
createElementVNode("div", {
|
|
142
|
-
style: normalizeStyle({
|
|
142
|
+
style: normalizeStyle({
|
|
143
|
+
height: props.butHeight ?? props.rowHeight
|
|
144
|
+
}),
|
|
143
145
|
class: normalizeClass(unref(cs).z("buts-div"))
|
|
144
146
|
}, [
|
|
145
147
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(buts), (item, index) => {
|
|
@@ -108,6 +108,9 @@ declare const FormsDrag: {
|
|
|
108
108
|
butLeft: {
|
|
109
109
|
type: StringConstructor;
|
|
110
110
|
};
|
|
111
|
+
butHeight: {
|
|
112
|
+
type: StringConstructor;
|
|
113
|
+
};
|
|
111
114
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
112
115
|
value: {
|
|
113
116
|
type: () => ObjAny;
|
|
@@ -545,6 +548,9 @@ declare const FormsDrag: {
|
|
|
545
548
|
butLeft: {
|
|
546
549
|
type: StringConstructor;
|
|
547
550
|
};
|
|
551
|
+
butHeight: {
|
|
552
|
+
type: StringConstructor;
|
|
553
|
+
};
|
|
548
554
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
549
555
|
value: {
|
|
550
556
|
type: () => ObjAny;
|
|
@@ -700,6 +706,9 @@ declare const FormsDrag: {
|
|
|
700
706
|
butLeft: {
|
|
701
707
|
type: StringConstructor;
|
|
702
708
|
};
|
|
709
|
+
butHeight: {
|
|
710
|
+
type: StringConstructor;
|
|
711
|
+
};
|
|
703
712
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
704
713
|
value: {
|
|
705
714
|
type: () => ObjAny;
|
|
@@ -393,6 +393,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
393
393
|
butLeft: {
|
|
394
394
|
type: StringConstructor;
|
|
395
395
|
};
|
|
396
|
+
butHeight: {
|
|
397
|
+
type: StringConstructor;
|
|
398
|
+
};
|
|
396
399
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
397
400
|
value: {
|
|
398
401
|
type: () => globalThis.ObjAny;
|
|
@@ -526,6 +529,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
526
529
|
butLeft: {
|
|
527
530
|
type: StringConstructor;
|
|
528
531
|
};
|
|
532
|
+
butHeight: {
|
|
533
|
+
type: StringConstructor;
|
|
534
|
+
};
|
|
529
535
|
colon: (BooleanConstructor | StringConstructor)[];
|
|
530
536
|
value: {
|
|
531
537
|
type: () => globalThis.ObjAny;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--icon-picker-border: #eee;
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
4
3
|
--color-primary: #409eff;
|
|
5
4
|
--bag-primary: #409eff;
|
|
6
5
|
--bag-primary-text: #fff;
|
|
@@ -16,4 +15,7 @@
|
|
|
16
15
|
.menus .menu-li-item {
|
|
17
16
|
display: flex;
|
|
18
17
|
align-items: center;
|
|
18
|
+
}
|
|
19
|
+
.menus .menu-li-icon {
|
|
20
|
+
margin-right: 10px;
|
|
19
21
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--icon-picker-border: #eee;
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
4
3
|
--color-primary: #409eff;
|
|
5
4
|
--bag-primary: #409eff;
|
|
6
5
|
--bag-primary-text: #fff;
|
|
@@ -23,6 +22,7 @@
|
|
|
23
22
|
}
|
|
24
23
|
.tables-table {
|
|
25
24
|
background-color: transparent;
|
|
25
|
+
--el-table-header-bg-color: rgb(248, 248, 249);
|
|
26
26
|
}
|
|
27
27
|
.tables-table.is-absolute {
|
|
28
28
|
position: absolute;
|
|
@@ -31,9 +31,6 @@
|
|
|
31
31
|
bottom: 0;
|
|
32
32
|
left: 0;
|
|
33
33
|
}
|
|
34
|
-
.tables-table th.el-table__cell {
|
|
35
|
-
background-color: rgb(248, 248, 249);
|
|
36
|
-
}
|
|
37
34
|
|
|
38
35
|
.pags {
|
|
39
36
|
padding: 10px;
|
package/dist/index.css
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--
|
|
3
|
-
--icon-picker-border: #eee;
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
4
3
|
--color-primary: #409eff;
|
|
5
4
|
--bag-primary: #409eff;
|
|
6
5
|
--bag-primary-text: #fff;
|
|
@@ -16,21 +15,21 @@
|
|
|
16
15
|
.f-dialog.el-dialog {
|
|
17
16
|
padding: 0;
|
|
18
17
|
}
|
|
19
|
-
.f-dialog.el-dialog .
|
|
18
|
+
.f-dialog.el-dialog .el-dialog__header {
|
|
20
19
|
padding-top: 16px;
|
|
21
20
|
padding-left: 20px;
|
|
22
|
-
border-bottom: 1px solid
|
|
21
|
+
border-bottom: 1px solid var(--border);
|
|
23
22
|
}
|
|
24
|
-
.f-dialog.el-dialog .
|
|
23
|
+
.f-dialog.el-dialog .el-dialog__header .el-dialog__headerbtn {
|
|
25
24
|
width: 56px;
|
|
26
25
|
height: 56px;
|
|
27
26
|
font-size: 22px;
|
|
28
27
|
}
|
|
29
|
-
.f-dialog.el-dialog .
|
|
28
|
+
.f-dialog.el-dialog .el-dialog__body {
|
|
30
29
|
padding: 20px 30px;
|
|
31
30
|
}
|
|
32
|
-
.f-dialog.el-dialog .
|
|
33
|
-
border-top: 1px solid
|
|
31
|
+
.f-dialog.el-dialog .el-dialog__footer {
|
|
32
|
+
border-top: 1px solid var(--border);
|
|
34
33
|
padding: 20px 20px;
|
|
35
34
|
}
|
|
36
35
|
|
|
@@ -165,6 +164,9 @@
|
|
|
165
164
|
.forms-elf.center .el-form-item__label {
|
|
166
165
|
justify-content: center;
|
|
167
166
|
}
|
|
167
|
+
.forms-buts-div .el-button {
|
|
168
|
+
height: inherit;
|
|
169
|
+
}
|
|
168
170
|
|
|
169
171
|
.box-adjust {
|
|
170
172
|
position: fixed;
|
|
@@ -447,6 +449,9 @@
|
|
|
447
449
|
display: flex;
|
|
448
450
|
align-items: center;
|
|
449
451
|
}
|
|
452
|
+
.menus .menu-li-icon {
|
|
453
|
+
margin-right: 10px;
|
|
454
|
+
}
|
|
450
455
|
|
|
451
456
|
.page {
|
|
452
457
|
height: 100%;
|
|
@@ -650,6 +655,7 @@
|
|
|
650
655
|
}
|
|
651
656
|
.tables-table {
|
|
652
657
|
background-color: transparent;
|
|
658
|
+
--el-table-header-bg-color: rgb(248, 248, 249);
|
|
653
659
|
}
|
|
654
660
|
.tables-table.is-absolute {
|
|
655
661
|
position: absolute;
|
|
@@ -658,9 +664,6 @@
|
|
|
658
664
|
bottom: 0;
|
|
659
665
|
left: 0;
|
|
660
666
|
}
|
|
661
|
-
.tables-table th.el-table__cell {
|
|
662
|
-
background-color: rgb(248, 248, 249);
|
|
663
|
-
}
|
|
664
667
|
|
|
665
668
|
.pags {
|
|
666
669
|
padding: 10px;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.27",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -47,14 +47,14 @@
|
|
|
47
47
|
"vue-tsc": "^3.0.3",
|
|
48
48
|
"vuedraggable": "4.1.0",
|
|
49
49
|
"vxe-table": "4.14.4",
|
|
50
|
-
"@fang-ui/directives": "0.0.1-0",
|
|
51
50
|
"@fang-ui/components": "0.0.1-0",
|
|
52
51
|
"@fang-ui/hooks": "0.0.1-0",
|
|
53
|
-
"@fang-ui/
|
|
52
|
+
"@fang-ui/directives": "0.0.1-0",
|
|
54
53
|
"@fang-ui/locale": "0.0.1-0",
|
|
54
|
+
"@fang-ui/icons": "0.0.1-0",
|
|
55
55
|
"@fang-ui/theme": "0.0.1-0",
|
|
56
|
-
"@fang-ui/
|
|
57
|
-
"@fang-ui/
|
|
56
|
+
"@fang-ui/types": "0.0.1-0",
|
|
57
|
+
"@fang-ui/utils": "0.0.1-0"
|
|
58
58
|
},
|
|
59
59
|
"main": "./dist/index.cjs",
|
|
60
60
|
"module": "./dist/index.js",
|