@tesouro/embedded-components-react 0.2.111 → 0.2.112
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/index.css +16 -0
- package/dist/index.d.ts +2 -0
- package/dist/lib/ReceivablesWidget.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index5.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/index6.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index2.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/help-widget/ui/shadcn/dist/index2.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index12.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index16.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index5.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index6.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +99 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +57 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +73 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +6 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +8 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +11 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +12 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +23 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +14 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +120 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +11 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +48 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +49 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +11 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +15 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +141 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +54 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +70 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +27 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +3 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +62 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +39 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +82 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +23 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +20 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +21 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +19 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +27 -205
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +105 -415
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +67 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +11 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +12 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +26 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +96 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +101 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +14 -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 +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +75 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +55 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +196 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +14 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +78 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +27 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +112 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +68 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +189 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +31 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +111 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +131 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +18 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +19 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +20 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +183 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +12 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +50 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +5 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +88 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +7 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +40 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +45 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +201 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +424 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +60 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +398 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +68 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +406 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +100 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +25 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +7 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +12 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +12 -398
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +7 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +146 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +85 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +5 -2
- 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 +75 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +58 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +96 -17
- 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 +95 -246
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +191 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +42 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +58 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +29 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +113 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +21 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +54 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +484 -40
- 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 +156 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +35 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +341 -140
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +302 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +97 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +158 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +265 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +18 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +36 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index27.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +51 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +34 -491
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +66 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +345 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +2 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +17 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +9 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +11 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +11 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +12 -23
- 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 +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +36 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +33 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +15 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +244 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +25 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +39 -191
- 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 +54 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +50 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +30 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +96 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +139 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +102 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +9 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +71 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +44 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +27 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +38 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +58 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +110 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +86 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +62 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +159 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +28 -2
- 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 +29 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +78 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +66 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +22 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +32 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +14 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +14 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +79 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +76 -84
- 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 +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +19 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +40 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +21 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +16 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +19 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +171 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +127 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +159 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +7 -25
- 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 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +65 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +55 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +6 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +8 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +58 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +23 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +62 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +14 -22
- 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 +25 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +126 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +65 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +43 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +134 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +112 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +79 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +283 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +48 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +83 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +219 -128
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +35 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +9 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +11 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -8
- 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 +93 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +16 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +82 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +50 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +47 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +255 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +31 -33
- 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 +4 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +125 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +119 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +18 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +53 -10
- 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 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +69 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +11 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +95 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +36 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +35 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +44 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +39 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +35 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +43 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +22 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +66 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +93 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +36 -23
- 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 +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +9 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +10 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +66 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +43 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +28 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +22 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +18 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +65 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +19 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +15 -16
- 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 +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +17 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +66 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +34 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +21 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +53 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +33 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +5 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +72 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +67 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +35 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +85 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +105 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +111 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +26 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +36 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +39 -16
- 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 +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +38 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +46 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +70 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +67 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +32 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +56 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +54 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +20 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +28 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +69 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +38 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +39 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +83 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +52 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +51 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +55 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +30 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +35 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +14 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +93 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +15 -33
- 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 +75 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +9 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +19 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +7 -7
- 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 +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +8 -8
- 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 +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/ui/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/onboarding-widget/ui/dist/index6.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index4.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/profile-widget/ui/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index5.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index6.js +11 -11
- 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 +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index3.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index3.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index4.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/tags-widget/ui/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index11.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index12.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index13.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index15.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index16.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index6.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index4.js +29 -29
- package/dist/packages/shared-ui-shadcn/dist/index.js +892 -892
- package/package.json +1 -1
|
@@ -1,90 +1,23 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
className: t,
|
|
22
|
-
...a
|
|
23
|
-
}) {
|
|
24
|
-
return /* @__PURE__ */ e(o.Overlay, { "data-slot": "dialog-overlay", className: s("ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:fixed ttw:inset-0 ttw:z-1300 ttw:bg-black/50", t), ...a });
|
|
25
|
-
}
|
|
26
|
-
function N({
|
|
27
|
-
className: t,
|
|
28
|
-
children: a,
|
|
29
|
-
showCloseButton: r = !0,
|
|
30
|
-
fullScreen: i = !1,
|
|
31
|
-
container: l = typeof document < "u" ? document.body : null,
|
|
32
|
-
...d
|
|
33
|
-
}) {
|
|
34
|
-
return /* @__PURE__ */ n(u, { container: l, "data-slot": "dialog-portal", children: [
|
|
35
|
-
/* @__PURE__ */ e(g, {}),
|
|
36
|
-
/* @__PURE__ */ n(
|
|
37
|
-
o.Content,
|
|
38
|
-
{
|
|
39
|
-
"data-slot": "dialog-content",
|
|
40
|
-
className: s("ttw:bg-background ttw:data-[state=open]:animate-in ttw:data-[state=closed]:animate-out ttw:data-[state=closed]:fade-out-0 ttw:data-[state=open]:fade-in-0 ttw:data-[state=closed]:zoom-out-95 ttw:data-[state=open]:zoom-in-95 ttw:fixed ttw:top-[50%] ttw:left-[50%] ttw:z-1300 ttw:grid ttw:w-full ttw:max-w-[calc(100%-2rem)] ttw:translate-x-[-50%] ttw:translate-y-[-50%] ttw:gap-4 ttw:rounded-lg ttw:border ttw:p-6 ttw:shadow-lg ttw:duration-200 ttw:sm:max-w-lg", i && "ttw:border-none ttw:rounded-none ttw:h-screen ttw:max-w-screen ttw:sm:max-w-screen", t),
|
|
41
|
-
...d,
|
|
42
|
-
onCloseAutoFocus: (w) => {
|
|
43
|
-
w.preventDefault(), (l ?? document.body).style.pointerEvents = "";
|
|
44
|
-
},
|
|
45
|
-
children: [
|
|
46
|
-
a,
|
|
47
|
-
r && /* @__PURE__ */ n(o.Close, { "data-slot": "dialog-close", className: "ttw:ring-offset-background ttw:focus:ring-ring ttw:data-[state=open]:bg-accent ttw:data-[state=open]:text-muted-foreground ttw:absolute ttw:top-4 ttw:right-4 ttw:rounded-xs ttw:opacity-70 ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:ring-2 ttw:focus:ring-offset-2 ttw:focus:outline-hidden ttw:disabled:pointer-events-none ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", children: [
|
|
48
|
-
/* @__PURE__ */ e(c, {}),
|
|
49
|
-
/* @__PURE__ */ e("span", { className: "ttw:sr-only", children: "Close" })
|
|
50
|
-
] })
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
)
|
|
54
|
-
] });
|
|
55
|
-
}
|
|
56
|
-
function b({
|
|
57
|
-
className: t,
|
|
58
|
-
...a
|
|
59
|
-
}) {
|
|
60
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-header", className: s("ttw:flex ttw:flex-col ttw:gap-2 ttw:text-center ttw:sm:text-left", t), ...a });
|
|
61
|
-
}
|
|
62
|
-
function h({
|
|
63
|
-
className: t,
|
|
64
|
-
...a
|
|
65
|
-
}) {
|
|
66
|
-
return /* @__PURE__ */ e("div", { "data-slot": "dialog-footer", className: s("ttw:flex ttw:flex-col-reverse ttw:gap-2 ttw:sm:flex-row ttw:sm:justify-end", t), ...a });
|
|
67
|
-
}
|
|
68
|
-
function y({
|
|
69
|
-
className: t,
|
|
70
|
-
...a
|
|
71
|
-
}) {
|
|
72
|
-
return /* @__PURE__ */ e(o.Title, { "data-slot": "dialog-title", className: s("ttw:text-lg ttw:leading-none ttw:font-semibold", t), ...a });
|
|
73
|
-
}
|
|
74
|
-
function D({
|
|
75
|
-
className: t,
|
|
76
|
-
...a
|
|
77
|
-
}) {
|
|
78
|
-
return /* @__PURE__ */ e(o.Description, { "data-slot": "dialog-description", className: s("ttw:text-muted-foreground ttw:text-sm", t), ...a });
|
|
79
|
-
}
|
|
1
|
+
import { jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { memo as a } from "react";
|
|
3
|
+
import { useMoniteContext as m } from "./index57.js";
|
|
4
|
+
import { Skeleton as n } from "./index136.js";
|
|
5
|
+
import { Typography as s } from "./index85.js";
|
|
6
|
+
const c = a(({
|
|
7
|
+
unitId: e
|
|
8
|
+
}) => {
|
|
9
|
+
const {
|
|
10
|
+
api: r
|
|
11
|
+
} = m(), {
|
|
12
|
+
data: t,
|
|
13
|
+
isLoading: i
|
|
14
|
+
} = r.finops.getMeasureUnitsId.useQuery({
|
|
15
|
+
path: {
|
|
16
|
+
unit_id: e
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
return i ? /* @__PURE__ */ o(n, { className: "ttw:h-4 ttw:w-4" }) : t ? /* @__PURE__ */ o(s, { color: "muted", variant: "body2", children: t.name }) : null;
|
|
20
|
+
});
|
|
80
21
|
export {
|
|
81
|
-
|
|
82
|
-
v as DialogClose,
|
|
83
|
-
N as DialogContent,
|
|
84
|
-
D as DialogDescription,
|
|
85
|
-
h as DialogFooter,
|
|
86
|
-
b as DialogHeader,
|
|
87
|
-
g as DialogOverlay,
|
|
88
|
-
u as DialogPortal,
|
|
89
|
-
y as DialogTitle
|
|
22
|
+
c as MeasureUnit
|
|
90
23
|
};
|
|
@@ -1,39 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { LoadingSpinner as f } from "./index176.js";
|
|
3
|
-
import { Button as t } from "./index84.js";
|
|
4
|
-
import { Dialog as C, DialogContent as u, DialogHeader as D, DialogTitle as b, DialogDescription as w, DialogFooter as L } from "./index165.js";
|
|
5
|
-
import { useLingui as x } from "@lingui/react";
|
|
6
|
-
const N = ({
|
|
7
|
-
open: e,
|
|
8
|
-
title: l,
|
|
9
|
-
message: s,
|
|
10
|
-
children: c,
|
|
11
|
-
confirmLabel: d,
|
|
12
|
-
cancelLabel: m,
|
|
13
|
-
onClose: a,
|
|
14
|
-
onConfirm: p,
|
|
15
|
-
container: g,
|
|
16
|
-
isLoading: r = !1
|
|
17
|
-
}) => {
|
|
18
|
-
const {
|
|
19
|
-
i18n: h
|
|
20
|
-
} = x();
|
|
21
|
-
return /* @__PURE__ */ o(C, { open: e, onOpenChange: a, "aria-label": h._("Confirmation dialog"), children: /* @__PURE__ */ n(u, { container: g, showCloseButton: !1, children: [
|
|
22
|
-
/* @__PURE__ */ o(D, { children: /* @__PURE__ */ o(b, { children: l }) }),
|
|
23
|
-
/* @__PURE__ */ o(w, { children: s || c }),
|
|
24
|
-
/* @__PURE__ */ n(L, { children: [
|
|
25
|
-
/* @__PURE__ */ o(t, { onClick: (i) => {
|
|
26
|
-
i.stopPropagation(), a();
|
|
27
|
-
}, variant: "outline", children: m }),
|
|
28
|
-
/* @__PURE__ */ n(t, { onClick: (i) => {
|
|
29
|
-
i.stopPropagation(), p();
|
|
30
|
-
}, disabled: r, variant: "destructive", children: [
|
|
31
|
-
r && /* @__PURE__ */ o(f, { className: "ttw:w-5 ttw:h-5 ttw:border-inherit ttw:border-t-transparent" }),
|
|
32
|
-
d
|
|
33
|
-
] })
|
|
34
|
-
] })
|
|
35
|
-
] }) });
|
|
36
|
-
};
|
|
1
|
+
const E = "search";
|
|
37
2
|
export {
|
|
38
|
-
|
|
3
|
+
E as FILTER_TYPE_SEARCH
|
|
39
4
|
};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { useMoniteContext as
|
|
2
|
-
const
|
|
1
|
+
import { useMoniteContext as r } from "./index57.js";
|
|
2
|
+
const u = (e, t = !0) => {
|
|
3
3
|
const {
|
|
4
|
-
api:
|
|
5
|
-
} =
|
|
6
|
-
return
|
|
4
|
+
api: o
|
|
5
|
+
} = r();
|
|
6
|
+
return o.finops.getProducts.useQuery({
|
|
7
|
+
query: e
|
|
8
|
+
}, {
|
|
9
|
+
enabled: t
|
|
10
|
+
});
|
|
7
11
|
};
|
|
8
12
|
export {
|
|
9
|
-
|
|
13
|
+
u as useGetProducts
|
|
10
14
|
};
|
|
@@ -1,49 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { RemindersSection as y } from "./index303.js";
|
|
10
|
-
const j = ({
|
|
11
|
-
paymentTerms: n,
|
|
12
|
-
disabled: i,
|
|
13
|
-
isPaymentTermsLoading: d
|
|
1
|
+
import { jsx as e, jsxs as n } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Button as s } from "./index84.js";
|
|
3
|
+
import { Sheet as a, SheetContent as i, SheetHeader as d, SheetTitle as h, SheetDescription as l, SheetFooter as m } from "./index134.js";
|
|
4
|
+
import { useLingui as c } from "@lingui/react";
|
|
5
|
+
import { ManageMeasureUnitsForm as p } from "./index312.js";
|
|
6
|
+
const x = ({
|
|
7
|
+
handleClose: r,
|
|
8
|
+
open: o
|
|
14
9
|
}) => {
|
|
15
10
|
const {
|
|
16
|
-
i18n:
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
/* @__PURE__ */ t(l, { variant: "h4", children: r._("Billing details") }),
|
|
23
|
-
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:font-medium", children: r._("What are the billing terms?") })
|
|
11
|
+
i18n: t
|
|
12
|
+
} = c();
|
|
13
|
+
return /* @__PURE__ */ e(a, { open: o, onOpenChange: r, children: /* @__PURE__ */ n(i, { side: "right", className: "ttw:gap-0 ttw:p-0", children: [
|
|
14
|
+
/* @__PURE__ */ n(d, { className: "ttw:border-b ttw:border-border", children: [
|
|
15
|
+
/* @__PURE__ */ e(h, { children: t._("Manage measure units") }),
|
|
16
|
+
/* @__PURE__ */ e(l, { hidden: !0, children: t._("Manage measure units") })
|
|
24
17
|
] }),
|
|
25
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */ t(c, { paymentTerms: n, disabled: i, isLoading: d }),
|
|
29
|
-
/* @__PURE__ */ t(w, { name: "purchase_order", control: s, render: ({
|
|
30
|
-
field: a,
|
|
31
|
-
fieldState: {
|
|
32
|
-
error: o
|
|
33
|
-
}
|
|
34
|
-
}) => /* @__PURE__ */ t(f, { children: /* @__PURE__ */ e(h, { children: [
|
|
35
|
-
/* @__PURE__ */ e(u, { htmlFor: a.name, className: "ttw:text-nowrap", children: [
|
|
36
|
-
r._("PO Number"),
|
|
37
|
-
/* @__PURE__ */ t(l, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: r._("(optional)") })
|
|
38
|
-
] }),
|
|
39
|
-
/* @__PURE__ */ t(g, { ...a, id: a.name, disabled: i, "aria-invalid": !!o }),
|
|
40
|
-
/* @__PURE__ */ t(b, { errors: o ? [o] : [] })
|
|
41
|
-
] }) }) })
|
|
42
|
-
] }),
|
|
43
|
-
/* @__PURE__ */ t(y, { disabled: i })
|
|
44
|
-
] })
|
|
45
|
-
] });
|
|
18
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex-1 ttw:overflow-y-auto ttw:px-6 ttw:py-4", children: /* @__PURE__ */ e(p, {}) }),
|
|
19
|
+
/* @__PURE__ */ e(m, { className: "ttw:border-t ttw:border-border ttw:flex-row ttw:justify-end", children: /* @__PURE__ */ e(s, { onClick: r, children: t._("Done") }) })
|
|
20
|
+
] }) });
|
|
46
21
|
};
|
|
47
22
|
export {
|
|
48
|
-
|
|
23
|
+
x as ManageMeasureUnits
|
|
49
24
|
};
|
|
@@ -1,52 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { Field as d, FieldContent as c, FieldLabel as m, FieldDescription as h, FieldError as p } from "./index194.js";
|
|
6
|
-
import { Textarea as u } from "./index122.js";
|
|
7
|
-
const _ = ({
|
|
8
|
-
disabled: n
|
|
9
|
-
}) => {
|
|
1
|
+
import { useMoniteContext as i } from "./index57.js";
|
|
2
|
+
import { useLingui as a } from "@lingui/react";
|
|
3
|
+
import { toast as s } from "react-hot-toast";
|
|
4
|
+
const m = (r) => {
|
|
10
5
|
const {
|
|
6
|
+
api: e,
|
|
7
|
+
queryClient: n
|
|
8
|
+
} = i(), {
|
|
11
9
|
i18n: t
|
|
12
|
-
} =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
error: o
|
|
24
|
-
}
|
|
25
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
26
|
-
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
27
|
-
t._("Opening note to the customer"),
|
|
28
|
-
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., As discussed on our call, please find the attached invoice."), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
31
|
-
/* @__PURE__ */ e(h, { children: t._("Appears above your line items. Use it to reference a discussion, agreement, or project.") }),
|
|
32
|
-
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
33
|
-
] }) }) }),
|
|
34
|
-
/* @__PURE__ */ e(s, { name: "footer", control: l, render: ({
|
|
35
|
-
field: r,
|
|
36
|
-
fieldState: {
|
|
37
|
-
error: o
|
|
38
|
-
}
|
|
39
|
-
}) => /* @__PURE__ */ e(d, { children: /* @__PURE__ */ a(c, { children: [
|
|
40
|
-
/* @__PURE__ */ a(m, { htmlFor: r.name, className: "ttw:text-nowrap", children: [
|
|
41
|
-
t._("Closing note to the customer"),
|
|
42
|
-
/* @__PURE__ */ e(i, { variant: "body2", color: "muted", className: "ttw:leading-snug", children: t._("(optional)") })
|
|
43
|
-
] }),
|
|
44
|
-
/* @__PURE__ */ e(u, { ...r, id: r.name, disabled: n, placeholder: t._("e.g., Thank you for your business!"), className: "ttw:h-26 ttw:resize-none", "aria-invalid": !!o }),
|
|
45
|
-
/* @__PURE__ */ e(h, { children: t._("Appears below your line items. Commonly used for thank you messages or payment instructions.") }),
|
|
46
|
-
/* @__PURE__ */ e(p, { errors: o ? [o] : [] })
|
|
47
|
-
] }) }) })
|
|
48
|
-
] });
|
|
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
|
+
}));
|
|
16
|
+
},
|
|
17
|
+
onError: () => {
|
|
18
|
+
s.error(t._("Failed to create"));
|
|
19
|
+
}
|
|
20
|
+
});
|
|
49
21
|
};
|
|
50
22
|
export {
|
|
51
|
-
|
|
23
|
+
m as useCreateProduct
|
|
52
24
|
};
|
|
@@ -1,207 +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
|
-
}) => {
|
|
27
|
-
const {
|
|
28
|
-
i18n: r
|
|
29
|
-
} = tt(), {
|
|
30
|
-
watch: F,
|
|
31
|
-
setValue: h,
|
|
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] = _([]), [H, b] = _(!1), [X, x] = _(!1), A = y(0), f = y(!1);
|
|
45
|
-
N(() => (f.current = !1, () => {
|
|
46
|
-
f.current = !0;
|
|
47
|
-
}), []);
|
|
48
|
-
const v = 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 || v.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 = v.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));
|
|
82
|
-
}
|
|
83
|
-
}, D = (t) => {
|
|
84
|
-
if (t.length === 0) return;
|
|
85
|
-
const i = w("attachments") ?? [], a = m.filter((o) => o.status === "uploading").length;
|
|
86
|
-
let d = dt - i.length - a;
|
|
87
|
-
const s = [];
|
|
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);
|
|
117
|
-
}
|
|
118
|
-
s.length > 0 && p((o) => [...o, ...s]), b(E);
|
|
119
|
-
}, V = (t, i) => {
|
|
120
|
-
h("attachments", (w("attachments") ?? []).map((a) => a.id === t ? {
|
|
121
|
-
...a,
|
|
122
|
-
include_in_email: i
|
|
123
|
-
} : a), {
|
|
124
|
-
shouldDirty: !0
|
|
125
|
-
});
|
|
126
|
-
}, q = (t) => {
|
|
127
|
-
h("attachments", (w("attachments") ?? []).filter((i) => i.id !== t), {
|
|
128
|
-
shouldDirty: !0
|
|
129
|
-
}), b(!1), I({
|
|
130
|
-
path: {
|
|
131
|
-
file_id: t
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
}, Y = (t) => {
|
|
135
|
-
m.some((i) => i.localId === t && i.status === "uploading") && v.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:items-center ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-muted ttw:p-3", 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
|
-
} })
|
|
203
|
-
] });
|
|
204
|
-
};
|
|
1
|
+
import { CurrencyEnumSchema as t } from "./index315.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
|
+
});
|
|
205
26
|
export {
|
|
206
|
-
|
|
27
|
+
m as getMeasureUnitValidationSchema,
|
|
28
|
+
n as getProductValidationSchema
|
|
207
29
|
};
|