@chenchaolong/plugin-trade-compliance-workbench 1.0.18 → 1.0.19
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/dist/lib/domain/contract-number.js +2 -2
- package/dist/lib/domain/contract-number.js.map +1 -1
- package/dist/lib/remote-components/trade-compliance-workbench/app.css +1 -1
- package/dist/lib/remote-components/trade-compliance-workbench/app.js +5 -5
- package/dist/lib/remote-ui/app-source.d.ts.map +1 -1
- package/dist/lib/remote-ui/app-source.js +190 -64
- package/dist/lib/remote-ui/app-source.js.map +1 -1
- package/dist/lib/remote-ui/components/forms.js +1 -1
- package/dist/lib/remote-ui/components/forms.js.map +1 -1
- package/dist/lib/remote-ui/components/task-status.d.ts +2 -1
- package/dist/lib/remote-ui/components/task-status.d.ts.map +1 -1
- package/dist/lib/remote-ui/components/task-status.js +5 -4
- package/dist/lib/remote-ui/components/task-status.js.map +1 -1
- package/dist/lib/remote-ui/import-task-status.d.ts +10 -0
- package/dist/lib/remote-ui/import-task-status.d.ts.map +1 -0
- package/dist/lib/remote-ui/import-task-status.js +236 -0
- package/dist/lib/remote-ui/import-task-status.js.map +1 -0
- package/dist/lib/remote-ui/model.d.ts.map +1 -1
- package/dist/lib/remote-ui/model.js +2 -1
- package/dist/lib/remote-ui/model.js.map +1 -1
- package/dist/lib/remote-ui/pages/analytics-prototype.css +307 -0
- package/dist/lib/remote-ui/pages/catalogs.css +681 -0
- package/dist/lib/remote-ui/pages/catalogs.d.ts +5 -3
- package/dist/lib/remote-ui/pages/catalogs.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/catalogs.js +6 -6
- package/dist/lib/remote-ui/pages/catalogs.js.map +1 -1
- package/dist/lib/remote-ui/pages/contracts.css +259 -0
- package/dist/lib/remote-ui/pages/contracts.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/contracts.js +36 -13
- package/dist/lib/remote-ui/pages/contracts.js.map +1 -1
- package/dist/lib/remote-ui/pages/files-prototype.css +547 -0
- package/dist/lib/remote-ui/pages/files.d.ts +3 -2
- package/dist/lib/remote-ui/pages/files.d.ts.map +1 -1
- package/dist/lib/remote-ui/pages/files.js +15 -15
- package/dist/lib/remote-ui/pages/files.js.map +1 -1
- package/dist/lib/remote-ui/pages/procurement-contracts.css +939 -0
- package/dist/lib/remote-ui/pages/procurement.js +1 -1
- package/dist/lib/remote-ui/pages/procurement.js.map +1 -1
- package/dist/lib/remote-ui/pages/sales-files.css +512 -0
- package/dist/lib/remote-ui/pages/sales.js +2 -2
- package/dist/lib/remote-ui/pages/sales.js.map +1 -1
- package/dist/lib/remote-ui/pages/settings.css +178 -0
- package/dist/lib/remote-ui/pages/settings.js +1 -1
- package/dist/lib/remote-ui/pages/settings.js.map +1 -1
- package/dist/lib/remote-ui/polling.d.ts +1 -1
- package/dist/lib/remote-ui/polling.d.ts.map +1 -1
- package/dist/lib/remote-ui/polling.js +4 -2
- package/dist/lib/remote-ui/polling.js.map +1 -1
- package/dist/lib/remote-ui/purchase-review-adapter.d.ts +4 -0
- package/dist/lib/remote-ui/purchase-review-adapter.d.ts.map +1 -0
- package/dist/lib/remote-ui/purchase-review-adapter.js +78 -0
- package/dist/lib/remote-ui/purchase-review-adapter.js.map +1 -0
- package/dist/lib/remote-ui/styles.css +588 -0
- package/dist/lib/sales-file.service.d.ts.map +1 -1
- package/dist/lib/sales-file.service.js +19 -7
- package/dist/lib/sales-file.service.js.map +1 -1
- package/dist/lib/workbench-view.provider.d.ts +24 -0
- package/dist/lib/workbench-view.provider.d.ts.map +1 -1
- package/dist/lib/workbench-view.provider.js +19 -4
- package/dist/lib/workbench-view.provider.js.map +1 -1
- package/dist/lib/workbench.plugin.d.ts.map +1 -1
- package/dist/lib/workbench.plugin.js +1 -2
- package/dist/lib/workbench.plugin.js.map +1 -1
- package/dist/lib/workbench.service.d.ts.map +1 -1
- package/dist/lib/workbench.service.js +36 -10
- package/dist/lib/workbench.service.js.map +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,547 @@
|
|
|
1
|
+
.tcw-file-prototype-page {
|
|
2
|
+
--fp-blue: #1769ff;
|
|
3
|
+
--fp-border: #d9e2ef;
|
|
4
|
+
--fp-muted: #667389;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.tcw-file-prototype-heading-actions {
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: 10px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.tcw-file-prototype-list .tcw-filter-grid {
|
|
13
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.tcw-file-prototype-list .tcw-grid-section {
|
|
17
|
+
overflow: visible;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.tcw-file-prototype-list .tcw-data-table {
|
|
21
|
+
min-width: 1380px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tcw-file-prototype-list .tcw-row-actions {
|
|
25
|
+
flex-wrap: nowrap;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.tcw-file-prototype-status {
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
min-height: 24px;
|
|
32
|
+
padding: 2px 10px;
|
|
33
|
+
border-radius: 12px;
|
|
34
|
+
color: #16965e;
|
|
35
|
+
background: #e8f8f0;
|
|
36
|
+
font-weight: 650;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.tcw-file-prototype-upload {
|
|
41
|
+
min-width: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tcw-file-prototype-upload-grid {
|
|
45
|
+
display: grid;
|
|
46
|
+
grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
|
|
47
|
+
gap: 10px;
|
|
48
|
+
margin-top: 8px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.tcw-file-prototype-upload-grid > section {
|
|
52
|
+
display: grid;
|
|
53
|
+
align-content: start;
|
|
54
|
+
gap: 10px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.tcw-file-prototype-upload textarea {
|
|
58
|
+
min-height: 52px;
|
|
59
|
+
resize: vertical;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.tcw-file-prototype-upload .tcw-upload-zone {
|
|
63
|
+
grid-template-rows: auto auto auto;
|
|
64
|
+
min-height: 104px;
|
|
65
|
+
border-color: #72a8ff;
|
|
66
|
+
background: #f7faff;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.tcw-file-prototype-upload .tcw-upload-zone input {
|
|
70
|
+
position: static;
|
|
71
|
+
grid-row: 3;
|
|
72
|
+
justify-self: center;
|
|
73
|
+
width: min(100%, 260px);
|
|
74
|
+
height: 28px;
|
|
75
|
+
color: #536177;
|
|
76
|
+
font-size: 11px;
|
|
77
|
+
cursor: not-allowed;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.tcw-file-prototype-upload .tcw-upload-zone > i {
|
|
81
|
+
color: var(--fp-blue);
|
|
82
|
+
font-size: 16px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.tcw-file-prototype-upload-grid aside {
|
|
86
|
+
padding: 10px 12px;
|
|
87
|
+
border: 1px solid #75a8ff;
|
|
88
|
+
border-radius: 7px;
|
|
89
|
+
color: #43506a;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.tcw-file-prototype-upload-grid aside h3 {
|
|
93
|
+
margin: 0 0 8px;
|
|
94
|
+
color: #1763d7;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.tcw-file-prototype-upload-grid aside ol {
|
|
98
|
+
margin: 8px 0 0;
|
|
99
|
+
padding-left: 18px;
|
|
100
|
+
line-height: 1.55;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.tcw-file-prototype-selected {
|
|
104
|
+
margin: -5px 0 0;
|
|
105
|
+
color: #1763d7;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.tcw-file-prototype-detail .tcw-file-prototype-summary {
|
|
109
|
+
display: grid;
|
|
110
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
111
|
+
gap: 6px 10px;
|
|
112
|
+
margin: 0 0 10px;
|
|
113
|
+
padding-bottom: 8px;
|
|
114
|
+
border-bottom: 1px solid var(--fp-border);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.tcw-file-prototype-summary > div,
|
|
118
|
+
.tcw-file-prototype-detail-block dl > div {
|
|
119
|
+
display: grid;
|
|
120
|
+
grid-template-columns: 84px minmax(0, 1fr);
|
|
121
|
+
gap: 8px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.tcw-file-prototype-summary dt,
|
|
125
|
+
.tcw-file-prototype-detail-block dt {
|
|
126
|
+
color: var(--fp-muted);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.tcw-file-prototype-summary dd,
|
|
130
|
+
.tcw-file-prototype-detail-block dd {
|
|
131
|
+
margin: 0;
|
|
132
|
+
overflow-wrap: anywhere;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.tcw-file-prototype-detail-grid {
|
|
136
|
+
display: grid;
|
|
137
|
+
grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr);
|
|
138
|
+
gap: 10px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.tcw-file-prototype-detail-grid h3 {
|
|
142
|
+
margin: 0 0 8px;
|
|
143
|
+
font-size: 15px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.tcw-file-prototype-detail-grid > aside {
|
|
147
|
+
border-left: 1px solid var(--fp-border);
|
|
148
|
+
padding-left: 10px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.tcw-file-prototype-detail-block {
|
|
152
|
+
padding: 0 0 10px;
|
|
153
|
+
margin: 0 0 10px;
|
|
154
|
+
border-bottom: 1px solid var(--fp-border);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.tcw-file-prototype-detail-block dl {
|
|
158
|
+
display: grid;
|
|
159
|
+
gap: 8px;
|
|
160
|
+
margin: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.tcw-file-prototype-detail-block p {
|
|
164
|
+
color: #4e5b70;
|
|
165
|
+
line-height: 1.55;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.tcw-file-prototype-document {
|
|
169
|
+
min-height: 320px;
|
|
170
|
+
padding: 10px;
|
|
171
|
+
border: 1px solid #aeb9c9;
|
|
172
|
+
color: #172033;
|
|
173
|
+
background: #fff;
|
|
174
|
+
font-family: Arial, sans-serif;
|
|
175
|
+
font-size: 12px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.tcw-file-prototype-document header,
|
|
179
|
+
.tcw-file-prototype-document > div,
|
|
180
|
+
.tcw-file-prototype-document footer {
|
|
181
|
+
display: flex;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
gap: 8px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.tcw-file-prototype-document header strong {
|
|
187
|
+
margin: auto;
|
|
188
|
+
font-size: 16px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.tcw-file-prototype-document > div p {
|
|
192
|
+
width: 50%;
|
|
193
|
+
line-height: 1.6;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.tcw-file-prototype-document table {
|
|
197
|
+
width: 100%;
|
|
198
|
+
margin: 12px 0;
|
|
199
|
+
border-collapse: collapse;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.tcw-file-prototype-document :is(th, td) {
|
|
203
|
+
padding: 6px 5px;
|
|
204
|
+
border: 1px solid #aeb9c9;
|
|
205
|
+
text-align: left;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.tcw-file-prototype-editor {
|
|
209
|
+
display: grid;
|
|
210
|
+
grid-template-columns: minmax(0, 2.2fr) minmax(260px, .8fr);
|
|
211
|
+
gap: 10px;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.tcw-file-prototype-editor-fields {
|
|
215
|
+
display: grid;
|
|
216
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
217
|
+
gap: 10px;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.tcw-file-prototype-editor-fields > section {
|
|
221
|
+
display: grid;
|
|
222
|
+
align-content: start;
|
|
223
|
+
gap: 8px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.tcw-file-prototype-editor h3 {
|
|
227
|
+
margin: 0 0 4px;
|
|
228
|
+
font-size: 15px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.tcw-file-prototype-editor textarea {
|
|
232
|
+
min-height: 60px;
|
|
233
|
+
resize: vertical;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.tcw-file-prototype-percent {
|
|
237
|
+
display: flex;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.tcw-file-prototype-percent input {
|
|
241
|
+
border-radius: 4px 0 0 4px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.tcw-file-prototype-percent span {
|
|
245
|
+
display: grid;
|
|
246
|
+
width: 42px;
|
|
247
|
+
place-items: center;
|
|
248
|
+
border: 1px solid #cdd7e5;
|
|
249
|
+
border-left: 0;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.tcw-file-prototype-switch {
|
|
253
|
+
display: flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
justify-content: space-between;
|
|
256
|
+
min-height: 36px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.tcw-file-prototype-switch button {
|
|
260
|
+
border: 0;
|
|
261
|
+
color: var(--fp-blue);
|
|
262
|
+
background: transparent;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.tcw-file-prototype-switch button i {
|
|
266
|
+
margin-right: 6px;
|
|
267
|
+
font-size: 16px;
|
|
268
|
+
vertical-align: middle;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.tcw-file-prototype-editor-preview {
|
|
272
|
+
padding: 10px;
|
|
273
|
+
border: 1px solid var(--fp-border);
|
|
274
|
+
border-radius: 7px;
|
|
275
|
+
background: #f8fafc;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.tcw-file-prototype-editor-preview > div {
|
|
279
|
+
display: flex;
|
|
280
|
+
gap: 8px;
|
|
281
|
+
margin: 8px 0;
|
|
282
|
+
padding: 10px;
|
|
283
|
+
border: 1px solid var(--fp-border);
|
|
284
|
+
border-radius: 6px;
|
|
285
|
+
background: #fff;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.tcw-file-prototype-editor-preview > div > i {
|
|
289
|
+
color: var(--fp-blue);
|
|
290
|
+
font-size: 16px;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.tcw-file-prototype-editor-preview small {
|
|
294
|
+
display: block;
|
|
295
|
+
margin-top: 8px;
|
|
296
|
+
color: var(--fp-muted);
|
|
297
|
+
line-height: 1.55;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.tcw-modal:has(.tcw-file-prototype-upload) {
|
|
301
|
+
width: min(800px, calc(100vw - 36px));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.tcw-modal:has(.tcw-file-prototype-detail),
|
|
305
|
+
.tcw-modal:has(.tcw-file-prototype-editor) {
|
|
306
|
+
width: min(720px, calc(100vw - 36px));
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.tcw-modal:has(.tcw-file-prototype-editor) {
|
|
310
|
+
max-height: min(560px, calc(100vh - 32px));
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
@media (min-width: 981px) {
|
|
314
|
+
.tcw-modal-backdrop:has(.tcw-file-prototype-detail) {
|
|
315
|
+
background: rgba(0, 0, 0, .46);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.tcw-modal-backdrop:has(.tcw-file-prototype-editor) {
|
|
319
|
+
background: rgba(0, 0, 0, .30);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.tcw-modal:has(.tcw-file-prototype-upload) {
|
|
323
|
+
width: min(800px, calc(100vw - 36px));
|
|
324
|
+
height: min(552px, calc(100vh - 36px));
|
|
325
|
+
max-height: min(552px, calc(100vh - 36px));
|
|
326
|
+
transform: translateY(-2px);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.tcw-modal:has(.tcw-file-prototype-upload) > .tcw-modal-body {
|
|
330
|
+
padding: 10px 14px;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.tcw-modal:has(.tcw-file-prototype-upload) > header {
|
|
334
|
+
min-height: 48px;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.tcw-modal:has(.tcw-file-prototype-upload) > footer {
|
|
338
|
+
min-height: 48px;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.tcw-file-prototype-upload-grid {
|
|
342
|
+
grid-template-columns: 280px minmax(0, 1fr);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.tcw-file-prototype-upload-grid > section:last-child > h3 {
|
|
346
|
+
margin: 0;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.tcw-file-prototype-upload-grid > section:first-child {
|
|
350
|
+
gap: 8px;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.tcw-file-prototype-upload .tcw-form-field > :is(input, select) {
|
|
354
|
+
height: 32px;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.tcw-modal:has(.tcw-file-prototype-detail) {
|
|
358
|
+
width: min(660px, calc(100vw - 36px));
|
|
359
|
+
height: min(548px, calc(100vh - 36px));
|
|
360
|
+
max-height: min(548px, calc(100vh - 36px));
|
|
361
|
+
transform: translate(8px, 0);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.tcw-modal:has(.tcw-file-prototype-detail) > .tcw-modal-body {
|
|
365
|
+
padding: 6px 14px 1px;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.tcw-modal:has(.tcw-file-prototype-detail) > footer {
|
|
369
|
+
min-height: 50px;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.tcw-file-prototype-detail-grid {
|
|
373
|
+
grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.tcw-file-prototype-detail .tcw-file-prototype-summary {
|
|
377
|
+
height: 84px;
|
|
378
|
+
gap: 4px 10px;
|
|
379
|
+
margin-bottom: 10px;
|
|
380
|
+
padding-bottom: 6px;
|
|
381
|
+
font-size: 11px;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.tcw-file-prototype-detail .tcw-file-prototype-summary > div,
|
|
385
|
+
.tcw-file-prototype-detail-block dl > div {
|
|
386
|
+
grid-template-columns: 60px minmax(0, 1fr);
|
|
387
|
+
gap: 6px;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.tcw-file-prototype-detail-grid > aside {
|
|
391
|
+
font-size: 11px;
|
|
392
|
+
line-height: 1.45;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.tcw-file-prototype-detail-block {
|
|
396
|
+
margin-bottom: 10px;
|
|
397
|
+
padding-bottom: 10px;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.tcw-file-prototype-detail-block dl {
|
|
401
|
+
gap: 7px;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.tcw-file-prototype-detail-block p {
|
|
405
|
+
margin: 6px 0;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.tcw-file-prototype-document {
|
|
409
|
+
min-height: 284px;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.tcw-modal:has(.tcw-file-prototype-editor) {
|
|
413
|
+
width: min(700px, calc(100vw - 36px));
|
|
414
|
+
height: min(560px, calc(100vh - 36px));
|
|
415
|
+
max-height: min(560px, calc(100vh - 36px));
|
|
416
|
+
transform: translate(10px, 8px);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.tcw-modal:has(.tcw-file-prototype-editor) > .tcw-modal-body {
|
|
420
|
+
padding: 10px 14px;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.tcw-modal:has(.tcw-file-prototype-editor) > footer {
|
|
424
|
+
min-height: 48px;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.tcw-file-prototype-editor {
|
|
428
|
+
grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
|
|
429
|
+
gap: 10px;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.tcw-file-prototype-editor-fields {
|
|
433
|
+
gap: 10px;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.tcw-file-prototype-editor-fields > section {
|
|
437
|
+
gap: 6px;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) {
|
|
441
|
+
width: min(560px, calc(100vw - 36px));
|
|
442
|
+
height: min(392px, calc(100vh - 36px));
|
|
443
|
+
min-height: min(392px, calc(100vh - 36px));
|
|
444
|
+
max-height: min(392px, calc(100vh - 36px));
|
|
445
|
+
transform: translateY(8px);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > header {
|
|
449
|
+
position: relative;
|
|
450
|
+
min-height: 50px;
|
|
451
|
+
padding-inline: 18px;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > header::before {
|
|
455
|
+
position: absolute;
|
|
456
|
+
left: 18px;
|
|
457
|
+
content: "\ea20";
|
|
458
|
+
color: #ff9f1a;
|
|
459
|
+
font-family: remixicon;
|
|
460
|
+
font-size: 18px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > header h2 {
|
|
464
|
+
padding-left: 32px;
|
|
465
|
+
font-size: 17px;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > .tcw-modal-body {
|
|
469
|
+
padding: 0 18px 8px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.tcw-sales-file-delete-dialog {
|
|
473
|
+
gap: 10px;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
.tcw-sales-file-delete-dialog dl {
|
|
477
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
478
|
+
min-height: 78px;
|
|
479
|
+
align-content: center;
|
|
480
|
+
gap: 6px 10px;
|
|
481
|
+
padding: 7px 10px;
|
|
482
|
+
font-size: 11px;
|
|
483
|
+
line-height: 1.3;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.tcw-sales-file-delete-dialog dd {
|
|
487
|
+
margin-top: 4px;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > footer {
|
|
491
|
+
min-height: 50px;
|
|
492
|
+
align-items: flex-start;
|
|
493
|
+
padding-top: 8px;
|
|
494
|
+
padding-inline: 18px;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > footer .tcw-button {
|
|
498
|
+
gap: 4px;
|
|
499
|
+
min-width: 108px;
|
|
500
|
+
min-height: 36px;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.tcw-modal:has(.tcw-sales-file-delete-dialog) > footer .tcw-button i {
|
|
504
|
+
font-size: 12px;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
@media (max-width: 980px) {
|
|
509
|
+
.tcw-page-sales-files:has(.tcw-file-prototype-editor) .tcw-page-heading {
|
|
510
|
+
position: sticky;
|
|
511
|
+
top: 0;
|
|
512
|
+
z-index: 1;
|
|
513
|
+
background: var(--tcw-canvas);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.tcw-file-prototype-page:has(.tcw-file-prototype-editor) .tcw-file-prototype-list > .tcw-sales-heading {
|
|
517
|
+
position: sticky;
|
|
518
|
+
top: 104px;
|
|
519
|
+
min-height: 156px;
|
|
520
|
+
margin-bottom: 28px;
|
|
521
|
+
padding-bottom: 16px;
|
|
522
|
+
z-index: 1;
|
|
523
|
+
background: var(--tcw-canvas);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.tcw-file-prototype-page:has(.tcw-file-prototype-editor) .tcw-file-prototype-list > .tcw-filter-panel {
|
|
527
|
+
margin-top: 8px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.tcw-file-prototype-list .tcw-filter-grid,
|
|
531
|
+
.tcw-file-prototype-upload-grid,
|
|
532
|
+
.tcw-file-prototype-detail-grid,
|
|
533
|
+
.tcw-file-prototype-editor,
|
|
534
|
+
.tcw-file-prototype-editor-fields {
|
|
535
|
+
grid-template-columns: 1fr;
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.tcw-file-prototype-heading-actions {
|
|
539
|
+
width: 100%;
|
|
540
|
+
flex-wrap: wrap;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.tcw-file-prototype-detail-grid > aside {
|
|
544
|
+
border-left: 0;
|
|
545
|
+
padding-left: 0;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
@@ -10,6 +10,7 @@ export type SalesFilesPageProps = {
|
|
|
10
10
|
activeOrder?: SalesOrderRow | null;
|
|
11
11
|
initialView?: 'archive' | 'generation';
|
|
12
12
|
visualPrototypeState?: 'upload' | 'form-editor';
|
|
13
|
+
onPrototypeStateClose?: () => void;
|
|
13
14
|
banks: BankAccountRow[];
|
|
14
15
|
busy: boolean;
|
|
15
16
|
onQuery: (collection: 'salesFileOrders' | 'generatedFiles', query: {
|
|
@@ -39,7 +40,7 @@ export declare function ArchivedSalesFilesPanel({ files, orders, busy, onQuery,
|
|
|
39
40
|
onQuery: (page: number, pageSize: PaginationPageSize, filters: FilterState) => Promise<void> | void;
|
|
40
41
|
onDetail: (file: GeneratedSalesFileRow) => void;
|
|
41
42
|
onDownload: (file: GeneratedSalesFileRow) => void;
|
|
42
|
-
onExcelEdit
|
|
43
|
+
onExcelEdit?: (file: GeneratedSalesFileRow) => void;
|
|
43
44
|
onDelete: (file: GeneratedSalesFileRow) => void;
|
|
44
45
|
onGenerate?: () => void;
|
|
45
46
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -47,7 +48,7 @@ export declare function ArchivedSalesFileActions({ file, onDetail, onDownload, o
|
|
|
47
48
|
file: GeneratedSalesFileRow;
|
|
48
49
|
onDetail: (file: GeneratedSalesFileRow) => void;
|
|
49
50
|
onDownload: (file: GeneratedSalesFileRow) => void;
|
|
50
|
-
onExcelEdit
|
|
51
|
+
onExcelEdit?: (file: GeneratedSalesFileRow) => void;
|
|
51
52
|
onDelete: (file: GeneratedSalesFileRow) => void;
|
|
52
53
|
}): import("react/jsx-runtime").JSX.Element;
|
|
53
54
|
export declare function SalesFileUploadDialog({ busy, orders, onClose }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../../../src/lib/remote-ui/pages/files.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAsC,WAAW,EAAE,kBAAkB,EAAmB,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAChJ,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AACtJ,OAAO,KAAK,EAAE,eAAe,EAA4B,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAI9F,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,mBAAmB,CAAA;AAC1B,OAAO,uBAAuB,CAAA;AAc9B,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,mBAAmB,CAAC,aAAa,CAAC,CAAA;IAC1C,OAAO,EAAE,mBAAmB,CAAC,qB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