@tesouro/embedded-components-react 0.2.206 → 0.2.208
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/README.md +40 -0
- package/dist/index.d.ts +455 -310
- package/dist/index.js +111 -107
- package/dist/lib/CardDetailsWidget.d.ts +750 -0
- package/dist/lib/CardDetailsWidget.js +20 -0
- package/dist/lib/CardsWidget.d.ts +1006 -0
- package/dist/lib/CardsWidget.js +20 -0
- package/dist/lib/ReceivablesWidget.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index3.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index4.js +31 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/data-access/dist/index5.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index2.js +141 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index3.js +53 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index4.js +20 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index5.js +82 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/index6.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsHeader.js +56 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +156 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardFace.js +49 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/DetailCopyRow.js +38 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/labels.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/statusBadge.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/testIds.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index2.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/data-access/dist/index3.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index2.js +117 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index4.js +46 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index5.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index6.js +260 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index7.js +34 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index8.js +91 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardFaceSwatch.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +138 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +60 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/labels.js +77 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/statusBadge.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/types.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +25 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +79 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +31 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +121 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +217 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +45 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +149 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +23 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +70 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +56 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +99 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +44 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +75 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +55 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +226 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +468 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +101 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +531 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +11 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +18 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +20 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +27 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +117 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +67 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +13 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +12 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +92 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +95 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +58 -226
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +396 -468
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +68 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +2 -539
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +406 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +146 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +83 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +21 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +183 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +23 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +34 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +52 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +28 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +73 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +32 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +20 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +36 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +51 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +82 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +34 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +66 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +359 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +117 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +6 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +18 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +12 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +13 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +14 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +54 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +27 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +32 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +37 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +30 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +16 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +103 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +10 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +24 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +45 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +28 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +98 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +41 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +145 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +108 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +62 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +26 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +127 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +44 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +73 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +17 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +28 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +39 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +63 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +91 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +112 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +85 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +39 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +340 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +301 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +103 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +161 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +267 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +24 -360
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +5 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +42 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +59 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +30 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +118 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +22 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +41 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +53 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +94 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +96 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +211 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +171 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +130 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +161 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +60 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +64 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +56 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +8 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +10 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +54 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +21 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +58 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +8 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +19 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +156 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +28 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +26 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +78 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +25 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +47 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +114 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +93 -329
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +47 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +193 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +68 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +21 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +4 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +20 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +22 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +30 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +12 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +65 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +14 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +74 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +488 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +167 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +52 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +29 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +54 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +43 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +32 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +13 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +24 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +34 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +16 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +48 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +46 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +46 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +43 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +72 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +94 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +22 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +6 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +6 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +66 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +114 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +80 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +2 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +8 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +95 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +120 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +18 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +71 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +3 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +32 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +4 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +124 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +20 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +38 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +78 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +17 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +84 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +268 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +62 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +44 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +25 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +137 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +92 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +10 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +284 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +15 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +69 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +45 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +51 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +15 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +28 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +64 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +52 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +37 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +41 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +35 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +49 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +55 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +33 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +54 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +33 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +94 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +73 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +20 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +9 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +56 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +67 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +21 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +30 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +23 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +38 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +34 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +47 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +81 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +72 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +84 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +32 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +85 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +105 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +108 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +75 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +66 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +37 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +47 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +36 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +50 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +43 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +19 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +7 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +338 -286
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +266 -202
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/scopes.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/card/cardPresentation.js +19 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/card/cardProgram.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/dist/pending-feature-style-sources.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1,121 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
requiredApprovalCount: e.requiredApprovalCount
|
|
53
|
-
}), E = (e, a, s, r) => {
|
|
54
|
-
const t = R(a);
|
|
55
|
-
return {
|
|
56
|
-
stepNumber: s,
|
|
57
|
-
type: r,
|
|
58
|
-
assignee: void 0,
|
|
59
|
-
assignees: e,
|
|
60
|
-
status: t,
|
|
61
|
-
payableStatus: A(t),
|
|
62
|
-
actualAssignees: e,
|
|
63
|
-
hasActiveRequests: a.length > 0,
|
|
64
|
-
requestIds: a.map((l) => l.id),
|
|
65
|
-
approvalRequestId: a[0]?.id,
|
|
66
|
-
approvedBy: a.flatMap((l) => l.approved_by || []),
|
|
67
|
-
objectId: a[0]?.object_id,
|
|
68
|
-
rejectedBy: a.find((l) => l.rejected_by)?.rejected_by,
|
|
69
|
-
requiredApprovalCount: a.reduce((l, u) => l + u.required_approval_count, 0)
|
|
70
|
-
};
|
|
71
|
-
}, L = (e, a) => {
|
|
72
|
-
const s = e.flatMap((t) => t.params?.user_ids || []), r = a.filter((t) => t.user_ids?.length && s.some((l) => t.user_ids.includes(l)));
|
|
73
|
-
return {
|
|
74
|
-
allChainUserIds: s,
|
|
75
|
-
allChainRequests: r
|
|
76
|
-
};
|
|
77
|
-
}, P = (e) => {
|
|
78
|
-
const a = [];
|
|
79
|
-
if (e.all)
|
|
80
|
-
a.push(...e.all);
|
|
81
|
-
else if (e.if) {
|
|
82
|
-
const s = e.if;
|
|
83
|
-
s.all ? a.push(...s.all) : a.push(s);
|
|
84
|
-
}
|
|
85
|
-
return a;
|
|
86
|
-
}, w = (e, a) => {
|
|
87
|
-
const s = e.call === v.REQUEST_APPROVAL_BY_USERS ? e : void 0;
|
|
88
|
-
let r = [];
|
|
89
|
-
s?.params?.user_ids && (r = s.params.user_ids);
|
|
90
|
-
const t = _(e.call) ? y(a, e.params?.role_ids ?? []) : m(a, r, !0), l = t.flatMap((p) => p.user_ids || []), u = [...new Set(l)], f = t.length ? t[0].status : "waiting", i = t.find((p) => p.status !== "waiting"), g = t.flatMap((p) => p.approved_by || []), d = [...new Set(g)];
|
|
91
|
-
return {
|
|
92
|
-
assignees: r,
|
|
93
|
-
actualAssignees: u,
|
|
94
|
-
relatedRequests: t,
|
|
95
|
-
stepStatus: f,
|
|
96
|
-
approvalRequestId: i?.id,
|
|
97
|
-
approvedBy: d.length > 0 ? d : void 0,
|
|
98
|
-
objectId: i?.object_id || e.params?.object_id,
|
|
99
|
-
rejectedBy: i?.rejected_by,
|
|
100
|
-
requiredApprovalCount: e.params?.required_approval_count || i?.required_approval_count || 1
|
|
101
|
-
};
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as m, Controller as u } from "react-hook-form";
|
|
3
|
+
import { Typography as n } from "./index85.js";
|
|
4
|
+
import { useLingui as w } from "@lingui/react";
|
|
5
|
+
import { Switch as i } from "./index357.js";
|
|
6
|
+
import { twMerge as h } from "tailwind-merge";
|
|
7
|
+
const x = ({
|
|
8
|
+
control: l,
|
|
9
|
+
isDialog: r
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: t
|
|
13
|
+
} = w(), {
|
|
14
|
+
watch: c,
|
|
15
|
+
setValue: d
|
|
16
|
+
} = m(), s = c("invoice_bank_display");
|
|
17
|
+
return /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
18
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
19
|
+
/* @__PURE__ */ e(n, { variant: "h3", children: t._("PDF settings") }),
|
|
20
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Invoices are generated as PDFs") })
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ a("div", { className: h(
|
|
23
|
+
"ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-lg",
|
|
24
|
+
// In the dialog the toggles sit in their own grey grouping box, so the
|
|
25
|
+
// inset padding is needed. On the settings page they already sit inside
|
|
26
|
+
// the section card, so the extra padding just indented the body.
|
|
27
|
+
r ? "ttw:bg-zinc-100 ttw:p-4" : ""
|
|
28
|
+
), children: [
|
|
29
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
30
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
31
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Display your bank account details on the PDF") }),
|
|
32
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("Shows your bank account number, routing number, and account holder name so that customers can pay using an ACH bank transfer. Should only be used with accounts that have a debit block.") })
|
|
33
|
+
] }),
|
|
34
|
+
/* @__PURE__ */ e(i, { checked: s, onCheckedChange: (o) => {
|
|
35
|
+
d("invoice_bank_display", o, {
|
|
36
|
+
shouldDirty: !0
|
|
37
|
+
});
|
|
38
|
+
}, "aria-label": t._("Display bank display options") })
|
|
39
|
+
] }),
|
|
40
|
+
/* @__PURE__ */ a("section", { className: "ttw:flex ttw:justify-between ttw:gap-4", children: [
|
|
41
|
+
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1", children: [
|
|
42
|
+
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: t._("Update PDF files for paid invoices") }),
|
|
43
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: t._("PDF invoice files will be regenerated to reflect payments made and any remaining amount due. Once a PDF has been updated, you won't be able to revert it.") }),
|
|
44
|
+
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: t._("Once updated, you won't be able to revert the PDFs.") })
|
|
45
|
+
] }),
|
|
46
|
+
/* @__PURE__ */ e(u, { name: "update_paid_invoices", control: l, render: ({
|
|
47
|
+
field: o
|
|
48
|
+
}) => /* @__PURE__ */ e(i, { checked: o.value, onCheckedChange: o.onChange, "aria-label": t._("Enable update paid invoices pdf") }) })
|
|
49
|
+
] })
|
|
50
|
+
] })
|
|
51
|
+
] });
|
|
102
52
|
};
|
|
103
53
|
export {
|
|
104
|
-
|
|
105
|
-
R as calculateIntegralStatus,
|
|
106
|
-
U as createBaseApprovalStep,
|
|
107
|
-
E as createChainApprovalStep,
|
|
108
|
-
o as extractApprovalCalls,
|
|
109
|
-
c as extractApprovalCallsForTable,
|
|
110
|
-
P as extractItemsFromScriptStep,
|
|
111
|
-
I as extractStructureItemsFromScriptStep,
|
|
112
|
-
y as filterRequestsByRoles,
|
|
113
|
-
m as filterRequestsByUsers,
|
|
114
|
-
j as findRoleApprovalCall,
|
|
115
|
-
h as findUserApprovalCall,
|
|
116
|
-
C as getApprovalRuleLabel,
|
|
117
|
-
A as mapApprovalStatusToPayableStatus,
|
|
118
|
-
B as processApprovalStructure,
|
|
119
|
-
L as processChainApprovalCalls,
|
|
120
|
-
w as resolveStepForCall
|
|
54
|
+
x as PDFSettings
|
|
121
55
|
};
|
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import a from "@
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { toast as n } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as o } from "./index57.js";
|
|
3
|
+
import { useLingui as a } from "@lingui/react";
|
|
4
|
+
const c = (e) => {
|
|
5
|
+
const {
|
|
6
|
+
api: t,
|
|
7
|
+
queryClient: i
|
|
8
|
+
} = o(), {
|
|
9
|
+
i18n: s
|
|
10
|
+
} = a();
|
|
11
|
+
return t.finops.patchEntitiesIdSettings.useMutation(void 0, {
|
|
12
|
+
onSuccess: () => {
|
|
13
|
+
n.success(s._("Settings updated successfully.")), t.finops.getEntitiesIdSettings.invalidateQueries({
|
|
14
|
+
parameters: {
|
|
15
|
+
path: {
|
|
16
|
+
entity_id: e
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}, i), t.finops.getDocumentsIdNextNumbers.invalidateQueries({
|
|
20
|
+
parameters: {
|
|
21
|
+
path: {
|
|
22
|
+
entity_id: e
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}, i);
|
|
26
|
+
}
|
|
27
|
+
});
|
|
16
28
|
};
|
|
17
29
|
export {
|
|
18
|
-
|
|
19
|
-
o as FILTER_TYPE_CREATED_AT,
|
|
20
|
-
p as FILTER_TYPE_CREATED_BY,
|
|
21
|
-
T as FILTER_TYPE_SEARCH,
|
|
22
|
-
d as ROLE_APPROVAL_CALLS,
|
|
23
|
-
R as ROW_TO_STATUS_MUI_MAP,
|
|
24
|
-
i as getRowToStatusTextMap
|
|
30
|
+
c as usePatchEntitySettings
|
|
25
31
|
};
|
|
@@ -1,46 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import { ULabel as c } from "./index357.js";
|
|
6
|
-
import { UMoneyBill as m } from "./index358.js";
|
|
7
|
-
import { UUserCircle as p } from "./index359.js";
|
|
8
|
-
const U = ({
|
|
9
|
-
approvalPolicy: o
|
|
10
|
-
}) => {
|
|
11
|
-
const {
|
|
12
|
-
triggers: a,
|
|
13
|
-
getTriggerName: e
|
|
14
|
-
} = l({
|
|
15
|
-
approvalPolicy: o
|
|
16
|
-
});
|
|
17
|
-
return o ? /* @__PURE__ */ i(s, { children: Object.keys(a).map((r) => {
|
|
18
|
-
switch (r) {
|
|
19
|
-
case "amount":
|
|
20
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
21
|
-
/* @__PURE__ */ i(m, { width: 18 }),
|
|
22
|
-
e(r)
|
|
23
|
-
] }, r);
|
|
24
|
-
case "was_created_by_user_id":
|
|
25
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
26
|
-
/* @__PURE__ */ i(p, { width: 18 }),
|
|
27
|
-
e(r)
|
|
28
|
-
] }, r);
|
|
29
|
-
case "counterpart_id":
|
|
30
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
31
|
-
/* @__PURE__ */ i(n, { width: 18 }),
|
|
32
|
-
e(r)
|
|
33
|
-
] }, r);
|
|
34
|
-
case "tags":
|
|
35
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
-
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
-
e(r)
|
|
38
|
-
] }, r);
|
|
39
|
-
default:
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
}) }) : null;
|
|
43
|
-
};
|
|
1
|
+
import { zodResolver as e } from "@hookform/resolvers/zod";
|
|
2
|
+
function t(o) {
|
|
3
|
+
return e(o);
|
|
4
|
+
}
|
|
44
5
|
export {
|
|
45
|
-
|
|
6
|
+
t as safeZodResolver
|
|
46
7
|
};
|
|
@@ -1,59 +1,79 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const C = 500, F = (t) => {
|
|
11
|
-
const e = `${t.first_name ?? ""} ${t.last_name ?? ""}`.trim();
|
|
12
|
-
return e && t.email ? `${e} (${t.email})` : e || t.email || t.id;
|
|
13
|
-
}, L = ({
|
|
14
|
-
onChange: t
|
|
1
|
+
import { jsxs as n, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormContext as $, Controller as d } from "react-hook-form";
|
|
3
|
+
import { useLingui as F } from "@lingui/react";
|
|
4
|
+
import { Typography as c } from "./index85.js";
|
|
5
|
+
import { Field as m, FieldContent as s, FieldLabel as w, FieldError as u } from "./index154.js";
|
|
6
|
+
import { Input as g } from "./index122.js";
|
|
7
|
+
import { Checkbox as S } from "./index351.js";
|
|
8
|
+
const E = ({
|
|
9
|
+
control: o
|
|
15
10
|
}) => {
|
|
16
11
|
const {
|
|
17
|
-
i18n:
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
12
|
+
i18n: i
|
|
13
|
+
} = F(), {
|
|
14
|
+
setValue: v,
|
|
15
|
+
watch: a
|
|
16
|
+
} = $(), p = a("min_digits"), f = a("prefix"), h = a("separator"), b = a("include_date"), x = a("invoice"), N = a("invoice_number");
|
|
17
|
+
function y() {
|
|
18
|
+
return `${x}${h}${f ? `${f}${h}` : ""}${b ? `${(/* @__PURE__ */ new Date()).getFullYear()}${h}` : ""}${N.toString().padStart(p, "0")}`;
|
|
19
|
+
}
|
|
20
|
+
const _ = y();
|
|
21
|
+
return /* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
22
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-5 ttw:pb-2.5", children: [
|
|
23
|
+
/* @__PURE__ */ e(c, { variant: "h3", children: i._("Invoice numbering") }),
|
|
24
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "muted", children: i._("Specify how you want your invoices to be numbered. Changes apply to new invoices only. Existing invoice numbers won't be updated.") })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:flex-col ttw:w-94 ttw:gap-0.5 ttw:p-4 ttw:bg-neutral-200 ttw:rounded-xl", children: [
|
|
27
|
+
/* @__PURE__ */ e(c, { variant: "body2", color: "muted", children: i._("Preview") }),
|
|
28
|
+
/* @__PURE__ */ e(c, { variant: "h4", className: "ttw:font-medium", children: _ })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ n("div", { className: "ttw:flex ttw:w-min ttw:gap-2 ttw:p-2", children: [
|
|
31
|
+
/* @__PURE__ */ e(d, { name: "invoice", control: o, render: ({
|
|
32
|
+
field: t,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
35
|
+
}
|
|
36
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
37
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Invoice prefix") }),
|
|
38
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, maxLength: 25, "aria-invalid": !!r || void 0, className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
39
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
40
|
+
] }) }) }),
|
|
41
|
+
/* @__PURE__ */ e(d, { name: "invoice_number", control: o, render: ({
|
|
42
|
+
field: t,
|
|
43
|
+
fieldState: {
|
|
44
|
+
error: r
|
|
45
|
+
}
|
|
46
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
47
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Starting number") }),
|
|
48
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", "aria-invalid": !!r || void 0, onChange: (l) => {
|
|
49
|
+
const C = l.target.value.replace(/^0+(?=\d)/, "");
|
|
50
|
+
t.onChange(Number(C));
|
|
51
|
+
}, value: t.value.toString().padStart(p, "0"), className: "ttw:w-29 ttw:min-w-29 ttw:bg-white" }),
|
|
52
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
53
|
+
] }) }) }),
|
|
54
|
+
/* @__PURE__ */ e(d, { name: "min_digits", control: o, render: ({
|
|
55
|
+
field: t,
|
|
56
|
+
fieldState: {
|
|
57
|
+
error: r
|
|
58
|
+
}
|
|
59
|
+
}) => /* @__PURE__ */ e(m, { children: /* @__PURE__ */ n(s, { className: "ttw:grow-0", children: [
|
|
60
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: i._("Digit count") }),
|
|
61
|
+
/* @__PURE__ */ e(g, { ...t, id: t.name, type: "number", className: "ttw:bg-white ttw:w-29 ttw:max-w-29", onChange: (l) => {
|
|
62
|
+
+l.target.value > 20 ? v("min_digits", 20, {
|
|
63
|
+
shouldDirty: !0
|
|
64
|
+
}) : t.onChange(l);
|
|
65
|
+
}, "aria-invalid": !!r || void 0 }),
|
|
66
|
+
/* @__PURE__ */ e(u, { errors: [r] })
|
|
67
|
+
] }) }) })
|
|
68
|
+
] }),
|
|
69
|
+
/* @__PURE__ */ e("div", { className: "ttw:bg-transparent ttw:w-full ttw:p-2", children: /* @__PURE__ */ e(d, { name: "include_date", control: o, render: ({
|
|
70
|
+
field: t
|
|
71
|
+
}) => /* @__PURE__ */ e(m, { orientation: "horizontal", children: /* @__PURE__ */ n(s, { className: "ttw:flex-row ttw:items-center", children: [
|
|
72
|
+
/* @__PURE__ */ e(S, { id: t.name, ref: t.ref, checked: t.value ?? !1, onCheckedChange: t.onChange, onBlur: t.onBlur, className: "ttw:bg-white" }),
|
|
73
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, className: "ttw:font-normal", children: i._("Include the current year in the invoice number prefix") })
|
|
74
|
+
] }) }) }) })
|
|
55
75
|
] });
|
|
56
76
|
};
|
|
57
77
|
export {
|
|
58
|
-
|
|
78
|
+
E as InvoiceNumbering
|
|
59
79
|
};
|
|
@@ -1,148 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}) }),
|
|
33
|
-
!o && /* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: s ? r._("Who are you paying?") : r._("Who are you billing?") })
|
|
34
|
-
] }),
|
|
35
|
-
!o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
36
|
-
/* @__PURE__ */ e(m, { children: r._("{customerType} type", {
|
|
37
|
-
customerType: s ? "Vendor" : "Customer"
|
|
38
|
-
}) }),
|
|
39
|
-
/* @__PURE__ */ a(C, { className: "ttw:flex", value: d, disabled: l, onValueChange: (t) => N?.(t), children: [
|
|
40
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", d === "organization" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
|
|
41
|
-
/* @__PURE__ */ e(y, { value: "organization", id: "organization", className: c(d === "organization" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: c(d === "organization" && "ttw:fill-white"), disabled: l }),
|
|
42
|
-
/* @__PURE__ */ a(v, { htmlFor: "organization", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
|
|
43
|
-
/* @__PURE__ */ e(n, { variant: "body2", className: "ttw:leading-3.5", children: r._("Business") }),
|
|
44
|
-
/* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("A company or organization") })
|
|
45
|
-
] })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", d === "individual" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
|
|
48
|
-
/* @__PURE__ */ e(y, { value: "individual", id: "individual", className: c(d === "individual" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: c(d === "individual" && "ttw:fill-white"), disabled: l }),
|
|
49
|
-
/* @__PURE__ */ a(v, { htmlFor: "individual", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
|
|
50
|
-
/* @__PURE__ */ e(n, { variant: "body2", className: "ttw:leading-3.5", children: r._("Person") }),
|
|
51
|
-
/* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("An individual or contractor") })
|
|
52
|
-
] })
|
|
53
|
-
] })
|
|
54
|
-
] })
|
|
55
|
-
] }),
|
|
56
|
-
d === "individual" ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-4", children: [
|
|
57
|
-
/* @__PURE__ */ e(u, { name: "firstName", control: w, render: ({
|
|
58
|
-
field: t,
|
|
59
|
-
fieldState: {
|
|
60
|
-
error: i
|
|
61
|
-
}
|
|
62
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
63
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("First name") }),
|
|
64
|
-
/* @__PURE__ */ e(b, { className: o ? "ttw:bg-white" : "", id: t.name, ...t, disabled: l, "aria-invalid": !!i || void 0 }),
|
|
65
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
66
|
-
] }) }) }),
|
|
67
|
-
/* @__PURE__ */ e(u, { name: "lastName", control: w, render: ({
|
|
68
|
-
field: t,
|
|
69
|
-
fieldState: {
|
|
70
|
-
error: i
|
|
71
|
-
}
|
|
72
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
73
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Last name") }),
|
|
74
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
75
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
76
|
-
] }) }) })
|
|
77
|
-
] }) : /* @__PURE__ */ e(u, { name: "companyName", control: w, render: ({
|
|
78
|
-
field: t,
|
|
79
|
-
fieldState: {
|
|
80
|
-
error: i
|
|
81
|
-
}
|
|
82
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
83
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Business name") }),
|
|
84
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
85
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
86
|
-
] }) }) }),
|
|
87
|
-
/* @__PURE__ */ a("div", { className: c("ttw:flex ttw:gap-4", s ? "ttw:flex-row" : "ttw:flex-col"), children: [
|
|
88
|
-
/* @__PURE__ */ e(u, { name: "email", control: w, render: ({
|
|
89
|
-
field: t,
|
|
90
|
-
fieldState: {
|
|
91
|
-
error: i
|
|
92
|
-
}
|
|
93
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
94
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, children: r._("Email") }),
|
|
95
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
96
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
97
|
-
] }) }) }),
|
|
98
|
-
!s && /* @__PURE__ */ e(u, { name: "remindersEnabled", control: w, render: ({
|
|
99
|
-
field: t
|
|
100
|
-
}) => /* @__PURE__ */ e(h, { orientation: "horizontal", children: /* @__PURE__ */ a(p, { className: "ttw:flex-row", children: [
|
|
101
|
-
/* @__PURE__ */ e(I, { id: t.name, ref: t.ref, checked: t.value, onCheckedChange: t.onChange, onBlur: t.onBlur, disabled: l }),
|
|
102
|
-
/* @__PURE__ */ e(m, { htmlFor: t.name, className: "ttw:font-normal ttw:leading-4", children: r._("Send reminders to this email when an invoice is approaching its due date") })
|
|
103
|
-
] }) }) }),
|
|
104
|
-
/* @__PURE__ */ e(u, { name: "phone", control: w, render: ({
|
|
105
|
-
field: t,
|
|
106
|
-
fieldState: {
|
|
107
|
-
error: i
|
|
108
|
-
}
|
|
109
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
110
|
-
/* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
111
|
-
r._("Phone"),
|
|
112
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
113
|
-
] }),
|
|
114
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", disabled: l, "aria-invalid": !!i || void 0 }),
|
|
115
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
116
|
-
] }) }) })
|
|
117
|
-
] }),
|
|
118
|
-
/* @__PURE__ */ e(u, { name: "tax_id", control: w, render: ({
|
|
119
|
-
field: t,
|
|
120
|
-
fieldState: {
|
|
121
|
-
error: i
|
|
122
|
-
}
|
|
123
|
-
}) => /* @__PURE__ */ e(h, { children: /* @__PURE__ */ a(p, { children: [
|
|
124
|
-
/* @__PURE__ */ a(m, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
125
|
-
r._("Tax ID / {documentType}", {
|
|
126
|
-
documentType: d === "individual" ? "SSN" : "EIN"
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
129
|
-
] }),
|
|
130
|
-
/* @__PURE__ */ e(b, { id: t.name, ...t, className: o ? "ttw:bg-white" : "", placeholder: r._("e.g., {example}", {
|
|
131
|
-
example: d === "individual" ? "034-56-78890" : "12-3456789"
|
|
132
|
-
}), disabled: l, "aria-invalid": !!i || void 0 }),
|
|
133
|
-
/* @__PURE__ */ e(_, { children: s ? r._("Required only if you'll file a 1099 IRS form for this vendor at year-end.") : r._("Required only if you'll issue a 1099 IRS form at year-end.") }),
|
|
134
|
-
/* @__PURE__ */ e(f, { errors: [i] })
|
|
135
|
-
] }) }) }),
|
|
136
|
-
(s || !o) && /* @__PURE__ */ e(L, { isLoading: l, customerType: g, isStandalone: !1 }),
|
|
137
|
-
s && !o && /* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
138
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5 ttw:pt-6 ttw:pb-7", children: [
|
|
139
|
-
/* @__PURE__ */ e(n, { variant: "body1", className: "ttw:font-medium", children: r._("Accepted payment methods") }),
|
|
140
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", children: r._("How and where will the money be sent. Don't have these yet? No problem. You can save this vendor and add their payment details later - you just won't be able to send payments until you do.") })
|
|
141
|
-
] }),
|
|
142
|
-
/* @__PURE__ */ e(z, { isLoading: l, isStandalone: !1 })
|
|
143
|
-
] })
|
|
144
|
-
] });
|
|
145
|
-
};
|
|
1
|
+
import { z as e } from "zod";
|
|
2
|
+
const i = (n, t) => e.object({
|
|
3
|
+
min_digits: e.coerce.number().int().min(1, n._("Can't be less than 1")).max(20, n._("Can't be greater than 20")),
|
|
4
|
+
credit_note: e.string().min(1),
|
|
5
|
+
credit_note_number: e.coerce.number().int().min(t.credit_note, n._("Can't be less than {nextNumbersCredit_note}", {
|
|
6
|
+
nextNumbersCredit_note: t.credit_note
|
|
7
|
+
})),
|
|
8
|
+
delivery_note: e.string().min(1),
|
|
9
|
+
delivery_note_number: e.coerce.number().int().min(t.delivery_note, n._("Can't be less than {nextNumbersDelivery_note}", {
|
|
10
|
+
nextNumbersDelivery_note: t.delivery_note
|
|
11
|
+
})),
|
|
12
|
+
quote: e.string().min(1),
|
|
13
|
+
quote_number: e.coerce.number().int().min(t.quote, n._("Can't be less than {nextNumbersQuote}", {
|
|
14
|
+
nextNumbersQuote: t.quote
|
|
15
|
+
})),
|
|
16
|
+
invoice: e.string().min(1, n._("Invoice prefix is required")).max(25, n._("Invoice prefix should have at most 25 characters")),
|
|
17
|
+
invoice_number: e.coerce.number().int().min(t.invoice, n._("Can't be less than {nextNumbersInvoice}", {
|
|
18
|
+
nextNumbersInvoice: t.invoice
|
|
19
|
+
})),
|
|
20
|
+
purchase_order: e.string().min(1),
|
|
21
|
+
purchase_order_number: e.coerce.number().int().min(t.purchase_order, n._("Can't be less than {nextNumbersPurchase_order}", {
|
|
22
|
+
nextNumbersPurchase_order: t.purchase_order
|
|
23
|
+
})),
|
|
24
|
+
include_date: e.boolean(),
|
|
25
|
+
prefix: e.string().max(25, n._("Prefix should have at most 25 characters")),
|
|
26
|
+
separator: e.enum(["/", "-", "|", ".", ""]),
|
|
27
|
+
invoice_bank_display: e.boolean(),
|
|
28
|
+
update_paid_invoices: e.boolean(),
|
|
29
|
+
quote_signature_display: e.boolean(),
|
|
30
|
+
quote_electronic_signature: e.union([e.boolean(), e.string()])
|
|
31
|
+
});
|
|
146
32
|
export {
|
|
147
|
-
|
|
33
|
+
i as getInvoiceSettingsFormSchema
|
|
148
34
|
};
|