@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.
Files changed (67) 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 +190 -64
  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/task-status.d.ts +2 -1
  11. package/dist/lib/remote-ui/components/task-status.d.ts.map +1 -1
  12. package/dist/lib/remote-ui/components/task-status.js +5 -4
  13. package/dist/lib/remote-ui/components/task-status.js.map +1 -1
  14. package/dist/lib/remote-ui/import-task-status.d.ts +10 -0
  15. package/dist/lib/remote-ui/import-task-status.d.ts.map +1 -0
  16. package/dist/lib/remote-ui/import-task-status.js +236 -0
  17. package/dist/lib/remote-ui/import-task-status.js.map +1 -0
  18. package/dist/lib/remote-ui/model.d.ts.map +1 -1
  19. package/dist/lib/remote-ui/model.js +2 -1
  20. package/dist/lib/remote-ui/model.js.map +1 -1
  21. package/dist/lib/remote-ui/pages/analytics-prototype.css +307 -0
  22. package/dist/lib/remote-ui/pages/catalogs.css +681 -0
  23. package/dist/lib/remote-ui/pages/catalogs.d.ts +5 -3
  24. package/dist/lib/remote-ui/pages/catalogs.d.ts.map +1 -1
  25. package/dist/lib/remote-ui/pages/catalogs.js +6 -6
  26. package/dist/lib/remote-ui/pages/catalogs.js.map +1 -1
  27. package/dist/lib/remote-ui/pages/contracts.css +259 -0
  28. package/dist/lib/remote-ui/pages/contracts.d.ts.map +1 -1
  29. package/dist/lib/remote-ui/pages/contracts.js +36 -13
  30. package/dist/lib/remote-ui/pages/contracts.js.map +1 -1
  31. package/dist/lib/remote-ui/pages/files-prototype.css +547 -0
  32. package/dist/lib/remote-ui/pages/files.d.ts +3 -2
  33. package/dist/lib/remote-ui/pages/files.d.ts.map +1 -1
  34. package/dist/lib/remote-ui/pages/files.js +15 -15
  35. package/dist/lib/remote-ui/pages/files.js.map +1 -1
  36. package/dist/lib/remote-ui/pages/procurement-contracts.css +939 -0
  37. package/dist/lib/remote-ui/pages/procurement.js +1 -1
  38. package/dist/lib/remote-ui/pages/procurement.js.map +1 -1
  39. package/dist/lib/remote-ui/pages/sales-files.css +512 -0
  40. package/dist/lib/remote-ui/pages/sales.js +2 -2
  41. package/dist/lib/remote-ui/pages/sales.js.map +1 -1
  42. package/dist/lib/remote-ui/pages/settings.css +178 -0
  43. package/dist/lib/remote-ui/pages/settings.js +1 -1
  44. package/dist/lib/remote-ui/pages/settings.js.map +1 -1
  45. package/dist/lib/remote-ui/polling.d.ts +1 -1
  46. package/dist/lib/remote-ui/polling.d.ts.map +1 -1
  47. package/dist/lib/remote-ui/polling.js +4 -2
  48. package/dist/lib/remote-ui/polling.js.map +1 -1
  49. package/dist/lib/remote-ui/purchase-review-adapter.d.ts +4 -0
  50. package/dist/lib/remote-ui/purchase-review-adapter.d.ts.map +1 -0
  51. package/dist/lib/remote-ui/purchase-review-adapter.js +78 -0
  52. package/dist/lib/remote-ui/purchase-review-adapter.js.map +1 -0
  53. package/dist/lib/remote-ui/styles.css +588 -0
  54. package/dist/lib/sales-file.service.d.ts.map +1 -1
  55. package/dist/lib/sales-file.service.js +19 -7
  56. package/dist/lib/sales-file.service.js.map +1 -1
  57. package/dist/lib/workbench-view.provider.d.ts +24 -0
  58. package/dist/lib/workbench-view.provider.d.ts.map +1 -1
  59. package/dist/lib/workbench-view.provider.js +19 -4
  60. package/dist/lib/workbench-view.provider.js.map +1 -1
  61. package/dist/lib/workbench.plugin.d.ts.map +1 -1
  62. package/dist/lib/workbench.plugin.js +1 -2
  63. package/dist/lib/workbench.plugin.js.map +1 -1
  64. package/dist/lib/workbench.service.d.ts.map +1 -1
  65. package/dist/lib/workbench.service.js +36 -10
  66. package/dist/lib/workbench.service.js.map +1 -1
  67. package/package.json +4 -1
@@ -0,0 +1,307 @@
1
+ .tcw-analytics-prototype-shell {
2
+ display: grid;
3
+ gap: 10px;
4
+ width: 100%;
5
+ min-width: 0;
6
+ box-sizing: border-box;
7
+ margin: 0;
8
+ color: #172033;
9
+ background: #fefefe;
10
+ font-size: 10px;
11
+ letter-spacing: 0;
12
+ }
13
+
14
+ .tcw-analytics-prototype-close {
15
+ display: inline-flex;
16
+ min-height: 34px;
17
+ align-items: center;
18
+ justify-self: end;
19
+ padding: 0 12px;
20
+ border: 1px solid #d3dbe7;
21
+ border-radius: 3px;
22
+ color: #34435a;
23
+ background: #fff;
24
+ }
25
+
26
+ .tcw-analytics-prototype-board {
27
+ display: grid;
28
+ grid-template-areas: "home filter" "drill export" "bottom bottom";
29
+ grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr);
30
+ grid-template-rows: 220px 170px 260px;
31
+ row-gap: 8px;
32
+ column-gap: 18px;
33
+ width: 100%;
34
+ min-width: 0;
35
+ max-width: 100%;
36
+ box-sizing: border-box;
37
+ padding: 0 10px 4px;
38
+ background: #fefefe;
39
+ }
40
+
41
+ .tcw-analytics-prototype-state {
42
+ min-width: 0;
43
+ min-height: 0;
44
+ max-width: 100%;
45
+ }
46
+
47
+ .tcw-analytics-prototype-label {
48
+ display: flex;
49
+ align-items: center;
50
+ gap: 7px;
51
+ min-height: 30px;
52
+ color: #151e2e;
53
+ font-size: 12px;
54
+ }
55
+
56
+ .tcw-analytics-prototype-index {
57
+ display: inline-grid;
58
+ width: 18px;
59
+ height: 18px;
60
+ flex: 0 0 18px;
61
+ place-items: center;
62
+ border-radius: 50%;
63
+ color: #fff;
64
+ background: #1769ff;
65
+ font-size: 10px;
66
+ font-weight: 700;
67
+ }
68
+
69
+ .tcw-analytics-prototype-card,
70
+ .tcw-analytics-prototype-home,
71
+ .tcw-analytics-prototype-drill {
72
+ height: calc(100% - 30px);
73
+ box-sizing: border-box;
74
+ overflow: hidden;
75
+ border: 1px solid #cfd8e5;
76
+ border-radius: 3px;
77
+ background: #fefefe;
78
+ box-shadow: 0 2px 8px rgba(27, 44, 72, .06);
79
+ }
80
+
81
+ .tcw-analytics-prototype-card {
82
+ display: grid;
83
+ grid-template-rows: auto minmax(0, 1fr) auto;
84
+ }
85
+
86
+ .tcw-analytics-prototype-card > header {
87
+ display: flex;
88
+ min-height: 38px;
89
+ align-items: center;
90
+ justify-content: space-between;
91
+ padding: 0 14px;
92
+ border-bottom: 1px solid #dce3ed;
93
+ font-size: 14px;
94
+ }
95
+
96
+ .tcw-analytics-prototype-card > footer {
97
+ display: flex;
98
+ min-height: 40px;
99
+ align-items: center;
100
+ justify-content: flex-end;
101
+ flex-wrap: wrap;
102
+ gap: 10px;
103
+ padding: 0 14px;
104
+ border-top: 1px solid #e1e6ed;
105
+ }
106
+
107
+ .tcw-analytics-prototype-card button,
108
+ .tcw-analytics-prototype-drill button {
109
+ min-width: 0;
110
+ max-width: 100%;
111
+ min-height: 25px;
112
+ box-sizing: border-box;
113
+ padding: 4px 9px;
114
+ border: 1px solid #d3dbe7;
115
+ border-radius: 3px;
116
+ color: #34435a;
117
+ background: #fff;
118
+ }
119
+
120
+ .tcw-analytics-prototype-card button i,
121
+ .tcw-analytics-prototype-drill button i,
122
+ .tcw-analytics-prototype-close i { margin-right: 4px; }
123
+ .tcw-analytics-prototype-card button.is-primary { border-color: #1769ff; color: #fff; background: #1769ff; }
124
+ .tcw-analytics-prototype-card button.is-danger { border-color: #e83b43; color: #fff; background: #e83b43; }
125
+
126
+ .tcw-analytics-prototype-home { padding: 8px 10px; background: #f9fbfd; }
127
+ .tcw-analytics-prototype-home > header { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 12px; }
128
+ .tcw-analytics-prototype-home > header > i { color: #1769ff; font-size: 20px; }
129
+ .tcw-analytics-prototype-home > header > span { margin-left: 30px; font-weight: 700; }
130
+ .tcw-analytics-prototype-home time { padding: 7px 10px; border: 1px solid #dce3ed; border-radius: 3px; background: #fff; }
131
+ .tcw-analytics-prototype-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
132
+ .tcw-analytics-prototype-metrics article { display: grid; gap: 3px; min-height: 45px; padding: 7px; border: 1px solid #dce3ed; border-radius: 4px; background: #fff; }
133
+ .tcw-analytics-prototype-metrics article > span { color: #647188; }
134
+ .tcw-analytics-prototype-metrics article > strong { font-size: 17px; }
135
+ .tcw-analytics-prototype-metrics article > strong.is-risk { color: #f04444; }
136
+ .tcw-analytics-prototype-metrics article small b { color: #16a365; }
137
+ .tcw-analytics-prototype-charts { display: grid; grid-template-columns: 1.65fr 1fr; grid-template-rows: 62px 62px; gap: 6px; margin-top: 6px; }
138
+ .tcw-analytics-prototype-charts > section { position: relative; overflow: hidden; padding: 7px; border: 1px solid #dce3ed; border-radius: 4px; background: #fff; }
139
+ .tcw-prototype-line-chart { position: relative; height: 36px; margin-top: 3px; background: repeating-linear-gradient(to bottom, #fff 0 12px, #e8edf4 13px); }
140
+ .tcw-prototype-line-chart i { position: absolute; inset: 20px 5px auto; height: 2px; background: #559bf7; transform: none; }
141
+ .tcw-prototype-line-chart i:nth-child(2) { top: 55px; background: #f7bb5c; transform: none; }
142
+ .tcw-prototype-line-chart i:nth-child(3) { top: 80px; background: #56b693; transform: none; }
143
+ .tcw-prototype-donut { display: grid; width: 46px; height: 46px; margin: 4px auto 0; place-content: center; border-radius: 50%; background: radial-gradient(circle, #fff 0 48%, transparent 49%), conic-gradient(#5d9df5 0 72%, #f8c251 72% 85%, #f16666 85%); text-align: center; }
144
+ .tcw-prototype-donut b { font-size: 14px; }
145
+ .tcw-prototype-donut span { color: #647188; }
146
+ .tcw-prototype-bars { display: flex; height: 36px; align-items: end; justify-content: space-around; gap: 8px; padding: 4px 10px 0; }
147
+ .tcw-prototype-bars i { width: 28px; background: #5b9df4; }
148
+ .tcw-analytics-prototype-charts table,
149
+ .tcw-analytics-prototype-drill table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 9px; }
150
+ .tcw-analytics-prototype-charts th,
151
+ .tcw-analytics-prototype-charts td,
152
+ .tcw-analytics-prototype-drill th,
153
+ .tcw-analytics-prototype-drill td { padding: 6px; border-bottom: 1px solid #e7ebf1; text-align: left; }
154
+
155
+ .tcw-analytics-prototype-form,
156
+ .tcw-analytics-prototype-export { display: grid; min-width: 0; max-width: 100%; box-sizing: border-box; align-content: start; gap: 8px; padding: 10px 12px; }
157
+ .tcw-analytics-prototype-field { display: grid; grid-template-columns: 85px minmax(0, 1fr); align-items: center; gap: 10px; }
158
+ .tcw-analytics-prototype-field > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
159
+ .tcw-analytics-prototype-field > span:first-child { color: #3f4d62; font-weight: 600; }
160
+ .tcw-analytics-prototype-field :is(input, select, textarea) { width: 100%; min-width: 0; max-width: 100%; min-height: 26px; box-sizing: border-box; padding: 4px 8px; border: 1px solid #d3dce8; border-radius: 3px; color: #526177; background: #fff; font: inherit; }
161
+ .tcw-analytics-prototype-field textarea { min-height: 42px; resize: none; }
162
+ .tcw-prototype-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-bottom: 7px; }
163
+ .tcw-prototype-quick button { width: 100%; padding-inline: 3px; overflow-wrap: anywhere; }
164
+ .tcw-prototype-quick button.is-active,
165
+ .tcw-prototype-chart-types button.is-active { border-color: #1769ff; color: #1769ff; background: #eef5ff; }
166
+ .tcw-prototype-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
167
+ .tcw-prototype-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; min-width: 0; }
168
+
169
+ .tcw-analytics-prototype-drill { padding: 8px; }
170
+ .tcw-analytics-prototype-drill > header { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
171
+ .tcw-prototype-drill-filters { display: grid; grid-template-columns: minmax(0, auto) minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 10px; }
172
+ .tcw-prototype-drill-filters span { padding: 7px 9px; border: 1px solid #dbe3ed; }
173
+ .tcw-prototype-drill-filters button { justify-self: end; }
174
+ .tcw-analytics-prototype-drill .tcw-analytics-prototype-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 10px; }
175
+ .tcw-analytics-prototype-drill .tcw-analytics-prototype-metrics article { min-height: 42px; padding: 6px; }
176
+ .tcw-analytics-prototype-drill .tcw-analytics-prototype-metrics article > strong { font-size: 15px; }
177
+ .tcw-analytics-prototype-drill a { color: #1769ff; }
178
+ .tcw-prototype-export-list { display: grid; max-height: 185px; gap: 8px; padding: 10px; overflow: hidden; border: 1px solid #dce3ed; }
179
+
180
+ .tcw-analytics-prototype-bottom {
181
+ display: grid;
182
+ grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, .92fr) minmax(0, 1fr);
183
+ gap: 10px;
184
+ min-width: 0;
185
+ }
186
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-label { min-height: 27px; }
187
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-card { min-height: 210px; }
188
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-card > header { min-height: 34px; padding-inline: 10px; font-size: 11px; }
189
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-card > footer { min-height: 36px; padding-inline: 8px; }
190
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-form { gap: 5px; padding: 7px 9px; }
191
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-field { grid-template-columns: 58px minmax(0, 1fr); gap: 5px; }
192
+ .tcw-prototype-chart-types { display: grid; min-width: 0; max-width: 100%; box-sizing: border-box; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
193
+ .tcw-prototype-chart-types button { display: inline-flex; width: 100%; min-width: 0; max-width: 100%; align-items: center; justify-content: center; gap: 2px; box-sizing: border-box; padding: 4px 2px; overflow-wrap: anywhere; white-space: normal; font-size: 8px; }
194
+ .tcw-analytics-prototype-delete { display: grid; align-content: center; justify-items: center; gap: 11px; padding: 14px; text-align: center; }
195
+ .tcw-analytics-prototype-delete > i { color: #ef4149; font-size: 23px; }
196
+ .tcw-analytics-prototype-delete > p { margin: 1em 0; color: inherit; font: inherit; line-height: normal; }
197
+ .tcw-analytics-prototype-delete > b { color: #d52d35; }
198
+ .tcw-analytics-prototype-explain { display: grid; gap: 10px; margin: 0; padding: 13px; }
199
+ .tcw-analytics-prototype-explain div { display: grid; gap: 3px; }
200
+ .tcw-analytics-prototype-explain dt { font-weight: 700; }
201
+ .tcw-analytics-prototype-explain dd { margin: 0; color: #5f6d82; line-height: 1.35; }
202
+
203
+ @media (max-width: 1120px) {
204
+ .tcw-analytics-prototype-shell {
205
+ width: 100%;
206
+ max-width: 100%;
207
+ }
208
+
209
+ .tcw-analytics-prototype-board {
210
+ grid-template-areas: "bottom" "home" "filter" "drill" "export";
211
+ grid-template-columns: minmax(0, 1fr);
212
+ grid-template-rows: repeat(5, auto);
213
+ row-gap: 12px;
214
+ min-width: 0;
215
+ }
216
+
217
+ .tcw-analytics-prototype-card,
218
+ .tcw-analytics-prototype-home,
219
+ .tcw-analytics-prototype-drill {
220
+ height: auto;
221
+ min-height: 0;
222
+ }
223
+
224
+ .tcw-analytics-prototype-bottom {
225
+ grid-template-columns: repeat(2, minmax(0, 1fr));
226
+ }
227
+ }
228
+
229
+ @media (max-width: 600px) {
230
+ .tcw-analytics-prototype-board,
231
+ .tcw-analytics-prototype-bottom {
232
+ grid-template-columns: minmax(0, 1fr);
233
+ }
234
+
235
+ .tcw-analytics-prototype-home {
236
+ padding: 12px;
237
+ }
238
+
239
+ .tcw-analytics-prototype-home > header {
240
+ grid-template-columns: auto minmax(0, 1fr);
241
+ }
242
+
243
+ .tcw-analytics-prototype-home > header > span {
244
+ margin-left: 0;
245
+ text-align: right;
246
+ }
247
+
248
+ .tcw-analytics-prototype-home time {
249
+ grid-column: 1 / -1;
250
+ min-width: 0;
251
+ overflow-wrap: anywhere;
252
+ }
253
+
254
+ .tcw-analytics-prototype-metrics,
255
+ .tcw-analytics-prototype-drill .tcw-analytics-prototype-metrics {
256
+ grid-template-columns: repeat(2, minmax(0, 1fr));
257
+ }
258
+
259
+ .tcw-analytics-prototype-charts {
260
+ grid-template-columns: minmax(0, 1fr);
261
+ grid-template-rows: repeat(4, 155px);
262
+ }
263
+
264
+ .tcw-analytics-prototype-form,
265
+ .tcw-analytics-prototype-export {
266
+ width: 100%;
267
+ min-width: 0;
268
+ max-width: 100%;
269
+ box-sizing: border-box;
270
+ }
271
+
272
+ .tcw-analytics-prototype-field,
273
+ .tcw-analytics-prototype-bottom .tcw-analytics-prototype-field {
274
+ grid-template-columns: minmax(0, 1fr);
275
+ width: 100%;
276
+ min-width: 0;
277
+ max-width: 100%;
278
+ box-sizing: border-box;
279
+ }
280
+
281
+ .tcw-analytics-prototype-field :is(input, select, textarea) {
282
+ display: block;
283
+ width: 100%;
284
+ min-width: 0;
285
+ max-width: 100%;
286
+ box-sizing: border-box;
287
+ }
288
+
289
+ .tcw-prototype-quick,
290
+ .tcw-prototype-checks {
291
+ grid-template-columns: repeat(2, minmax(0, 1fr));
292
+ }
293
+
294
+ .tcw-prototype-drill-filters {
295
+ grid-template-columns: minmax(0, 1fr);
296
+ }
297
+
298
+ .tcw-prototype-drill-filters button {
299
+ width: 100%;
300
+ justify-self: stretch;
301
+ }
302
+
303
+ .tcw-analytics-prototype-drill table {
304
+ table-layout: fixed;
305
+ overflow-wrap: anywhere;
306
+ }
307
+ }