@tesouro/embedded-components-react 0.2.193 → 0.2.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/index2.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index2.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index11.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index14.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index2.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index20.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index24.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index26.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index2.js +42 -42
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index8.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index6.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +32 -32
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index7.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index8.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/ui/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/ui/dist/index3.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/ui/dist/index4.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/ui/dist/index5.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-receipt-match-widget/ui/dist/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js +34 -34
- package/dist/libs/tesouro-embedded-components-react/help-widget/ui/shadcn/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- 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 +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +61 -61
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index2.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index8.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- 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/index109.js +1 -1
- 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/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- 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 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +32 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
- 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 +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +99 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +9 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +42 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +76 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +76 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +41 -227
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +7 -470
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +227 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +445 -506
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +107 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +518 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +26 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +11 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +19 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +27 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +114 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +70 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +25 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +96 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +94 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +9 -11
- 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 +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -2
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index26.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +40 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +344 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +302 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +98 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +159 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +267 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +18 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +5 -49
- 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 +483 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +162 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +56 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +119 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +23 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +53 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +22 -38
- 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 +55 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +28 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +58 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +16 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +73 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +44 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +63 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +157 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +28 -29
- 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 +78 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +25 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +122 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +43 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +115 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +107 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +50 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +189 -475
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +68 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +65 -40
- 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 +12 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +41 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +14 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +79 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +149 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +17 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +29 -58
- 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 +32 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +47 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +12 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +8 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +25 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +126 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +23 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +22 -77
- 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 +15 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +17 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +164 -340
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +130 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +152 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +10 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +18 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +67 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +53 -60
- 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 +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +60 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +61 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +10 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +2 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +94 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +97 -19
- 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 +210 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +19 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +28 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +37 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +59 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +108 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +70 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +41 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +45 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +32 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +41 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +23 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +72 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +88 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +33 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +9 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +120 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +18 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +7 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +49 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +72 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +3 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +11 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +34 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +31 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +66 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +46 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +25 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +19 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +46 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +61 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +19 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +14 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +18 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +67 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +20 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +111 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +2 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +11 -16
- 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 +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +32 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +4 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +127 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +80 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +17 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +86 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +269 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +39 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +65 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +44 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +139 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +95 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +11 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +2 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +282 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +45 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +15 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +53 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +15 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +92 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +15 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +74 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +20 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +68 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +21 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +72 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +83 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +55 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +50 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +30 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +40 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +46 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +48 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +34 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +15 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +81 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +19 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +50 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +58 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +53 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +14 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +32 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +23 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +33 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +85 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +23 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +101 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +108 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +72 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +65 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +37 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- 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 +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +49 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +48 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +1 -1
- 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 +6 -6
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index4.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index5.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index6.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/profile-widget/ui/dist/index2.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index10.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index14.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index16.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index2.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index20.js +27 -27
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index11.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index12.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index14.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index4.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index5.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index6.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index3.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +71 -71
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/EmptyState/EmptyState.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/ErrorState/ErrorState.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShell.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShellOverlayPortal.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/OnboardingShell/OnboardingShellScrollRegion.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/PaginationFooter/PaginationFooter.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index3.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index5.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index10.js +67 -67
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index12.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index13.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index15.js +37 -37
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index16.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index2.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index3.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index5.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index6.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index8.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index5.js +6 -6
- package/dist/packages/shared-ui-shadcn/dist/index.js +9859 -7318
- package/package.json +23 -23
|
@@ -1,170 +1,72 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
approvalPolicy: d,
|
|
16
|
-
setIsEdit: P
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { InvoicePreviewMonite as d } from "./index428.js";
|
|
3
|
+
import { useAdaptiveScale as p } from "./index429.js";
|
|
4
|
+
import { AspectRatio as v } from "./index430.js";
|
|
5
|
+
import { cn as e } from "./index100.js";
|
|
6
|
+
import { useRef as n } from "react";
|
|
7
|
+
import { useGetMeasureUnits as h } from "./index314.js";
|
|
8
|
+
const I = ({
|
|
9
|
+
address: i,
|
|
10
|
+
counterpart: s,
|
|
11
|
+
currency: o,
|
|
12
|
+
invoiceData: w,
|
|
13
|
+
entityData: m,
|
|
14
|
+
paymentTerms: l
|
|
17
15
|
}) => {
|
|
18
|
-
const {
|
|
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
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
flexWrap: "wrap"
|
|
72
|
-
}, children: L?.data.map((n) => /* @__PURE__ */ e(w, { label: n.name }, n.id)) });
|
|
73
|
-
break;
|
|
74
|
-
case "counterpart_id":
|
|
75
|
-
p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
76
|
-
flexWrap: "wrap"
|
|
77
|
-
}, children: W?.data.map((n) => /* @__PURE__ */ e(w, { label: U(n) }, n.id)) });
|
|
78
|
-
break;
|
|
79
|
-
case "amount":
|
|
80
|
-
p = /* @__PURE__ */ e("p", { children: S(i.amount?.value ?? [], i.amount?.currency ?? "EUR") });
|
|
81
|
-
break;
|
|
82
|
-
default:
|
|
83
|
-
p = r;
|
|
84
|
-
break;
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
label: l,
|
|
88
|
-
value: p
|
|
89
|
-
};
|
|
90
|
-
}), v = t && Object.keys(t)?.map((r) => {
|
|
91
|
-
if (!t[r]) return null;
|
|
92
|
-
switch (r) {
|
|
93
|
-
case "single_user":
|
|
94
|
-
return {
|
|
95
|
-
label: b(r),
|
|
96
|
-
value: /* @__PURE__ */ e(g, { userId: t[r].userId })
|
|
97
|
-
};
|
|
98
|
-
case "users_from_list":
|
|
99
|
-
return {
|
|
100
|
-
label: b(r, t[r].count),
|
|
101
|
-
value: /* @__PURE__ */ e(c, { direction: "column", gap: 1, sx: {
|
|
102
|
-
flexWrap: "wrap"
|
|
103
|
-
}, children: t[r].userIds?.map((l) => /* @__PURE__ */ e(g, { userId: l }, l)) })
|
|
104
|
-
};
|
|
105
|
-
case "roles_from_list":
|
|
106
|
-
return {
|
|
107
|
-
label: b(r),
|
|
108
|
-
value: /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
109
|
-
flexWrap: "wrap"
|
|
110
|
-
}, children: t[r].roleIds?.map((l) => /* @__PURE__ */ e(j, { roleId: l, quoted: !0 }, l)) })
|
|
111
|
-
};
|
|
112
|
-
case "approval_chain":
|
|
113
|
-
return {
|
|
114
|
-
label: b(r),
|
|
115
|
-
value: /* @__PURE__ */ e(c, { direction: "column", spacing: 0.5, children: t[r].chainUserIds?.map((l) => l ? /* @__PURE__ */ e(g, { userId: l }, l) : null) })
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
});
|
|
119
|
-
return /* @__PURE__ */ s(D, { children: [
|
|
120
|
-
/* @__PURE__ */ e(Q, { title: d?.name, closeButtonTooltip: a._("Close approval policy details") }),
|
|
121
|
-
/* @__PURE__ */ s(F, { children: [
|
|
122
|
-
/* @__PURE__ */ e(u, { variant: "h5", mt: 2, mb: 1, children: a._("Description") }),
|
|
123
|
-
d?.description && /* @__PURE__ */ e(u, { variant: "body1", children: d.description }),
|
|
124
|
-
/* @__PURE__ */ e(u, { variant: "h5", mt: 4, mb: 1, children: a._("Conditions") }),
|
|
125
|
-
/* @__PURE__ */ e(u, { variant: "body1", mb: 1, children: /* @__PURE__ */ e(E, { id: "INKhSX", components: {
|
|
126
|
-
0: /* @__PURE__ */ e("strong", {})
|
|
127
|
-
} }) }),
|
|
128
|
-
/* @__PURE__ */ e(A, { variant: "outlined", children: /* @__PURE__ */ s(x, { children: [
|
|
129
|
-
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ s(m, { children: [
|
|
130
|
-
/* @__PURE__ */ e(o, { children: a._("Condition") }),
|
|
131
|
-
/* @__PURE__ */ e(o, { children: a._("Criteria") })
|
|
132
|
-
] }) }),
|
|
133
|
-
/* @__PURE__ */ e(I, { children: f.length > 0 ? f.map((r) => /* @__PURE__ */ s(m, { children: [
|
|
134
|
-
/* @__PURE__ */ e(o, { children: r.label }),
|
|
135
|
-
/* @__PURE__ */ e(o, { children: r.value })
|
|
136
|
-
] }, r.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(o, { colSpan: 2, children: a._("No conditions") }) }) })
|
|
137
|
-
] }) }),
|
|
138
|
-
/* @__PURE__ */ e(u, { variant: "h5", mt: 4, mb: 1, children: a._("Approval flow") }),
|
|
139
|
-
/* @__PURE__ */ e(u, { variant: "body1", mb: 1, children: a._("Who needs to approve the document and how:") }),
|
|
140
|
-
/* @__PURE__ */ e(A, { variant: "outlined", children: /* @__PURE__ */ s(x, { children: [
|
|
141
|
-
/* @__PURE__ */ e(C, { children: /* @__PURE__ */ s(m, { children: [
|
|
142
|
-
/* @__PURE__ */ e(o, { children: a._("Approval type") }),
|
|
143
|
-
/* @__PURE__ */ e(o, { children: a._("Users or Roles") })
|
|
144
|
-
] }) }),
|
|
145
|
-
/* @__PURE__ */ e(I, { children: v && v.length > 0 ? v.map((r) => /* @__PURE__ */ s(m, { children: [
|
|
146
|
-
/* @__PURE__ */ e(o, { children: r?.label }),
|
|
147
|
-
/* @__PURE__ */ e(o, { children: r?.value })
|
|
148
|
-
] }, r?.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(o, { colSpan: 2, children: a._("No rules") }) }) })
|
|
149
|
-
] }) })
|
|
150
|
-
] }),
|
|
151
|
-
/* @__PURE__ */ e(N, { primaryButton: {
|
|
152
|
-
label: a._("Edit"),
|
|
153
|
-
onClick: () => P(!0)
|
|
154
|
-
}, deleteButton: {
|
|
155
|
-
onClick: () => {
|
|
156
|
-
y.mutate({
|
|
157
|
-
path: {
|
|
158
|
-
approval_policy_id: d.id
|
|
159
|
-
}
|
|
160
|
-
}, {
|
|
161
|
-
onSuccess: () => T?.onClose?.()
|
|
162
|
-
});
|
|
163
|
-
},
|
|
164
|
-
isLoading: y.isPending
|
|
165
|
-
} })
|
|
166
|
-
] });
|
|
16
|
+
const r = n(null), a = n(null), {
|
|
17
|
+
data: c
|
|
18
|
+
} = h(), f = p(r, a, {
|
|
19
|
+
containerPadding: 96,
|
|
20
|
+
minScale: 1,
|
|
21
|
+
initialDelay: 100,
|
|
22
|
+
useAdaptiveDimensions: !0
|
|
23
|
+
// Enable DPI-aware A4 dimensions
|
|
24
|
+
}), u = {
|
|
25
|
+
address: i,
|
|
26
|
+
counterpart: s,
|
|
27
|
+
currency: o,
|
|
28
|
+
invoiceData: w,
|
|
29
|
+
entityData: m,
|
|
30
|
+
paymentTerms: l,
|
|
31
|
+
measureUnits: c?.data || []
|
|
32
|
+
};
|
|
33
|
+
return /* @__PURE__ */ t("div", { ref: r, className: e(
|
|
34
|
+
// Container layout
|
|
35
|
+
"ttw:flex ttw:overflow-auto ttw:relative",
|
|
36
|
+
"ttw:w-full ttw:h-full ttw:min-h-0",
|
|
37
|
+
"ttw:p-12",
|
|
38
|
+
// 48px padding
|
|
39
|
+
"ttw:bg-gradient-to-br ttw:from-slate-50 ttw:to-slate-200",
|
|
40
|
+
// Force pixel-snapping for zoom stability
|
|
41
|
+
"ttw:[transform:translateZ(0)]"
|
|
42
|
+
), style: {
|
|
43
|
+
justifyContent: "safe center",
|
|
44
|
+
alignItems: "safe center"
|
|
45
|
+
}, children: /* @__PURE__ */ t(v, { ratio: 21 / 29.7, className: e(
|
|
46
|
+
// Maximum width constraints for A4
|
|
47
|
+
"ttw:max-w-[21cm]",
|
|
48
|
+
// Minimum dimensions for proper scaling (A4: 794×1123px = 21cm × 29.7cm)
|
|
49
|
+
"ttw:min-w-[794px] ttw:min-h-[1123px]",
|
|
50
|
+
// Responsive scaling with our adaptive scale hook
|
|
51
|
+
"ttw:transition-transform ttw:duration-200 ttw:ease-in-out",
|
|
52
|
+
// Respect reduced motion preferences
|
|
53
|
+
"motion-reduce:ttw:transition-none",
|
|
54
|
+
"ttw:origin-center",
|
|
55
|
+
// Prevent unwanted shrinking and layout shifts
|
|
56
|
+
"ttw:shrink-0",
|
|
57
|
+
// CSS containment for layout stability
|
|
58
|
+
'ttw:[contain:"layout style"]'
|
|
59
|
+
), style: {
|
|
60
|
+
// Dynamic transform must stay as inline style due to variable
|
|
61
|
+
transform: `scale(${f})`
|
|
62
|
+
}, children: /* @__PURE__ */ t("div", { ref: a, className: e(
|
|
63
|
+
// Full size within aspect ratio container
|
|
64
|
+
"ttw:w-full ttw:h-full",
|
|
65
|
+
"ttw:bg-white ttw:shrink-0",
|
|
66
|
+
"ttw:shadow-md",
|
|
67
|
+
"ttw:overflow-hidden"
|
|
68
|
+
), children: /* @__PURE__ */ t(d, { ...u }) }) }) });
|
|
167
69
|
};
|
|
168
70
|
export {
|
|
169
|
-
|
|
71
|
+
I as InvoicePreview
|
|
170
72
|
};
|
|
@@ -1,44 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as T } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { MeasureUnitsFormRow as f } from "./index388.js";
|
|
3
|
+
import { ConfirmDeleteMeasureUnitDialog as j } from "./index389.js";
|
|
4
|
+
import { TableActions as z } from "./index390.js";
|
|
5
|
+
import { Table as A, TableHeader as E, TableRow as h, TableHead as l, TableBody as G, TableCell as d } from "./index285.js";
|
|
6
|
+
import { useLingui as I } from "@lingui/react";
|
|
7
|
+
import { Loader2 as b, Search as S } from "lucide-react";
|
|
8
|
+
import { useState as m, useCallback as w } from "react";
|
|
9
|
+
import "./index57.js";
|
|
10
|
+
import "react-hot-toast";
|
|
11
|
+
import { useGetMeasureUnits as _ } from "./index314.js";
|
|
12
|
+
import { useDeleteMeasureUnit as y } from "./index391.js";
|
|
13
|
+
import { InputGroup as F, InputGroupAddon as H, InputGroupInput as k } from "./index101.js";
|
|
14
|
+
import { useDebounceCallback as R } from "./index65.js";
|
|
15
|
+
const at = () => {
|
|
11
16
|
const {
|
|
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
|
-
|
|
17
|
+
i18n: i
|
|
18
|
+
} = I(), [g, s] = m(null), [a, c] = m(null), x = !!a, [u, N] = m(""), {
|
|
19
|
+
data: C,
|
|
20
|
+
isLoading: M
|
|
21
|
+
} = _(), n = y(a?.name), $ = R((t) => {
|
|
22
|
+
N(t);
|
|
23
|
+
}, 500), D = C?.data?.filter((t) => t.name.toLowerCase().includes(u.toLowerCase()) || t.description && t.description.toLowerCase().includes(u.toLowerCase())) || [], L = w((t) => {
|
|
24
|
+
c(t);
|
|
25
|
+
}, []), o = w(() => {
|
|
26
|
+
c(null);
|
|
27
|
+
}, []), U = w(() => {
|
|
28
|
+
a && n.mutate({
|
|
29
|
+
path: {
|
|
30
|
+
unit_id: a.id
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
onSuccess: () => o()
|
|
34
|
+
});
|
|
35
|
+
}, [n, a, o]), p = n.isPending, v = () => {
|
|
36
|
+
s(null);
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:h-full ttw:relative", children: [
|
|
39
|
+
M ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:justify-center ttw:items-center ttw:h-full", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }) : /* @__PURE__ */ r(T, { children: [
|
|
40
|
+
p && /* @__PURE__ */ e("div", { className: "ttw:absolute ttw:inset-0 ttw:bg-white/70 ttw:flex ttw:justify-center ttw:items-center ttw:z-10", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }),
|
|
41
|
+
/* @__PURE__ */ r(F, { children: [
|
|
42
|
+
/* @__PURE__ */ e(H, { align: "inline-start", children: /* @__PURE__ */ e(S, {}) }),
|
|
43
|
+
/* @__PURE__ */ e(k, { placeholder: i._("Search"), onChange: (t) => $(t.target.value) })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ r(A, { className: "ttw:table-fixed ttw:border ttw:border-border ttw:rounded-md", children: [
|
|
46
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(h, { className: "ttw:hover:bg-transparent ttw:border-border", children: [
|
|
47
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[35%]", children: i._("Unit label") }),
|
|
48
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[55%]", children: i._("Description (optional)") }),
|
|
49
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[10%]" })
|
|
50
|
+
] }) }),
|
|
51
|
+
/* @__PURE__ */ r(G, { children: [
|
|
52
|
+
/* @__PURE__ */ e(f, { isEditMode: !1 }),
|
|
53
|
+
D.map((t) => g?.id === t.id ? /* @__PURE__ */ e(f, { isEditMode: !0, initialValues: t, onCancel: v, onEdit: () => s(null), id: t.id }, t.id) : /* @__PURE__ */ r(h, { className: "ttw:border-border", children: [
|
|
54
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[35%] ttw:text-sm ttw:truncate", children: t.name }),
|
|
55
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[55%] ttw:text-sm ttw:text-muted-foreground ttw:truncate", children: t.description || "—" }),
|
|
56
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[10%]", children: /* @__PURE__ */ e(z, { permissions: {
|
|
57
|
+
isUpdateAllowed: !0,
|
|
58
|
+
isDeleteAllowed: !0
|
|
59
|
+
}, onEdit: () => s(t), onDelete: () => L(t) }) })
|
|
60
|
+
] }, t.id))
|
|
61
|
+
] })
|
|
62
|
+
] })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ e(j, { open: x, id: a?.id, name: a?.name || "", isLoading: p, onClose: o, onDelete: U })
|
|
65
|
+
] });
|
|
41
66
|
};
|
|
42
67
|
export {
|
|
43
|
-
|
|
68
|
+
at as ManageMeasureUnitsForm
|
|
44
69
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMoniteContext as _ } from "./index57.js";
|
|
2
2
|
import { useLingui as l } from "@lingui/react";
|
|
3
|
-
import { getAPIErrorMessage as b } from "./
|
|
3
|
+
import { getAPIErrorMessage as b } from "./index120.js";
|
|
4
4
|
import { toast as s } from "react-hot-toast";
|
|
5
5
|
import { useUpdatePayable as m } from "./index25.js";
|
|
6
6
|
const A = ({
|
|
@@ -1,64 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import "./index57.js";
|
|
3
3
|
import "@tanstack/react-query";
|
|
4
4
|
import "date-fns";
|
|
5
|
-
import { useEntityUserById as
|
|
5
|
+
import { useEntityUserById as m } from "./index75.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import "react-hot-toast";
|
|
8
8
|
import "@lingui/react";
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import { getVariantProps as d } from "./index452.js";
|
|
13
|
-
const q = ({
|
|
14
|
-
userId: t,
|
|
15
|
-
user: e,
|
|
16
|
-
variant: m = "text",
|
|
17
|
-
showUsersAsEmail: i = !1,
|
|
18
|
-
showAvatar: f = !1,
|
|
19
|
-
className: o = ""
|
|
9
|
+
import { Skeleton as e } from "@mui/material";
|
|
10
|
+
const u = ({
|
|
11
|
+
id: r
|
|
20
12
|
}) => {
|
|
21
13
|
const {
|
|
22
|
-
data:
|
|
23
|
-
isLoading:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
useBadge: x,
|
|
29
|
-
badgeVariant: E,
|
|
30
|
-
className: c
|
|
31
|
-
} = d({
|
|
32
|
-
variant: m,
|
|
33
|
-
isError: !0,
|
|
34
|
-
componentType: "user",
|
|
35
|
-
className: o
|
|
36
|
-
});
|
|
37
|
-
return x ? /* @__PURE__ */ s(p, { variant: E, className: c, children: "N/A" }) : /* @__PURE__ */ s("span", { className: c, children: "N/A" });
|
|
38
|
-
}
|
|
39
|
-
if (!a && !r)
|
|
40
|
-
return null;
|
|
41
|
-
const h = a ? `${a.first_name ?? ""} ${a.last_name ?? ""}`.trim() : "", w = a ? `${a.first_name?.[0] ?? ""}${a.last_name?.[0] ?? ""}`.toUpperCase() : "", n = i && a?.email ? a.email : h || a?.email || "";
|
|
42
|
-
if (r)
|
|
43
|
-
return /* @__PURE__ */ s(B, { className: "ttw:h-4 ttw:w-20" });
|
|
44
|
-
const {
|
|
45
|
-
useBadge: v,
|
|
46
|
-
badgeVariant: A,
|
|
47
|
-
className: l,
|
|
48
|
-
showAvatar: g
|
|
49
|
-
} = d({
|
|
50
|
-
variant: m,
|
|
51
|
-
isError: !1,
|
|
52
|
-
componentType: "user",
|
|
53
|
-
showAvatar: f,
|
|
54
|
-
showUsersAsEmail: i,
|
|
55
|
-
className: o
|
|
56
|
-
});
|
|
57
|
-
return v ? /* @__PURE__ */ y(p, { variant: A, className: l, children: [
|
|
58
|
-
g && /* @__PURE__ */ s(b, { className: "ttw:w-4 ttw:h-4", children: /* @__PURE__ */ s(k, { className: "ttw:text-xs ttw:font-medium", children: w }) }),
|
|
59
|
-
n
|
|
60
|
-
] }) : /* @__PURE__ */ s("span", { className: l, children: n });
|
|
14
|
+
data: t,
|
|
15
|
+
isLoading: o
|
|
16
|
+
} = m(r);
|
|
17
|
+
return /* @__PURE__ */ i("span", { children: o ? /* @__PURE__ */ i(e, { animation: "wave", height: 10, width: "100%", sx: {
|
|
18
|
+
minWidth: "4em"
|
|
19
|
+
} }) : !!t && `${t?.first_name || ""} ${t?.last_name || ""}` });
|
|
61
20
|
};
|
|
62
21
|
export {
|
|
63
|
-
|
|
22
|
+
u as UserCell
|
|
64
23
|
};
|
|
@@ -1,33 +1,45 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { toast as g } from "react-hot-toast";
|
|
3
|
+
import { useMoniteContext as c } from "./index57.js";
|
|
4
|
+
import { MoniteScopedProviders as p } from "./index83.js";
|
|
5
|
+
import { ConfirmationModal as u } from "./index254.js";
|
|
6
|
+
import { useLingui as f } from "@lingui/react";
|
|
7
|
+
const D = (e) => /* @__PURE__ */ a(p, { children: /* @__PURE__ */ a(C, { ...e }) }), C = ({
|
|
8
|
+
tag: e,
|
|
9
|
+
onClose: i,
|
|
10
|
+
onDelete: m,
|
|
11
|
+
modalOpened: d
|
|
10
12
|
}) => {
|
|
11
13
|
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
i18n: o
|
|
15
|
+
} = f(), n = e?.id, {
|
|
16
|
+
api: t,
|
|
17
|
+
queryClient: s
|
|
18
|
+
} = c(), r = t.finops.deleteTagsId.useMutation({
|
|
19
|
+
path: {
|
|
20
|
+
tag_id: n ?? ""
|
|
21
|
+
}
|
|
22
|
+
}, {
|
|
23
|
+
onSuccess: () => (t.finops.getTagsId.removeQueries({
|
|
24
|
+
parameters: {
|
|
25
|
+
path: {
|
|
26
|
+
tag_id: n
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, s), t.finops.getTags.invalidateQueries(s))
|
|
30
|
+
}), l = () => {
|
|
31
|
+
r.mutate(void 0, {
|
|
32
|
+
onSuccess: () => {
|
|
33
|
+
g.success(o._("Tag “{tagName}” was deleted", {
|
|
34
|
+
tagName: e.name
|
|
35
|
+
})), i?.(), m?.(e.id);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
return /* @__PURE__ */ a(u, { open: d, title: o._("Delete “{tagName}” tag?", {
|
|
40
|
+
tagName: e.name
|
|
41
|
+
}), message: o._("This action can’t be undone."), confirmLabel: o._("Delete"), cancelLabel: o._("Cancel"), onClose: i, onConfirm: l, isLoading: r.isPending });
|
|
42
|
+
};
|
|
30
43
|
export {
|
|
31
|
-
|
|
32
|
-
h as StyledChip
|
|
44
|
+
D as ConfirmDeleteModal
|
|
33
45
|
};
|
|
@@ -1,121 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
default:
|
|
14
|
-
return "approve_in_progress";
|
|
15
|
-
}
|
|
16
|
-
}, h = (e) => e.find((a) => a.call === v.REQUEST_APPROVAL_BY_USERS), j = (e) => (
|
|
17
|
-
// Either spelling: a policy written by the native Bill Pay editor uses the
|
|
18
|
-
// singular call, and this flow has to show its role step too.
|
|
19
|
-
e.find((a) => _(a.call))
|
|
20
|
-
), m = (e, a, s = !1) => e.filter((r) => r.user_ids?.length ? s ? r.user_ids.some((t) => a.includes(t)) : a.every((t) => r.user_ids.includes(t)) : !1), y = (e, a) => e.filter((s) => s.role_ids?.some((r) => a.includes(r))), C = (e, a, s) => {
|
|
21
|
-
if (e?.params) {
|
|
22
|
-
const {
|
|
23
|
-
user_ids: r,
|
|
24
|
-
required_approval_count: t
|
|
25
|
-
} = e.params;
|
|
26
|
-
return r?.length === 1 ? n.singleUser(s) : S(s, t);
|
|
27
|
-
}
|
|
28
|
-
return a?.params ? n.anyUserWithRole(s) : "";
|
|
29
|
-
}, o = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(o) : e.if ? o(e.if) : [] : [], B = (e) => e.flatMap(o), I = (e) => {
|
|
30
|
-
const a = [];
|
|
31
|
-
if (e.all)
|
|
32
|
-
a.push(...e.all);
|
|
33
|
-
else if (e.if) {
|
|
34
|
-
const s = e.if;
|
|
35
|
-
s.all ? a.push(...s.all) : a.push(s);
|
|
36
|
-
}
|
|
37
|
-
return a;
|
|
38
|
-
}, c = (e) => e ? e.call && e.params ? [e] : Array.isArray(e.all) ? e.all.flatMap(c) : Array.isArray(e) ? e.flatMap(c) : [] : [], R = (e) => e.length === 0 || e.some((a) => a.status === "waiting") ? "waiting" : e.every((a) => a.status === "approved") ? "approved" : e.some((a) => a.status === "rejected") ? "rejected" : "waiting", U = (e, a, s) => ({
|
|
39
|
-
stepNumber: a,
|
|
40
|
-
type: s,
|
|
41
|
-
assignee: void 0,
|
|
42
|
-
assignees: e.assignees,
|
|
43
|
-
status: e.stepStatus,
|
|
44
|
-
payableStatus: A(e.stepStatus),
|
|
45
|
-
actualAssignees: e.actualAssignees,
|
|
46
|
-
hasActiveRequests: e.relatedRequests.length > 0,
|
|
47
|
-
requestIds: e.relatedRequests.map((r) => r.id),
|
|
48
|
-
approvalRequestId: e.approvalRequestId,
|
|
49
|
-
approvedBy: e.approvedBy,
|
|
50
|
-
objectId: e.objectId,
|
|
51
|
-
rejectedBy: e.rejectedBy,
|
|
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
|
-
};
|
|
102
|
-
};
|
|
1
|
+
const a = ["document_type", "department", "project", "cost_center", "vendor_type", "payment_method", "approval_status"], o = (e) => ({
|
|
2
|
+
document_type: e._("Document Type"),
|
|
3
|
+
department: e._("Department"),
|
|
4
|
+
project: e._("Project"),
|
|
5
|
+
cost_center: e._("Cost Center"),
|
|
6
|
+
vendor_type: e._("Vendor Type"),
|
|
7
|
+
payment_method: e._("Payment Method"),
|
|
8
|
+
approval_status: e._("Approval Status")
|
|
9
|
+
});
|
|
10
|
+
function r(e, t) {
|
|
11
|
+
return e ? o(t)[e] : "";
|
|
12
|
+
}
|
|
103
13
|
export {
|
|
104
|
-
|
|
105
|
-
|
|
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
|
|
14
|
+
r as getTagCategoryLabel,
|
|
15
|
+
a as tagCategories
|
|
121
16
|
};
|