@tesouro/embedded-components-react 0.11.250 → 0.11.254
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 +9 -344
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index26.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index27.js +3 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index31.js +47 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +87 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +238 -248
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index46.js +15 -34
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index47.js +199 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index5.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index10.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index11.js +150 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index12.js +2 -150
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index13.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index14.js +272 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index15.js +1 -279
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index16.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index17.js +51 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index18.js +2 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index19.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index20.js +369 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index21.js +2 -373
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index22.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index23.js +124 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index24.js +2 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index25.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index26.js +51 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index27.js +1 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index28.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index29.js +10 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index3.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index30.js +133 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index31.js +1 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index32.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index33.js +52 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index34.js +2 -315
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index35.js +15 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index36.js +158 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index37.js +2 -162
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index38.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index39.js +19 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index40.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index41.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index44.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index45.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index46.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index47.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index48.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index49.js +2 -107
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index5.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index50.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index51.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index6.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index7.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index8.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index9.js +34 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index14.js +1 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index19.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index17.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index10.js +119 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index2.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index4.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index9.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +76 -171
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index12.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index13.js +9 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index14.js +126 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index15.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +23 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +32 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index4.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +28 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index7.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index9.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index12.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index13.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index2.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +15 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +53 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/index.js +17 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/billDetailLabels.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index3.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/document-status/ui/dist/index4.js +13 -14
- 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/feature/dist/lib/document/documentPreview.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/MaskedAccountNumber/MaskedAccountNumber.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/TooltipIconButton/TooltipIconButton.js +55 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +1322 -1312
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index53.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +0 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/util/dist/lib/maskAccountNumber.js +0 -5
package/dist/index.css
CHANGED
|
@@ -12,10 +12,8 @@
|
|
|
12
12
|
--ttw-color-orange-100: oklch(95.4% 0.038 75.164);
|
|
13
13
|
--ttw-color-orange-700: oklch(55.3% 0.195 38.402);
|
|
14
14
|
--ttw-color-amber-50: oklch(98.7% 0.022 95.277);
|
|
15
|
-
--ttw-color-amber-100: oklch(96.2% 0.059 95.617);
|
|
16
15
|
--ttw-color-amber-200: oklch(92.4% 0.12 95.746);
|
|
17
16
|
--ttw-color-amber-600: oklch(66.6% 0.179 58.318);
|
|
18
|
-
--ttw-color-amber-700: oklch(55.5% 0.163 48.998);
|
|
19
17
|
--ttw-color-amber-800: oklch(47.3% 0.137 46.201);
|
|
20
18
|
--ttw-color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
21
19
|
--ttw-color-yellow-800: oklch(47.6% 0.114 61.907);
|
|
@@ -23,18 +21,13 @@
|
|
|
23
21
|
--ttw-color-green-500: oklch(72.3% 0.219 149.579);
|
|
24
22
|
--ttw-color-green-700: oklch(52.7% 0.154 150.069);
|
|
25
23
|
--ttw-color-green-800: oklch(44.8% 0.119 151.328);
|
|
26
|
-
--ttw-color-green-900: oklch(39.3% 0.095 152.535);
|
|
27
24
|
--ttw-color-emerald-50: oklch(97.9% 0.021 166.113);
|
|
28
25
|
--ttw-color-emerald-100: oklch(95% 0.052 163.051);
|
|
29
26
|
--ttw-color-emerald-200: oklch(90.5% 0.093 164.15);
|
|
30
|
-
--ttw-color-emerald-600: oklch(59.6% 0.145 163.225);
|
|
31
27
|
--ttw-color-emerald-700: oklch(50.8% 0.118 165.612);
|
|
32
|
-
--ttw-color-cyan-50: oklch(98.4% 0.019 200.873);
|
|
33
28
|
--ttw-color-cyan-100: oklch(95.6% 0.045 203.388);
|
|
34
|
-
--ttw-color-cyan-200: oklch(91.7% 0.08 205.041);
|
|
35
29
|
--ttw-color-cyan-700: oklch(52% 0.105 223.128);
|
|
36
30
|
--ttw-color-blue-50: oklch(97% 0.014 254.604);
|
|
37
|
-
--ttw-color-blue-100: oklch(93.2% 0.032 255.585);
|
|
38
31
|
--ttw-color-blue-200: oklch(88.2% 0.059 254.128);
|
|
39
32
|
--ttw-color-blue-300: oklch(80.9% 0.105 251.813);
|
|
40
33
|
--ttw-color-blue-500: oklch(62.3% 0.214 259.815);
|
|
@@ -42,8 +35,6 @@
|
|
|
42
35
|
--ttw-color-blue-700: oklch(48.8% 0.243 264.376);
|
|
43
36
|
--ttw-color-blue-900: oklch(37.9% 0.146 265.522);
|
|
44
37
|
--ttw-color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
45
|
-
--ttw-color-violet-100: oklch(94.3% 0.029 294.588);
|
|
46
|
-
--ttw-color-violet-700: oklch(49.1% 0.27 292.581);
|
|
47
38
|
--ttw-color-purple-100: oklch(94.6% 0.033 307.174);
|
|
48
39
|
--ttw-color-purple-700: oklch(49.6% 0.265 301.924);
|
|
49
40
|
--ttw-color-zinc-900: oklch(21% 0.006 285.885);
|
|
@@ -485,6 +476,9 @@
|
|
|
485
476
|
.ttw\:my-1\.5 {
|
|
486
477
|
margin-block: calc(var(--ttw-spacing) * 1.5);
|
|
487
478
|
}
|
|
479
|
+
.ttw\:my-3 {
|
|
480
|
+
margin-block: calc(var(--ttw-spacing) * 3);
|
|
481
|
+
}
|
|
488
482
|
.ttw\:-mt-5 {
|
|
489
483
|
margin-top: calc(var(--ttw-spacing) * -5);
|
|
490
484
|
}
|
|
@@ -847,9 +841,6 @@
|
|
|
847
841
|
.ttw\:h-\[600px\] {
|
|
848
842
|
height: 600px;
|
|
849
843
|
}
|
|
850
|
-
.ttw\:h-\[calc\(100vh-3rem\)\] {
|
|
851
|
-
height: calc(100vh - 48px);
|
|
852
|
-
}
|
|
853
844
|
.ttw\:h-\[min\(70vh\,44rem\)\] {
|
|
854
845
|
height: min(70vh, 704px);
|
|
855
846
|
}
|
|
@@ -1144,9 +1135,6 @@
|
|
|
1144
1135
|
.ttw\:w-112 {
|
|
1145
1136
|
width: calc(var(--ttw-spacing) * 112);
|
|
1146
1137
|
}
|
|
1147
|
-
.ttw\:w-150 {
|
|
1148
|
-
width: calc(var(--ttw-spacing) * 150);
|
|
1149
|
-
}
|
|
1150
1138
|
.ttw\:w-160 {
|
|
1151
1139
|
width: calc(var(--ttw-spacing) * 160);
|
|
1152
1140
|
}
|
|
@@ -1210,9 +1198,6 @@
|
|
|
1210
1198
|
.ttw\:w-\[calc\(100\%-2rem\)\] {
|
|
1211
1199
|
width: calc(100% - 32px);
|
|
1212
1200
|
}
|
|
1213
|
-
.ttw\:w-\[calc\(100vw-3rem\)\] {
|
|
1214
|
-
width: calc(100vw - 48px);
|
|
1215
|
-
}
|
|
1216
1201
|
.ttw\:w-\[min\(390px\,100\%\)\] {
|
|
1217
1202
|
width: min(390px, 100%);
|
|
1218
1203
|
}
|
|
@@ -1345,9 +1330,6 @@
|
|
|
1345
1330
|
.ttw\:max-w-\[calc\(100vw-2rem\)\] {
|
|
1346
1331
|
max-width: calc(100vw - 32px);
|
|
1347
1332
|
}
|
|
1348
|
-
.ttw\:max-w-\[calc\(100vw-3rem\)\] {
|
|
1349
|
-
max-width: calc(100vw - 48px);
|
|
1350
|
-
}
|
|
1351
1333
|
.ttw\:max-w-\[calc\(100vw-32px\)\] {
|
|
1352
1334
|
max-width: calc(100vw - 32px);
|
|
1353
1335
|
}
|
|
@@ -1697,6 +1679,9 @@
|
|
|
1697
1679
|
.ttw\:place-items-center {
|
|
1698
1680
|
place-items: center;
|
|
1699
1681
|
}
|
|
1682
|
+
.ttw\:content-start {
|
|
1683
|
+
align-content: flex-start;
|
|
1684
|
+
}
|
|
1700
1685
|
.ttw\:\[align-items\:safe_center\] {
|
|
1701
1686
|
align-items: safe center;
|
|
1702
1687
|
}
|
|
@@ -1991,15 +1976,9 @@
|
|
|
1991
1976
|
.ttw\:border-\[\#e6e6e6\] {
|
|
1992
1977
|
border-color: #e6e6e6;
|
|
1993
1978
|
}
|
|
1994
|
-
.ttw\:border-amber-100 {
|
|
1995
|
-
border-color: var(--ttw-color-amber-100);
|
|
1996
|
-
}
|
|
1997
1979
|
.ttw\:border-amber-200 {
|
|
1998
1980
|
border-color: var(--ttw-color-amber-200);
|
|
1999
1981
|
}
|
|
2000
|
-
.ttw\:border-blue-100 {
|
|
2001
|
-
border-color: var(--ttw-color-blue-100);
|
|
2002
|
-
}
|
|
2003
1982
|
.ttw\:border-blue-200 {
|
|
2004
1983
|
border-color: var(--ttw-color-blue-200);
|
|
2005
1984
|
}
|
|
@@ -2012,138 +1991,9 @@
|
|
|
2012
1991
|
.ttw\:border-border {
|
|
2013
1992
|
border-color: var(--ttw-border);
|
|
2014
1993
|
}
|
|
2015
|
-
.ttw\:border-cyan-200 {
|
|
2016
|
-
border-color: var(--ttw-color-cyan-200);
|
|
2017
|
-
}
|
|
2018
1994
|
.ttw\:border-destructive {
|
|
2019
1995
|
border-color: var(--ttw-destructive);
|
|
2020
1996
|
}
|
|
2021
|
-
.ttw\:border-destructive-subtle {
|
|
2022
|
-
border-color: var(
|
|
2023
|
-
--ttw-destructive-subtle,
|
|
2024
|
-
var(
|
|
2025
|
-
--_ttw-tint-relative,
|
|
2026
|
-
oklch(
|
|
2027
|
-
from
|
|
2028
|
-
oklch(from var(--ttw-destructive) 0.56 c h)
|
|
2029
|
-
l
|
|
2030
|
-
min(
|
|
2031
|
-
calc(c * 2.5),
|
|
2032
|
-
calc(
|
|
2033
|
-
(1 - l) *
|
|
2034
|
-
(
|
|
2035
|
-
0.498 +
|
|
2036
|
-
(
|
|
2037
|
-
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
2038
|
-
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
2039
|
-
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
2040
|
-
clamp(0, h - 120, 30) - 0.485 *
|
|
2041
|
-
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
2042
|
-
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
2043
|
-
clamp(0, h - 240, 30) + 0.083 *
|
|
2044
|
-
clamp(0, h - 270, 30) + 0.221 *
|
|
2045
|
-
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
2046
|
-
) /
|
|
2047
|
-
30
|
|
2048
|
-
)
|
|
2049
|
-
),
|
|
2050
|
-
calc(
|
|
2051
|
-
l *
|
|
2052
|
-
(
|
|
2053
|
-
0.396 +
|
|
2054
|
-
(
|
|
2055
|
-
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
2056
|
-
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
2057
|
-
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
2058
|
-
clamp(0, h - 120, 30) - 0.086 *
|
|
2059
|
-
clamp(0, h - 150, 30) - 0.004 *
|
|
2060
|
-
clamp(0, h - 180, 30) + 0.001 *
|
|
2061
|
-
clamp(0, h - 210, 30) + 0.328 *
|
|
2062
|
-
clamp(0, h - 240, 30) + 0.036 *
|
|
2063
|
-
clamp(0, h - 270, 30) - 0.081 *
|
|
2064
|
-
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
2065
|
-
) /
|
|
2066
|
-
30
|
|
2067
|
-
)
|
|
2068
|
-
)
|
|
2069
|
-
)
|
|
2070
|
-
h
|
|
2071
|
-
)
|
|
2072
|
-
)
|
|
2073
|
-
var(
|
|
2074
|
-
--_ttw-tint-legacy,
|
|
2075
|
-
var(--ttw-destructive)
|
|
2076
|
-
)
|
|
2077
|
-
);
|
|
2078
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2079
|
-
border-color: var(
|
|
2080
|
-
--ttw-destructive-subtle,
|
|
2081
|
-
var(
|
|
2082
|
-
--_ttw-tint-relative,
|
|
2083
|
-
oklch(
|
|
2084
|
-
from
|
|
2085
|
-
color-mix(
|
|
2086
|
-
in oklch,
|
|
2087
|
-
oklch(from var(--ttw-destructive) 0.56 c h) 16%,
|
|
2088
|
-
oklch(from var(--ttw-background) l 0 none)
|
|
2089
|
-
)
|
|
2090
|
-
l
|
|
2091
|
-
min(
|
|
2092
|
-
calc(c * 2.5),
|
|
2093
|
-
calc(
|
|
2094
|
-
(1 - l) *
|
|
2095
|
-
(
|
|
2096
|
-
0.498 +
|
|
2097
|
-
(
|
|
2098
|
-
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
2099
|
-
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
2100
|
-
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
2101
|
-
clamp(0, h - 120, 30) - 0.485 *
|
|
2102
|
-
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
2103
|
-
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
2104
|
-
clamp(0, h - 240, 30) + 0.083 *
|
|
2105
|
-
clamp(0, h - 270, 30) + 0.221 *
|
|
2106
|
-
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
2107
|
-
) /
|
|
2108
|
-
30
|
|
2109
|
-
)
|
|
2110
|
-
),
|
|
2111
|
-
calc(
|
|
2112
|
-
l *
|
|
2113
|
-
(
|
|
2114
|
-
0.396 +
|
|
2115
|
-
(
|
|
2116
|
-
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
2117
|
-
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
2118
|
-
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
2119
|
-
clamp(0, h - 120, 30) - 0.086 *
|
|
2120
|
-
clamp(0, h - 150, 30) - 0.004 *
|
|
2121
|
-
clamp(0, h - 180, 30) + 0.001 *
|
|
2122
|
-
clamp(0, h - 210, 30) + 0.328 *
|
|
2123
|
-
clamp(0, h - 240, 30) + 0.036 *
|
|
2124
|
-
clamp(0, h - 270, 30) - 0.081 *
|
|
2125
|
-
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
2126
|
-
) /
|
|
2127
|
-
30
|
|
2128
|
-
)
|
|
2129
|
-
)
|
|
2130
|
-
)
|
|
2131
|
-
h
|
|
2132
|
-
)
|
|
2133
|
-
)
|
|
2134
|
-
var(
|
|
2135
|
-
--_ttw-tint-legacy,
|
|
2136
|
-
color-mix(in oklab, var(--ttw-destructive) 12%, var(--ttw-background))
|
|
2137
|
-
)
|
|
2138
|
-
);
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
.ttw\:border-destructive\/20 {
|
|
2142
|
-
border-color: var(--ttw-destructive);
|
|
2143
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2144
|
-
border-color: color-mix(in oklab, var(--ttw-destructive) 20%, transparent);
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
1997
|
.ttw\:border-destructive\/30 {
|
|
2148
1998
|
border-color: var(--ttw-destructive);
|
|
2149
1999
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2162,9 +2012,6 @@
|
|
|
2162
2012
|
.ttw\:border-foreground {
|
|
2163
2013
|
border-color: var(--ttw-foreground);
|
|
2164
2014
|
}
|
|
2165
|
-
.ttw\:border-green-100 {
|
|
2166
|
-
border-color: var(--ttw-color-green-100);
|
|
2167
|
-
}
|
|
2168
2015
|
.ttw\:border-info\/40 {
|
|
2169
2016
|
border-color: var(--ttw-info);
|
|
2170
2017
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -2186,12 +2033,6 @@
|
|
|
2186
2033
|
.ttw\:border-primary {
|
|
2187
2034
|
border-color: var(--ttw-primary);
|
|
2188
2035
|
}
|
|
2189
|
-
.ttw\:border-primary\/30 {
|
|
2190
|
-
border-color: var(--ttw-primary);
|
|
2191
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2192
|
-
border-color: color-mix(in oklab, var(--ttw-primary) 30%, transparent);
|
|
2193
|
-
}
|
|
2194
|
-
}
|
|
2195
2036
|
.ttw\:border-red-200 {
|
|
2196
2037
|
border-color: var(--ttw-color-red-200);
|
|
2197
2038
|
}
|
|
@@ -2207,9 +2048,6 @@
|
|
|
2207
2048
|
.ttw\:border-transparent {
|
|
2208
2049
|
border-color: transparent;
|
|
2209
2050
|
}
|
|
2210
|
-
.ttw\:border-violet-100 {
|
|
2211
|
-
border-color: var(--ttw-color-violet-100);
|
|
2212
|
-
}
|
|
2213
2051
|
.ttw\:border-warning {
|
|
2214
2052
|
border-color: var(--ttw-warning);
|
|
2215
2053
|
}
|
|
@@ -2234,9 +2072,6 @@
|
|
|
2234
2072
|
.ttw\:bg-amber-50 {
|
|
2235
2073
|
background-color: var(--ttw-color-amber-50);
|
|
2236
2074
|
}
|
|
2237
|
-
.ttw\:bg-amber-100 {
|
|
2238
|
-
background-color: var(--ttw-color-amber-100);
|
|
2239
|
-
}
|
|
2240
2075
|
.ttw\:bg-background {
|
|
2241
2076
|
background-color: var(--ttw-background);
|
|
2242
2077
|
}
|
|
@@ -2270,9 +2105,6 @@
|
|
|
2270
2105
|
.ttw\:bg-blue-50 {
|
|
2271
2106
|
background-color: var(--ttw-color-blue-50);
|
|
2272
2107
|
}
|
|
2273
|
-
.ttw\:bg-blue-100 {
|
|
2274
|
-
background-color: var(--ttw-color-blue-100);
|
|
2275
|
-
}
|
|
2276
2108
|
.ttw\:bg-blue-600 {
|
|
2277
2109
|
background-color: var(--ttw-color-blue-600);
|
|
2278
2110
|
}
|
|
@@ -2282,9 +2114,6 @@
|
|
|
2282
2114
|
.ttw\:bg-card {
|
|
2283
2115
|
background-color: var(--ttw-card);
|
|
2284
2116
|
}
|
|
2285
|
-
.ttw\:bg-cyan-50 {
|
|
2286
|
-
background-color: var(--ttw-color-cyan-50);
|
|
2287
|
-
}
|
|
2288
2117
|
.ttw\:bg-cyan-100 {
|
|
2289
2118
|
background-color: var(--ttw-color-cyan-100);
|
|
2290
2119
|
}
|
|
@@ -3249,9 +3078,6 @@
|
|
|
3249
3078
|
.ttw\:bg-transparent {
|
|
3250
3079
|
background-color: transparent;
|
|
3251
3080
|
}
|
|
3252
|
-
.ttw\:bg-violet-100 {
|
|
3253
|
-
background-color: var(--ttw-color-violet-100);
|
|
3254
|
-
}
|
|
3255
3081
|
.ttw\:bg-violet-subtle {
|
|
3256
3082
|
background-color: var(
|
|
3257
3083
|
--ttw-violet-subtle,
|
|
@@ -3887,9 +3713,6 @@
|
|
|
3887
3713
|
.ttw\:pr-8 {
|
|
3888
3714
|
padding-right: calc(var(--ttw-spacing) * 8);
|
|
3889
3715
|
}
|
|
3890
|
-
.ttw\:pr-12 {
|
|
3891
|
-
padding-right: calc(var(--ttw-spacing) * 12);
|
|
3892
|
-
}
|
|
3893
3716
|
.ttw\:pr-14 {
|
|
3894
3717
|
padding-right: calc(var(--ttw-spacing) * 14);
|
|
3895
3718
|
}
|
|
@@ -4208,9 +4031,6 @@
|
|
|
4208
4031
|
.ttw\:text-amber-600 {
|
|
4209
4032
|
color: var(--ttw-color-amber-600);
|
|
4210
4033
|
}
|
|
4211
|
-
.ttw\:text-amber-700 {
|
|
4212
|
-
color: var(--ttw-color-amber-700);
|
|
4213
|
-
}
|
|
4214
4034
|
.ttw\:text-amber-800 {
|
|
4215
4035
|
color: var(--ttw-color-amber-800);
|
|
4216
4036
|
}
|
|
@@ -4301,9 +4121,6 @@
|
|
|
4301
4121
|
);
|
|
4302
4122
|
}
|
|
4303
4123
|
}
|
|
4304
|
-
.ttw\:text-emerald-600 {
|
|
4305
|
-
color: var(--ttw-color-emerald-600);
|
|
4306
|
-
}
|
|
4307
4124
|
.ttw\:text-emerald-700 {
|
|
4308
4125
|
color: var(--ttw-color-emerald-700);
|
|
4309
4126
|
}
|
|
@@ -4319,9 +4136,6 @@
|
|
|
4319
4136
|
.ttw\:text-green-800 {
|
|
4320
4137
|
color: var(--ttw-color-green-800);
|
|
4321
4138
|
}
|
|
4322
|
-
.ttw\:text-green-900 {
|
|
4323
|
-
color: var(--ttw-color-green-900);
|
|
4324
|
-
}
|
|
4325
4139
|
.ttw\:text-info-foreground {
|
|
4326
4140
|
color: var(
|
|
4327
4141
|
--ttw-info-foreground,
|
|
@@ -4433,9 +4247,6 @@
|
|
|
4433
4247
|
);
|
|
4434
4248
|
}
|
|
4435
4249
|
}
|
|
4436
|
-
.ttw\:text-violet-700 {
|
|
4437
|
-
color: var(--ttw-color-violet-700);
|
|
4438
|
-
}
|
|
4439
4250
|
.ttw\:text-violet-foreground {
|
|
4440
4251
|
color: var(
|
|
4441
4252
|
--ttw-violet-foreground,
|
|
@@ -5191,146 +5002,12 @@
|
|
|
5191
5002
|
.ttw\:hover\:bg-amber-50:hover {
|
|
5192
5003
|
background-color: var(--ttw-color-amber-50);
|
|
5193
5004
|
}
|
|
5194
|
-
.ttw\:hover\:bg-amber-100:hover {
|
|
5195
|
-
background-color: var(--ttw-color-amber-100);
|
|
5196
|
-
}
|
|
5197
|
-
.ttw\:hover\:bg-background:hover {
|
|
5198
|
-
background-color: var(--ttw-background);
|
|
5199
|
-
}
|
|
5200
5005
|
.ttw\:hover\:bg-blue-50:hover {
|
|
5201
5006
|
background-color: var(--ttw-color-blue-50);
|
|
5202
5007
|
}
|
|
5203
|
-
.ttw\:hover\:bg-blue-100:hover {
|
|
5204
|
-
background-color: var(--ttw-color-blue-100);
|
|
5205
|
-
}
|
|
5206
5008
|
.ttw\:hover\:bg-blue-700:hover {
|
|
5207
5009
|
background-color: var(--ttw-color-blue-700);
|
|
5208
5010
|
}
|
|
5209
|
-
.ttw\:hover\:bg-cyan-50:hover {
|
|
5210
|
-
background-color: var(--ttw-color-cyan-50);
|
|
5211
|
-
}
|
|
5212
|
-
.ttw\:hover\:bg-destructive-subtle:hover {
|
|
5213
|
-
background-color: var(
|
|
5214
|
-
--ttw-destructive-subtle,
|
|
5215
|
-
var(
|
|
5216
|
-
--_ttw-tint-relative,
|
|
5217
|
-
oklch(
|
|
5218
|
-
from
|
|
5219
|
-
oklch(from var(--ttw-destructive) 0.56 c h)
|
|
5220
|
-
l
|
|
5221
|
-
min(
|
|
5222
|
-
calc(c * 2.5),
|
|
5223
|
-
calc(
|
|
5224
|
-
(1 - l) *
|
|
5225
|
-
(
|
|
5226
|
-
0.498 +
|
|
5227
|
-
(
|
|
5228
|
-
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
5229
|
-
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
5230
|
-
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
5231
|
-
clamp(0, h - 120, 30) - 0.485 *
|
|
5232
|
-
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
5233
|
-
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
5234
|
-
clamp(0, h - 240, 30) + 0.083 *
|
|
5235
|
-
clamp(0, h - 270, 30) + 0.221 *
|
|
5236
|
-
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
5237
|
-
) /
|
|
5238
|
-
30
|
|
5239
|
-
)
|
|
5240
|
-
),
|
|
5241
|
-
calc(
|
|
5242
|
-
l *
|
|
5243
|
-
(
|
|
5244
|
-
0.396 +
|
|
5245
|
-
(
|
|
5246
|
-
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
5247
|
-
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
5248
|
-
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
5249
|
-
clamp(0, h - 120, 30) - 0.086 *
|
|
5250
|
-
clamp(0, h - 150, 30) - 0.004 *
|
|
5251
|
-
clamp(0, h - 180, 30) + 0.001 *
|
|
5252
|
-
clamp(0, h - 210, 30) + 0.328 *
|
|
5253
|
-
clamp(0, h - 240, 30) + 0.036 *
|
|
5254
|
-
clamp(0, h - 270, 30) - 0.081 *
|
|
5255
|
-
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
5256
|
-
) /
|
|
5257
|
-
30
|
|
5258
|
-
)
|
|
5259
|
-
)
|
|
5260
|
-
)
|
|
5261
|
-
h
|
|
5262
|
-
)
|
|
5263
|
-
)
|
|
5264
|
-
var(
|
|
5265
|
-
--_ttw-tint-legacy,
|
|
5266
|
-
var(--ttw-destructive)
|
|
5267
|
-
)
|
|
5268
|
-
);
|
|
5269
|
-
}
|
|
5270
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
5271
|
-
.ttw\:hover\:bg-destructive-subtle:hover {
|
|
5272
|
-
background-color: var(
|
|
5273
|
-
--ttw-destructive-subtle,
|
|
5274
|
-
var(
|
|
5275
|
-
--_ttw-tint-relative,
|
|
5276
|
-
oklch(
|
|
5277
|
-
from
|
|
5278
|
-
color-mix(
|
|
5279
|
-
in oklch,
|
|
5280
|
-
oklch(from var(--ttw-destructive) 0.56 c h) 16%,
|
|
5281
|
-
oklch(from var(--ttw-background) l 0 none)
|
|
5282
|
-
)
|
|
5283
|
-
l
|
|
5284
|
-
min(
|
|
5285
|
-
calc(c * 2.5),
|
|
5286
|
-
calc(
|
|
5287
|
-
(1 - l) *
|
|
5288
|
-
(
|
|
5289
|
-
0.498 +
|
|
5290
|
-
(
|
|
5291
|
-
-0.028 * clamp(0, h, 30) + 0.087 *
|
|
5292
|
-
clamp(0, h - 30, 30) + 0.498 * clamp(0, h - 60, 30) +
|
|
5293
|
-
0.253 * clamp(0, h - 90, 30) + 0.113 *
|
|
5294
|
-
clamp(0, h - 120, 30) - 0.485 *
|
|
5295
|
-
clamp(0, h - 150, 30) - 0.14 * clamp(0, h - 180, 30) -
|
|
5296
|
-
0.316 * clamp(0, h - 210, 30) - 0.031 *
|
|
5297
|
-
clamp(0, h - 240, 30) + 0.083 *
|
|
5298
|
-
clamp(0, h - 270, 30) + 0.221 *
|
|
5299
|
-
clamp(0, h - 300, 30) - 0.255 * clamp(0, h - 330, 30)
|
|
5300
|
-
) /
|
|
5301
|
-
30
|
|
5302
|
-
)
|
|
5303
|
-
),
|
|
5304
|
-
calc(
|
|
5305
|
-
l *
|
|
5306
|
-
(
|
|
5307
|
-
0.396 +
|
|
5308
|
-
(
|
|
5309
|
-
-0.041 * clamp(0, h, 30) - 0.146 *
|
|
5310
|
-
clamp(0, h - 30, 30) - 0.016 * clamp(0, h - 60, 30) +
|
|
5311
|
-
0.032 * clamp(0, h - 90, 30) + 0.025 *
|
|
5312
|
-
clamp(0, h - 120, 30) - 0.086 *
|
|
5313
|
-
clamp(0, h - 150, 30) - 0.004 *
|
|
5314
|
-
clamp(0, h - 180, 30) + 0.001 *
|
|
5315
|
-
clamp(0, h - 210, 30) + 0.328 *
|
|
5316
|
-
clamp(0, h - 240, 30) + 0.036 *
|
|
5317
|
-
clamp(0, h - 270, 30) - 0.081 *
|
|
5318
|
-
clamp(0, h - 300, 30) - 0.048 * clamp(0, h - 330, 30)
|
|
5319
|
-
) /
|
|
5320
|
-
30
|
|
5321
|
-
)
|
|
5322
|
-
)
|
|
5323
|
-
)
|
|
5324
|
-
h
|
|
5325
|
-
)
|
|
5326
|
-
)
|
|
5327
|
-
var(
|
|
5328
|
-
--_ttw-tint-legacy,
|
|
5329
|
-
color-mix(in oklab, var(--ttw-destructive) 12%, var(--ttw-background))
|
|
5330
|
-
)
|
|
5331
|
-
);
|
|
5332
|
-
}
|
|
5333
|
-
}
|
|
5334
5011
|
.ttw\:hover\:bg-destructive\/90:hover {
|
|
5335
5012
|
background-color: var(--ttw-destructive);
|
|
5336
5013
|
}
|
|
@@ -5342,9 +5019,6 @@
|
|
|
5342
5019
|
.ttw\:hover\:bg-emerald-50:hover {
|
|
5343
5020
|
background-color: var(--ttw-color-emerald-50);
|
|
5344
5021
|
}
|
|
5345
|
-
.ttw\:hover\:bg-green-100:hover {
|
|
5346
|
-
background-color: var(--ttw-color-green-100);
|
|
5347
|
-
}
|
|
5348
5022
|
.ttw\:hover\:bg-muted:hover {
|
|
5349
5023
|
background-color: var(--ttw-muted);
|
|
5350
5024
|
}
|
|
@@ -5411,9 +5085,6 @@
|
|
|
5411
5085
|
.ttw\:hover\:bg-transparent:hover {
|
|
5412
5086
|
background-color: transparent;
|
|
5413
5087
|
}
|
|
5414
|
-
.ttw\:hover\:bg-violet-100:hover {
|
|
5415
|
-
background-color: var(--ttw-color-violet-100);
|
|
5416
|
-
}
|
|
5417
5088
|
.ttw\:hover\:bg-white\/10:hover {
|
|
5418
5089
|
background-color: var(--ttw-color-white);
|
|
5419
5090
|
}
|
|
@@ -5584,6 +5255,9 @@
|
|
|
5584
5255
|
--tw-outline-style: solid;
|
|
5585
5256
|
outline-style: solid;
|
|
5586
5257
|
}
|
|
5258
|
+
.ttw\:focus-visible\:ring-inset:focus-visible {
|
|
5259
|
+
--tw-ring-inset: inset;
|
|
5260
|
+
}
|
|
5587
5261
|
.ttw\:active\:bg-sidebar-accent:active {
|
|
5588
5262
|
background-color: var(--ttw-sidebar-accent, var(--ttw-accent));
|
|
5589
5263
|
}
|
|
@@ -6417,18 +6091,9 @@
|
|
|
6417
6091
|
.ttw\:sm\:items-center {
|
|
6418
6092
|
align-items: center;
|
|
6419
6093
|
}
|
|
6420
|
-
.ttw\:sm\:justify-center {
|
|
6421
|
-
justify-content: center;
|
|
6422
|
-
}
|
|
6423
6094
|
.ttw\:sm\:justify-end {
|
|
6424
6095
|
justify-content: flex-end;
|
|
6425
6096
|
}
|
|
6426
|
-
.ttw\:sm\:gap-3 {
|
|
6427
|
-
gap: calc(var(--ttw-spacing) * 3);
|
|
6428
|
-
}
|
|
6429
|
-
.ttw\:sm\:text-center {
|
|
6430
|
-
text-align: center;
|
|
6431
|
-
}
|
|
6432
6097
|
}
|
|
6433
6098
|
@media (width >= 768px) {
|
|
6434
6099
|
.ttw\:md\:absolute {
|
|
@@ -15,25 +15,25 @@ import { useReopenPayableMutation as c } from "../../data-access/dist/index15.js
|
|
|
15
15
|
import "../../data-access/dist/index.js";
|
|
16
16
|
import { getBillDetailActions as l } from "./index5.js";
|
|
17
17
|
import { useState as u } from "react";
|
|
18
|
-
import { BanIcon as d,
|
|
18
|
+
import { BanIcon as d, CalendarXIcon as f, HandIcon as p } from "lucide-react";
|
|
19
19
|
// ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index23.js
|
|
20
|
-
function
|
|
21
|
-
let { initResponse: j } = t(), M = r(), N = n(), P = i(), F = a(), I = c(), L = o(), R = s(), z = C || M.isPending || N.isPending || P.isPending || F.isPending || I.isPending || L.isPending || R.isPending, [B, V] = u(), H = B && (B.id !== "cancelScheduledPayment" || B.scheduledPaymentIntentId ===
|
|
20
|
+
function m({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApproversUnknown: m, hasScheduledPayment: g, scheduledPaymentIntentId: y, isScheduledPaymentUnknown: b, isPayabilityUnknown: x, labels: S, isMarkAsPaidPending: C, hasApprovalPolicy: w = !0, hasWaitingRequest: T, pendingApprovers: E, onPayBillSelect: D, onMarkAsPaidSelect: O, onEditSelect: k, onActionSucceeded: A }) {
|
|
21
|
+
let { initResponse: j } = t(), M = r(), N = n(), P = i(), F = a(), I = c(), L = o(), R = s(), z = C || M.isPending || N.isPending || P.isPending || F.isPending || I.isPending || L.isPending || R.isPending, [B, V] = u(), H = B && (B.id !== "cancelScheduledPayment" || B.scheduledPaymentIntentId === y) ? B : void 0, U = d && f ? l({
|
|
22
22
|
status: f,
|
|
23
23
|
scopes: j?.scopes,
|
|
24
24
|
canDecideApprovalRequest: !!p,
|
|
25
25
|
arePendingApproversUnknown: m,
|
|
26
26
|
hasApprovalPolicy: w,
|
|
27
27
|
hasWaitingRequest: T,
|
|
28
|
-
hasScheduledPayment:
|
|
29
|
-
scheduledPaymentIntentId:
|
|
28
|
+
hasScheduledPayment: g || b,
|
|
29
|
+
scheduledPaymentIntentId: y,
|
|
30
30
|
isPayabilityUnknown: x,
|
|
31
31
|
canEdit: !!k,
|
|
32
32
|
labels: S
|
|
33
33
|
}) : [], W = (t) => ({
|
|
34
34
|
onError: () => e.error(S.actionError),
|
|
35
35
|
onSuccess: () => {
|
|
36
|
-
let n =
|
|
36
|
+
let n = v(t) && !w ? `${t}NoApprovalPolicy` : t;
|
|
37
37
|
e.success(S.actionSuccess[n]), A?.(t);
|
|
38
38
|
}
|
|
39
39
|
}), G = {
|
|
@@ -79,25 +79,29 @@ function p({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApp
|
|
|
79
79
|
disabled: z,
|
|
80
80
|
loading: e.id === "markAsPaid" ? C : G[e.id]?.isPending ?? !1,
|
|
81
81
|
onSelect: () => {
|
|
82
|
-
!z && d && (e.id === "payBill" ? D() : e.id === "markAsPaid" ? O() : e.id === "edit" ? k?.() :
|
|
82
|
+
!z && d && (e.id === "payBill" ? D() : e.id === "markAsPaid" ? O() : e.id === "edit" ? k?.() : _(e.id) ? V({
|
|
83
83
|
id: e.id,
|
|
84
|
-
scheduledPaymentIntentId:
|
|
84
|
+
scheduledPaymentIntentId: y
|
|
85
85
|
}) : G[e.id]?.run());
|
|
86
86
|
}
|
|
87
|
-
}));
|
|
87
|
+
})), q = K.filter((e) => e.surface === "row");
|
|
88
88
|
return {
|
|
89
89
|
isActionPending: z,
|
|
90
90
|
actions: {
|
|
91
|
-
|
|
91
|
+
header: K.filter((e) => e.surface === "header"),
|
|
92
|
+
footer: {
|
|
93
|
+
primary: q.at(-1),
|
|
94
|
+
secondary: q.at(-2)
|
|
95
|
+
},
|
|
92
96
|
menu: K.filter((e) => e.surface === "menu")
|
|
93
97
|
},
|
|
94
98
|
decisionDialog: {
|
|
95
99
|
open: !!H,
|
|
96
100
|
copy: H ? {
|
|
97
101
|
...S.decisionDialog[H.id],
|
|
98
|
-
...
|
|
99
|
-
presentation:
|
|
100
|
-
pendingApprovers:
|
|
102
|
+
...v(H.id) && !w ? S.decisionDialog[H.id].noApprovalPolicy : void 0,
|
|
103
|
+
presentation: h(H.id),
|
|
104
|
+
pendingApprovers: v(H.id) ? E ?? [] : void 0
|
|
101
105
|
} : void 0,
|
|
102
106
|
isPending: H ? G[H.id]?.isPending ?? !1 : !1,
|
|
103
107
|
onCancel: () => {
|
|
@@ -109,38 +113,31 @@ function p({ payableId: d, status: f, currentApprovalRequestId: p, arePendingApp
|
|
|
109
113
|
}
|
|
110
114
|
};
|
|
111
115
|
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
tone: "destructive",
|
|
126
|
-
actionWidth: "equal"
|
|
127
|
-
};
|
|
128
|
-
function _(e) {
|
|
129
|
-
if (b(e)) return m;
|
|
130
|
-
if (e === "reject") return h;
|
|
131
|
-
if (e === "cancel") return g;
|
|
116
|
+
function h(e) {
|
|
117
|
+
if (e === "cancel" || e === "reject") return {
|
|
118
|
+
tone: "destructive",
|
|
119
|
+
icon: d
|
|
120
|
+
};
|
|
121
|
+
if (e === "forceApprove" || e === "forceReject") return {
|
|
122
|
+
tone: "destructive",
|
|
123
|
+
icon: p
|
|
124
|
+
};
|
|
125
|
+
if (e === "cancelScheduledPayment") return {
|
|
126
|
+
tone: "destructive",
|
|
127
|
+
icon: f
|
|
128
|
+
};
|
|
132
129
|
}
|
|
133
|
-
var
|
|
130
|
+
var g = [
|
|
134
131
|
"reject",
|
|
135
132
|
"cancel",
|
|
136
133
|
"cancelScheduledPayment",
|
|
137
134
|
"forceApprove",
|
|
138
135
|
"forceReject"
|
|
139
136
|
];
|
|
140
|
-
function
|
|
141
|
-
return
|
|
137
|
+
function _(e) {
|
|
138
|
+
return g.includes(e);
|
|
142
139
|
}
|
|
143
|
-
function
|
|
140
|
+
function v(e) {
|
|
144
141
|
return e === "forceApprove" || e === "forceReject";
|
|
145
142
|
}
|
|
146
|
-
export {
|
|
143
|
+
export { m as usePayableDetailActions };
|