@aplus-frontend/ui 6.35.2 → 6.37.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.d.ts +2 -30
- package/es/src/ag-grid/index.vue.mjs +1 -1
- package/es/src/ag-grid/interface.d.ts +15 -0
- package/es/src/ap-action/group/index.vue.mjs +41 -34
- package/es/src/ap-action/interface.d.ts +17 -0
- package/es/src/ap-action/item/index.vue2.mjs +34 -25
- package/es/src/ap-action/item-dropdown/index.vue.mjs +22 -20
- package/es/src/ap-action/item-modal/index.vue.mjs +14 -12
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +13 -11
- 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.d.ts +2 -30
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +15 -0
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/interface.d.ts +17 -0
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-action/item-modal/index.vue.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.js +1 -1
- 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 +6 -0
- package/theme/ap-action/item.css +6 -0
- package/theme/ap-action/item.less +9 -0
- package/theme/ap-attachment/ap-attachment.css +8 -4
- package/theme/ap-attachment/ap-attachment.less +8 -4
- package/theme/ap-grid/index.css +6 -0
- package/theme/ap-table/ap-table.css +6 -0
- package/theme/ap-table-modal/index.css +6 -0
- 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/editable-table/index.css +6 -0
- package/theme/index.css +20 -4
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
@import '../mixins/config.less';
|
|
3
3
|
|
|
4
4
|
@aid: ~'@{ns}-action-item--disabled';
|
|
5
|
+
@aiiw: ~'@{ns}-action-item__icon-wrapper';
|
|
5
6
|
|
|
6
7
|
.b(action-item, {
|
|
7
8
|
.reset-component();
|
|
@@ -52,4 +53,12 @@
|
|
|
52
53
|
&--warn&--disabled {
|
|
53
54
|
color: var(--ap-color-warn-disabled);
|
|
54
55
|
}
|
|
56
|
+
&__icon-wrapper {
|
|
57
|
+
padding-right: @spacing-xs;
|
|
58
|
+
}
|
|
59
|
+
&--icon-first {
|
|
60
|
+
.@{aiiw} {
|
|
61
|
+
padding-right: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
55
64
|
});
|
|
@@ -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;
|
package/theme/ap-grid/index.css
CHANGED
|
@@ -496,6 +496,12 @@
|
|
|
496
496
|
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
497
497
|
color: var(--ap-color-warn-disabled);
|
|
498
498
|
}
|
|
499
|
+
.aplus-action-item__icon-wrapper {
|
|
500
|
+
padding-right: 4px;
|
|
501
|
+
}
|
|
502
|
+
.aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
|
|
503
|
+
padding-right: 0;
|
|
504
|
+
}
|
|
499
505
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
500
506
|
width: 100%;
|
|
501
507
|
}
|
|
@@ -689,6 +689,12 @@
|
|
|
689
689
|
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
690
690
|
color: var(--ap-color-warn-disabled);
|
|
691
691
|
}
|
|
692
|
+
.aplus-action-item__icon-wrapper {
|
|
693
|
+
padding-right: 4px;
|
|
694
|
+
}
|
|
695
|
+
.aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
|
|
696
|
+
padding-right: 0;
|
|
697
|
+
}
|
|
692
698
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
693
699
|
width: 100%;
|
|
694
700
|
}
|
|
@@ -689,6 +689,12 @@
|
|
|
689
689
|
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
690
690
|
color: var(--ap-color-warn-disabled);
|
|
691
691
|
}
|
|
692
|
+
.aplus-action-item__icon-wrapper {
|
|
693
|
+
padding-right: 4px;
|
|
694
|
+
}
|
|
695
|
+
.aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
|
|
696
|
+
padding-right: 0;
|
|
697
|
+
}
|
|
692
698
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
693
699
|
width: 100%;
|
|
694
700
|
}
|
|
@@ -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 {
|
|
@@ -496,6 +496,12 @@
|
|
|
496
496
|
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
497
497
|
color: var(--ap-color-warn-disabled);
|
|
498
498
|
}
|
|
499
|
+
.aplus-action-item__icon-wrapper {
|
|
500
|
+
padding-right: 4px;
|
|
501
|
+
}
|
|
502
|
+
.aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
|
|
503
|
+
padding-right: 0;
|
|
504
|
+
}
|
|
499
505
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
500
506
|
width: 100%;
|
|
501
507
|
}
|
package/theme/index.css
CHANGED
|
@@ -741,6 +741,12 @@
|
|
|
741
741
|
.aplus-action-item--warn.aplus-action-item--disabled {
|
|
742
742
|
color: var(--ap-color-warn-disabled);
|
|
743
743
|
}
|
|
744
|
+
.aplus-action-item__icon-wrapper {
|
|
745
|
+
padding-right: 4px;
|
|
746
|
+
}
|
|
747
|
+
.aplus-action-item--icon-first .aplus-action-item__icon-wrapper {
|
|
748
|
+
padding-right: 0;
|
|
749
|
+
}
|
|
744
750
|
.aplus-action-item-dropdown__item .aplus-action-item {
|
|
745
751
|
width: 100%;
|
|
746
752
|
}
|
|
@@ -756,11 +762,15 @@
|
|
|
756
762
|
display: inline-flex;
|
|
757
763
|
}
|
|
758
764
|
.aplus-ap-attachment {
|
|
759
|
-
display:
|
|
765
|
+
display: flex;
|
|
760
766
|
justify-content: space-between;
|
|
767
|
+
align-items: center;
|
|
761
768
|
}
|
|
762
769
|
.aplus-ap-attachment__content {
|
|
770
|
+
width: 80%;
|
|
771
|
+
flex: 1;
|
|
763
772
|
display: flex;
|
|
773
|
+
flex-shrink: 0;
|
|
764
774
|
align-items: center;
|
|
765
775
|
}
|
|
766
776
|
.aplus-ap-attachment__text-render {
|
|
@@ -775,8 +785,8 @@
|
|
|
775
785
|
margin-right: 5px;
|
|
776
786
|
}
|
|
777
787
|
.aplus-ap-attachment__text-inner {
|
|
778
|
-
|
|
779
|
-
|
|
788
|
+
flex: 1;
|
|
789
|
+
flex-shrink: 0;
|
|
780
790
|
white-space: nowrap;
|
|
781
791
|
overflow: hidden;
|
|
782
792
|
text-overflow: ellipsis;
|
|
@@ -788,7 +798,7 @@
|
|
|
788
798
|
color: var(--download-main-color-opacity);
|
|
789
799
|
}
|
|
790
800
|
.aplus-ap-attachment__more {
|
|
791
|
-
|
|
801
|
+
width: 40px;
|
|
792
802
|
font-size: 12px;
|
|
793
803
|
line-height: 18px;
|
|
794
804
|
cursor: pointer;
|
|
@@ -2541,6 +2551,12 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2541
2551
|
.aplus-ap-upload-multiple-file .ant-upload-wrapper .ant-upload-list .ant-upload-list-item:hover {
|
|
2542
2552
|
background: #f5f9fa;
|
|
2543
2553
|
}
|
|
2554
|
+
.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 {
|
|
2555
|
+
opacity: 1;
|
|
2556
|
+
}
|
|
2557
|
+
.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 {
|
|
2558
|
+
opacity: 0;
|
|
2559
|
+
}
|
|
2544
2560
|
.aplus-ap-upload-multiple-file .ant-upload-text-icon {
|
|
2545
2561
|
color: #abb7cc;
|
|
2546
2562
|
}
|