@tesouro/embedded-components-react 0.2.122 → 0.2.124
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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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 +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -23
- 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 +13 -2
- 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 +76 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +31 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +9 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +121 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +216 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +8 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +46 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +48 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +13 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +147 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +37 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +79 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +99 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +44 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +75 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +55 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +76 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +28 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +39 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +114 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +67 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +189 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +30 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +111 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +129 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +19 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +19 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +22 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +24 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +48 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +88 -13
- 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 +34 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +47 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +50 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +203 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +423 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +22 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +18 -424
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +117 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +58 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +397 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +68 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +407 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +34 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +99 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +7 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +214 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +9 -11
- 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 +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +7 -7
- 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 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +30 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +98 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +43 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +147 -32
- 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 +106 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +41 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +80 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +77 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +41 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +40 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +57 -166
- 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 +29 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +113 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +53 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +2 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +93 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +213 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +481 -52
- 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 +165 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +18 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +43 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +343 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +302 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +94 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +162 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +267 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +25 -19
- 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 +20 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +64 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +22 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +53 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +18 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +20 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +20 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +28 -23
- 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 +34 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +60 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +95 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +105 -278
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +85 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +63 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +158 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +27 -224
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +76 -9
- 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 +62 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +43 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +140 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +112 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +81 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +284 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +43 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +15 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +83 -47
- 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 +223 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +37 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +11 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +11 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +6 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +2 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +149 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +68 -84
- 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 +16 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +80 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +45 -298
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +9 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +47 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -265
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +171 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +131 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +161 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +12 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +18 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +61 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +67 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +59 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +8 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -52
- 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 +20 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +59 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +19 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +127 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +32 -18
- 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/index377.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +48 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +123 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +17 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +16 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -28
- 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 +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +71 -20
- 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 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +127 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +31 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +46 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +94 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +38 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +7 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +50 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +18 -12
- 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 +27 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +37 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +5 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +34 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +23 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +19 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +14 -16
- 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 +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +66 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +2 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +53 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +12 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +32 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +85 -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 +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +105 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +112 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +71 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +68 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +24 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +38 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -5
- 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 +10 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +71 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +67 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +31 -32
- 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 +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +37 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +69 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +21 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +39 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +80 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +49 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +58 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +92 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +75 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +9 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +35 -48
- 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 +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -47
- 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/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/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index2.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index4.js +70 -65
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index5.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index7.js +18 -16
- package/package.json +1 -1
|
@@ -1,22 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
|
|
5
|
-
import { useEntityUserById as e } from "./index75.js";
|
|
6
|
-
import "react";
|
|
7
|
-
import "react-hot-toast";
|
|
8
|
-
import "@lingui/react";
|
|
9
|
-
import { UserAvatar as m } from "./index419.js";
|
|
10
|
-
import { Chip as i, Skeleton as n } from "@mui/material";
|
|
11
|
-
const y = ({
|
|
12
|
-
entityUserId: o
|
|
13
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { toast as r } from "react-hot-toast";
|
|
4
|
+
const c = (i) => {
|
|
14
5
|
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
i18n: e
|
|
7
|
+
} = n(), {
|
|
8
|
+
api: a,
|
|
9
|
+
queryClient: o
|
|
10
|
+
} = s();
|
|
11
|
+
return a.finops.patchProductsId.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
product_id: i
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async (t) => {
|
|
17
|
+
await a.finops.getProducts.invalidateQueries(o), await a.finops.getProductsId.invalidateQueries({
|
|
18
|
+
parameters: {
|
|
19
|
+
path: {
|
|
20
|
+
product_id: t.id
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}, o), r.success(t.type === "product" ? e._("Product {name} was updated.", {
|
|
24
|
+
name: t.name
|
|
25
|
+
}) : e._("Service {name} was updated.", {
|
|
26
|
+
name: t.name
|
|
27
|
+
}));
|
|
28
|
+
},
|
|
29
|
+
onError: () => {
|
|
30
|
+
r.error(e._("Failed to update"));
|
|
31
|
+
}
|
|
32
|
+
});
|
|
19
33
|
};
|
|
20
34
|
export {
|
|
21
|
-
|
|
35
|
+
c as useUpdateProduct
|
|
22
36
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as n } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as p } from "./
|
|
2
|
+
import { getAPIErrorMessage as p } from "./index122.js";
|
|
3
3
|
import { useLingui as c } from "@lingui/react";
|
|
4
4
|
import { toast as t } from "react-hot-toast";
|
|
5
5
|
const v = (a) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as $ } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { ScopedCssBaselineContainerClassName as z } from "./index104.js";
|
|
3
3
|
import { InvoiceStatusChip as D } from "./index55.js";
|
|
4
|
-
import { ReceivableFilters as Q } from "./
|
|
4
|
+
import { ReceivableFilters as Q } from "./index169.js";
|
|
5
5
|
import "react-hot-toast";
|
|
6
6
|
import { useMoniteContext as k } from "./index57.js";
|
|
7
7
|
import { useLingui as G } from "@lingui/react";
|
|
@@ -11,7 +11,7 @@ import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
|
11
11
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
12
12
|
import "@tanstack/react-query";
|
|
13
13
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
14
|
-
import { useReceivablesFilters as B } from "./
|
|
14
|
+
import { useReceivablesFilters as B } from "./index170.js";
|
|
15
15
|
import "date-fns";
|
|
16
16
|
import { useCurrencies as W } from "./index58.js";
|
|
17
17
|
import "clsx";
|
|
@@ -19,19 +19,19 @@ import "tailwind-merge";
|
|
|
19
19
|
import "@radix-ui/react-dropdown-menu";
|
|
20
20
|
import "lucide-react";
|
|
21
21
|
import "./index84.js";
|
|
22
|
-
import { useGetReceivables as j } from "./
|
|
22
|
+
import { useGetReceivables as j } from "./index143.js";
|
|
23
23
|
import "./index92.js";
|
|
24
24
|
import { useAreCounterpartsLoading as q, defaultCounterpartColumnWidth as E, useAutosizeGridColumns as V } from "./index62.js";
|
|
25
25
|
import "react-hook-form";
|
|
26
26
|
import { MoniteScopedProviders as H } from "./index83.js";
|
|
27
|
-
import { ReceivableCursorFields as S } from "./
|
|
28
|
-
import { CounterpartNameCellById as Y } from "./
|
|
29
|
-
import { DataGridEmptyState as J } from "./
|
|
30
|
-
import { GetNoRowsOverlay as K } from "./
|
|
31
|
-
import { DueDateCell as U } from "./
|
|
27
|
+
import { ReceivableCursorFields as S } from "./index167.js";
|
|
28
|
+
import { CounterpartNameCellById as Y } from "./index157.js";
|
|
29
|
+
import { DataGridEmptyState as J } from "./index171.js";
|
|
30
|
+
import { GetNoRowsOverlay as K } from "./index158.js";
|
|
31
|
+
import { DueDateCell as U } from "./index168.js";
|
|
32
32
|
import { TablePagination as X } from "./index86.js";
|
|
33
|
-
import { classNames as Z } from "./
|
|
34
|
-
import { hasSelectedText as ee } from "./
|
|
33
|
+
import { classNames as Z } from "./index172.js";
|
|
34
|
+
import { hasSelectedText as ee } from "./index160.js";
|
|
35
35
|
import { Stack as te, Typography as oe, Box as ae } from "@mui/material";
|
|
36
36
|
import { DataGrid as ie } from "@mui/x-data-grid";
|
|
37
37
|
const We = (l) => /* @__PURE__ */ o(H, { children: /* @__PURE__ */ o(re, { ...l }) }), re = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as o } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as n } from "./
|
|
2
|
+
import { getAPIErrorMessage as n } from "./index122.js";
|
|
3
3
|
import { useLingui as p } from "@lingui/react";
|
|
4
4
|
import { toast as c } from "react-hot-toast";
|
|
5
5
|
const g = (e) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { getCommonRecurrenceIterationStatusLabel as w } from "./
|
|
2
|
+
import { getCommonRecurrenceIterationStatusLabel as w } from "./index315.js";
|
|
3
3
|
import "date-fns";
|
|
4
|
-
import { Badge as s } from "./
|
|
4
|
+
import { Badge as s } from "./index244.js";
|
|
5
5
|
import { cn as g } from "./index100.js";
|
|
6
6
|
import { useLingui as c } from "@lingui/react";
|
|
7
7
|
import { cva as l } from "class-variance-authority";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, Fragment as b, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { manualPaymentRecordValidationSchema as y } from "./
|
|
2
|
+
import { manualPaymentRecordValidationSchema as y } from "./index175.js";
|
|
3
3
|
import { useCurrencies as g } from "./index58.js";
|
|
4
4
|
import { useMemo as _, useEffect as C } from "react";
|
|
5
5
|
import "./index92.js";
|
|
@@ -7,7 +7,7 @@ import { useLingui as F } from "@lingui/react";
|
|
|
7
7
|
import "react-dom";
|
|
8
8
|
import "./index57.js";
|
|
9
9
|
import "@mui/x-data-grid";
|
|
10
|
-
import { safeZodResolver as v } from "./
|
|
10
|
+
import { safeZodResolver as v } from "./index239.js";
|
|
11
11
|
import { RHFDatePicker as D } from "./index442.js";
|
|
12
12
|
import { RHFTextField as S } from "./index443.js";
|
|
13
13
|
import { RHFTimePicker as R } from "./index444.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as c } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as o } from "./
|
|
2
|
+
import { getAPIErrorMessage as o } from "./index122.js";
|
|
3
3
|
import { useLingui as u } from "@lingui/react";
|
|
4
4
|
import { toast as a } from "react-hot-toast";
|
|
5
5
|
const f = (s, t) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as o, jsxs as b, Fragment as $ } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { ScopedCssBaselineContainerClassName as z } from "./index104.js";
|
|
3
3
|
import { InvoiceStatusChip as k } from "./index55.js";
|
|
4
|
-
import { ReceivableFilters as G } from "./
|
|
4
|
+
import { ReceivableFilters as G } from "./index169.js";
|
|
5
5
|
import "react-hot-toast";
|
|
6
6
|
import { useMoniteContext as A } from "./index57.js";
|
|
7
7
|
import { useLingui as B } from "@lingui/react";
|
|
@@ -11,7 +11,7 @@ import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
|
11
11
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
12
12
|
import "@tanstack/react-query";
|
|
13
13
|
import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
14
|
-
import { useReceivablesFilters as W } from "./
|
|
14
|
+
import { useReceivablesFilters as W } from "./index170.js";
|
|
15
15
|
import "date-fns";
|
|
16
16
|
import { useCurrencies as j } from "./index58.js";
|
|
17
17
|
import "clsx";
|
|
@@ -19,18 +19,18 @@ import "tailwind-merge";
|
|
|
19
19
|
import "@radix-ui/react-dropdown-menu";
|
|
20
20
|
import "lucide-react";
|
|
21
21
|
import "./index84.js";
|
|
22
|
-
import { useGetReceivables as E } from "./
|
|
22
|
+
import { useGetReceivables as E } from "./index143.js";
|
|
23
23
|
import "./index92.js";
|
|
24
24
|
import { useAreCounterpartsLoading as V, defaultCounterpartColumnWidth as q, useAutosizeGridColumns as H } from "./index62.js";
|
|
25
25
|
import "react-hook-form";
|
|
26
26
|
import { MoniteScopedProviders as Q } from "./index83.js";
|
|
27
|
-
import { ReceivableCursorFields as x } from "./
|
|
28
|
-
import { CounterpartNameCellById as Y } from "./
|
|
29
|
-
import { DataGridEmptyState as J } from "./
|
|
30
|
-
import { GetNoRowsOverlay as K } from "./
|
|
27
|
+
import { ReceivableCursorFields as x } from "./index167.js";
|
|
28
|
+
import { CounterpartNameCellById as Y } from "./index157.js";
|
|
29
|
+
import { DataGridEmptyState as J } from "./index171.js";
|
|
30
|
+
import { GetNoRowsOverlay as K } from "./index158.js";
|
|
31
31
|
import { TablePagination as U } from "./index86.js";
|
|
32
|
-
import { classNames as X } from "./
|
|
33
|
-
import { hasSelectedText as Z } from "./
|
|
32
|
+
import { classNames as X } from "./index172.js";
|
|
33
|
+
import { hasSelectedText as Z } from "./index160.js";
|
|
34
34
|
import { Stack as ee, Typography as te, Box as oe } from "@mui/material";
|
|
35
35
|
import { DataGrid as ie } from "@mui/x-data-grid";
|
|
36
36
|
const De = (s) => /* @__PURE__ */ o(Q, { children: /* @__PURE__ */ o(ae, { ...s }) }), ae = ({
|
|
@@ -1,34 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
})
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function f({
|
|
17
|
-
className: t,
|
|
18
|
-
align: a = "center",
|
|
19
|
-
sideOffset: r = 4,
|
|
20
|
-
...n
|
|
21
|
-
}) {
|
|
22
|
-
return /* @__PURE__ */ e(o.Portal, { children: /* @__PURE__ */ e(o.Content, { "data-slot": "popover-content", align: a, sideOffset: r, className: i("ttw:bg-popover ttw:text-popover-foreground ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:w-72 ttw:origin-(--radix-popover-content-transform-origin) ttw:rounded-md ttw:border ttw:p-4 ttw:shadow-md ttw:outline-hidden", t), ...n }) });
|
|
23
|
-
}
|
|
24
|
-
function l({
|
|
25
|
-
...t
|
|
26
|
-
}) {
|
|
27
|
-
return /* @__PURE__ */ e(o.Anchor, { "data-slot": "popover-anchor", ...t });
|
|
28
|
-
}
|
|
1
|
+
import { useMoniteContext as e } from "./index57.js";
|
|
2
|
+
const a = () => {
|
|
3
|
+
const {
|
|
4
|
+
api: t,
|
|
5
|
+
queryClient: i
|
|
6
|
+
} = e();
|
|
7
|
+
return t.finops.putEntitiesIdLogo.useMutation(void 0, {
|
|
8
|
+
onSuccess: async (s) => {
|
|
9
|
+
t.finops.getEntityUsersMyEntity.setQueryData({}, (o) => o && {
|
|
10
|
+
...o,
|
|
11
|
+
logo: s
|
|
12
|
+
}, i), await t.finops.getEntityUsersMyEntity.invalidateQueries(i);
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
};
|
|
29
16
|
export {
|
|
30
|
-
|
|
31
|
-
l as PopoverAnchor,
|
|
32
|
-
f as PopoverContent,
|
|
33
|
-
d as PopoverTrigger
|
|
17
|
+
a as useUploadEntityLogo
|
|
34
18
|
};
|
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { toast as o } from "react-hot-toast";
|
|
2
|
+
import { useMoniteContext as n } from "./index57.js";
|
|
3
|
+
import { useLingui as r } from "@lingui/react";
|
|
4
|
+
const p = (i) => {
|
|
3
5
|
const {
|
|
4
6
|
api: t,
|
|
5
|
-
queryClient:
|
|
6
|
-
} =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
queryClient: s
|
|
8
|
+
} = n(), {
|
|
9
|
+
i18n: e
|
|
10
|
+
} = r();
|
|
11
|
+
return t.finops.deleteEntitiesIdLogo.useMutation({
|
|
12
|
+
path: {
|
|
13
|
+
entity_id: i
|
|
14
|
+
}
|
|
15
|
+
}, {
|
|
16
|
+
onSuccess: async () => {
|
|
17
|
+
await t.finops.getEntityUsersMyEntity.invalidateQueries(s), o.success(e._("Logo was removed."));
|
|
18
|
+
},
|
|
19
|
+
onError: () => {
|
|
20
|
+
o.error(e._("Failed to remove logo."));
|
|
13
21
|
}
|
|
14
22
|
});
|
|
15
23
|
};
|
|
16
24
|
export {
|
|
17
|
-
|
|
25
|
+
p as useDeleteEntityLogo
|
|
18
26
|
};
|
|
@@ -1,26 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
|
|
1
|
+
import { jsx as t, jsxs as e, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useEffect as f } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import { X as g, CloudUpload as x, AlertCircle as N, CheckCircle2 as b } from "lucide-react";
|
|
5
|
+
import { LoadingSpinner as y } from "./index131.js";
|
|
6
|
+
import { Typography as l } from "./index85.js";
|
|
7
|
+
import { twMerge as v } from "tailwind-merge";
|
|
8
|
+
import { UploadBar as C } from "./index445.js";
|
|
9
|
+
const U = ({
|
|
10
|
+
isUploading: o,
|
|
11
|
+
isSuccess: r,
|
|
12
|
+
isError: i,
|
|
13
|
+
isDraggingOver: d,
|
|
14
|
+
resetUpload: a,
|
|
15
|
+
fileName: m,
|
|
16
|
+
onClick: u
|
|
17
|
+
}) => {
|
|
5
18
|
const {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
i18n: s
|
|
20
|
+
} = h(), w = o || r || i;
|
|
21
|
+
function p() {
|
|
22
|
+
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
+
}
|
|
24
|
+
return f(() => {
|
|
25
|
+
let n;
|
|
26
|
+
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
+
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
+
w || u();
|
|
29
|
+
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
+
p(),
|
|
33
|
+
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
34
|
+
] }),
|
|
35
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
+
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
+
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
+
] })
|
|
39
|
+
] }),
|
|
40
|
+
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
+
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
+
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
+
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
+
s._("Drop your files here, or "),
|
|
45
|
+
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
+
] }),
|
|
47
|
+
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
48
|
+
] }) });
|
|
23
49
|
};
|
|
24
50
|
export {
|
|
25
|
-
|
|
51
|
+
U as DragAndDropBox
|
|
26
52
|
};
|
|
@@ -1,52 +1,13 @@
|
|
|
1
|
-
import { jsx as t
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
isSuccess: r,
|
|
12
|
-
isError: i,
|
|
13
|
-
isDraggingOver: d,
|
|
14
|
-
resetUpload: a,
|
|
15
|
-
fileName: m,
|
|
16
|
-
onClick: u
|
|
17
|
-
}) => {
|
|
18
|
-
const {
|
|
19
|
-
i18n: s
|
|
20
|
-
} = h(), w = o || r || i;
|
|
21
|
-
function p() {
|
|
22
|
-
return i ? /* @__PURE__ */ t(N, { className: "ttw:size-5 ttw:text-danger" }) : r ? /* @__PURE__ */ t(b, { className: "ttw:size-5 ttw:text-success" }) : /* @__PURE__ */ t(y, { className: "ttw:w-5 ttw:h-5" });
|
|
23
|
-
}
|
|
24
|
-
return f(() => {
|
|
25
|
-
let n;
|
|
26
|
-
return r && (n = setTimeout(() => a(), 2e3)), () => clearTimeout(n);
|
|
27
|
-
}, [r, a]), /* @__PURE__ */ t("div", { className: v("ttw:w-full ttw:h-38 ttw:bg-white ttw:box-border ttw:transition-all ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:text-center ttw:gap-2 ttw:rounded-lg ttw:border ttw:px-4 ttw:py-6", d ? "ttw:border-solid ttw:border-primary" : "ttw:border-dashed ttw:border-border"), onClick: () => {
|
|
28
|
-
w || u();
|
|
29
|
-
}, children: w ? /* @__PURE__ */ e(c, { children: [
|
|
30
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-4 ttw:justify-center ttw:w-full", children: [
|
|
31
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:w-1/2 ttw:items-center", children: [
|
|
32
|
-
p(),
|
|
33
|
-
/* @__PURE__ */ t("span", { className: "ttw:w-full ttw:text-sm ttw:leading-5 ttw:text-medium ttw:text-neutral ttw:truncate", children: m })
|
|
34
|
-
] }),
|
|
35
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:gap-2 ttw:items-center", children: [
|
|
36
|
-
/* @__PURE__ */ t(C, { shouldStartProgress: o, isError: i, isSuccess: r }),
|
|
37
|
-
i && /* @__PURE__ */ t("button", { type: "button", disabled: o, onClick: a, className: "ttw:border-none ttw:cursor-pointer", children: /* @__PURE__ */ t(g, { className: "ttw:size-4" }) })
|
|
38
|
-
] })
|
|
39
|
-
] }),
|
|
40
|
-
i && /* @__PURE__ */ t(l, { variant: "body2", color: "destructive", className: "ttw:font-medium", children: s._("Wrong file format. Please, upload the file in JPEG, PNG or GIF format.") })
|
|
41
|
-
] }) : /* @__PURE__ */ e(c, { children: [
|
|
42
|
-
/* @__PURE__ */ t("div", { className: "ttw:p-3 ttw:bg-primary ttw:rounded-full", children: /* @__PURE__ */ t(x, { className: "ttw:text-white ttw:size-5" }) }),
|
|
43
|
-
/* @__PURE__ */ e(l, { variant: "body2", className: "ttw:font-medium", children: [
|
|
44
|
-
s._("Drop your files here, or "),
|
|
45
|
-
/* @__PURE__ */ t("span", { className: "ttw:text-primary ttw:underline ttw:hover:cursor-pointer", children: s._("click to browse") })
|
|
46
|
-
] }),
|
|
47
|
-
/* @__PURE__ */ t(l, { variant: "caption", color: "muted", children: s._("PNG, JPG or GIF (max. 10MB)") })
|
|
48
|
-
] }) });
|
|
49
|
-
};
|
|
1
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Switch as a } from "radix-ui";
|
|
3
|
+
import { cn as e } from "./index100.js";
|
|
4
|
+
function o({
|
|
5
|
+
className: s,
|
|
6
|
+
size: r = "default",
|
|
7
|
+
...i
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ t(a.Root, { "data-slot": "switch", "data-size": r, className: e("ttw:peer ttw:group/switch ttw:inline-flex ttw:shrink-0 ttw:items-center ttw:rounded-full ttw:border ttw:border-transparent ttw:shadow-xs ttw:transition-all ttw:outline-none ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50 ttw:data-[size=default]:h-[1.15rem] ttw:data-[size=default]:w-8 ttw:data-[size=sm]:h-3.5 ttw:data-[size=sm]:w-6 ttw:data-[state=checked]:bg-primary ttw:data-[state=unchecked]:bg-input ttw:dark:data-[state=unchecked]:bg-input/80", s), ...i, children: /* @__PURE__ */ t(a.Thumb, { "data-slot": "switch-thumb", className: e("ttw:pointer-events-none ttw:block ttw:rounded-full ttw:bg-background ttw:ring-0 ttw:transition-transform ttw:group-data-[size=default]/switch:size-4 ttw:group-data-[size=sm]/switch:size-3 ttw:data-[state=checked]:translate-x-[calc(100%-2px)] ttw:data-[state=unchecked]:translate-x-0 ttw:dark:data-[state=checked]:bg-primary-foreground ttw:dark:data-[state=unchecked]:bg-foreground") }) });
|
|
10
|
+
}
|
|
50
11
|
export {
|
|
51
|
-
|
|
12
|
+
o as Switch
|
|
52
13
|
};
|
|
@@ -1,13 +1,125 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { useCurrencies as m } from "./index58.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import "./index92.js";
|
|
4
|
+
import "@emotion/react/jsx-runtime";
|
|
5
|
+
import { useLingui as d } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { getTriggerKeyAndValue as f, isValidTriggerKey as p, isValidOperation as A, OPERATOR_OPERATIONS as o } from "./index451.js";
|
|
10
|
+
const O = ({
|
|
11
|
+
approvalPolicy: i
|
|
12
|
+
}) => {
|
|
13
|
+
const {
|
|
14
|
+
i18n: t
|
|
15
|
+
} = d(), {
|
|
16
|
+
formatCurrencyToDisplay: s
|
|
17
|
+
} = m(), c = (e) => {
|
|
18
|
+
switch (e) {
|
|
19
|
+
case "amount":
|
|
20
|
+
return t._("Amount");
|
|
21
|
+
case "was_created_by_user_id":
|
|
22
|
+
return t._("Created by user");
|
|
23
|
+
case "counterpart_id":
|
|
24
|
+
return t._("Vendors");
|
|
25
|
+
case "tags":
|
|
26
|
+
return t._("Tags");
|
|
27
|
+
default:
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
}, l = (e) => {
|
|
31
|
+
switch (e) {
|
|
32
|
+
case "amount":
|
|
33
|
+
return t._("Amount");
|
|
34
|
+
case "was_created_by_user_id":
|
|
35
|
+
return t._("Created by");
|
|
36
|
+
case "counterpart_id":
|
|
37
|
+
return t._("Vendors");
|
|
38
|
+
case "tags":
|
|
39
|
+
return t._("Has tags");
|
|
40
|
+
default:
|
|
41
|
+
return e;
|
|
42
|
+
}
|
|
43
|
+
}, _ = (e, u) => {
|
|
44
|
+
const a = s(e[0][1], u);
|
|
45
|
+
if (e.length === 1)
|
|
46
|
+
switch (e[0][0]) {
|
|
47
|
+
case o.GREATER_THAN:
|
|
48
|
+
return t._("Greater than {formattedValue}", {
|
|
49
|
+
formattedValue: a
|
|
50
|
+
});
|
|
51
|
+
case o.GREATER_THAN_OR_EQUAL:
|
|
52
|
+
return t._("Greater than or equal to {formattedValue}", {
|
|
53
|
+
formattedValue: a
|
|
54
|
+
});
|
|
55
|
+
case o.LESS_THAN:
|
|
56
|
+
return t._("Less than {formattedValue}", {
|
|
57
|
+
formattedValue: a
|
|
58
|
+
});
|
|
59
|
+
case o.LESS_THAN_OR_EQUAL:
|
|
60
|
+
return t._("Less than or equal to {formattedValue}", {
|
|
61
|
+
formattedValue: a
|
|
62
|
+
});
|
|
63
|
+
case o.EQUALS:
|
|
64
|
+
return t._("Equal to {formattedValue}", {
|
|
65
|
+
formattedValue: a
|
|
66
|
+
});
|
|
67
|
+
default:
|
|
68
|
+
return a;
|
|
69
|
+
}
|
|
70
|
+
if (e.length === 2) {
|
|
71
|
+
const r = e.find((n) => n[0] === o.GREATER_THAN_OR_EQUAL), g = e.find((n) => n[0] === o.LESS_THAN_OR_EQUAL);
|
|
72
|
+
if (r && g)
|
|
73
|
+
return t._("{from} - {to}", {
|
|
74
|
+
from: s(r[1], u),
|
|
75
|
+
to: s(g[1], u)
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
return a;
|
|
79
|
+
};
|
|
80
|
+
return ((e) => !!(e && typeof e == "object" && "all" in e && Array.isArray(e.all)))(i?.trigger) ? {
|
|
81
|
+
triggers: i.trigger?.all?.reduce((e, u) => {
|
|
82
|
+
if (typeof u == "string" || !u.operator || !u.left_operand || u.right_operand == null)
|
|
83
|
+
return e;
|
|
84
|
+
const {
|
|
85
|
+
key: a,
|
|
86
|
+
value: r
|
|
87
|
+
} = f(u);
|
|
88
|
+
if (!a || r == null || !p(a))
|
|
89
|
+
return e;
|
|
90
|
+
switch (a) {
|
|
91
|
+
case "amount":
|
|
92
|
+
(typeof r == "string" || typeof r == "number") && A(u.operator) && (e.amount || (e.amount = {
|
|
93
|
+
currency: "EUR",
|
|
94
|
+
value: []
|
|
95
|
+
}), e.amount.value.push([u.operator, r]));
|
|
96
|
+
break;
|
|
97
|
+
case "currency":
|
|
98
|
+
e.amount ? e.amount.currency = r : e.amount = {
|
|
99
|
+
value: [],
|
|
100
|
+
currency: r
|
|
101
|
+
};
|
|
102
|
+
break;
|
|
103
|
+
case "tags.id":
|
|
104
|
+
typeof r == "string" && (e.tags || (e.tags = []), e.tags.push(r));
|
|
105
|
+
break;
|
|
106
|
+
case "counterpart_id":
|
|
107
|
+
case "was_created_by_user_id":
|
|
108
|
+
Array.isArray(r) && (e[a] = r);
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
return e;
|
|
112
|
+
}, {}),
|
|
113
|
+
getTriggerName: c,
|
|
114
|
+
getTriggerLabel: l,
|
|
115
|
+
getAmountLabel: _
|
|
116
|
+
} : {
|
|
117
|
+
triggers: {},
|
|
118
|
+
getTriggerName: c,
|
|
119
|
+
getTriggerLabel: l,
|
|
120
|
+
getAmountLabel: _
|
|
121
|
+
};
|
|
122
|
+
};
|
|
11
123
|
export {
|
|
12
|
-
|
|
124
|
+
O as useApprovalPolicyTrigger
|
|
13
125
|
};
|
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import b from "@emotion/styled/base";
|
|
2
|
+
function t() {
|
|
3
|
+
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
4
4
|
}
|
|
5
|
+
const e = /* @__PURE__ */ b("ul", process.env.NODE_ENV === "production" ? {
|
|
6
|
+
target: "e10it8hw0"
|
|
7
|
+
} : {
|
|
8
|
+
target: "e10it8hw0",
|
|
9
|
+
label: "ColumnList"
|
|
10
|
+
})(process.env.NODE_ENV === "production" ? {
|
|
11
|
+
name: "1932ye7",
|
|
12
|
+
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}"
|
|
13
|
+
} : {
|
|
14
|
+
name: "1932ye7",
|
|
15
|
+
styles: "margin:0;padding:0;list-style:none;li{display:flex;gap:4px;align-items:center;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL1Rlc291cm8uUGF5bWVudHMuRnJvbnRlbmRzL2xpYnMvdGVzb3Vyby1lbWJlZGRlZC1jb21wb25lbnRzLXJlYWN0L21vbml0ZS1zZGsvc3JjL2NvbXBvbmVudHMvYXBwcm92YWxQb2xpY2llcy9BcHByb3ZhbFBvbGljaWVzVGFibGUvc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVtQyIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9UZXNvdXJvLlBheW1lbnRzLkZyb250ZW5kcy9saWJzL3Rlc291cm8tZW1iZWRkZWQtY29tcG9uZW50cy1yZWFjdC9tb25pdGUtc2RrL3NyYy9jb21wb25lbnRzL2FwcHJvdmFsUG9saWNpZXMvQXBwcm92YWxQb2xpY2llc1RhYmxlL3N0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcblxuZXhwb3J0IGNvbnN0IENvbHVtbkxpc3QgPSBzdHlsZWQudWxgXG4gIG1hcmdpbjogMDtcbiAgcGFkZGluZzogMDtcbiAgbGlzdC1zdHlsZTogbm9uZTtcblxuICBsaSB7XG4gICAgZGlzcGxheTogZmxleDtcbiAgICBnYXA6IDRweDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICB9XG5gO1xuIl19 */",
|
|
16
|
+
toString: t
|
|
17
|
+
});
|
|
5
18
|
export {
|
|
6
|
-
|
|
19
|
+
e as ColumnList
|
|
7
20
|
};
|