@tesouro/embedded-components-react 0.2.197 → 0.2.200
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 +6 -5
- package/dist/index.d.ts +11 -2
- package/dist/lib/CounterpartsWidget.d.ts +8 -0
- package/dist/lib/InvoicingWidget.d.ts +3 -2
- package/dist/lib/ReceivablesWidget.js +26 -26
- package/dist/lib/monite-sdk.d.ts +3 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index13.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index16.js +3 -13
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index17.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +39 -34
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index2.js +138 -136
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +148 -134
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +35 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +23 -1269
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +1270 -32
- 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 +60 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +398 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +69 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +406 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +18 -10
- 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 +79 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +38 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +20 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +19 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +79 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +6 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +22 -15
- 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 +27 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +110 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +31 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +7 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +14 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +12 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +29 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +10 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +21 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +14 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +10 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +118 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +217 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +46 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +11 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +144 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +55 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +71 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +27 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +3 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +61 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +96 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +57 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +9 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +46 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +75 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +57 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +14 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +26 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +76 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +28 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +40 -27
- 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 +7 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +228 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +464 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +102 -462
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +527 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +23 -528
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +93 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +100 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +35 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +2 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +100 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +12 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +10 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +214 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +35 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +50 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +82 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +33 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +66 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +361 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +117 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +6 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +17 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +9 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +11 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +20 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +22 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +56 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +26 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +37 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +37 -34
- 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 +15 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +29 -355
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +17 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +110 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +12 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +19 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +38 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +57 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +50 -12
- 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 +30 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +45 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +137 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +105 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +37 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +48 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +5 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +76 -11
- 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 +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +64 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +149 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +10 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +17 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +7 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +21 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +44 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +72 -108
- 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 +34 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +22 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +56 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +29 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +60 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +17 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +39 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +340 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +301 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +86 -474
- 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 +155 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +266 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +25 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +5 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +2 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +92 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +96 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +212 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +62 -111
- 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 +158 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +27 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +27 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +78 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +19 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +29 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +38 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +59 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +95 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +110 -158
- 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 +88 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +25 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +125 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +49 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +119 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +109 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +47 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +198 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +70 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +15 -74
- 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 +41 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +76 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +76 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +41 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +14 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +168 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +126 -103
- 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 +158 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +10 -203
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +18 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +62 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +66 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +58 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +6 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +9 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +56 -156
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +22 -10
- 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 +62 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +14 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +483 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +163 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +40 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +59 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +28 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +118 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +22 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +44 -14
- 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 +56 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +28 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +126 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +29 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +4 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +31 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +29 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +30 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +13 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +6 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +11 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +12 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +23 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +47 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -27
- 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 +48 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +8 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +48 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +44 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +22 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +27 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +23 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +73 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +96 -10
- 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 +36 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +10 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +66 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +45 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +20 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +96 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +32 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +30 -118
- 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 +32 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +127 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +7 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +54 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +17 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +5 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +53 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +36 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +38 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +64 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +18 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +14 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +20 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +9 -62
- 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 +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +66 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +116 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +80 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +10 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +9 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +83 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +17 -2
- 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 +83 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +266 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +39 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +60 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +42 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +138 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +92 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +278 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +47 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +15 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +122 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +18 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +16 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +16 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +71 -282
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +16 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +3 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +11 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +20 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +29 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +48 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +39 -94
- 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 +42 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +37 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +13 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +54 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +93 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +15 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +20 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +9 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +54 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +70 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +21 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +18 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +48 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +31 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +33 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +32 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +85 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +22 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +101 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +107 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +69 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +68 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +34 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +11 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +22 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +38 -11
- 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 +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +74 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +84 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +49 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +54 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +29 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +39 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +44 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +49 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +81 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +38 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +38 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +20 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index6.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +26 -26
- package/package.json +1 -1
|
@@ -1,28 +1,72 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { useLingui as
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { jsx as i, jsxs as c } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCurrencies as v } from "./index58.js";
|
|
3
|
+
import { useId as P, useMemo as U, useCallback as h } from "react";
|
|
4
|
+
import "./index92.js";
|
|
5
|
+
import { useLingui as g } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { zodResolver as x } from "@hookform/resolvers/zod";
|
|
10
|
+
import { Button as u } from "./index84.js";
|
|
11
|
+
import { LoadingSpinner as S } from "./index148.js";
|
|
12
|
+
import { useForm as _, FormProvider as C } from "react-hook-form";
|
|
13
|
+
import { useUpdateProduct as F } from "./index270.js";
|
|
14
|
+
import { getProductValidationSchema as N } from "./index150.js";
|
|
15
|
+
import { ProductFormContent as I } from "./index151.js";
|
|
16
|
+
const A = ({
|
|
17
|
+
product: r,
|
|
18
|
+
handleClose: l,
|
|
19
|
+
onUpdate: d
|
|
20
|
+
}) => {
|
|
21
|
+
const {
|
|
22
|
+
i18n: o
|
|
23
|
+
} = g(), {
|
|
24
|
+
formatToMinorUnits: m,
|
|
25
|
+
formatFromMinorUnits: s
|
|
26
|
+
} = v(), f = `product-edit-form-${P()}`, {
|
|
27
|
+
mutate: p,
|
|
28
|
+
isPending: n
|
|
29
|
+
} = F(r.id), w = U(() => ({
|
|
30
|
+
name: r.name,
|
|
31
|
+
type: r.type ?? "product",
|
|
32
|
+
pricePerUnit: s(r.price?.value, r.price?.currency) ?? void 0,
|
|
33
|
+
currency: r.price?.currency ?? "USD",
|
|
34
|
+
description: r.description ?? "",
|
|
35
|
+
measureUnitId: r.measure_unit_id ?? void 0
|
|
36
|
+
}), [r.name, r.type, r.price?.value, r.price?.currency, r.description, r.measure_unit_id, s]), t = _({
|
|
37
|
+
resolver: x(N(o)),
|
|
38
|
+
defaultValues: w
|
|
39
|
+
}), y = h((a) => {
|
|
40
|
+
a.preventDefault(), a.stopPropagation(), t.handleSubmit((e) => {
|
|
41
|
+
p({
|
|
42
|
+
name: e.name,
|
|
43
|
+
type: e.type,
|
|
44
|
+
price: {
|
|
45
|
+
value: m(e.pricePerUnit, e.currency) ?? e.pricePerUnit,
|
|
46
|
+
currency: e.currency
|
|
47
|
+
},
|
|
48
|
+
description: e.description,
|
|
49
|
+
...e.measureUnitId ? {
|
|
50
|
+
measure_unit_id: e.measureUnitId
|
|
51
|
+
} : {}
|
|
52
|
+
}, {
|
|
53
|
+
onSuccess: (b) => {
|
|
54
|
+
d?.(b);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
})(a);
|
|
58
|
+
}, [p, m, d, t.handleSubmit]);
|
|
59
|
+
return /* @__PURE__ */ i(C, { ...t, children: /* @__PURE__ */ c("form", { id: f, onSubmit: y, className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:p-4 ttw:border ttw:border-primary ttw:rounded-[10px] ttw:bg-zinc-100", children: [
|
|
60
|
+
/* @__PURE__ */ i(I, { isLoading: n, isProduct: r?.type === "product", isEditMode: !0 }),
|
|
61
|
+
/* @__PURE__ */ c("div", { className: "ttw:flex ttw:gap-4 ttw:pt-6", children: [
|
|
62
|
+
/* @__PURE__ */ i(u, { type: "button", variant: "outline", className: "ttw:border-border ttw:flex-1", onClick: l, children: o._("Cancel") }),
|
|
63
|
+
/* @__PURE__ */ c(u, { type: "submit", className: "ttw:flex-1", disabled: n || !t.formState.isDirty, children: [
|
|
64
|
+
n && /* @__PURE__ */ i(S, { className: "ttw:border-white ttw:border-t-transparent ttw:size-4" }),
|
|
65
|
+
o._("Save")
|
|
22
66
|
] })
|
|
23
|
-
] })
|
|
24
|
-
] });
|
|
67
|
+
] })
|
|
68
|
+
] }) });
|
|
25
69
|
};
|
|
26
70
|
export {
|
|
27
|
-
|
|
71
|
+
A as ProductEditForm
|
|
28
72
|
};
|
|
@@ -1,59 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import { X as u } from "lucide-react";
|
|
7
|
-
const b = p("ttw:relative ttw:w-full ttw:rounded-lg ttw:pl-4 ttw:pt-3 ttw:pr-3 ttw:pb-4 ttw:flex ttw:items-start ttw:gap-4", {
|
|
8
|
-
variants: {
|
|
9
|
-
variant: {
|
|
10
|
-
default: "ttw:bg-background ttw:text-foreground",
|
|
11
|
-
info: "ttw:bg-blue-50 ttw:text-blue-900 ttw:dark:bg-blue-950 ttw:dark:text-blue-100",
|
|
12
|
-
warning: "ttw:bg-yellow-50 ttw:text-yellow-900 ttw:dark:bg-yellow-950 ttw:dark:text-yellow-100",
|
|
13
|
-
error: "ttw:bg-red-50 ttw:text-red-900 ttw:dark:bg-red-950 ttw:dark:text-red-100",
|
|
14
|
-
success: "ttw:bg-green-50 ttw:text-green-900 ttw:dark:bg-green-950 ttw:dark:text-green-100"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
defaultVariants: {
|
|
18
|
-
variant: "default"
|
|
19
|
-
}
|
|
20
|
-
}), x = ({
|
|
21
|
-
className: r,
|
|
22
|
-
variant: a,
|
|
23
|
-
icon: t,
|
|
24
|
-
children: w,
|
|
25
|
-
ref: n,
|
|
26
|
-
onClose: s,
|
|
27
|
-
enableClose: i = !0,
|
|
28
|
-
...o
|
|
29
|
-
}) => {
|
|
30
|
-
const [d, m] = g(!1);
|
|
31
|
-
return d ? null : /* @__PURE__ */ c("div", { ref: n, role: "alert", className: l(b({
|
|
32
|
-
variant: a
|
|
33
|
-
}), r), ...o, children: [
|
|
34
|
-
t && /* @__PURE__ */ e("div", { className: "ttw:shrink-0 ttw:h-8 ttw:w-8 ttw:mt-1", children: t }),
|
|
35
|
-
/* @__PURE__ */ e("div", { className: "ttw:flex-1", children: w }),
|
|
36
|
-
i && /* @__PURE__ */ e(f, { variant: "ghost", size: "icon", className: "ttw:h-8 ttw:w-8 ttw:rounded-md ttw:bg-transparent ttw:opacity-70 ttw:hover:opacity-100", onClick: () => {
|
|
37
|
-
s && s(), m(!0);
|
|
38
|
-
}, "aria-label": "Close alert", children: /* @__PURE__ */ e(u, {}) })
|
|
39
|
-
] });
|
|
40
|
-
};
|
|
41
|
-
x.displayName = "Alert";
|
|
42
|
-
const h = ({
|
|
43
|
-
className: r,
|
|
44
|
-
ref: a,
|
|
1
|
+
import { jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as d } from "./index100.js";
|
|
3
|
+
import * as a from "@radix-ui/react-dropdown-menu";
|
|
4
|
+
import "lucide-react";
|
|
5
|
+
function u({
|
|
45
6
|
...t
|
|
46
|
-
})
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
ref: a,
|
|
7
|
+
}) {
|
|
8
|
+
return /* @__PURE__ */ e(a.Root, { "data-slot": "dropdown-menu", ...t });
|
|
9
|
+
}
|
|
10
|
+
function c({
|
|
51
11
|
...t
|
|
52
|
-
})
|
|
53
|
-
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ e(a.Trigger, { "data-slot": "dropdown-menu-trigger", ...t });
|
|
14
|
+
}
|
|
15
|
+
function m({
|
|
16
|
+
className: t,
|
|
17
|
+
sideOffset: o = 4,
|
|
18
|
+
...n
|
|
19
|
+
}) {
|
|
20
|
+
return /* @__PURE__ */ e(a.Portal, { children: /* @__PURE__ */ e(a.Content, { "data-slot": "dropdown-menu-content", sideOffset: o, className: d("ttw:bg-popover ttw:text-popover-foreground 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:data-[side=bottom]:slide-in-from-top-2 ttw:data-[side=left]:slide-in-from-right-2 ttw:data-[side=right]:slide-in-from-left-2 ttw:data-[side=top]:slide-in-from-bottom-2 ttw:z-1300 ttw:max-h-(--radix-dropdown-menu-content-available-height) ttw:min-w-[8rem] ttw:origin-(--radix-dropdown-menu-content-transform-origin) ttw:overflow-x-hidden ttw:overflow-y-auto ttw:rounded-md ttw:border-none ttw:p-1 ttw:shadow-md", t), ...n }) });
|
|
21
|
+
}
|
|
22
|
+
function p({
|
|
23
|
+
className: t,
|
|
24
|
+
inset: o,
|
|
25
|
+
variant: n = "default",
|
|
26
|
+
...r
|
|
27
|
+
}) {
|
|
28
|
+
return /* @__PURE__ */ e(a.Item, { "data-slot": "dropdown-menu-item", "data-inset": o, "data-variant": n, className: d("ttw:focus:bg-accent ttw:focus:text-accent-foreground ttw:data-[variant=destructive]:text-destructive ttw:data-[variant=destructive]:focus:bg-destructive/10 ttw:dark:data-[variant=destructive]:focus:bg-destructive/20 ttw:data-[variant=destructive]:focus:text-destructive ttw:data-[variant=destructive]:*:[svg]:!text-destructive ttw:[&_svg:not([class*=text-])]:text-muted-foreground ttw:relative ttw:flex ttw:cursor-pointer ttw:items-center ttw:gap-2 ttw:rounded-sm ttw:px-2 ttw:py-1.5 ttw:text-sm ttw:outline-hidden ttw:select-none ttw:data-[disabled]:pointer-events-none ttw:data-[disabled]:opacity-50 ttw:data-[inset]:pl-8 ttw:[&_svg]:pointer-events-none ttw:[&_svg]:shrink-0 ttw:[&_svg:not([class*=size-])]:size-4", t), ...r });
|
|
29
|
+
}
|
|
54
30
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
31
|
+
u as DropdownMenu,
|
|
32
|
+
m as DropdownMenuContent,
|
|
33
|
+
p as DropdownMenuItem,
|
|
34
|
+
c as DropdownMenuTrigger
|
|
59
35
|
};
|
|
@@ -1,73 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import "radix-ui";
|
|
7
|
-
const u = w("ttw:group/field ttw:flex ttw:w-full ttw:gap-3 ttw:data-[invalid=true]:text-destructive", {
|
|
8
|
-
variants: {
|
|
9
|
-
orientation: {
|
|
10
|
-
vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
|
|
11
|
-
horizontal: ["flex-row items-center", "[&>[data-slot=field-label]]:flex-auto", "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"],
|
|
12
|
-
responsive: ["flex-col @md/field-group:flex-row @md/field-group:items-center [&>*]:w-full @md/field-group:[&>*]:w-auto [&>.sr-only]:w-auto", "@md/field-group:[&>[data-slot=field-label]]:flex-auto", "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"]
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
orientation: "vertical"
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
function N({
|
|
20
|
-
className: e,
|
|
21
|
-
orientation: t = "vertical",
|
|
22
|
-
...a
|
|
1
|
+
import { jsx as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "./index100.js";
|
|
3
|
+
function m({
|
|
4
|
+
className: t,
|
|
5
|
+
...e
|
|
23
6
|
}) {
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
orientation: t
|
|
26
|
-
}), e), ...a });
|
|
27
|
-
}
|
|
28
|
-
function k({
|
|
29
|
-
className: e,
|
|
30
|
-
...t
|
|
31
|
-
}) {
|
|
32
|
-
return /* @__PURE__ */ l("div", { "data-slot": "field-content", className: o("ttw:group/field-content ttw:flex ttw:flex-1 ttw:flex-col ttw:gap-1.5 ttw:leading-snug", e), ...t });
|
|
33
|
-
}
|
|
34
|
-
function y({
|
|
35
|
-
className: e,
|
|
36
|
-
required: t,
|
|
37
|
-
children: a,
|
|
38
|
-
...i
|
|
39
|
-
}) {
|
|
40
|
-
return /* @__PURE__ */ f(m, { "data-slot": "field-label", className: o("ttw:group/field-label ttw:peer/field-label ttw:flex ttw:w-fit ttw:items-center ttw:gap-2 ttw:leading-snug ttw:group-data-[disabled=true]/field:opacity-50", "ttw:has-[>[data-slot=field]]:w-full ttw:has-[>[data-slot=field]]:flex-col ttw:has-[>[data-slot=field]]:rounded-md ttw:has-[>[data-slot=field]]:border ttw:[&>*]:data-[slot=field]:p-4", "ttw:has-data-[state=checked]:border-primary ttw:has-data-[state=checked]:bg-primary/5 ttw:dark:has-data-[state=checked]:bg-primary/10", e), ...i, children: [
|
|
41
|
-
a,
|
|
42
|
-
t && /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "ttw:size-2 ttw:-ml-1 ttw:block ttw:-mt-1 ttw:rounded-full ttw:bg-destructive ttw:shrink-0" })
|
|
43
|
-
] });
|
|
44
|
-
}
|
|
45
|
-
function F({
|
|
46
|
-
className: e,
|
|
47
|
-
...t
|
|
48
|
-
}) {
|
|
49
|
-
return /* @__PURE__ */ l("p", { "data-slot": "field-description", className: o("ttw:text-sm ttw:leading-normal ttw:font-normal ttw:text-muted-foreground ttw:group-has-[[data-orientation=horizontal]]/field:text-balance", "ttw:last:mt-0 ttw:nth-last-2:-mt-1 ttw:[[data-variant=legend]+&]:-mt-1.5", "ttw:[&>a]:underline ttw:[&>a]:underline-offset-4 ttw:[&>a:hover]:text-primary", e), ...t });
|
|
50
|
-
}
|
|
51
|
-
function z({
|
|
52
|
-
className: e,
|
|
53
|
-
children: t,
|
|
54
|
-
errors: a,
|
|
55
|
-
...i
|
|
56
|
-
}) {
|
|
57
|
-
const d = c(() => {
|
|
58
|
-
if (t)
|
|
59
|
-
return t;
|
|
60
|
-
if (!a?.length)
|
|
61
|
-
return null;
|
|
62
|
-
const s = [...new Map(a.map((r) => [r?.message, r])).values()];
|
|
63
|
-
return s?.length == 1 ? s[0]?.message : /* @__PURE__ */ l("ul", { className: "ttw:ml-4 ttw:flex ttw:list-disc ttw:flex-col ttw:gap-1", children: s.map((r, n) => r?.message && /* @__PURE__ */ l("li", { children: r.message }, n)) });
|
|
64
|
-
}, [t, a]);
|
|
65
|
-
return d ? /* @__PURE__ */ l("div", { role: "alert", "data-slot": "field-error", className: o("ttw:text-sm ttw:font-normal ttw:text-destructive", e), ...i, children: d }) : null;
|
|
7
|
+
return /* @__PURE__ */ a("div", { "data-slot": "skeleton", className: n("ttw:bg-accent ttw:animate-pulse ttw:rounded-md", t), ...e });
|
|
66
8
|
}
|
|
67
9
|
export {
|
|
68
|
-
|
|
69
|
-
k as FieldContent,
|
|
70
|
-
F as FieldDescription,
|
|
71
|
-
z as FieldError,
|
|
72
|
-
y as FieldLabel
|
|
10
|
+
m as Skeleton
|
|
73
11
|
};
|
|
@@ -1,31 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
r(w, a.target.value);
|
|
16
|
-
}, disabled: n }),
|
|
17
|
-
/* @__PURE__ */ l(s, { defaultValue: "all", onValueChange: (a) => {
|
|
18
|
-
r(h, a);
|
|
19
|
-
}, children: [
|
|
20
|
-
/* @__PURE__ */ e(o, { className: "ttw:max-w-40 ttw:w-full", children: /* @__PURE__ */ e(c, {}) }),
|
|
21
|
-
/* @__PURE__ */ l(m, { children: [
|
|
22
|
-
/* @__PURE__ */ e(i, { value: "all", children: t._("All types") }),
|
|
23
|
-
/* @__PURE__ */ e(i, { value: "individual", children: t._("Individuals") }),
|
|
24
|
-
/* @__PURE__ */ e(i, { value: "organization", children: t._("Companies") })
|
|
25
|
-
] })
|
|
26
|
-
] })
|
|
27
|
-
] });
|
|
28
|
-
};
|
|
1
|
+
import { jsx as t, jsxs as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { CenteredContentBox as a } from "./index202.js";
|
|
3
|
+
import { SearchX as o } from "lucide-react";
|
|
4
|
+
import { Typography as r } from "./index85.js";
|
|
5
|
+
const d = ({
|
|
6
|
+
title: i,
|
|
7
|
+
description: s
|
|
8
|
+
}) => /* @__PURE__ */ t(a, { children: /* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-4", children: [
|
|
9
|
+
/* @__PURE__ */ t(o, { className: "ttw:text-destructive ttw:size-8" }),
|
|
10
|
+
/* @__PURE__ */ e("div", { className: "ttw:flex ttw:flex-col ttw:items-center ttw:gap-2", children: [
|
|
11
|
+
/* @__PURE__ */ t(r, { variant: "h4", children: i }),
|
|
12
|
+
/* @__PURE__ */ t(r, { variant: "body1", className: "ttw:text-center", children: s })
|
|
13
|
+
] })
|
|
14
|
+
] }) });
|
|
29
15
|
export {
|
|
30
|
-
|
|
16
|
+
d as NotFound
|
|
31
17
|
};
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { useMoniteContext as r } from "./index57.js";
|
|
2
|
+
const u = (t, e = !0) => {
|
|
3
|
+
const {
|
|
4
|
+
api: o
|
|
5
|
+
} = r();
|
|
6
|
+
return o.finops.getProductsId.useQuery({
|
|
7
|
+
path: {
|
|
8
|
+
product_id: t
|
|
9
|
+
}
|
|
10
|
+
}, {
|
|
11
|
+
enabled: e
|
|
12
|
+
});
|
|
13
|
+
};
|
|
2
14
|
export {
|
|
3
|
-
|
|
4
|
-
T as FILTER_TYPE_TYPE
|
|
15
|
+
u as useGetProductById
|
|
5
16
|
};
|
|
@@ -1,66 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
for (let r = e.length - 1; r >= 0; r--)
|
|
13
|
-
t += e.charCodeAt(r);
|
|
14
|
-
return t % 5;
|
|
15
|
-
}, k = ({
|
|
16
|
-
name: e,
|
|
17
|
-
country: t,
|
|
18
|
-
city: r,
|
|
19
|
-
isLoading: i
|
|
20
|
-
}) => {
|
|
21
|
-
const {
|
|
22
|
-
i18n: h
|
|
23
|
-
} = u();
|
|
24
|
-
!e && !i && (e = h._("Unspecified"));
|
|
25
|
-
const n = e.split(" "), l = (n.length >= 2 ? n[0][0] + n[n.length - 1][0] : e[0] || "").toUpperCase();
|
|
26
|
-
return /* @__PURE__ */ o(c, { className: "Monite-CounterpartCell", direction: "row", alignItems: "center", spacing: 1.5, justifyContent: "stretch", sx: {
|
|
27
|
-
maxWidth: "100%",
|
|
28
|
-
overflow: "hidden"
|
|
29
|
-
}, children: [
|
|
30
|
-
i ? /* @__PURE__ */ a(s, { animation: "wave", variant: "circular", width: 40, height: 40, sx: {
|
|
31
|
-
flexShrink: 0
|
|
32
|
-
} }) : /* @__PURE__ */ a(x, { className: "MuiAvatar-colored MuiAvatar-" + f(l), children: l }),
|
|
33
|
-
i || !e ? /* @__PURE__ */ a(s, { animation: "wave", height: 10, width: "100%", sx: {
|
|
34
|
-
flexShrink: 0,
|
|
35
|
-
minWidth: "4em"
|
|
36
|
-
} }) : /* @__PURE__ */ o(c, { direction: "column", alignItems: "stretch", gap: 0, sx: {
|
|
37
|
-
maxWidth: "100%",
|
|
38
|
-
flexBasis: 0,
|
|
39
|
-
flexShrink: 2,
|
|
40
|
-
flexGrow: 2,
|
|
41
|
-
overflow: "hidden"
|
|
42
|
-
}, children: [
|
|
43
|
-
/* @__PURE__ */ a(d, { variant: "body1", className: "Monite-TextOverflowContainer", children: e }),
|
|
44
|
-
t && r && /* @__PURE__ */ o(d, { variant: "body2", className: "Monite-TextOverflowContainer", children: [
|
|
45
|
-
t,
|
|
46
|
-
" • ",
|
|
47
|
-
r
|
|
48
|
-
] })
|
|
49
|
-
] })
|
|
50
|
-
] });
|
|
51
|
-
}, A = ({
|
|
52
|
-
counterpartId: e
|
|
53
|
-
}) => {
|
|
54
|
-
const {
|
|
55
|
-
data: t,
|
|
56
|
-
isLoading: r
|
|
57
|
-
} = p(e), i = t ? m(t) : "";
|
|
58
|
-
return r ? /* @__PURE__ */ a(s, { animation: "wave", height: 26, width: "100%" }) : i ? /* @__PURE__ */ a("span", { children: i }) : /* @__PURE__ */ a("span", { style: {
|
|
59
|
-
opacity: 0.4
|
|
60
|
-
}, children: "-" });
|
|
61
|
-
};
|
|
1
|
+
import { jsxs as i, jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as e } from "./index85.js";
|
|
3
|
+
import { twMerge as s } from "tailwind-merge";
|
|
4
|
+
const w = ({
|
|
5
|
+
label: o,
|
|
6
|
+
value: t,
|
|
7
|
+
isLast: a
|
|
8
|
+
}) => /* @__PURE__ */ i("li", { className: s("ttw:flex ttw:gap-4 ttw:py-2.5", !a && "ttw:border-b ttw:border-border"), children: [
|
|
9
|
+
/* @__PURE__ */ r(e, { variant: "body2", color: "muted", className: "ttw:w-35 ttw:min-w-35 ttw:font-medium", children: o }),
|
|
10
|
+
typeof t == "string" ? /* @__PURE__ */ r(e, { variant: "body2", className: "ttw:font-medium", children: t }) : t
|
|
11
|
+
] });
|
|
62
12
|
export {
|
|
63
|
-
|
|
64
|
-
A as CounterpartNameCellById,
|
|
65
|
-
f as calculateAvatarColorIndex
|
|
13
|
+
w as ProductDetailLine
|
|
66
14
|
};
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
refetch: m,
|
|
12
|
-
entityName: e,
|
|
13
|
-
noDataTitle: c,
|
|
14
|
-
noDataDescription1: p,
|
|
15
|
-
filterTitle: N,
|
|
16
|
-
filterDescription1: d,
|
|
17
|
-
actionButtonLabel: L,
|
|
18
|
-
actionOptions: u,
|
|
19
|
-
onAction: f,
|
|
20
|
-
type: g
|
|
1
|
+
import { jsx as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDeleteCounterpart as p } from "./index294.js";
|
|
3
|
+
import { ConfirmationModal as l } from "./index255.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
const D = ({
|
|
6
|
+
counterpartName: t,
|
|
7
|
+
counterpartId: o,
|
|
8
|
+
isOpen: n,
|
|
9
|
+
onDelete: r,
|
|
10
|
+
onCancel: a
|
|
21
11
|
}) => {
|
|
22
12
|
const {
|
|
23
|
-
i18n:
|
|
24
|
-
} =
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
13
|
+
i18n: e
|
|
14
|
+
} = u(), {
|
|
15
|
+
mutate: i,
|
|
16
|
+
isPending: s
|
|
17
|
+
} = p(), c = () => {
|
|
18
|
+
i({
|
|
19
|
+
path: {
|
|
20
|
+
counterpart_id: o
|
|
21
|
+
}
|
|
22
|
+
}, {
|
|
23
|
+
onSuccess: () => {
|
|
24
|
+
r();
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
return /* @__PURE__ */ m(l, { open: n, title: e._("Delete {counterpartName}?", {
|
|
29
|
+
counterpartName: t
|
|
30
|
+
}), message: e._("You can't undo this action."), confirmLabel: e._("Delete"), cancelLabel: e._("Cancel"), onClose: a, onConfirm: c, isLoading: s });
|
|
38
31
|
};
|
|
39
32
|
export {
|
|
40
|
-
|
|
33
|
+
D as DeleteCounterpartModal
|
|
41
34
|
};
|
|
@@ -1,84 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import { twMerge as J } from "tailwind-merge";
|
|
10
|
-
function et({
|
|
11
|
-
columns: g,
|
|
12
|
-
data: s,
|
|
13
|
-
sorting: N,
|
|
14
|
-
onSortingChange: z,
|
|
15
|
-
pageSize: r,
|
|
16
|
-
onPageSizeChange: T,
|
|
17
|
-
nextPaginationToken: h,
|
|
18
|
-
prevPaginationToken: l,
|
|
19
|
-
onPaginationTokenChange: c,
|
|
20
|
-
onRowClick: R,
|
|
21
|
-
filterComponent: p,
|
|
22
|
-
children: k,
|
|
23
|
-
rowLabel: u
|
|
1
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Separator as e } from "radix-ui";
|
|
3
|
+
import { cn as n } from "./index100.js";
|
|
4
|
+
function p({
|
|
5
|
+
className: t,
|
|
6
|
+
orientation: a = "horizontal",
|
|
7
|
+
decorative: o = !0,
|
|
8
|
+
...r
|
|
24
9
|
}) {
|
|
25
|
-
|
|
26
|
-
i18n: b
|
|
27
|
-
} = G(), [i, o] = q(0);
|
|
28
|
-
A(() => {
|
|
29
|
-
!l && i !== 0 && o(0);
|
|
30
|
-
}, [l, i]);
|
|
31
|
-
const x = s.length === 0 ? 0 : i + 1, f = i + s.length, M = u ? `${x}-${f} ${u}` : `${x}-${f}`, w = y({
|
|
32
|
-
data: s,
|
|
33
|
-
columns: g,
|
|
34
|
-
getCoreRowModel: j(),
|
|
35
|
-
manualPagination: !0,
|
|
36
|
-
manualSorting: !0,
|
|
37
|
-
enableMultiSort: !1,
|
|
38
|
-
onSortingChange: z,
|
|
39
|
-
state: {
|
|
40
|
-
sorting: N,
|
|
41
|
-
pagination: {
|
|
42
|
-
pageIndex: 0,
|
|
43
|
-
pageSize: r
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
return /* @__PURE__ */ a(P, { children: [
|
|
48
|
-
/* @__PURE__ */ a("div", { className: J("ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125 ttw:gap-4 ttw:border ttw:border-zinc-100 ttw:rounded-xl ttw:bg-white", p && "ttw:pt-4"), children: [
|
|
49
|
-
p,
|
|
50
|
-
/* @__PURE__ */ a(D, { className: "ttw:border-none", children: [
|
|
51
|
-
/* @__PURE__ */ t(H, { children: w.getHeaderGroups().map((e) => /* @__PURE__ */ t(m, { children: e.headers.map((n) => /* @__PURE__ */ t(I, { className: "ttw:p-3 ttw:text-xs ttw:text-zinc-950 ttw:border-b ttw:border-zinc-100 ttw:w-44.5", children: n.isPlaceholder ? null : C(n.column.columnDef.header, n.getContext()) }, n.id)) }, e.id)) }),
|
|
52
|
-
/* @__PURE__ */ t(L, { children: w.getRowModel().rows?.length ? w.getRowModel().rows.map((e) => /* @__PURE__ */ t(m, { onClick: () => R(e.original), "data-state": e.getIsSelected() && "selected", children: e.getVisibleCells().map((n) => /* @__PURE__ */ t(v, { className: "ttw:px-3 ttw:h-13 ttw:font-medium ttw:border-zinc-100 ttw:border-b", children: C(n.column.columnDef.cell, n.getContext()) }, n.id)) }, e.id)) : /* @__PURE__ */ t(m, { children: /* @__PURE__ */ t(v, { colSpan: g.length, className: "ttw:min-h-24 ttw:text-center", children: k || b._("No results.") }) }) })
|
|
53
|
-
] })
|
|
54
|
-
] }),
|
|
55
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:justify-end ttw:space-x-6.5 ttw:py-3 ttw:bg-transparent", children: [
|
|
56
|
-
/* @__PURE__ */ a("span", { className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950", children: [
|
|
57
|
-
b._("Rows per page:"),
|
|
58
|
-
/* @__PURE__ */ a(V, { value: String(r), onValueChange: (e) => {
|
|
59
|
-
T(Number(e)), c(void 0), o(0);
|
|
60
|
-
}, children: [
|
|
61
|
-
/* @__PURE__ */ t($, { size: "sm", children: /* @__PURE__ */ t(B, {}) }),
|
|
62
|
-
/* @__PURE__ */ a(_, { children: [
|
|
63
|
-
/* @__PURE__ */ t(d, { value: "10", children: "10" }),
|
|
64
|
-
/* @__PURE__ */ t(d, { value: "25", children: "25" }),
|
|
65
|
-
/* @__PURE__ */ t(d, { value: "50", children: "50" }),
|
|
66
|
-
/* @__PURE__ */ t(d, { value: "100", children: "100" })
|
|
67
|
-
] })
|
|
68
|
-
] })
|
|
69
|
-
] }),
|
|
70
|
-
/* @__PURE__ */ t("span", { className: "ttw:text-sm ttw:leading-5 ttw:font-medium ttw:text-zinc-950", children: M }),
|
|
71
|
-
/* @__PURE__ */ a("div", { className: "ttw:flex ttw:items-center ttw:space-x-3", children: [
|
|
72
|
-
/* @__PURE__ */ t(S, { variant: "ghost", className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg", onClick: () => {
|
|
73
|
-
c(l), o((e) => e - r);
|
|
74
|
-
}, disabled: !l, children: /* @__PURE__ */ t(E, {}) }),
|
|
75
|
-
/* @__PURE__ */ t(S, { variant: "ghost", className: "ttw:px-2 ttw:py-2 ttw:border ttw:border-zinc-200 ttw:rounded-lg", onClick: () => {
|
|
76
|
-
c(h), o((e) => e + r);
|
|
77
|
-
}, disabled: !h, children: /* @__PURE__ */ t(F, {}) })
|
|
78
|
-
] })
|
|
79
|
-
] })
|
|
80
|
-
] });
|
|
10
|
+
return /* @__PURE__ */ i(e.Root, { "data-slot": "separator", decorative: o, orientation: a, className: n("ttw:shrink-0 ttw:bg-border ttw:data-[orientation=horizontal]:h-px ttw:data-[orientation=horizontal]:w-full ttw:data-[orientation=vertical]:h-full ttw:data-[orientation=vertical]:w-px", t), ...r });
|
|
81
11
|
}
|
|
82
12
|
export {
|
|
83
|
-
|
|
13
|
+
p as Separator
|
|
84
14
|
};
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as i, jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Typography as e } from "./index85.js";
|
|
3
|
+
import { twMerge as s } from "tailwind-merge";
|
|
4
|
+
const w = ({
|
|
5
|
+
label: o,
|
|
6
|
+
value: t,
|
|
7
|
+
isLast: a
|
|
8
|
+
}) => /* @__PURE__ */ i("li", { className: s("ttw:flex ttw:gap-4 ttw:py-2.5", !a && "ttw:border-b ttw:border-border"), children: [
|
|
9
|
+
/* @__PURE__ */ r(e, { variant: "body2", color: "muted", className: "ttw:w-35 ttw:min-w-35 ttw:font-medium", children: o }),
|
|
10
|
+
typeof t == "string" ? /* @__PURE__ */ r(e, { variant: "body2", className: "ttw:font-medium", children: t }) : t
|
|
11
|
+
] });
|
|
5
12
|
export {
|
|
6
|
-
|
|
13
|
+
w as CounterpartContactDetailLine
|
|
7
14
|
};
|