@chenchaolong/plugin-trade-compliance-workbench 1.0.18 → 1.0.20

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 (96) hide show
  1. package/dist/lib/catalog-import/catalog-import.pipeline.d.ts.map +1 -1
  2. package/dist/lib/catalog-import/catalog-import.pipeline.js +2 -1
  3. package/dist/lib/catalog-import/catalog-import.pipeline.js.map +1 -1
  4. package/dist/lib/catalog-import/confidence.js +2 -2
  5. package/dist/lib/catalog-import/confidence.js.map +1 -1
  6. package/dist/lib/catalog-import/contracts.d.ts +5 -2
  7. package/dist/lib/catalog-import/contracts.d.ts.map +1 -1
  8. package/dist/lib/catalog-import/outcome.d.ts +19 -0
  9. package/dist/lib/catalog-import/outcome.d.ts.map +1 -0
  10. package/dist/lib/catalog-import/outcome.js +18 -0
  11. package/dist/lib/catalog-import/outcome.js.map +1 -0
  12. package/dist/lib/catalog-import/spreadsheet-structure.d.ts +15 -0
  13. package/dist/lib/catalog-import/spreadsheet-structure.d.ts.map +1 -0
  14. package/dist/lib/catalog-import/spreadsheet-structure.js +44 -0
  15. package/dist/lib/catalog-import/spreadsheet-structure.js.map +1 -0
  16. package/dist/lib/catalog-import/spreadsheet.parser.d.ts.map +1 -1
  17. package/dist/lib/catalog-import/spreadsheet.parser.js +71 -0
  18. package/dist/lib/catalog-import/spreadsheet.parser.js.map +1 -1
  19. package/dist/lib/domain/contract-number.js +2 -2
  20. package/dist/lib/domain/contract-number.js.map +1 -1
  21. package/dist/lib/entities/catalog.entity.d.ts +5 -1
  22. package/dist/lib/entities/catalog.entity.d.ts.map +1 -1
  23. package/dist/lib/entities/catalog.entity.js +16 -0
  24. package/dist/lib/entities/catalog.entity.js.map +1 -1
  25. package/dist/lib/remote-components/trade-compliance-workbench/app.css +1 -1
  26. package/dist/lib/remote-components/trade-compliance-workbench/app.js +5 -5
  27. package/dist/lib/remote-ui/app-source.d.ts.map +1 -1
  28. package/dist/lib/remote-ui/app-source.js +208 -67
  29. package/dist/lib/remote-ui/app-source.js.map +1 -1
  30. package/dist/lib/remote-ui/components/forms.js +1 -1
  31. package/dist/lib/remote-ui/components/forms.js.map +1 -1
  32. package/dist/lib/remote-ui/components/task-status.d.ts +2 -1
  33. package/dist/lib/remote-ui/components/task-status.d.ts.map +1 -1
  34. package/dist/lib/remote-ui/components/task-status.js +5 -4
  35. package/dist/lib/remote-ui/components/task-status.js.map +1 -1
  36. package/dist/lib/remote-ui/contracts.d.ts +3 -0
  37. package/dist/lib/remote-ui/contracts.d.ts.map +1 -1
  38. package/dist/lib/remote-ui/import-task-status.d.ts +10 -0
  39. package/dist/lib/remote-ui/import-task-status.d.ts.map +1 -0
  40. package/dist/lib/remote-ui/import-task-status.js +236 -0
  41. package/dist/lib/remote-ui/import-task-status.js.map +1 -0
  42. package/dist/lib/remote-ui/model.d.ts.map +1 -1
  43. package/dist/lib/remote-ui/model.js +2 -1
  44. package/dist/lib/remote-ui/model.js.map +1 -1
  45. package/dist/lib/remote-ui/pages/analytics-prototype.css +307 -0
  46. package/dist/lib/remote-ui/pages/catalogs.css +681 -0
  47. package/dist/lib/remote-ui/pages/catalogs.d.ts +9 -3
  48. package/dist/lib/remote-ui/pages/catalogs.d.ts.map +1 -1
  49. package/dist/lib/remote-ui/pages/catalogs.js +36 -7
  50. package/dist/lib/remote-ui/pages/catalogs.js.map +1 -1
  51. package/dist/lib/remote-ui/pages/contracts.css +259 -0
  52. package/dist/lib/remote-ui/pages/contracts.d.ts.map +1 -1
  53. package/dist/lib/remote-ui/pages/contracts.js +36 -13
  54. package/dist/lib/remote-ui/pages/contracts.js.map +1 -1
  55. package/dist/lib/remote-ui/pages/files-prototype.css +547 -0
  56. package/dist/lib/remote-ui/pages/files.d.ts +3 -2
  57. package/dist/lib/remote-ui/pages/files.d.ts.map +1 -1
  58. package/dist/lib/remote-ui/pages/files.js +15 -15
  59. package/dist/lib/remote-ui/pages/files.js.map +1 -1
  60. package/dist/lib/remote-ui/pages/procurement-contracts.css +939 -0
  61. package/dist/lib/remote-ui/pages/procurement.js +1 -1
  62. package/dist/lib/remote-ui/pages/procurement.js.map +1 -1
  63. package/dist/lib/remote-ui/pages/sales-files.css +512 -0
  64. package/dist/lib/remote-ui/pages/sales.js +2 -2
  65. package/dist/lib/remote-ui/pages/sales.js.map +1 -1
  66. package/dist/lib/remote-ui/pages/settings.css +178 -0
  67. package/dist/lib/remote-ui/pages/settings.js +1 -1
  68. package/dist/lib/remote-ui/pages/settings.js.map +1 -1
  69. package/dist/lib/remote-ui/polling.d.ts +1 -1
  70. package/dist/lib/remote-ui/polling.d.ts.map +1 -1
  71. package/dist/lib/remote-ui/polling.js +4 -2
  72. package/dist/lib/remote-ui/polling.js.map +1 -1
  73. package/dist/lib/remote-ui/purchase-review-adapter.d.ts +4 -0
  74. package/dist/lib/remote-ui/purchase-review-adapter.d.ts.map +1 -0
  75. package/dist/lib/remote-ui/purchase-review-adapter.js +78 -0
  76. package/dist/lib/remote-ui/purchase-review-adapter.js.map +1 -0
  77. package/dist/lib/remote-ui/styles.css +588 -0
  78. package/dist/lib/sales-file.service.d.ts.map +1 -1
  79. package/dist/lib/sales-file.service.js +19 -7
  80. package/dist/lib/sales-file.service.js.map +1 -1
  81. package/dist/lib/types.d.ts +12 -1
  82. package/dist/lib/types.d.ts.map +1 -1
  83. package/dist/lib/types.js +1 -1
  84. package/dist/lib/types.js.map +1 -1
  85. package/dist/lib/workbench-view.provider.d.ts +24 -0
  86. package/dist/lib/workbench-view.provider.d.ts.map +1 -1
  87. package/dist/lib/workbench-view.provider.js +19 -4
  88. package/dist/lib/workbench-view.provider.js.map +1 -1
  89. package/dist/lib/workbench.plugin.d.ts.map +1 -1
  90. package/dist/lib/workbench.plugin.js +1 -2
  91. package/dist/lib/workbench.plugin.js.map +1 -1
  92. package/dist/lib/workbench.service.d.ts +7 -1
  93. package/dist/lib/workbench.service.d.ts.map +1 -1
  94. package/dist/lib/workbench.service.js +276 -75
  95. package/dist/lib/workbench.service.js.map +1 -1
  96. package/package.json +4 -1
@@ -0,0 +1,939 @@
1
+ .tcw-procurement-prototype-surface,
2
+ .tcw-contract-prototype-surface {
3
+ --pc-blue: #0868f2;
4
+ --pc-border: #dbe3ee;
5
+ --pc-text: #121b31;
6
+ color: var(--pc-text);
7
+ font-size: 14px;
8
+ }
9
+
10
+ .tcw-procurement-prototype-surface {
11
+ gap: 10px;
12
+ }
13
+
14
+ .tcw-procurement-level-heading {
15
+ display: flex;
16
+ align-items: flex-start;
17
+ justify-content: space-between;
18
+ gap: 10px;
19
+ margin: 0;
20
+ }
21
+
22
+ .tcw-procurement-level-heading h2 {
23
+ margin: 0;
24
+ color: #10182b;
25
+ font-size: 18px;
26
+ line-height: 1.25;
27
+ }
28
+
29
+ .tcw-procurement-level-heading p {
30
+ margin: 4px 0 0;
31
+ color: #5a6577;
32
+ font-size: 13px;
33
+ }
34
+
35
+ .tcw-procurement-prototype-surface .tcw-filter-panel,
36
+ .tcw-contract-prototype-surface .tcw-filter-panel {
37
+ margin: 0;
38
+ padding: 10px 12px 12px;
39
+ border-color: var(--pc-border);
40
+ border-radius: 7px;
41
+ box-shadow: 0 3px 12px rgba(22, 45, 78, .06);
42
+ }
43
+
44
+ .tcw-procurement-prototype-surface .tcw-filter-grid,
45
+ .tcw-contract-prototype-surface .tcw-filter-grid {
46
+ grid-template-columns: repeat(6, minmax(120px, 1fr)) auto;
47
+ gap: 8px 10px;
48
+ }
49
+
50
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-filter-grid,
51
+ .tcw-procurement-prototype-surface[data-procurement-level="lines"] .tcw-filter-grid {
52
+ grid-template-columns: repeat(5, minmax(140px, 1fr)) auto;
53
+ }
54
+
55
+ .tcw-procurement-prototype-surface .tcw-filter-control,
56
+ .tcw-contract-prototype-surface .tcw-filter-control {
57
+ gap: 7px;
58
+ }
59
+
60
+ .tcw-procurement-prototype-surface .tcw-filter-control > span,
61
+ .tcw-contract-prototype-surface .tcw-filter-control > span {
62
+ color: #1c2639;
63
+ font-size: 13px;
64
+ font-weight: 600;
65
+ }
66
+
67
+ .tcw-procurement-prototype-surface .tcw-filter-control input,
68
+ .tcw-procurement-prototype-surface .tcw-filter-control select,
69
+ .tcw-contract-prototype-surface .tcw-filter-control input,
70
+ .tcw-contract-prototype-surface .tcw-filter-control select {
71
+ height: 34px;
72
+ height: 32px;
73
+ border-color: #ced8e6;
74
+ border-radius: 5px;
75
+ }
76
+
77
+ .tcw-procurement-prototype-surface .tcw-filter-actions,
78
+ .tcw-contract-prototype-surface .tcw-filter-actions {
79
+ align-items: flex-end;
80
+ }
81
+
82
+ .tcw-procurement-prototype-surface .tcw-filter-actions .tcw-button,
83
+ .tcw-contract-prototype-surface .tcw-filter-actions .tcw-button {
84
+ height: 32px;
85
+ min-width: 58px;
86
+ }
87
+
88
+ .tcw-procurement-prototype-surface .tcw-notice,
89
+ .tcw-contract-prototype-surface .tcw-notice {
90
+ min-height: 36px;
91
+ margin: 0;
92
+ padding: 8px 12px;
93
+ border-color: #b9d7ff;
94
+ border-radius: 6px;
95
+ color: #245fa8;
96
+ background: #edf5ff;
97
+ }
98
+
99
+ .tcw-procurement-prototype-surface .tcw-grid-section,
100
+ .tcw-contract-prototype-surface .tcw-grid-section {
101
+ overflow: hidden;
102
+ border-color: var(--pc-border);
103
+ border-radius: 7px;
104
+ box-shadow: 0 3px 12px rgba(22, 45, 78, .06);
105
+ }
106
+
107
+ .tcw-procurement-prototype-surface .tcw-data-table,
108
+ .tcw-contract-prototype-surface .tcw-data-table {
109
+ font-size: 13px;
110
+ }
111
+
112
+ .tcw-procurement-prototype-surface .tcw-data-table th,
113
+ .tcw-contract-prototype-surface .tcw-data-table th {
114
+ height: 36px;
115
+ color: #172033;
116
+ background: #fff;
117
+ font-weight: 650;
118
+ }
119
+
120
+ .tcw-procurement-prototype-surface .tcw-data-table td,
121
+ .tcw-contract-prototype-surface .tcw-data-table td {
122
+ height: 34px;
123
+ }
124
+
125
+ .tcw-procurement-prototype-surface .tcw-row-actions,
126
+ .tcw-contract-prototype-surface .tcw-row-actions {
127
+ gap: 12px;
128
+ white-space: nowrap;
129
+ }
130
+
131
+ .tcw-procurement-prototype-surface .tcw-row-actions button,
132
+ .tcw-contract-prototype-surface .tcw-row-actions button {
133
+ padding: 0;
134
+ color: var(--pc-blue);
135
+ }
136
+
137
+ .tcw-procurement-prototype-surface .tcw-data-table .action-column {
138
+ position: sticky !important;
139
+ right: 0 !important;
140
+ overflow: visible;
141
+ background: #fff;
142
+ z-index: 5;
143
+ }
144
+
145
+ .tcw-procurement-prototype-surface .tcw-data-table th.action-column {
146
+ background: #fff;
147
+ z-index: 6;
148
+ }
149
+
150
+ .tcw-procurement-prototype-surface .tcw-row-actions button i {
151
+ display: inline-block;
152
+ width: 1em;
153
+ height: 1em;
154
+ flex: 0 0 1em;
155
+ line-height: 1;
156
+ }
157
+
158
+ .tcw-procurement-prototype-surface .tcw-pagination,
159
+ .tcw-contract-prototype-surface .tcw-pagination {
160
+ min-height: 48px;
161
+ padding: 6px 12px;
162
+ }
163
+
164
+ .tcw-procurement-context {
165
+ min-height: 52px;
166
+ grid-template-columns: 150px minmax(260px, 1.5fr) 130px 170px auto;
167
+ border-radius: 7px;
168
+ box-shadow: 0 3px 12px rgba(22, 45, 78, .06);
169
+ }
170
+
171
+ .tcw-procurement-context--order {
172
+ grid-template-columns: minmax(300px, 1.5fr) 200px 180px 200px auto;
173
+ }
174
+
175
+ .tcw-procurement-context > div:not(.tcw-procurement-context-actions) {
176
+ min-height: 52px;
177
+ padding: 6px 10px;
178
+ }
179
+
180
+ .tcw-procurement-context strong {
181
+ font-size: 15px;
182
+ }
183
+
184
+ .tcw-procurement-metrics {
185
+ grid-template-columns: .8fr 1.2fr .8fr 1.05fr 1.85fr;
186
+ gap: 8px;
187
+ }
188
+
189
+ .tcw-procurement-metrics > div {
190
+ position: relative;
191
+ min-height: 64px;
192
+ padding: 7px 9px 7px;
193
+ border-radius: 7px;
194
+ }
195
+
196
+ .tcw-procurement-metrics > .tcw-procurement-metric {
197
+ grid-template-columns: 18px minmax(0, 1fr);
198
+ align-items: center;
199
+ gap: 8px;
200
+ }
201
+
202
+ .tcw-procurement-metrics > .tcw-procurement-top {
203
+ padding: 8px 10px;
204
+ }
205
+
206
+ .tcw-procurement-metric-icon {
207
+ position: static;
208
+ color: #3b7cff;
209
+ font-size: 18px;
210
+ line-height: 1;
211
+ }
212
+
213
+ .tcw-procurement-metric--green .tcw-procurement-metric-icon { color: #47c87e; }
214
+ .tcw-procurement-metric--orange .tcw-procurement-metric-icon { color: #ff7c43; }
215
+ .tcw-procurement-metric--violet .tcw-procurement-metric-icon { color: #9b61e8; }
216
+
217
+ .tcw-procurement-metric-copy {
218
+ display: grid;
219
+ min-width: 0;
220
+ }
221
+
222
+ .tcw-procurement-metric-copy > span,
223
+ .tcw-procurement-top > span {
224
+ color: #2f3a4d;
225
+ font-size: 14px;
226
+ }
227
+
228
+ .tcw-procurement-metric-copy > strong {
229
+ margin-top: 4px;
230
+ min-width: 0;
231
+ color: #10182b;
232
+ font-size: 17px;
233
+ overflow-wrap: anywhere;
234
+ }
235
+
236
+ .tcw-procurement-top ol {
237
+ gap: 4px;
238
+ margin-top: 8px;
239
+ }
240
+
241
+ .tcw-procurement-top li::before {
242
+ width: 16px;
243
+ height: 16px;
244
+ flex-basis: 16px;
245
+ }
246
+
247
+ .tcw-procurement-top li strong {
248
+ font-weight: 500;
249
+ }
250
+
251
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-procurement-level-heading {
252
+ position: relative;
253
+ z-index: 2;
254
+ width: fit-content;
255
+ max-width: 620px;
256
+ margin-top: 0;
257
+ margin-bottom: 10px;
258
+ padding: 0 0 3px;
259
+ background: #f7f9fc;
260
+ }
261
+
262
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics {
263
+ grid-template-columns: 197fr 306fr 179fr 212fr 418fr;
264
+ gap: 10px;
265
+ height: auto;
266
+ margin-top: 8px;
267
+ }
268
+
269
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics > .tcw-procurement-metric {
270
+ display: block;
271
+ height: auto;
272
+ min-height: 64px;
273
+ padding: 7px 9px 7px 32px;
274
+ }
275
+
276
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics > .tcw-procurement-top {
277
+ height: auto;
278
+ min-height: 64px;
279
+ padding: 7px 9px;
280
+ }
281
+
282
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metric-icon {
283
+ position: absolute;
284
+ top: 12px;
285
+ left: 9px;
286
+ }
287
+
288
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metric-copy > strong {
289
+ white-space: nowrap;
290
+ }
291
+
292
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-filter-panel {
293
+ margin-top: 6px;
294
+ padding: 8px 12px 10px;
295
+ }
296
+
297
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-filter-panel input,
298
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-filter-panel select {
299
+ height: 32px;
300
+ }
301
+
302
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-grid-section {
303
+ margin-top: 4px;
304
+ }
305
+
306
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-data-table th {
307
+ height: 36px;
308
+ }
309
+
310
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-data-table td {
311
+ height: 32px;
312
+ }
313
+
314
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-status {
315
+ min-height: 24px;
316
+ padding: 2px 9px;
317
+ border-radius: 4px;
318
+ font-size: 12px;
319
+ font-weight: 500;
320
+ }
321
+
322
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-status--success,
323
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-status--warning {
324
+ color: #0b75de;
325
+ background: #e8f3ff;
326
+ }
327
+
328
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-status--muted {
329
+ color: #d46b08;
330
+ background: #fff3e0;
331
+ }
332
+
333
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-status--danger {
334
+ color: #cf1322;
335
+ background: #fff1f0;
336
+ }
337
+
338
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-table-scroll {
339
+ max-height: none;
340
+ overflow-y: visible;
341
+ }
342
+
343
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-pagination {
344
+ min-height: 48px;
345
+ padding: 6px 12px;
346
+ box-shadow: none;
347
+ }
348
+
349
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] > .tcw-filter-panel {
350
+ margin-top: 0;
351
+ padding: 10px 12px 12px;
352
+ }
353
+
354
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] > .tcw-notice {
355
+ min-height: 40px;
356
+ margin-top: 8px;
357
+ }
358
+
359
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] > .tcw-grid-section {
360
+ margin-top: 8px;
361
+ }
362
+
363
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-data-table td {
364
+ height: 36px;
365
+ }
366
+
367
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-data-table {
368
+ width: 100% !important;
369
+ min-width: 100% !important;
370
+ table-layout: fixed;
371
+ }
372
+
373
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-data-table :is(th, td):not(.action-column) {
374
+ width: auto !important;
375
+ min-width: 0 !important;
376
+ max-width: none !important;
377
+ }
378
+
379
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-data-table .action-column {
380
+ width: 190px !important;
381
+ min-width: 190px !important;
382
+ max-width: 190px !important;
383
+ }
384
+
385
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-table-scroll {
386
+ position: relative;
387
+ max-height: min(452px, max(180px, calc(100vh - 516px)));
388
+ overflow-x: auto;
389
+ overflow-y: auto;
390
+ }
391
+
392
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-pagination {
393
+ justify-content: flex-start;
394
+ flex-wrap: wrap;
395
+ min-height: 50px;
396
+ padding: 6px 14px;
397
+ max-width: 100%;
398
+ }
399
+
400
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-pagination-total {
401
+ min-width: 0;
402
+ flex: 0 1 auto;
403
+ }
404
+
405
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-pagination-controls {
406
+ min-width: 0;
407
+ flex: 1 1 auto;
408
+ flex-wrap: wrap;
409
+ justify-content: flex-end;
410
+ overflow: visible;
411
+ max-width: 100%;
412
+ }
413
+
414
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-pagination-pages {
415
+ min-width: 0;
416
+ flex-wrap: wrap;
417
+ }
418
+
419
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-supplier-review) {
420
+ width: min(780px, calc(100vw - 36px));
421
+ max-height: calc(100vh - 48px);
422
+ }
423
+
424
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-line-form) {
425
+ width: min(740px, calc(100vw - 36px));
426
+ height: min(584px, calc(100vh - 36px));
427
+ max-height: none;
428
+ }
429
+
430
+ .tcw-modal-backdrop:has(.tcw-procurement-supplier-review),
431
+ .tcw-modal-backdrop:has(.tcw-procurement-line-form) {
432
+ background: rgba(0, 0, 0, .02);
433
+ }
434
+
435
+ .tcw-procurement-prototype-surface .tcw-modal > header,
436
+ .tcw-contract-prototype-surface .tcw-modal > header {
437
+ min-height: 46px;
438
+ padding: 8px 14px;
439
+ border-bottom: 0;
440
+ }
441
+
442
+ .tcw-procurement-prototype-surface .tcw-modal > footer,
443
+ .tcw-contract-prototype-surface .tcw-modal > footer {
444
+ min-height: 48px;
445
+ padding: 6px 14px 10px;
446
+ border-top: 0;
447
+ }
448
+
449
+ .tcw-procurement-prototype-surface .tcw-modal-body,
450
+ .tcw-contract-prototype-surface .tcw-modal-body {
451
+ padding: 0 14px 8px;
452
+ }
453
+
454
+ .tcw-procurement-dialog-kicker {
455
+ display: flex;
456
+ gap: 8px;
457
+ margin: -2px 0 8px;
458
+ color: #52637d;
459
+ font-size: 12px;
460
+ }
461
+
462
+ .tcw-procurement-supplier-review {
463
+ display: grid;
464
+ grid-template-columns: minmax(0, 1.35fr) minmax(270px, .9fr);
465
+ gap: 10px;
466
+ }
467
+
468
+ .tcw-procurement-supplier-review > .tcw-field-grid {
469
+ display: grid;
470
+ gap: 7px;
471
+ }
472
+
473
+ .tcw-procurement-supplier-review > .tcw-field-grid .tcw-form-field {
474
+ display: grid;
475
+ grid-template-columns: 92px minmax(0, 1fr);
476
+ align-items: center;
477
+ gap: 8px;
478
+ }
479
+
480
+ .tcw-procurement-supplier-review .tcw-form-field input {
481
+ height: 34px;
482
+ }
483
+
484
+ .tcw-procurement-supplier-review aside {
485
+ padding-left: 10px;
486
+ border-left: 1px solid #e5eaf1;
487
+ }
488
+
489
+ .tcw-procurement-supplier-review textarea {
490
+ height: 96px;
491
+ padding: 8px;
492
+ resize: none;
493
+ }
494
+
495
+ .tcw-procurement-supplier-review dl {
496
+ margin: 10px 0 8px;
497
+ border: 1px solid var(--pc-border);
498
+ border-radius: 5px;
499
+ }
500
+
501
+ .tcw-procurement-supplier-review dl > div {
502
+ display: grid;
503
+ grid-template-columns: 110px 1fr;
504
+ min-height: 32px;
505
+ align-items: center;
506
+ padding: 6px 10px;
507
+ border-bottom: 1px solid #e8edf3;
508
+ }
509
+
510
+ .tcw-procurement-supplier-review dl > div:last-child { border-bottom: 0; }
511
+ .tcw-procurement-supplier-review dt { font-weight: 650; }
512
+ .tcw-procurement-supplier-review dd { margin: 0; color: #4b5870; }
513
+
514
+ .tcw-procurement-source-label {
515
+ position: absolute;
516
+ top: 21px;
517
+ left: 132px;
518
+ color: #6b7585;
519
+ font-size: 13px;
520
+ }
521
+
522
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-line-form) {
523
+ position: relative;
524
+ }
525
+
526
+ @media (min-width: 1200px) {
527
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-line-form) {
528
+ transform: translate(20px, 34px);
529
+ }
530
+ }
531
+
532
+ .tcw-procurement-line-form {
533
+ min-height: 424px;
534
+ }
535
+
536
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-line-form) .tcw-field-grid {
537
+ gap: 8px 14px;
538
+ }
539
+
540
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-line-form) .tcw-form-field {
541
+ gap: 6px;
542
+ }
543
+
544
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-line-form) .tcw-form-field input {
545
+ height: 32px;
546
+ }
547
+
548
+ .tcw-procurement-line-status {
549
+ display: flex;
550
+ min-height: 28px;
551
+ align-items: center;
552
+ gap: 10px;
553
+ }
554
+
555
+ .tcw-procurement-line-status label {
556
+ display: flex;
557
+ align-items: center;
558
+ gap: 6px;
559
+ color: #344054;
560
+ white-space: nowrap;
561
+ }
562
+
563
+ .tcw-procurement-prototype-surface .tcw-procurement-line-status input {
564
+ width: 15px;
565
+ height: 15px;
566
+ }
567
+
568
+ .tcw-modal-backdrop:has(.tcw-procurement-delete-summary.is-order) {
569
+ background: rgba(255, 255, 255, .38);
570
+ backdrop-filter: none;
571
+ }
572
+
573
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) {
574
+ grid-template-rows: 54px minmax(0, 1fr) 64px;
575
+ width: min(500px, calc(100vw - 36px));
576
+ height: min(428px, calc(100vh - 36px));
577
+ max-height: none;
578
+ transform: translate(-4px, 24px);
579
+ }
580
+
581
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > header {
582
+ justify-content: flex-start;
583
+ gap: 10px;
584
+ padding: 8px 20px;
585
+ }
586
+
587
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > header h2 {
588
+ margin-right: auto;
589
+ }
590
+
591
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > header::before {
592
+ color: #f5222d;
593
+ content: "\ea20";
594
+ font-family: remixicon;
595
+ font-size: 18px;
596
+ font-style: normal;
597
+ font-weight: 400;
598
+ line-height: 1;
599
+ }
600
+
601
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > .tcw-modal-body {
602
+ padding: 0 20px;
603
+ }
604
+
605
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > footer {
606
+ gap: 8px;
607
+ padding: 8px 20px 12px;
608
+ }
609
+
610
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > footer .tcw-button {
611
+ min-height: 38px;
612
+ font-size: 14px;
613
+ }
614
+
615
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > footer .tcw-button--secondary {
616
+ width: 96px;
617
+ }
618
+
619
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > footer .tcw-button--danger {
620
+ width: 141px;
621
+ }
622
+
623
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) > footer .tcw-button i {
624
+ display: inline-block;
625
+ width: 1em;
626
+ height: 1em;
627
+ flex: 0 0 1em;
628
+ line-height: 1;
629
+ }
630
+
631
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) .tcw-confirm-message,
632
+ .tcw-contract-prototype-surface .tcw-modal:has(.tcw-contract-delete-summary) .tcw-confirm-message {
633
+ display: block;
634
+ padding: 0;
635
+ }
636
+
637
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) .tcw-confirm-message > i,
638
+ .tcw-contract-prototype-surface .tcw-modal:has(.tcw-contract-delete-summary) .tcw-confirm-message > i {
639
+ flex: 0 0 auto;
640
+ margin-top: 2px;
641
+ font-size: 22px;
642
+ }
643
+
644
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) .tcw-confirm-message > p,
645
+ .tcw-contract-prototype-surface .tcw-modal:has(.tcw-contract-delete-summary) .tcw-confirm-message > p {
646
+ margin: 0;
647
+ }
648
+
649
+ .tcw-procurement-delete-warning,
650
+ .tcw-procurement-delete-info {
651
+ display: flex;
652
+ gap: 8px;
653
+ padding: 10px 12px;
654
+ border: 1px solid #ffbaba;
655
+ border-radius: 5px;
656
+ color: #d92d20;
657
+ background: #fff4f4;
658
+ line-height: 1.6;
659
+ }
660
+
661
+ .tcw-procurement-delete-warning i,
662
+ .tcw-procurement-delete-info i {
663
+ flex: 0 0 auto;
664
+ font-size: 18px;
665
+ }
666
+
667
+ .tcw-procurement-delete-details {
668
+ margin: 10px 0;
669
+ border: 1px solid var(--pc-border);
670
+ border-radius: 5px;
671
+ }
672
+
673
+ .tcw-procurement-delete-details > div {
674
+ display: grid;
675
+ grid-template-columns: 148px 1fr;
676
+ min-height: 32px;
677
+ align-items: center;
678
+ padding: 4px 14px;
679
+ border-bottom: 1px solid #e7ebf1;
680
+ }
681
+
682
+ .tcw-procurement-delete-details > div:last-child { border-bottom: 0; }
683
+ .tcw-procurement-delete-details dt { font-weight: 600; }
684
+ .tcw-procurement-delete-details dd { margin: 0; font-weight: 650; }
685
+
686
+ .tcw-procurement-delete-info {
687
+ margin: 0;
688
+ border-color: #ffd198;
689
+ color: #b45f06;
690
+ background: #fff9ef;
691
+ }
692
+
693
+ .tcw-contract-prototype-surface {
694
+ display: grid;
695
+ gap: 14px;
696
+ }
697
+
698
+ .tcw-contract-prototype-surface .tcw-filter-grid {
699
+ grid-template-columns: 1fr 1.05fr .95fr .95fr 1.25fr auto;
700
+ }
701
+
702
+ .tcw-contract-customer-code {
703
+ display: inline;
704
+ margin: 0;
705
+ }
706
+
707
+ .tcw-contract-risk-summary {
708
+ display: grid;
709
+ justify-items: start;
710
+ gap: 4px;
711
+ }
712
+
713
+ .tcw-contract-sanction-text {
714
+ color: #697386;
715
+ font-size: 11px;
716
+ white-space: nowrap;
717
+ }
718
+
719
+ .tcw-contract-sanction-text--hit { color: #d92d20; }
720
+ .tcw-contract-sanction-text--clear { color: #168653; }
721
+
722
+ .tcw-contract-prototype-surface .tcw-modal:has(.tcw-contract-review-summary) {
723
+ width: min(880px, calc(100vw - 56px));
724
+ height: min(620px, calc(100vh - 48px));
725
+ max-height: none;
726
+ transform: translate(24px, 12px);
727
+ }
728
+
729
+ .tcw-contract-review-header {
730
+ grid-template-columns: 1.1fr minmax(0, 4fr) auto auto;
731
+ align-items: center;
732
+ gap: 16px;
733
+ padding: 14px 18px;
734
+ background: #fff;
735
+ }
736
+
737
+ .tcw-contract-review-header .tcw-field-grid {
738
+ gap: 12px;
739
+ }
740
+
741
+ .tcw-contract-review-header .tcw-form-field input {
742
+ height: 30px;
743
+ padding: 0;
744
+ border: 0;
745
+ background: transparent;
746
+ }
747
+
748
+ .tcw-contract-review-toolbar {
749
+ min-height: 40px;
750
+ margin: 8px 0 0;
751
+ }
752
+
753
+ .tcw-contract-review-layout {
754
+ grid-template-columns: 132px minmax(310px, 1fr) minmax(280px, .9fr);
755
+ min-height: 440px;
756
+ }
757
+
758
+ .tcw-contract-clause-tabs {
759
+ padding: 0;
760
+ background: #fff;
761
+ }
762
+
763
+ .tcw-contract-clause-tabs button {
764
+ min-height: 46px;
765
+ padding: 7px 14px;
766
+ font-size: 13px;
767
+ }
768
+
769
+ .tcw-contract-clause-tabs small {
770
+ margin-top: 2px;
771
+ color: #697386;
772
+ font-size: 12px;
773
+ }
774
+
775
+ .tcw-contract-clause-editor,
776
+ .tcw-contract-source-preview {
777
+ padding: 16px 14px;
778
+ }
779
+
780
+ .tcw-contract-clause-editor {
781
+ gap: 12px;
782
+ }
783
+
784
+ .tcw-contract-clause-editor textarea {
785
+ min-height: 80px;
786
+ padding: 10px;
787
+ }
788
+
789
+ .tcw-contract-source-preview {
790
+ display: block;
791
+ background: #fff;
792
+ }
793
+
794
+ .tcw-contract-source-preview > h3 {
795
+ padding-bottom: 14px;
796
+ border-bottom: 1px solid #e3e9f1;
797
+ }
798
+
799
+ .tcw-contract-analysis {
800
+ padding: 0;
801
+ border: 0;
802
+ background: #fff;
803
+ }
804
+
805
+ .tcw-contract-analysis h4 {
806
+ margin: 0 0 8px;
807
+ color: #273349;
808
+ font-size: 13px;
809
+ }
810
+
811
+ .tcw-contract-analysis dt {
812
+ margin-top: 17px;
813
+ color: #273349;
814
+ font-size: 13px;
815
+ }
816
+
817
+ .tcw-contract-analysis dd {
818
+ min-height: 84px;
819
+ margin-top: 8px;
820
+ padding: 11px;
821
+ border: 1px solid var(--pc-border);
822
+ border-radius: 5px;
823
+ color: #3d495e;
824
+ }
825
+
826
+ .tcw-contract-source-preview > details {
827
+ margin-top: 14px;
828
+ color: #52637d;
829
+ font-size: 12px;
830
+ }
831
+
832
+ .tcw-contract-source-preview > details iframe,
833
+ .tcw-contract-source-preview > details pre {
834
+ min-height: 240px;
835
+ margin-top: 10px;
836
+ }
837
+
838
+ .tcw-contract-customer-master {
839
+ margin-top: 10px;
840
+ }
841
+
842
+ .tcw-contract-prototype-surface .tcw-modal:has(.tcw-contract-delete-summary) {
843
+ width: min(575px, calc(100vw - 40px));
844
+ height: min(544px, calc(100vh - 40px));
845
+ max-height: none;
846
+ }
847
+
848
+ .tcw-contract-delete-warning {
849
+ display: flex;
850
+ gap: 10px;
851
+ padding: 14px;
852
+ border: 1px solid #ffbaba;
853
+ border-radius: 5px;
854
+ color: #e52a34;
855
+ background: #fff4f4;
856
+ line-height: 1.65;
857
+ }
858
+
859
+ .tcw-contract-delete-warning i {
860
+ font-size: 20px;
861
+ }
862
+
863
+ .tcw-contract-delete-details {
864
+ margin: 12px 0;
865
+ padding: 10px 16px;
866
+ border: 1px solid var(--pc-border);
867
+ border-radius: 5px;
868
+ }
869
+
870
+ .tcw-contract-delete-details > div {
871
+ display: grid;
872
+ grid-template-columns: 205px 1fr;
873
+ min-height: 34px;
874
+ align-items: center;
875
+ }
876
+
877
+ .tcw-contract-delete-summary dt { font-weight: 600; }
878
+ .tcw-contract-delete-summary dd { margin: 0; font-weight: 650; }
879
+
880
+ .tcw-contract-delete-info {
881
+ display: flex;
882
+ gap: 10px;
883
+ margin: 0;
884
+ padding: 13px;
885
+ border: 1px solid #ffd198;
886
+ border-radius: 5px;
887
+ color: #d36b00;
888
+ background: #fff9ef;
889
+ line-height: 1.65;
890
+ }
891
+
892
+ @media (max-width: 1180px) {
893
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics {
894
+ grid-template-columns: repeat(2, minmax(0, 1fr));
895
+ height: auto;
896
+ margin-top: 0;
897
+ }
898
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics > .tcw-procurement-metric,
899
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics > .tcw-procurement-top {
900
+ height: auto;
901
+ }
902
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-filter-panel,
903
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] > .tcw-filter-panel,
904
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] > .tcw-grid-section,
905
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] > .tcw-grid-section {
906
+ margin-top: 0;
907
+ }
908
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-table-scroll,
909
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-table-scroll {
910
+ max-height: none;
911
+ }
912
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-data-table {
913
+ width: 1120px !important;
914
+ min-width: 1120px !important;
915
+ }
916
+ .tcw-procurement-prototype-surface .tcw-filter-grid,
917
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-filter-grid,
918
+ .tcw-procurement-prototype-surface[data-procurement-level="lines"] .tcw-filter-grid,
919
+ .tcw-contract-prototype-surface .tcw-filter-grid {
920
+ grid-template-columns: repeat(2, minmax(180px, 1fr));
921
+ }
922
+ .tcw-procurement-metrics { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
923
+ .tcw-procurement-top { grid-column: 1 / -1; }
924
+ }
925
+
926
+ @media (max-width: 760px) {
927
+ .tcw-procurement-supplier-review,
928
+ .tcw-contract-review-layout { grid-template-columns: 1fr; }
929
+ .tcw-procurement-supplier-review aside { padding: 16px 0 0; border-top: 1px solid #e5eaf1; border-left: 0; }
930
+ .tcw-procurement-level-heading { flex-direction: column; }
931
+ .tcw-procurement-prototype-surface[data-procurement-level="orders"] .tcw-procurement-metrics { grid-template-columns: minmax(0, 1fr); }
932
+ .tcw-procurement-prototype-surface .tcw-filter-grid,
933
+ .tcw-procurement-prototype-surface[data-procurement-level="suppliers"] .tcw-filter-grid,
934
+ .tcw-procurement-prototype-surface[data-procurement-level="lines"] .tcw-filter-grid { grid-template-columns: minmax(0, 1fr); }
935
+ .tcw-procurement-top { grid-column: auto; }
936
+ .tcw-procurement-prototype-surface .tcw-modal:has(.tcw-procurement-delete-summary.is-order) { transform: none; }
937
+ .tcw-procurement-delete-details > div { grid-template-columns: minmax(0, 1fr); }
938
+ .tcw-procurement-delete-details dd { overflow-wrap: anywhere; }
939
+ }