@everymatrix/user-transaction-history 1.31.2 → 1.32.4

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 (68) hide show
  1. package/LICENSE +21 -0
  2. package/package.json +4 -3
  3. package/dist/cjs/index-206e75cb.js +0 -1416
  4. package/dist/cjs/index.cjs.js +0 -2
  5. package/dist/cjs/loader.cjs.js +0 -21
  6. package/dist/cjs/user-transaction-history.cjs.entry.js +0 -347
  7. package/dist/cjs/user-transaction-history.cjs.js +0 -19
  8. package/dist/collection/assets/filter.svg +0 -4
  9. package/dist/collection/assets/warning.svg +0 -4
  10. package/dist/collection/collection-manifest.json +0 -12
  11. package/dist/collection/components/internal/filters.js +0 -22
  12. package/dist/collection/components/internal/loader.js +0 -14
  13. package/dist/collection/components/internal/page-size.js +0 -7
  14. package/dist/collection/components/internal/table.js +0 -31
  15. package/dist/collection/components/internal/transaction.js +0 -14
  16. package/dist/collection/components/user-transaction-history/user-transaction-history.css +0 -406
  17. package/dist/collection/components/user-transaction-history/user-transaction-history.js +0 -357
  18. package/dist/collection/contracts/translation.js +0 -1
  19. package/dist/collection/global/app.js +0 -1
  20. package/dist/collection/index.js +0 -1
  21. package/dist/collection/models/transactions-response.model.js +0 -1
  22. package/dist/collection/utils/currency.utils.js +0 -18
  23. package/dist/collection/utils/date.util.js +0 -8
  24. package/dist/collection/utils/locale.util.js +0 -69
  25. package/dist/components/index.d.ts +0 -26
  26. package/dist/components/index.js +0 -1
  27. package/dist/components/user-transaction-history.d.ts +0 -11
  28. package/dist/components/user-transaction-history.js +0 -378
  29. package/dist/esm/index-32e3ae05.js +0 -1388
  30. package/dist/esm/index.js +0 -1
  31. package/dist/esm/loader.js +0 -17
  32. package/dist/esm/polyfills/core-js.js +0 -11
  33. package/dist/esm/polyfills/css-shim.js +0 -1
  34. package/dist/esm/polyfills/dom.js +0 -79
  35. package/dist/esm/polyfills/es5-html-element.js +0 -1
  36. package/dist/esm/polyfills/index.js +0 -34
  37. package/dist/esm/polyfills/system.js +0 -6
  38. package/dist/esm/user-transaction-history.entry.js +0 -343
  39. package/dist/esm/user-transaction-history.js +0 -17
  40. package/dist/index.cjs.js +0 -1
  41. package/dist/index.js +0 -1
  42. package/dist/stencil.config.js +0 -22
  43. package/dist/types/Users/dragos.bodea/Documents/everymatrix-prjs/emfe-widgets/widgets-stencil/packages/user-transaction-history/.stencil/packages/user-transaction-history/stencil.config.d.ts +0 -2
  44. package/dist/types/components/internal/filters.d.ts +0 -8
  45. package/dist/types/components/internal/loader.d.ts +0 -2
  46. package/dist/types/components/internal/page-size.d.ts +0 -9
  47. package/dist/types/components/internal/table.d.ts +0 -7
  48. package/dist/types/components/internal/transaction.d.ts +0 -3
  49. package/dist/types/components/user-transaction-history/user-transaction-history.d.ts +0 -40
  50. package/dist/types/components.d.ts +0 -53
  51. package/dist/types/contracts/translation.d.ts +0 -2
  52. package/dist/types/global/app.d.ts +0 -1
  53. package/dist/types/index.d.ts +0 -1
  54. package/dist/types/models/transactions-response.model.d.ts +0 -23
  55. package/dist/types/stencil-public-runtime.d.ts +0 -1565
  56. package/dist/types/utils/currency.utils.d.ts +0 -4
  57. package/dist/types/utils/date.util.d.ts +0 -4
  58. package/dist/types/utils/locale.util.d.ts +0 -42
  59. package/dist/user-transaction-history/index.esm.js +0 -0
  60. package/dist/user-transaction-history/p-10b5b959.js +0 -1
  61. package/dist/user-transaction-history/p-c71395aa.entry.js +0 -1
  62. package/dist/user-transaction-history/user-transaction-history.esm.js +0 -1
  63. package/loader/cdn.js +0 -3
  64. package/loader/index.cjs.js +0 -3
  65. package/loader/index.d.ts +0 -12
  66. package/loader/index.es2017.js +0 -3
  67. package/loader/index.js +0 -4
  68. package/loader/package.json +0 -10
@@ -1,406 +0,0 @@
1
- :host {
2
- --activeButtonBackground: #7ec51e;
3
- --activeButtonFont: #002149;
4
- --hoverBackground: #ffffff;
5
- --background: #e4e6e8;
6
- --success: #7ac345;
7
- --heightScrollableContainer: 400px;
8
- --borderColor: #d3d3d3;
9
- --borderColorButton: #c4c4c4;
10
- --textColor: #002554;
11
- --textColorHover: #7ac345;
12
- --errorColor: #c23b21;
13
- --loaderColor: #7ac345;
14
- --headerTableBackground: #cdcdcd;
15
- --borderTable: #dedede;
16
- --shadowBorderTable: #f1f1f1;
17
- --backgroundTable: #ffffff;
18
- font-family: Roboto, Arial, sans-serif;
19
- font-size: 14px;
20
- color: var(--textColor);
21
- display: block;
22
- background-color: var(--background);
23
- }
24
- :host .wrapper {
25
- height: 100%;
26
- padding: 1rem;
27
- }
28
- :host .types {
29
- display: flex;
30
- width: 100%;
31
- gap: 5px;
32
- }
33
- :host .transaction-type {
34
- background: inherit;
35
- font-weight: 600;
36
- padding: 0.6rem 1.6rem;
37
- border: 1px solid #6c757d;
38
- cursor: pointer;
39
- }
40
- :host .transaction-type:hover {
41
- color: var(--activeButtonBackground);
42
- border-color: var(--activeButtonBackground);
43
- background: var(--hoverBackground);
44
- }
45
- :host .clicked {
46
- background-color: var(--activeButtonBackground);
47
- border-color: var(--activeButtonBackground);
48
- }
49
- :host .types-mobile {
50
- justify-content: center;
51
- margin-bottom: 15px;
52
- }
53
- :host .types-desktop {
54
- justify-content: flex-end;
55
- margin-bottom: 3rem;
56
- }
57
- :host .page-size {
58
- display: flex;
59
- width: 100%;
60
- justify-content: flex-end;
61
- align-items: center;
62
- }
63
- :host .page-size button {
64
- background: transparent;
65
- border: none;
66
- cursor: pointer;
67
- margin: 0.4rem;
68
- width: 2rem;
69
- height: 2rem;
70
- }
71
- :host .page-size button:hover {
72
- color: var(--textColorHover);
73
- }
74
- :host .page-size button.active {
75
- background: var(--activeButtonBackground);
76
- color: var(--textColor);
77
- font-weight: 600;
78
- border-radius: 0.4rem;
79
- }
80
- :host .period {
81
- display: flex;
82
- width: 100%;
83
- align-items: flex-end;
84
- justify-content: center;
85
- gap: 10px;
86
- background: #f0f0f0;
87
- border-bottom: 2px solid #e9e9e9;
88
- padding: 1.6rem 0 0;
89
- margin-bottom: 4rem;
90
- }
91
- @media (max-width: 801px) {
92
- :host .period {
93
- margin-bottom: 0;
94
- flex-direction: column;
95
- align-items: stretch;
96
- width: auto;
97
- padding: 1.4rem 2.8rem;
98
- box-shadow: 0 4px 5px 0 rgba(90, 90, 90, 0.24);
99
- }
100
- }
101
- :host .period .range {
102
- color: var(--errorColor);
103
- }
104
- :host .period .filter-btn {
105
- height: 40px;
106
- background: transparent;
107
- border: 0.1rem solid var(--borderColorButton);
108
- min-width: 12rem;
109
- max-width: 17rem;
110
- cursor: pointer;
111
- }
112
- @media (max-width: 801px) {
113
- :host .period .filter-btn {
114
- max-width: none;
115
- min-width: none;
116
- margin-top: 1rem;
117
- }
118
- }
119
- :host .period .filter-btn:hover {
120
- border: none;
121
- background: var(--hoverBackground);
122
- }
123
- :host .period .duet-date__input {
124
- padding: 7px 60px 7px 7px;
125
- }
126
- :host .period + button {
127
- padding: 9px 15px;
128
- }
129
- :host .period-content {
130
- display: flex;
131
- flex-direction: row;
132
- width: 100%;
133
- justify-content: center;
134
- align-items: flex-end;
135
- margin: 0 auto 1.6rem;
136
- }
137
- @media (max-width: 801px) {
138
- :host .period-content {
139
- flex-direction: column;
140
- align-items: stretch;
141
- }
142
- }
143
- :host .period-content span {
144
- height: 40px;
145
- display: flex;
146
- align-items: center;
147
- justify-content: center;
148
- }
149
- @media (max-width: 801px) {
150
- :host .period-content span {
151
- display: none;
152
- }
153
- }
154
- :host .period-content .filter-btn {
155
- margin-left: 60px;
156
- }
157
- @media (max-width: 801px) {
158
- :host .period-content .filter-btn {
159
- margin-left: 0;
160
- }
161
- }
162
- :host .period-content .date-input {
163
- padding: 0 4px;
164
- }
165
- @media (max-width: 801px) {
166
- :host .period-content .date-input {
167
- width: auto;
168
- }
169
- :host .period-content .date-input:first-child {
170
- margin-bottom: 0.5rem;
171
- }
172
- }
173
- :host .period-content .date-input label {
174
- display: inline-block;
175
- margin-bottom: 0.9rem;
176
- }
177
- :host .period-content .date-input input {
178
- border: 0.1rem solid var(--borderColor);
179
- box-sizing: border-box;
180
- border-radius: 0.2rem;
181
- }
182
- :host .pagination {
183
- display: flex;
184
- width: 100%;
185
- justify-content: center;
186
- margin-top: 1.5rem;
187
- }
188
- :host .pagination button {
189
- cursor: pointer;
190
- border: none;
191
- background-color: var(--activeButtonBackground);
192
- color: #fff;
193
- opacity: 0.5;
194
- padding: 7px 12px;
195
- }
196
- :host .pagination button:hover {
197
- opacity: 1;
198
- }
199
- :host .pagination button:focus {
200
- opacity: 1;
201
- }
202
- :host button.active {
203
- color: var(--activeButtonFont);
204
- background-color: var(--activeButtonBackground);
205
- }
206
-
207
- .mobile-filter-button {
208
- display: flex;
209
- justify-content: center;
210
- align-items: center;
211
- width: 100%;
212
- height: 2.8rem;
213
- background: inherit;
214
- border: 1px solid var(--borderColorButton);
215
- }
216
- .mobile-filter-button img {
217
- height: 50%;
218
- margin-right: 0.5rem;
219
- }
220
-
221
- .noData {
222
- display: flex;
223
- align-items: center;
224
- box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);
225
- padding: 1.1rem;
226
- border-radius: 0.6rem;
227
- }
228
- .noData span {
229
- margin-left: 0.5rem;
230
- }
231
-
232
- .table {
233
- height: var(--heightScrollableContainer);
234
- overflow-y: auto;
235
- }
236
- .table .mobile-table {
237
- height: 100%;
238
- }
239
-
240
- .data-transaction {
241
- border-bottom: 1px solid var(--borderColor);
242
- background-color: var(--hoverBackground);
243
- padding: 0 20px;
244
- display: grid;
245
- grid-template-columns: repeat(2, 1fr);
246
- }
247
- .data-transaction .text-style-status {
248
- font-weight: 600;
249
- }
250
- .data-transaction .text-style-status .success {
251
- color: var(--success);
252
- }
253
- .data-transaction .text-style-status .error {
254
- color: var(--errorColor);
255
- }
256
- .data-transaction .text-style {
257
- text-align: end;
258
- }
259
- .data-transaction .date {
260
- font-size: 12px;
261
- display: flex;
262
- align-items: center;
263
- }
264
-
265
- .loader {
266
- display: inline-block;
267
- position: absolute;
268
- width: 80px;
269
- height: 80px;
270
- top: calc(50% - 40px);
271
- left: calc(50% - 40px);
272
- z-index: 999;
273
- }
274
- .loader::before {
275
- content: "";
276
- position: fixed;
277
- top: 0;
278
- bottom: 0;
279
- left: 0;
280
- right: 0;
281
- background-color: rgba(255, 255, 255, 0.6);
282
- }
283
- .loader div {
284
- position: absolute;
285
- width: 6px;
286
- height: 6px;
287
- background: var(--loaderColor);
288
- border-radius: 50%;
289
- animation: loader 1.2s linear infinite;
290
- }
291
- .loader div:nth-child(1) {
292
- animation-delay: 0s;
293
- top: 37px;
294
- left: 66px;
295
- }
296
- .loader div:nth-child(2) {
297
- animation-delay: -0.1s;
298
- top: 22px;
299
- left: 62px;
300
- }
301
- .loader div:nth-child(3) {
302
- animation-delay: -0.2s;
303
- top: 11px;
304
- left: 52px;
305
- }
306
- .loader div:nth-child(4) {
307
- animation-delay: -0.3s;
308
- top: 7px;
309
- left: 37px;
310
- }
311
- .loader div:nth-child(5) {
312
- animation-delay: -0.4s;
313
- top: 11px;
314
- left: 22px;
315
- }
316
- .loader div:nth-child(6) {
317
- animation-delay: -0.5s;
318
- top: 22px;
319
- left: 11px;
320
- }
321
- .loader div:nth-child(7) {
322
- animation-delay: -0.6s;
323
- top: 37px;
324
- left: 7px;
325
- }
326
- .loader div:nth-child(8) {
327
- animation-delay: -0.7s;
328
- top: 52px;
329
- left: 11px;
330
- }
331
- .loader div:nth-child(9) {
332
- animation-delay: -0.8s;
333
- top: 62px;
334
- left: 22px;
335
- }
336
- .loader div:nth-child(10) {
337
- animation-delay: -0.9s;
338
- top: 66px;
339
- left: 37px;
340
- }
341
- .loader div:nth-child(11) {
342
- animation-delay: -1s;
343
- top: 62px;
344
- left: 52px;
345
- }
346
- .loader div:nth-child(12) {
347
- animation-delay: -1.1s;
348
- top: 52px;
349
- left: 62px;
350
- }
351
-
352
- @keyframes loader {
353
- 0%, 20%, 80%, 100% {
354
- transform: scale(1);
355
- }
356
- 50% {
357
- transform: scale(1.5);
358
- }
359
- }
360
- .table thead th {
361
- position: sticky;
362
- top: 0;
363
- }
364
-
365
- table {
366
- border-collapse: collapse;
367
- width: 100%;
368
- }
369
- table th {
370
- padding: 14px 24px;
371
- text-align: left;
372
- font-weight: 600;
373
- color: var(--textColor);
374
- background: var(--headerTableBackground);
375
- }
376
- table td {
377
- padding: 1rem 1.7rem;
378
- box-shadow: 0 -1px 0 0 var(--shadowBorderTable) inset;
379
- border-bottom: 0.1rem solid var(--borderTable);
380
- text-align: left;
381
- color: var(--textColor);
382
- }
383
- table tbody {
384
- background: var(--backgroundTable);
385
- }
386
- table .success {
387
- color: var(--success);
388
- }
389
- table .error {
390
- color: var(--errorColor);
391
- }
392
-
393
- vaadin-date-picker {
394
- min-width: 320px;
395
- }
396
- @media (max-width: 1261px) {
397
- vaadin-date-picker {
398
- width: auto;
399
- min-width: auto;
400
- }
401
- }
402
- @media (max-width: 801px) {
403
- vaadin-date-picker {
404
- width: 100%;
405
- }
406
- }