@tesouro/embedded-components-react 0.2.114 → 0.2.115
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 +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- 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 +12 -23
- 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 +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +11 -11
- 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 +60 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +94 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +57 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +76 -12
- 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 +6 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +30 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +11 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +121 -11
- 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 +10 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +42 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +48 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +46 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +15 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +11 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +148 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +71 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +46 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +74 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +196 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +76 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +28 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +39 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +6 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +118 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +189 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +108 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +137 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +17 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +20 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +21 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +183 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +12 -136
- 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 +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +88 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +6 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +45 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +50 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +205 -5
- 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 +425 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +18 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +2 -427
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +17 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +107 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +65 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +93 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +100 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +4 -33
- 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 +77 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +345 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +15 -32
- 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 +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +11 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +245 -49
- 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 +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +22 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +36 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +50 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +46 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +89 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +41 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +139 -154
- 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 +99 -257
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +38 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +345 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +301 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +103 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +162 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +259 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +18 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +10 -43
- 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 +487 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +157 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +39 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +60 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +29 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +113 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +40 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +53 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +72 -38
- 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 +40 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +60 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +94 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +111 -113
- 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 +87 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +18 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +65 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +41 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +24 -16
- 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 +134 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +112 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +80 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +282 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +46 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +15 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +84 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +224 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +9 -76
- 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 +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +6 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +92 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +17 -42
- 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 +47 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +10 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +48 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +62 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +94 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +203 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +22 -2
- 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 +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +28 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +57 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +17 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +171 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +133 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +158 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +61 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +59 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +50 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +58 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +21 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +56 -53
- 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 +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +157 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +26 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +78 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -95
- 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 +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +47 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +32 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +94 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +31 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +119 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +72 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +9 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +12 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +85 -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 +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +100 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +112 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +39 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +75 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +67 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +18 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +29 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +73 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +83 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +54 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +53 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +53 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +54 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +38 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +44 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +57 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +70 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +30 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +81 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +66 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +43 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +4 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +126 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +33 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +38 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +7 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +53 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +15 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +91 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +75 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +9 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +41 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +35 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +13 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +37 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +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/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 +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1429 -1425
- 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 +23 -23
- package/package.json +1 -1
|
@@ -1,143 +1,170 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import {
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
12
|
-
import "
|
|
13
|
-
import "
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
import { InputGroupAddon as re } from "./index101.js";
|
|
18
|
-
import { Loader2 as M } from "lucide-react";
|
|
19
|
-
const se = "custom", Pe = ({
|
|
20
|
-
fieldName: a,
|
|
21
|
-
error: V,
|
|
22
|
-
disabled: j,
|
|
23
|
-
index: B = 0,
|
|
24
|
-
defaultCurrency: D,
|
|
25
|
-
measureUnits: C,
|
|
26
|
-
container: E,
|
|
27
|
-
onChange: l
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as D } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Role as j } from "./index473.js";
|
|
3
|
+
import { User as g } from "./index283.js";
|
|
4
|
+
import { useApprovalPolicyScript as B } from "./index395.js";
|
|
5
|
+
import { useApprovalPolicyTrigger as R } from "./index389.js";
|
|
6
|
+
import { getCounterpartName as $ } from "./index7.js";
|
|
7
|
+
import { useMoniteContext as q } from "./index57.js";
|
|
8
|
+
import { useDialog as H } from "./index50.js";
|
|
9
|
+
import { DialogFooter as N } from "./index439.js";
|
|
10
|
+
import { DialogHeader as Q } from "./index440.js";
|
|
11
|
+
import { useLingui as U, Trans as E } from "@lingui/react";
|
|
12
|
+
import { Stack as c, Chip as w, DialogContent as F, Typography as u, Paper as A, Table as x, TableHead as C, TableRow as m, TableCell as o, TableBody as I } from "@mui/material";
|
|
13
|
+
import { toast as M } from "react-hot-toast";
|
|
14
|
+
const le = ({
|
|
15
|
+
approvalPolicy: d,
|
|
16
|
+
setIsEdit: P
|
|
28
17
|
}) => {
|
|
29
18
|
const {
|
|
30
|
-
i18n:
|
|
31
|
-
} =
|
|
32
|
-
api:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
19
|
+
i18n: a
|
|
20
|
+
} = U(), T = H(), {
|
|
21
|
+
api: h,
|
|
22
|
+
queryClient: _
|
|
23
|
+
} = q(), {
|
|
24
|
+
triggers: i,
|
|
25
|
+
getTriggerLabel: k,
|
|
26
|
+
getAmountLabel: S
|
|
27
|
+
} = R({
|
|
28
|
+
approvalPolicy: d
|
|
29
|
+
}), {
|
|
30
|
+
rules: t,
|
|
31
|
+
getRuleLabel: b
|
|
32
|
+
} = B({
|
|
33
|
+
approvalPolicy: d
|
|
34
|
+
}), {
|
|
35
|
+
data: L
|
|
36
|
+
} = h.finops.getTags.useQuery({
|
|
42
37
|
query: {
|
|
43
|
-
|
|
44
|
-
currency: k
|
|
38
|
+
id__in: Array.isArray(i?.tags) ? i.tags : []
|
|
45
39
|
}
|
|
46
40
|
}, {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
41
|
+
enabled: !!i?.tags?.length
|
|
42
|
+
}), {
|
|
43
|
+
data: W
|
|
44
|
+
} = h.finops.getCounterparts.useQuery({
|
|
45
|
+
query: {
|
|
46
|
+
id__in: Array.isArray(i?.counterpart_id) ? i.counterpart_id : []
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
enabled: !!i?.counterpart_id?.length
|
|
50
|
+
}), y = h.finops.deleteApprovalPoliciesId.useMutation(void 0, {
|
|
51
|
+
onSuccess: async () => {
|
|
52
|
+
await Promise.all([h.finops.getApprovalPolicies.invalidateQueries(_), h.finops.getApprovalPoliciesId.invalidateQueries({
|
|
53
|
+
parameters: {
|
|
54
|
+
path: {
|
|
55
|
+
approval_policy_id: d.id
|
|
57
56
|
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
}),
|
|
62
|
-
const
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
57
|
+
}
|
|
58
|
+
}, _)]), M.success(a._("Approval policy has been deleted"));
|
|
59
|
+
}
|
|
60
|
+
}), f = Object.keys(i).map((r) => {
|
|
61
|
+
const l = k(r);
|
|
62
|
+
let p;
|
|
63
|
+
switch (r) {
|
|
64
|
+
case "was_created_by_user_id":
|
|
65
|
+
Array.isArray(i[r]) && (p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
66
|
+
flexWrap: "wrap"
|
|
67
|
+
}, children: i[r].map((n) => /* @__PURE__ */ e(g, { userId: n }, n)) }));
|
|
68
|
+
break;
|
|
69
|
+
case "tags":
|
|
70
|
+
p = /* @__PURE__ */ e(c, { direction: "row", gap: 1, sx: {
|
|
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: $(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
|
+
}
|
|
70
86
|
return {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
description: e.description,
|
|
74
|
-
price: e.price,
|
|
75
|
-
smallestAmount: e.smallest_amount,
|
|
76
|
-
measureUnit: t
|
|
87
|
+
label: l,
|
|
88
|
+
value: p
|
|
77
89
|
};
|
|
78
|
-
}),
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
if (t.reason !== "input-change") {
|
|
106
|
-
d || m("");
|
|
107
|
-
return;
|
|
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
|
+
};
|
|
108
117
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
/* @__PURE__ */
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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
|
+
} })
|
|
138
166
|
] });
|
|
139
167
|
};
|
|
140
168
|
export {
|
|
141
|
-
|
|
142
|
-
Pe as ItemSelector
|
|
169
|
+
le as ApprovalPolicyView
|
|
143
170
|
};
|
|
@@ -1,114 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import "@mui/x-data-grid";
|
|
11
|
-
import { useIsMounted as j } from "./index68.js";
|
|
12
|
-
import { generateUniqueId as B } from "./index391.js";
|
|
13
|
-
import { useFormContext as G, useFieldArray as H } from "react-hook-form";
|
|
14
|
-
const oe = ({
|
|
15
|
-
defaultCurrency: p,
|
|
16
|
-
isInclusivePricing: C
|
|
1
|
+
import { jsx as i, jsxs as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useApprovalPolicyScript as o } from "./index395.js";
|
|
3
|
+
import { UListUiAlt as a } from "./index396.js";
|
|
4
|
+
import { UUserCircle as c } from "./index394.js";
|
|
5
|
+
import { UUsersAlt as m } from "./index397.js";
|
|
6
|
+
import { UUserSquare as p } from "./index398.js";
|
|
7
|
+
import { ColumnList as n } from "./index390.js";
|
|
8
|
+
const v = ({
|
|
9
|
+
approvalPolicy: l
|
|
17
10
|
}) => {
|
|
18
11
|
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
|
-
taxRate: Number(T) || void 0
|
|
49
|
-
}), i = u((e) => {
|
|
50
|
-
const r = {
|
|
51
|
-
name: e?.product?.name || "",
|
|
52
|
-
price: {
|
|
53
|
-
currency: p,
|
|
54
|
-
value: e?.product?.price?.value || 0
|
|
55
|
-
},
|
|
56
|
-
measure_unit_id: e?.product?.measure_unit_id || "",
|
|
57
|
-
type: e?.product?.type || "product"
|
|
58
|
-
};
|
|
59
|
-
return {
|
|
60
|
-
id: e?.id ?? B(),
|
|
61
|
-
product_id: e?.product_id || "",
|
|
62
|
-
product: r,
|
|
63
|
-
quantity: e?.quantity ?? 1,
|
|
64
|
-
tax_rate_value: e?.tax_rate_value ? e?.tax_rate_value ?? 0 : void 0,
|
|
65
|
-
...e?.measure_unit ? {
|
|
66
|
-
measure_unit: e.measure_unit
|
|
67
|
-
} : {},
|
|
68
|
-
taxable: !0
|
|
69
|
-
};
|
|
70
|
-
}, [p]), A = u(() => {
|
|
71
|
-
if (s.current) return;
|
|
72
|
-
s.current = !0, y(i());
|
|
73
|
-
const e = t("line_items");
|
|
74
|
-
e && e.length > 0 && m(`line_items.${e.length - 1}`);
|
|
75
|
-
}, [y, i, t, m]);
|
|
76
|
-
x(() => {
|
|
77
|
-
s.current && Promise.resolve().then(() => {
|
|
78
|
-
c.current && (s.current = !1);
|
|
79
|
-
});
|
|
80
|
-
}, [n.length, c]), x(() => {
|
|
81
|
-
!c.current || I || !t("line_items")?.length && !s.current && (g({
|
|
82
|
-
...t(),
|
|
83
|
-
line_items: [i()]
|
|
84
|
-
}), b(!0));
|
|
85
|
-
}, [c, I, t, g, i]);
|
|
86
|
-
const E = u((e) => v(e), [v, t]), F = u(() => {
|
|
87
|
-
const e = t("line_items");
|
|
88
|
-
if (!e?.length) return;
|
|
89
|
-
const r = e.filter((a) => !!a?.product?.name?.trim()), d = e.find((a) => !a?.product?.name?.trim()), _ = r.length > 0 ? r : e.length > 0 ? [i(d || void 0)] : [];
|
|
90
|
-
(_.length !== e.length || !_.every((a, w) => a.id === e[w]?.id)) && (m("line_items"), l("line_items", _, {
|
|
91
|
-
shouldValidate: !1,
|
|
92
|
-
shouldDirty: !0
|
|
93
|
-
}));
|
|
94
|
-
}, [t, l, m, i]), M = u((e, r, d) => {
|
|
95
|
-
l(e, r, {
|
|
96
|
-
shouldDirty: !0,
|
|
97
|
-
...d
|
|
98
|
-
}), d?.shouldValidate && h(e);
|
|
99
|
-
}, [l, h]), U = JSON.stringify(o.line_items), $ = O(() => Array.isArray(o.line_items) ? n.map((e, r) => o.line_items?.[r] ?? {}) : n.map(() => ({})), [o.line_items, U, n]);
|
|
100
|
-
return {
|
|
101
|
-
fields: n,
|
|
102
|
-
subtotalPrice: R,
|
|
103
|
-
totalPrice: S,
|
|
104
|
-
totalTaxes: q,
|
|
105
|
-
lineItemErrors: $,
|
|
106
|
-
handleAddRow: A,
|
|
107
|
-
handleRemoveItem: E,
|
|
108
|
-
setValueWithValidationLocal: M,
|
|
109
|
-
cleanUpLineItemsForSubmission: F
|
|
110
|
-
};
|
|
12
|
+
rules: t,
|
|
13
|
+
getRuleName: s
|
|
14
|
+
} = o({
|
|
15
|
+
approvalPolicy: l
|
|
16
|
+
});
|
|
17
|
+
return l ? /* @__PURE__ */ i(n, { children: t && Object.keys(t).map((r) => {
|
|
18
|
+
switch (r) {
|
|
19
|
+
case "single_user":
|
|
20
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
21
|
+
/* @__PURE__ */ i(c, { width: 18 }),
|
|
22
|
+
s(r)
|
|
23
|
+
] }, r);
|
|
24
|
+
case "users_from_list":
|
|
25
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
26
|
+
/* @__PURE__ */ i(m, { width: 18 }),
|
|
27
|
+
s(r)
|
|
28
|
+
] }, r);
|
|
29
|
+
case "roles_from_list":
|
|
30
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
31
|
+
/* @__PURE__ */ i(p, { width: 18 }),
|
|
32
|
+
s(r)
|
|
33
|
+
] }, r);
|
|
34
|
+
case "approval_chain":
|
|
35
|
+
return /* @__PURE__ */ e("li", { children: [
|
|
36
|
+
/* @__PURE__ */ i(a, { width: 18 }),
|
|
37
|
+
s(r)
|
|
38
|
+
] }, r);
|
|
39
|
+
}
|
|
40
|
+
}) }) : null;
|
|
111
41
|
};
|
|
112
42
|
export {
|
|
113
|
-
|
|
43
|
+
v as ApprovalPoliciesRules
|
|
114
44
|
};
|
|
@@ -1,84 +1,64 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { jsx as s, jsxs as y } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import "./index57.js";
|
|
3
|
+
import "@tanstack/react-query";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { useEntityUserById as U } from "./index75.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "react-hot-toast";
|
|
8
|
+
import "@lingui/react";
|
|
9
|
+
import { Avatar as b, AvatarFallback as k } from "./index329.js";
|
|
10
|
+
import { Badge as p } from "./index244.js";
|
|
11
|
+
import { Skeleton as B } from "./index141.js";
|
|
12
|
+
import { getVariantProps as d } from "./index449.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 = ""
|
|
20
|
+
}) => {
|
|
21
|
+
const {
|
|
22
|
+
data: u,
|
|
23
|
+
isLoading: r,
|
|
24
|
+
isError: N
|
|
25
|
+
} = U(e ? void 0 : t), a = e || u;
|
|
26
|
+
if (!a && !r && N && t) {
|
|
27
|
+
const {
|
|
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" });
|
|
9
38
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if (
|
|
14
|
-
return;
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return !1;
|
|
28
|
-
i = i[u];
|
|
29
|
-
}
|
|
30
|
-
return typeof i == "object" && i !== null && "message" in i && typeof i.message == "string";
|
|
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
|
|
31
56
|
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const r = e.indexOf(".");
|
|
38
|
-
if (r !== -1 && (e = e.slice(0, r + 1) + e.slice(r + 1).replace(/\./g, ""), e = e.slice(0, r + 3)), e.length > 1 && e.startsWith("0") && e[1] !== "." && (e = e.replace(/^0+/, "") || "0"), e === "" || e === ".")
|
|
39
|
-
return e;
|
|
40
|
-
const n = Number(e);
|
|
41
|
-
return !isNaN(n) && n > 100 ? "100" : e;
|
|
42
|
-
}, j = (t, e) => {
|
|
43
|
-
if (t === void 0 || isNaN(t)) return "";
|
|
44
|
-
const r = p(t);
|
|
45
|
-
return e.format(r);
|
|
46
|
-
}, b = (t, e, r) => {
|
|
47
|
-
if (t.trim() === "") return 0;
|
|
48
|
-
let n = t;
|
|
49
|
-
if (r) {
|
|
50
|
-
const a = r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
51
|
-
n = n.replace(new RegExp(a, "g"), "");
|
|
52
|
-
}
|
|
53
|
-
n = n.replace(e, ".");
|
|
54
|
-
const s = parseFloat(n);
|
|
55
|
-
return isNaN(s) ? 0 : f(s);
|
|
56
|
-
}, _ = (t) => !t || !Array.isArray(t) ? [] : t.filter((e) => !!e?.product?.name).map((e) => ({
|
|
57
|
-
...e,
|
|
58
|
-
id: e.product_id || l(),
|
|
59
|
-
quantity: e.quantity ?? 1,
|
|
60
|
-
product: {
|
|
61
|
-
...e.product,
|
|
62
|
-
type: e.product?.type,
|
|
63
|
-
price: {
|
|
64
|
-
...e.product?.price || {},
|
|
65
|
-
value: e.product?.price?.value ?? 0,
|
|
66
|
-
currency: e.product?.price?.currency || "USD"
|
|
67
|
-
},
|
|
68
|
-
measure_unit_id: e.product?.measure_unit_id || ""
|
|
69
|
-
},
|
|
70
|
-
...e.measure_unit?.name ? {
|
|
71
|
-
measure_unit: {
|
|
72
|
-
name: e.measure_unit.name,
|
|
73
|
-
id: null
|
|
74
|
-
}
|
|
75
|
-
} : {}
|
|
76
|
-
}));
|
|
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 });
|
|
61
|
+
};
|
|
77
62
|
export {
|
|
78
|
-
|
|
79
|
-
m as getErrorMessage,
|
|
80
|
-
d as getLineItemErrorMessage,
|
|
81
|
-
b as parseMajorToMinorCurrency,
|
|
82
|
-
_ as sanitizeLineItems,
|
|
83
|
-
M as sanitizeTaxRateInput
|
|
63
|
+
q as User
|
|
84
64
|
};
|