@aplus-frontend/ui 6.37.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 +215 -218
- package/es/src/ag-grid/components/row/index.vue.d.ts +6 -0
- package/es/src/ag-grid/components/row/index.vue.mjs +4 -0
- package/es/src/ag-grid/components/row/index.vue2.mjs +14 -0
- package/es/src/ag-grid/editable/form-item.vue.mjs +10 -9
- package/es/src/ag-grid/editable/index.vue.mjs +17 -16
- package/es/src/ag-grid/hooks/use-columns-def.mjs +73 -71
- package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/es/src/ag-grid/hooks/use-row-selection.mjs +81 -68
- package/es/src/ag-grid/index.vue.d.ts +2 -1
- package/es/src/ag-grid/index.vue.mjs +282 -257
- package/es/src/ag-grid/interface.d.ts +54 -3
- package/es/src/ap-action/group/index.vue.mjs +24 -21
- package/es/src/ap-action/item/index.vue2.mjs +28 -20
- 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.js +1 -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.d.ts +0 -1
- package/es/src/index.mjs +280 -284
- package/es/src/path-map.mjs +3 -2
- 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/components/row/index.vue.d.ts +6 -0
- package/lib/src/ag-grid/components/row/index.vue.js +1 -0
- package/lib/src/ag-grid/components/row/index.vue2.js +1 -0
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
- package/lib/src/ag-grid/index.vue.d.ts +2 -1
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ag-grid/interface.d.ts +54 -3
- package/lib/src/ap-action/group/index.vue.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- 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/index.cjs +1 -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.d.ts +0 -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 -3
- package/theme/index.less +1 -1
- package/es/src/work-order-modal/createWorkOrder.d.ts +0 -3
- package/es/src/work-order-modal/createWorkOrder.mjs +0 -32
- package/es/src/work-order-modal/help-message.vue.d.ts +0 -3
- package/es/src/work-order-modal/help-message.vue.mjs +0 -4
- package/es/src/work-order-modal/help-message.vue2.mjs +0 -36
- package/es/src/work-order-modal/index.d.ts +0 -4
- package/es/src/work-order-modal/index.mjs +0 -8
- package/es/src/work-order-modal/interfaces.d.ts +0 -31
- package/es/src/work-order-modal/interfaces.mjs +0 -9
- package/es/src/work-order-modal/style/css.js +0 -4
- package/es/src/work-order-modal/style/index.js +0 -4
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
- package/es/src/work-order-modal/work-order-modal.vue.mjs +0 -192
- package/es/src/work-order-modal/work-order-modal.vue2.mjs +0 -4
- package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -3
- package/lib/src/work-order-modal/createWorkOrder.js +0 -1
- package/lib/src/work-order-modal/help-message.vue.d.ts +0 -3
- package/lib/src/work-order-modal/help-message.vue.js +0 -1
- package/lib/src/work-order-modal/help-message.vue2.js +0 -1
- package/lib/src/work-order-modal/index.d.ts +0 -4
- package/lib/src/work-order-modal/index.js +0 -1
- package/lib/src/work-order-modal/interfaces.d.ts +0 -31
- package/lib/src/work-order-modal/interfaces.js +0 -1
- package/lib/src/work-order-modal/style/css.cjs +0 -4
- package/lib/src/work-order-modal/style/index.cjs +0 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
- package/lib/src/work-order-modal/work-order-modal.vue.js +0 -1
- package/lib/src/work-order-modal/work-order-modal.vue2.js +0 -1
- /package/es/src/{work-order-modal → business/ag-grid-modal}/style/css.d.ts +0 -0
- /package/es/src/{work-order-modal → business/ag-grid-modal}/style/index.d.ts +0 -0
- /package/lib/src/{work-order-modal → business/ag-grid-modal}/style/css.d.ts +0 -0
- /package/lib/src/{work-order-modal → business/ag-grid-modal}/style/index.d.ts +0 -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
|
}
|
|
@@ -2979,9 +2987,6 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
2979
2987
|
flex: 1;
|
|
2980
2988
|
text-align: right;
|
|
2981
2989
|
}
|
|
2982
|
-
.aplus-work-order-modal .ant-form-item .ant-form-item-label {
|
|
2983
|
-
min-width: 86px;
|
|
2984
|
-
}
|
|
2985
2990
|
.aplus-ap-summary__item {
|
|
2986
2991
|
height: 38px;
|
|
2987
2992
|
padding: 8px 12px !important;
|
|
@@ -5025,3 +5030,49 @@ div.aplus-ap-info-layout-admin__header-shadow.aplus-ap-info-layout-admin__sticky
|
|
|
5025
5030
|
padding-block-start: 16px;
|
|
5026
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);
|
|
5027
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
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
@import './ap-upload/index.less';
|
|
29
29
|
@import './check-card/index.less';
|
|
30
30
|
@import './editable-table/index.less';
|
|
31
|
-
@import './work-order-modal/index.less';
|
|
32
31
|
@import './ap-summary/index.less';
|
|
33
32
|
@import './ap-table-modal/index.less';
|
|
34
33
|
@import './scroll-bar/index.less';
|
|
@@ -54,3 +53,4 @@
|
|
|
54
53
|
@import './ag-grid/index.less';
|
|
55
54
|
@import './ap-value-select-card/index.less';
|
|
56
55
|
@import './ap-pro-card/index.less';
|
|
56
|
+
@import './ag-grid-modal//index.less';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { GetOssAccess } from './interfaces';
|
|
2
|
-
import { Recordable } from '../type';
|
|
3
|
-
export declare function createWorkOrderModal(api: (args?: any) => Promise<any>, getOssAccess: GetOssAccess, initialValues?: Recordable, disabledList?: string[], successCallback?: () => void): void;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, createVNode as o, render as t, h as c } from "vue";
|
|
2
|
-
import "./work-order-modal.vue2.mjs";
|
|
3
|
-
import "../config-provider/index.mjs";
|
|
4
|
-
import { ConfigProvider as p, globalConfigCached as u } from "../config-provider/config-provider.mjs";
|
|
5
|
-
import f from "./work-order-modal.vue.mjs";
|
|
6
|
-
function E(n, r, a = {}, l = [], d = () => {
|
|
7
|
-
}) {
|
|
8
|
-
const i = document.getElementsByTagName("body")[0], e = document.createElement("div");
|
|
9
|
-
i.appendChild(e), t(c(/* @__PURE__ */ s({
|
|
10
|
-
render() {
|
|
11
|
-
return o(p, u.value, {
|
|
12
|
-
default: () => [o(f, {
|
|
13
|
-
api: n,
|
|
14
|
-
getOssAccess: r,
|
|
15
|
-
onModalClose: m,
|
|
16
|
-
open: !0,
|
|
17
|
-
initialValues: a,
|
|
18
|
-
disabledList: l,
|
|
19
|
-
successCallback: d
|
|
20
|
-
}, null)]
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
})), e);
|
|
24
|
-
function m() {
|
|
25
|
-
setTimeout(() => {
|
|
26
|
-
t(null, e), e.parentElement?.removeChild(e);
|
|
27
|
-
}, 500);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export {
|
|
31
|
-
E as createWorkOrderModal
|
|
32
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
-
export default _default;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, createBlock as s, openBlock as a, unref as o, withCtx as r, createVNode as d, createElementVNode as t, toDisplayString as i } from "vue";
|
|
2
|
-
import { QuestionCircleOutlined as p } from "@ant-design/icons-vue";
|
|
3
|
-
import { Tooltip as m } from "@aplus-frontend/antdv";
|
|
4
|
-
import "../config-provider/index.mjs";
|
|
5
|
-
import { useLocale as f } from "../config-provider/hooks/use-locale.mjs";
|
|
6
|
-
const u = { class: "title" }, c = { class: "flex" }, _ = { class: "flex" }, w = /* @__PURE__ */ n({
|
|
7
|
-
__name: "help-message",
|
|
8
|
-
setup(x) {
|
|
9
|
-
const { t: l } = f();
|
|
10
|
-
return (v, e) => (a(), s(o(m), { placement: "right" }, {
|
|
11
|
-
title: r(() => [
|
|
12
|
-
t("div", u, [
|
|
13
|
-
t("div", c, [
|
|
14
|
-
e[0] || (e[0] = t("div", null, "1.", -1)),
|
|
15
|
-
t("div", null, i(o(l)("ap.workOrderModal.fileSizeMax")) + ":50MB", 1)
|
|
16
|
-
]),
|
|
17
|
-
t("div", _, [
|
|
18
|
-
e[1] || (e[1] = t("div", null, "2.", -1)),
|
|
19
|
-
t("div", null, i(o(l)("ap.workOrderModal.fileCountMax", { x: 10 })), 1)
|
|
20
|
-
])
|
|
21
|
-
])
|
|
22
|
-
]),
|
|
23
|
-
default: r(() => [
|
|
24
|
-
d(o(p), { style: {
|
|
25
|
-
color: "#1890FF",
|
|
26
|
-
fontSize: "16px",
|
|
27
|
-
transform: "translateX(-6px)"
|
|
28
|
-
} })
|
|
29
|
-
]),
|
|
30
|
-
_: 1
|
|
31
|
-
}));
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
export {
|
|
35
|
-
w as default
|
|
36
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { client } from '@aplus-frontend/oss';
|
|
2
|
-
import { ModalProps } from '@aplus-frontend/antdv';
|
|
3
|
-
import { Recordable } from '../type';
|
|
4
|
-
/**
|
|
5
|
-
* 表单项
|
|
6
|
-
*/
|
|
7
|
-
export interface WorkOrderInfo {
|
|
8
|
-
ticketsTitle: string;
|
|
9
|
-
ticketsType: string;
|
|
10
|
-
ticketsContent: string;
|
|
11
|
-
ticketsLevel: string;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* 字典
|
|
15
|
-
*/
|
|
16
|
-
export declare enum DictCode {
|
|
17
|
-
TicketsStatus = "aplus_tickets_status",// 工单状态
|
|
18
|
-
TicketsType = "tickets_type",//工单类型
|
|
19
|
-
TicketsLevel = "tickets_level"
|
|
20
|
-
}
|
|
21
|
-
export type GetOssAccess = Parameters<typeof client.initOssClient>[0]['getOssAccess'];
|
|
22
|
-
export interface WorkOrderModalProps extends ModalProps {
|
|
23
|
-
api: (args?: any) => Promise<any>;
|
|
24
|
-
getOssAccess: GetOssAccess;
|
|
25
|
-
initialValues?: Recordable;
|
|
26
|
-
disabledList?: string[];
|
|
27
|
-
successCallback?: () => void;
|
|
28
|
-
}
|
|
29
|
-
type LocaleType = 'zh_CN' | 'en_US';
|
|
30
|
-
export declare const langMap: Record<string, LocaleType>;
|
|
31
|
-
export {};
|