@tesouro/embedded-components-react 0.2.7 → 0.2.16
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/README.md +5 -4
- package/dist/index.css +102 -20
- package/dist/index.d.ts +88 -2
- package/dist/lib/ReceivablesWidget.js +27 -26
- package/dist/lib/TeamWidget.d.ts +88 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +194 -176
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +28 -27
- 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/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/index119.js +2 -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/index121.js +10 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +4 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -1271
- 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 +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +1270 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +7 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +26 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +75 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +33 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +32 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +26 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +121 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +44 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +44 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +15 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +11 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +150 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +53 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +71 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +29 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +61 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +39 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +78 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +57 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +24 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +88 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +101 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +13 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +13 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +26 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +17 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +17 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +11 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +17 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +27 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +114 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +65 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +12 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +12 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +35 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +75 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +52 -58
- 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 +194 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +73 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +28 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +38 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +251 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +176 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +12 -33
- 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 +111 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +84 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +105 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +100 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +54 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +88 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +48 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +45 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +115 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +236 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +31 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +121 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +56 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +64 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +12 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +19 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +45 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +89 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +99 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +7 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +32 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +101 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +6 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +6 -100
- 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 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +214 -6
- 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 +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +36 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +29 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +77 -2
- 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 +32 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +144 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +86 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +20 -342
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +183 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +20 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +22 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +51 -261
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +28 -24
- 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 +58 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +17 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +73 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +44 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +14 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +70 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +87 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +41 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +51 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +62 -59
- 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 +157 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +28 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +26 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +78 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +67 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +37 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +345 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +301 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +103 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +155 -73
- 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 +265 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +24 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +22 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +12 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +21 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +486 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +156 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +2 -63
- 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 +93 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +95 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +190 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +27 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +123 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +32 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +39 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +46 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +38 -57
- 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 +34 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +6 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +102 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +27 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +33 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +56 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +18 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +14 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +23 -295
- 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 +38 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +52 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +98 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +47 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +37 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +17 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +56 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +12 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +89 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +120 -45
- 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 +34 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +16 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +12 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +38 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +42 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +8 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +19 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +32 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +62 -19
- 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 +29 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +113 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +40 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +53 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +15 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +18 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +170 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +129 -58
- 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 +156 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +10 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +61 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +60 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +6 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +59 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +22 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +59 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +14 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +13 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +24 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +40 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +53 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +96 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +108 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +83 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +60 -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 +45 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +187 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +106 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +81 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +285 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +44 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +86 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +218 -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 +255 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +46 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +48 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +111 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +65 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +113 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +43 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +11 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +7 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +50 -58
- 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 +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +23 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +32 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +20 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +49 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +4 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +19 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +53 -37
- 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 +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +26 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +34 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +9 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +66 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +47 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +24 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +31 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +4 -49
- 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 +183 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +126 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +94 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +36 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +9 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +36 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +56 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +11 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +33 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +19 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +70 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +94 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +35 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +65 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +13 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +13 -11
- 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 +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +12 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +66 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +24 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +103 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +110 -36
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +72 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +66 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +141 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +20 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +75 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +29 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +24 -19
- 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 +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +33 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +85 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +21 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +93 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +75 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +55 -14
- 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 +70 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +21 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +74 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +81 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +54 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +29 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +40 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +47 -29
- 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 +55 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +50 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +34 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +50 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +40 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +33 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +14 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +51 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +57 -14
- 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 +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +31 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +56 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +36 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +11 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +67 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +51 -46
- 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 +52 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +40 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +18 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +47 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +8 -68
- 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/onboarding-widget/data-access/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/data-access/dist/index5.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/feature/dist/index2.js +156 -158
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +46 -45
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +193 -201
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +260 -208
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index10.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index11.js +25 -23
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index12.js +107 -57
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index13.js +12 -104
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index15.js +51 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index16.js +53 -36
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index17.js +98 -56
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index18.js +12 -104
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index20.js +51 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index21.js +68 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index22.js +110 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index3.js +37 -22
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index4.js +19 -134
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index5.js +161 -43
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index6.js +28 -18
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index7.js +59 -45
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index8.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index9.js +47 -12
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index10.js +269 -37
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index11.js +92 -143
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index12.js +176 -33
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index13.js +36 -131
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index14.js +131 -12
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index15.js +80 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index16.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index2.js +341 -240
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index3.js +19 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index6.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index7.js +110 -65
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index8.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/team-widget/feature/dist/index9.js +80 -110
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index10.js +281 -151
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index11.js +58 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index12.js +54 -146
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index13.js +175 -15
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index14.js +8 -58
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index15.js +269 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index16.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index17.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index18.js +15 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index19.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index2.js +33 -38
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index3.js +55 -126
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index4.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index5.js +332 -14
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index6.js +93 -99
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index7.js +13 -14
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index8.js +86 -277
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index9.js +15 -48
- package/package.json +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +0 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +0 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +0 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +0 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +0 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +0 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +0 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +0 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +0 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +0 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +0 -10
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/data-access/dist/index6.js +0 -20
- package/dist/libs/tesouro-embedded-components-react/team-widget/data-access/dist/index14.js +0 -18
|
@@ -1,254 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { CreateInvoiceReminderDialog as ve } from "./index199.js";
|
|
6
|
-
import { EditInvoiceReminderDialog as ye } from "./index201.js";
|
|
7
|
-
import { RemindersSection as ge } from "./index202.js";
|
|
8
|
-
import { INVOICE_DOCUMENT_AUTO_ID as be } from "./index335.js";
|
|
9
|
-
import { useInvoiceReminderDialogs as he } from "./index209.js";
|
|
10
|
-
import { useMeasureUnitsMapping as xe } from "./index351.js";
|
|
11
|
-
import { useUpdateReceivable as we } from "./index352.js";
|
|
12
|
-
import { useUpdateReceivableLineItems as Ce } from "./index353.js";
|
|
13
|
-
import { useLineItemSubmitCleanup as De } from "./index206.js";
|
|
14
|
-
import { useCounterpartById as $e } from "./index72.js";
|
|
15
|
-
import "@tanstack/react-query";
|
|
16
|
-
import "./index59.js";
|
|
17
|
-
import { useCounterpartAddresses as Ie } from "./index74.js";
|
|
18
|
-
import { format as Re } from "date-fns";
|
|
19
|
-
import { useMyEntity as Me } from "./index80.js";
|
|
20
|
-
import { useMemo as N, useState as U, useCallback as Se, useId as Ne } from "react";
|
|
21
|
-
import "react-hot-toast";
|
|
22
|
-
import { useLingui as Ue } from "@lingui/react";
|
|
23
|
-
import { rateMinorToMajor as k, rateMajorToMinor as ke } from "./index210.js";
|
|
24
|
-
import { ConfirmationModal as Te } from "./index271.js";
|
|
25
|
-
import { Dialog as Ee, DialogContent as Fe, DialogHeader as Le, DialogTitle as Pe, DialogDescription as Oe, DialogClose as je } from "./index190.js";
|
|
26
|
-
import { Button as T } from "./index86.js";
|
|
27
|
-
import { zodResolver as Ve } from "@hookform/resolvers/zod";
|
|
28
|
-
import { useForm as qe, FormProvider as Ae } from "react-hook-form";
|
|
29
|
-
import { X as Be } from "lucide-react";
|
|
30
|
-
import { InvoicePreview as ze } from "./index196.js";
|
|
31
|
-
import { useGetPaymentTerms as Ge } from "./index354.js";
|
|
32
|
-
import { useGetMeasureUnits as He } from "./index212.js";
|
|
33
|
-
import { CreateProduct as Xe } from "./index46.js";
|
|
34
|
-
const Mt = (e) => /* @__PURE__ */ a(Ye, { ...e }), Ye = ({
|
|
35
|
-
invoice: e,
|
|
36
|
-
onCancel: _,
|
|
37
|
-
onUpdated: E,
|
|
38
|
-
isOpen: F
|
|
39
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as i } from "./index59.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as s } from "react-hot-toast";
|
|
4
|
+
const m = (r) => {
|
|
40
5
|
const {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
/** Customer section */
|
|
52
|
-
counterpart_id: e.counterpart_id,
|
|
53
|
-
default_shipping_address_id: e.counterpart_shipping_address?.id ?? "",
|
|
54
|
-
default_billing_address_id: e.counterpart_billing_address?.id ?? "",
|
|
55
|
-
/** Entity section */
|
|
56
|
-
fulfillment_date: e.fulfillment_date ? new Date(e.fulfillment_date) : null,
|
|
57
|
-
purchase_order: e.purchase_order ?? "",
|
|
58
|
-
footer: e.footer ?? "",
|
|
59
|
-
/** Items section */
|
|
60
|
-
tax_rate: (() => {
|
|
61
|
-
const t = e.line_items.find((r) => r.product.tax_rate?.value !== void 0);
|
|
62
|
-
return t ? String(k(t.product.tax_rate.value ?? 0)) : void 0;
|
|
63
|
-
})(),
|
|
64
|
-
line_items: e.line_items.map((t) => {
|
|
65
|
-
const r = t.product.measure_unit?.name, d = t.product.measure_unit?.id;
|
|
66
|
-
return {
|
|
67
|
-
quantity: t.quantity,
|
|
68
|
-
product_id: t.product.id,
|
|
69
|
-
taxable: t.tax_status === "taxable",
|
|
70
|
-
product: {
|
|
71
|
-
name: t.product.name,
|
|
72
|
-
price: e.tax_mode === "inclusive" ? t.product.price_after_tax : t.product.price,
|
|
73
|
-
// Get measure_unit_id directly from the API response if available
|
|
74
|
-
measure_unit_id: d && d !== "" ? d : void 0,
|
|
75
|
-
// Store the measure unit name separately for custom units
|
|
76
|
-
measure_unit_name: !d && r ? r : void 0,
|
|
77
|
-
type: t.product.type || "product"
|
|
78
|
-
},
|
|
79
|
-
// For custom measure units that don't have an ID but have a name
|
|
80
|
-
measure_unit: !d && r ? {
|
|
81
|
-
name: r,
|
|
82
|
-
id: null
|
|
83
|
-
} : void 0,
|
|
84
|
-
tax_rate_value: t.product.tax_rate.value !== void 0 ? k(t.product.tax_rate.value) : void 0
|
|
85
|
-
};
|
|
86
|
-
}),
|
|
87
|
-
memo: e.memo ?? "",
|
|
88
|
-
/** Payment section */
|
|
89
|
-
bank_account_id: e.bank_account_id ?? "",
|
|
90
|
-
payment_terms_id: e.payment_terms?.id ?? "",
|
|
91
|
-
/** Reminders section */
|
|
92
|
-
payment_reminder_id: e.payment_reminder_id ?? "",
|
|
93
|
-
overdue_reminder_id: e.overdue_reminder_id ?? "",
|
|
94
|
-
tax_mode: e.tax_mode ?? "exclusive"
|
|
95
|
-
}), [e]), y = qe({
|
|
96
|
-
resolver: Ve(fe(o)),
|
|
97
|
-
defaultValues: V
|
|
98
|
-
}), p = e.currency, {
|
|
99
|
-
handleSubmit: q,
|
|
100
|
-
formState: {
|
|
101
|
-
isDirty: g
|
|
6
|
+
api: e,
|
|
7
|
+
queryClient: n
|
|
8
|
+
} = i(), {
|
|
9
|
+
i18n: t
|
|
10
|
+
} = a();
|
|
11
|
+
return e.finops.postProducts.useMutation(void 0, {
|
|
12
|
+
onSuccess: async (o) => {
|
|
13
|
+
r?.(o), await e.finops.getProducts.invalidateQueries(n), s.success(t._("{name} has been added to the list.", {
|
|
14
|
+
name: o.name
|
|
15
|
+
}));
|
|
102
16
|
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
reset: A,
|
|
106
|
-
watch: n
|
|
107
|
-
} = y, {
|
|
108
|
-
registerLineItemCleanupFn: B,
|
|
109
|
-
runLineItemCleanup: z
|
|
110
|
-
} = De();
|
|
111
|
-
xe(v, b, A);
|
|
112
|
-
const [G, x] = U(!1), [w, f] = U(!1), H = Se(() => {
|
|
113
|
-
if (!g) {
|
|
114
|
-
_();
|
|
115
|
-
return;
|
|
17
|
+
onError: () => {
|
|
18
|
+
s.error(t._("Failed to create"));
|
|
116
19
|
}
|
|
117
|
-
x(!0);
|
|
118
|
-
}, [g, _]), C = Ce(e.id), D = we(e.id), X = n("line_items"), Y = n("payment_terms_id"), J = n("fulfillment_date"), K = n("memo"), Q = n("footer"), W = n("purchase_order"), Z = n("bank_account_id"), ee = n("tax_mode"), te = n("tax_rate"), $ = n("counterpart_id"), I = n("default_billing_address_id"), {
|
|
119
|
-
data: re
|
|
120
|
-
} = $e($), {
|
|
121
|
-
data: R
|
|
122
|
-
} = Ie($), ae = N(() => R?.data?.find((t) => t.id === I), [I, R?.data]), u = C.isPending || D.isPending || P || j, M = `Monite-Form-receivablesDetailsForm-${Ne()}`, {
|
|
123
|
-
createReminderDialog: S,
|
|
124
|
-
editReminderDialog: l,
|
|
125
|
-
onCreateReminder: ie,
|
|
126
|
-
onEditOverdueReminder: ne,
|
|
127
|
-
onEditPaymentReminder: oe,
|
|
128
|
-
closeCreateReminderDialog: de,
|
|
129
|
-
closeUpdateReminderDialog: me
|
|
130
|
-
} = he({
|
|
131
|
-
getValues: b
|
|
132
20
|
});
|
|
133
|
-
return /* @__PURE__ */ m(ce, { children: [
|
|
134
|
-
/* @__PURE__ */ a(Ee, { open: F, modal: !1, children: /* @__PURE__ */ m(Fe, { fullScreen: !0, showCloseButton: !1, className: "ttw:flex", onInteractOutside: (t) => t.preventDefault(), children: [
|
|
135
|
-
/* @__PURE__ */ m("div", { className: "ttw:flex-1/2 ttw:overflow-y-auto ttw:pr-14", children: [
|
|
136
|
-
/* @__PURE__ */ m(Le, { className: "ttw:flex-row ttw:justify-between ttw:bg-white ttw:pb-4 ttw:sticky ttw:top-0 ttw:z-9999", children: [
|
|
137
|
-
/* @__PURE__ */ a(Pe, { className: "ttw:sr-only", children: o._("Edit invoice") }),
|
|
138
|
-
/* @__PURE__ */ a(Oe, { className: "ttw:sr-only", children: o._("Edit invoice") }),
|
|
139
|
-
/* @__PURE__ */ a(je, { asChild: !0, children: /* @__PURE__ */ a(T, { variant: "ghost", onClick: H, disabled: u, "aria-label": o._("Close"), children: /* @__PURE__ */ a(Be, {}) }) }),
|
|
140
|
-
/* @__PURE__ */ a(T, { type: "submit", form: M, disabled: u, children: o._("Update") })
|
|
141
|
-
] }),
|
|
142
|
-
/* @__PURE__ */ a(Ae, { ...y, children: /* @__PURE__ */ a("form", { id: M, noValidate: !0, onSubmit: async (t) => {
|
|
143
|
-
t.preventDefault(), z(), await q((r) => {
|
|
144
|
-
const d = {
|
|
145
|
-
data: r.line_items.filter((i) => !!i.product?.name?.trim()).map((i) => {
|
|
146
|
-
const s = i;
|
|
147
|
-
let c;
|
|
148
|
-
if (s.product.measure_unit_id) {
|
|
149
|
-
const ue = s.product.measure_unit_id;
|
|
150
|
-
c = v?.data?.find((le) => le.id === ue)?.name;
|
|
151
|
-
} else (s.product.measure_unit_name || s.measure_unit?.name) && (c = s.product.measure_unit_name || s.measure_unit?.name);
|
|
152
|
-
return {
|
|
153
|
-
quantity: i.quantity,
|
|
154
|
-
tax_status: i.taxable ? "taxable" : "non_taxable",
|
|
155
|
-
product: {
|
|
156
|
-
name: i.product.name,
|
|
157
|
-
type: i.product.type,
|
|
158
|
-
measure_unit: c ? {
|
|
159
|
-
name: c
|
|
160
|
-
} : void 0,
|
|
161
|
-
price: i.product.price ? {
|
|
162
|
-
currency: i.product.price.currency ?? "USD",
|
|
163
|
-
value: Math.round(i.product.price.value ?? 0)
|
|
164
|
-
} : void 0
|
|
165
|
-
},
|
|
166
|
-
tax_rate_value: i.taxable && r.tax_rate !== void 0 ? ke(Number(r.tax_rate)) : void 0
|
|
167
|
-
};
|
|
168
|
-
})
|
|
169
|
-
}, se = {
|
|
170
|
-
invoice: {
|
|
171
|
-
/** Customer section */
|
|
172
|
-
counterpart_id: r.counterpart_id,
|
|
173
|
-
currency: p,
|
|
174
|
-
memo: r.memo,
|
|
175
|
-
// @ts-expect-error - we need to send `null`, but the backend doesn't provide a correct type
|
|
176
|
-
counterpart_shipping_address_id: r?.default_shipping_address_id || null,
|
|
177
|
-
counterpart_billing_address_id: r?.default_billing_address_id,
|
|
178
|
-
/** We shouldn't send an empty string to the server if the value is not set */
|
|
179
|
-
bank_account_id: e.bank_account_id,
|
|
180
|
-
bank_account_type: e.bank_account_type,
|
|
181
|
-
payment_terms_id: r.payment_terms_id,
|
|
182
|
-
// @ts-expect-error - we need to send `null`, but the backend doesn't provide a correct type
|
|
183
|
-
fulfillment_date: r.fulfillment_date ? (
|
|
184
|
-
/**
|
|
185
|
-
* We have to change the date as Backend accepts it.
|
|
186
|
-
* There is no `time` in request, only year, month and date
|
|
187
|
-
*/
|
|
188
|
-
Re(r.fulfillment_date, "yyyy-MM-dd")
|
|
189
|
-
) : null,
|
|
190
|
-
// @ts-expect-error - we need to send `null`, but the backend doesn't provide a correct type
|
|
191
|
-
payment_reminder_id: r.payment_reminder_id || null,
|
|
192
|
-
// @ts-expect-error - we need to send `null`, but the backend doesn't provide a correct type
|
|
193
|
-
overdue_reminder_id: r.overdue_reminder_id || null
|
|
194
|
-
/** !!! Note !!! Backend is not supported to edit `purchase_order` so we have to remove it */
|
|
195
|
-
// purchase_order: values.purchase_order || undefined,
|
|
196
|
-
}
|
|
197
|
-
};
|
|
198
|
-
C.mutate(d, {
|
|
199
|
-
onSuccess: () => {
|
|
200
|
-
D.mutate(se, {
|
|
201
|
-
onSuccess: (i) => {
|
|
202
|
-
E(i);
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
})(t);
|
|
208
|
-
}, className: "ttw:mb-14", children: /* @__PURE__ */ m("div", { className: "ttw:flex ttw:flex-col ttw:gap-8", children: [
|
|
209
|
-
/* @__PURE__ */ m("h1", { className: "ttw:text-2xl ttw:font-bold", children: [
|
|
210
|
-
o._("Invoice"),
|
|
211
|
-
" ",
|
|
212
|
-
/* @__PURE__ */ m("span", { className: "ttw:text-gray-500", children: [
|
|
213
|
-
"#",
|
|
214
|
-
e.document_id ?? be
|
|
215
|
-
] })
|
|
216
|
-
] }),
|
|
217
|
-
/* @__PURE__ */ a(pe, { actualCurrency: p, registerLineItemCleanupFn: B, handleOpenCreateProductDialog: () => f(!0) }),
|
|
218
|
-
/* @__PURE__ */ a(_e, { disabled: u, hidden: ["purchase_order"], visibleFields: {
|
|
219
|
-
isFooterShown: typeof e.footer == "string" && e.footer?.trim() !== "",
|
|
220
|
-
isPurchaseOrderShown: typeof e.purchase_order == "string" && e.purchase_order?.trim() !== ""
|
|
221
|
-
} }),
|
|
222
|
-
/* @__PURE__ */ a(ge, { disabled: u, onUpdateOverdueReminder: ne, onUpdatePaymentReminder: oe, onCreateReminder: ie })
|
|
223
|
-
] }) }) })
|
|
224
|
-
] }),
|
|
225
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex-1/2 ttw:w-1/2", children: /* @__PURE__ */ a(ze, { invoiceData: {
|
|
226
|
-
payment_terms_id: Y,
|
|
227
|
-
line_items: (X || []).map((t) => ({
|
|
228
|
-
...t,
|
|
229
|
-
id: t.id || `temp-${Math.random().toString(36).substr(2, 9)}`
|
|
230
|
-
})),
|
|
231
|
-
fulfillment_date: J,
|
|
232
|
-
memo: K,
|
|
233
|
-
footer: Q,
|
|
234
|
-
bank_account_id: Z,
|
|
235
|
-
bank_account_type: e.bank_account_type,
|
|
236
|
-
tax_mode: ee,
|
|
237
|
-
purchase_order: W || void 0,
|
|
238
|
-
tax_rate: te
|
|
239
|
-
}, counterpart: re, currency: p, entityData: L, address: ae, paymentTerms: O }) })
|
|
240
|
-
] }) }),
|
|
241
|
-
w && /* @__PURE__ */ a(Xe, { open: w, onClose: () => f(!1), onCreated: () => f(!1) }),
|
|
242
|
-
/* @__PURE__ */ a(Te, { open: G, title: o._("Cancel without saving?"), message: o._("There are unsaved changes. If you leave, they will be lost."), confirmLabel: o._("Yes"), cancelLabel: o._("No"), onClose: () => x(!1), onConfirm: _ }),
|
|
243
|
-
/* @__PURE__ */ a(ve, { open: S.open, reminderType: S.reminderType, onClose: de, onCreate: ({
|
|
244
|
-
reminderId: t,
|
|
245
|
-
reminderType: r
|
|
246
|
-
}) => {
|
|
247
|
-
r === "payment" ? h("payment_reminder_id", t) : r === "overdue" && h("overdue_reminder_id", t);
|
|
248
|
-
} }),
|
|
249
|
-
l.reminderId && /* @__PURE__ */ a(ye, { open: l.open, reminderId: l.reminderId, reminderType: l.reminderType, onClose: me })
|
|
250
|
-
] });
|
|
251
21
|
};
|
|
252
22
|
export {
|
|
253
|
-
|
|
23
|
+
m as useCreateProduct
|
|
254
24
|
};
|
|
@@ -1,185 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const Ye = (t) => {
|
|
27
|
-
const {
|
|
28
|
-
i18n: n
|
|
29
|
-
} = R(), {
|
|
30
|
-
data: a,
|
|
31
|
-
isLoading: m
|
|
32
|
-
} = ne(), {
|
|
33
|
-
data: o,
|
|
34
|
-
isLoading: b
|
|
35
|
-
} = se(t.invoiceId), {
|
|
36
|
-
entityName: s,
|
|
37
|
-
isLoading: l
|
|
38
|
-
} = ae(), {
|
|
39
|
-
data: g,
|
|
40
|
-
isLoading: i
|
|
41
|
-
} = oe(o?.counterpart_id), {
|
|
42
|
-
data: u
|
|
43
|
-
} = ie(o?.counterpart_id), r = _e(g, u), I = r?.email ?? "", p = r && a ? n._(`Hi {firstName},
|
|
44
|
-
|
|
45
|
-
Please find the invoice attached as discussed.
|
|
46
|
-
|
|
47
|
-
Kind Regards,
|
|
48
|
-
{senderName}`, {
|
|
49
|
-
firstName: r.first_name,
|
|
50
|
-
senderName: a.first_name
|
|
51
|
-
}) : n._(`Please find the invoice attached as discussed.
|
|
52
|
-
|
|
53
|
-
Kind Regards,
|
|
54
|
-
{senderName}`, {
|
|
55
|
-
senderName: a?.first_name ?? ""
|
|
56
|
-
}), _ = o && s ? o.document_id ? n._("Invoice {documentId} from {entityName}", {
|
|
57
|
-
documentId: o.document_id,
|
|
58
|
-
entityName: s
|
|
59
|
-
}) : n._("Invoice from {entityName}", {
|
|
60
|
-
entityName: s
|
|
61
|
-
}) : "";
|
|
62
|
-
return /* @__PURE__ */ e(te, { children: /* @__PURE__ */ e(Pe, { ...t, to: I, body: p, subject: _, isLoading: i || b || m || l, isIssued: o?.status !== "draft", isOpen: t.isOpen }) });
|
|
63
|
-
}, d = {
|
|
64
|
-
Edit: "form",
|
|
65
|
-
Preview: "preview"
|
|
66
|
-
}, Pe = ({
|
|
67
|
-
invoiceId: t,
|
|
68
|
-
subject: n,
|
|
69
|
-
body: a,
|
|
70
|
-
to: m,
|
|
71
|
-
isLoading: o,
|
|
72
|
-
isIssued: b,
|
|
73
|
-
onClose: s,
|
|
74
|
-
onSendEmail: l,
|
|
75
|
-
isOpen: g
|
|
76
|
-
}) => {
|
|
77
|
-
const {
|
|
78
|
-
i18n: i
|
|
79
|
-
} = R(), {
|
|
80
|
-
api: u,
|
|
81
|
-
entityId: r
|
|
82
|
-
} = ee(), {
|
|
83
|
-
control: I,
|
|
84
|
-
handleSubmit: p,
|
|
85
|
-
getValues: _,
|
|
86
|
-
trigger: T,
|
|
87
|
-
reset: S
|
|
88
|
-
} = X({
|
|
89
|
-
resolver: me(be(i)),
|
|
90
|
-
defaultValues: q(() => ({
|
|
91
|
-
subject: n,
|
|
92
|
-
body: a,
|
|
93
|
-
to: m
|
|
94
|
-
}), [n, a, m])
|
|
95
|
-
}), {
|
|
96
|
-
subject: A,
|
|
97
|
-
body: F
|
|
98
|
-
} = _();
|
|
99
|
-
J(() => {
|
|
100
|
-
S({
|
|
101
|
-
subject: n,
|
|
102
|
-
body: a,
|
|
103
|
-
to: m
|
|
104
|
-
});
|
|
105
|
-
}, [a, S, n, m]);
|
|
106
|
-
const C = xe(t), x = Ce(t), E = u.finops.postPaymentLinks.useMutation({}), {
|
|
107
|
-
data: P
|
|
108
|
-
} = u.finops.getEntitiesIdPaymentMethods.useQuery({
|
|
109
|
-
path: {
|
|
110
|
-
entity_id: r
|
|
111
|
-
}
|
|
112
|
-
}), [f, k] = U(d.Edit), w = `Monite-Form-emailInvoiceDetails-${W()}`, O = Y((L) => {
|
|
113
|
-
L.preventDefault();
|
|
114
|
-
const G = E.mutateAsync, H = x.mutateAsync, K = C.mutate;
|
|
115
|
-
p(async (v) => {
|
|
116
|
-
const M = P ? P.data.filter(({
|
|
117
|
-
status: N,
|
|
118
|
-
direction: z
|
|
119
|
-
}) => N === "active" && z === "receive") : [];
|
|
120
|
-
M.length === 0 ? Z.error(i._("You haven't onboarded for any payment method. Invoice is issued without a payment link.")) : (await H(void 0), await G({
|
|
121
|
-
recipient: {
|
|
122
|
-
id: r,
|
|
123
|
-
type: "entity"
|
|
124
|
-
},
|
|
125
|
-
payment_methods: M.map((N) => N.type),
|
|
126
|
-
object: {
|
|
127
|
-
id: t,
|
|
128
|
-
type: "receivable"
|
|
129
|
-
}
|
|
130
|
-
}));
|
|
131
|
-
const V = {
|
|
132
|
-
body_text: v.body,
|
|
133
|
-
subject_text: v.subject,
|
|
134
|
-
recipients: v.to ? {
|
|
135
|
-
to: [v.to]
|
|
136
|
-
} : void 0
|
|
137
|
-
};
|
|
138
|
-
K(V, {
|
|
139
|
-
onSuccess: () => {
|
|
140
|
-
l?.(t), s();
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
})(L);
|
|
144
|
-
}, [E.mutateAsync, x.mutateAsync, p, i, t, r, s, l, P, C.mutate]), y = x.isPending || C.isPending || E.isPending, B = "Monite-EmailInvoiceDetails", h = f == d.Preview;
|
|
145
|
-
return /* @__PURE__ */ c(ue, { open: g, fullScreen: !0, onClose: s, children: [
|
|
146
|
-
/* @__PURE__ */ e(pe, { className: B + "-Title", children: /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ c(D, { container: !0, children: [
|
|
147
|
-
/* @__PURE__ */ e(D, { item: !0, xs: 6, children: /* @__PURE__ */ c($, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
148
|
-
f == d.Edit && /* @__PURE__ */ c(Q, { children: [
|
|
149
|
-
/* @__PURE__ */ e(j, { variant: "text", color: "primary", onClick: s, startIcon: /* @__PURE__ */ e(ce, {}), disabled: y, "data-testid": "back-button", children: i._("Back") }),
|
|
150
|
-
/* @__PURE__ */ e(ye, { variant: "h3", children: i._("Compose email") })
|
|
151
|
-
] }),
|
|
152
|
-
h && /* @__PURE__ */ e(de, { edge: "start", color: "inherit", onClick: () => {
|
|
153
|
-
k(d.Edit);
|
|
154
|
-
}, "aria-label": i._("Back to edit"), "data-testid": "close-preview-button", children: /* @__PURE__ */ e(le, {}) })
|
|
155
|
-
] }) }),
|
|
156
|
-
/* @__PURE__ */ e(D, { item: !0, xs: 6, children: /* @__PURE__ */ c($, { direction: "row", alignItems: "center", justifyContent: "end", spacing: 2, children: [
|
|
157
|
-
f == d.Edit && /* @__PURE__ */ e(j, { variant: "outlined", color: "primary", type: "button", form: w, disabled: y || o, onClick: async () => {
|
|
158
|
-
await T() && k(d.Preview);
|
|
159
|
-
}, "data-testid": "preview-button", children: i._("Preview email") }),
|
|
160
|
-
/* @__PURE__ */ e(j, { variant: "contained", color: "primary", type: "submit", form: w, disabled: y || o, "data-testid": "issue-and-send-button", children: b ? i._("Send") : i._("Issue and Send") })
|
|
161
|
-
] }) })
|
|
162
|
-
] }) }) }),
|
|
163
|
-
/* @__PURE__ */ e(he, { className: B + "-Content", sx: {
|
|
164
|
-
mt: h ? 0 : 4,
|
|
165
|
-
p: h ? 0 : "0 32px 32px 32px",
|
|
166
|
-
height: "100%",
|
|
167
|
-
width: "100%",
|
|
168
|
-
display: "flex",
|
|
169
|
-
flexDirection: "column"
|
|
170
|
-
}, children: /* @__PURE__ */ c(ge, { formName: w, handleIssueAndSend: O, style: {
|
|
171
|
-
display: "flex",
|
|
172
|
-
flexDirection: "column",
|
|
173
|
-
flex: 1,
|
|
174
|
-
minHeight: 0,
|
|
175
|
-
width: "100%"
|
|
176
|
-
}, children: [
|
|
177
|
-
o ? /* @__PURE__ */ e(re, { className: "Monite-LoadingPage", children: /* @__PURE__ */ e(ve, {}) }) : f == d.Edit && /* @__PURE__ */ e(Ie, { invoiceId: t, control: I, isDisabled: y }),
|
|
178
|
-
h && /* @__PURE__ */ e(Ee, { invoiceId: t, body: F, subject: A })
|
|
179
|
-
] }) })
|
|
180
|
-
] });
|
|
181
|
-
};
|
|
1
|
+
import { CurrencyEnumSchema as t } from "./index325.js";
|
|
2
|
+
import { z as r } from "zod";
|
|
3
|
+
const n = (e) => r.object({
|
|
4
|
+
name: r.string().trim().min(1, e._("Product name is required")).max(100, e._("Product name must be 100 characters or less")).meta({
|
|
5
|
+
title: e._("Product Name")
|
|
6
|
+
}),
|
|
7
|
+
type: r.enum(["product", "service"], e._("Product type is required")).meta({
|
|
8
|
+
title: e._("Type")
|
|
9
|
+
}),
|
|
10
|
+
pricePerUnit: r.number().min(0, e._("Price per unit must be 0 or greater")).meta({
|
|
11
|
+
title: e._("Price Per Unit")
|
|
12
|
+
}),
|
|
13
|
+
currency: t.meta({
|
|
14
|
+
title: e._("Currency")
|
|
15
|
+
}),
|
|
16
|
+
description: r.string().trim().max(280, e._("Description must be 280 characters or less")).optional().meta({
|
|
17
|
+
title: e._("Description")
|
|
18
|
+
}),
|
|
19
|
+
measureUnitId: r.string().optional().meta({
|
|
20
|
+
title: e._("Unit")
|
|
21
|
+
})
|
|
22
|
+
}), m = (e) => r.object({
|
|
23
|
+
name: r.string().trim().min(1, e._("Unit label is required")),
|
|
24
|
+
description: r.string().trim().optional()
|
|
25
|
+
});
|
|
182
26
|
export {
|
|
183
|
-
|
|
184
|
-
|
|
27
|
+
m as getMeasureUnitValidationSchema,
|
|
28
|
+
n as getProductValidationSchema
|
|
185
29
|
};
|
|
@@ -1,16 +1,119 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { jsxs as r, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRef as L, useMemo as g, useCallback as P } from "react";
|
|
3
|
+
import { useCurrencies as U } from "./index60.js";
|
|
4
|
+
import "./index94.js";
|
|
5
|
+
import { useLingui as M } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index59.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { FieldLabel as w, Field as f, FieldContent as x, FieldError as p } from "./index160.js";
|
|
10
|
+
import { InputGroup as N, InputGroupAddon as y, InputGroupInput as T, InputGroupTextarea as E } from "./index103.js";
|
|
11
|
+
import { Input as A } from "./index121.js";
|
|
12
|
+
import { Label as C } from "./index326.js";
|
|
13
|
+
import { RadioGroup as B, RadioGroupItem as _ } from "./index327.js";
|
|
14
|
+
import { Typography as d } from "./index87.js";
|
|
15
|
+
import { Combobox as R, ComboboxInput as V, ComboboxContent as j, ComboboxList as z, ComboboxEmpty as D, ComboboxCollection as W, ComboboxItem as H } from "./index92.js";
|
|
16
|
+
import { useFormContext as q, Controller as s } from "react-hook-form";
|
|
17
|
+
import { twMerge as l } from "tailwind-merge";
|
|
18
|
+
import "react-hot-toast";
|
|
19
|
+
import { useGetMeasureUnits as J } from "./index223.js";
|
|
20
|
+
const wt = ({
|
|
21
|
+
isLoading: i,
|
|
22
|
+
isEditMode: c,
|
|
23
|
+
isProduct: F
|
|
24
|
+
}) => {
|
|
3
25
|
const {
|
|
4
|
-
|
|
5
|
-
} =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
26
|
+
i18n: a
|
|
27
|
+
} = M(), {
|
|
28
|
+
getSymbolFromCurrency: I
|
|
29
|
+
} = U(), u = L(null), {
|
|
30
|
+
data: G
|
|
31
|
+
} = J(), m = G?.data ?? [], {
|
|
32
|
+
control: n,
|
|
33
|
+
formState: {
|
|
34
|
+
errors: S
|
|
9
35
|
}
|
|
10
|
-
},
|
|
11
|
-
|
|
12
|
-
|
|
36
|
+
} = q(), k = g(() => m.map((t) => t.id), [m]), h = g(() => new Map(m.map((t) => [t.id, t.name])), [m]), b = P((t) => h.get(t) ?? t, [h]);
|
|
37
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4", children: [
|
|
38
|
+
c && /* @__PURE__ */ e("div", { className: "ttw:flex ttw:items-center ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border", children: /* @__PURE__ */ e(d, { variant: "body1", className: "ttw:font-medium", children: a._("Editing {type} details", {
|
|
39
|
+
type: F ? "product" : "service"
|
|
40
|
+
}) }) }),
|
|
41
|
+
/* @__PURE__ */ e(s, { name: "type", control: n, render: ({
|
|
42
|
+
field: t
|
|
43
|
+
}) => /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
44
|
+
/* @__PURE__ */ e(w, { children: a._("Type") }),
|
|
45
|
+
/* @__PURE__ */ r(B, { className: "ttw:flex", value: t.value, disabled: i, onValueChange: t.onChange, children: [
|
|
46
|
+
/* @__PURE__ */ r("div", { className: l("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", t.value === "product" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
|
|
47
|
+
/* @__PURE__ */ e(_, { value: "product", id: "type-product", className: l(t.value === "product" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: l(t.value === "product" && "ttw:fill-white"), disabled: i }),
|
|
48
|
+
/* @__PURE__ */ r(C, { htmlFor: "type-product", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
|
|
49
|
+
/* @__PURE__ */ e(d, { variant: "body2", className: "ttw:leading-3.5", children: a._("Product") }),
|
|
50
|
+
/* @__PURE__ */ e(d, { variant: "caption", color: "muted", children: a._("A physical or digital item") })
|
|
51
|
+
] })
|
|
52
|
+
] }),
|
|
53
|
+
/* @__PURE__ */ r("div", { className: l("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", t.value === "service" && "ttw:bg-primary/10 ttw:border-primary/30"), children: [
|
|
54
|
+
/* @__PURE__ */ e(_, { value: "service", id: "type-service", className: l(t.value === "service" ? "ttw:bg-primary" : "ttw:bg-white"), dotClassName: l(t.value === "service" && "ttw:fill-white"), disabled: i }),
|
|
55
|
+
/* @__PURE__ */ r(C, { htmlFor: "type-service", className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5", children: [
|
|
56
|
+
/* @__PURE__ */ e(d, { variant: "body2", className: "ttw:leading-3.5", children: a._("Service") }),
|
|
57
|
+
/* @__PURE__ */ e(d, { variant: "caption", color: "muted", children: a._("Work or labor you provide") })
|
|
58
|
+
] })
|
|
59
|
+
] })
|
|
60
|
+
] })
|
|
61
|
+
] }) }),
|
|
62
|
+
/* @__PURE__ */ e(s, { name: "name", control: n, render: ({
|
|
63
|
+
field: t,
|
|
64
|
+
fieldState: {
|
|
65
|
+
error: o
|
|
66
|
+
}
|
|
67
|
+
}) => /* @__PURE__ */ e(f, { children: /* @__PURE__ */ r(x, { children: [
|
|
68
|
+
/* @__PURE__ */ e(w, { htmlFor: t.name, children: a._("Name") }),
|
|
69
|
+
/* @__PURE__ */ e(A, { ...t, id: t.name, placeholder: a._("e.g. House blend espresso beans"), className: c ? "ttw:bg-white" : "", disabled: i, "aria-invalid": !!o || void 0 }),
|
|
70
|
+
/* @__PURE__ */ e(p, { errors: [o] })
|
|
71
|
+
] }) }) }),
|
|
72
|
+
/* @__PURE__ */ r("div", { className: "ttw:w-1/2 ttw:flex ttw:flex-col ttw:gap-1.5", children: [
|
|
73
|
+
/* @__PURE__ */ e(w, { children: a._("Price per unit") }),
|
|
74
|
+
/* @__PURE__ */ r("div", { className: l("ttw:flex ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow]", "ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-[3px] ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20", c && "ttw:bg-white"), ref: u, children: [
|
|
75
|
+
/* @__PURE__ */ e(s, { name: "pricePerUnit", control: n, render: ({
|
|
76
|
+
field: t,
|
|
77
|
+
fieldState: {
|
|
78
|
+
error: o
|
|
79
|
+
}
|
|
80
|
+
}) => /* @__PURE__ */ r(N, { className: "ttw:flex-1 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0", children: [
|
|
81
|
+
/* @__PURE__ */ e(y, { align: "inline-start", children: I("USD") }),
|
|
82
|
+
/* @__PURE__ */ e(T, { type: "number", name: t.name, ref: t.ref, value: t.value ?? "", onChange: (v) => t.onChange(v.target.value === "" ? void 0 : Number(v.target.value)), className: "ttw:text-end", onBlur: t.onBlur, placeholder: "0.00", "aria-invalid": !!o || void 0, disabled: i })
|
|
83
|
+
] }) }),
|
|
84
|
+
/* @__PURE__ */ e("div", { className: "ttw:w-px ttw:shrink-0 ttw:bg-border" }),
|
|
85
|
+
/* @__PURE__ */ e(s, { name: "measureUnitId", control: n, render: ({
|
|
86
|
+
field: t
|
|
87
|
+
}) => /* @__PURE__ */ r(R, { value: t.value ?? null, onValueChange: (o) => t.onChange(o ?? void 0), items: k, itemToStringLabel: b, disabled: i, children: [
|
|
88
|
+
/* @__PURE__ */ e(V, { showClear: !!t.value, placeholder: "-", disabled: i, className: "ttw:w-28 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0" }),
|
|
89
|
+
/* @__PURE__ */ e(j, { container: u.current, children: /* @__PURE__ */ r(z, { children: [
|
|
90
|
+
/* @__PURE__ */ e(D, { children: a._("No units found") }),
|
|
91
|
+
/* @__PURE__ */ e(W, { children: (o) => /* @__PURE__ */ e(H, { value: o, children: b(o) }, o) })
|
|
92
|
+
] }) })
|
|
93
|
+
] }) })
|
|
94
|
+
] }),
|
|
95
|
+
/* @__PURE__ */ e(p, { errors: [S.pricePerUnit] })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ e(s, { name: "description", control: n, render: ({
|
|
98
|
+
field: t,
|
|
99
|
+
fieldState: {
|
|
100
|
+
error: o
|
|
101
|
+
}
|
|
102
|
+
}) => /* @__PURE__ */ e(f, { className: "ttw:block", children: /* @__PURE__ */ r(x, { children: [
|
|
103
|
+
/* @__PURE__ */ r(w, { htmlFor: t.name, className: "ttw:gap-1", children: [
|
|
104
|
+
a._("Description"),
|
|
105
|
+
/* @__PURE__ */ e(d, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: a._("(optional)") })
|
|
106
|
+
] }),
|
|
107
|
+
/* @__PURE__ */ r(N, { className: l(c && "ttw:bg-white"), children: [
|
|
108
|
+
/* @__PURE__ */ e(E, { ...t, id: t.name, placeholder: a._("e.g. 16oz whole bean, medium-dark roast, ground to order"), rows: 4, maxLength: 280, disabled: i, "aria-invalid": !!o || void 0 }),
|
|
109
|
+
/* @__PURE__ */ e(y, { align: "block-end", className: "ttw:cursor-default", children: /* @__PURE__ */ e(d, { variant: "caption", color: "muted", className: "ttw:leading-none", children: a._("{count}/280 characters", {
|
|
110
|
+
count: (t.value ?? "").length
|
|
111
|
+
}) }) })
|
|
112
|
+
] }),
|
|
113
|
+
/* @__PURE__ */ e(p, { errors: [o] })
|
|
114
|
+
] }) }) })
|
|
115
|
+
] });
|
|
13
116
|
};
|
|
14
117
|
export {
|
|
15
|
-
|
|
118
|
+
wt as ProductFormContent
|
|
16
119
|
};
|