@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.
Files changed (153) hide show
  1. package/es/index.mjs +215 -218
  2. package/es/src/ag-grid/components/row/index.vue.d.ts +6 -0
  3. package/es/src/ag-grid/components/row/index.vue.mjs +4 -0
  4. package/es/src/ag-grid/components/row/index.vue2.mjs +14 -0
  5. package/es/src/ag-grid/editable/form-item.vue.mjs +10 -9
  6. package/es/src/ag-grid/editable/index.vue.mjs +17 -16
  7. package/es/src/ag-grid/hooks/use-columns-def.mjs +73 -71
  8. package/es/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
  9. package/es/src/ag-grid/hooks/use-row-selection.mjs +81 -68
  10. package/es/src/ag-grid/index.vue.d.ts +2 -1
  11. package/es/src/ag-grid/index.vue.mjs +282 -257
  12. package/es/src/ag-grid/interface.d.ts +54 -3
  13. package/es/src/ap-action/group/index.vue.mjs +24 -21
  14. package/es/src/ap-action/item/index.vue2.mjs +28 -20
  15. package/es/src/ap-table/components/setting/modal/index.vue2.mjs +72 -71
  16. package/es/src/ap-table/interface.d.ts +6 -0
  17. package/es/src/business/ag-grid-modal/constants.d.ts +4 -0
  18. package/es/src/business/ag-grid-modal/constants.mjs +6 -0
  19. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.d.ts +33 -0
  20. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +50 -0
  21. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +3 -0
  22. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +58 -0
  23. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +2 -0
  24. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +122 -0
  25. package/es/src/business/ag-grid-modal/hooks/use-modal-title.d.ts +24 -0
  26. package/es/src/business/ag-grid-modal/hooks/use-modal-title.mjs +49 -0
  27. package/es/src/business/ag-grid-modal/index.d.ts +2 -0
  28. package/es/src/business/ag-grid-modal/index.mjs +6 -0
  29. package/es/src/business/ag-grid-modal/interface.d.ts +130 -0
  30. package/es/src/business/ag-grid-modal/modal-layout/index.vue.d.ts +43 -0
  31. package/es/src/business/ag-grid-modal/modal-layout/index.vue.mjs +4 -0
  32. package/es/src/business/ag-grid-modal/modal-layout/index.vue2.mjs +102 -0
  33. package/es/src/business/ag-grid-modal/style/css.js +1 -0
  34. package/es/src/business/ag-grid-modal/style/index.js +1 -0
  35. package/es/src/business/ag-grid-modal/utils.d.ts +52 -0
  36. package/es/src/business/ag-grid-modal/utils.mjs +72 -0
  37. package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +23 -0
  38. package/es/src/business/ag-grid-modal/wrapper/index.vue.mjs +4 -0
  39. package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +25 -0
  40. package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -0
  41. package/es/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -0
  42. package/es/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -0
  43. package/es/src/business/ap-table-modal/index.d.ts +3 -0
  44. package/es/src/business/ap-table-modal/table-modal.vue.d.ts +1 -0
  45. package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
  46. package/es/src/business/index.d.ts +1 -0
  47. package/es/src/business/index.mjs +55 -54
  48. package/es/src/index.d.ts +0 -1
  49. package/es/src/index.mjs +280 -284
  50. package/es/src/path-map.mjs +3 -2
  51. package/es/src/version.d.ts +1 -1
  52. package/es/src/version.mjs +1 -1
  53. package/lib/index.js +1 -1
  54. package/lib/src/ag-grid/components/row/index.vue.d.ts +6 -0
  55. package/lib/src/ag-grid/components/row/index.vue.js +1 -0
  56. package/lib/src/ag-grid/components/row/index.vue2.js +1 -0
  57. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  58. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  59. package/lib/src/ag-grid/hooks/use-columns-def.js +1 -1
  60. package/lib/src/ag-grid/hooks/use-row-selection.d.ts +1 -1
  61. package/lib/src/ag-grid/hooks/use-row-selection.js +1 -1
  62. package/lib/src/ag-grid/index.vue.d.ts +2 -1
  63. package/lib/src/ag-grid/index.vue.js +1 -1
  64. package/lib/src/ag-grid/interface.d.ts +54 -3
  65. package/lib/src/ap-action/group/index.vue.js +1 -1
  66. package/lib/src/ap-action/item/index.vue2.js +1 -1
  67. package/lib/src/ap-table/components/setting/modal/index.vue2.js +1 -1
  68. package/lib/src/ap-table/interface.d.ts +6 -0
  69. package/lib/src/business/ag-grid-modal/constants.d.ts +4 -0
  70. package/lib/src/business/ag-grid-modal/constants.js +1 -0
  71. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.d.ts +33 -0
  72. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-instance.js +1 -0
  73. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.d.ts +3 -0
  74. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -0
  75. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.d.ts +2 -0
  76. package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -0
  77. package/lib/src/business/ag-grid-modal/hooks/use-modal-title.d.ts +24 -0
  78. package/lib/src/business/ag-grid-modal/hooks/use-modal-title.js +1 -0
  79. package/lib/src/business/ag-grid-modal/index.d.ts +2 -0
  80. package/lib/src/business/ag-grid-modal/index.js +1 -0
  81. package/lib/src/business/ag-grid-modal/interface.d.ts +130 -0
  82. package/lib/src/business/ag-grid-modal/modal-layout/index.vue.d.ts +43 -0
  83. package/lib/src/business/ag-grid-modal/modal-layout/index.vue.js +1 -0
  84. package/lib/src/business/ag-grid-modal/modal-layout/index.vue2.js +1 -0
  85. package/lib/src/business/ag-grid-modal/style/css.cjs +1 -0
  86. package/lib/src/business/ag-grid-modal/style/index.cjs +1 -0
  87. package/lib/src/business/ag-grid-modal/utils.d.ts +52 -0
  88. package/lib/src/business/ag-grid-modal/utils.js +1 -0
  89. package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +23 -0
  90. package/lib/src/business/ag-grid-modal/wrapper/index.vue.js +1 -0
  91. package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -0
  92. package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -0
  93. package/lib/src/business/ap-table-modal/hooks/use-table-modal.d.ts +1 -0
  94. package/lib/src/business/ap-table-modal/hooks/use-table-select-modal.d.ts +1 -0
  95. package/lib/src/business/ap-table-modal/index.d.ts +3 -0
  96. package/lib/src/business/ap-table-modal/table-modal.vue.d.ts +1 -0
  97. package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
  98. package/lib/src/business/index.d.ts +1 -0
  99. package/lib/src/business/index.js +1 -1
  100. package/lib/src/index.d.ts +0 -1
  101. package/lib/src/index.js +1 -1
  102. package/lib/src/path-map.js +1 -1
  103. package/lib/src/version.d.ts +1 -1
  104. package/lib/src/version.js +1 -1
  105. package/package.json +1 -1
  106. package/theme/ag-grid/index.css +3 -0
  107. package/theme/ag-grid-modal/index.css +773 -0
  108. package/theme/ag-grid-modal/index.less +58 -0
  109. package/theme/ap-form/ap-form-item.css +3 -0
  110. package/theme/ap-form/ap-form-item.less +3 -0
  111. package/theme/ap-form/index.css +3 -0
  112. package/theme/ap-form/search-form.css +3 -0
  113. package/theme/ap-grid/index.css +3 -0
  114. package/theme/ap-table/ap-table.css +3 -0
  115. package/theme/ap-table-modal/index.css +3 -0
  116. package/theme/ap-upload/index.css +5 -0
  117. package/theme/ap-upload/multiple-file.css +5 -0
  118. package/theme/ap-upload/multiple-file.less +6 -0
  119. package/theme/editable-table/index.css +3 -0
  120. package/theme/index.css +54 -3
  121. package/theme/index.less +1 -1
  122. package/es/src/work-order-modal/createWorkOrder.d.ts +0 -3
  123. package/es/src/work-order-modal/createWorkOrder.mjs +0 -32
  124. package/es/src/work-order-modal/help-message.vue.d.ts +0 -3
  125. package/es/src/work-order-modal/help-message.vue.mjs +0 -4
  126. package/es/src/work-order-modal/help-message.vue2.mjs +0 -36
  127. package/es/src/work-order-modal/index.d.ts +0 -4
  128. package/es/src/work-order-modal/index.mjs +0 -8
  129. package/es/src/work-order-modal/interfaces.d.ts +0 -31
  130. package/es/src/work-order-modal/interfaces.mjs +0 -9
  131. package/es/src/work-order-modal/style/css.js +0 -4
  132. package/es/src/work-order-modal/style/index.js +0 -4
  133. package/es/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
  134. package/es/src/work-order-modal/work-order-modal.vue.mjs +0 -192
  135. package/es/src/work-order-modal/work-order-modal.vue2.mjs +0 -4
  136. package/lib/src/work-order-modal/createWorkOrder.d.ts +0 -3
  137. package/lib/src/work-order-modal/createWorkOrder.js +0 -1
  138. package/lib/src/work-order-modal/help-message.vue.d.ts +0 -3
  139. package/lib/src/work-order-modal/help-message.vue.js +0 -1
  140. package/lib/src/work-order-modal/help-message.vue2.js +0 -1
  141. package/lib/src/work-order-modal/index.d.ts +0 -4
  142. package/lib/src/work-order-modal/index.js +0 -1
  143. package/lib/src/work-order-modal/interfaces.d.ts +0 -31
  144. package/lib/src/work-order-modal/interfaces.js +0 -1
  145. package/lib/src/work-order-modal/style/css.cjs +0 -4
  146. package/lib/src/work-order-modal/style/index.cjs +0 -4
  147. package/lib/src/work-order-modal/work-order-modal.vue.d.ts +0 -846
  148. package/lib/src/work-order-modal/work-order-modal.vue.js +0 -1
  149. package/lib/src/work-order-modal/work-order-modal.vue2.js +0 -1
  150. /package/es/src/{work-order-modal → business/ag-grid-modal}/style/css.d.ts +0 -0
  151. /package/es/src/{work-order-modal → business/ag-grid-modal}/style/index.d.ts +0 -0
  152. /package/lib/src/{work-order-modal → business/ag-grid-modal}/style/css.d.ts +0 -0
  153. /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
  }
@@ -48,6 +48,9 @@
48
48
  .ant-select-single .ant-select-selector{
49
49
  height: 30px !important;
50
50
  }
51
+ input.ant-input-number-input {
52
+ padding-left: 0;
53
+ }
51
54
  &:has(.ant-input-number) {
52
55
  padding-right: 0;
53
56
  }
@@ -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
  }
@@ -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,4 +0,0 @@
1
- import f from "./help-message.vue2.mjs";
2
- export {
3
- f as default
4
- };
@@ -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,4 +0,0 @@
1
- import { default as WorkOrderModal } from './work-order-modal.vue';
2
- export * from './interfaces';
3
- export * from './createWorkOrder';
4
- export { WorkOrderModal };
@@ -1,8 +0,0 @@
1
- import "./work-order-modal.vue2.mjs";
2
- import { DictCode as t, langMap as a } from "./interfaces.mjs";
3
- import { createWorkOrderModal as d } from "./createWorkOrder.mjs";
4
- export {
5
- t as DictCode,
6
- d as createWorkOrderModal,
7
- a as langMap
8
- };
@@ -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 {};
@@ -1,9 +0,0 @@
1
- var e = /* @__PURE__ */ ((t) => (t.TicketsStatus = "aplus_tickets_status", t.TicketsType = "tickets_type", t.TicketsLevel = "tickets_level", t))(e || {});
2
- const s = {
3
- "zh-cn": "zh_CN",
4
- en: "en_US"
5
- };
6
- export {
7
- e as DictCode,
8
- s as langMap
9
- };
@@ -1,4 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-form/index.css';
2
- import '@aplus-frontend/ui/theme/work-order-modal/index.css';
3
- import '@aplus-frontend/ui/theme/ap-field/index.css';
4
- import '@aplus-frontend/ui/theme/ap-upload/index.css';
@@ -1,4 +0,0 @@
1
- import '@aplus-frontend/ui/theme/ap-form/index.less';
2
- import '@aplus-frontend/ui/theme/work-order-modal/index.less';
3
- import '@aplus-frontend/ui/theme/ap-field/index.less';
4
- import '@aplus-frontend/ui/theme/ap-upload/index.less';