@tesouro/embedded-components-react 0.2.29 → 0.2.31
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 +25 -25
- package/dist/libs/shared/util-validation/dist/index22.js +12 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +33 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +43 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +75 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +57 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +11 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +61 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +39 -76
- 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 +26 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +80 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +5 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +74 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +7 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +5 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +248 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +179 -117
- 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 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +115 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +84 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +102 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +107 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +54 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +64 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +24 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +86 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +64 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +48 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +6 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +15 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +33 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +110 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +70 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +185 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +120 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +58 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +20 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +27 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +12 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +4 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +5 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +6 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +43 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +367 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +20 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +20 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +18 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +11 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +87 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +20 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +32 -48
- 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 +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +12 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +25 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +13 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +12 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +115 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +10 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +46 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +46 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +149 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +56 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +71 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +3 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +23 -366
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +11 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +18 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +9 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +18 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +20 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +27 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +114 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +68 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +94 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +57 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +13 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +7 -214
- 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 +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +36 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +50 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +34 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +54 -183
- 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 +343 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +2 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +16 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +11 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +18 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +32 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +36 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +15 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -57
- 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 +10 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +26 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +37 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +46 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +95 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +42 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +141 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +86 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +21 -86
- 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 +183 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +25 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +37 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +47 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +75 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +62 -13
- 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 +26 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +125 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +44 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +73 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +31 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +113 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +21 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +40 -48
- 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 +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +483 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +164 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +31 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +43 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +31 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +102 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +21 -41
- 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 +31 -341
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +55 -301
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +33 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +17 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +56 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +92 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +128 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +39 -97
- 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 +42 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +20 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +157 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +28 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +28 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +75 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +52 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +29 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +58 -20
- 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 +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +338 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +299 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +93 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +160 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +266 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +23 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +2 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +93 -57
- 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 +96 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +192 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +59 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +43 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +21 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +189 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +104 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +81 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +289 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +46 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +15 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +83 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +225 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +149 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +47 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +48 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +111 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +22 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +32 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +28 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +39 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +59 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +92 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +110 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +81 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +19 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +62 -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 +14 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +76 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +43 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +39 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +22 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +17 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +164 -58
- 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 +132 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +158 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +9 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +18 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +62 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +63 -285
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +54 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +8 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +8 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +55 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +14 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +34 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +20 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +72 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +89 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +37 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +55 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +24 -11
- 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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +47 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +92 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +36 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +32 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +12 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +66 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +31 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +4 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +126 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +14 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +21 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +2 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +14 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +120 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +9 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +7 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +48 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +71 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +72 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +67 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +104 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +81 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +32 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +85 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +23 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +33 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +53 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +24 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +22 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +37 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +46 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +23 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +67 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +40 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +29 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +54 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +34 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +18 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +52 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +94 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +75 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +22 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +43 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +36 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +14 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +18 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +49 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +58 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +30 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +39 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +36 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +50 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +43 -48
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index57.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/index60.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index80.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index10.js +31 -31
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index12.js +46 -44
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index7.js +7 -7
- package/package.json +1 -1
|
@@ -1,73 +1,78 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const u = w("ttw:group/field ttw:flex ttw:w-full ttw:gap-3 ttw:data-[invalid=true]:text-destructive", {
|
|
8
|
-
variants: {
|
|
9
|
-
orientation: {
|
|
10
|
-
vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
|
|
11
|
-
horizontal: ["flex-row items-center", "[&>[data-slot=field-label]]:flex-auto", "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],
|
|
12
|
-
responsive: ["flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto", "@md/field-group:[&>[data-slot=field-label]]:flex-auto", "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
orientation: "vertical"
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
function N({
|
|
20
|
-
className: e,
|
|
21
|
-
orientation: t = "vertical",
|
|
22
|
-
...a
|
|
1
|
+
import { jsx as a, jsxs as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as s } from "./index102.js";
|
|
3
|
+
import * as o from "@radix-ui/react-dialog";
|
|
4
|
+
import { XIcon as d } from "lucide-react";
|
|
5
|
+
function h({
|
|
6
|
+
...t
|
|
23
7
|
}) {
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
orientation: t
|
|
26
|
-
}), e), ...a });
|
|
8
|
+
return /* @__PURE__ */ a(o.Root, { "data-slot": "sheet", ...t });
|
|
27
9
|
}
|
|
28
|
-
function
|
|
29
|
-
className: e,
|
|
10
|
+
function g({
|
|
30
11
|
...t
|
|
31
12
|
}) {
|
|
32
|
-
return /* @__PURE__ */
|
|
13
|
+
return /* @__PURE__ */ a(o.Close, { "data-slot": "sheet-close", ...t });
|
|
33
14
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
...
|
|
15
|
+
function c({
|
|
16
|
+
container: t,
|
|
17
|
+
...e
|
|
18
|
+
}) {
|
|
19
|
+
return /* @__PURE__ */ a(o.Portal, { "data-slot": "sheet-portal", ...e, container: t });
|
|
20
|
+
}
|
|
21
|
+
function u({
|
|
22
|
+
className: t,
|
|
23
|
+
...e
|
|
24
|
+
}) {
|
|
25
|
+
return /* @__PURE__ */ a(o.Overlay, { "data-slot": "sheet-overlay", className: s("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:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...e });
|
|
26
|
+
}
|
|
27
|
+
function x({
|
|
28
|
+
className: t,
|
|
29
|
+
children: e,
|
|
30
|
+
side: n = "right",
|
|
31
|
+
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
+
showCloseButton: r = !0,
|
|
33
|
+
...w
|
|
39
34
|
}) {
|
|
40
|
-
return /* @__PURE__ */
|
|
41
|
-
a,
|
|
42
|
-
|
|
35
|
+
return /* @__PURE__ */ i(c, { container: l, children: [
|
|
36
|
+
/* @__PURE__ */ a(u, {}),
|
|
37
|
+
/* @__PURE__ */ i(o.Content, { "data-slot": "sheet-content", className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:fixed ttw:z-1300 ttw:flex ttw:flex-col ttw:gap-4 ttw:shadow-lg ttw:transition ttw:ease-in-out ttw:data-[state=closed]:duration-300 ttw:data-[state=open]:duration-500", n === "right" && "ttw:data-[state=closed]:slide-out-to-right ttw:data-[state=open]:slide-in-from-right ttw:inset-y-0 ttw:right-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", n === "left" && "ttw:data-[state=closed]:slide-out-to-left ttw:data-[state=open]:slide-in-from-left ttw:inset-y-0 ttw:left-0 ttw:h-full ttw:w-3/4 ttw:sm:max-w-[600px]", n === "top" && "ttw:data-[state=closed]:slide-out-to-top ttw:data-[state=open]:slide-in-from-top ttw:inset-x-0 ttw:top-0 ttw:h-auto ttw:border-b", n === "bottom" && "ttw:data-[state=closed]:slide-out-to-bottom ttw:data-[state=open]:slide-in-from-bottom ttw:inset-x-0 ttw:bottom-0 ttw:h-auto ttw:border-t", t), ...w, children: [
|
|
38
|
+
e,
|
|
39
|
+
r && /* @__PURE__ */ i(o.Close, { className: "ttw:p-2 ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-neutral ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:cursor-pointer ttw:disabled:pointer-events-none", children: [
|
|
40
|
+
/* @__PURE__ */ a(d, { className: "ttw:size-4" }),
|
|
41
|
+
/* @__PURE__ */ a("span", { className: "ttw:sr-only", children: "Close" })
|
|
42
|
+
] })
|
|
43
|
+
] })
|
|
43
44
|
] });
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
-
className:
|
|
47
|
-
...
|
|
46
|
+
function b({
|
|
47
|
+
className: t,
|
|
48
|
+
...e
|
|
49
|
+
}) {
|
|
50
|
+
return /* @__PURE__ */ a("div", { "data-slot": "sheet-header", className: s("ttw:flex ttw:flex-col ttw:gap-1.5 ttw:p-4", t), ...e });
|
|
51
|
+
}
|
|
52
|
+
function N({
|
|
53
|
+
className: t,
|
|
54
|
+
...e
|
|
55
|
+
}) {
|
|
56
|
+
return /* @__PURE__ */ a("div", { "data-slot": "sheet-footer", className: s("ttw:mt-auto ttw:flex ttw:flex-col ttw:gap-2 ttw:p-4", t), ...e });
|
|
57
|
+
}
|
|
58
|
+
function y({
|
|
59
|
+
className: t,
|
|
60
|
+
...e
|
|
48
61
|
}) {
|
|
49
|
-
return /* @__PURE__ */
|
|
62
|
+
return /* @__PURE__ */ a(o.Title, { "data-slot": "sheet-title", className: s("ttw:text-foreground ttw:font-semibold", t), ...e });
|
|
50
63
|
}
|
|
51
|
-
function
|
|
52
|
-
className:
|
|
53
|
-
|
|
54
|
-
errors: a,
|
|
55
|
-
...i
|
|
64
|
+
function S({
|
|
65
|
+
className: t,
|
|
66
|
+
...e
|
|
56
67
|
}) {
|
|
57
|
-
|
|
58
|
-
if (t)
|
|
59
|
-
return t;
|
|
60
|
-
if (!a?.length)
|
|
61
|
-
return null;
|
|
62
|
-
const s = [...new Map(a.map((r) => [r?.message, r])).values()];
|
|
63
|
-
return s?.length == 1 ? s[0]?.message : /* @__PURE__ */ l("ul", { className: "ttw:ml-4 ttw:flex ttw:list-disc ttw:flex-col ttw:gap-1", children: s.map((r, n) => r?.message && /* @__PURE__ */ l("li", { children: r.message }, n)) });
|
|
64
|
-
}, [t, a]);
|
|
65
|
-
return d ? /* @__PURE__ */ l("div", { role: "alert", "data-slot": "field-error", className: o("ttw:text-sm ttw:font-normal ttw:text-destructive", e), ...i, children: d }) : null;
|
|
68
|
+
return /* @__PURE__ */ a(o.Description, { "data-slot": "sheet-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...e });
|
|
66
69
|
}
|
|
67
70
|
export {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
h as Sheet,
|
|
72
|
+
g as SheetClose,
|
|
73
|
+
x as SheetContent,
|
|
74
|
+
S as SheetDescription,
|
|
75
|
+
N as SheetFooter,
|
|
76
|
+
b as SheetHeader,
|
|
77
|
+
y as SheetTitle
|
|
73
78
|
};
|
|
@@ -1,31 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
})
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cva as o } from "class-variance-authority";
|
|
3
|
+
import { Tabs as r } from "radix-ui";
|
|
4
|
+
import { cn as i } from "./index102.js";
|
|
5
|
+
function g({
|
|
6
|
+
className: a,
|
|
7
|
+
orientation: t = "horizontal",
|
|
8
|
+
...n
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ e(r.Root, { "data-slot": "tabs", "data-orientation": t, orientation: t, className: i("ttw:group/tabs ttw:flex ttw:gap-2 ttw:data-[orientation=horizontal]:flex-col", a), ...n });
|
|
11
|
+
}
|
|
12
|
+
const s = o("ttw:group/tabs-list ttw:inline-flex ttw:w-fit ttw:items-center ttw:justify-center ttw:rounded-lg ttw:p-[3px] ttw:text-muted-foreground ttw:group-data-[orientation=horizontal]/tabs:h-9 ttw:group-data-[orientation=vertical]/tabs:h-fit ttw:group-data-[orientation=vertical]/tabs:flex-col ttw:data-[variant=line]:rounded-none", {
|
|
13
|
+
variants: {
|
|
14
|
+
variant: {
|
|
15
|
+
default: "ttw:bg-muted",
|
|
16
|
+
line: "ttw:gap-1 ttw:bg-transparent"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
defaultVariants: {
|
|
20
|
+
variant: "default"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
function b({
|
|
24
|
+
className: a,
|
|
25
|
+
variant: t = "default",
|
|
26
|
+
...n
|
|
27
|
+
}) {
|
|
28
|
+
return /* @__PURE__ */ e(r.List, { "data-slot": "tabs-list", "data-variant": t, className: i(s({
|
|
29
|
+
variant: t
|
|
30
|
+
}), a), ...n });
|
|
31
|
+
}
|
|
32
|
+
function c({
|
|
33
|
+
className: a,
|
|
34
|
+
...t
|
|
35
|
+
}) {
|
|
36
|
+
return /* @__PURE__ */ e(r.Trigger, { "data-slot": "tabs-trigger", className: i("ttw:relative ttw:inline-flex ttw:h-[calc(100%-1px)] ttw:flex-1 ttw:items-center ttw:justify-center ttw:gap-1.5 ttw:rounded-md ttw:border ttw:border-transparent ttw:px-2 ttw:py-1 ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:text-foreground/60 ttw:transition-all ttw:group-data-[orientation=vertical]/tabs:w-full ttw:group-data-[orientation=vertical]/tabs:justify-start ttw:hover:text-foreground ttw:focus-visible:border-ring ttw:focus-visible:ring-[3px] ttw:focus-visible:ring-ring/50 ttw:focus-visible:outline-1 ttw:focus-visible:outline-ring ttw:disabled:pointer-events-none ttw:disabled:opacity-50 ttw:group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm ttw:group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none ttw:dark:text-muted-foreground ttw:dark:hover:text-foreground ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", "ttw:group-data-[variant=line]/tabs-list:bg-transparent ttw:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent ttw:dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent ttw:dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent", "ttw:data-[state=active]:bg-background ttw:data-[state=active]:text-foreground ttw:dark:data-[state=active]:border-input ttw:dark:data-[state=active]:bg-input/30 ttw:dark:data-[state=active]:text-foreground", "ttw:after:absolute ttw:after:bg-foreground ttw:after:opacity-0 ttw:after:transition-opacity ttw:group-data-[orientation=horizontal]/tabs:after:inset-x-0 ttw:group-data-[orientation=horizontal]/tabs:after:bottom-[-5px] ttw:group-data-[orientation=horizontal]/tabs:after:h-0.5 ttw:group-data-[orientation=vertical]/tabs:after:inset-y-0 ttw:group-data-[orientation=vertical]/tabs:after:-right-1 ttw:group-data-[orientation=vertical]/tabs:after:w-0.5 ttw:group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100", a), ...t });
|
|
37
|
+
}
|
|
38
|
+
function f({
|
|
39
|
+
className: a,
|
|
40
|
+
...t
|
|
41
|
+
}) {
|
|
42
|
+
return /* @__PURE__ */ e(r.Content, { "data-slot": "tabs-content", className: i("ttw:flex-1 ttw:outline-none", a), ...t });
|
|
43
|
+
}
|
|
29
44
|
export {
|
|
30
|
-
|
|
45
|
+
g as Tabs,
|
|
46
|
+
f as TabsContent,
|
|
47
|
+
b as TabsList,
|
|
48
|
+
c as TabsTrigger,
|
|
49
|
+
s as tabsListVariants
|
|
31
50
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { twMerge as e } from "tailwind-merge";
|
|
3
|
+
const w = ({
|
|
4
|
+
className: t
|
|
5
|
+
}) => /* @__PURE__ */ r("div", { className: e("ttw:w-8 ttw:h-8 ttw:rounded-full ttw:border-3 ttw:border-primary ttw:border-t-transparent ttw:animate-spin", t) });
|
|
2
6
|
export {
|
|
3
|
-
|
|
4
|
-
T as FILTER_TYPE_TYPE
|
|
7
|
+
w as LoadingSpinner
|
|
5
8
|
};
|
|
@@ -1,66 +1,17 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, k = ({
|
|
16
|
-
name: e,
|
|
17
|
-
country: t,
|
|
18
|
-
city: r,
|
|
19
|
-
isLoading: i
|
|
20
|
-
}) => {
|
|
21
|
-
const {
|
|
22
|
-
i18n: h
|
|
23
|
-
} = u();
|
|
24
|
-
!e && !i && (e = h._("Unspecified"));
|
|
25
|
-
const n = e.split(" "), l = (n.length >= 2 ? n[0][0] + n[n.length - 1][0] : e[0] || "").toUpperCase();
|
|
26
|
-
return /* @__PURE__ */ o(c, { className: "Monite-CounterpartCell", direction: "row", alignItems: "center", spacing: 1.5, justifyContent: "stretch", sx: {
|
|
27
|
-
maxWidth: "100%",
|
|
28
|
-
overflow: "hidden"
|
|
29
|
-
}, children: [
|
|
30
|
-
i ? /* @__PURE__ */ a(s, { animation: "wave", variant: "circular", width: 40, height: 40, sx: {
|
|
31
|
-
flexShrink: 0
|
|
32
|
-
} }) : /* @__PURE__ */ a(f, { className: "MuiAvatar-colored MuiAvatar-" + x(l), children: l }),
|
|
33
|
-
i || !e ? /* @__PURE__ */ a(s, { animation: "wave", height: 10, width: "100%", sx: {
|
|
34
|
-
flexShrink: 0,
|
|
35
|
-
minWidth: "4em"
|
|
36
|
-
} }) : /* @__PURE__ */ o(c, { direction: "column", alignItems: "stretch", gap: 0, sx: {
|
|
37
|
-
maxWidth: "100%",
|
|
38
|
-
flexBasis: 0,
|
|
39
|
-
flexShrink: 2,
|
|
40
|
-
flexGrow: 2,
|
|
41
|
-
overflow: "hidden"
|
|
42
|
-
}, children: [
|
|
43
|
-
/* @__PURE__ */ a(d, { variant: "body1", className: "Monite-TextOverflowContainer", children: e }),
|
|
44
|
-
t && r && /* @__PURE__ */ o(d, { variant: "body2", className: "Monite-TextOverflowContainer", children: [
|
|
45
|
-
t,
|
|
46
|
-
" • ",
|
|
47
|
-
r
|
|
48
|
-
] })
|
|
49
|
-
] })
|
|
50
|
-
] });
|
|
51
|
-
}, A = ({
|
|
52
|
-
counterpartId: e
|
|
53
|
-
}) => {
|
|
54
|
-
const {
|
|
55
|
-
data: t,
|
|
56
|
-
isLoading: r
|
|
57
|
-
} = p(e), i = t ? m(t) : "";
|
|
58
|
-
return r ? /* @__PURE__ */ a(s, { animation: "wave", height: 26, width: "100%" }) : i ? /* @__PURE__ */ a("span", { children: i }) : /* @__PURE__ */ a("span", { style: {
|
|
59
|
-
opacity: 0.4
|
|
60
|
-
}, children: "-" });
|
|
61
|
-
};
|
|
1
|
+
import { jsx as t, jsxs as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as a } from "./index233.js";
|
|
3
|
+
import { SearchX as c } from "lucide-react";
|
|
4
|
+
import { Typography as r } from "./index87.js";
|
|
5
|
+
const d = ({
|
|
6
|
+
title: i,
|
|
7
|
+
description: s
|
|
8
|
+
}) => /* @__PURE__ */ t(a, { children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-4", children: [
|
|
9
|
+
/* @__PURE__ */ t(c, { className: "ttw:text-destructive ttw:size-8" }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
|
|
11
|
+
/* @__PURE__ */ t(r, { variant: "h4", children: i }),
|
|
12
|
+
/* @__PURE__ */ t(r, { variant: "body1", className: "ttw:text-center", children: s })
|
|
13
|
+
] })
|
|
14
|
+
] }) });
|
|
62
15
|
export {
|
|
63
|
-
|
|
64
|
-
A as CounterpartNameCellById,
|
|
65
|
-
x as calculateAvatarColorIndex
|
|
16
|
+
d as NotFound
|
|
66
17
|
};
|
|
@@ -1,41 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
isSearching: s,
|
|
9
|
-
isError: l,
|
|
10
|
-
onCreate: y,
|
|
11
|
-
refetch: m,
|
|
12
|
-
entityName: e,
|
|
13
|
-
noDataTitle: c,
|
|
14
|
-
noDataDescription1: p,
|
|
15
|
-
filterTitle: N,
|
|
16
|
-
filterDescription1: d,
|
|
17
|
-
actionButtonLabel: L,
|
|
18
|
-
actionOptions: u,
|
|
19
|
-
onAction: f,
|
|
20
|
-
type: g
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as f } from "@lingui/react";
|
|
3
|
+
import { useFormContext as p, Controller as n } from "react-hook-form";
|
|
4
|
+
import { Field as d, FieldContent as s, FieldLabel as m, FieldError as c } from "./index204.js";
|
|
5
|
+
import { Textarea as h } from "./index124.js";
|
|
6
|
+
const N = ({
|
|
7
|
+
disabled: a
|
|
21
8
|
}) => {
|
|
22
9
|
const {
|
|
23
10
|
i18n: t
|
|
24
|
-
} =
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
11
|
+
} = f(), {
|
|
12
|
+
control: l
|
|
13
|
+
} = p();
|
|
14
|
+
return /* @__PURE__ */ i("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
15
|
+
/* @__PURE__ */ e(n, { name: "memo", control: l, render: ({
|
|
16
|
+
field: r,
|
|
17
|
+
fieldState: {
|
|
18
|
+
error: o
|
|
19
|
+
}
|
|
20
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ i(s, { children: [
|
|
21
|
+
/* @__PURE__ */ e(m, { htmlFor: r.name, required: !0, children: t._("Memo") }),
|
|
22
|
+
/* @__PURE__ */ e(h, { ...r, id: r.name, disabled: a, placeholder: t._("Dear client, as discussed, please find attached our invoice:"), className: "ttw:h-20 ttw:resize-none", "aria-invalid": !!o }),
|
|
23
|
+
/* @__PURE__ */ e(c, { errors: o ? [o] : [] })
|
|
24
|
+
] }) }) }),
|
|
25
|
+
/* @__PURE__ */ e(n, { name: "footer", control: l, render: ({
|
|
26
|
+
field: r,
|
|
27
|
+
fieldState: {
|
|
28
|
+
error: o
|
|
29
|
+
}
|
|
30
|
+
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ i(s, { children: [
|
|
31
|
+
/* @__PURE__ */ e(m, { htmlFor: r.name, children: t._("Note to customer") }),
|
|
32
|
+
/* @__PURE__ */ e(h, { ...r, id: r.name, disabled: a, placeholder: t._("Add a note to be displayed below the line items"), className: "ttw:h-20 ttw:resize-none", "aria-invalid": !!o }),
|
|
33
|
+
/* @__PURE__ */ e(c, { errors: o ? [o] : [] })
|
|
34
|
+
] }) }) })
|
|
35
|
+
] });
|
|
38
36
|
};
|
|
39
37
|
export {
|
|
40
|
-
|
|
38
|
+
N as EntitySection
|
|
41
39
|
};
|
|
@@ -1,84 +1,118 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { useLingui as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}) {
|
|
1
|
+
import { jsxs as l, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useFormErrors as M, FormErrorDisplay as q } from "./index332.js";
|
|
3
|
+
import { InvoiceItemRow as G } from "./index333.js";
|
|
4
|
+
import { InvoiceTotals as k } from "./index334.js";
|
|
5
|
+
import { CUSTOM_ID as z } from "./index335.js";
|
|
6
|
+
import { useLineItemManagement as B } from "./index336.js";
|
|
7
|
+
import { useLingui as O } from "@lingui/react";
|
|
8
|
+
import { Button as W } from "./index86.js";
|
|
9
|
+
import { Field as H, FieldContent as Q, FieldLabel as Y } from "./index204.js";
|
|
10
|
+
import { Typography as m } from "./index87.js";
|
|
11
|
+
import { Plus as J } from "lucide-react";
|
|
12
|
+
import { useCallback as f, useEffect as K, useRef as X } from "react";
|
|
13
|
+
import { useFormContext as Z, Controller as tt } from "react-hook-form";
|
|
14
|
+
import { LoadingSpinner as et } from "./index162.js";
|
|
15
|
+
import { useGetMeasureUnits as it } from "./index179.js";
|
|
16
|
+
import { InputGroup as rt, InputGroupInput as nt, InputGroupAddon as at } from "./index103.js";
|
|
17
|
+
import { sanitizeTaxRateInput as ot } from "./index337.js";
|
|
18
|
+
import { Separator as st } from "./index190.js";
|
|
19
|
+
const Ct = ({
|
|
20
|
+
defaultCurrency: d = "USD",
|
|
21
|
+
registerLineItemCleanupFn: u,
|
|
22
|
+
handleOpenCreateProductDialog: I
|
|
23
|
+
}) => {
|
|
25
24
|
const {
|
|
26
|
-
i18n:
|
|
27
|
-
} =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
25
|
+
i18n: n
|
|
26
|
+
} = O(), {
|
|
27
|
+
control: h,
|
|
28
|
+
formState: _,
|
|
29
|
+
getValues: c,
|
|
30
|
+
watch: $,
|
|
31
|
+
trigger: g
|
|
32
|
+
} = Z(), N = $("tax_mode") === "inclusive", {
|
|
33
|
+
data: b,
|
|
34
|
+
isLoading: C
|
|
35
|
+
} = it(), {
|
|
36
|
+
fields: w,
|
|
37
|
+
subtotalPrice: L,
|
|
38
|
+
totalPrice: P,
|
|
39
|
+
totalTaxes: F,
|
|
40
|
+
lineItemErrors: R,
|
|
41
|
+
handleAddRow: U,
|
|
42
|
+
handleRemoveItem: E,
|
|
43
|
+
setValueWithValidationLocal: p,
|
|
44
|
+
cleanUpLineItemsForSubmission: v
|
|
45
|
+
} = B({
|
|
46
|
+
defaultCurrency: d,
|
|
47
|
+
isInclusivePricing: N
|
|
48
|
+
}), r = f((t, e) => {
|
|
49
|
+
p(t, e, {
|
|
50
|
+
shouldValidate: !1
|
|
51
|
+
});
|
|
52
|
+
}, [p]);
|
|
53
|
+
K(() => (u?.(v), () => u?.(null)), [u, v]);
|
|
54
|
+
const x = X(null), {
|
|
55
|
+
generalError: T,
|
|
56
|
+
fieldErrors: S
|
|
57
|
+
} = M(R), y = f((t, e, a) => {
|
|
58
|
+
const s = e.measureUnit?.id, o = e.measureUnit?.name;
|
|
59
|
+
o && !s ? (r(`line_items.${t}.product.measure_unit_id`, ""), r(`line_items.${t}.product.measure_unit_name`, o), r(`line_items.${t}.measure_unit`, {
|
|
60
|
+
name: o,
|
|
61
|
+
id: null
|
|
62
|
+
})) : (s || a) && (r(`line_items.${t}.product.measure_unit_id`, s || a), r(`line_items.${t}.product.measure_unit_name`, void 0), r(`line_items.${t}.measure_unit`, void 0));
|
|
63
|
+
}, [r]), A = f((t, e, a) => {
|
|
64
|
+
const s = e.label ?? "";
|
|
65
|
+
if (r(`line_items.${t}.product.name`, s), e.id !== "" && e.id !== z && a) {
|
|
66
|
+
r(`line_items.${t}.product.price.value`, e.price?.value ?? 0), r(`line_items.${t}.product.price.currency`, d);
|
|
67
|
+
const o = c(`line_items.${t}.product.measure_unit_id`);
|
|
68
|
+
y(t, e, o), r(`line_items.${t}.quantity`, e.smallestAmount ?? 1), r(`line_items.${t}.product.smallest_amount`, e.smallestAmount), r(`line_items.${t}.product.type`, "product"), r(`line_items.${t}.product.description`, e.description ?? ""), g(`line_items.${t}`);
|
|
45
69
|
}
|
|
46
|
-
});
|
|
47
|
-
return /* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
/* @__PURE__ */ t(H, { children: w.getHeaderGroups().map((e) => /* @__PURE__ */ t(m, { children: e.headers.map((n) => /* @__PURE__ */ t(I, { className: "ttw:p-3 ttw:text-xs ttw:text-zinc-950 ttw:border-b ttw:border-zinc-100 ttw:w-44.5", children: n.isPlaceholder ? null : C(n.column.columnDef.header, n.getContext()) }, n.id)) }, e.id)) }),
|
|
52
|
-
/* @__PURE__ */ t(L, { children: w.getRowModel().rows?.length ? w.getRowModel().rows.map((e) => /* @__PURE__ */ t(m, { onClick: () => R(e.original), "data-state": e.getIsSelected() && "selected", children: e.getVisibleCells().map((n) => /* @__PURE__ */ t(v, { className: "ttw:px-3 ttw:h-13 ttw:font-medium ttw:border-zinc-100 ttw:border-b", children: C(n.column.columnDef.cell, n.getContext()) }, n.id)) }, e.id)) : /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t(v, { colSpan: g.length, className: "ttw:min-h-24 ttw:text-center", children: k || b._("No results.") }) }) })
|
|
53
|
-
] })
|
|
70
|
+
}, [d, c, r, y, g]);
|
|
71
|
+
return /* @__PURE__ */ l("div", { ref: x, className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
72
|
+
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
73
|
+
/* @__PURE__ */ i(m, { variant: "h4", children: n._("Products and services") }),
|
|
74
|
+
/* @__PURE__ */ i(m, { variant: "body2", color: "muted", className: "ttw:font-medium", children: n._("Add the products and services on this invoice. You'll have the option to save new items to your inventory.") })
|
|
54
75
|
] }),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
/* @__PURE__ */
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/* @__PURE__ */ t(d, { value: "25", children: "25" }),
|
|
65
|
-
/* @__PURE__ */ t(d, { value: "50", children: "50" }),
|
|
66
|
-
/* @__PURE__ */ t(d, { value: "100", children: "100" })
|
|
67
|
-
] })
|
|
68
|
-
] })
|
|
76
|
+
/* @__PURE__ */ i(q, { generalError: _?.errors?.line_items?.root?.message ?? T, fieldErrors: S }),
|
|
77
|
+
/* @__PURE__ */ l("ul", { className: "ttw:flex ttw:flex-col ttw:gap-2.5", children: [
|
|
78
|
+
/* @__PURE__ */ l("li", { className: "ttw:flex ttw:items-center ttw:gap-2.5 ttw:h-5", children: [
|
|
79
|
+
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:min-w-30 ttw:whitespace-nowrap ttw:inline-flex ttw:flex-1", children: n._("Item name") }),
|
|
80
|
+
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-24 ttw:min-w-24", children: n._("Quantity") }),
|
|
81
|
+
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-20.5 ttw:min-w-20.5", children: n._("Units") }),
|
|
82
|
+
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:max-w-41 ttw:w-full ttw:min-w-29", children: n._("Price") }),
|
|
83
|
+
/* @__PURE__ */ i(m, { variant: "body2", className: "ttw:font-medium ttw:leading-5 ttw:w-12 ttw:min-w-12", children: n._("Taxable") }),
|
|
84
|
+
w.length > 1 && /* @__PURE__ */ i("div", { className: "ttw:w-10 ttw:min-w-10" })
|
|
69
85
|
] }),
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
|
|
77
|
-
|
|
86
|
+
C ? /* @__PURE__ */ i("li", { className: "ttw:flex ttw:items-center ttw:justify-center ttw:h-9", children: /* @__PURE__ */ i(et, { className: "ttw:w-5 ttw:h-5" }) }) : w.map((t, e) => {
|
|
87
|
+
const a = (o) => c(`line_items.${e}.${o}`), s = (o, D, V) => {
|
|
88
|
+
const j = `line_items.${e}.${o}`;
|
|
89
|
+
p(j, D, V);
|
|
90
|
+
};
|
|
91
|
+
return /* @__PURE__ */ i(G, { field: t, index: e, control: h, errors: _.errors, defaultCurrency: d, measureUnitsData: b, onRequestLineItemValue: a, onLineItemValueChange: s, onRequestOpenCreateProductDialog: I, canRemove: w.length > 1, onUpdateItem: A, onRemoveItem: E, container: x }, t.id);
|
|
92
|
+
})
|
|
93
|
+
] }),
|
|
94
|
+
/* @__PURE__ */ l(W, { type: "button", variant: "ghost", onClick: U, className: "ttw:text-primary ttw:hover:text-primary ttw:w-fit", children: [
|
|
95
|
+
/* @__PURE__ */ i(J, { className: "ttw:size-5 ttw:text-primary" }),
|
|
96
|
+
n._("Add item")
|
|
97
|
+
] }),
|
|
98
|
+
/* @__PURE__ */ i(tt, { name: "tax_rate", control: h, render: ({
|
|
99
|
+
field: t
|
|
100
|
+
}) => /* @__PURE__ */ i(H, { children: /* @__PURE__ */ l(Q, { className: "ttw:flex-row ttw:justify-end", children: [
|
|
101
|
+
/* @__PURE__ */ i(Y, { htmlFor: t.name, children: n._("Tax rate") }),
|
|
102
|
+
/* @__PURE__ */ l(rt, { className: "ttw:w-28 ttw:has-[>[data-align=inline-end]]:[&>input]:pr-0", children: [
|
|
103
|
+
/* @__PURE__ */ i(nt, { ...t, value: t.value ?? "", id: t.name, className: "ttw:text-right", placeholder: n._("e.g. 6.25"), type: "text", inputMode: "decimal", onChange: (e) => {
|
|
104
|
+
t.onChange(ot(e.target.value));
|
|
105
|
+
}, onBlur: (e) => {
|
|
106
|
+
const a = e.target.value;
|
|
107
|
+
t.onChange(a.endsWith(".") ? a.slice(0, -1) : a), t.onBlur();
|
|
108
|
+
} }),
|
|
109
|
+
/* @__PURE__ */ i(at, { align: "inline-end", children: "%" })
|
|
78
110
|
] })
|
|
79
|
-
] })
|
|
111
|
+
] }) }) }),
|
|
112
|
+
/* @__PURE__ */ i(st, {}),
|
|
113
|
+
/* @__PURE__ */ i(k, { subtotalPrice: L, totalTaxes: F, totalPrice: P })
|
|
80
114
|
] });
|
|
81
|
-
}
|
|
115
|
+
};
|
|
82
116
|
export {
|
|
83
|
-
|
|
117
|
+
Ct as ItemsSection
|
|
84
118
|
};
|