@tesouro/embedded-components-react 0.2.196 → 0.2.197
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 +26 -26
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.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/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +9 -2
- 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 +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +1270 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +33 -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 +79 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +9 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +31 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +21 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +12 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +121 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +216 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +47 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -121
- 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 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +150 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +50 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +70 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +27 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +3 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +64 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +39 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +78 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +5 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +98 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +27 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +17 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +18 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +18 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +26 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +117 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +68 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +12 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +26 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +86 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +96 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +45 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +75 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +58 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +22 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +79 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +27 -40
- 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 +42 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +7 -228
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +222 -464
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +462 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +98 -519
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +528 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +57 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +397 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +68 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +406 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +101 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +26 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +5 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +214 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +7 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +52 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +29 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +4 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +77 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +32 -356
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +41 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +347 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +300 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +98 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +159 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +264 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +36 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +49 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +82 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +31 -12
- 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 +66 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +356 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +2 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +117 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +18 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +12 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +14 -30
- 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 +20 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +17 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +33 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +35 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +14 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +28 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +105 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +12 -32
- 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 +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +31 -482
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +55 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +49 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +30 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +97 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +46 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +146 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +105 -40
- 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 +2 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +93 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +96 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +200 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +22 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +51 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +26 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +58 -23
- 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 +491 -2
- 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 +163 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +71 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +42 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +10 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +16 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +30 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +31 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +63 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +92 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +110 -27
- 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 +82 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +39 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +60 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +30 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +119 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +23 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +44 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +57 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +63 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +158 -6
- 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 +27 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +28 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +77 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +149 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +17 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +8 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +15 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +40 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +14 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +73 -104
- 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 +76 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +39 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +65 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +25 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +128 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +47 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +116 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +107 -27
- 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 +48 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +201 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +68 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +17 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +18 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +167 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +129 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +158 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +10 -110
- 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 +18 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +59 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +66 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +60 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +10 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +60 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +21 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +54 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +14 -162
- 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 +31 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +4 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +32 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +29 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +27 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +47 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +25 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +127 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +32 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +96 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +46 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +35 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +25 -71
- 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 +43 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +97 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +37 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +30 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +4 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +125 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +10 -24
- 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 +6 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +7 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +49 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +15 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +48 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +11 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +123 -32
- 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 +18 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +26 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +69 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +3 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +11 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +22 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +35 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +46 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +15 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +63 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +13 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +20 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +65 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +21 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +118 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +81 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +7 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +66 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +45 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +19 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +79 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +17 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +84 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +266 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +44 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +23 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +141 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +11 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +2 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +281 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +46 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +15 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +9 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +37 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +29 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +68 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +41 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +93 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +15 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +20 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +9 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +54 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +68 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +43 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +17 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +48 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +59 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +51 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +33 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +71 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +82 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +55 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +51 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +50 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +29 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +44 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +48 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +80 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +31 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +84 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +22 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +74 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +112 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +36 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +18 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +50 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +40 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- 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 +26 -26
- package/package.json +2 -2
|
@@ -1,52 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
}) => {
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as a from "react";
|
|
3
|
+
import { FormProvider as f, Controller as u, useFormContext as F, useFormState as I } from "react-hook-form";
|
|
4
|
+
import { Label as p } from "./index283.js";
|
|
5
|
+
import { cn as i } from "./index100.js";
|
|
6
|
+
import { Slot as g } from "@radix-ui/react-slot";
|
|
7
|
+
const b = f, l = a.createContext({}), C = ({
|
|
8
|
+
...r
|
|
9
|
+
}) => /* @__PURE__ */ m(l.Provider, { value: {
|
|
10
|
+
name: r.name
|
|
11
|
+
}, children: /* @__PURE__ */ m(u, { ...r }) }), d = () => {
|
|
12
|
+
const r = a.useContext(l), e = a.useContext(c), {
|
|
13
|
+
getFieldState: t
|
|
14
|
+
} = F(), o = I({
|
|
15
|
+
name: r.name
|
|
16
|
+
}), s = t(r.name, o);
|
|
17
|
+
if (!r)
|
|
18
|
+
throw new Error("useFormField should be used within <FormField>");
|
|
10
19
|
const {
|
|
11
|
-
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
};
|
|
20
|
+
id: n
|
|
21
|
+
} = e;
|
|
22
|
+
return {
|
|
23
|
+
id: n,
|
|
24
|
+
name: r.name,
|
|
25
|
+
formItemId: `${n}-form-item`,
|
|
26
|
+
formDescriptionId: `${n}-form-item-description`,
|
|
27
|
+
formMessageId: `${n}-form-item-message`,
|
|
28
|
+
...s
|
|
29
|
+
};
|
|
30
|
+
}, c = a.createContext({});
|
|
31
|
+
function N({
|
|
32
|
+
className: r,
|
|
33
|
+
...e
|
|
34
|
+
}) {
|
|
35
|
+
const t = a.useId();
|
|
36
|
+
return /* @__PURE__ */ m(c.Provider, { value: {
|
|
37
|
+
id: t
|
|
38
|
+
}, children: /* @__PURE__ */ m("div", { "data-slot": "form-item", className: i("ttw:grid ttw:gap-2", r), ...e }) });
|
|
39
|
+
}
|
|
40
|
+
function M({
|
|
41
|
+
className: r,
|
|
42
|
+
...e
|
|
43
|
+
}) {
|
|
44
|
+
const {
|
|
45
|
+
error: t,
|
|
46
|
+
formItemId: o
|
|
47
|
+
} = d();
|
|
48
|
+
return /* @__PURE__ */ m(p, { "data-slot": "form-label", "data-error": !!t, className: i("ttw:data-[error=true]:text-destructive", r), htmlFor: o, ...e });
|
|
49
|
+
}
|
|
50
|
+
function S({
|
|
51
|
+
...r
|
|
52
|
+
}) {
|
|
53
|
+
const {
|
|
54
|
+
error: e,
|
|
55
|
+
formItemId: t,
|
|
56
|
+
formDescriptionId: o,
|
|
57
|
+
formMessageId: s
|
|
58
|
+
} = d();
|
|
59
|
+
return /* @__PURE__ */ m(g, { "data-slot": "form-control", id: t, "aria-describedby": e ? `${o} ${s}` : `${o}`, "aria-invalid": !!e, ...r });
|
|
60
|
+
}
|
|
61
|
+
function P({
|
|
62
|
+
className: r,
|
|
63
|
+
...e
|
|
64
|
+
}) {
|
|
65
|
+
const {
|
|
66
|
+
error: t,
|
|
67
|
+
formMessageId: o
|
|
68
|
+
} = d(), s = t ? String(t?.message ?? "") : e.children;
|
|
69
|
+
return s ? /* @__PURE__ */ m("p", { "data-slot": "form-message", id: o, className: i("ttw:text-destructive ttw:text-sm", r), ...e, children: s }) : null;
|
|
70
|
+
}
|
|
50
71
|
export {
|
|
51
|
-
|
|
72
|
+
b as Form,
|
|
73
|
+
S as FormControl,
|
|
74
|
+
C as FormField,
|
|
75
|
+
N as FormItem,
|
|
76
|
+
M as FormLabel,
|
|
77
|
+
P as FormMessage,
|
|
78
|
+
d as useFormField
|
|
52
79
|
};
|
|
@@ -1,207 +1,46 @@
|
|
|
1
|
-
import { jsxs as l, jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import "./index92.js";
|
|
14
|
-
import { useFileInput as ct } from "./index61.js";
|
|
15
|
-
import "react-dom";
|
|
16
|
-
import "@mui/x-data-grid";
|
|
17
|
-
import { ATTACHMENT_ACCEPTED_FORMATS as k, ATTACHMENT_MAX_FILE_SIZE_MB as P, ATTACHMENT_MAX_FILE_COUNT as dt, ATTACHMENT_ACCEPTED_EXTENSIONS as mt } from "./index224.js";
|
|
18
|
-
import { useDeleteFile as ut } from "./index401.js";
|
|
19
|
-
import { useUploadReceivableAttachment as wt } from "./index402.js";
|
|
20
|
-
import { validateAttachmentFile as pt } from "./index403.js";
|
|
21
|
-
import { formatFileSize as ft } from "./index383.js";
|
|
22
|
-
import { toFileArray as B } from "./index404.js";
|
|
23
|
-
const Ot = ({
|
|
24
|
-
disabled: c,
|
|
25
|
-
onUploadingChange: u
|
|
1
|
+
import { jsxs as l, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import * as w from "react";
|
|
3
|
+
import { Badge as d } from "./index237.js";
|
|
4
|
+
import { Button as m } from "./index84.js";
|
|
5
|
+
import { cn as p } from "./index100.js";
|
|
6
|
+
import { XIcon as h } from "lucide-react";
|
|
7
|
+
const g = ({
|
|
8
|
+
className: i,
|
|
9
|
+
value: e,
|
|
10
|
+
onChange: a,
|
|
11
|
+
ref: u,
|
|
12
|
+
...c
|
|
26
13
|
}) => {
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
getValues: w
|
|
33
|
-
} = W(), {
|
|
34
|
-
mutateAsync: O
|
|
35
|
-
} = wt(), {
|
|
36
|
-
mutate: I
|
|
37
|
-
} = ut(), {
|
|
38
|
-
FileInput: U,
|
|
39
|
-
openFileInput: L,
|
|
40
|
-
resetInput: R
|
|
41
|
-
} = ct({
|
|
42
|
-
acceptedFormats: k,
|
|
43
|
-
maxFileSizeInMB: P
|
|
44
|
-
}), g = F("attachments") ?? [], T = F("frequency"), G = !!T && T !== "once", [m, p] = v([]), [H, b] = v(!1), [X, x] = v(!1), A = y(0), f = y(!1);
|
|
45
|
-
N(() => (f.current = !1, () => {
|
|
46
|
-
f.current = !0;
|
|
47
|
-
}), []);
|
|
48
|
-
const _ = y(/* @__PURE__ */ new Set()), C = m.some((t) => t.status === "uploading");
|
|
49
|
-
N(() => {
|
|
50
|
-
u?.(C);
|
|
51
|
-
}, [C, u]), N(() => () => u?.(!1), [u]);
|
|
52
|
-
const z = () => (A.current += 1, `attachment-${A.current}`), j = (t) => t === "too_large" ? r._("File too large (max 3 MB)") : r._("File type not supported. Use PDF, DOC, JPG or PNG"), J = async (t, i) => {
|
|
53
|
-
try {
|
|
54
|
-
const a = await O({
|
|
55
|
-
file: i,
|
|
56
|
-
file_type: "attachments"
|
|
57
|
-
});
|
|
58
|
-
if (f.current || _.current.delete(t)) {
|
|
59
|
-
I({
|
|
60
|
-
path: {
|
|
61
|
-
file_id: a.id
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
return;
|
|
65
|
-
}
|
|
66
|
-
p((d) => d.filter((s) => s.localId !== t)), h("attachments", [...w("attachments") ?? [], {
|
|
67
|
-
id: a.id,
|
|
68
|
-
include_in_email: !0,
|
|
69
|
-
name: a.name,
|
|
70
|
-
size: a.size
|
|
71
|
-
}], {
|
|
72
|
-
shouldDirty: !0
|
|
73
|
-
});
|
|
74
|
-
} catch {
|
|
75
|
-
const a = _.current.delete(t);
|
|
76
|
-
if (f.current || a) return;
|
|
77
|
-
p((d) => d.map((s) => s.localId === t ? {
|
|
78
|
-
...s,
|
|
79
|
-
status: "error",
|
|
80
|
-
errorMessage: r._("Upload failed. Please try again.")
|
|
81
|
-
} : s));
|
|
14
|
+
const [r, n] = w.useState("");
|
|
15
|
+
w.useEffect(() => {
|
|
16
|
+
if (r.includes(",")) {
|
|
17
|
+
const t = /* @__PURE__ */ new Set([...e, ...r.split(",").map((s) => s.trim())]);
|
|
18
|
+
a(Array.from(t)), n("");
|
|
82
19
|
}
|
|
83
|
-
},
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
let E = !1;
|
|
89
|
-
for (const o of t) {
|
|
90
|
-
const M = pt(o, {
|
|
91
|
-
acceptedFormats: k,
|
|
92
|
-
acceptedExtensions: mt,
|
|
93
|
-
maxFileSizeInMB: P
|
|
94
|
-
});
|
|
95
|
-
if (M) {
|
|
96
|
-
s.push({
|
|
97
|
-
localId: z(),
|
|
98
|
-
name: o.name,
|
|
99
|
-
size: o.size,
|
|
100
|
-
status: "error",
|
|
101
|
-
errorMessage: j(M)
|
|
102
|
-
});
|
|
103
|
-
continue;
|
|
104
|
-
}
|
|
105
|
-
if (d <= 0) {
|
|
106
|
-
E = !0;
|
|
107
|
-
continue;
|
|
108
|
-
}
|
|
109
|
-
d -= 1;
|
|
110
|
-
const $ = z();
|
|
111
|
-
s.push({
|
|
112
|
-
localId: $,
|
|
113
|
-
name: o.name,
|
|
114
|
-
size: o.size,
|
|
115
|
-
status: "uploading"
|
|
116
|
-
}), J($, o);
|
|
20
|
+
}, [r, a, e]);
|
|
21
|
+
const f = () => {
|
|
22
|
+
if (r) {
|
|
23
|
+
const t = /* @__PURE__ */ new Set([...e, r]);
|
|
24
|
+
a(Array.from(t)), n("");
|
|
117
25
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
});
|
|
134
|
-
}, Y = (t) => {
|
|
135
|
-
m.some((i) => i.localId === t && i.status === "uploading") && _.current.add(t), p((i) => i.filter((a) => a.localId !== t)), b(!1);
|
|
136
|
-
}, Z = (t) => {
|
|
137
|
-
t.preventDefault(), x(!1), !c && D(B(t.dataTransfer.files));
|
|
138
|
-
}, K = g.length > 0 || m.length > 0;
|
|
139
|
-
return /* @__PURE__ */ l("div", { className: "ttw:flex ttw:flex-col ttw:p-6 ttw:gap-2.5 ttw:border ttw:border-border ttw:rounded-xl", children: [
|
|
140
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4", children: [
|
|
141
|
-
/* @__PURE__ */ e(n, { variant: "h4", children: r._("Attachments") }),
|
|
142
|
-
/* @__PURE__ */ e(n, { variant: "body2", color: "muted", className: "ttw:font-medium", children: r._("Associate additional documents with this invoice for your own reference or to share with the customer. e.g. contracts, photos, terms and conditions, etc.") })
|
|
143
|
-
] }),
|
|
144
|
-
K && /* @__PURE__ */ l("div", { className: "ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
145
|
-
g.length > 0 && /* @__PURE__ */ l(Q, { children: [
|
|
146
|
-
/* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: G ? r._("Selected files will be attached to every invoice email in the recurring series.") : r._("Selected files will be attached to the invoice email sent to the customer.") }),
|
|
147
|
-
/* @__PURE__ */ e(st, {})
|
|
148
|
-
] }),
|
|
149
|
-
/* @__PURE__ */ l("ul", { className: "ttw:flex ttw:flex-col ttw:gap-2", children: [
|
|
150
|
-
g.map((t) => {
|
|
151
|
-
const i = `attachment-include-${t.id}`;
|
|
152
|
-
return /* @__PURE__ */ l("li", { className: "ttw:flex ttw:items-center ttw:gap-2", children: [
|
|
153
|
-
/* @__PURE__ */ e(
|
|
154
|
-
nt,
|
|
155
|
-
{
|
|
156
|
-
id: i,
|
|
157
|
-
checked: t.include_in_email,
|
|
158
|
-
disabled: c,
|
|
159
|
-
"aria-label": `${r._("Include in email:")} ${t.name}`,
|
|
160
|
-
onCheckedChange: (a) => V(t.id, a === !0)
|
|
161
|
-
}
|
|
162
|
-
),
|
|
163
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:w-full ttw:items-center ttw:rounded-lg ttw:gap-3 ttw:bg-muted ttw:px-2 ttw:py-1", children: [
|
|
164
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:items-center ttw:gap-1", children: [
|
|
165
|
-
/* @__PURE__ */ e(n, { variant: "body2", className: "ttw:truncate", children: t.name }),
|
|
166
|
-
/* @__PURE__ */ l(n, { variant: "body2", color: "muted", className: "ttw:shrink-0", children: [
|
|
167
|
-
"(",
|
|
168
|
-
ft(t.size),
|
|
169
|
-
")"
|
|
170
|
-
] })
|
|
171
|
-
] }),
|
|
172
|
-
/* @__PURE__ */ e(S, { type: "button", variant: "ghost", size: "icon", className: "ttw:size-4", disabled: c, "aria-label": `${r._("Remove")} ${t.name}`, onClick: () => q(t.id), children: /* @__PURE__ */ e(et, { className: "ttw:size-4" }) })
|
|
173
|
-
] })
|
|
174
|
-
] }, t.id);
|
|
175
|
-
}),
|
|
176
|
-
m.map((t) => /* @__PURE__ */ l("li", { className: "ttw:flex ttw:w-full ttw:items-center ttw:rounded-lg ttw:gap-3 ttw:bg-muted ttw:px-2 ttw:py-1", children: [
|
|
177
|
-
t.status === "uploading" ? /* @__PURE__ */ e(at, { className: "ttw:size-5 ttw:shrink-0 ttw:animate-spin ttw:text-muted-foreground" }) : /* @__PURE__ */ e(rt, { className: "ttw:size-5 ttw:shrink-0 ttw:text-destructive" }),
|
|
178
|
-
/* @__PURE__ */ l("div", { className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col", children: [
|
|
179
|
-
/* @__PURE__ */ e(n, { variant: "body2", className: "ttw:truncate", children: t.name }),
|
|
180
|
-
t.status === "uploading" ? /* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("Uploading…") }) : /* @__PURE__ */ e(n, { variant: "caption", role: "alert", className: "ttw:text-destructive", children: t.errorMessage })
|
|
181
|
-
] }),
|
|
182
|
-
/* @__PURE__ */ e(S, { type: "button", variant: "ghost", size: "icon", disabled: c, "aria-label": `${r._("Remove")} ${t.name}`, onClick: () => Y(t.localId), children: /* @__PURE__ */ e(it, { className: "ttw:size-4" }) })
|
|
183
|
-
] }, t.localId))
|
|
184
|
-
] })
|
|
185
|
-
] }),
|
|
186
|
-
/* @__PURE__ */ l("button", { type: "button", disabled: c, onClick: L, onDragOver: (t) => {
|
|
187
|
-
t.preventDefault(), c || x(!0);
|
|
188
|
-
}, onDragLeave: (t) => {
|
|
189
|
-
t.preventDefault(), x(!1);
|
|
190
|
-
}, onDrop: Z, className: ot("ttw:flex ttw:w-full ttw:flex-col ttw:items-center ttw:gap-2 ttw:rounded-xl ttw:border ttw:border-dashed ttw:p-6 ttw:text-center ttw:disabled:cursor-not-allowed ttw:disabled:opacity-50", X ? "ttw:border-primary ttw:bg-primary/5" : "ttw:border-border ttw:bg-muted"), children: [
|
|
191
|
-
/* @__PURE__ */ e("span", { className: "ttw:flex ttw:size-10 ttw:items-center ttw:justify-center ttw:rounded-full ttw:border ttw:border-border", children: /* @__PURE__ */ e(lt, { className: "ttw:size-5 ttw:text-muted-foreground" }) }),
|
|
192
|
-
/* @__PURE__ */ l(n, { variant: "body2", children: [
|
|
193
|
-
r._("Drop your files here, or"),
|
|
194
|
-
" ",
|
|
195
|
-
/* @__PURE__ */ e("span", { className: "ttw:text-primary ttw:underline", children: r._("browse to upload") })
|
|
196
|
-
] }),
|
|
197
|
-
/* @__PURE__ */ e(n, { variant: "caption", color: "muted", children: r._("PDF, DOC, JPG, PNG (max. 3MB)") })
|
|
198
|
-
] }),
|
|
199
|
-
H && /* @__PURE__ */ e(n, { variant: "body2", role: "alert", className: "ttw:text-destructive", children: r._("You can attach up to 10 files.") }),
|
|
200
|
-
/* @__PURE__ */ e(U, { multiple: !0, onChange: (t) => {
|
|
201
|
-
D(B(t.target.files)), R();
|
|
202
|
-
} })
|
|
26
|
+
};
|
|
27
|
+
return /* @__PURE__ */ l("div", { className: p(
|
|
28
|
+
// caveat: :has() variant requires tailwind v3.4 or above: https://tailwindcss.com/blog/tailwindcss-v3-4#new-has-variant
|
|
29
|
+
"ttw:has-[:focus-visible]:ttw:outline-none ttw:has-[:focus-visible]:ttw:ring-2 ttw:has-[:focus-visible]:ttw:ring-neutral-950 ttw:has-[:focus-visible]:ttw:ring-offset-2 dark:ttw:has-[:focus-visible]:ttw:ring-neutral-300 ttw:min-h-10 ttw:flex ttw:w-full ttw:flex-wrap ttw:gap-2 ttw:rounded-md ttw:border ttw:border-neutral-200 ttw:bg-white ttw:px-3 ttw:py-2 ttw:text-sm ttw:ring-offset-white ttw:disabled:ttw:cursor-not-allowed ttw:disabled:ttw:opacity-50 dark:ttw:border-neutral-800 dark:ttw:bg-neutral-950 dark:ttw:ring-offset-neutral-950",
|
|
30
|
+
i
|
|
31
|
+
), children: [
|
|
32
|
+
e.map((t) => /* @__PURE__ */ l(d, { variant: "secondary", children: [
|
|
33
|
+
t,
|
|
34
|
+
/* @__PURE__ */ o(m, { variant: "ghost", size: "icon", className: "ttw:ml-2 ttw:h-3 ttw:w-3", onClick: () => {
|
|
35
|
+
a(e.filter((s) => s !== t));
|
|
36
|
+
}, children: /* @__PURE__ */ o(h, { className: "ttw:w-3" }) })
|
|
37
|
+
] }, t)),
|
|
38
|
+
/* @__PURE__ */ o("input", { className: "ttw:flex-1 ttw:outline-none ttw:placeholder:ttw:text-neutral-500 dark:ttw:placeholder:ttw:text-neutral-400", value: r, onChange: (t) => n(t.target.value), onKeyDown: (t) => {
|
|
39
|
+
t.key === "Enter" || t.key === "," ? (t.preventDefault(), f()) : t.key === "Backspace" && r.length === 0 && e.length > 0 && (t.preventDefault(), a(e.slice(0, -1)));
|
|
40
|
+
}, ...c, ref: u })
|
|
203
41
|
] });
|
|
204
42
|
};
|
|
43
|
+
g.displayName = "InputTags";
|
|
205
44
|
export {
|
|
206
|
-
|
|
45
|
+
g as InputTags
|
|
207
46
|
};
|
|
@@ -1,72 +1,69 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as T } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { MeasureUnitsFormRow as f } from "./index413.js";
|
|
3
|
+
import { ConfirmDeleteMeasureUnitDialog as j } from "./index414.js";
|
|
4
|
+
import { TableActions as z } from "./index415.js";
|
|
5
|
+
import { Table as A, TableHeader as E, TableRow as h, TableHead as l, TableBody as G, TableCell as d } from "./index282.js";
|
|
6
|
+
import { useLingui as I } from "@lingui/react";
|
|
7
|
+
import { Loader2 as b, Search as S } from "lucide-react";
|
|
8
|
+
import { useState as m, useCallback as w } from "react";
|
|
9
|
+
import "./index57.js";
|
|
10
|
+
import "react-hot-toast";
|
|
11
|
+
import { useGetMeasureUnits as _ } from "./index305.js";
|
|
12
|
+
import { useDeleteMeasureUnit as y } from "./index416.js";
|
|
13
|
+
import { InputGroup as F, InputGroupAddon as H, InputGroupInput as k } from "./index101.js";
|
|
14
|
+
import { useDebounceCallback as R } from "./index65.js";
|
|
15
|
+
const at = () => {
|
|
16
|
+
const {
|
|
17
|
+
i18n: i
|
|
18
|
+
} = I(), [g, s] = m(null), [a, c] = m(null), x = !!a, [u, N] = m(""), {
|
|
19
|
+
data: C,
|
|
20
|
+
isLoading: M
|
|
21
|
+
} = _(), n = y(a?.name), $ = R((t) => {
|
|
22
|
+
N(t);
|
|
23
|
+
}, 500), D = C?.data?.filter((t) => t.name.toLowerCase().includes(u.toLowerCase()) || t.description && t.description.toLowerCase().includes(u.toLowerCase())) || [], L = w((t) => {
|
|
24
|
+
c(t);
|
|
25
|
+
}, []), o = w(() => {
|
|
26
|
+
c(null);
|
|
27
|
+
}, []), U = w(() => {
|
|
28
|
+
a && n.mutate({
|
|
29
|
+
path: {
|
|
30
|
+
unit_id: a.id
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
onSuccess: () => o()
|
|
34
|
+
});
|
|
35
|
+
}, [n, a, o]), p = n.isPending, v = () => {
|
|
36
|
+
s(null);
|
|
32
37
|
};
|
|
33
|
-
return /* @__PURE__ */
|
|
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
|
-
transform: `scale(${f})`
|
|
62
|
-
}, children: /* @__PURE__ */ t("div", { ref: a, className: e(
|
|
63
|
-
// Full size within aspect ratio container
|
|
64
|
-
"ttw:w-full ttw:h-full",
|
|
65
|
-
"ttw:bg-white ttw:shrink-0",
|
|
66
|
-
"ttw:shadow-md",
|
|
67
|
-
"ttw:overflow-hidden"
|
|
68
|
-
), children: /* @__PURE__ */ t(d, { ...u }) }) }) });
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:h-full ttw:relative", children: [
|
|
39
|
+
M ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:justify-center ttw:items-center ttw:h-full", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }) : /* @__PURE__ */ r(T, { children: [
|
|
40
|
+
p && /* @__PURE__ */ e("div", { className: "ttw:absolute ttw:inset-0 ttw:bg-white/70 ttw:flex ttw:justify-center ttw:items-center ttw:z-10", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }),
|
|
41
|
+
/* @__PURE__ */ r(F, { children: [
|
|
42
|
+
/* @__PURE__ */ e(H, { align: "inline-start", children: /* @__PURE__ */ e(S, {}) }),
|
|
43
|
+
/* @__PURE__ */ e(k, { placeholder: i._("Search"), onChange: (t) => $(t.target.value) })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ r(A, { className: "ttw:table-fixed ttw:border ttw:border-border ttw:rounded-md", children: [
|
|
46
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(h, { className: "ttw:hover:bg-transparent ttw:border-border", children: [
|
|
47
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[35%]", children: i._("Unit label") }),
|
|
48
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[55%]", children: i._("Description (optional)") }),
|
|
49
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[10%]" })
|
|
50
|
+
] }) }),
|
|
51
|
+
/* @__PURE__ */ r(G, { children: [
|
|
52
|
+
/* @__PURE__ */ e(f, { isEditMode: !1 }),
|
|
53
|
+
D.map((t) => g?.id === t.id ? /* @__PURE__ */ e(f, { isEditMode: !0, initialValues: t, onCancel: v, onEdit: () => s(null), id: t.id }, t.id) : /* @__PURE__ */ r(h, { className: "ttw:border-border", children: [
|
|
54
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[35%] ttw:text-sm ttw:truncate", children: t.name }),
|
|
55
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[55%] ttw:text-sm ttw:text-muted-foreground ttw:truncate", children: t.description || "—" }),
|
|
56
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[10%]", children: /* @__PURE__ */ e(z, { permissions: {
|
|
57
|
+
isUpdateAllowed: !0,
|
|
58
|
+
isDeleteAllowed: !0
|
|
59
|
+
}, onEdit: () => s(t), onDelete: () => L(t) }) })
|
|
60
|
+
] }, t.id))
|
|
61
|
+
] })
|
|
62
|
+
] })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ e(j, { open: x, id: a?.id, name: a?.name || "", isLoading: p, onClose: o, onDelete: U })
|
|
65
|
+
] });
|
|
69
66
|
};
|
|
70
67
|
export {
|
|
71
|
-
|
|
68
|
+
at as ManageMeasureUnitsForm
|
|
72
69
|
};
|
|
@@ -1,33 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} : e ? {
|
|
26
|
-
payment_terms_id: e
|
|
27
|
-
} : {};
|
|
28
|
-
}
|
|
1
|
+
const s = ({
|
|
2
|
+
lineItems: t,
|
|
3
|
+
paymentTermsId: a,
|
|
4
|
+
memo: o,
|
|
5
|
+
footer: n,
|
|
6
|
+
bankAccountId: r,
|
|
7
|
+
bankAccountType: m,
|
|
8
|
+
taxMode: d,
|
|
9
|
+
purchaseOrder: c,
|
|
10
|
+
taxRate: i
|
|
11
|
+
}) => ({
|
|
12
|
+
payment_terms_id: a,
|
|
13
|
+
line_items: (t ?? []).map((e) => ({
|
|
14
|
+
...e,
|
|
15
|
+
id: e.id || `temp-${Math.random().toString(36).substr(2, 9)}`
|
|
16
|
+
})),
|
|
17
|
+
memo: o,
|
|
18
|
+
footer: n,
|
|
19
|
+
bank_account_id: r,
|
|
20
|
+
bank_account_type: m,
|
|
21
|
+
tax_mode: d,
|
|
22
|
+
purchase_order: c || void 0,
|
|
23
|
+
tax_rate: i
|
|
24
|
+
});
|
|
29
25
|
export {
|
|
30
|
-
|
|
31
|
-
a as RECEIPT_DUE_PAYMENT_TERM,
|
|
32
|
-
_ as buildPaymentTermsPayload
|
|
26
|
+
s as buildInvoicePreviewData
|
|
33
27
|
};
|