@tesouro/embedded-components-react 0.5.178 → 0.5.179
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/monite-sdk.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +67 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +4 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +1 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +7 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +13 -348
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +347 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +7 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +2 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +6 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +112 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +20 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +33 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +11 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +11 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +27 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +4 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +1 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +51 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +0 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +43 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +38 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +59 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index22.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +29 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +56 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +11 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +117 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +29 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +15 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +38 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +5 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +23 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +15 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +9 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +0 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +24 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +20 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +445 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +38 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +76 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +46 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +122 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +99 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +206 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +51 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +299 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +23 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +69 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +82 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +13 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +52 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +73 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +0 -577
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +577 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +1 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +77 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +62 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +120 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +6 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +54 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +28 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +18 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +3 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +61 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +28 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +7 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +4 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +115 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +38 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +5 -410
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +412 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +179 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +53 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +21 -305
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +160 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +88 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +171 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +209 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +32 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +8 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +35 -151
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +153 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +68 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +215 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +82 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +14 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +110 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +163 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +13 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +15 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +5 -408
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +407 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +83 -192
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +199 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +59 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +43 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +84 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +132 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +37 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +53 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +59 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +135 -549
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +551 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +16 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +79 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +142 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +34 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +62 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +67 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +141 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +58 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +19 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +14 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +72 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +99 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +35 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +172 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +5 -400
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +408 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +22 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +14 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +45 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +14 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +40 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +137 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +114 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +40 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +32 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +23 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +22 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +19 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +72 -178
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +18 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +177 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +137 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +114 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +20 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +45 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +26 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +78 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +50 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +35 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +92 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +41 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +36 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +1 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +126 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +106 -785
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +50 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +783 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +92 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +102 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +6 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +11 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +23 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +14 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +166 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +210 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +82 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +17 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +154 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +104 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +4 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +73 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +8 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +5 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +219 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +11 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +32 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +169 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +198 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +97 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +63 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +54 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +88 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +37 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +77 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +83 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +16 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +23 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +60 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +29 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +29 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +97 -0
- 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 +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +0 -25
|
@@ -1,75 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import {
|
|
5
|
-
import { useMoniteContext as r } from "./index46.js";
|
|
6
|
-
import { useCurrencies as i } from "./index62.js";
|
|
7
|
-
import { useEntityUserNames as a } from "./index135.js";
|
|
8
|
-
import "./index223.js";
|
|
9
|
-
import { Typography as o } from "./index61.js";
|
|
10
|
-
import { AUDIT_HISTORY_SECTION as s } from "./index92.js";
|
|
11
|
-
import { useUserPermissions as c } from "./index118.js";
|
|
12
|
-
import { createReceivableAuditHistoryLabels as l } from "./index159.js";
|
|
13
|
-
import "./index183.js";
|
|
14
|
-
import { useGetReceivableHistory as u } from "./index189.js";
|
|
15
|
-
import { Badge as d } from "./index229.js";
|
|
16
|
-
import { AccordionContent as f, AccordionItem as p, AccordionTrigger as m } from "./index509.js";
|
|
17
|
-
import { useMemo as h } from "react";
|
|
18
|
-
import { jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
19
|
-
import { useLingui as v } from "@lingui/react";
|
|
1
|
+
import { cn as e } from "./index48.js";
|
|
2
|
+
import { Typography as t } from "./index61.js";
|
|
3
|
+
import { amountValueToneClass as n } from "./index92.js";
|
|
4
|
+
import { jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
20
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js
|
|
21
|
-
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
i18n: x,
|
|
27
|
-
locale: S,
|
|
28
|
-
formatCurrencyToDisplay: C
|
|
29
|
-
}), [
|
|
30
|
-
x,
|
|
31
|
-
S,
|
|
32
|
-
C
|
|
33
|
-
]), j = h(() => n(T, O, A, {
|
|
34
|
-
documentType: "invoice",
|
|
35
|
-
currency: y.currency,
|
|
36
|
-
documentNumber: y.document_id,
|
|
37
|
-
dueDate: y.due_date
|
|
38
|
-
}), [
|
|
39
|
-
T,
|
|
40
|
-
O,
|
|
41
|
-
A,
|
|
42
|
-
y.currency,
|
|
43
|
-
y.document_id,
|
|
44
|
-
y.due_date
|
|
45
|
-
]);
|
|
46
|
-
return /* @__PURE__ */ _(p, {
|
|
47
|
-
value: s,
|
|
48
|
-
children: [/* @__PURE__ */ g(m, { children: /* @__PURE__ */ _("span", {
|
|
49
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
50
|
-
children: [/* @__PURE__ */ g("span", {
|
|
51
|
-
className: "ttw:group-hover:underline",
|
|
52
|
-
children: x._("Audit history")
|
|
53
|
-
}), w.data && !w.isLoading && !w.isError ? /* @__PURE__ */ g(d, {
|
|
54
|
-
variant: "secondary",
|
|
55
|
-
className: "ttw:rounded-full",
|
|
56
|
-
children: j.length
|
|
57
|
-
}) : null]
|
|
58
|
-
}) }), /* @__PURE__ */ _(f, { children: [D && k && E.length > 0 ? /* @__PURE__ */ g(o, {
|
|
6
|
+
function a({ row: a, defaultTone: o }) {
|
|
7
|
+
let s = a.tone ?? (a.emphasis ? o : "default");
|
|
8
|
+
return /* @__PURE__ */ i("div", {
|
|
9
|
+
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
10
|
+
children: [/* @__PURE__ */ r(t, {
|
|
59
11
|
variant: "caption",
|
|
60
12
|
color: "muted",
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
error: x._("The audit history could not be loaded.")
|
|
70
|
-
}
|
|
71
|
-
})] })]
|
|
13
|
+
className: "ttw:font-medium",
|
|
14
|
+
children: a.label
|
|
15
|
+
}), /* @__PURE__ */ r(t, {
|
|
16
|
+
component: "span",
|
|
17
|
+
variant: a.emphasis ? "h3" : "body1",
|
|
18
|
+
className: e(!a.emphasis && "ttw:font-medium", n[s]),
|
|
19
|
+
children: a.value
|
|
20
|
+
})]
|
|
72
21
|
});
|
|
73
|
-
}
|
|
22
|
+
}
|
|
74
23
|
//#endregion
|
|
75
|
-
export {
|
|
24
|
+
export { a as InvoiceDetailsAmountCell };
|
|
@@ -1,20 +1,76 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Typography as e } from "./index61.js";
|
|
2
|
+
import { Badge as t } from "./index230.js";
|
|
3
|
+
import { AccordionContent as n, AccordionItem as r, AccordionTrigger as i } from "./index511.js";
|
|
4
|
+
import { Check as a } from "lucide-react";
|
|
5
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
5
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
var l = ({ attachments: l }) => {
|
|
9
|
+
let { i18n: u } = c();
|
|
10
|
+
return /* @__PURE__ */ s(r, {
|
|
11
|
+
value: "attachments",
|
|
12
|
+
children: [/* @__PURE__ */ o(i, { children: /* @__PURE__ */ s("span", {
|
|
13
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
14
|
+
children: [/* @__PURE__ */ o("span", {
|
|
15
|
+
className: "ttw:group-hover:underline",
|
|
16
|
+
children: u._("Attachments")
|
|
17
|
+
}), /* @__PURE__ */ o(t, {
|
|
18
|
+
variant: "secondary",
|
|
19
|
+
className: "ttw:rounded-full",
|
|
20
|
+
children: l.length
|
|
21
|
+
})]
|
|
22
|
+
}) }), /* @__PURE__ */ o(n, { children: l.length === 0 ? /* @__PURE__ */ o(e, {
|
|
23
|
+
variant: "body2",
|
|
24
|
+
color: "muted",
|
|
25
|
+
children: u._("No attached files")
|
|
26
|
+
}) : /* @__PURE__ */ s("table", {
|
|
27
|
+
className: "ttw:w-full ttw:border-collapse",
|
|
28
|
+
children: [/* @__PURE__ */ o("thead", { children: /* @__PURE__ */ s("tr", {
|
|
29
|
+
className: "ttw:border-b ttw:border-border",
|
|
30
|
+
children: [/* @__PURE__ */ o("th", {
|
|
31
|
+
scope: "col",
|
|
32
|
+
className: "ttw:py-2 ttw:text-left",
|
|
33
|
+
children: /* @__PURE__ */ o(e, {
|
|
34
|
+
component: "span",
|
|
35
|
+
variant: "caption",
|
|
36
|
+
color: "muted",
|
|
37
|
+
children: u._("File")
|
|
38
|
+
})
|
|
39
|
+
}), /* @__PURE__ */ o("th", {
|
|
40
|
+
scope: "col",
|
|
41
|
+
className: "ttw:py-2 ttw:text-right",
|
|
42
|
+
children: /* @__PURE__ */ o(e, {
|
|
43
|
+
component: "span",
|
|
44
|
+
variant: "caption",
|
|
45
|
+
color: "muted",
|
|
46
|
+
children: u._("Emailed")
|
|
47
|
+
})
|
|
48
|
+
})]
|
|
49
|
+
}) }), /* @__PURE__ */ o("tbody", { children: l.map((e) => /* @__PURE__ */ s("tr", {
|
|
50
|
+
className: "ttw:border-b ttw:border-border ttw:last:border-b-0",
|
|
51
|
+
children: [/* @__PURE__ */ o("td", {
|
|
52
|
+
className: "ttw:py-3",
|
|
53
|
+
children: /* @__PURE__ */ o("a", {
|
|
54
|
+
href: e.url,
|
|
55
|
+
target: "_blank",
|
|
56
|
+
rel: "noreferrer",
|
|
57
|
+
className: "ttw:text-primary ttw:hover:underline",
|
|
58
|
+
children: e.name
|
|
59
|
+
})
|
|
60
|
+
}), /* @__PURE__ */ o("td", {
|
|
61
|
+
className: "ttw:py-3 ttw:text-right ttw:align-middle",
|
|
62
|
+
children: e.include_in_email ? /* @__PURE__ */ o(a, {
|
|
63
|
+
role: "img",
|
|
64
|
+
"aria-label": u._("Included in email"),
|
|
65
|
+
className: "ttw:inline-block ttw:size-4 ttw:text-emerald-600"
|
|
66
|
+
}) : /* @__PURE__ */ o("span", {
|
|
67
|
+
className: "ttw:sr-only",
|
|
68
|
+
children: u._("Not included in email")
|
|
69
|
+
})
|
|
70
|
+
})]
|
|
71
|
+
}, e.id)) })]
|
|
72
|
+
}) })]
|
|
17
73
|
});
|
|
18
|
-
}
|
|
74
|
+
};
|
|
19
75
|
//#endregion
|
|
20
|
-
export {
|
|
76
|
+
export { l as InvoiceDetailsAttachments };
|
|
@@ -1,181 +1,75 @@
|
|
|
1
|
-
import {
|
|
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
|
-
import "./
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { useLingui as
|
|
1
|
+
import { AuditHistoryList as e } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { Scope as t } from "../../shared/data-access/dist/lib/scopes.js";
|
|
3
|
+
import "../../shared/data-access/dist/index.js";
|
|
4
|
+
import { buildReceivableAuditHistory as n } from "../../shared/util/dist/lib/auditHistory/buildReceivableAuditHistory.js";
|
|
5
|
+
import { useMoniteContext as r } from "./index46.js";
|
|
6
|
+
import { useCurrencies as i } from "./index62.js";
|
|
7
|
+
import { useEntityUserNames as a } from "./index135.js";
|
|
8
|
+
import "./index224.js";
|
|
9
|
+
import { Typography as o } from "./index61.js";
|
|
10
|
+
import { AUDIT_HISTORY_SECTION as s } from "./index92.js";
|
|
11
|
+
import { useUserPermissions as c } from "./index118.js";
|
|
12
|
+
import { createReceivableAuditHistoryLabels as l } from "./index159.js";
|
|
13
|
+
import "./index184.js";
|
|
14
|
+
import { useGetReceivableHistory as u } from "./index190.js";
|
|
15
|
+
import { Badge as d } from "./index230.js";
|
|
16
|
+
import { AccordionContent as f, AccordionItem as p, AccordionTrigger as m } from "./index511.js";
|
|
17
|
+
import { useMemo as h } from "react";
|
|
18
|
+
import { jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
19
|
+
import { useLingui as v } from "@lingui/react";
|
|
20
20
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js
|
|
21
|
-
var
|
|
22
|
-
let { i18n:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
value: K,
|
|
74
|
-
onChange: (e) => {
|
|
75
|
-
q(e.target.value), Y(!0);
|
|
76
|
-
},
|
|
77
|
-
disabled: Q
|
|
78
|
-
})]
|
|
79
|
-
}),
|
|
80
|
-
/* @__PURE__ */ C("div", {
|
|
81
|
-
className: "ttw:flex ttw:items-start ttw:gap-4",
|
|
82
|
-
children: [/* @__PURE__ */ S(f, {
|
|
83
|
-
variant: "body2",
|
|
84
|
-
color: "muted",
|
|
85
|
-
className: "ttw:w-16 ttw:shrink-0 ttw:pt-2",
|
|
86
|
-
children: j._("Message")
|
|
87
|
-
}), /* @__PURE__ */ S(o, {
|
|
88
|
-
className: "ttw:flex-1",
|
|
89
|
-
value: X,
|
|
90
|
-
onChange: (e) => Z(e.target.value),
|
|
91
|
-
placeholder: j._("e.g., Thank you for your business"),
|
|
92
|
-
disabled: Q
|
|
93
|
-
})]
|
|
94
|
-
}),
|
|
95
|
-
W.length > 0 && /* @__PURE__ */ C("div", {
|
|
96
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pl-20",
|
|
97
|
-
children: [/* @__PURE__ */ C("div", {
|
|
98
|
-
className: "ttw:flex ttw:flex-col",
|
|
99
|
-
children: [/* @__PURE__ */ S(f, {
|
|
100
|
-
variant: "body2",
|
|
101
|
-
color: "muted",
|
|
102
|
-
children: j._("Attachments")
|
|
103
|
-
}), /* @__PURE__ */ S(f, {
|
|
104
|
-
variant: "caption",
|
|
105
|
-
color: "muted",
|
|
106
|
-
children: j._("To change what files are attached to the email, you will need to update the invoice.")
|
|
107
|
-
})]
|
|
108
|
-
}), /* @__PURE__ */ S("ul", {
|
|
109
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5",
|
|
110
|
-
children: W.map((e) => /* @__PURE__ */ C("li", {
|
|
111
|
-
className: "ttw:rounded-lg ttw:bg-muted ttw:px-2 ttw:py-1 ttw:text-sm ttw:font-medium",
|
|
112
|
-
children: [
|
|
113
|
-
e.name,
|
|
114
|
-
" ",
|
|
115
|
-
/* @__PURE__ */ C("span", {
|
|
116
|
-
className: "ttw:text-muted-foreground",
|
|
117
|
-
children: [
|
|
118
|
-
"(",
|
|
119
|
-
h(e.size),
|
|
120
|
-
")"
|
|
121
|
-
]
|
|
122
|
-
})
|
|
123
|
-
]
|
|
124
|
-
}, e.id))
|
|
125
|
-
})]
|
|
126
|
-
})
|
|
127
|
-
]
|
|
128
|
-
}),
|
|
129
|
-
/* @__PURE__ */ C(l, {
|
|
130
|
-
className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6",
|
|
131
|
-
children: [/* @__PURE__ */ S(i, {
|
|
132
|
-
type: "button",
|
|
133
|
-
variant: "outline",
|
|
134
|
-
className: "ttw:flex-1 ttw:border-border",
|
|
135
|
-
disabled: Q,
|
|
136
|
-
onClick: O,
|
|
137
|
-
children: A ? j._("Cancel") : j._("Skip")
|
|
138
|
-
}), /* @__PURE__ */ S(i, {
|
|
139
|
-
type: "button",
|
|
140
|
-
variant: "default",
|
|
141
|
-
className: "ttw:flex-1",
|
|
142
|
-
disabled: Q || !K.trim() || !X.trim(),
|
|
143
|
-
onClick: async () => {
|
|
144
|
-
$(!0);
|
|
145
|
-
try {
|
|
146
|
-
let e = L ? L.data.filter(({ status: e, direction: t }) => e === "active" && t === "receive") : [];
|
|
147
|
-
e.length === 0 ? w.error(j._("You haven't onboarded for any payment method. Invoice is sent without a payment link.")) : await z({
|
|
148
|
-
recipient: {
|
|
149
|
-
id: P,
|
|
150
|
-
type: "entity"
|
|
151
|
-
},
|
|
152
|
-
payment_methods: e.map((e) => e.type),
|
|
153
|
-
object: {
|
|
154
|
-
id: E,
|
|
155
|
-
type: "receivable"
|
|
156
|
-
}
|
|
157
|
-
}), await R({
|
|
158
|
-
path: { receivable_id: E },
|
|
159
|
-
body: {
|
|
160
|
-
subject_text: K,
|
|
161
|
-
body_text: X,
|
|
162
|
-
recipients: V ? { to: [V] } : void 0
|
|
163
|
-
}
|
|
164
|
-
}), await Promise.all([
|
|
165
|
-
m(M, N),
|
|
166
|
-
M.finops.getReceivablesId.invalidateQueries({ parameters: { path: { receivable_id: E } } }, N),
|
|
167
|
-
p(M, N, E)
|
|
168
|
-
]), w.success(j._("Invoice sent successfully")), k();
|
|
169
|
-
} catch {
|
|
170
|
-
w.error(j._("Failed to send invoice."));
|
|
171
|
-
} finally {
|
|
172
|
-
$(!1);
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
children: j._("Send invoice")
|
|
176
|
-
})]
|
|
177
|
-
})
|
|
178
|
-
] });
|
|
21
|
+
var y = ({ invoice: y, isOpen: b = !1 }) => {
|
|
22
|
+
let { i18n: x } = v(), { locale: S } = r(), { formatCurrencyToDisplay: C } = i(), w = u({ receivable_id: y.id }), T = h(() => w.data?.data ?? [], [w.data]), E = h(() => [...new Set(T.filter((e) => e.recorded_by === "user").map((e) => e.entity_user_id).filter((e) => !!e))], [T]), D = c().has(t.UserReadOrg), { userNames: O, isError: k } = a({
|
|
23
|
+
entityUserIds: E,
|
|
24
|
+
enabled: b && D
|
|
25
|
+
}), A = h(() => l({
|
|
26
|
+
i18n: x,
|
|
27
|
+
locale: S,
|
|
28
|
+
formatCurrencyToDisplay: C
|
|
29
|
+
}), [
|
|
30
|
+
x,
|
|
31
|
+
S,
|
|
32
|
+
C
|
|
33
|
+
]), j = h(() => n(T, O, A, {
|
|
34
|
+
documentType: "invoice",
|
|
35
|
+
currency: y.currency,
|
|
36
|
+
documentNumber: y.document_id,
|
|
37
|
+
dueDate: y.due_date
|
|
38
|
+
}), [
|
|
39
|
+
T,
|
|
40
|
+
O,
|
|
41
|
+
A,
|
|
42
|
+
y.currency,
|
|
43
|
+
y.document_id,
|
|
44
|
+
y.due_date
|
|
45
|
+
]);
|
|
46
|
+
return /* @__PURE__ */ _(p, {
|
|
47
|
+
value: s,
|
|
48
|
+
children: [/* @__PURE__ */ g(m, { children: /* @__PURE__ */ _("span", {
|
|
49
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
50
|
+
children: [/* @__PURE__ */ g("span", {
|
|
51
|
+
className: "ttw:group-hover:underline",
|
|
52
|
+
children: x._("Audit history")
|
|
53
|
+
}), w.data && !w.isLoading && !w.isError ? /* @__PURE__ */ g(d, {
|
|
54
|
+
variant: "secondary",
|
|
55
|
+
className: "ttw:rounded-full",
|
|
56
|
+
children: j.length
|
|
57
|
+
}) : null]
|
|
58
|
+
}) }), /* @__PURE__ */ _(f, { children: [D && k && E.length > 0 ? /* @__PURE__ */ g(o, {
|
|
59
|
+
variant: "caption",
|
|
60
|
+
color: "muted",
|
|
61
|
+
children: x._("Some names could not be loaded.")
|
|
62
|
+
}) : null, /* @__PURE__ */ g(e, {
|
|
63
|
+
rows: j,
|
|
64
|
+
isLoading: w.isLoading,
|
|
65
|
+
isError: w.isError,
|
|
66
|
+
labels: {
|
|
67
|
+
empty: x._("No history yet."),
|
|
68
|
+
loading: x._("Loading history"),
|
|
69
|
+
error: x._("The audit history could not be loaded.")
|
|
70
|
+
}
|
|
71
|
+
})] })]
|
|
72
|
+
});
|
|
179
73
|
};
|
|
180
74
|
//#endregion
|
|
181
|
-
export {
|
|
75
|
+
export { y as InvoiceDetailsAuditHistory };
|
|
@@ -1,144 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import { DialogFooter as r, DialogHeader as i, DialogTitle as a } from "./index57.js";
|
|
6
|
-
import { Typography as o } from "./index61.js";
|
|
7
|
-
import { Separator as s } from "./index63.js";
|
|
8
|
-
import { Checkbox as c } from "./index105.js";
|
|
9
|
-
import { useGetMeasureUnits as l } from "./index450.js";
|
|
10
|
-
import { useMemo as u, useState as d } from "react";
|
|
11
|
-
import { Check as f } from "lucide-react";
|
|
12
|
-
import { Fragment as p, jsx as m, jsxs as h } from "@emotion/react/jsx-runtime";
|
|
13
|
-
import { toast as g } from "react-hot-toast";
|
|
14
|
-
import { useLingui as _ } from "@lingui/react";
|
|
1
|
+
import { Button as e } from "./index55.js";
|
|
2
|
+
import { forwardRef as t } from "react";
|
|
3
|
+
import { XIcon as n } from "lucide-react";
|
|
4
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
15
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js
|
|
16
|
-
var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
className: "ttw:border-b ttw:border-border ttw:p-6",
|
|
30
|
-
children: /* @__PURE__ */ h(a, {
|
|
31
|
-
className: "ttw:flex ttw:flex-row ttw:items-center ttw:gap-4",
|
|
32
|
-
children: [/* @__PURE__ */ m("span", {
|
|
33
|
-
className: "ttw:flex ttw:size-10 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-emerald-200 ttw:bg-emerald-50",
|
|
34
|
-
children: /* @__PURE__ */ m(f, { className: "ttw:size-6 ttw:text-green-700" })
|
|
35
|
-
}), y]
|
|
36
|
-
})
|
|
37
|
-
}),
|
|
38
|
-
/* @__PURE__ */ h("div", {
|
|
39
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-6",
|
|
40
|
-
children: [/* @__PURE__ */ h("div", {
|
|
41
|
-
className: "ttw:flex ttw:items-start ttw:justify-between ttw:gap-1.5",
|
|
42
|
-
children: [/* @__PURE__ */ h("div", {
|
|
43
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-col ttw:gap-1",
|
|
44
|
-
children: [/* @__PURE__ */ m(o, {
|
|
45
|
-
variant: "h4",
|
|
46
|
-
children: x._("Do you want to also save these items?")
|
|
47
|
-
}), /* @__PURE__ */ m(o, {
|
|
48
|
-
variant: "caption",
|
|
49
|
-
color: "muted",
|
|
50
|
-
children: x._("Saved items can be quickly added to future invoices.")
|
|
51
|
-
})]
|
|
52
|
-
}), /* @__PURE__ */ m(n, {
|
|
53
|
-
type: "button",
|
|
54
|
-
variant: "ghost",
|
|
55
|
-
className: "ttw:shrink-0 ttw:text-primary ttw:hover:text-primary",
|
|
56
|
-
disabled: A,
|
|
57
|
-
onClick: N ? F : P,
|
|
58
|
-
children: N ? x._("Deselect all") : x._("Select all")
|
|
59
|
-
})]
|
|
60
|
-
}), /* @__PURE__ */ h("ul", {
|
|
61
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
62
|
-
children: [
|
|
63
|
-
/* @__PURE__ */ h("li", {
|
|
64
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
65
|
-
children: [/* @__PURE__ */ m(c, {
|
|
66
|
-
checked: M,
|
|
67
|
-
onCheckedChange: (e) => e ? P() : F(),
|
|
68
|
-
disabled: A || D.length === 0,
|
|
69
|
-
"aria-label": x._("Products and services")
|
|
70
|
-
}), /* @__PURE__ */ m(o, {
|
|
71
|
-
variant: "body2",
|
|
72
|
-
className: "ttw:font-semibold",
|
|
73
|
-
children: x._("Products and services")
|
|
74
|
-
})]
|
|
75
|
-
}),
|
|
76
|
-
/* @__PURE__ */ m("li", { children: /* @__PURE__ */ m(s, {}) }),
|
|
77
|
-
D.map(({ key: e, lineItem: t }) => /* @__PURE__ */ h("li", {
|
|
78
|
-
className: "ttw:flex ttw:items-start ttw:gap-2",
|
|
79
|
-
children: [/* @__PURE__ */ m(c, {
|
|
80
|
-
checked: O.has(e),
|
|
81
|
-
onCheckedChange: () => I(e),
|
|
82
|
-
disabled: A,
|
|
83
|
-
"aria-label": t.product.name
|
|
84
|
-
}), /* @__PURE__ */ h("div", {
|
|
85
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col ttw:gap-1",
|
|
86
|
-
children: [/* @__PURE__ */ m(o, {
|
|
87
|
-
variant: "caption",
|
|
88
|
-
className: "ttw:truncate",
|
|
89
|
-
title: t.product.name,
|
|
90
|
-
children: t.product.name
|
|
91
|
-
}), /* @__PURE__ */ m(o, {
|
|
92
|
-
variant: "caption",
|
|
93
|
-
color: "muted",
|
|
94
|
-
className: "ttw:truncate",
|
|
95
|
-
children: L(t)
|
|
96
|
-
})]
|
|
97
|
-
})]
|
|
98
|
-
}, e))
|
|
99
|
-
]
|
|
100
|
-
})]
|
|
101
|
-
}),
|
|
102
|
-
/* @__PURE__ */ h(r, {
|
|
103
|
-
className: "ttw:flex ttw:flex-row ttw:gap-4 ttw:border-t ttw:border-border ttw:p-6",
|
|
104
|
-
children: [/* @__PURE__ */ m(n, {
|
|
105
|
-
type: "button",
|
|
106
|
-
variant: "outline",
|
|
107
|
-
className: "ttw:flex-1 ttw:border-border",
|
|
108
|
-
disabled: A,
|
|
109
|
-
onClick: b,
|
|
110
|
-
children: x._("Skip")
|
|
111
|
-
}), /* @__PURE__ */ m(n, {
|
|
112
|
-
type: "button",
|
|
113
|
-
variant: "default",
|
|
114
|
-
className: "ttw:flex-1",
|
|
115
|
-
disabled: !N || A,
|
|
116
|
-
onClick: async () => {
|
|
117
|
-
let e = D.filter((e) => O.has(e.key));
|
|
118
|
-
if (e.length) {
|
|
119
|
-
j(!0);
|
|
120
|
-
try {
|
|
121
|
-
await Promise.all(e.map(({ lineItem: e }) => E({ body: {
|
|
122
|
-
name: e.product.name,
|
|
123
|
-
type: "product",
|
|
124
|
-
price: {
|
|
125
|
-
value: e.product.price.value,
|
|
126
|
-
currency: e.product.price?.currency ?? "USD"
|
|
127
|
-
},
|
|
128
|
-
...e.product.measure_unit_id ? { measure_unit_id: e.product.measure_unit_id } : {},
|
|
129
|
-
...e.product.description ? { description: e.product.description } : {}
|
|
130
|
-
} }))), await S.finops.getProducts.invalidateQueries(C), g.success(x._("Products and services saved.")), b();
|
|
131
|
-
} catch {
|
|
132
|
-
g.error(x._("Failed to save products and services."));
|
|
133
|
-
} finally {
|
|
134
|
-
j(!1);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
children: x._("Save selected items")
|
|
139
|
-
})]
|
|
140
|
-
})
|
|
141
|
-
] });
|
|
142
|
-
};
|
|
6
|
+
var i = t(function({ label: t, onClose: i, variant: a = "ghost", size: o = "icon", onClick: s, ...c }, l) {
|
|
7
|
+
return /* @__PURE__ */ r(e, {
|
|
8
|
+
ref: l,
|
|
9
|
+
variant: a,
|
|
10
|
+
size: o,
|
|
11
|
+
...c,
|
|
12
|
+
"aria-label": t,
|
|
13
|
+
onClick: (e) => {
|
|
14
|
+
s?.(e), i();
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ r(n, { className: "ttw:size-4" })
|
|
17
|
+
});
|
|
18
|
+
});
|
|
143
19
|
//#endregion
|
|
144
|
-
export {
|
|
20
|
+
export { i as InvoiceDetailsCloseButton };
|