@tesouro/embedded-components-react 0.2.114 → 0.2.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +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/index11.js +2 -2
- 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 +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +24 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +11 -11
- 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 -76
- 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 +94 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +57 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +76 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +6 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +30 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +11 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +12 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +12 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +121 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +10 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +11 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +42 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index153.js +48 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +12 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +46 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index156.js +15 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +11 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +148 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +57 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +71 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +25 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +3 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +61 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +80 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +9 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +46 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +74 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +55 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +196 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +76 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +28 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +39 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +6 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +118 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +68 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +189 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +30 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +108 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +137 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +17 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +20 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +21 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +26 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +183 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +12 -136
- 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 +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +88 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +36 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +6 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +45 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +50 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +205 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +425 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +21 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +25 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +17 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +18 -202
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +2 -427
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +10 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +17 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +22 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +107 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +65 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +93 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +100 -397
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +13 -406
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +35 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +100 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +24 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +6 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +211 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +10 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +11 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +4 -33
- 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 +77 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +345 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +15 -32
- 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 +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +11 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +245 -49
- 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 +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +22 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +36 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +50 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +46 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +29 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +89 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +41 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +139 -154
- 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 +99 -257
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +38 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +345 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +301 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +103 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +162 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +259 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +18 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +10 -43
- 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 +487 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +157 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +39 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +60 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +29 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +113 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +40 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +53 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +72 -38
- 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 +40 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +26 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +38 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +60 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +94 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +111 -113
- 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 +87 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +18 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +39 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +65 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +41 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +24 -16
- 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 +134 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +112 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +80 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +282 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +46 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +15 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +84 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +224 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +36 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +9 -76
- 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 +9 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +11 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +6 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +2 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +149 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +92 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +17 -42
- 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 +47 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +10 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +48 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +62 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +94 -488
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +203 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +22 -2
- 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 +54 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +28 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +57 -210
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +18 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +17 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +171 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +133 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +158 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +61 -169
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +59 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +50 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +10 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +58 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +21 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +56 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +14 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +19 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +157 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +26 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +78 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +9 -95
- 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 +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +11 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +47 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +32 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +94 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +31 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +119 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +18 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +16 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +72 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +16 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +9 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +12 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +67 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +67 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +33 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +85 -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 +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +100 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +112 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +39 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +75 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +67 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +2 -38
- 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 +8 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +16 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +21 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +18 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +26 -16
- 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 +29 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +73 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +83 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +54 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +53 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +53 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +29 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +54 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +38 -22
- 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 +44 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +57 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +70 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +18 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +29 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +30 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +81 -57
- 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 +66 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +43 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +39 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +4 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +126 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +5 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +33 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +38 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +7 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +53 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +15 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +91 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +16 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +75 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +9 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +41 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +35 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +13 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +49 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +52 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +40 -17
- 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 +19 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +37 -40
- 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 +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 +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 +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +1429 -1425
- 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 +23 -23
- package/package.json +1 -1
|
@@ -1,21 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
import { jsxs as r, jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as d } from "react";
|
|
3
|
+
import { styled as s, TableCell as i, Card as m, Table as c, TableBody as h, TableRow as p } from "@mui/material";
|
|
4
|
+
const b = s(i)(({
|
|
5
|
+
theme: e,
|
|
6
|
+
isRequired: l
|
|
7
|
+
}) => ({
|
|
8
|
+
color: l ? e.palette.error.main : e.palette.text.secondary,
|
|
9
|
+
minWidth: 120,
|
|
10
|
+
width: "35%"
|
|
11
|
+
})), u = (e) => {
|
|
12
|
+
const l = d(() => !e.value && e.withEmptyStateFiller ? "—" : e.value, [e.value, e.withEmptyStateFiller]);
|
|
13
|
+
return l ? /* @__PURE__ */ r(p, { children: [
|
|
14
|
+
/* @__PURE__ */ t(b, { component: "th", scope: "row", children: e.label }),
|
|
15
|
+
/* @__PURE__ */ t(i, { children: l })
|
|
16
|
+
] }) : null;
|
|
17
|
+
}, y = ({
|
|
18
|
+
items: e,
|
|
19
|
+
children: l,
|
|
20
|
+
...a
|
|
21
|
+
}) => /* @__PURE__ */ r(m, { variant: "outlined", sx: {
|
|
22
|
+
overflow: "visible"
|
|
23
|
+
}, ...a, children: [
|
|
24
|
+
/* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(h, { children: e.map((o, n) => /* @__PURE__ */ t(u, { ...o }, n)) }) }),
|
|
25
|
+
l
|
|
26
|
+
] });
|
|
19
27
|
export {
|
|
20
|
-
|
|
28
|
+
y as MoniteCard,
|
|
29
|
+
u as MoniteCardItem,
|
|
30
|
+
b as StyledLabelTableCell
|
|
21
31
|
};
|
|
@@ -1,53 +1,35 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import "
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
sx: o
|
|
1
|
+
import { jsxs as n, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as g } from "./index92.js";
|
|
3
|
+
import { TagsAutocomplete as f } from "./index442.js";
|
|
4
|
+
import { DialogTitle as h, DialogContent as C, DialogActions as v, Button as r } from "@mui/material";
|
|
5
|
+
import "react-hook-form";
|
|
6
|
+
import { Dialog as x } from "./index50.js";
|
|
7
|
+
import { useLingui as D } from "@lingui/react";
|
|
8
|
+
import { useState as T } from "react";
|
|
9
|
+
const R = ({
|
|
10
|
+
opened: a,
|
|
11
|
+
onClose: t,
|
|
12
|
+
value: l,
|
|
13
|
+
updateTags: s
|
|
15
14
|
}) => {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
textAlign: "center"
|
|
33
|
-
}, children: t ?? "" })
|
|
34
|
-
] }) : /* @__PURE__ */ p(f, { sx: {
|
|
35
|
-
display: "flex",
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
gap: 1,
|
|
38
|
-
...o
|
|
39
|
-
}, children: [
|
|
40
|
-
s && /* @__PURE__ */ a(d, { sx: {
|
|
41
|
-
width: i,
|
|
42
|
-
height: i
|
|
43
|
-
}, alt: n, fileId: e.userpic_file_id }),
|
|
44
|
-
/* @__PURE__ */ a(h, { variant: l, title: t ?? "", sx: {
|
|
45
|
-
overflow: "hidden",
|
|
46
|
-
textOverflow: "ellipsis",
|
|
47
|
-
whiteSpace: "nowrap"
|
|
48
|
-
}, children: t ?? "" })
|
|
15
|
+
const {
|
|
16
|
+
root: m
|
|
17
|
+
} = g(), {
|
|
18
|
+
i18n: e
|
|
19
|
+
} = D(), [i, c] = T(l), d = (u) => {
|
|
20
|
+
c(u);
|
|
21
|
+
}, p = () => {
|
|
22
|
+
s?.(i), t();
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ n(x, { open: a, onClose: t, container: m, fullWidth: !0, children: [
|
|
25
|
+
/* @__PURE__ */ o(h, { children: e._("Edit tags") }),
|
|
26
|
+
/* @__PURE__ */ o(C, { dividers: !0, children: /* @__PURE__ */ o(f, { value: i, onChange: d }) }),
|
|
27
|
+
/* @__PURE__ */ n(v, { children: [
|
|
28
|
+
/* @__PURE__ */ o(r, { variant: "text", onClick: t, children: e._("Cancel") }),
|
|
29
|
+
/* @__PURE__ */ o(r, { variant: "contained", onClick: p, children: e._("Update") })
|
|
30
|
+
] })
|
|
49
31
|
] });
|
|
50
32
|
};
|
|
51
33
|
export {
|
|
52
|
-
|
|
34
|
+
R as TagsModal
|
|
53
35
|
};
|
|
@@ -1,61 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
approvalPolicy: d,
|
|
9
|
-
payableId: p,
|
|
10
|
-
showUsersAsEmail: h = !0
|
|
1
|
+
const i = ({
|
|
2
|
+
variant: t,
|
|
3
|
+
isError: e = !1,
|
|
4
|
+
componentType: s,
|
|
5
|
+
showAvatar: a = !1,
|
|
6
|
+
showUsersAsEmail: n = !1,
|
|
7
|
+
className: w = ""
|
|
11
8
|
}) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
mt: 2
|
|
30
|
-
}, children: /* @__PURE__ */ e(f, { sx: {
|
|
31
|
-
tableLayout: "fixed",
|
|
32
|
-
width: "100%"
|
|
33
|
-
}, children: /* @__PURE__ */ e(b, { children: a.map((i, m) => /* @__PURE__ */ o(w, { children: [
|
|
34
|
-
/* @__PURE__ */ e(l, { sx: {
|
|
35
|
-
verticalAlign: "middle",
|
|
36
|
-
py: 2,
|
|
37
|
-
width: "160px"
|
|
38
|
-
}, children: /* @__PURE__ */ e(r, { variant: "body2", color: "text.primary", sx: {
|
|
39
|
-
fontWeight: "normal"
|
|
40
|
-
}, children: i.type }) }),
|
|
41
|
-
/* @__PURE__ */ e(l, { sx: {
|
|
42
|
-
py: 2,
|
|
43
|
-
verticalAlign: "middle",
|
|
44
|
-
minWidth: "52px"
|
|
45
|
-
}, children: i.userNames.length > 0 ? /* @__PURE__ */ e(A, { direction: "column", spacing: 0.5, sx: {
|
|
46
|
-
overflow: "hidden"
|
|
47
|
-
}, children: i.resolvedUsers.map((t) => t ? /* @__PURE__ */ e(x, { user: t, variant: "cell", showUsersAsEmail: h, showAvatar: !1 }, t.id) : null) }) : /* @__PURE__ */ e(r, { variant: "body2", color: "text.secondary", sx: {
|
|
48
|
-
fontWeight: "medium"
|
|
49
|
-
}, children: s._("No users assigned") }) }),
|
|
50
|
-
/* @__PURE__ */ e(l, { sx: {
|
|
51
|
-
py: 2,
|
|
52
|
-
textAlign: "right",
|
|
53
|
-
verticalAlign: "middle",
|
|
54
|
-
width: "140px"
|
|
55
|
-
}, children: /* @__PURE__ */ e(u, { status: i.payableStatus }) })
|
|
56
|
-
] }, m)) }) }) })
|
|
57
|
-
] }) : null;
|
|
9
|
+
if (e) {
|
|
10
|
+
const r = `ttw:text-muted-foreground ${w}`;
|
|
11
|
+
return s === "user" && t !== "badge" ? {
|
|
12
|
+
useBadge: !1,
|
|
13
|
+
badgeVariant: "outline",
|
|
14
|
+
className: r,
|
|
15
|
+
showAvatar: !1,
|
|
16
|
+
showIcon: !1
|
|
17
|
+
} : {
|
|
18
|
+
useBadge: !0,
|
|
19
|
+
badgeVariant: "outline",
|
|
20
|
+
className: r,
|
|
21
|
+
showAvatar: !1,
|
|
22
|
+
showIcon: !1
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return s === "user" ? o(t, a, n, w) : l(t, w);
|
|
58
26
|
};
|
|
27
|
+
function o(t, e, s, a) {
|
|
28
|
+
switch (t) {
|
|
29
|
+
case "badge":
|
|
30
|
+
return {
|
|
31
|
+
useBadge: !0,
|
|
32
|
+
badgeVariant: "secondary",
|
|
33
|
+
className: `ttw:gap-1 ttw:px-2 ttw:py-1 ${a}`,
|
|
34
|
+
showAvatar: e,
|
|
35
|
+
showIcon: !1
|
|
36
|
+
};
|
|
37
|
+
case "cell":
|
|
38
|
+
return {
|
|
39
|
+
useBadge: !1,
|
|
40
|
+
badgeVariant: "secondary",
|
|
41
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ttw:overflow-hidden ttw:text-ellipsis ttw:whitespace-nowrap ttw:block ${s ? "ttw:text-blue-600" : ""} ${a}`,
|
|
42
|
+
showAvatar: !1,
|
|
43
|
+
showIcon: !1
|
|
44
|
+
};
|
|
45
|
+
default:
|
|
46
|
+
return {
|
|
47
|
+
useBadge: !1,
|
|
48
|
+
badgeVariant: "secondary",
|
|
49
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ${a}`,
|
|
50
|
+
showAvatar: !1,
|
|
51
|
+
showIcon: !1
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function l(t, e) {
|
|
56
|
+
switch (t) {
|
|
57
|
+
case "filled":
|
|
58
|
+
return {
|
|
59
|
+
useBadge: !0,
|
|
60
|
+
badgeVariant: "secondary",
|
|
61
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-gray-100 ttw:text-gray-800 ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-lg ttw:px-4 ttw:py-1 ${e}`,
|
|
62
|
+
showAvatar: !1,
|
|
63
|
+
showIcon: !1
|
|
64
|
+
};
|
|
65
|
+
case "outlined":
|
|
66
|
+
return {
|
|
67
|
+
useBadge: !0,
|
|
68
|
+
badgeVariant: "outline",
|
|
69
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:rounded ttw:px-2 ttw:py-1 ttw:gap-1 ${e}`,
|
|
70
|
+
showAvatar: !1,
|
|
71
|
+
showIcon: !0
|
|
72
|
+
};
|
|
73
|
+
default:
|
|
74
|
+
return {
|
|
75
|
+
useBadge: !0,
|
|
76
|
+
badgeVariant: "secondary",
|
|
77
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-[rgb(248,248,255)] ttw:text-[rgb(55,55,255)] ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-[7.98px] ttw:px-2 ttw:py-[7px] ttw:gap-2 ttw:transition-colors ${e}`,
|
|
78
|
+
showAvatar: !1,
|
|
79
|
+
showIcon: !0
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
59
83
|
export {
|
|
60
|
-
|
|
84
|
+
i as getVariantProps
|
|
61
85
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as t, jsxs as o, Fragment as F } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { ProductDeleteModal as I } from "./
|
|
3
|
-
import { ProductEditForm as T } from "./
|
|
2
|
+
import { ProductDeleteModal as I } from "./index202.js";
|
|
3
|
+
import { ProductEditForm as T } from "./index212.js";
|
|
4
4
|
import { MoniteScopedProviders as j } from "./index83.js";
|
|
5
5
|
import { useCurrencies as B } from "./index58.js";
|
|
6
6
|
import { useMoniteContext as L } from "./index57.js";
|
|
7
|
-
import { useUserPermissions as k } from "./
|
|
7
|
+
import { useUserPermissions as k } from "./index135.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
9
9
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
10
10
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -13,17 +13,17 @@ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
|
13
13
|
import { Scope as w } from "../../shared/data-access/dist/lib/scopes.js";
|
|
14
14
|
import { useState as y } from "react";
|
|
15
15
|
import { Button as b } from "./index84.js";
|
|
16
|
-
import { DropdownMenu as W, DropdownMenuTrigger as z, DropdownMenuContent as U, DropdownMenuItem as E } from "./
|
|
17
|
-
import { Sheet as u, SheetContent as h, SheetHeader as H, SheetTitle as R, SheetDescription as G, SheetClose as V } from "./
|
|
18
|
-
import { Skeleton as N } from "./
|
|
16
|
+
import { DropdownMenu as W, DropdownMenuTrigger as z, DropdownMenuContent as U, DropdownMenuItem as E } from "./index142.js";
|
|
17
|
+
import { Sheet as u, SheetContent as h, SheetHeader as H, SheetTitle as R, SheetDescription as G, SheetClose as V } from "./index139.js";
|
|
18
|
+
import { Skeleton as N } from "./index141.js";
|
|
19
19
|
import { Typography as x } from "./index85.js";
|
|
20
|
-
import { LoadingSpinner as X } from "./
|
|
21
|
-
import { NotFound as q } from "./
|
|
20
|
+
import { LoadingSpinner as X } from "./index140.js";
|
|
21
|
+
import { NotFound as q } from "./index156.js";
|
|
22
22
|
import { useLingui as J } from "@lingui/react";
|
|
23
23
|
import { MoreVerticalIcon as K, Trash2 as Q, X as Y } from "lucide-react";
|
|
24
|
-
import { useGetProductById as Z } from "./
|
|
25
|
-
import { ProductDetailLine as f } from "./
|
|
26
|
-
import { AccessRestriction as tt } from "./
|
|
24
|
+
import { useGetProductById as Z } from "./index213.js";
|
|
25
|
+
import { ProductDetailLine as f } from "./index214.js";
|
|
26
|
+
import { AccessRestriction as tt } from "./index136.js";
|
|
27
27
|
const Pt = (a) => /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(et, { ...a }) }), et = ({
|
|
28
28
|
id: a,
|
|
29
29
|
open: n,
|
|
@@ -1,35 +1,71 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "
|
|
6
|
-
import {
|
|
7
|
-
import { useLingui as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { jsx as t, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { getMeasureUnitValidationSchema as z } from "./index210.js";
|
|
3
|
+
import { Button as o } from "./index84.js";
|
|
4
|
+
import { Input as p } from "./index118.js";
|
|
5
|
+
import { TableRow as C, TableCell as M } from "./index290.js";
|
|
6
|
+
import { zodResolver as S } from "@hookform/resolvers/zod";
|
|
7
|
+
import { useLingui as U } from "@lingui/react";
|
|
8
|
+
import { Check as $, X as j } from "lucide-react";
|
|
9
|
+
import { useForm as k, Controller as f } from "react-hook-form";
|
|
10
|
+
import { useCreateMeasureUnit as E } from "./index429.js";
|
|
11
|
+
import { useUpdateMeasureUnit as V } from "./index430.js";
|
|
12
|
+
const P = {
|
|
13
|
+
name: "",
|
|
14
|
+
description: ""
|
|
15
|
+
}, D = ({
|
|
16
|
+
id: s,
|
|
17
|
+
isEditMode: n,
|
|
18
|
+
initialValues: h = P,
|
|
19
|
+
onCancel: g,
|
|
20
|
+
onEdit: v
|
|
14
21
|
}) => {
|
|
15
22
|
const {
|
|
16
|
-
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
23
|
+
i18n: m
|
|
24
|
+
} = U(), b = z(m), {
|
|
25
|
+
handleSubmit: l,
|
|
26
|
+
control: d,
|
|
27
|
+
reset: y,
|
|
28
|
+
setError: c
|
|
29
|
+
} = k({
|
|
30
|
+
defaultValues: h,
|
|
31
|
+
resolver: S(b)
|
|
32
|
+
}), w = E(() => y(), (e) => c("name", {
|
|
33
|
+
type: "custom",
|
|
34
|
+
message: e
|
|
35
|
+
})), i = V(s ?? "", () => v?.(), (e) => c("name", {
|
|
36
|
+
type: "custom",
|
|
37
|
+
message: e
|
|
38
|
+
})), x = (e) => {
|
|
39
|
+
if (!n || !s) {
|
|
40
|
+
console.error("handleEdit called without valid id or edit mode");
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
i.mutate(e);
|
|
44
|
+
}, N = (e) => {
|
|
45
|
+
w.mutate(e);
|
|
46
|
+
}, u = w.isPending || i.isPending;
|
|
47
|
+
return /* @__PURE__ */ t(C, { className: "ttw:border-border ttw:hover:bg-transparent", children: /* @__PURE__ */ t(M, { colSpan: 3, className: "ttw:w-full ttw:whitespace-normal", children: /* @__PURE__ */ a("div", { className: "ttw:flex ttw:gap-2 ttw:justify-between ttw:items-start", children: [
|
|
48
|
+
/* @__PURE__ */ t(f, { name: "name", control: d, render: ({
|
|
49
|
+
field: e,
|
|
50
|
+
fieldState: {
|
|
51
|
+
error: r
|
|
52
|
+
}
|
|
53
|
+
}) => /* @__PURE__ */ a("div", { className: "ttw:w-[35%]", children: [
|
|
54
|
+
/* @__PURE__ */ t(p, { ...e, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }),
|
|
55
|
+
r && /* @__PURE__ */ t("p", { className: "ttw:text-xs ttw:text-destructive ttw:mt-1", children: r.message })
|
|
56
|
+
] }) }),
|
|
57
|
+
/* @__PURE__ */ t(f, { name: "description", control: d, render: ({
|
|
58
|
+
field: e,
|
|
59
|
+
fieldState: {
|
|
60
|
+
error: r
|
|
61
|
+
}
|
|
62
|
+
}) => /* @__PURE__ */ t("div", { className: "ttw:w-[55%]", children: /* @__PURE__ */ t(p, { ...e, id: e.name, disabled: u, "aria-invalid": !!r || void 0, className: "ttw:h-8" }) }) }),
|
|
63
|
+
n ? /* @__PURE__ */ a("div", { className: "ttw:flex ttw:justify-center ttw:gap-1", children: [
|
|
64
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", disabled: i.isPending, onClick: l(x), children: /* @__PURE__ */ t($, { className: "ttw:size-4" }) }),
|
|
65
|
+
/* @__PURE__ */ t(o, { variant: "outline", size: "icon", className: "ttw:size-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: g, children: /* @__PURE__ */ t(j, { className: "ttw:size-4" }) })
|
|
66
|
+
] }) : /* @__PURE__ */ t(o, { variant: "outline", size: "sm", className: "ttw:h-8 ttw:bg-primary-foreground ttw:text-primary ttw:hover:text-primary ttw:hover:bg-primary-foreground/80 ttw:border-0", onClick: l(N), children: m._("Add") })
|
|
67
|
+
] }) }) });
|
|
32
68
|
};
|
|
33
69
|
export {
|
|
34
|
-
|
|
70
|
+
D as MeasureUnitsFormRow
|
|
35
71
|
};
|
|
@@ -1,98 +1,49 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as e, jsxs as a, Fragment as m } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useCurrencies as b } from "./index58.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "./index92.js";
|
|
5
|
+
import { useLingui as x } from "@lingui/react";
|
|
6
|
+
import "react-dom";
|
|
7
|
+
import "./index57.js";
|
|
8
|
+
import "@mui/x-data-grid";
|
|
9
|
+
import { ConfirmationModal as y } from "./index195.js";
|
|
10
|
+
import { Table as C, TableBody as _, TableRow as D, TableCell as l } from "./index290.js";
|
|
11
|
+
import { Typography as r } from "./index85.js";
|
|
12
|
+
import { Loader2 as L } from "lucide-react";
|
|
13
|
+
import { useGetProducts as T } from "./index207.js";
|
|
14
|
+
const R = ({
|
|
15
|
+
onClose: c,
|
|
16
|
+
onDelete: d,
|
|
17
|
+
name: p,
|
|
18
|
+
isLoading: u,
|
|
19
|
+
open: h,
|
|
20
|
+
id: n
|
|
12
21
|
}) => {
|
|
13
22
|
const {
|
|
14
|
-
i18n:
|
|
15
|
-
} =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.name`, control: a, render: ({
|
|
34
|
-
field: t,
|
|
35
|
-
fieldState: {
|
|
36
|
-
error: n
|
|
37
|
-
}
|
|
38
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Name"), variant: "standard", error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
39
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.quantity`, control: a, render: ({
|
|
40
|
-
field: t,
|
|
41
|
-
fieldState: {
|
|
42
|
-
error: n
|
|
43
|
-
}
|
|
44
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Quantity"), variant: "standard", type: "number", inputProps: {
|
|
45
|
-
min: 1
|
|
46
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0 }) }) }),
|
|
47
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1, container: !0, sx: {
|
|
48
|
-
justifyContent: "flex-end",
|
|
49
|
-
alignItems: "center"
|
|
50
|
-
}, children: /* @__PURE__ */ e($, { "aria-label": "delete", onClick: () => I(i), disabled: c.length === 1, children: /* @__PURE__ */ e(L, {}) }) })
|
|
51
|
-
] }),
|
|
52
|
-
f && /* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", children: [
|
|
53
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 11, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.ledger_account_id`, control: a, render: ({
|
|
54
|
-
field: t,
|
|
55
|
-
fieldState: {
|
|
56
|
-
error: n
|
|
57
|
-
}
|
|
58
|
-
}) => /* @__PURE__ */ e(W, { value: t.value ?? void 0, onChange: (C) => t.onChange(C ?? void 0), error: !!n, helperText: n?.message }) }) }),
|
|
59
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
60
|
-
] }),
|
|
61
|
-
/* @__PURE__ */ l(r, { item: !0, xs: 12, gap: 2, container: !0, flexWrap: "nowrap", justifyContent: "flex-end", children: [
|
|
62
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 8, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.price`, control: a, render: ({
|
|
63
|
-
field: t,
|
|
64
|
-
fieldState: {
|
|
65
|
-
error: n
|
|
66
|
-
}
|
|
67
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Price"), variant: "standard", type: "number", inputProps: {
|
|
68
|
-
min: 0
|
|
69
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
70
|
-
endAdornment: x(s("currency"))
|
|
71
|
-
} }) }) }),
|
|
72
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 3, children: /* @__PURE__ */ e(m, { name: `lineItems.${i}.tax`, control: a, render: ({
|
|
73
|
-
field: t,
|
|
74
|
-
fieldState: {
|
|
75
|
-
error: n
|
|
76
|
-
}
|
|
77
|
-
}) => /* @__PURE__ */ e(d, { ...t, id: t.name, label: o._("Tax"), variant: "standard", type: "number", inputProps: {
|
|
78
|
-
min: 0,
|
|
79
|
-
max: 100
|
|
80
|
-
}, error: !!n, helperText: n?.message, fullWidth: !0, InputProps: {
|
|
81
|
-
endAdornment: "%"
|
|
82
|
-
} }) }) }),
|
|
83
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 1 })
|
|
84
|
-
] }),
|
|
85
|
-
p?.[i] && u && /* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, className: "Monite-PayableDetailsForm-Item-Total", children: /* @__PURE__ */ e(j, { fontWeight: "bold", align: "right", children: h(g(v(p?.[i]), u) || 0, u) }) })
|
|
86
|
-
] }, b.id)),
|
|
87
|
-
/* @__PURE__ */ e(r, { item: !0, xs: 12, gap: 2, children: /* @__PURE__ */ e(w, { variant: "text", startIcon: /* @__PURE__ */ e(S, {}), onClick: () => y({
|
|
88
|
-
id: "",
|
|
89
|
-
name: "",
|
|
90
|
-
quantity: 1,
|
|
91
|
-
price: 0,
|
|
92
|
-
tax: 19
|
|
93
|
-
}), children: o._("Add item") }) })
|
|
23
|
+
i18n: t
|
|
24
|
+
} = x(), {
|
|
25
|
+
formatCurrencyToDisplay: w
|
|
26
|
+
} = b(), {
|
|
27
|
+
data: s,
|
|
28
|
+
isLoading: o
|
|
29
|
+
} = T({
|
|
30
|
+
measure_unit_id: n ?? ""
|
|
31
|
+
}, !!n), f = s?.data.length === 0, g = () => f ? /* @__PURE__ */ a(m, { children: [
|
|
32
|
+
/* @__PURE__ */ e(r, { children: t._("There are no items created with this measure unit.") }),
|
|
33
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Deleting it won't affect your items.") })
|
|
34
|
+
] }) : /* @__PURE__ */ a(m, { children: [
|
|
35
|
+
/* @__PURE__ */ e(r, { children: t._("Any products or services referencing this unit will update to use a blank unit of measure.") }),
|
|
36
|
+
/* @__PURE__ */ e(r, { color: "muted", children: t._("Previously issued invoices will not be impacted.") }),
|
|
37
|
+
o && /* @__PURE__ */ e(L, { className: "ttw:mx-auto ttw:size-6 ttw:animate-spin" }),
|
|
38
|
+
!o && /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(_, { children: s?.data.map((i) => /* @__PURE__ */ a(D, { className: "ttw:border-border ttw:hover:bg-transparent", children: [
|
|
39
|
+
/* @__PURE__ */ e(l, { className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium", children: i.name }),
|
|
40
|
+
/* @__PURE__ */ e(l, { className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium", children: i.price && w(i.price?.value, i.price?.currency) })
|
|
41
|
+
] }, i.id)) }) })
|
|
94
42
|
] });
|
|
43
|
+
return /* @__PURE__ */ e(y, { open: h, title: t._('Delete "{name}"?', {
|
|
44
|
+
name: p
|
|
45
|
+
}), confirmLabel: t._("Delete"), cancelLabel: t._("Cancel"), onClose: c, onConfirm: d, isLoading: u || o, children: g() });
|
|
95
46
|
};
|
|
96
47
|
export {
|
|
97
|
-
|
|
48
|
+
R as ConfirmDeleteMeasureUnitDialog
|
|
98
49
|
};
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
1
|
+
import { jsxs as i, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { DropdownMenu as s, DropdownMenuTrigger as a, DropdownMenuContent as d, DropdownMenuItem as r } from "./index142.js";
|
|
3
|
+
import { Button as c } from "./index84.js";
|
|
4
|
+
import { useLingui as u } from "@lingui/react";
|
|
5
|
+
import { MoreVertical as m, Pencil as p, Trash2 as h } from "lucide-react";
|
|
6
|
+
const A = ({
|
|
7
|
+
onEdit: t,
|
|
8
|
+
onDelete: l,
|
|
9
|
+
permissions: o
|
|
10
|
+
}) => {
|
|
11
|
+
const {
|
|
12
|
+
i18n: n
|
|
13
|
+
} = u();
|
|
14
|
+
return o.isUpdateAllowed || o.isDeleteAllowed ? /* @__PURE__ */ i(s, { children: [
|
|
15
|
+
/* @__PURE__ */ e(a, { asChild: !0, children: /* @__PURE__ */ e(c, { variant: "ghost", size: "icon", "aria-label": "actions-menu-button", children: /* @__PURE__ */ e(m, {}) }) }),
|
|
16
|
+
/* @__PURE__ */ i(d, { align: "end", children: [
|
|
17
|
+
o.isUpdateAllowed && /* @__PURE__ */ i(r, { onClick: t, children: [
|
|
18
|
+
/* @__PURE__ */ e(p, {}),
|
|
19
|
+
n._("Edit")
|
|
20
|
+
] }),
|
|
21
|
+
o.isDeleteAllowed && /* @__PURE__ */ i(r, { onClick: l, variant: "destructive", children: [
|
|
22
|
+
/* @__PURE__ */ e(h, {}),
|
|
23
|
+
n._("Delete")
|
|
24
|
+
] })
|
|
25
|
+
] })
|
|
26
|
+
] }) : null;
|
|
27
|
+
};
|
|
16
28
|
export {
|
|
17
|
-
|
|
29
|
+
A as TableActions
|
|
18
30
|
};
|