@tesouro/embedded-components-react 0.2.240 → 0.2.242
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/monite-sdk.js +55 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index2.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index3.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index8.js +25 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +1 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +9 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +4 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +7 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +75 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +20 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +445 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +2 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +38 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +76 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +62 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +0 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +28 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +43 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +2 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +48 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +110 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +5 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +98 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +206 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +155 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +51 -290
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +299 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +68 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +1 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +24 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +74 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +90 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +8 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +26 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +13 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +73 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +21 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +50 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +48 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +169 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +0 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +82 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +29 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +1 -598
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +598 -0
- 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 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +167 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +18 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +75 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +0 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +127 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +1 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +11 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +56 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +62 -120
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +120 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +6 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +34 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +7 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +53 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +71 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +28 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +1 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +57 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +18 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +185 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +0 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +3 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +61 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +8 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +29 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +44 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +9 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +16 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +5 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +8 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +20 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +4 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +113 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +66 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +0 -199
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +199 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +1 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +9 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +42 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +5 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +6 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +17 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +7 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +5 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +425 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +18 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +91 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +9 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +2 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +187 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +53 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +10 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +60 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +83 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +21 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +45 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +0 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +1 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +161 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +88 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +169 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +206 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +0 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +255 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +32 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +26 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +59 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +35 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +151 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +69 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +14 -218
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +214 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +42 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +0 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +76 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +103 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +163 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +5 -313
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +310 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +83 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +190 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +28 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +84 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +132 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +37 -447
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +447 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +16 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +78 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +142 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +34 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +62 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +67 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +140 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +58 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +85 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +17 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +8 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +36 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +44 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +67 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +23 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +156 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +134 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +125 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +63 -232
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +248 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +8 -463
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +443 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +17 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +13 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +51 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +39 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +142 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +112 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +33 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +32 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +19 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +20 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +73 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +18 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +149 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +136 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +31 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +115 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +10 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +46 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +13 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +21 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +26 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +36 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +50 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +34 -89
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +86 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +1 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +40 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +0 -135
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +129 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +105 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +48 -779
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +780 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +84 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +105 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +2 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +14 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +163 -200
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +204 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +82 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +146 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +95 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +4 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +13 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +27 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +0 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +186 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +0 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +42 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +5 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +219 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +32 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +168 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +1 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +13 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +8 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +6 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +17 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +66 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +104 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +72 -138
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +144 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +14 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +91 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +3 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +71 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +0 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +66 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +27 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +13 -11
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/useLedgerAccountsQuery.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/reference-data/usePaymentTermsQuery.js +22 -0
- 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/feature/dist/lib/analytics/expectedApiNotFound.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/data-access/dist/index4.js +0 -78
|
@@ -1,105 +1,92 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import "
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { ActionsModal as l } from "./index506.js";
|
|
13
|
-
import { InvoiceDetailsPanel as u } from "./index525.js";
|
|
14
|
-
import { useCallback as d, useEffect as f, useRef as p, useState as m } from "react";
|
|
15
|
-
import { Fragment as h, jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
16
|
-
import { useLingui as v } from "@lingui/react";
|
|
1
|
+
import { ScopedCssBaselineContainerClassName as e } from "./index31.js";
|
|
2
|
+
import { useMoniteContext as t } from "./index47.js";
|
|
3
|
+
import { MoniteScopedProviders as n } from "./index209.js";
|
|
4
|
+
import { classNames as r } from "./index333.js";
|
|
5
|
+
import { InvoicesTable as i } from "./index439.js";
|
|
6
|
+
import { QuotesTable as a } from "./index443.js";
|
|
7
|
+
import { CreditNotesTable as o } from "./index444.js";
|
|
8
|
+
import { useId as s, useState as c } from "react";
|
|
9
|
+
import { Fragment as l, jsx as u, jsxs as d } from "@emotion/react/jsx-runtime";
|
|
10
|
+
import { Box as f, Tabs as p } from "@mui/material";
|
|
11
|
+
import { useLingui as m } from "@lingui/react";
|
|
17
12
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
counterpartId: t.counterpartId,
|
|
39
|
-
inlineLineItems: t.inlineLineItems
|
|
40
|
-
}) : (t.mode === "draft" || t.mode === "recurrence") && (E(e), t.inlineLineItems.length > 0 && A({
|
|
41
|
-
action: t.mode,
|
|
42
|
-
showEmailStep: !1,
|
|
43
|
-
receivableId: e,
|
|
44
|
-
counterpartId: t.counterpartId,
|
|
45
|
-
inlineLineItems: t.inlineLineItems
|
|
46
|
-
})), w.onCreate?.(e);
|
|
47
|
-
}, [
|
|
48
|
-
w,
|
|
49
|
-
F,
|
|
50
|
-
z
|
|
51
|
-
]), V = i(), H = V.has(e.InvoiceWriteOrg), U = V.has(e.InvoiceReadOrg);
|
|
52
|
-
return f(() => {
|
|
53
|
-
N.current || b === "create" && H && (N.current = !0, M(x), O(!0));
|
|
54
|
-
}, [
|
|
55
|
-
b,
|
|
56
|
-
H,
|
|
57
|
-
x
|
|
58
|
-
]), /* @__PURE__ */ _(h, { children: [
|
|
59
|
-
r(/* @__PURE__ */ g(h, { children: /* @__PURE__ */ g(t, {
|
|
60
|
-
id: "actions",
|
|
61
|
-
size: "lg",
|
|
62
|
-
disabled: !H,
|
|
63
|
-
onClick: () => {
|
|
64
|
-
M(void 0), O(!0);
|
|
65
|
-
},
|
|
66
|
-
children: S._("Create Invoice")
|
|
67
|
-
}) })),
|
|
68
|
-
!U && /* @__PURE__ */ g(a, {}),
|
|
69
|
-
U && /* @__PURE__ */ g(s, {
|
|
70
|
-
initialCounterpartId: b === "create" ? void 0 : x,
|
|
71
|
-
tab: P,
|
|
72
|
-
onTabChange: F,
|
|
73
|
-
onRowClick: L,
|
|
74
|
-
setIsCreateInvoiceDialogOpen: O
|
|
13
|
+
var h = {
|
|
14
|
+
Invoices: 0,
|
|
15
|
+
Quotes: 1,
|
|
16
|
+
CreditNotes: 2,
|
|
17
|
+
Financing: 3
|
|
18
|
+
}, g = (e) => /* @__PURE__ */ u(n, { children: /* @__PURE__ */ u(_, { ...e }) }), _ = ({ initialCounterpartId: t, onRowClick: n, onTabChange: g, setIsCreateInvoiceDialogOpen: _, ...y }) => {
|
|
19
|
+
let { tab: b, tabs: x } = v(y), { i18n: S } = m(), [C, w] = c(b ?? h.Invoices), T = `Monite-ReceivablesTable-Tabs-${s()}-`, E = x?.[C], D = (e) => {
|
|
20
|
+
w(e), g?.(e);
|
|
21
|
+
};
|
|
22
|
+
return /* @__PURE__ */ d(l, { children: [
|
|
23
|
+
/* @__PURE__ */ u(f, {
|
|
24
|
+
className: r(e, "Monite-ReceivablesTable-Tabs"),
|
|
25
|
+
children: /* @__PURE__ */ u(p, {
|
|
26
|
+
value: C,
|
|
27
|
+
variant: "standard",
|
|
28
|
+
"aria-label": S._("Receivables tabs"),
|
|
29
|
+
sx: { border: "none" },
|
|
30
|
+
onChange: (e, t) => D(Number(t)),
|
|
31
|
+
children: x?.map(({ label: e, query: t }, n) => null)
|
|
32
|
+
})
|
|
75
33
|
}),
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
34
|
+
E?.query?.type === "quote" && /* @__PURE__ */ u(f, {
|
|
35
|
+
role: "tabpanel",
|
|
36
|
+
id: `${T}-${C}-tabpanel`,
|
|
37
|
+
"aria-labelledby": `${T}-${C}-tab`,
|
|
38
|
+
sx: {
|
|
39
|
+
display: "flex",
|
|
40
|
+
flexDirection: "column",
|
|
41
|
+
height: "inherit",
|
|
42
|
+
minHeight: "0"
|
|
43
|
+
},
|
|
44
|
+
children: /* @__PURE__ */ u(a, {
|
|
45
|
+
onRowClick: n,
|
|
46
|
+
setIsCreateInvoiceDialogOpen: _,
|
|
47
|
+
query: E?.query
|
|
48
|
+
}, C)
|
|
83
49
|
}),
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
50
|
+
E?.query?.type === "invoice" && /* @__PURE__ */ u(f, {
|
|
51
|
+
role: "tabpanel",
|
|
52
|
+
id: `${T}-${C}-tabpanel`,
|
|
53
|
+
"aria-labelledby": `${T}-${C}-tab`,
|
|
54
|
+
sx: {
|
|
55
|
+
display: "flex",
|
|
56
|
+
flexDirection: "column",
|
|
57
|
+
height: "inherit",
|
|
58
|
+
minHeight: "0"
|
|
59
|
+
},
|
|
60
|
+
children: /* @__PURE__ */ u(i, {
|
|
61
|
+
initialCounterpartId: t,
|
|
62
|
+
onRowClick: n,
|
|
63
|
+
setIsCreateInvoiceDialogOpen: _,
|
|
64
|
+
query: E?.query
|
|
65
|
+
}, C)
|
|
91
66
|
}),
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
67
|
+
E?.query?.type === "credit_note" && /* @__PURE__ */ u(f, {
|
|
68
|
+
role: "tabpanel",
|
|
69
|
+
id: `${T}-${C}-tabpanel`,
|
|
70
|
+
"aria-labelledby": `${T}-${C}-tab`,
|
|
71
|
+
sx: {
|
|
72
|
+
display: "flex",
|
|
73
|
+
flexDirection: "column",
|
|
74
|
+
height: "inherit",
|
|
75
|
+
minHeight: "0"
|
|
76
|
+
},
|
|
77
|
+
children: /* @__PURE__ */ u(o, {
|
|
78
|
+
onRowClick: n,
|
|
79
|
+
setIsCreateInvoiceDialogOpen: _,
|
|
80
|
+
query: E?.query
|
|
81
|
+
}, C)
|
|
101
82
|
})
|
|
102
83
|
] });
|
|
84
|
+
}, v = (e) => {
|
|
85
|
+
let { componentSettings: n } = t();
|
|
86
|
+
return {
|
|
87
|
+
tab: e?.tab ?? n?.receivables?.tab,
|
|
88
|
+
tabs: e?.tabs ?? n?.receivables?.tabs
|
|
89
|
+
};
|
|
103
90
|
};
|
|
104
91
|
//#endregion
|
|
105
|
-
export {
|
|
92
|
+
export { g as ReceivablesTable, h as ReceivablesTableTabEnum, v as useReceivablesTableProps };
|
|
@@ -1,6 +1,105 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { Button as t } from "./index56.js";
|
|
4
|
+
import { useComponentSettings as n } from "./index187.js";
|
|
5
|
+
import "./index189.js";
|
|
6
|
+
import { MoniteScopedProviders as r } from "./index209.js";
|
|
7
|
+
import { useUserPermissions as i } from "./index112.js";
|
|
8
|
+
import { AccessRestriction as a } from "./index236.js";
|
|
9
|
+
import "./index238.js";
|
|
10
|
+
import { CreateReceivables as o } from "./index497.js";
|
|
11
|
+
import { ReceivablesTable as s, ReceivablesTableTabEnum as c } from "./index527.js";
|
|
12
|
+
import { ActionsModal as l } from "./index507.js";
|
|
13
|
+
import { InvoiceDetailsPanel as u } from "./index526.js";
|
|
14
|
+
import { useCallback as d, useEffect as f, useRef as p, useState as m } from "react";
|
|
15
|
+
import { Fragment as h, jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
16
|
+
import { useLingui as v } from "@lingui/react";
|
|
17
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js
|
|
18
|
+
var y = (e) => /* @__PURE__ */ g(r, { children: /* @__PURE__ */ g(b, { ...e }) }), b = ({ pageTitleComponent: r, embeddedBankName: y, initialView: b, initialCounterpartId: x }) => {
|
|
19
|
+
let { i18n: S } = v(), { componentSettings: C, receivablesCallbacks: w } = n(), [T, E] = m(""), [D, O] = m(!1), [k, A] = m(null), [j, M] = m(void 0), N = p(!1), [P, F] = m(C.receivables.tab ?? c.Invoices), I = d((e) => {
|
|
20
|
+
E(e);
|
|
21
|
+
}, []), L = d((e) => {
|
|
22
|
+
I(e);
|
|
23
|
+
}, [I]), R = d(() => {
|
|
24
|
+
E("");
|
|
25
|
+
}, []), z = d(() => {
|
|
26
|
+
O(!1), M(void 0);
|
|
27
|
+
}, []), B = d((e, t) => {
|
|
28
|
+
z(), F(c.Invoices), t.mode === "issue" ? t.hasCustomerEmail ? A({
|
|
29
|
+
action: "issue",
|
|
30
|
+
showEmailStep: !0,
|
|
31
|
+
receivableId: e,
|
|
32
|
+
counterpartId: t.counterpartId,
|
|
33
|
+
inlineLineItems: t.inlineLineItems
|
|
34
|
+
}) : t.inlineLineItems.length > 0 && A({
|
|
35
|
+
action: "issue",
|
|
36
|
+
showEmailStep: !1,
|
|
37
|
+
receivableId: e,
|
|
38
|
+
counterpartId: t.counterpartId,
|
|
39
|
+
inlineLineItems: t.inlineLineItems
|
|
40
|
+
}) : (t.mode === "draft" || t.mode === "recurrence") && (E(e), t.inlineLineItems.length > 0 && A({
|
|
41
|
+
action: t.mode,
|
|
42
|
+
showEmailStep: !1,
|
|
43
|
+
receivableId: e,
|
|
44
|
+
counterpartId: t.counterpartId,
|
|
45
|
+
inlineLineItems: t.inlineLineItems
|
|
46
|
+
})), w.onCreate?.(e);
|
|
47
|
+
}, [
|
|
48
|
+
w,
|
|
49
|
+
F,
|
|
50
|
+
z
|
|
51
|
+
]), V = i(), H = V.has(e.InvoiceWriteOrg), U = V.has(e.InvoiceReadOrg);
|
|
52
|
+
return f(() => {
|
|
53
|
+
N.current || b === "create" && H && (N.current = !0, M(x), O(!0));
|
|
54
|
+
}, [
|
|
55
|
+
b,
|
|
56
|
+
H,
|
|
57
|
+
x
|
|
58
|
+
]), /* @__PURE__ */ _(h, { children: [
|
|
59
|
+
r(/* @__PURE__ */ g(h, { children: /* @__PURE__ */ g(t, {
|
|
60
|
+
id: "actions",
|
|
61
|
+
size: "lg",
|
|
62
|
+
disabled: !H,
|
|
63
|
+
onClick: () => {
|
|
64
|
+
M(void 0), O(!0);
|
|
65
|
+
},
|
|
66
|
+
children: S._("Create Invoice")
|
|
67
|
+
}) })),
|
|
68
|
+
!U && /* @__PURE__ */ g(a, {}),
|
|
69
|
+
U && /* @__PURE__ */ g(s, {
|
|
70
|
+
initialCounterpartId: b === "create" ? void 0 : x,
|
|
71
|
+
tab: P,
|
|
72
|
+
onTabChange: F,
|
|
73
|
+
onRowClick: L,
|
|
74
|
+
setIsCreateInvoiceDialogOpen: O
|
|
75
|
+
}),
|
|
76
|
+
!!T && /* @__PURE__ */ g(u, {
|
|
77
|
+
open: !0,
|
|
78
|
+
invoiceId: T,
|
|
79
|
+
onCloseInvoiceDetails: R,
|
|
80
|
+
onDuplicate: I,
|
|
81
|
+
openInvoiceDetails: I,
|
|
82
|
+
embeddedBankName: y
|
|
83
|
+
}),
|
|
84
|
+
D && /* @__PURE__ */ g(o, {
|
|
85
|
+
open: !0,
|
|
86
|
+
type: "invoice",
|
|
87
|
+
embeddedBankName: y,
|
|
88
|
+
initialCounterpartId: j,
|
|
89
|
+
onCreate: B,
|
|
90
|
+
onOpenChange: z
|
|
91
|
+
}),
|
|
92
|
+
k && /* @__PURE__ */ g(l, {
|
|
93
|
+
open: !0,
|
|
94
|
+
action: k.action,
|
|
95
|
+
inlineLineItems: k.inlineLineItems,
|
|
96
|
+
issue: k.showEmailStep ? {
|
|
97
|
+
receivableId: k.receivableId,
|
|
98
|
+
counterpartId: k.counterpartId
|
|
99
|
+
} : void 0,
|
|
100
|
+
onClose: () => A(null)
|
|
101
|
+
})
|
|
102
|
+
] });
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
export { y as Receivables };
|
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import { useLingui as i } from "@lingui/react";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js
|
|
9
|
-
var a = ({ id: a, open: o, onClose: s, onDeleted: c }) => {
|
|
10
|
-
let { i18n: l } = i(), { data: u } = t(a), d = n(a, () => {
|
|
11
|
-
s(), c?.(a);
|
|
12
|
-
});
|
|
13
|
-
return u ? /* @__PURE__ */ r(e, {
|
|
14
|
-
open: o && !!a,
|
|
15
|
-
title: l._("Delete \"{name}\"?", { name: u.name }),
|
|
16
|
-
message: l._("It will remain in all the documents where it is added. You can't undo this action."),
|
|
17
|
-
confirmLabel: l._("Delete"),
|
|
18
|
-
cancelLabel: l._("Cancel"),
|
|
19
|
-
onClose: s,
|
|
20
|
-
onConfirm: () => {
|
|
21
|
-
d.mutate(void 0);
|
|
22
|
-
},
|
|
23
|
-
isLoading: d.isPending
|
|
24
|
-
}) : null;
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
export { a as ProductDeleteModal };
|
|
1
|
+
import "./index439.js";
|
|
2
|
+
import "./index443.js";
|
|
3
|
+
import "./index444.js";
|
|
4
|
+
import "./index497.js";
|
|
5
|
+
import "./index527.js";
|
|
6
|
+
import "./index528.js";
|
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { ConfirmationModal as e } from "./index59.js";
|
|
2
|
+
import "./index60.js";
|
|
3
|
+
import { useGetProductById as t } from "./index474.js";
|
|
4
|
+
import { useDeleteProduct as n } from "./index475.js";
|
|
5
|
+
import "./index477.js";
|
|
6
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { useLingui as i } from "@lingui/react";
|
|
5
8
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js
|
|
6
|
-
var
|
|
7
|
-
let { i18n:
|
|
8
|
-
|
|
9
|
-
variant: "secondary",
|
|
10
|
-
className: r(o ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"),
|
|
11
|
-
children: s
|
|
9
|
+
var a = ({ id: a, open: o, onClose: s, onDeleted: c }) => {
|
|
10
|
+
let { i18n: l } = i(), { data: u } = t(a), d = n(a, () => {
|
|
11
|
+
s(), c?.(a);
|
|
12
12
|
});
|
|
13
|
+
return u ? /* @__PURE__ */ r(e, {
|
|
14
|
+
open: o && !!a,
|
|
15
|
+
title: l._("Delete \"{name}\"?", { name: u.name }),
|
|
16
|
+
message: l._("It will remain in all the documents where it is added. You can't undo this action."),
|
|
17
|
+
confirmLabel: l._("Delete"),
|
|
18
|
+
cancelLabel: l._("Cancel"),
|
|
19
|
+
onClose: s,
|
|
20
|
+
onConfirm: () => {
|
|
21
|
+
d.mutate(void 0);
|
|
22
|
+
},
|
|
23
|
+
isLoading: d.isPending
|
|
24
|
+
}) : null;
|
|
13
25
|
};
|
|
14
26
|
//#endregion
|
|
15
|
-
export {
|
|
27
|
+
export { a as ProductDeleteModal };
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
+
import { Badge as e } from "./index195.js";
|
|
2
|
+
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
3
|
+
import { useLingui as n } from "@lingui/react";
|
|
4
|
+
import { twMerge as r } from "tailwind-merge";
|
|
1
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js
|
|
2
|
-
var
|
|
6
|
+
var i = ({ type: i }) => {
|
|
7
|
+
let { i18n: a } = n(), o = i === "product", s = o ? a._("Product") : a._("Service");
|
|
8
|
+
return /* @__PURE__ */ t(e, {
|
|
9
|
+
variant: "secondary",
|
|
10
|
+
className: r(o ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"),
|
|
11
|
+
children: s
|
|
12
|
+
});
|
|
13
|
+
};
|
|
3
14
|
//#endregion
|
|
4
|
-
export {
|
|
15
|
+
export { i as ProductType };
|
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
import { InputGroup as e, InputGroupAddon as t, InputGroupInput as n } from "./index103.js";
|
|
2
|
-
import { useDebounceCallback as r } from "./index185.js";
|
|
3
|
-
import { FILTER_TYPE_SEARCH as i } from "./index531.js";
|
|
4
|
-
import { Search as a } from "lucide-react";
|
|
5
|
-
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { useLingui as c } from "@lingui/react";
|
|
7
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js
|
|
8
|
-
var
|
|
9
|
-
let { i18n: u } = c(), d = r((e) => {
|
|
10
|
-
l(i, e);
|
|
11
|
-
}, 500);
|
|
12
|
-
return /* @__PURE__ */ o("div", {
|
|
13
|
-
className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4",
|
|
14
|
-
children: /* @__PURE__ */ s(e, {
|
|
15
|
-
className: "ttw:w-80",
|
|
16
|
-
children: [/* @__PURE__ */ o(t, {
|
|
17
|
-
align: "inline-start",
|
|
18
|
-
children: /* @__PURE__ */ o(a, {})
|
|
19
|
-
}), /* @__PURE__ */ o(n, {
|
|
20
|
-
placeholder: u._("Search by name"),
|
|
21
|
-
onChange: (e) => d(e.target.value)
|
|
22
|
-
})]
|
|
23
|
-
})
|
|
24
|
-
});
|
|
25
|
-
};
|
|
2
|
+
var e = "search";
|
|
26
3
|
//#endregion
|
|
27
|
-
export {
|
|
4
|
+
export { e as FILTER_TYPE_SEARCH };
|
|
@@ -1,16 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { jsx as
|
|
1
|
+
import { InputGroup as e, InputGroupAddon as t, InputGroupInput as n } from "./index103.js";
|
|
2
|
+
import { useDebounceCallback as r } from "./index185.js";
|
|
3
|
+
import { FILTER_TYPE_SEARCH as i } from "./index532.js";
|
|
4
|
+
import { Search as a } from "lucide-react";
|
|
5
|
+
import { jsx as o, jsxs as s } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as c } from "@lingui/react";
|
|
6
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js
|
|
7
|
-
var
|
|
8
|
-
let {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
var l = ({ onChangeFilter: l }) => {
|
|
9
|
+
let { i18n: u } = c(), d = r((e) => {
|
|
10
|
+
l(i, e);
|
|
11
|
+
}, 500);
|
|
12
|
+
return /* @__PURE__ */ o("div", {
|
|
13
|
+
className: "ttw:flex ttw:justify-between ttw:items-center ttw:gap-4",
|
|
14
|
+
children: /* @__PURE__ */ s(e, {
|
|
15
|
+
className: "ttw:w-80",
|
|
16
|
+
children: [/* @__PURE__ */ o(t, {
|
|
17
|
+
align: "inline-start",
|
|
18
|
+
children: /* @__PURE__ */ o(a, {})
|
|
19
|
+
}), /* @__PURE__ */ o(n, {
|
|
20
|
+
placeholder: u._("Search by name"),
|
|
21
|
+
onChange: (e) => d(e.target.value)
|
|
22
|
+
})]
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
};
|
|
15
26
|
//#endregion
|
|
16
|
-
export {
|
|
27
|
+
export { l as Filters };
|
|
@@ -1,173 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import "./index189.js";
|
|
7
|
-
import { MoniteScopedProviders as i } from "./index209.js";
|
|
8
|
-
import { useUserPermissions as a } from "./index112.js";
|
|
9
|
-
import { GetNoRowsOverlay as o } from "./index234.js";
|
|
10
|
-
import { AccessRestriction as s } from "./index235.js";
|
|
11
|
-
import "./index237.js";
|
|
12
|
-
import { DataTable as c } from "./index239.js";
|
|
13
|
-
import { hasSelectedText as l } from "./index240.js";
|
|
14
|
-
import { useGetProducts as u } from "./index375.js";
|
|
15
|
-
import "./index476.js";
|
|
16
|
-
import { ManageMeasureUnits as d } from "./index478.js";
|
|
17
|
-
import { ProductDeleteModal as f } from "./index529.js";
|
|
18
|
-
import { ProductType as p } from "./index530.js";
|
|
19
|
-
import { FILTER_TYPE_SEARCH as m } from "./index531.js";
|
|
20
|
-
import { Filters as ee } from "./index532.js";
|
|
21
|
-
import { MeasureUnit as h } from "./index533.js";
|
|
22
|
-
import { useCallback as g, useMemo as _, useState as v } from "react";
|
|
23
|
-
import { ArrowDown as y, ArrowUp as b, ArrowUpDown as x, Plus as S } from "lucide-react";
|
|
24
|
-
import { Fragment as C, jsx as w, jsxs as T } from "@emotion/react/jsx-runtime";
|
|
25
|
-
import { useLingui as E } from "@lingui/react";
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { Skeleton as t } from "./index54.js";
|
|
3
|
+
import { Typography as n } from "./index62.js";
|
|
4
|
+
import { memo as r } from "react";
|
|
5
|
+
import { jsx as i } from "@emotion/react/jsx-runtime";
|
|
26
6
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js
|
|
27
|
-
var
|
|
28
|
-
let {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
pagination_token: I,
|
|
36
|
-
name__icontains: B.search || void 0
|
|
37
|
-
}), Q = (e, t) => {
|
|
38
|
-
L(void 0), te((n) => ({
|
|
39
|
-
...n,
|
|
40
|
-
[e]: t === "all" ? null : t
|
|
41
|
-
})), i?.({
|
|
42
|
-
field: e,
|
|
43
|
-
value: t
|
|
44
|
-
});
|
|
45
|
-
}, $ = _(() => V ? [{
|
|
46
|
-
id: V.field,
|
|
47
|
-
desc: V.sort === "desc"
|
|
48
|
-
}] : [], [V]), ne = g((e) => {
|
|
49
|
-
let t = typeof e == "function" ? e($) : e;
|
|
50
|
-
if (t.length > 0) {
|
|
51
|
-
let e = {
|
|
52
|
-
field: t[0].id,
|
|
53
|
-
sort: t[0].desc ? "desc" : "asc"
|
|
54
|
-
};
|
|
55
|
-
H(e), D?.(e);
|
|
56
|
-
} else H(void 0);
|
|
57
|
-
L(void 0);
|
|
58
|
-
}, [$, D]), re = _(() => [
|
|
59
|
-
{
|
|
60
|
-
accessorKey: "name",
|
|
61
|
-
header: ({ column: e }) => {
|
|
62
|
-
let t = e.getIsSorted();
|
|
63
|
-
return /* @__PURE__ */ T("div", {
|
|
64
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
65
|
-
children: [j._("Name"), /* @__PURE__ */ w(r, {
|
|
66
|
-
variant: "ghost",
|
|
67
|
-
onClick: () => e.toggleSorting(t === "asc"),
|
|
68
|
-
children: w(t === "asc" ? b : t === "desc" ? y : x, { className: "ttw:size-4" })
|
|
69
|
-
})]
|
|
70
|
-
});
|
|
71
|
-
},
|
|
72
|
-
cell: ({ row: e }) => /* @__PURE__ */ w("span", { children: e.original.name })
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
accessorKey: "type",
|
|
76
|
-
header: j._("Type"),
|
|
77
|
-
cell: ({ row: e }) => e.original.type ? /* @__PURE__ */ w(p, { type: e.original.type }) : null
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
accessorKey: "description",
|
|
81
|
-
header: j._("Description"),
|
|
82
|
-
cell: ({ row: e }) => /* @__PURE__ */ w("div", {
|
|
83
|
-
className: "ttw:w-120",
|
|
84
|
-
children: /* @__PURE__ */ w("span", {
|
|
85
|
-
className: "ttw:w-full ttw:inline-block ttw:truncate",
|
|
86
|
-
children: e.original?.description
|
|
87
|
-
})
|
|
88
|
-
})
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
accessorKey: "price",
|
|
92
|
-
header: () => /* @__PURE__ */ w("div", {
|
|
93
|
-
className: "ttw:text-right",
|
|
94
|
-
children: j._("Price per unit")
|
|
95
|
-
}),
|
|
96
|
-
cell: ({ row: e }) => {
|
|
97
|
-
let t = e.original.price;
|
|
98
|
-
return /* @__PURE__ */ T("div", {
|
|
99
|
-
className: "ttw:justify-end ttw:flex ttw:gap-1 ttw:items-center",
|
|
100
|
-
children: [t ? N(t.value, t.currency) : "", /* @__PURE__ */ w(h, { unitId: e.original.measure_unit_id ?? "" })]
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
], [j, N]), ie = Object.keys(B).some((e) => B[e] !== null && B[e] !== void 0), ae = !!B[m];
|
|
105
|
-
return q ? /* @__PURE__ */ T(C, { children: [
|
|
106
|
-
/* @__PURE__ */ w("div", {
|
|
107
|
-
className: "ttw:flex ttw:flex-col ttw:overflow-hidden ttw:min-h-125",
|
|
108
|
-
children: /* @__PURE__ */ w(c, {
|
|
109
|
-
columns: re,
|
|
110
|
-
data: J?.data ?? [],
|
|
111
|
-
sorting: $,
|
|
112
|
-
onSortingChange: ne,
|
|
113
|
-
pageSize: R,
|
|
114
|
-
onPageSizeChange: z,
|
|
115
|
-
nextPaginationToken: J?.next_pagination_token ?? void 0,
|
|
116
|
-
prevPaginationToken: J?.prev_pagination_token ?? void 0,
|
|
117
|
-
onPaginationTokenChange: L,
|
|
118
|
-
onRowClick: (e) => {
|
|
119
|
-
l() || O?.(e.id);
|
|
120
|
-
},
|
|
121
|
-
filterComponent: /* @__PURE__ */ T("div", {
|
|
122
|
-
className: "ttw:flex ttw:items-center ttw:justify-between ttw:px-4",
|
|
123
|
-
children: [/* @__PURE__ */ w(ee, { onChangeFilter: Q }), /* @__PURE__ */ T("div", {
|
|
124
|
-
className: "ttw:flex ttw:gap-2",
|
|
125
|
-
children: [/* @__PURE__ */ w(r, {
|
|
126
|
-
variant: "ghost",
|
|
127
|
-
onClick: () => F(!0),
|
|
128
|
-
className: "ttw:py-0 ttw:text-primary ttw:hover:text-primary",
|
|
129
|
-
children: j._("Manage units of measure")
|
|
130
|
-
}), /* @__PURE__ */ T(r, {
|
|
131
|
-
disabled: !K,
|
|
132
|
-
onClick: A,
|
|
133
|
-
className: "ttw:py-0",
|
|
134
|
-
children: [/* @__PURE__ */ w(S, {}), j._("Add product or service")]
|
|
135
|
-
})]
|
|
136
|
-
})]
|
|
137
|
-
}),
|
|
138
|
-
children: /* @__PURE__ */ w(o, {
|
|
139
|
-
isLoading: Y,
|
|
140
|
-
dataLength: J?.data.length || 0,
|
|
141
|
-
isFiltering: ie,
|
|
142
|
-
isSearching: ae,
|
|
143
|
-
isError: X,
|
|
144
|
-
onCreate: A,
|
|
145
|
-
refetch: Z,
|
|
146
|
-
filterTitle: j._("No product or service found"),
|
|
147
|
-
filterDescription1: j._("Try adjusting your search or filter criteria"),
|
|
148
|
-
entityName: j._("products or services"),
|
|
149
|
-
actionButtonLabel: j._("Add your first product or service"),
|
|
150
|
-
actionOptions: [j._("Product")],
|
|
151
|
-
noDataTitle: j._("Build your products & services list."),
|
|
152
|
-
noDataDescription1: j._("Save the products and services you sell so you can quickly add them as line items on invoices."),
|
|
153
|
-
type: "no-data"
|
|
154
|
-
})
|
|
155
|
-
})
|
|
156
|
-
}),
|
|
157
|
-
U.id && /* @__PURE__ */ w(f, {
|
|
158
|
-
id: U.id,
|
|
159
|
-
open: U.open,
|
|
160
|
-
onDeleted: k,
|
|
161
|
-
onClose: () => W((e) => ({
|
|
162
|
-
...e,
|
|
163
|
-
open: !1
|
|
164
|
-
}))
|
|
165
|
-
}),
|
|
166
|
-
P && /* @__PURE__ */ w(d, {
|
|
167
|
-
open: P,
|
|
168
|
-
handleClose: () => F(!1)
|
|
169
|
-
})
|
|
170
|
-
] }) : /* @__PURE__ */ w(s, {});
|
|
171
|
-
};
|
|
7
|
+
var a = r(({ unitId: r }) => {
|
|
8
|
+
let { api: a } = e(), { data: o, isLoading: s } = a.finops.getMeasureUnitsId.useQuery({ path: { unit_id: r } });
|
|
9
|
+
return s ? /* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4" }) : o ? /* @__PURE__ */ i(n, {
|
|
10
|
+
color: "muted",
|
|
11
|
+
variant: "body2",
|
|
12
|
+
children: o.name
|
|
13
|
+
}) : null;
|
|
14
|
+
});
|
|
172
15
|
//#endregion
|
|
173
|
-
export {
|
|
16
|
+
export { a as MeasureUnit };
|