@aplus-frontend/ui 6.35.1 → 6.36.0
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/es/src/ag-grid/index.vue.mjs +17 -16
- package/es/src/ag-grid/interface.d.ts +4 -0
- package/es/src/ap-field/date/index.vue.mjs +6 -5
- package/es/src/ap-field/date/read.vue2.mjs +8 -7
- package/es/src/ap-field/date-range/index.vue.mjs +20 -17
- package/es/src/ap-field/date-range/read.vue2.mjs +3 -2
- package/es/src/ap-field/index.d.ts +3 -3
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/es/src/ap-field/text/read.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue.d.ts +1 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +20 -20
- package/es/src/ap-form/interface.d.ts +12 -1
- package/es/src/ap-form/item/index.vue.d.ts +34 -34
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/switch/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/password.vue.d.ts +8 -8
- package/es/src/ap-form/items/text-area/index.vue.d.ts +6 -6
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +30 -21
- package/es/src/ap-form/render/item.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/hooks/use-count-per-row.d.ts +13 -2
- package/es/src/ap-form/search-form/hooks/use-count-per-row.mjs +32 -22
- package/es/src/ap-form/search-form/index.vue.d.ts +298 -20
- package/es/src/ap-form/search-form/index.vue.mjs +94 -88
- package/es/src/ap-modal/utils/createModal.mjs +38 -35
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
- package/es/src/ap-table/constants.d.ts +77 -77
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +132 -109
- package/es/src/business/ap-attachment/ApAttachment.d.ts +9 -0
- package/es/src/business/ap-attachment/ApAttachment.mjs +48 -47
- package/es/src/business/ap-attachment/constans.d.ts +4 -0
- package/es/src/business/ap-attachment/constans.mjs +4 -0
- package/es/src/business/ap-attachment/index.d.ts +15 -0
- package/es/src/business/ap-attachment/interface.d.ts +1 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +15 -13
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +10 -10
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -10
- package/es/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/es/src/business/batch-input-group/index.vue.d.ts +4 -4
- package/es/src/config-provider/config-provider-props.d.ts +5 -1
- package/es/src/config-provider/config-provider.d.ts +10 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/es/src/config-provider/index.d.ts +16 -1
- package/es/src/utils/config-provider-preset.d.ts +3 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +10 -10
- package/es/src/work-order-modal/work-order-modal.vue.mjs +6 -4
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +4 -0
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date/read.vue2.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/read.vue2.js +1 -1
- package/lib/src/ap-field/index.d.ts +3 -3
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read-password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/read.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/read.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +20 -20
- package/lib/src/ap-form/interface.d.ts +12 -1
- package/lib/src/ap-form/item/index.vue.d.ts +34 -34
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/radio/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/switch/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/password.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +6 -6
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +30 -21
- package/lib/src/ap-form/render/item.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.d.ts +13 -2
- package/lib/src/ap-form/search-form/hooks/use-count-per-row.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +298 -20
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
- package/lib/src/ap-table/constants.d.ts +77 -77
- package/lib/src/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.d.ts +9 -0
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/constans.d.ts +4 -0
- package/lib/src/business/ap-attachment/constans.js +1 -1
- package/lib/src/business/ap-attachment/index.d.ts +15 -0
- package/lib/src/business/ap-attachment/interface.d.ts +1 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +10 -10
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +10 -10
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +2 -2
- package/lib/src/business/batch-input-group/index.vue.d.ts +4 -4
- package/lib/src/config-provider/config-provider-props.d.ts +5 -1
- package/lib/src/config-provider/config-provider.d.ts +10 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +5 -1
- package/lib/src/config-provider/index.d.ts +16 -1
- package/lib/src/utils/config-provider-preset.d.ts +3 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +10 -10
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +3 -3
- package/theme/ag-grid/index.css +3 -0
- package/theme/ag-grid/index.less +3 -0
- package/theme/ap-attachment/ap-attachment.css +8 -4
- package/theme/ap-attachment/ap-attachment.less +8 -4
- package/theme/ap-upload/index.css +6 -0
- package/theme/ap-upload/multiple-file.css +6 -0
- package/theme/ap-upload/multiple-file.less +7 -0
- package/theme/index.css +17 -4
|
@@ -45,11 +45,15 @@
|
|
|
45
45
|
box-sizing: border-box;
|
|
46
46
|
}
|
|
47
47
|
.aplus-ap-attachment {
|
|
48
|
-
display:
|
|
48
|
+
display: flex;
|
|
49
49
|
justify-content: space-between;
|
|
50
|
+
align-items: center;
|
|
50
51
|
}
|
|
51
52
|
.aplus-ap-attachment__content {
|
|
53
|
+
width: 80%;
|
|
54
|
+
flex: 1;
|
|
52
55
|
display: flex;
|
|
56
|
+
flex-shrink: 0;
|
|
53
57
|
align-items: center;
|
|
54
58
|
}
|
|
55
59
|
.aplus-ap-attachment__text-render {
|
|
@@ -64,8 +68,8 @@
|
|
|
64
68
|
margin-right: 5px;
|
|
65
69
|
}
|
|
66
70
|
.aplus-ap-attachment__text-inner {
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
flex: 1;
|
|
72
|
+
flex-shrink: 0;
|
|
69
73
|
white-space: nowrap;
|
|
70
74
|
overflow: hidden;
|
|
71
75
|
text-overflow: ellipsis;
|
|
@@ -77,7 +81,7 @@
|
|
|
77
81
|
color: var(--download-main-color-opacity);
|
|
78
82
|
}
|
|
79
83
|
.aplus-ap-attachment__more {
|
|
80
|
-
|
|
84
|
+
width: 40px;
|
|
81
85
|
font-size: 12px;
|
|
82
86
|
line-height: 18px;
|
|
83
87
|
cursor: pointer;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
@import '../mixins/mixins.less';
|
|
2
2
|
|
|
3
3
|
.b(ap-attachment, {
|
|
4
|
-
display:
|
|
4
|
+
display:flex;
|
|
5
5
|
justify-content: space-between;
|
|
6
|
+
align-items: center;
|
|
6
7
|
&__content{
|
|
8
|
+
width: 80%;
|
|
9
|
+
flex:1;
|
|
7
10
|
display: flex;
|
|
11
|
+
flex-shrink: 0;
|
|
8
12
|
align-items: center;
|
|
9
13
|
}
|
|
10
14
|
&__text-render{
|
|
@@ -19,8 +23,8 @@
|
|
|
19
23
|
margin-right: 5px;
|
|
20
24
|
}
|
|
21
25
|
&__text-inner{
|
|
22
|
-
|
|
23
|
-
|
|
26
|
+
flex:1;
|
|
27
|
+
flex-shrink: 0;
|
|
24
28
|
white-space: nowrap;
|
|
25
29
|
overflow: hidden;
|
|
26
30
|
text-overflow: ellipsis;
|
|
@@ -33,7 +37,7 @@
|
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
&__more{
|
|
36
|
-
|
|
40
|
+
width: 40px;
|
|
37
41
|
font-size: @font-size-base;
|
|
38
42
|
line-height: @line-height-base;
|
|
39
43
|
cursor: pointer;
|
|
@@ -69,6 +69,12 @@
|
|
|
69
69
|
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
|
|
70
70
|
background: #f5f9fa;
|
|
71
71
|
}
|
|
72
|
+
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
72
78
|
.aplus-ap-upload-multiple-file .ant-upload-text-icon {
|
|
73
79
|
color: #abb7cc;
|
|
74
80
|
}
|
|
@@ -69,6 +69,12 @@
|
|
|
69
69
|
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
|
|
70
70
|
background: #f5f9fa;
|
|
71
71
|
}
|
|
72
|
+
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
76
|
+
opacity: 0;
|
|
77
|
+
}
|
|
72
78
|
.aplus-ap-upload-multiple-file .ant-upload-text-icon {
|
|
73
79
|
color: #abb7cc;
|
|
74
80
|
}
|
|
@@ -29,6 +29,13 @@
|
|
|
29
29
|
|
|
30
30
|
.ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
|
|
31
31
|
background: rgb(245 249 250);
|
|
32
|
+
.ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
33
|
+
opacity: 1;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
38
|
+
opacity: 0;
|
|
32
39
|
}
|
|
33
40
|
|
|
34
41
|
.ant-upload-text-icon {
|
package/theme/index.css
CHANGED
|
@@ -756,11 +756,15 @@
|
|
|
756
756
|
display: inline-flex;
|
|
757
757
|
}
|
|
758
758
|
.aplus-ap-attachment {
|
|
759
|
-
display:
|
|
759
|
+
display: flex;
|
|
760
760
|
justify-content: space-between;
|
|
761
|
+
align-items: center;
|
|
761
762
|
}
|
|
762
763
|
.aplus-ap-attachment__content {
|
|
764
|
+
width: 80%;
|
|
765
|
+
flex: 1;
|
|
763
766
|
display: flex;
|
|
767
|
+
flex-shrink: 0;
|
|
764
768
|
align-items: center;
|
|
765
769
|
}
|
|
766
770
|
.aplus-ap-attachment__text-render {
|
|
@@ -775,8 +779,8 @@
|
|
|
775
779
|
margin-right: 5px;
|
|
776
780
|
}
|
|
777
781
|
.aplus-ap-attachment__text-inner {
|
|
778
|
-
|
|
779
|
-
|
|
782
|
+
flex: 1;
|
|
783
|
+
flex-shrink: 0;
|
|
780
784
|
white-space: nowrap;
|
|
781
785
|
overflow: hidden;
|
|
782
786
|
text-overflow: ellipsis;
|
|
@@ -788,7 +792,7 @@
|
|
|
788
792
|
color: var(--download-main-color-opacity);
|
|
789
793
|
}
|
|
790
794
|
.aplus-ap-attachment__more {
|
|
791
|
-
|
|
795
|
+
width: 40px;
|
|
792
796
|
font-size: 12px;
|
|
793
797
|
line-height: 18px;
|
|
794
798
|
cursor: pointer;
|
|
@@ -2541,6 +2545,12 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2541
2545
|
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
|
|
2542
2546
|
background: #f5f9fa;
|
|
2543
2547
|
}
|
|
2548
|
+
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
2549
|
+
opacity: 1;
|
|
2550
|
+
}
|
|
2551
|
+
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
2552
|
+
opacity: 0;
|
|
2553
|
+
}
|
|
2544
2554
|
.aplus-ap-upload-multiple-file .ant-upload-text-icon {
|
|
2545
2555
|
color: #abb7cc;
|
|
2546
2556
|
}
|
|
@@ -4423,6 +4433,9 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
4423
4433
|
user-select: text;
|
|
4424
4434
|
-webkit-user-select: text;
|
|
4425
4435
|
}
|
|
4436
|
+
.aplus-ag-grid .ag-checkbox.ag-labeled[disabled] .ag-input-field-input[disabled] {
|
|
4437
|
+
cursor: not-allowed;
|
|
4438
|
+
}
|
|
4426
4439
|
.aplus-ap-value-select-card {
|
|
4427
4440
|
position: relative;
|
|
4428
4441
|
margin-top: 8px;
|