@tesouro/embedded-components-react 0.9.24 → 0.9.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +82 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index10.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index11.js +59 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index12.js +10 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index13.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index14.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index15.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index17.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index18.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js +155 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index20.js +13 -157
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +32 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +99 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index24.js +69 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index25.js +3 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +57 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +114 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +190 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js +75 -187
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index3.js +35 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index30.js +67 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +111 -69
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +461 -108
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js +102 -452
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +12 -116
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index35.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index36.js +67 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js +231 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index38.js +38 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index39.js +245 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +169 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index40.js +21 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +534 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index42.js +4 -542
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index43.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +236 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index45.js +3 -240
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +63 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +1 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +82 -225
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index6.js +45 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index7.js +4 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index8.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index9.js +8 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +138 -155
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/ui/dist/index3.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index16.js +48 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index17.js +219 -207
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index4.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index6.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index7.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index18.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index2.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index20.js +278 -322
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillsTab.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index10.js +2 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index11.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +39 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +2 -78
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index14.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +78 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +28 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index6.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index7.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index8.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index9.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/theme/themeTokens.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +4696 -4681
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index49.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +0 -29
package/dist/index.css
CHANGED
|
@@ -15,14 +15,11 @@
|
|
|
15
15
|
--ttw-color-orange-50: oklch(98% 0.016 73.684);
|
|
16
16
|
--ttw-color-orange-100: oklch(95.4% 0.038 75.164);
|
|
17
17
|
--ttw-color-orange-400: oklch(75% 0.183 55.934);
|
|
18
|
-
--ttw-color-orange-600: oklch(64.6% 0.222 41.116);
|
|
19
18
|
--ttw-color-orange-700: oklch(55.3% 0.195 38.402);
|
|
20
19
|
--ttw-color-orange-950: oklch(26.6% 0.079 36.259);
|
|
21
20
|
--ttw-color-amber-50: oklch(98.7% 0.022 95.277);
|
|
22
21
|
--ttw-color-amber-100: oklch(96.2% 0.059 95.617);
|
|
23
22
|
--ttw-color-amber-200: oklch(92.4% 0.12 95.746);
|
|
24
|
-
--ttw-color-amber-300: oklch(87.9% 0.169 91.605);
|
|
25
|
-
--ttw-color-amber-500: oklch(76.9% 0.188 70.08);
|
|
26
23
|
--ttw-color-amber-600: oklch(66.6% 0.179 58.318);
|
|
27
24
|
--ttw-color-amber-700: oklch(55.5% 0.163 48.998);
|
|
28
25
|
--ttw-color-amber-800: oklch(47.3% 0.137 46.201);
|
|
@@ -324,9 +321,6 @@
|
|
|
324
321
|
.ttw\:col-span-1 {
|
|
325
322
|
grid-column: span 1 / span 1;
|
|
326
323
|
}
|
|
327
|
-
.ttw\:col-span-6 {
|
|
328
|
-
grid-column: span 6 / span 6;
|
|
329
|
-
}
|
|
330
324
|
.ttw\:col-start-2 {
|
|
331
325
|
grid-column-start: 2;
|
|
332
326
|
}
|
|
@@ -483,6 +477,12 @@
|
|
|
483
477
|
-webkit-box-orient: vertical;
|
|
484
478
|
-webkit-line-clamp: 1;
|
|
485
479
|
}
|
|
480
|
+
.ttw\:line-clamp-none\! {
|
|
481
|
+
overflow: visible !important;
|
|
482
|
+
display: block !important;
|
|
483
|
+
-webkit-box-orient: horizontal !important;
|
|
484
|
+
-webkit-line-clamp: unset !important;
|
|
485
|
+
}
|
|
486
486
|
.ttw\:block {
|
|
487
487
|
display: block;
|
|
488
488
|
}
|
|
@@ -492,6 +492,9 @@
|
|
|
492
492
|
.ttw\:flex {
|
|
493
493
|
display: flex;
|
|
494
494
|
}
|
|
495
|
+
.ttw\:flex\! {
|
|
496
|
+
display: flex !important;
|
|
497
|
+
}
|
|
495
498
|
.ttw\:grid {
|
|
496
499
|
display: grid;
|
|
497
500
|
}
|
|
@@ -862,9 +865,6 @@
|
|
|
862
865
|
.ttw\:min-h-12 {
|
|
863
866
|
min-height: calc(var(--ttw-spacing) * 12);
|
|
864
867
|
}
|
|
865
|
-
.ttw\:min-h-13 {
|
|
866
|
-
min-height: calc(var(--ttw-spacing) * 13);
|
|
867
|
-
}
|
|
868
868
|
.ttw\:min-h-14 {
|
|
869
869
|
min-height: calc(var(--ttw-spacing) * 14);
|
|
870
870
|
}
|
|
@@ -1396,12 +1396,12 @@
|
|
|
1396
1396
|
.ttw\:min-w-80 {
|
|
1397
1397
|
min-width: calc(var(--ttw-spacing) * 80);
|
|
1398
1398
|
}
|
|
1399
|
+
.ttw\:min-w-120 {
|
|
1400
|
+
min-width: calc(var(--ttw-spacing) * 120);
|
|
1401
|
+
}
|
|
1399
1402
|
.ttw\:min-w-138 {
|
|
1400
1403
|
min-width: calc(var(--ttw-spacing) * 138);
|
|
1401
1404
|
}
|
|
1402
|
-
.ttw\:min-w-240 {
|
|
1403
|
-
min-width: calc(var(--ttw-spacing) * 240);
|
|
1404
|
-
}
|
|
1405
1405
|
.ttw\:min-w-\[4ch\] {
|
|
1406
1406
|
min-width: 4ch;
|
|
1407
1407
|
}
|
|
@@ -1534,9 +1534,6 @@
|
|
|
1534
1534
|
--tw-translate-y: calc(-50% - 2px);
|
|
1535
1535
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1536
1536
|
}
|
|
1537
|
-
.ttw\:-rotate-90 {
|
|
1538
|
-
rotate: calc(90deg * -1);
|
|
1539
|
-
}
|
|
1540
1537
|
.ttw\:rotate-45 {
|
|
1541
1538
|
rotate: 45deg;
|
|
1542
1539
|
}
|
|
@@ -1634,12 +1631,6 @@
|
|
|
1634
1631
|
.ttw\:grid-cols-\[minmax\(0\,1fr\)_auto\] {
|
|
1635
1632
|
grid-template-columns: minmax(0,1fr) auto;
|
|
1636
1633
|
}
|
|
1637
|
-
.ttw\:grid-cols-\[minmax\(220px\,1\.5fr\)_minmax\(110px\,1fr\)_minmax\(88px\,1fr\)_minmax\(96px\,1fr\)_minmax\(96px\,1fr\)_minmax\(112px\,1fr\)\] {
|
|
1638
|
-
grid-template-columns: minmax(220px,1.5fr) minmax(110px,1fr) minmax(88px,1fr) minmax(96px,1fr) minmax(96px,1fr) minmax(112px,1fr);
|
|
1639
|
-
}
|
|
1640
|
-
.ttw\:grid-cols-\[minmax\(220px\,1\.5fr\)_minmax\(110px\,1fr\)_minmax\(88px\,1fr\)_minmax\(96px\,1fr\)_minmax\(96px\,1fr\)_minmax\(112px\,1fr\)_48px\] {
|
|
1641
|
-
grid-template-columns: minmax(220px,1.5fr) minmax(110px,1fr) minmax(88px,1fr) minmax(96px,1fr) minmax(96px,1fr) minmax(112px,1fr) 48px;
|
|
1642
|
-
}
|
|
1643
1634
|
.ttw\:grid-rows-\[1fr\] {
|
|
1644
1635
|
grid-template-rows: 1fr;
|
|
1645
1636
|
}
|
|
@@ -1685,6 +1676,9 @@
|
|
|
1685
1676
|
.ttw\:items-stretch {
|
|
1686
1677
|
align-items: stretch;
|
|
1687
1678
|
}
|
|
1679
|
+
.ttw\:items-stretch\! {
|
|
1680
|
+
align-items: stretch !important;
|
|
1681
|
+
}
|
|
1688
1682
|
.ttw\:\[justify-content\:safe_center\] {
|
|
1689
1683
|
justify-content: safe center;
|
|
1690
1684
|
}
|
|
@@ -1957,6 +1951,9 @@
|
|
|
1957
1951
|
.ttw\:rounded-tl-sm {
|
|
1958
1952
|
border-top-left-radius: calc(var(--ttw-radius) - 4px);
|
|
1959
1953
|
}
|
|
1954
|
+
.ttw\:rounded-tl-xl {
|
|
1955
|
+
border-top-left-radius: calc(var(--ttw-radius) + 4px);
|
|
1956
|
+
}
|
|
1960
1957
|
.ttw\:rounded-r-md {
|
|
1961
1958
|
border-top-right-radius: calc(var(--ttw-radius) - 2px);
|
|
1962
1959
|
border-bottom-right-radius: calc(var(--ttw-radius) - 2px);
|
|
@@ -1968,6 +1965,9 @@
|
|
|
1968
1965
|
.ttw\:rounded-tr-\[14px\] {
|
|
1969
1966
|
border-top-right-radius: 14px;
|
|
1970
1967
|
}
|
|
1968
|
+
.ttw\:rounded-tr-xl {
|
|
1969
|
+
border-top-right-radius: calc(var(--ttw-radius) + 4px);
|
|
1970
|
+
}
|
|
1971
1971
|
.ttw\:rounded-b-xl {
|
|
1972
1972
|
border-bottom-right-radius: calc(var(--ttw-radius) + 4px);
|
|
1973
1973
|
border-bottom-left-radius: calc(var(--ttw-radius) + 4px);
|
|
@@ -1975,9 +1975,15 @@
|
|
|
1975
1975
|
.ttw\:rounded-br-\[14px\] {
|
|
1976
1976
|
border-bottom-right-radius: 14px;
|
|
1977
1977
|
}
|
|
1978
|
+
.ttw\:rounded-br-xl {
|
|
1979
|
+
border-bottom-right-radius: calc(var(--ttw-radius) + 4px);
|
|
1980
|
+
}
|
|
1978
1981
|
.ttw\:rounded-bl-\[14px\] {
|
|
1979
1982
|
border-bottom-left-radius: 14px;
|
|
1980
1983
|
}
|
|
1984
|
+
.ttw\:rounded-bl-xl {
|
|
1985
|
+
border-bottom-left-radius: calc(var(--ttw-radius) + 4px);
|
|
1986
|
+
}
|
|
1981
1987
|
.ttw\:border {
|
|
1982
1988
|
border-style: var(--tw-border-style);
|
|
1983
1989
|
border-width: 1px;
|
|
@@ -2042,10 +2048,6 @@
|
|
|
2042
2048
|
border-left-style: var(--tw-border-style);
|
|
2043
2049
|
border-left-width: 2px;
|
|
2044
2050
|
}
|
|
2045
|
-
.ttw\:border-l-4 {
|
|
2046
|
-
border-left-style: var(--tw-border-style);
|
|
2047
|
-
border-left-width: 4px;
|
|
2048
|
-
}
|
|
2049
2051
|
.ttw\:border-l-4\! {
|
|
2050
2052
|
border-left-style: var(--tw-border-style) !important;
|
|
2051
2053
|
border-left-width: 4px !important;
|
|
@@ -2083,12 +2085,6 @@
|
|
|
2083
2085
|
.ttw\:border-amber-200 {
|
|
2084
2086
|
border-color: var(--ttw-color-amber-200);
|
|
2085
2087
|
}
|
|
2086
|
-
.ttw\:border-amber-300 {
|
|
2087
|
-
border-color: var(--ttw-color-amber-300);
|
|
2088
|
-
}
|
|
2089
|
-
.ttw\:border-amber-500 {
|
|
2090
|
-
border-color: var(--ttw-color-amber-500);
|
|
2091
|
-
}
|
|
2092
2088
|
.ttw\:border-background {
|
|
2093
2089
|
border-color: var(--ttw-background);
|
|
2094
2090
|
}
|
|
@@ -2137,6 +2133,9 @@
|
|
|
2137
2133
|
.ttw\:border-green-200 {
|
|
2138
2134
|
border-color: var(--ttw-color-green-200);
|
|
2139
2135
|
}
|
|
2136
|
+
.ttw\:border-info {
|
|
2137
|
+
border-color: var(--ttw-info);
|
|
2138
|
+
}
|
|
2140
2139
|
.ttw\:border-input {
|
|
2141
2140
|
border-color: var(--ttw-input);
|
|
2142
2141
|
}
|
|
@@ -2173,6 +2172,9 @@
|
|
|
2173
2172
|
.ttw\:border-sky-100 {
|
|
2174
2173
|
border-color: var(--ttw-color-sky-100);
|
|
2175
2174
|
}
|
|
2175
|
+
.ttw\:border-success {
|
|
2176
|
+
border-color: var(--ttw-success);
|
|
2177
|
+
}
|
|
2176
2178
|
.ttw\:border-transparent {
|
|
2177
2179
|
border-color: transparent;
|
|
2178
2180
|
}
|
|
@@ -2182,6 +2184,15 @@
|
|
|
2182
2184
|
.ttw\:border-violet-200 {
|
|
2183
2185
|
border-color: var(--ttw-color-violet-200);
|
|
2184
2186
|
}
|
|
2187
|
+
.ttw\:border-warning {
|
|
2188
|
+
border-color: var(--ttw-warning);
|
|
2189
|
+
}
|
|
2190
|
+
.ttw\:border-warning\/40 {
|
|
2191
|
+
border-color: var(--ttw-warning);
|
|
2192
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2193
|
+
border-color: color-mix(in oklab, var(--ttw-warning) 40%, transparent);
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2185
2196
|
.ttw\:border-white {
|
|
2186
2197
|
border-color: var(--ttw-color-white);
|
|
2187
2198
|
}
|
|
@@ -2197,11 +2208,8 @@
|
|
|
2197
2208
|
.ttw\:border-b-\[\#EAECF0\] {
|
|
2198
2209
|
border-bottom-color: #EAECF0;
|
|
2199
2210
|
}
|
|
2200
|
-
.ttw\:border-l-
|
|
2201
|
-
border-left-color: var(--ttw-
|
|
2202
|
-
}
|
|
2203
|
-
.ttw\:border-l-amber-600\! {
|
|
2204
|
-
border-left-color: var(--ttw-color-amber-600) !important;
|
|
2211
|
+
.ttw\:border-l-warning\! {
|
|
2212
|
+
border-left-color: var(--ttw-warning) !important;
|
|
2205
2213
|
}
|
|
2206
2214
|
.ttw\:bg-\[\#2DD4BF\] {
|
|
2207
2215
|
background-color: #2DD4BF;
|
|
@@ -2596,6 +2604,12 @@
|
|
|
2596
2604
|
);
|
|
2597
2605
|
}
|
|
2598
2606
|
}
|
|
2607
|
+
.ttw\:bg-warning\/10 {
|
|
2608
|
+
background-color: var(--ttw-warning);
|
|
2609
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2610
|
+
background-color: color-mix(in oklab, var(--ttw-warning) 10%, transparent);
|
|
2611
|
+
}
|
|
2612
|
+
}
|
|
2599
2613
|
.ttw\:bg-white {
|
|
2600
2614
|
background-color: var(--ttw-color-white);
|
|
2601
2615
|
}
|
|
@@ -3440,9 +3454,6 @@
|
|
|
3440
3454
|
.ttw\:text-muted-foreground {
|
|
3441
3455
|
color: var(--ttw-muted-foreground);
|
|
3442
3456
|
}
|
|
3443
|
-
.ttw\:text-orange-600 {
|
|
3444
|
-
color: var(--ttw-color-orange-600);
|
|
3445
|
-
}
|
|
3446
3457
|
.ttw\:text-orange-700 {
|
|
3447
3458
|
color: var(--ttw-color-orange-700);
|
|
3448
3459
|
}
|
|
@@ -3497,6 +3508,9 @@
|
|
|
3497
3508
|
.ttw\:text-sky-700 {
|
|
3498
3509
|
color: var(--ttw-color-sky-700);
|
|
3499
3510
|
}
|
|
3511
|
+
.ttw\:text-success {
|
|
3512
|
+
color: var(--ttw-success);
|
|
3513
|
+
}
|
|
3500
3514
|
.ttw\:text-success-foreground {
|
|
3501
3515
|
color: var(
|
|
3502
3516
|
--ttw-success-foreground,
|
|
@@ -3524,6 +3538,9 @@
|
|
|
3524
3538
|
);
|
|
3525
3539
|
}
|
|
3526
3540
|
}
|
|
3541
|
+
.ttw\:text-warning {
|
|
3542
|
+
color: var(--ttw-warning);
|
|
3543
|
+
}
|
|
3527
3544
|
.ttw\:text-warning-foreground {
|
|
3528
3545
|
color: var(
|
|
3529
3546
|
--ttw-warning-foreground,
|
|
@@ -3876,6 +3893,14 @@
|
|
|
3876
3893
|
.ttw\:group-hover\/menu-item\:opacity-100:is(:where(.ttw\:group\/menu-item):hover *) {
|
|
3877
3894
|
opacity: 100%;
|
|
3878
3895
|
}
|
|
3896
|
+
.ttw\:group-hover\/row\:bg-muted\/50:is(:where(.ttw\:group\/row):hover *) {
|
|
3897
|
+
background-color: var(--ttw-muted);
|
|
3898
|
+
}
|
|
3899
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3900
|
+
.ttw\:group-hover\/row\:bg-muted\/50:is(:where(.ttw\:group\/row):hover *) {
|
|
3901
|
+
background-color: color-mix(in oklab, var(--ttw-muted) 50%, transparent);
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3879
3904
|
}
|
|
3880
3905
|
.ttw\:group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.ttw\:group\/menu-item):has([data-sidebar="menu-action"]) *) {
|
|
3881
3906
|
padding-right: calc(var(--ttw-spacing) * 8);
|
|
@@ -4458,9 +4483,20 @@
|
|
|
4458
4483
|
.ttw\:hover\:bg-transparent:hover {
|
|
4459
4484
|
background-color: transparent;
|
|
4460
4485
|
}
|
|
4486
|
+
.ttw\:hover\:bg-transparent\!:hover {
|
|
4487
|
+
background-color: transparent !important;
|
|
4488
|
+
}
|
|
4461
4489
|
.ttw\:hover\:bg-violet-100:hover {
|
|
4462
4490
|
background-color: var(--ttw-color-violet-100);
|
|
4463
4491
|
}
|
|
4492
|
+
.ttw\:hover\:bg-warning\/20:hover {
|
|
4493
|
+
background-color: var(--ttw-warning);
|
|
4494
|
+
}
|
|
4495
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
4496
|
+
.ttw\:hover\:bg-warning\/20:hover {
|
|
4497
|
+
background-color: color-mix(in oklab, var(--ttw-warning) 20%, transparent);
|
|
4498
|
+
}
|
|
4499
|
+
}
|
|
4464
4500
|
.ttw\:hover\:bg-white\/10:hover {
|
|
4465
4501
|
background-color: var(--ttw-color-white);
|
|
4466
4502
|
}
|
|
@@ -4581,9 +4617,6 @@
|
|
|
4581
4617
|
.ttw\:focus-visible\:border-ring:focus-visible {
|
|
4582
4618
|
border-color: var(--ttw-ring);
|
|
4583
4619
|
}
|
|
4584
|
-
.ttw\:focus-visible\:bg-amber-100:focus-visible {
|
|
4585
|
-
background-color: var(--ttw-color-amber-100);
|
|
4586
|
-
}
|
|
4587
4620
|
.ttw\:focus-visible\:ring-0:focus-visible {
|
|
4588
4621
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4589
4622
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -4634,14 +4667,6 @@
|
|
|
4634
4667
|
.ttw\:focus-visible\:ring-offset-background:focus-visible {
|
|
4635
4668
|
--tw-ring-offset-color: var(--ttw-background);
|
|
4636
4669
|
}
|
|
4637
|
-
.ttw\:focus-visible\:outline-hidden:focus-visible {
|
|
4638
|
-
--tw-outline-style: none;
|
|
4639
|
-
outline-style: none;
|
|
4640
|
-
@media (forced-colors: active) {
|
|
4641
|
-
outline: 2px solid transparent;
|
|
4642
|
-
outline-offset: 2px;
|
|
4643
|
-
}
|
|
4644
|
-
}
|
|
4645
4670
|
.ttw\:focus-visible\:outline-1:focus-visible {
|
|
4646
4671
|
outline-style: var(--tw-outline-style);
|
|
4647
4672
|
outline-width: 1px;
|
|
@@ -4934,6 +4959,9 @@
|
|
|
4934
4959
|
.ttw\:data-\[orientation\=horizontal\]\:flex-col[data-orientation="horizontal"] {
|
|
4935
4960
|
flex-direction: column;
|
|
4936
4961
|
}
|
|
4962
|
+
.ttw\:data-\[orientation\=vertical\]\:h-4[data-orientation="vertical"] {
|
|
4963
|
+
height: calc(var(--ttw-spacing) * 4);
|
|
4964
|
+
}
|
|
4937
4965
|
.ttw\:data-\[orientation\=vertical\]\:h-full[data-orientation="vertical"] {
|
|
4938
4966
|
height: 100%;
|
|
4939
4967
|
}
|
|
@@ -5038,6 +5066,9 @@
|
|
|
5038
5066
|
.ttw\:data-\[size\=sm\]\:h-8[data-size="sm"] {
|
|
5039
5067
|
height: calc(var(--ttw-spacing) * 8);
|
|
5040
5068
|
}
|
|
5069
|
+
:is(.ttw\:\*\:data-\[slot\=alert-description\]\:text-current > *)[data-slot="alert-description"] {
|
|
5070
|
+
color: currentcolor;
|
|
5071
|
+
}
|
|
5041
5072
|
:is(.ttw\:\*\:data-\[slot\=alert-description\]\:text-destructive\/90 > *)[data-slot="alert-description"] {
|
|
5042
5073
|
color: var(--ttw-destructive);
|
|
5043
5074
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -5848,10 +5879,6 @@
|
|
|
5848
5879
|
width: calc(var(--ttw-spacing) * 5);
|
|
5849
5880
|
height: calc(var(--ttw-spacing) * 5);
|
|
5850
5881
|
}
|
|
5851
|
-
.ttw\:\[\&\>svg\]\:size-6 > svg {
|
|
5852
|
-
width: calc(var(--ttw-spacing) * 6);
|
|
5853
|
-
height: calc(var(--ttw-spacing) * 6);
|
|
5854
|
-
}
|
|
5855
5882
|
.ttw\:\[\&\>svg\]\:shrink-0 > svg {
|
|
5856
5883
|
flex-shrink: 0;
|
|
5857
5884
|
}
|
|
@@ -6066,7 +6093,7 @@
|
|
|
6066
6093
|
--ttw-ring: oklch(0.708 0 0);
|
|
6067
6094
|
--ttw-info: #2563eb;
|
|
6068
6095
|
--ttw-success: #16a34a;
|
|
6069
|
-
--ttw-warning: #
|
|
6096
|
+
--ttw-warning: #ca8a04;
|
|
6070
6097
|
--ttw-violet: #7c3aed;
|
|
6071
6098
|
--ttw-cyan: #0891b2;
|
|
6072
6099
|
--ttw-overlay: oklch(0 0 0 / 0.5);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
1
|
+
import "./index23.js";
|
|
2
|
+
import "./index28.js";
|
|
3
|
+
import "./index37.js";
|
|
4
|
+
import "./index39.js";
|
|
5
|
+
import "./index41.js";
|
|
5
6
|
import "./index42.js";
|
|
6
7
|
import "./index43.js";
|
|
7
8
|
import "./index44.js";
|
|
8
9
|
import "./index45.js";
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import "./index49.js";
|
|
10
|
+
import { BillDetailsWidget as e, BillDialogWidget as t } from "./index47.js";
|
|
11
|
+
import "./index48.js";
|
|
12
12
|
export { e as BillDetailsWidget, t as BillDialogWidget };
|
|
@@ -1,11 +1,17 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { usePayableHistoryQuery as e } from "../../data-access/dist/index3.js";
|
|
6
|
+
import "../../data-access/dist/index.js";
|
|
1
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index10.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
8
|
+
var t = "submitted_for_approval";
|
|
9
|
+
function n({ payableId: n, enabled: r = !0 }) {
|
|
10
|
+
let i = e(n, { enabled: r });
|
|
11
|
+
return {
|
|
12
|
+
roundStartedAt: (i.data?.data ?? []).reduce((e, n) => n.event_type === t ? n.timestamp : e, void 0),
|
|
13
|
+
isLoading: i.isLoading
|
|
14
|
+
};
|
|
9
15
|
}
|
|
10
16
|
//#endregion
|
|
11
|
-
export {
|
|
17
|
+
export { n as usePayableApprovalRoundStart };
|
|
@@ -2,16 +2,68 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import {
|
|
5
|
+
import { hasAnyScope as e } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
+
import { Scope as t } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
+
import { useAllOrganizationRolesQuery as n } from "../../../../shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js";
|
|
8
|
+
import { useAllOrganizationUsersQuery as r } from "../../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
|
|
9
|
+
import "../../../../shared/data-access/dist/index.js";
|
|
10
|
+
import { useWidgetConfig as i } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
|
+
import "../../../../shared/feature/dist/index.js";
|
|
12
|
+
import { useGetApprovalPoliciesQuery as a } from "../../../../shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js";
|
|
13
|
+
import "../../../../shared/approval-policy/data-access/dist/index.js";
|
|
14
|
+
import { buildApprovalPolicyCardView as o } from "./index6.js";
|
|
15
|
+
import { usePayableApprovalRequestsQuery as s } from "../../data-access/dist/index2.js";
|
|
6
16
|
import "../../data-access/dist/index.js";
|
|
17
|
+
import { currentApprovalRound as c } from "./index7.js";
|
|
18
|
+
import { buildPendingApproverGroups as l } from "./index8.js";
|
|
19
|
+
import { buildPendingApproverGroupsFromCardView as u } from "./index9.js";
|
|
20
|
+
import { usePayableApprovalRoundStart as d } from "./index10.js";
|
|
21
|
+
import { useMemo as f } from "react";
|
|
7
22
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index11.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
23
|
+
function p({ payableId: p, approvalPolicyId: m, enabled: h = !0, copy: g }) {
|
|
24
|
+
let _ = h && !!m, { initResponse: v } = i(), y = e(v?.scopes, [t.ApprovalPolicyReadOrg]), b = e(v?.scopes, [t.ApprovalRequestReadOrg]), x = e(v?.scopes, [t.RoleReadOrg]), S = e(v?.scopes, [t.UserReadOrg]), C = a({ enabled: _ && y }), w = n({ enabled: _ && x }), T = r({ enabled: _ && S }), E = s(p, { enabled: _ && b }), { roundStartedAt: D } = d({
|
|
25
|
+
payableId: p,
|
|
26
|
+
enabled: _ && b
|
|
27
|
+
}), O = f(() => {
|
|
28
|
+
let e = /* @__PURE__ */ new Map();
|
|
29
|
+
for (let t of w.data?.data ?? []) e.set(t.id, {
|
|
30
|
+
label: t.name,
|
|
31
|
+
kind: "role"
|
|
32
|
+
});
|
|
33
|
+
for (let t of T.data?.data ?? []) e.set(t.id, {
|
|
34
|
+
label: t.name,
|
|
35
|
+
kind: "user"
|
|
36
|
+
});
|
|
37
|
+
return e;
|
|
38
|
+
}, [w.data, T.data]), k = f(() => c(E.data?.data, D), [E.data, D]), A = f(() => new Set(k.flatMap((e) => e.approved_by ?? [])), [k]), j = f(() => new Set(k.filter((e) => (e.approved_by ?? []).length > 0).flatMap((e) => e.role_ids ?? [])), [k]), M = f(() => m ? C.data?.data.find((e) => e.id === m) : void 0, [C.data, m]), N = f(() => _ && M ? o({
|
|
39
|
+
policy: M,
|
|
40
|
+
lookup: O,
|
|
41
|
+
approvedUserIds: A,
|
|
42
|
+
approvedRoleIds: j,
|
|
43
|
+
copy: g
|
|
44
|
+
}) : void 0, [
|
|
45
|
+
_,
|
|
46
|
+
M,
|
|
47
|
+
O,
|
|
48
|
+
A,
|
|
49
|
+
j,
|
|
50
|
+
g
|
|
51
|
+
]);
|
|
11
52
|
return {
|
|
12
|
-
|
|
13
|
-
|
|
53
|
+
view: N,
|
|
54
|
+
pendingApprovers: f(() => _ ? N ? u(N) : l({
|
|
55
|
+
requestsNewestFirst: E.data?.data,
|
|
56
|
+
roundStartedAt: D,
|
|
57
|
+
lookup: O
|
|
58
|
+
}) : [], [
|
|
59
|
+
_,
|
|
60
|
+
N,
|
|
61
|
+
E.data,
|
|
62
|
+
D,
|
|
63
|
+
O
|
|
64
|
+
]),
|
|
65
|
+
isLoading: !!m && (!h || C.isResolving || w.isResolving || T.isResolving || E.isLoading || E.isError || !b)
|
|
14
66
|
};
|
|
15
67
|
}
|
|
16
68
|
//#endregion
|
|
17
|
-
export {
|
|
69
|
+
export { p as useApprovalPolicyCardView };
|
|
@@ -1,69 +1,14 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use client";
|
|
3
|
-
"use client";
|
|
4
|
-
"use client";
|
|
5
|
-
import { hasAnyScope as e } from "../../../../shared/data-access/dist/lib/hasAnyScope.js";
|
|
6
|
-
import { Scope as t } from "../../../../shared/data-access/dist/lib/scopes.js";
|
|
7
|
-
import { useAllOrganizationRolesQuery as n } from "../../../../shared/data-access/dist/lib/role/useAllOrganizationRolesQuery.js";
|
|
8
|
-
import { useAllOrganizationUsersQuery as r } from "../../../../shared/data-access/dist/lib/user/useAllOrganizationUsersQuery.js";
|
|
9
|
-
import "../../../../shared/data-access/dist/index.js";
|
|
10
|
-
import { useWidgetConfig as i } from "../../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
11
|
-
import "../../../../shared/feature/dist/index.js";
|
|
12
|
-
import { useGetApprovalPoliciesQuery as a } from "../../../../shared/approval-policy/data-access/dist/lib/approvalPoliciesApi.js";
|
|
13
|
-
import "../../../../shared/approval-policy/data-access/dist/index.js";
|
|
14
|
-
import { buildApprovalPolicyCardView as o } from "./index7.js";
|
|
15
|
-
import { usePayableApprovalRequestsQuery as s } from "../../data-access/dist/index2.js";
|
|
16
|
-
import "../../data-access/dist/index.js";
|
|
17
|
-
import { currentApprovalRound as c } from "./index8.js";
|
|
18
|
-
import { buildPendingApproverGroups as l } from "./index9.js";
|
|
19
|
-
import { buildPendingApproverGroupsFromCardView as u } from "./index10.js";
|
|
20
|
-
import { usePayableApprovalRoundStart as d } from "./index11.js";
|
|
21
|
-
import { useMemo as f } from "react";
|
|
22
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index12.js
|
|
23
|
-
function
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
});
|
|
33
|
-
for (let t of T.data?.data ?? []) e.set(t.id, {
|
|
34
|
-
label: t.name,
|
|
35
|
-
kind: "user"
|
|
36
|
-
});
|
|
37
|
-
return e;
|
|
38
|
-
}, [w.data, T.data]), k = f(() => c(E.data?.data, D), [E.data, D]), A = f(() => new Set(k.flatMap((e) => e.approved_by ?? [])), [k]), j = f(() => new Set(k.filter((e) => (e.approved_by ?? []).length > 0).flatMap((e) => e.role_ids ?? [])), [k]), M = f(() => m ? C.data?.data.find((e) => e.id === m) : void 0, [C.data, m]), N = f(() => _ && M ? o({
|
|
39
|
-
policy: M,
|
|
40
|
-
lookup: O,
|
|
41
|
-
approvedUserIds: A,
|
|
42
|
-
approvedRoleIds: j,
|
|
43
|
-
copy: g
|
|
44
|
-
}) : void 0, [
|
|
45
|
-
_,
|
|
46
|
-
M,
|
|
47
|
-
O,
|
|
48
|
-
A,
|
|
49
|
-
j,
|
|
50
|
-
g
|
|
51
|
-
]);
|
|
52
|
-
return {
|
|
53
|
-
view: N,
|
|
54
|
-
pendingApprovers: f(() => _ ? N ? u(N) : l({
|
|
55
|
-
requestsNewestFirst: E.data?.data,
|
|
56
|
-
roundStartedAt: D,
|
|
57
|
-
lookup: O
|
|
58
|
-
}) : [], [
|
|
59
|
-
_,
|
|
60
|
-
N,
|
|
61
|
-
E.data,
|
|
62
|
-
D,
|
|
63
|
-
O
|
|
64
|
-
]),
|
|
65
|
-
isLoading: !!m && (!h || C.isResolving || w.isResolving || T.isResolving || E.isLoading || E.isError || !b)
|
|
2
|
+
function e(e) {
|
|
3
|
+
return [e.nominal_code, e.name].filter(Boolean).join(" — ");
|
|
4
|
+
}
|
|
5
|
+
function t({ isInitResolved: e, canReadGlCodes: t, isResolving: n, isError: r, optionCount: i, labels: a }) {
|
|
6
|
+
let o;
|
|
7
|
+
return e ? t ? r ? o = a.loadError : !n && i === 0 && (o = a.empty) : o = a.noAccess : o = void 0, {
|
|
8
|
+
unavailableMessage: o,
|
|
9
|
+
disabled: !e || !!o || n,
|
|
10
|
+
rosterAvailable: t && !n && !r
|
|
66
11
|
};
|
|
67
12
|
}
|
|
68
13
|
//#endregion
|
|
69
|
-
export {
|
|
14
|
+
export { e as formatGlCodeLabel, t as resolveGlCodeAvailability };
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index13.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
let
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
rosterAvailable: t && !n && !r
|
|
2
|
+
function e({ isCapabilityUnknown: e, canApproveNow: t, canOverridePolicy: n, status: r, hasApprovalPolicy: i, pendingApproverNames: a, labels: o }) {
|
|
3
|
+
if (e) return { showApprovalOverrideNotice: !1 };
|
|
4
|
+
if (n) return { showApprovalOverrideNotice: !t };
|
|
5
|
+
if (t || r !== "approve_in_progress" || !i) return { showApprovalOverrideNotice: !1 };
|
|
6
|
+
let s = [...new Set(a)];
|
|
7
|
+
return {
|
|
8
|
+
showApprovalOverrideNotice: !1,
|
|
9
|
+
awaitingApprovalNotice: s.length ? o.awaitingApprovalNotice(s) : o.awaitingApprovalUnknownNotice
|
|
11
10
|
};
|
|
12
11
|
}
|
|
13
12
|
//#endregion
|
|
14
|
-
export { e as
|
|
13
|
+
export { e as resolveApprovalNotices };
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index14.js
|
|
2
|
-
function e(
|
|
3
|
-
if (e) return
|
|
4
|
-
|
|
5
|
-
if (t || r !== "approve_in_progress" || !i) return { showApprovalOverrideNotice: !1 };
|
|
6
|
-
let s = [...new Set(a)];
|
|
2
|
+
function e(e, t) {
|
|
3
|
+
if (!e) return;
|
|
4
|
+
let { onOpen: n, canEditExisting: r, ...i } = e;
|
|
7
5
|
return {
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
...i,
|
|
7
|
+
onEditExisting: t && r ? n : void 0,
|
|
8
|
+
onAdd: t ? void 0 : n
|
|
10
9
|
};
|
|
11
10
|
}
|
|
12
11
|
//#endregion
|
|
13
|
-
export { e as
|
|
12
|
+
export { e as resolvePaymentInstructionsGestures };
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
import { formatRejectionDate as e } from "../../../../shared/util/dist/lib/formatRejectionDate.js";
|
|
2
|
+
import "../../../../shared/util/dist/index.js";
|
|
1
3
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index15.js
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
function t({ payableStatus: t, approvalRequests: n, userNames: r, payableUpdatedAt: i, labels: a, now: o }) {
|
|
5
|
+
let s = n.find((e) => e.status === "rejected");
|
|
6
|
+
if (!s) return t !== "rejected" || !i ? void 0 : { actorLabel: a.rejectedOn(e(i, o)) };
|
|
7
|
+
let c = s.rejected_by ? r.get(s.rejected_by) : void 0, l = e(s.updated_at, o);
|
|
5
8
|
return {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
onAdd: t ? void 0 : n
|
|
9
|
+
actorLabel: c ? a.rejectedByOn(c, l) : a.rejectedOn(l),
|
|
10
|
+
message: s.reject_reason ? a.rejectionMessage(s.reject_reason) : void 0
|
|
9
11
|
};
|
|
10
12
|
}
|
|
11
13
|
//#endregion
|
|
12
|
-
export {
|
|
14
|
+
export { t as resolveBillRejectionNotice };
|
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
"use client";
|
|
3
|
+
"use client";
|
|
4
|
+
"use client";
|
|
5
|
+
import { usePayableApprovalRequestsQuery as e } from "../../data-access/dist/index2.js";
|
|
6
|
+
import "../../data-access/dist/index.js";
|
|
7
|
+
import { currentApprovalRound as t } from "./index7.js";
|
|
8
|
+
import { usePayableApprovalRoundStart as n } from "./index10.js";
|
|
9
|
+
import { resolveBillRejectionNotice as r } from "./index15.js";
|
|
10
|
+
import { useMemo as i } from "react";
|
|
3
11
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index16.js
|
|
4
|
-
function
|
|
5
|
-
let
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
function a({ payableId: a, payableStatus: o, payableUpdatedAt: s, enabled: c, userNames: l, labels: u }) {
|
|
13
|
+
let d = n({
|
|
14
|
+
payableId: a,
|
|
15
|
+
enabled: c
|
|
16
|
+
}), f = e(a, { enabled: c }), p = i(() => t(f.data?.data, d.roundStartedAt), [f.data, d.roundStartedAt]);
|
|
17
|
+
return i(() => r({
|
|
18
|
+
payableStatus: o,
|
|
19
|
+
approvalRequests: p,
|
|
20
|
+
userNames: l,
|
|
21
|
+
payableUpdatedAt: s,
|
|
22
|
+
labels: u
|
|
23
|
+
}), [
|
|
24
|
+
o,
|
|
25
|
+
s,
|
|
26
|
+
p,
|
|
27
|
+
l,
|
|
28
|
+
u
|
|
29
|
+
]);
|
|
12
30
|
}
|
|
13
31
|
//#endregion
|
|
14
|
-
export {
|
|
32
|
+
export { a as useBillRejectionNotice };
|