@tesouro/embedded-components-react 0.2.52 → 0.2.56
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 +7 -6
- package/dist/index.d.ts +2 -1
- package/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/lib/WidgetProvider.d.ts +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/feature/dist/index2.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index2.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/ReceiptMatchWidget.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/feature/dist/lib/useReceiptMatch.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-requirements-widget/feature/dist/lib/ExpenseRequirementsWidget.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/expense-upload-receipt-widget/feature/dist/lib/UploadReceiptWidget.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index2.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/index4.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.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/index110.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +10 -24
- 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 +9 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -1271
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +24 -9
- 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 +1270 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +60 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +397 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +67 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +407 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +64 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +6 -32
- 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 +5 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +29 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +22 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +118 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +46 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +49 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +41 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +147 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +56 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +70 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +25 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +3 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +64 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +39 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +80 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +4 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +96 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +55 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +92 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +95 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +24 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +11 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +19 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +20 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +10 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +15 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +116 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +12 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +45 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +75 -7
- 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 +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +195 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +14 -394
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +24 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +78 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +28 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +41 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +7 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +110 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +184 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +121 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +59 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +21 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +26 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +13 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +10 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +19 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +88 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +6 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +44 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +45 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +391 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +18 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +18 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +13 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +14 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +92 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +34 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +101 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +137 -482
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +85 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +20 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +183 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +21 -298
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +34 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +43 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +27 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +19 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +21 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +56 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +27 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +52 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +36 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +51 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +34 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +54 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +345 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +2 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +14 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +14 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +13 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +34 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +37 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +17 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +247 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +179 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +24 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +38 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +56 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +52 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +30 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +92 -244
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index28.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +43 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +344 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +301 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +98 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +158 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +262 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +25 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +18 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +149 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +39 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +62 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +31 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +108 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +21 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +43 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +53 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +20 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +40 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +74 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +2 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +93 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +96 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +192 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +485 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +161 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +72 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index31.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +44 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +63 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +20 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +74 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +42 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +62 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +43 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +183 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index32.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +105 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +81 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +290 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +83 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +223 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +37 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +49 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +48 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index33.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +109 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +37 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +63 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +94 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +109 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +83 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +15 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +19 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +167 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +132 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +159 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +18 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +58 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +62 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +58 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +54 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +61 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +62 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +157 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +29 -19
- 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 +78 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +125 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +255 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +7 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +48 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +24 -16
- 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 +50 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +32 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +45 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +31 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +32 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +8 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +104 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +35 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +57 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +35 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +26 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +39 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +15 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +72 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +90 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +37 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +10 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +119 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +71 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -67
- 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 +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +93 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +34 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +28 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +66 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +45 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +26 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +5 -32
- 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 +124 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +67 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +32 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +85 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +97 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +108 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +35 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +73 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +37 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +2 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +53 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +34 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +26 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +30 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +17 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +19 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +9 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +5 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +14 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +64 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +51 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +81 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +41 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +36 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +13 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +96 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +75 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +9 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +55 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +72 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +21 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +18 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +48 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +56 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +51 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +49 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +37 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +45 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +74 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +82 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +54 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +51 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +39 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +47 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +43 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +33 -33
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/fetchWidgetInit.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RefreshingRootWidgetProvider.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +25 -23
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +45 -43
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetTokenRefreshProvider.js +47 -24
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/useWidgetFetch.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/events.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/install.js +7 -0
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js +79 -74
- package/dist/packages/shared-ui-shadcn/dist/index.js +2 -0
- package/package.json +1 -1
|
@@ -1,18 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
1
|
+
class t {
|
|
2
|
+
value;
|
|
3
|
+
currency;
|
|
4
|
+
formatter;
|
|
5
|
+
constructor(r) {
|
|
6
|
+
this.value = r.value, this.currency = r.currency, this.formatter = r.formatter;
|
|
7
|
+
}
|
|
8
|
+
add(r) {
|
|
9
|
+
if (this.currency !== r.currency)
|
|
10
|
+
throw new Error("Currencies must match");
|
|
11
|
+
return new t({
|
|
12
|
+
value: Number(this.value) + Number(r.value),
|
|
13
|
+
currency: this.currency,
|
|
14
|
+
formatter: this.formatter
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
toString() {
|
|
18
|
+
return this.formatter(this.value, this.currency) ?? "";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
16
21
|
export {
|
|
17
|
-
|
|
22
|
+
t as Price
|
|
18
23
|
};
|
|
@@ -1,26 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onError: () => {
|
|
20
|
-
o.error(e._("Failed to remove logo."));
|
|
21
|
-
}
|
|
22
|
-
});
|
|
1
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as l, useEffect as c } from "react";
|
|
3
|
+
const u = ({
|
|
4
|
+
shouldStartProgress: e,
|
|
5
|
+
isError: d,
|
|
6
|
+
isSuccess: w
|
|
7
|
+
}) => {
|
|
8
|
+
const [a, o] = l(0);
|
|
9
|
+
return c(() => {
|
|
10
|
+
let s;
|
|
11
|
+
return e && (s = setInterval(() => {
|
|
12
|
+
o((t) => t < 98 ? t + 2 : t === 98 ? t + 1 : t);
|
|
13
|
+
}, 200)), () => {
|
|
14
|
+
clearInterval(s);
|
|
15
|
+
};
|
|
16
|
+
}, [e]), w ? /* @__PURE__ */ r("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-success ttw:rounded-md" }) : d ? /* @__PURE__ */ r("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-danger ttw:rounded-md" }) : /* @__PURE__ */ r("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-neutral ttw:rounded-md", children: /* @__PURE__ */ r("div", { className: "ttw:bg-primary ttw:h-full ttw:rounded-md", style: {
|
|
17
|
+
width: `${a}%`
|
|
18
|
+
} }) });
|
|
23
19
|
};
|
|
24
20
|
export {
|
|
25
|
-
|
|
21
|
+
u as UploadBar
|
|
26
22
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as a, Fragment as B } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { useState as s, useMemo as N, useCallback as G } from "react";
|
|
3
|
-
import { ProductDeleteModal as W } from "./
|
|
4
|
-
import { ProductType as q } from "./
|
|
5
|
-
import { Filters as H } from "./
|
|
3
|
+
import { ProductDeleteModal as W } from "./index174.js";
|
|
4
|
+
import { ProductType as q } from "./index175.js";
|
|
5
|
+
import { Filters as H } from "./index176.js";
|
|
6
6
|
import { useMoniteContext as Y } from "./index58.js";
|
|
7
7
|
import { MoniteScopedProviders as J } from "./index84.js";
|
|
8
8
|
import { useCurrencies as Q } from "./index59.js";
|
|
@@ -10,27 +10,27 @@ import "./index93.js";
|
|
|
10
10
|
import { useLingui as V } from "@lingui/react";
|
|
11
11
|
import "react-dom";
|
|
12
12
|
import "@mui/x-data-grid";
|
|
13
|
-
import { useUserPermissions as X } from "./
|
|
13
|
+
import { useUserPermissions as X } from "./index136.js";
|
|
14
14
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
15
15
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
16
16
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
17
17
|
import "@tanstack/react-query";
|
|
18
18
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
19
19
|
import { Scope as k } from "../../shared/data-access/dist/lib/scopes.js";
|
|
20
|
-
import { AccessRestriction as Z } from "./
|
|
20
|
+
import { AccessRestriction as Z } from "./index137.js";
|
|
21
21
|
import { Button as f } from "./index85.js";
|
|
22
22
|
import "clsx";
|
|
23
23
|
import "tailwind-merge";
|
|
24
24
|
import "@radix-ui/react-dialog";
|
|
25
25
|
import { ArrowUp as ee, ArrowDown as te, ArrowUpDown as oe, Plus as ie } from "lucide-react";
|
|
26
|
-
import { DataTable as re } from "./
|
|
27
|
-
import { GetNoRowsOverlay as ae } from "./
|
|
28
|
-
import { MeasureUnit as se } from "./
|
|
29
|
-
import { hasSelectedText as ne } from "./
|
|
30
|
-
import { FILTER_TYPE_SEARCH as S } from "./
|
|
26
|
+
import { DataTable as re } from "./index164.js";
|
|
27
|
+
import { GetNoRowsOverlay as ae } from "./index163.js";
|
|
28
|
+
import { MeasureUnit as se } from "./index177.js";
|
|
29
|
+
import { hasSelectedText as ne } from "./index165.js";
|
|
30
|
+
import { FILTER_TYPE_SEARCH as S } from "./index178.js";
|
|
31
31
|
import "react-hot-toast";
|
|
32
|
-
import { useGetProducts as le } from "./
|
|
33
|
-
import { ManageMeasureUnits as ce } from "./
|
|
32
|
+
import { useGetProducts as le } from "./index179.js";
|
|
33
|
+
import { ManageMeasureUnits as ce } from "./index180.js";
|
|
34
34
|
const Ge = (d) => /* @__PURE__ */ t(J, { children: /* @__PURE__ */ t(de, { ...d }) }), de = ({
|
|
35
35
|
onFilterChanged: d,
|
|
36
36
|
onSortChanged: g,
|
|
@@ -1,52 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const U = ({
|
|
10
|
-
isUploading: o,
|
|
11
|
-
isSuccess: r,
|
|
12
|
-
isError: i,
|
|
13
|
-
isDraggingOver: d,
|
|
14
|
-
resetUpload: a,
|
|
15
|
-
fileName: m,
|
|
16
|
-
onClick: u
|
|
17
|
-
}) => {
|
|
18
|
-
const {
|
|
19
|
-
i18n: s
|
|
20
|
-
} = h(), w = o || r || i;
|
|
21
|
-
function p() {
|
|
22
|
-
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
-
}
|
|
24
|
-
return f(() => {
|
|
25
|
-
let n;
|
|
26
|
-
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
-
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
-
w || u();
|
|
29
|
-
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
-
p(),
|
|
33
|
-
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
34
|
-
] }),
|
|
35
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
-
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
-
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
-
] })
|
|
39
|
-
] }),
|
|
40
|
-
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
-
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
-
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
-
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
-
s._("Drop your files here, or "),
|
|
45
|
-
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
48
|
-
] }) });
|
|
1
|
+
const o = ["draft", "new", "waiting_to_be_paid", "approve_in_progress"], s = (n) => {
|
|
2
|
+
if (!n.due_date) return 0;
|
|
3
|
+
const e = /* @__PURE__ */ new Date();
|
|
4
|
+
e.setUTCHours(0, 0, 0, 0);
|
|
5
|
+
const t = new Date(n.due_date);
|
|
6
|
+
if (t.setUTCHours(0, 0, 0, 0), t.getTime() === e.getTime()) return 0;
|
|
7
|
+
const r = o.includes(n.status), i = t.getTime() < e.getTime();
|
|
8
|
+
return !r || !i ? 0 : Math.floor((e.getTime() - t.getTime()) / 864e5);
|
|
49
9
|
};
|
|
50
10
|
export {
|
|
51
|
-
|
|
11
|
+
s as getInvoiceOverdueDays
|
|
52
12
|
};
|
|
@@ -1,76 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import f from "@mui/icons-material/AddCircleOutline";
|
|
6
|
-
import x from "@mui/icons-material/Delete";
|
|
7
|
-
import { Stack as s, Chip as g, Paper as y, Table as C, TableHead as v, TableRow as d, TableCell as a, TableBody as A, IconButton as j, Button as B } from "@mui/material";
|
|
8
|
-
import { useApprovalPolicyTrigger as E } from "./index366.js";
|
|
9
|
-
const M = ({
|
|
10
|
-
triggers: r,
|
|
11
|
-
onAddTrigger: m,
|
|
12
|
-
onEditTrigger: b,
|
|
13
|
-
onDeleteTrigger: _
|
|
14
|
-
}) => {
|
|
15
|
-
const {
|
|
16
|
-
i18n: n
|
|
17
|
-
} = T(), {
|
|
18
|
-
getTriggerLabel: p,
|
|
19
|
-
getAmountLabel: u
|
|
20
|
-
} = E({}), h = k(() => Object.keys(r).map((i) => {
|
|
21
|
-
const c = p(i);
|
|
22
|
-
let t;
|
|
23
|
-
switch (i) {
|
|
24
|
-
case "was_created_by_user_id":
|
|
25
|
-
t = /* @__PURE__ */ e(s, { direction: "row", gap: 1, sx: {
|
|
26
|
-
flexWrap: "wrap"
|
|
27
|
-
}, children: r.was_created_by_user_id?.map((o) => /* @__PURE__ */ e(w, { userId: o.id }, o.id)) });
|
|
28
|
-
break;
|
|
29
|
-
case "tags":
|
|
30
|
-
t = /* @__PURE__ */ e(s, { direction: "row", gap: 1, sx: {
|
|
31
|
-
flexWrap: "wrap"
|
|
32
|
-
}, children: r.tags?.map((o) => /* @__PURE__ */ e(g, { label: o.name }, o.id)) });
|
|
33
|
-
break;
|
|
34
|
-
case "counterpart_id":
|
|
35
|
-
t = /* @__PURE__ */ e(s, { direction: "row", gap: 1, sx: {
|
|
36
|
-
flexWrap: "wrap"
|
|
37
|
-
}, children: r.counterpart_id?.map((o) => /* @__PURE__ */ e(g, { label: o.label }, o.id)) });
|
|
38
|
-
break;
|
|
39
|
-
case "amount":
|
|
40
|
-
t = /* @__PURE__ */ e("p", { children: u(r.amount?.value ?? [], r.amount?.currency ?? "EUR") });
|
|
41
|
-
break;
|
|
42
|
-
default:
|
|
43
|
-
t = i;
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
key: i,
|
|
48
|
-
label: c,
|
|
49
|
-
value: t
|
|
50
|
-
};
|
|
51
|
-
}), [r, p, u]);
|
|
52
|
-
return /* @__PURE__ */ e(y, { variant: "outlined", children: /* @__PURE__ */ l(C, { children: [
|
|
53
|
-
/* @__PURE__ */ e(v, { children: /* @__PURE__ */ l(d, { children: [
|
|
54
|
-
/* @__PURE__ */ e(a, { children: n._("Condition") }),
|
|
55
|
-
/* @__PURE__ */ e(a, { children: n._("Criteria") }),
|
|
56
|
-
/* @__PURE__ */ e(a, {})
|
|
57
|
-
] }) }),
|
|
58
|
-
/* @__PURE__ */ l(A, { children: [
|
|
59
|
-
h.length > 0 ? h.map((i) => /* @__PURE__ */ l(d, { hover: !0, sx: {
|
|
60
|
-
"&.MuiTableRow-root": {
|
|
61
|
-
cursor: "pointer"
|
|
62
|
-
}
|
|
63
|
-
}, onClick: () => b(i.key), children: [
|
|
64
|
-
/* @__PURE__ */ e(a, { children: i.label }),
|
|
65
|
-
/* @__PURE__ */ e(a, { children: i.value }),
|
|
66
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(j, { "aria-label": n._("Delete trigger"), onClick: (c) => {
|
|
67
|
-
c.stopPropagation(), _(i.key);
|
|
68
|
-
}, children: /* @__PURE__ */ e(x, {}) }) })
|
|
69
|
-
] }, i.label)) : /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(a, { colSpan: 3, children: n._("No conditions") }) }),
|
|
70
|
-
/* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(a, { colSpan: 3, children: /* @__PURE__ */ e(B, { startIcon: /* @__PURE__ */ e(f, {}), onClick: m, disabled: !!(r?.was_created_by_user_id?.length && r?.tags?.length && r?.counterpart_id?.length && r?.amount?.value?.length), children: n._("Add new condition") }) }) })
|
|
71
|
-
] })
|
|
72
|
-
] }) });
|
|
73
|
-
};
|
|
1
|
+
function r(l, e) {
|
|
2
|
+
if (l !== void 0) return l;
|
|
3
|
+
if (e !== void 0) return null;
|
|
4
|
+
}
|
|
74
5
|
export {
|
|
75
|
-
|
|
6
|
+
r as resolveNullableUpdate
|
|
76
7
|
};
|
|
@@ -1,88 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Role as j } from "./index461.js";
|
|
9
|
-
import { User as h } from "./index251.js";
|
|
10
|
-
const N = ({
|
|
11
|
-
rules: r,
|
|
12
|
-
usersFromListCount: t,
|
|
13
|
-
rolesFromListCount: c,
|
|
14
|
-
onAddRule: f,
|
|
15
|
-
onEditRule: b,
|
|
16
|
-
onDeleteRule: g
|
|
1
|
+
import { jsxs as i, jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as s } from "@lingui/react";
|
|
3
|
+
import { Badge as m } from "./index254.js";
|
|
4
|
+
import { Typography as o } from "./index86.js";
|
|
5
|
+
const f = ({
|
|
6
|
+
email: t,
|
|
7
|
+
isDefault: e
|
|
17
8
|
}) => {
|
|
18
9
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
case "users_from_list":
|
|
26
|
-
s = d(l, (typeof t == "string" ? parseInt(t) : t) || 0);
|
|
27
|
-
break;
|
|
28
|
-
case "roles_from_list":
|
|
29
|
-
s = d(l, typeof c == "string" ? parseInt(c) : c || 0);
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
s = d(l);
|
|
33
|
-
}
|
|
34
|
-
switch (l) {
|
|
35
|
-
case "single_user":
|
|
36
|
-
a = /* @__PURE__ */ e(p, { direction: "column", spacing: 0.5, sx: {
|
|
37
|
-
overflow: "hidden"
|
|
38
|
-
}, children: r.single_user?.id && /* @__PURE__ */ e(h, { userId: r.single_user?.id }, r.single_user?.id) });
|
|
39
|
-
break;
|
|
40
|
-
case "users_from_list":
|
|
41
|
-
a = /* @__PURE__ */ e(p, { direction: "column", spacing: 0.5, sx: {
|
|
42
|
-
overflow: "hidden"
|
|
43
|
-
}, children: r?.users_from_list?.map((o) => /* @__PURE__ */ e(h, { userId: o.id }, o.id)) });
|
|
44
|
-
break;
|
|
45
|
-
case "roles_from_list":
|
|
46
|
-
a = /* @__PURE__ */ e(p, { direction: "row", gap: 1, flexWrap: "wrap", useFlexGap: !0, sx: {
|
|
47
|
-
"& > *": {
|
|
48
|
-
flexShrink: 0
|
|
49
|
-
}
|
|
50
|
-
}, children: r.roles_from_list?.map((o) => /* @__PURE__ */ e(j, { roleId: o.id }, o.id)) });
|
|
51
|
-
break;
|
|
52
|
-
case "approval_chain":
|
|
53
|
-
a = /* @__PURE__ */ e(p, { direction: "column", spacing: 0.5, sx: {
|
|
54
|
-
overflow: "hidden"
|
|
55
|
-
}, children: r?.approval_chain?.map((o) => /* @__PURE__ */ e(h, { userId: o.id }, o.id)) });
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
key: l,
|
|
60
|
-
label: s,
|
|
61
|
-
value: a
|
|
62
|
-
};
|
|
63
|
-
}), [r, t, d, c]);
|
|
64
|
-
return /* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ u(T, { children: [
|
|
65
|
-
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ u(m, { children: [
|
|
66
|
-
/* @__PURE__ */ e(i, { children: n._("Condition") }),
|
|
67
|
-
/* @__PURE__ */ e(i, { children: n._("Criteria") }),
|
|
68
|
-
/* @__PURE__ */ e(i, {})
|
|
69
|
-
] }) }),
|
|
70
|
-
/* @__PURE__ */ u(I, { children: [
|
|
71
|
-
_.length > 0 ? _.map((l) => /* @__PURE__ */ u(m, { hover: !0, sx: {
|
|
72
|
-
"&.MuiTableRow-root": {
|
|
73
|
-
cursor: "pointer"
|
|
74
|
-
}
|
|
75
|
-
}, onClick: () => b(l.key), children: [
|
|
76
|
-
/* @__PURE__ */ e(i, { children: l.label }),
|
|
77
|
-
/* @__PURE__ */ e(i, { children: l.value }),
|
|
78
|
-
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(R, { "aria-label": n._("Delete trigger"), onClick: (s) => {
|
|
79
|
-
s.stopPropagation(), g(l.key);
|
|
80
|
-
}, children: /* @__PURE__ */ e(w, {}) }) })
|
|
81
|
-
] }, l.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(i, { colSpan: 3, children: n._("No rules") }) }),
|
|
82
|
-
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(i, { colSpan: 3, children: /* @__PURE__ */ e(S, { startIcon: /* @__PURE__ */ e(x, {}), onClick: f, disabled: !!r.single_user && (r.users_from_list?.length ?? 0) > 0 && (r.roles_from_list?.length ?? 0) > 0 && (r.approval_chain?.length ?? 0) > 0, children: n._("Add new rule") }) }) })
|
|
83
|
-
] })
|
|
84
|
-
] }) });
|
|
10
|
+
i18n: r
|
|
11
|
+
} = s();
|
|
12
|
+
return /* @__PURE__ */ i("div", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
13
|
+
/* @__PURE__ */ a(o, { variant: "body2", className: "ttw:max-w-62.5 ttw:truncate", title: t, children: t }),
|
|
14
|
+
e && /* @__PURE__ */ a(m, { variant: "secondary", children: r._("Default") })
|
|
15
|
+
] });
|
|
85
16
|
};
|
|
86
17
|
export {
|
|
87
|
-
|
|
18
|
+
f as DefaultEmail
|
|
88
19
|
};
|
|
@@ -1,57 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
query: {
|
|
28
|
-
name__istartswith: x || void 0
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
return /* @__PURE__ */ o(P, { control: a, name: n, render: ({
|
|
32
|
-
field: s,
|
|
33
|
-
fieldState: {
|
|
34
|
-
error: r
|
|
35
|
-
}
|
|
36
|
-
}) => /* @__PURE__ */ l(p, { children: [
|
|
37
|
-
/* @__PURE__ */ o(L, { ...s, id: s.name, multiple: !0, autoComplete: !0, includeInputInList: !0, filterSelectedOptions: !0, noOptionsText: u._("No users found"), slotProps: {
|
|
38
|
-
popper: {
|
|
39
|
-
container: c
|
|
40
|
-
}
|
|
41
|
-
}, loading: i, options: C?.data || [], getOptionKey: (e) => e.id, getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(), isOptionEqualToValue: (e, t) => e.id === t.id, filterOptions: (e) => e, onInputChange: (e, t) => {
|
|
42
|
-
h(t);
|
|
43
|
-
}, onChange: (e, t) => {
|
|
44
|
-
f(n, t), I();
|
|
45
|
-
}, renderInput: (e) => /* @__PURE__ */ o(T, { ...e, label: m, error: !!r, InputProps: {
|
|
46
|
-
...e.InputProps,
|
|
47
|
-
endAdornment: /* @__PURE__ */ l(p, { children: [
|
|
48
|
-
i ? /* @__PURE__ */ o(E, { color: "inherit", size: 20 }) : null,
|
|
49
|
-
e.InputProps.endAdornment
|
|
50
|
-
] })
|
|
51
|
-
} }) }),
|
|
52
|
-
r && /* @__PURE__ */ o(S, { error: !0, children: r.message })
|
|
53
|
-
] }) });
|
|
54
|
-
};
|
|
1
|
+
import { jsxs as r, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as d } from "react";
|
|
3
|
+
import { styled as s, TableCell as i, Card as m, Table as c, TableBody as h, TableRow as p } from "@mui/material";
|
|
4
|
+
const b = s(i)(({
|
|
5
|
+
theme: e,
|
|
6
|
+
isRequired: l
|
|
7
|
+
}) => ({
|
|
8
|
+
color: l ? e.palette.error.main : e.palette.text.secondary,
|
|
9
|
+
minWidth: 120,
|
|
10
|
+
width: "35%"
|
|
11
|
+
})), u = (e) => {
|
|
12
|
+
const l = d(() => !e.value && e.withEmptyStateFiller ? "—" : e.value, [e.value, e.withEmptyStateFiller]);
|
|
13
|
+
return l ? /* @__PURE__ */ r(p, { children: [
|
|
14
|
+
/* @__PURE__ */ t(b, { component: "th", scope: "row", children: e.label }),
|
|
15
|
+
/* @__PURE__ */ t(i, { children: l })
|
|
16
|
+
] }) : null;
|
|
17
|
+
}, y = ({
|
|
18
|
+
items: e,
|
|
19
|
+
children: l,
|
|
20
|
+
...a
|
|
21
|
+
}) => /* @__PURE__ */ r(m, { variant: "outlined", sx: {
|
|
22
|
+
overflow: "visible"
|
|
23
|
+
}, ...a, children: [
|
|
24
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(h, { children: e.map((o, n) => /* @__PURE__ */ t(u, { ...o }, n)) }) }),
|
|
25
|
+
l
|
|
26
|
+
] });
|
|
55
27
|
export {
|
|
56
|
-
|
|
28
|
+
y as MoniteCard,
|
|
29
|
+
u as MoniteCardItem,
|
|
30
|
+
b as StyledLabelTableCell
|
|
57
31
|
};
|
|
@@ -1,56 +1,71 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
control: u,
|
|
1
|
+
import { jsx as a, jsxs as x, Fragment as h } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Controller as y } from "react-hook-form";
|
|
3
|
+
import { useRootElements as D } from "./index93.js";
|
|
4
|
+
import { Alert as F } from "@mui/material";
|
|
5
|
+
import { DatePicker as C } from "@mui/x-date-pickers";
|
|
6
|
+
import { parse as P, format as T } from "date-fns";
|
|
7
|
+
const M = ({
|
|
8
|
+
control: p,
|
|
10
9
|
name: n,
|
|
11
|
-
|
|
10
|
+
slotProps: o,
|
|
11
|
+
valueAs: c = "date",
|
|
12
|
+
stringFormat: s = "yyyy-MM-dd",
|
|
13
|
+
...d
|
|
12
14
|
}) => {
|
|
13
|
-
const {
|
|
14
|
-
|
|
15
|
-
} =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
root: c
|
|
19
|
-
} = F(), {
|
|
20
|
-
setValue: f
|
|
21
|
-
} = O(), [g, x] = C(""), {
|
|
22
|
-
data: h,
|
|
23
|
-
isLoading: i,
|
|
24
|
-
refetch: I
|
|
25
|
-
} = d.finops.getRoles.useQuery({
|
|
26
|
-
query: {
|
|
27
|
-
name: g || void 0
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
return /* @__PURE__ */ t(P, { control: u, name: n, render: ({
|
|
31
|
-
field: l,
|
|
15
|
+
const i = (e) => e?.type === "custom", {
|
|
16
|
+
root: l
|
|
17
|
+
} = D();
|
|
18
|
+
return /* @__PURE__ */ a(y, { control: p, name: n, render: ({
|
|
19
|
+
field: e,
|
|
32
20
|
fieldState: {
|
|
33
|
-
error: r
|
|
21
|
+
error: r,
|
|
22
|
+
isTouched: u
|
|
23
|
+
},
|
|
24
|
+
formState: {
|
|
25
|
+
isValid: f
|
|
34
26
|
}
|
|
35
|
-
}) =>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
27
|
+
}) => {
|
|
28
|
+
const m = (u || !f) && !i(r), g = e.value !== null ? typeof e.value == "string" ? P(e.value, s, /* @__PURE__ */ new Date()) : new Date(e.value) : null;
|
|
29
|
+
return /* @__PURE__ */ x(h, { children: [
|
|
30
|
+
/* @__PURE__ */ a(
|
|
31
|
+
C,
|
|
32
|
+
{
|
|
33
|
+
...e,
|
|
34
|
+
...d,
|
|
35
|
+
value: g,
|
|
36
|
+
onChange: (t) => {
|
|
37
|
+
if (t instanceof Date && !Number.isNaN(t.getTime())) {
|
|
38
|
+
const v = c === "string" ? T(t, s) : t;
|
|
39
|
+
e.onChange(v);
|
|
40
|
+
} else
|
|
41
|
+
e.onChange(null);
|
|
42
|
+
},
|
|
43
|
+
slotProps: {
|
|
44
|
+
...o,
|
|
45
|
+
popper: {
|
|
46
|
+
...o?.popper,
|
|
47
|
+
container: l
|
|
48
|
+
},
|
|
49
|
+
dialog: {
|
|
50
|
+
...o?.dialog,
|
|
51
|
+
container: l
|
|
52
|
+
},
|
|
53
|
+
textField: {
|
|
54
|
+
variant: "standard",
|
|
55
|
+
...o?.textField,
|
|
56
|
+
id: n,
|
|
57
|
+
error: m && !!r?.message,
|
|
58
|
+
helperText: m && r?.message
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
i(r) && /* @__PURE__ */ a(F, { severity: "error", icon: !1, sx: {
|
|
64
|
+
marginTop: -2
|
|
65
|
+
}, children: r?.message })
|
|
66
|
+
] });
|
|
67
|
+
} });
|
|
53
68
|
};
|
|
54
69
|
export {
|
|
55
|
-
|
|
70
|
+
M as RHFDatePicker
|
|
56
71
|
};
|