@aplus-frontend/ui 6.38.0 → 6.39.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/index.mjs +108 -104
- package/es/src/ag-grid/hooks/use-columns-def.mjs +73 -71
- package/es/src/ag-grid/index.vue.mjs +201 -200
- package/es/src/ag-grid/interface.d.ts +14 -0
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +72 -71
- package/es/src/ap-table/interface.d.ts +6 -0
- package/es/src/business/ag-grid-modal/constants.d.ts +4 -0
- package/es/src/business/ag-grid-modal/constants.mjs +6 -0
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.d.ts +33 -0
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +50 -0
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +3 -0
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +58 -0
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +2 -0
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +122 -0
- package/es/src/business/ag-grid-modal/hooks/use-modal-title.d.ts +24 -0
- package/es/src/business/ag-grid-modal/hooks/use-modal-title.mjs +49 -0
- package/es/src/business/ag-grid-modal/index.d.ts +2 -0
- package/es/src/business/ag-grid-modal/index.mjs +6 -0
- package/es/src/business/ag-grid-modal/interface.d.ts +130 -0
- package/es/src/business/ag-grid-modal/modal-layout/index.vue.d.ts +43 -0
- package/es/src/business/ag-grid-modal/modal-layout/index.vue.mjs +4 -0
- package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +102 -0
- package/es/src/business/ag-grid-modal/style/css.d.ts +0 -0
- package/es/src/business/ag-grid-modal/style/css.js +1 -0
- package/es/src/business/ag-grid-modal/style/index.d.ts +0 -0
- package/es/src/business/ag-grid-modal/style/index.js +1 -0
- package/es/src/business/ag-grid-modal/utils.d.ts +52 -0
- package/es/src/business/ag-grid-modal/utils.mjs +72 -0
- package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +23 -0
- package/es/src/business/ag-grid-modal/wrapper/index.vue.mjs +4 -0
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +25 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -0
- package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -0
- package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -0
- package/es/src/business/ap-table-modal/index.d.ts +3 -0
- package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -0
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +55 -54
- package/es/src/index.mjs +78 -74
- package/es/src/path-map.mjs +3 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +14 -0
- package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
- package/lib/src/ap-table/interface.d.ts +6 -0
- package/lib/src/business/ag-grid-modal/constants.d.ts +4 -0
- package/lib/src/business/ag-grid-modal/constants.js +1 -0
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.d.ts +33 -0
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -0
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +3 -0
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -0
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +2 -0
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -0
- package/lib/src/business/ag-grid-modal/hooks/use-modal-title.d.ts +24 -0
- package/lib/src/business/ag-grid-modal/hooks/use-modal-title.js +1 -0
- package/lib/src/business/ag-grid-modal/index.d.ts +2 -0
- package/lib/src/business/ag-grid-modal/index.js +1 -0
- package/lib/src/business/ag-grid-modal/interface.d.ts +130 -0
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue.d.ts +43 -0
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue.js +1 -0
- package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -0
- package/lib/src/business/ag-grid-modal/style/css.cjs +1 -0
- package/lib/src/business/ag-grid-modal/style/css.d.ts +0 -0
- package/lib/src/business/ag-grid-modal/style/index.cjs +1 -0
- package/lib/src/business/ag-grid-modal/style/index.d.ts +0 -0
- package/lib/src/business/ag-grid-modal/utils.d.ts +52 -0
- package/lib/src/business/ag-grid-modal/utils.js +1 -0
- package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +23 -0
- package/lib/src/business/ag-grid-modal/wrapper/index.vue.js +1 -0
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -0
- package/lib/src/business/ap-table-modal/index.d.ts +3 -0
- package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -0
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/path-map.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/ag-grid/index.css +3 -0
- package/theme/ag-grid-modal/index.css +773 -0
- package/theme/ag-grid-modal/index.less +58 -0
- package/theme/ap-form/ap-form-item.css +3 -0
- package/theme/ap-form/ap-form-item.less +3 -0
- package/theme/ap-form/index.css +3 -0
- package/theme/ap-form/search-form.css +3 -0
- package/theme/ap-grid/index.css +3 -0
- package/theme/ap-table/ap-table.css +3 -0
- package/theme/ap-table-modal/index.css +3 -0
- package/theme/ap-upload/index.css +5 -0
- package/theme/ap-upload/multiple-file.css +5 -0
- package/theme/ap-upload/multiple-file.less +6 -0
- package/theme/editable-table/index.css +3 -0
- package/theme/index.css +54 -0
- package/theme/index.less +1 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import '../mixins/mixins.less';
|
|
2
|
+
@import '../mixins/config.less';
|
|
3
|
+
// 使用到的组件
|
|
4
|
+
@import '../ag-grid/index.less';
|
|
5
|
+
|
|
6
|
+
@border-color: #dee4ed;
|
|
7
|
+
|
|
8
|
+
.b('ag-grid-modal', {
|
|
9
|
+
&--table-layout {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex: 1;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
height: 100%;
|
|
14
|
+
&.complex-layout {
|
|
15
|
+
height: 100%;
|
|
16
|
+
position: relative;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
&-left {
|
|
21
|
+
flex: 1;
|
|
22
|
+
min-width: 0px;
|
|
23
|
+
padding-right: 20px;
|
|
24
|
+
box-sizing: border-box;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
&-content {
|
|
28
|
+
flex: 1;
|
|
29
|
+
.ant-table-body {
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-right {
|
|
36
|
+
max-height: 100%;
|
|
37
|
+
width: 410px;
|
|
38
|
+
padding-left: 20px;
|
|
39
|
+
position: relative;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
&-content {
|
|
43
|
+
flex-grow: 1;
|
|
44
|
+
height: 0;
|
|
45
|
+
overflow-y: auto;
|
|
46
|
+
}
|
|
47
|
+
&::before {
|
|
48
|
+
content: '';
|
|
49
|
+
height: calc(100% + var(--ag-grid-modal-layout-divider-offset,16px));
|
|
50
|
+
width: 1px;
|
|
51
|
+
background-color: @border-color;
|
|
52
|
+
position: absolute;
|
|
53
|
+
left: 0px;
|
|
54
|
+
top:calc(-1 * var(--ag-grid-modal-layout-divider-offset,16px));
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
});
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
79
79
|
height: 30px !important;
|
|
80
80
|
}
|
|
81
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
82
|
+
padding-left: 0;
|
|
83
|
+
}
|
|
81
84
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
82
85
|
padding-right: 0;
|
|
83
86
|
}
|
package/theme/ap-form/index.css
CHANGED
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
88
88
|
height: 30px !important;
|
|
89
89
|
}
|
|
90
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
91
|
+
padding-left: 0;
|
|
92
|
+
}
|
|
90
93
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
91
94
|
padding-right: 0;
|
|
92
95
|
}
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
79
79
|
height: 30px !important;
|
|
80
80
|
}
|
|
81
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
82
|
+
padding-left: 0;
|
|
83
|
+
}
|
|
81
84
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
82
85
|
padding-right: 0;
|
|
83
86
|
}
|
package/theme/ap-grid/index.css
CHANGED
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
88
88
|
height: 30px !important;
|
|
89
89
|
}
|
|
90
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
91
|
+
padding-left: 0;
|
|
92
|
+
}
|
|
90
93
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
91
94
|
padding-right: 0;
|
|
92
95
|
}
|
|
@@ -280,6 +280,9 @@
|
|
|
280
280
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
281
281
|
height: 30px !important;
|
|
282
282
|
}
|
|
283
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
284
|
+
padding-left: 0;
|
|
285
|
+
}
|
|
283
286
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
284
287
|
padding-right: 0;
|
|
285
288
|
}
|
|
@@ -280,6 +280,9 @@
|
|
|
280
280
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
281
281
|
height: 30px !important;
|
|
282
282
|
}
|
|
283
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
284
|
+
padding-left: 0;
|
|
285
|
+
}
|
|
283
286
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
284
287
|
padding-right: 0;
|
|
285
288
|
}
|
|
@@ -72,6 +72,11 @@
|
|
|
72
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
73
|
opacity: 1;
|
|
74
74
|
}
|
|
75
|
+
.aplus-ap-upload-multiple-file .ant-upload-list-item-actions {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
flex-shrink: 0;
|
|
79
|
+
}
|
|
75
80
|
.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
81
|
opacity: 0;
|
|
77
82
|
}
|
|
@@ -72,6 +72,11 @@
|
|
|
72
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
73
|
opacity: 1;
|
|
74
74
|
}
|
|
75
|
+
.aplus-ap-upload-multiple-file .ant-upload-list-item-actions {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
flex-shrink: 0;
|
|
79
|
+
}
|
|
75
80
|
.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
81
|
opacity: 0;
|
|
77
82
|
}
|
|
@@ -33,6 +33,12 @@
|
|
|
33
33
|
opacity: 1;
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
+
|
|
37
|
+
.ant-upload-list-item-actions {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
flex-shrink: 0;
|
|
41
|
+
}
|
|
36
42
|
|
|
37
43
|
.ant-upload-wrapper .ant-upload-list .ant-upload-list-item .ant-upload-list-item-actions .ant-upload-list-item-action:focus {
|
|
38
44
|
opacity: 0;
|
|
@@ -87,6 +87,9 @@
|
|
|
87
87
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
88
88
|
height: 30px !important;
|
|
89
89
|
}
|
|
90
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
91
|
+
padding-left: 0;
|
|
92
|
+
}
|
|
90
93
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
91
94
|
padding-right: 0;
|
|
92
95
|
}
|
package/theme/index.css
CHANGED
|
@@ -1131,6 +1131,9 @@
|
|
|
1131
1131
|
.aplus-ap-form-item--bordered .ant-select-single .ant-select-selector {
|
|
1132
1132
|
height: 30px !important;
|
|
1133
1133
|
}
|
|
1134
|
+
.aplus-ap-form-item--bordered input.ant-input-number-input {
|
|
1135
|
+
padding-left: 0;
|
|
1136
|
+
}
|
|
1134
1137
|
.aplus-ap-form-item--bordered:has(.ant-input-number) {
|
|
1135
1138
|
padding-right: 0;
|
|
1136
1139
|
}
|
|
@@ -2554,6 +2557,11 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2554
2557
|
.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
2558
|
opacity: 1;
|
|
2556
2559
|
}
|
|
2560
|
+
.aplus-ap-upload-multiple-file .ant-upload-list-item-actions {
|
|
2561
|
+
display: flex;
|
|
2562
|
+
align-items: center;
|
|
2563
|
+
flex-shrink: 0;
|
|
2564
|
+
}
|
|
2557
2565
|
.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
2566
|
opacity: 0;
|
|
2559
2567
|
}
|
|
@@ -5022,3 +5030,49 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
5022
5030
|
padding-block-start: 16px;
|
|
5023
5031
|
border-block-start: var(--ap-pro-card-border-line-width) var(--ap-pro-card-border-line-type) var(--ap-pro-card-border-color-split);
|
|
5024
5032
|
}
|
|
5033
|
+
.aplus-ag-grid-modal--table-layout {
|
|
5034
|
+
display: flex;
|
|
5035
|
+
flex: 1;
|
|
5036
|
+
justify-content: space-between;
|
|
5037
|
+
height: 100%;
|
|
5038
|
+
}
|
|
5039
|
+
.aplus-ag-grid-modal--table-layout.complex-layout {
|
|
5040
|
+
height: 100%;
|
|
5041
|
+
position: relative;
|
|
5042
|
+
}
|
|
5043
|
+
.aplus-ag-grid-modal--table-layout-left {
|
|
5044
|
+
flex: 1;
|
|
5045
|
+
min-width: 0px;
|
|
5046
|
+
padding-right: 20px;
|
|
5047
|
+
box-sizing: border-box;
|
|
5048
|
+
display: flex;
|
|
5049
|
+
flex-direction: column;
|
|
5050
|
+
}
|
|
5051
|
+
.aplus-ag-grid-modal--table-layout-left-content {
|
|
5052
|
+
flex: 1;
|
|
5053
|
+
}
|
|
5054
|
+
.aplus-ag-grid-modal--table-layout-left-content .ant-table-body {
|
|
5055
|
+
height: 100%;
|
|
5056
|
+
}
|
|
5057
|
+
.aplus-ag-grid-modal--table-layout-right {
|
|
5058
|
+
max-height: 100%;
|
|
5059
|
+
width: 410px;
|
|
5060
|
+
padding-left: 20px;
|
|
5061
|
+
position: relative;
|
|
5062
|
+
display: flex;
|
|
5063
|
+
flex-direction: column;
|
|
5064
|
+
}
|
|
5065
|
+
.aplus-ag-grid-modal--table-layout-right-content {
|
|
5066
|
+
flex-grow: 1;
|
|
5067
|
+
height: 0;
|
|
5068
|
+
overflow-y: auto;
|
|
5069
|
+
}
|
|
5070
|
+
.aplus-ag-grid-modal--table-layout-right::before {
|
|
5071
|
+
content: '';
|
|
5072
|
+
height: calc(100% + var(--ag-grid-modal-layout-divider-offset, 16px));
|
|
5073
|
+
width: 1px;
|
|
5074
|
+
background-color: #dee4ed;
|
|
5075
|
+
position: absolute;
|
|
5076
|
+
left: 0px;
|
|
5077
|
+
top: calc(-1 * var(--ag-grid-modal-layout-divider-offset, 16px));
|
|
5078
|
+
}
|
package/theme/index.less
CHANGED