@chenchaolong/plugin-trade-compliance-workbench 1.0.17 → 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.
Files changed (74) hide show
  1. package/dist/lib/domain/contract-number.js +2 -2
  2. package/dist/lib/domain/contract-number.js.map +1 -1
  3. package/dist/lib/remote-components/trade-compliance-workbench/app.css +1 -1
  4. package/dist/lib/remote-components/trade-compliance-workbench/app.js +5 -5
  5. package/dist/lib/remote-ui/app-source.d.ts.map +1 -1
  6. package/dist/lib/remote-ui/app-source.js +271 -48
  7. package/dist/lib/remote-ui/app-source.js.map +1 -1
  8. package/dist/lib/remote-ui/components/forms.js +1 -1
  9. package/dist/lib/remote-ui/components/forms.js.map +1 -1
  10. package/dist/lib/remote-ui/components/layout.d.ts +3 -2
  11. package/dist/lib/remote-ui/components/layout.d.ts.map +1 -1
  12. package/dist/lib/remote-ui/components/layout.js +4 -4
  13. package/dist/lib/remote-ui/components/layout.js.map +1 -1
  14. package/dist/lib/remote-ui/components/task-status.d.ts +20 -0
  15. package/dist/lib/remote-ui/components/task-status.d.ts.map +1 -0
  16. package/dist/lib/remote-ui/components/task-status.js +30 -0
  17. package/dist/lib/remote-ui/components/task-status.js.map +1 -0
  18. package/dist/lib/remote-ui/contract-import.d.ts.map +1 -1
  19. package/dist/lib/remote-ui/contract-import.js +6 -2
  20. package/dist/lib/remote-ui/contract-import.js.map +1 -1
  21. package/dist/lib/remote-ui/import-task-status.d.ts +10 -0
  22. package/dist/lib/remote-ui/import-task-status.d.ts.map +1 -0
  23. package/dist/lib/remote-ui/import-task-status.js +236 -0
  24. package/dist/lib/remote-ui/import-task-status.js.map +1 -0
  25. package/dist/lib/remote-ui/model.d.ts.map +1 -1
  26. package/dist/lib/remote-ui/model.js +2 -1
  27. package/dist/lib/remote-ui/model.js.map +1 -1
  28. package/dist/lib/remote-ui/pages/analytics-prototype.css +307 -0
  29. package/dist/lib/remote-ui/pages/catalogs.css +681 -0
  30. package/dist/lib/remote-ui/pages/catalogs.d.ts +5 -3
  31. package/dist/lib/remote-ui/pages/catalogs.d.ts.map +1 -1
  32. package/dist/lib/remote-ui/pages/catalogs.js +6 -6
  33. package/dist/lib/remote-ui/pages/catalogs.js.map +1 -1
  34. package/dist/lib/remote-ui/pages/contracts.css +259 -0
  35. package/dist/lib/remote-ui/pages/contracts.d.ts.map +1 -1
  36. package/dist/lib/remote-ui/pages/contracts.js +36 -13
  37. package/dist/lib/remote-ui/pages/contracts.js.map +1 -1
  38. package/dist/lib/remote-ui/pages/files-prototype.css +547 -0
  39. package/dist/lib/remote-ui/pages/files.d.ts +3 -2
  40. package/dist/lib/remote-ui/pages/files.d.ts.map +1 -1
  41. package/dist/lib/remote-ui/pages/files.js +15 -15
  42. package/dist/lib/remote-ui/pages/files.js.map +1 -1
  43. package/dist/lib/remote-ui/pages/procurement-contracts.css +939 -0
  44. package/dist/lib/remote-ui/pages/procurement.js +1 -1
  45. package/dist/lib/remote-ui/pages/procurement.js.map +1 -1
  46. package/dist/lib/remote-ui/pages/sales-files.css +512 -0
  47. package/dist/lib/remote-ui/pages/sales.js +2 -2
  48. package/dist/lib/remote-ui/pages/sales.js.map +1 -1
  49. package/dist/lib/remote-ui/pages/settings.css +178 -0
  50. package/dist/lib/remote-ui/pages/settings.js +1 -1
  51. package/dist/lib/remote-ui/pages/settings.js.map +1 -1
  52. package/dist/lib/remote-ui/polling.d.ts +1 -1
  53. package/dist/lib/remote-ui/polling.d.ts.map +1 -1
  54. package/dist/lib/remote-ui/polling.js +4 -2
  55. package/dist/lib/remote-ui/polling.js.map +1 -1
  56. package/dist/lib/remote-ui/purchase-review-adapter.d.ts +4 -0
  57. package/dist/lib/remote-ui/purchase-review-adapter.d.ts.map +1 -0
  58. package/dist/lib/remote-ui/purchase-review-adapter.js +78 -0
  59. package/dist/lib/remote-ui/purchase-review-adapter.js.map +1 -0
  60. package/dist/lib/remote-ui/styles.css +588 -0
  61. package/dist/lib/sales-file.service.d.ts.map +1 -1
  62. package/dist/lib/sales-file.service.js +19 -7
  63. package/dist/lib/sales-file.service.js.map +1 -1
  64. package/dist/lib/workbench-view.provider.d.ts +24 -0
  65. package/dist/lib/workbench-view.provider.d.ts.map +1 -1
  66. package/dist/lib/workbench-view.provider.js +19 -4
  67. package/dist/lib/workbench-view.provider.js.map +1 -1
  68. package/dist/lib/workbench.plugin.d.ts.map +1 -1
  69. package/dist/lib/workbench.plugin.js +1 -2
  70. package/dist/lib/workbench.plugin.js.map +1 -1
  71. package/dist/lib/workbench.service.d.ts.map +1 -1
  72. package/dist/lib/workbench.service.js +36 -10
  73. package/dist/lib/workbench.service.js.map +1 -1
  74. package/package.json +4 -1
@@ -0,0 +1,681 @@
1
+ .tcw-catalog-page {
2
+ display: grid;
3
+ gap: 14px;
4
+ }
5
+
6
+ .tcw-main:has(.tcw-catalog-page),
7
+ .tcw-content:has(.tcw-catalog-page) {
8
+ background: #fff;
9
+ }
10
+
11
+ .tcw-content:has(> .tcw-catalog-page) > .tcw-page-heading {
12
+ position: sticky;
13
+ top: 0;
14
+ z-index: 8;
15
+ margin-bottom: 12px;
16
+ padding: 0 0 8px;
17
+ background: #fff;
18
+ }
19
+
20
+ .tcw-catalog-page--controlled {
21
+ margin: 10px 6px 0 16px;
22
+ }
23
+
24
+ .tcw-catalog-page--sanction {
25
+ margin: 8px 6px 0 16px;
26
+ }
27
+
28
+ .tcw-catalog-page > .tcw-filter-panel,
29
+ .tcw-catalog-page > .tcw-notice {
30
+ margin-bottom: 0;
31
+ }
32
+
33
+ .tcw-catalog-page > .tcw-filter-panel {
34
+ padding: 10px 12px;
35
+ border-radius: 7px;
36
+ }
37
+
38
+ .tcw-catalog-page .tcw-filter-grid {
39
+ gap: 8px 10px;
40
+ }
41
+
42
+ .tcw-catalog-page--controlled .tcw-filter-grid {
43
+ grid-template-columns: minmax(150px, .75fr) minmax(190px, 1.08fr) minmax(190px, 1.02fr) minmax(190px, 1.02fr) auto;
44
+ }
45
+
46
+ .tcw-catalog-page--sanction .tcw-filter-grid {
47
+ grid-template-columns: repeat(4, minmax(150px, 1fr)) minmax(250px, 1.35fr);
48
+ row-gap: 8px;
49
+ }
50
+
51
+ .tcw-catalog-page--sanction > .tcw-filter-panel {
52
+ padding-bottom: 10px;
53
+ }
54
+
55
+ .tcw-catalog-page--sanction .tcw-filter-actions {
56
+ grid-column: 5;
57
+ grid-row: 2;
58
+ justify-self: end;
59
+ }
60
+
61
+ .tcw-catalog-page .tcw-filter-control {
62
+ gap: 6px;
63
+ }
64
+
65
+ .tcw-catalog-page .tcw-filter-control > span {
66
+ color: #182033;
67
+ font-size: 13px;
68
+ font-weight: 650;
69
+ }
70
+
71
+ .tcw-catalog-page .tcw-filter-control input,
72
+ .tcw-catalog-page .tcw-filter-control select {
73
+ height: 32px;
74
+ }
75
+
76
+ .tcw-catalog-page .tcw-filter-actions .tcw-button {
77
+ min-height: 34px;
78
+ padding-inline: 16px;
79
+ }
80
+
81
+ .tcw-catalog-page > .tcw-notice {
82
+ min-height: 40px;
83
+ align-items: center;
84
+ padding: 8px 14px;
85
+ border-radius: 7px;
86
+ }
87
+
88
+ .tcw-catalog-page > .tcw-grid-section {
89
+ min-width: 0;
90
+ max-width: 100%;
91
+ margin-top: 4px;
92
+ border-radius: 7px;
93
+ }
94
+
95
+ .tcw-catalog-page .tcw-table-scroll {
96
+ position: relative;
97
+ max-width: 100%;
98
+ max-height: none;
99
+ overflow-x: auto;
100
+ overflow-y: visible;
101
+ }
102
+
103
+ .tcw-contract-action-table .tcw-table-scroll {
104
+ max-height: none;
105
+ overflow-y: visible;
106
+ }
107
+
108
+ .tcw-catalog-page .tcw-data-table th,
109
+ .tcw-catalog-page .tcw-data-table td {
110
+ height: 36px;
111
+ padding-inline: 10px;
112
+ }
113
+
114
+ .tcw-catalog-page .tcw-data-table .action-column {
115
+ position: sticky !important;
116
+ right: 0 !important;
117
+ overflow: visible;
118
+ background: #fff;
119
+ z-index: 5;
120
+ }
121
+
122
+ .tcw-catalog-page .tcw-data-table th.action-column {
123
+ background: #f6f8fb;
124
+ z-index: 6;
125
+ }
126
+
127
+ .tcw-catalog-page .tcw-data-table td.action-column > .tcw-row-actions {
128
+ min-width: 0;
129
+ justify-content: flex-start;
130
+ gap: 10px;
131
+ }
132
+
133
+ .tcw-catalog-page .tcw-catalog-operation-button {
134
+ display: inline-flex;
135
+ min-width: 58px;
136
+ align-items: center;
137
+ justify-content: center;
138
+ gap: 3px;
139
+ overflow: visible;
140
+ }
141
+
142
+ .tcw-catalog-page .tcw-catalog-operation-button > i {
143
+ flex: 0 0 auto;
144
+ }
145
+
146
+ .tcw-catalog-page .tcw-pagination {
147
+ min-height: 48px;
148
+ padding-inline: 12px;
149
+ }
150
+
151
+ .tcw-catalog-page .tcw-catalog-table-link {
152
+ display: block;
153
+ min-width: 0;
154
+ max-width: 100%;
155
+ }
156
+
157
+ .tcw-catalog-page .tcw-catalog-table-link button {
158
+ display: inline-flex;
159
+ max-width: 100%;
160
+ min-width: 0;
161
+ align-items: center;
162
+ gap: 4px;
163
+ overflow: hidden;
164
+ text-overflow: ellipsis;
165
+ white-space: nowrap;
166
+ }
167
+
168
+ .tcw-catalog-page .tcw-catalog-table-link button > i {
169
+ flex: 0 0 auto;
170
+ }
171
+
172
+ .tcw-catalog-page .tcw-catalog-table-link button > span {
173
+ min-width: 0;
174
+ overflow: hidden;
175
+ text-overflow: ellipsis;
176
+ white-space: nowrap;
177
+ }
178
+
179
+ .tcw-catalog-dialog .tcw-field-grid {
180
+ gap: 10px;
181
+ }
182
+
183
+ .tcw-catalog-manual-source {
184
+ display: flex;
185
+ align-items: center;
186
+ gap: 8px;
187
+ margin: -4px 0 12px;
188
+ padding: 0 10px 12px;
189
+ border-bottom: 1px solid #e1e6ee;
190
+ color: #5e697a;
191
+ }
192
+
193
+ .tcw-catalog-source-badge,
194
+ .tcw-catalog-type-badge {
195
+ display: inline-flex;
196
+ align-items: center;
197
+ min-height: 26px;
198
+ padding: 3px 9px;
199
+ border-radius: 4px;
200
+ color: #315274;
201
+ background: #edf3fb;
202
+ font-weight: 600;
203
+ }
204
+
205
+ .tcw-catalog-dialog .tcw-form-field {
206
+ position: relative;
207
+ }
208
+
209
+ .tcw-catalog-dialog .tcw-form-field input,
210
+ .tcw-catalog-dialog .tcw-form-field select {
211
+ height: 32px;
212
+ }
213
+
214
+ .tcw-catalog-dialog .tcw-form-field textarea {
215
+ width: 100%;
216
+ min-height: 96px;
217
+ padding-bottom: 9px;
218
+ }
219
+
220
+ .tcw-counted-textarea {
221
+ display: grid;
222
+ min-width: 0;
223
+ gap: 4px;
224
+ }
225
+
226
+ .tcw-catalog-dialog .tcw-character-count {
227
+ position: static;
228
+ justify-self: end;
229
+ padding-right: 2px;
230
+ color: #7a8598;
231
+ font-variant-numeric: tabular-nums;
232
+ line-height: 1.2;
233
+ }
234
+
235
+ .tcw-modal-backdrop:has(.tcw-catalog-dialog) {
236
+ background: rgba(255, 255, 255, .68);
237
+ backdrop-filter: blur(2px);
238
+ }
239
+
240
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-create) {
241
+ width: min(560px, calc(100vw - 40px));
242
+ height: min(520px, calc(100vh - 40px));
243
+ transform: translate(-5px, 8px);
244
+ }
245
+
246
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-create) {
247
+ width: min(560px, calc(100vw - 40px));
248
+ height: min(570px, calc(100vh - 40px));
249
+ transform: translateY(12px);
250
+ }
251
+
252
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-review) {
253
+ width: min(820px, calc(100vw - 40px));
254
+ height: 470px;
255
+ transform: translateY(32px);
256
+ }
257
+
258
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-review) {
259
+ width: min(820px, calc(100vw - 40px));
260
+ height: min(550px, calc(100vh - 40px));
261
+ transform: translateY(10px);
262
+ }
263
+
264
+ .tcw-modal:has(.tcw-catalog-dialog) > header,
265
+ .tcw-modal:has(.tcw-catalog-replace-dialog) > header {
266
+ min-height: 50px;
267
+ padding-inline: 16px;
268
+ }
269
+
270
+ .tcw-modal:has(.tcw-catalog-dialog) > footer,
271
+ .tcw-modal:has(.tcw-catalog-replace-dialog) > footer {
272
+ min-height: 52px;
273
+ padding-inline: 16px;
274
+ }
275
+
276
+ .tcw-modal:has(.tcw-catalog-dialog) > .tcw-modal-body {
277
+ padding: 12px 16px;
278
+ }
279
+
280
+ .tcw-modal:has(.tcw-catalog-dialog--review) > .tcw-modal-body {
281
+ padding: 8px 16px;
282
+ }
283
+
284
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-review) > footer {
285
+ min-height: 52px;
286
+ }
287
+
288
+ .tcw-catalog-dialog--controlled-create .tcw-form-field,
289
+ .tcw-catalog-dialog--sanction-create .tcw-form-field {
290
+ grid-template-columns: 112px minmax(0, 1fr);
291
+ align-items: start;
292
+ column-gap: 12px;
293
+ }
294
+
295
+ .tcw-catalog-dialog--controlled-create .tcw-form-field > span,
296
+ .tcw-catalog-dialog--sanction-create .tcw-form-field > span {
297
+ padding-top: 8px;
298
+ }
299
+
300
+ .tcw-catalog-dialog--controlled-create .tcw-form-field > small:not(.tcw-character-count),
301
+ .tcw-catalog-dialog--sanction-create .tcw-form-field > small:not(.tcw-character-count) {
302
+ grid-column: 2;
303
+ }
304
+
305
+ .tcw-catalog-dialog--controlled-create .tcw-counted-textarea,
306
+ .tcw-catalog-dialog--sanction-create .tcw-counted-textarea {
307
+ grid-column: 2;
308
+ }
309
+
310
+ .tcw-catalog-dialog--controlled-create .tcw-form-field textarea,
311
+ .tcw-catalog-dialog--sanction-create .tcw-form-field textarea {
312
+ min-height: 72px;
313
+ }
314
+
315
+ .tcw-catalog-dialog--controlled-create .tcw-field-grid {
316
+ gap: 10px;
317
+ }
318
+
319
+ .tcw-catalog-dialog--controlled-create .tcw-form-field input,
320
+ .tcw-catalog-dialog--controlled-create .tcw-form-field select {
321
+ height: 32px;
322
+ }
323
+
324
+ .tcw-catalog-dialog--review .tcw-review-split {
325
+ min-height: 100%;
326
+ }
327
+
328
+ .tcw-catalog-dialog--review .tcw-review-split > section {
329
+ padding-inline: 12px;
330
+ }
331
+
332
+ .tcw-catalog-dialog--review .tcw-review-split > section:first-child {
333
+ padding-left: 0;
334
+ }
335
+
336
+ .tcw-catalog-dialog--review .tcw-review-split > section:last-child {
337
+ padding-right: 0;
338
+ }
339
+
340
+ .tcw-catalog-dialog--sanction-review .tcw-review-split > section:last-child .tcw-form-field:last-child textarea {
341
+ min-height: 128px;
342
+ }
343
+
344
+ @media (min-width: 901px) {
345
+ .tcw-modal-backdrop:has(.tcw-catalog-dialog--controlled-review) {
346
+ background: rgba(0, 0, 0, .4);
347
+ backdrop-filter: none;
348
+ }
349
+
350
+ .tcw-modal-backdrop:has(.tcw-catalog-dialog--controlled-create) {
351
+ background: rgba(0, 0, 0, .3);
352
+ backdrop-filter: none;
353
+ }
354
+
355
+ .tcw-modal-backdrop:has(.tcw-catalog-dialog--sanction-create) {
356
+ background: rgba(0, 0, 0, .2);
357
+ backdrop-filter: none;
358
+ }
359
+
360
+ .tcw-modal-backdrop:has(.tcw-catalog-dialog--sanction-review) {
361
+ background: rgba(0, 0, 0, .04);
362
+ backdrop-filter: blur(36px);
363
+ }
364
+
365
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-review) {
366
+ transform: translate(8px, 32px);
367
+ }
368
+
369
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-create) > footer { min-height: 52px; }
370
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-review) > footer { min-height: 52px; }
371
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-create) > footer { min-height: 52px; }
372
+
373
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-create) > footer .tcw-button,
374
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-create) > footer .tcw-button { min-height: 36px; }
375
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-review) > footer .tcw-button { min-height: 36px; }
376
+
377
+ .tcw-catalog-dialog--controlled-create .tcw-field-grid { gap: 10px; }
378
+ .tcw-catalog-dialog--sanction-create .tcw-field-grid { gap: 10px; }
379
+
380
+ .tcw-modal:has(.tcw-catalog-dialog--controlled-review) > .tcw-modal-body { padding: 8px 16px; }
381
+ .tcw-catalog-dialog--controlled-review .tcw-review-split > section:first-child .tcw-field-grid { gap: 8px; }
382
+ .tcw-catalog-dialog--controlled-review .tcw-review-split > section:last-child { padding-top: 2px; }
383
+ .tcw-catalog-dialog--controlled-review .tcw-review-split > section:last-child .tcw-field-grid { gap: 10px; }
384
+ .tcw-catalog-dialog--controlled-review .tcw-review-split > section:first-child textarea { height: 88px; min-height: 88px; max-height: 88px; }
385
+ .tcw-catalog-dialog--controlled-review .tcw-review-split > section:last-child .tcw-form-field:last-child textarea { height: 80px; min-height: 80px; max-height: 80px; }
386
+
387
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-review) > .tcw-modal-body { padding: 8px 16px; }
388
+ .tcw-catalog-dialog--sanction-review .tcw-review-split > section:first-child .tcw-field-grid { gap: 12.5px; }
389
+ .tcw-catalog-dialog--sanction-review .tcw-review-split > section:last-child .tcw-field-grid { gap: 10.5px; }
390
+ .tcw-catalog-dialog--sanction-review .tcw-review-split > section:first-child .tcw-form-field:nth-child(5) textarea { height: 80px; min-height: 80px; max-height: 80px; }
391
+ .tcw-catalog-dialog--sanction-review .tcw-review-split > section:first-child .tcw-form-field:nth-child(6) textarea { height: 65px; min-height: 65px; max-height: 65px; }
392
+
393
+ .tcw-modal:has(.tcw-catalog-dialog--sanction-create) > .tcw-modal-body { padding: 12px 16px; }
394
+ .tcw-catalog-dialog--sanction-create .tcw-catalog-manual-source { margin-bottom: 9px; }
395
+ .tcw-catalog-dialog--sanction-create .tcw-form-field input,
396
+ .tcw-catalog-dialog--sanction-create .tcw-form-field select { height: 32px; }
397
+
398
+ :is(.tcw-catalog-dialog--controlled-create, .tcw-catalog-dialog--sanction-create) .tcw-counted-textarea {
399
+ position: relative;
400
+ gap: 4px;
401
+ }
402
+
403
+ :is(.tcw-catalog-dialog--controlled-create, .tcw-catalog-dialog--sanction-create) .tcw-form-field textarea {
404
+ height: 72px;
405
+ min-height: 72px;
406
+ max-height: 72px;
407
+ }
408
+
409
+ :is(.tcw-catalog-dialog--controlled-create, .tcw-catalog-dialog--sanction-create) .tcw-character-count {
410
+ position: static;
411
+ }
412
+ }
413
+
414
+ .tcw-modal:has(.tcw-catalog-replace-dialog) {
415
+ width: min(550px, calc(100vw - 40px));
416
+ transform: translateY(64px);
417
+ }
418
+
419
+ .tcw-modal-backdrop:has(.tcw-catalog-replace-dialog--controlled) {
420
+ background: rgba(0, 4, 14, .475);
421
+ }
422
+
423
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) {
424
+ grid-template-rows: 56px minmax(0, 1fr) 82px;
425
+ width: min(550px, calc(100vw - 40px));
426
+ height: min(390px, calc(100vh - 40px));
427
+ transform: translateY(48px);
428
+ }
429
+
430
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > header {
431
+ position: relative;
432
+ padding-inline: 36px;
433
+ }
434
+
435
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > header::before {
436
+ position: absolute;
437
+ left: 36px;
438
+ color: #f5222d;
439
+ content: "\ea20";
440
+ font-family: remixicon;
441
+ font-size: 20px;
442
+ transform: translateY(9px);
443
+ }
444
+
445
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > header > * {
446
+ transform: translateY(9px);
447
+ }
448
+
449
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > header h2 {
450
+ padding-left: 48px;
451
+ }
452
+
453
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > footer .tcw-button {
454
+ min-height: 38px;
455
+ }
456
+
457
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > footer .tcw-button--secondary {
458
+ min-width: 124px;
459
+ }
460
+
461
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > footer {
462
+ align-items: flex-start;
463
+ gap: 12px;
464
+ padding-top: 14px;
465
+ padding-inline: 30px;
466
+ }
467
+
468
+ .tcw-modal:has(.tcw-catalog-replace-dialog) > .tcw-modal-body {
469
+ padding: 18px 36px 6px;
470
+ }
471
+
472
+ .tcw-modal:has(.tcw-catalog-replace-dialog--controlled) > .tcw-modal-body {
473
+ padding: 14px 30px 4px;
474
+ }
475
+
476
+ .tcw-catalog-replace-warning {
477
+ display: flex;
478
+ gap: 14px;
479
+ align-items: flex-start;
480
+ margin-bottom: 14px;
481
+ padding: 13px 16px;
482
+ border: 1px solid #ff8b81;
483
+ border-radius: 7px;
484
+ color: #df3c2b;
485
+ background: #fff8f7;
486
+ font-weight: 600;
487
+ line-height: 1.65;
488
+ }
489
+
490
+ .tcw-catalog-replace-warning > i {
491
+ margin-top: 2px;
492
+ font-size: 22px;
493
+ }
494
+
495
+ .tcw-catalog-replace-dialog--controlled .tcw-catalog-replace-warning {
496
+ line-height: 1.5;
497
+ }
498
+
499
+ .tcw-catalog-replace-summary {
500
+ display: grid;
501
+ grid-template-columns: 142px minmax(0, 1fr);
502
+ gap: 14px 14px;
503
+ margin: 0;
504
+ padding: 14px 18px;
505
+ border: 1px solid #d6dee9;
506
+ border-radius: 7px;
507
+ line-height: 1.45;
508
+ }
509
+
510
+ .tcw-catalog-replace-summary dt,
511
+ .tcw-catalog-replace-summary dd {
512
+ margin: 0;
513
+ }
514
+
515
+ .tcw-catalog-replace-summary dt {
516
+ color: #4f5b6d;
517
+ }
518
+
519
+ .tcw-catalog-replace-dialog--controlled .tcw-catalog-replace-summary {
520
+ grid-template-columns: 140px minmax(0, 1fr);
521
+ column-gap: 12px;
522
+ min-height: 112px;
523
+ }
524
+
525
+ .tcw-catalog-replace-count {
526
+ color: #ef3038;
527
+ }
528
+
529
+ .tcw-modal:has(.tcw-catalog-replace-dialog) .tcw-button--danger {
530
+ min-width: 182px;
531
+ background: #e9252d;
532
+ border-color: #e9252d;
533
+ }
534
+
535
+ .tcw-modal-backdrop:has(.tcw-catalog-replace-dialog--sanction) {
536
+ background: rgba(0, 0, 0, .04);
537
+ backdrop-filter: blur(12px);
538
+ }
539
+
540
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) {
541
+ grid-template-rows: 60px minmax(0, 1fr) 76px;
542
+ width: min(540px, calc(100vw - 40px));
543
+ height: min(460px, calc(100vh - 40px));
544
+ transform: translate(-4px, 6px);
545
+ }
546
+
547
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > header {
548
+ position: relative;
549
+ padding-inline: 24px;
550
+ }
551
+
552
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > header::before {
553
+ position: absolute;
554
+ left: 24px;
555
+ color: #f5222d;
556
+ content: "\ea20";
557
+ font-family: remixicon;
558
+ font-size: 20px;
559
+ font-weight: 400;
560
+ }
561
+
562
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > header h2 {
563
+ padding-left: 40px;
564
+ font-size: 18px;
565
+ }
566
+
567
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > .tcw-modal-body {
568
+ padding: 0 24px;
569
+ }
570
+
571
+ .tcw-catalog-replace-dialog--sanction .tcw-catalog-replace-warning {
572
+ min-height: 60px;
573
+ align-items: center;
574
+ margin-bottom: 10px;
575
+ padding: 10px 14px;
576
+ color: #f5222d;
577
+ background: #fffafa;
578
+ }
579
+
580
+ .tcw-catalog-replace-dialog--sanction .tcw-catalog-replace-summary {
581
+ min-height: 132px;
582
+ align-content: center;
583
+ padding-inline: 12px;
584
+ row-gap: 10px;
585
+ }
586
+
587
+ .tcw-catalog-replace-dialog--sanction .tcw-catalog-replace-summary::before {
588
+ grid-column: 1 / -1;
589
+ margin-bottom: 2px;
590
+ color: #253047;
591
+ content: "覆盖信息";
592
+ font-size: 16px;
593
+ font-weight: 700;
594
+ }
595
+
596
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > footer {
597
+ min-height: 56px;
598
+ gap: 10px;
599
+ padding-inline: 20px;
600
+ }
601
+
602
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > footer .tcw-button {
603
+ min-width: 142px;
604
+ min-height: 38px;
605
+ font-size: 14px;
606
+ }
607
+
608
+ .tcw-modal:has(.tcw-catalog-replace-dialog--sanction) > footer .tcw-button--danger {
609
+ min-width: 170px;
610
+ }
611
+
612
+ @media (max-width: 1100px) {
613
+ .tcw-catalog-page--controlled,
614
+ .tcw-catalog-page--sanction {
615
+ margin: 0;
616
+ }
617
+ .tcw-catalog-page--controlled .tcw-filter-grid,
618
+ .tcw-catalog-page--sanction .tcw-filter-grid {
619
+ grid-template-columns: repeat(2, minmax(180px, 1fr));
620
+ }
621
+
622
+ .tcw-catalog-page--sanction .tcw-filter-actions {
623
+ grid-column: auto;
624
+ grid-row: auto;
625
+ justify-self: start;
626
+ }
627
+
628
+ .tcw-catalog-page .tcw-data-table .action-column {
629
+ width: 144px !important;
630
+ min-width: 144px !important;
631
+ max-width: 144px !important;
632
+ padding-inline: 8px;
633
+ }
634
+
635
+ .tcw-catalog-page .tcw-catalog-table-link button {
636
+ width: 100%;
637
+ }
638
+
639
+ .tcw-catalog-page .tcw-catalog-operation-button {
640
+ min-width: 60px;
641
+ gap: 2px;
642
+ padding-inline: 0;
643
+ }
644
+ }
645
+
646
+ @media (max-width: 900px) {
647
+ .tcw-catalog-page .tcw-data-table {
648
+ width: 100% !important;
649
+ min-width: 720px !important;
650
+ table-layout: fixed;
651
+ }
652
+ .tcw-catalog-page .tcw-data-table .action-column {
653
+ width: 144px !important;
654
+ min-width: 144px !important;
655
+ max-width: 144px !important;
656
+ }
657
+
658
+ .tcw-catalog-page .tcw-data-table .action-column i {
659
+ display: inline-block;
660
+ }
661
+
662
+ .tcw-catalog-page .tcw-row-actions {
663
+ transform: translateY(6px);
664
+ }
665
+ }
666
+
667
+ @media (max-width: 640px) {
668
+ .tcw-catalog-page--controlled .tcw-filter-grid,
669
+ .tcw-catalog-page--sanction .tcw-filter-grid {
670
+ grid-template-columns: 1fr;
671
+ }
672
+
673
+ .tcw-catalog-page > .tcw-filter-panel {
674
+ padding: 14px;
675
+ }
676
+
677
+ .tcw-catalog-replace-summary {
678
+ grid-template-columns: 1fr;
679
+ gap: 5px;
680
+ }
681
+ }
@@ -206,17 +206,19 @@ export declare function SanctionedCompanyDialog({ open, mode, item, busy, onClos
206
206
  onSave: (input: SanctionedCompanyInput) => Promise<void>;
207
207
  }): import("react/jsx-runtime").JSX.Element;
208
208
  export declare function validateSanctionedCompanyInput(input: SanctionedCompanyInput): string;
209
- export declare function CatalogImportSummaryNotice({ documentType, batch, busy, onDownload, onView }: {
209
+ export declare function CatalogImportSummaryNotice({ documentType, batch, busy, onDownload, onView, onNotify }: {
210
210
  documentType: CatalogDocumentType;
211
211
  batch: CatalogBatchRow;
212
212
  busy: boolean;
213
213
  onDownload: (documentType: CatalogDocumentType, batchId: string) => Promise<unknown>;
214
214
  onView?: (batchId: string, issueType: CatalogImportIssueType) => Promise<void> | void;
215
+ onNotify?: Notify;
215
216
  }): import("react/jsx-runtime").JSX.Element | null;
216
- export declare function CatalogImportStatusNotice({ task, busy, onRetry }: {
217
+ export declare function CatalogImportStatusNotice({ task, busy, onRetry, onNotify }: {
217
218
  task: CatalogImportTaskRow;
218
219
  busy: boolean;
219
- onRetry: (taskId: string) => Promise<void>;
220
+ onRetry?: (taskId: string) => Promise<void>;
221
+ onNotify?: Notify;
220
222
  }): import("react/jsx-runtime").JSX.Element | null;
221
223
  export declare function CatalogImportIssuesDialog({ open, documentType, batchId, issueType, collection, loading, error, busy, onClose, onIssueTypeChange, onPageChange, onPageSizeChange, onRetry }: {
222
224
  open: boolean;