@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,39 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Skeleton as t } from "./index54.js";
|
|
3
|
-
import { Badge as n } from "./index195.js";
|
|
4
|
-
import { getVariantProps as r } from "./index251.js";
|
|
5
|
-
import { UUserSquare as i } from "./index264.js";
|
|
6
|
-
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
1
|
+
import { createElement as e } from "react";
|
|
7
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js
|
|
8
|
-
var
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
return /* @__PURE__ */ a(n, {
|
|
17
|
-
variant: e,
|
|
18
|
-
className: t,
|
|
19
|
-
children: "N/A"
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
if (!h && !g || !h) return null;
|
|
23
|
-
let { badgeVariant: _, className: v, showIcon: y } = r({
|
|
24
|
-
variant: c,
|
|
25
|
-
isError: !1,
|
|
26
|
-
componentType: "role"
|
|
27
|
-
});
|
|
28
|
-
return /* @__PURE__ */ o(n, {
|
|
29
|
-
variant: _,
|
|
30
|
-
className: v,
|
|
31
|
-
children: [y && /* @__PURE__ */ a(i, {
|
|
32
|
-
width: 24,
|
|
33
|
-
height: 24,
|
|
34
|
-
className: c === "default" ? "ttw:text-[rgb(97,97,97)] ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0" : "ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0"
|
|
35
|
-
}), g ? /* @__PURE__ */ a(t, { className: "ttw:h-4 ttw:w-20" }) : l ? `"${h.name}"` : h.name]
|
|
36
|
-
});
|
|
37
|
-
};
|
|
3
|
+
var t = ({ color: t = "currentColor", size: n, ...r }) => e("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: n,
|
|
6
|
+
height: n,
|
|
7
|
+
viewBox: "0 0 24 24",
|
|
8
|
+
fill: t,
|
|
9
|
+
...r
|
|
10
|
+
}, e("path", { d: "M14.81,12.28a3.73,3.73,0,0,0,1-2.5,3.78,3.78,0,0,0-7.56,0,3.73,3.73,0,0,0,1,2.5A5.94,5.94,0,0,0,6,16.89a1,1,0,0,0,2,.22,4,4,0,0,1,7.94,0A1,1,0,0,0,17,18h.11a1,1,0,0,0,.88-1.1A5.94,5.94,0,0,0,14.81,12.28ZM12,11.56a1.78,1.78,0,1,1,1.78-1.78A1.78,1.78,0,0,1,12,11.56ZM19,2H5A3,3,0,0,0,2,5V19a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V5A3,3,0,0,0,19,2Zm1,17a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V5A1,1,0,0,1,5,4H19a1,1,0,0,1,1,1Z" }));
|
|
38
11
|
//#endregion
|
|
39
|
-
export {
|
|
12
|
+
export { t as UUserSquare };
|
|
@@ -1 +1,39 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { Skeleton as t } from "./index54.js";
|
|
3
|
+
import { Badge as n } from "./index195.js";
|
|
4
|
+
import { getVariantProps as r } from "./index252.js";
|
|
5
|
+
import { UUserSquare as i } from "./index265.js";
|
|
6
|
+
import { jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js
|
|
8
|
+
var s = ({ roleId: s, variant: c = "default", quoted: l = !1, roleData: u }) => {
|
|
9
|
+
let { api: d } = e(), { data: f, isLoading: p, isError: m } = d.finops.getRolesId.useQuery({ path: { role_id: s } }, { enabled: !u }), h = u ?? f, g = !u && p;
|
|
10
|
+
if (!h && !g && m && s) {
|
|
11
|
+
let { badgeVariant: e, className: t } = r({
|
|
12
|
+
variant: c,
|
|
13
|
+
isError: !0,
|
|
14
|
+
componentType: "role"
|
|
15
|
+
});
|
|
16
|
+
return /* @__PURE__ */ a(n, {
|
|
17
|
+
variant: e,
|
|
18
|
+
className: t,
|
|
19
|
+
children: "N/A"
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
if (!h && !g || !h) return null;
|
|
23
|
+
let { badgeVariant: _, className: v, showIcon: y } = r({
|
|
24
|
+
variant: c,
|
|
25
|
+
isError: !1,
|
|
26
|
+
componentType: "role"
|
|
27
|
+
});
|
|
28
|
+
return /* @__PURE__ */ o(n, {
|
|
29
|
+
variant: _,
|
|
30
|
+
className: v,
|
|
31
|
+
children: [y && /* @__PURE__ */ a(i, {
|
|
32
|
+
width: 24,
|
|
33
|
+
height: 24,
|
|
34
|
+
className: c === "default" ? "ttw:text-[rgb(97,97,97)] ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0" : "ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0"
|
|
35
|
+
}), g ? /* @__PURE__ */ a(t, { className: "ttw:h-4 ttw:w-20" }) : l ? `"${h.name}"` : h.name]
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
39
|
+
export { s as Role };
|
|
@@ -1,106 +1 @@
|
|
|
1
|
-
import { User as e } from "./index252.js";
|
|
2
|
-
import "./index253.js";
|
|
3
|
-
import { useApprovalPolicyScript as t } from "./index263.js";
|
|
4
|
-
import { Role as n } from "./index265.js";
|
|
5
1
|
import "./index266.js";
|
|
6
|
-
import { useMemo as r } from "react";
|
|
7
|
-
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
8
|
-
import { Button as o, IconButton as s, Paper as c, Stack as l, Table as u, TableBody as d, TableCell as f, TableHead as p, TableRow as m } from "@mui/material";
|
|
9
|
-
import { useLingui as h } from "@lingui/react";
|
|
10
|
-
import g from "@mui/icons-material/AddCircleOutline";
|
|
11
|
-
import _ from "@mui/icons-material/Delete";
|
|
12
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js
|
|
13
|
-
var v = ({ rules: v, usersFromListCount: y, rolesFromListCount: b, onAddRule: x, onEditRule: S, onDeleteRule: C }) => {
|
|
14
|
-
let { i18n: w } = h(), { getRuleLabel: T } = t({}), E = r(() => Object.keys(v).map((t) => {
|
|
15
|
-
let r, a;
|
|
16
|
-
switch (t) {
|
|
17
|
-
case "users_from_list":
|
|
18
|
-
r = T(t, (typeof y == "string" ? parseInt(y) : y) || 0);
|
|
19
|
-
break;
|
|
20
|
-
case "roles_from_list":
|
|
21
|
-
r = T(t, typeof b == "string" ? parseInt(b) : b || 0);
|
|
22
|
-
break;
|
|
23
|
-
default: r = T(t);
|
|
24
|
-
}
|
|
25
|
-
switch (t) {
|
|
26
|
-
case "single_user":
|
|
27
|
-
a = /* @__PURE__ */ i(l, {
|
|
28
|
-
direction: "column",
|
|
29
|
-
spacing: .5,
|
|
30
|
-
sx: { overflow: "hidden" },
|
|
31
|
-
children: v.single_user?.id && /* @__PURE__ */ i(e, { userId: v.single_user?.id }, v.single_user?.id)
|
|
32
|
-
});
|
|
33
|
-
break;
|
|
34
|
-
case "users_from_list":
|
|
35
|
-
a = /* @__PURE__ */ i(l, {
|
|
36
|
-
direction: "column",
|
|
37
|
-
spacing: .5,
|
|
38
|
-
sx: { overflow: "hidden" },
|
|
39
|
-
children: v?.users_from_list?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
40
|
-
});
|
|
41
|
-
break;
|
|
42
|
-
case "roles_from_list":
|
|
43
|
-
a = /* @__PURE__ */ i(l, {
|
|
44
|
-
direction: "row",
|
|
45
|
-
gap: 1,
|
|
46
|
-
flexWrap: "wrap",
|
|
47
|
-
useFlexGap: !0,
|
|
48
|
-
sx: { "& > *": { flexShrink: 0 } },
|
|
49
|
-
children: v.roles_from_list?.map((e) => /* @__PURE__ */ i(n, { roleId: e.id }, e.id))
|
|
50
|
-
});
|
|
51
|
-
break;
|
|
52
|
-
case "approval_chain": a = /* @__PURE__ */ i(l, {
|
|
53
|
-
direction: "column",
|
|
54
|
-
spacing: .5,
|
|
55
|
-
sx: { overflow: "hidden" },
|
|
56
|
-
children: v?.approval_chain?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
key: t,
|
|
61
|
-
label: r,
|
|
62
|
-
value: a
|
|
63
|
-
};
|
|
64
|
-
}), [
|
|
65
|
-
v,
|
|
66
|
-
y,
|
|
67
|
-
T,
|
|
68
|
-
b
|
|
69
|
-
]);
|
|
70
|
-
return /* @__PURE__ */ i(c, {
|
|
71
|
-
variant: "outlined",
|
|
72
|
-
children: /* @__PURE__ */ a(u, { children: [/* @__PURE__ */ i(p, { children: /* @__PURE__ */ a(m, { children: [
|
|
73
|
-
/* @__PURE__ */ i(f, { children: w._("Condition") }),
|
|
74
|
-
/* @__PURE__ */ i(f, { children: w._("Criteria") }),
|
|
75
|
-
/* @__PURE__ */ i(f, {})
|
|
76
|
-
] }) }), /* @__PURE__ */ a(d, { children: [E.length > 0 ? E.map((e) => /* @__PURE__ */ a(m, {
|
|
77
|
-
hover: !0,
|
|
78
|
-
sx: { "&.MuiTableRow-root": { cursor: "pointer" } },
|
|
79
|
-
onClick: () => S(e.key),
|
|
80
|
-
children: [
|
|
81
|
-
/* @__PURE__ */ i(f, { children: e.label }),
|
|
82
|
-
/* @__PURE__ */ i(f, { children: e.value }),
|
|
83
|
-
/* @__PURE__ */ i(f, { children: /* @__PURE__ */ i(s, {
|
|
84
|
-
"aria-label": w._("Delete trigger"),
|
|
85
|
-
onClick: (t) => {
|
|
86
|
-
t.stopPropagation(), C(e.key);
|
|
87
|
-
},
|
|
88
|
-
children: /* @__PURE__ */ i(_, {})
|
|
89
|
-
}) })
|
|
90
|
-
]
|
|
91
|
-
}, e.label)) : /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
92
|
-
colSpan: 3,
|
|
93
|
-
children: w._("No rules")
|
|
94
|
-
}) }), /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
95
|
-
colSpan: 3,
|
|
96
|
-
children: /* @__PURE__ */ i(o, {
|
|
97
|
-
startIcon: /* @__PURE__ */ i(g, {}),
|
|
98
|
-
onClick: x,
|
|
99
|
-
disabled: !!v.single_user && (v.users_from_list?.length ?? 0) > 0 && (v.roles_from_list?.length ?? 0) > 0 && (v.approval_chain?.length ?? 0) > 0,
|
|
100
|
-
children: w._("Add new rule")
|
|
101
|
-
})
|
|
102
|
-
}) })] })] })
|
|
103
|
-
});
|
|
104
|
-
};
|
|
105
|
-
//#endregion
|
|
106
|
-
export { v as RulesTable };
|
|
@@ -1 +1,106 @@
|
|
|
1
|
+
import { User as e } from "./index253.js";
|
|
2
|
+
import "./index254.js";
|
|
3
|
+
import { useApprovalPolicyScript as t } from "./index264.js";
|
|
4
|
+
import { Role as n } from "./index266.js";
|
|
1
5
|
import "./index267.js";
|
|
6
|
+
import { useMemo as r } from "react";
|
|
7
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
8
|
+
import { Button as o, IconButton as s, Paper as c, Stack as l, Table as u, TableBody as d, TableCell as f, TableHead as p, TableRow as m } from "@mui/material";
|
|
9
|
+
import { useLingui as h } from "@lingui/react";
|
|
10
|
+
import g from "@mui/icons-material/AddCircleOutline";
|
|
11
|
+
import _ from "@mui/icons-material/Delete";
|
|
12
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js
|
|
13
|
+
var v = ({ rules: v, usersFromListCount: y, rolesFromListCount: b, onAddRule: x, onEditRule: S, onDeleteRule: C }) => {
|
|
14
|
+
let { i18n: w } = h(), { getRuleLabel: T } = t({}), E = r(() => Object.keys(v).map((t) => {
|
|
15
|
+
let r, a;
|
|
16
|
+
switch (t) {
|
|
17
|
+
case "users_from_list":
|
|
18
|
+
r = T(t, (typeof y == "string" ? parseInt(y) : y) || 0);
|
|
19
|
+
break;
|
|
20
|
+
case "roles_from_list":
|
|
21
|
+
r = T(t, typeof b == "string" ? parseInt(b) : b || 0);
|
|
22
|
+
break;
|
|
23
|
+
default: r = T(t);
|
|
24
|
+
}
|
|
25
|
+
switch (t) {
|
|
26
|
+
case "single_user":
|
|
27
|
+
a = /* @__PURE__ */ i(l, {
|
|
28
|
+
direction: "column",
|
|
29
|
+
spacing: .5,
|
|
30
|
+
sx: { overflow: "hidden" },
|
|
31
|
+
children: v.single_user?.id && /* @__PURE__ */ i(e, { userId: v.single_user?.id }, v.single_user?.id)
|
|
32
|
+
});
|
|
33
|
+
break;
|
|
34
|
+
case "users_from_list":
|
|
35
|
+
a = /* @__PURE__ */ i(l, {
|
|
36
|
+
direction: "column",
|
|
37
|
+
spacing: .5,
|
|
38
|
+
sx: { overflow: "hidden" },
|
|
39
|
+
children: v?.users_from_list?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
40
|
+
});
|
|
41
|
+
break;
|
|
42
|
+
case "roles_from_list":
|
|
43
|
+
a = /* @__PURE__ */ i(l, {
|
|
44
|
+
direction: "row",
|
|
45
|
+
gap: 1,
|
|
46
|
+
flexWrap: "wrap",
|
|
47
|
+
useFlexGap: !0,
|
|
48
|
+
sx: { "& > *": { flexShrink: 0 } },
|
|
49
|
+
children: v.roles_from_list?.map((e) => /* @__PURE__ */ i(n, { roleId: e.id }, e.id))
|
|
50
|
+
});
|
|
51
|
+
break;
|
|
52
|
+
case "approval_chain": a = /* @__PURE__ */ i(l, {
|
|
53
|
+
direction: "column",
|
|
54
|
+
spacing: .5,
|
|
55
|
+
sx: { overflow: "hidden" },
|
|
56
|
+
children: v?.approval_chain?.map((t) => /* @__PURE__ */ i(e, { userId: t.id }, t.id))
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
key: t,
|
|
61
|
+
label: r,
|
|
62
|
+
value: a
|
|
63
|
+
};
|
|
64
|
+
}), [
|
|
65
|
+
v,
|
|
66
|
+
y,
|
|
67
|
+
T,
|
|
68
|
+
b
|
|
69
|
+
]);
|
|
70
|
+
return /* @__PURE__ */ i(c, {
|
|
71
|
+
variant: "outlined",
|
|
72
|
+
children: /* @__PURE__ */ a(u, { children: [/* @__PURE__ */ i(p, { children: /* @__PURE__ */ a(m, { children: [
|
|
73
|
+
/* @__PURE__ */ i(f, { children: w._("Condition") }),
|
|
74
|
+
/* @__PURE__ */ i(f, { children: w._("Criteria") }),
|
|
75
|
+
/* @__PURE__ */ i(f, {})
|
|
76
|
+
] }) }), /* @__PURE__ */ a(d, { children: [E.length > 0 ? E.map((e) => /* @__PURE__ */ a(m, {
|
|
77
|
+
hover: !0,
|
|
78
|
+
sx: { "&.MuiTableRow-root": { cursor: "pointer" } },
|
|
79
|
+
onClick: () => S(e.key),
|
|
80
|
+
children: [
|
|
81
|
+
/* @__PURE__ */ i(f, { children: e.label }),
|
|
82
|
+
/* @__PURE__ */ i(f, { children: e.value }),
|
|
83
|
+
/* @__PURE__ */ i(f, { children: /* @__PURE__ */ i(s, {
|
|
84
|
+
"aria-label": w._("Delete trigger"),
|
|
85
|
+
onClick: (t) => {
|
|
86
|
+
t.stopPropagation(), C(e.key);
|
|
87
|
+
},
|
|
88
|
+
children: /* @__PURE__ */ i(_, {})
|
|
89
|
+
}) })
|
|
90
|
+
]
|
|
91
|
+
}, e.label)) : /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
92
|
+
colSpan: 3,
|
|
93
|
+
children: w._("No rules")
|
|
94
|
+
}) }), /* @__PURE__ */ i(m, { children: /* @__PURE__ */ i(f, {
|
|
95
|
+
colSpan: 3,
|
|
96
|
+
children: /* @__PURE__ */ i(o, {
|
|
97
|
+
startIcon: /* @__PURE__ */ i(g, {}),
|
|
98
|
+
onClick: x,
|
|
99
|
+
disabled: !!v.single_user && (v.users_from_list?.length ?? 0) > 0 && (v.roles_from_list?.length ?? 0) > 0 && (v.approval_chain?.length ?? 0) > 0,
|
|
100
|
+
children: w._("Add new rule")
|
|
101
|
+
})
|
|
102
|
+
}) })] })] })
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
//#endregion
|
|
106
|
+
export { v as RulesTable };
|
|
@@ -1,56 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useRootElements as t } from "./index178.js";
|
|
3
|
-
import "./index179.js";
|
|
4
|
-
import { useDebounce as n } from "./index185.js";
|
|
5
|
-
import { useState as r } from "react";
|
|
6
|
-
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
-
import { useLingui as d } from "@lingui/react";
|
|
9
|
-
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js
|
|
11
|
-
var m = ({ control: m, name: h, label: g }) => {
|
|
12
|
-
let { i18n: _ } = d(), { api: v } = e(), { root: y } = t(), { setValue: b } = p(), [x, S] = r(""), C = n(x, 300), { data: w, isLoading: T, refetch: E } = v.finops.getEntityUsers.useQuery({ query: { name__istartswith: C || void 0 } });
|
|
13
|
-
return /* @__PURE__ */ a(f, {
|
|
14
|
-
control: m,
|
|
15
|
-
name: h,
|
|
16
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
17
|
-
...e,
|
|
18
|
-
id: e.name,
|
|
19
|
-
multiple: !0,
|
|
20
|
-
autoComplete: !0,
|
|
21
|
-
includeInputInList: !0,
|
|
22
|
-
filterSelectedOptions: !0,
|
|
23
|
-
noOptionsText: _._("No users found"),
|
|
24
|
-
slotProps: { popper: { container: y } },
|
|
25
|
-
loading: T,
|
|
26
|
-
options: w?.data || [],
|
|
27
|
-
getOptionKey: (e) => e.id,
|
|
28
|
-
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
29
|
-
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
30
|
-
filterOptions: (e) => e,
|
|
31
|
-
onInputChange: (e, t) => {
|
|
32
|
-
S(t);
|
|
33
|
-
},
|
|
34
|
-
onChange: (e, t) => {
|
|
35
|
-
b(h, t), E();
|
|
36
|
-
},
|
|
37
|
-
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
38
|
-
...e,
|
|
39
|
-
label: g,
|
|
40
|
-
error: !!t,
|
|
41
|
-
InputProps: {
|
|
42
|
-
...e.InputProps,
|
|
43
|
-
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
44
|
-
color: "inherit",
|
|
45
|
-
size: 20
|
|
46
|
-
}) : null, e.InputProps.endAdornment] })
|
|
47
|
-
}
|
|
48
|
-
})
|
|
49
|
-
}), t && /* @__PURE__ */ a(l, {
|
|
50
|
-
error: !0,
|
|
51
|
-
children: t.message
|
|
52
|
-
})] })
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
//#endregion
|
|
56
|
-
export { m as AutocompleteUsers };
|
|
1
|
+
import "./index268.js";
|
|
@@ -1 +1,56 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { useRootElements as t } from "./index178.js";
|
|
3
|
+
import "./index179.js";
|
|
4
|
+
import { useDebounce as n } from "./index185.js";
|
|
5
|
+
import { useState as r } from "react";
|
|
6
|
+
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
+
import { useLingui as d } from "@lingui/react";
|
|
9
|
+
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js
|
|
11
|
+
var m = ({ control: m, name: h, label: g }) => {
|
|
12
|
+
let { i18n: _ } = d(), { api: v } = e(), { root: y } = t(), { setValue: b } = p(), [x, S] = r(""), C = n(x, 300), { data: w, isLoading: T, refetch: E } = v.finops.getEntityUsers.useQuery({ query: { name__istartswith: C || void 0 } });
|
|
13
|
+
return /* @__PURE__ */ a(f, {
|
|
14
|
+
control: m,
|
|
15
|
+
name: h,
|
|
16
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
17
|
+
...e,
|
|
18
|
+
id: e.name,
|
|
19
|
+
multiple: !0,
|
|
20
|
+
autoComplete: !0,
|
|
21
|
+
includeInputInList: !0,
|
|
22
|
+
filterSelectedOptions: !0,
|
|
23
|
+
noOptionsText: _._("No users found"),
|
|
24
|
+
slotProps: { popper: { container: y } },
|
|
25
|
+
loading: T,
|
|
26
|
+
options: w?.data || [],
|
|
27
|
+
getOptionKey: (e) => e.id,
|
|
28
|
+
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
29
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
30
|
+
filterOptions: (e) => e,
|
|
31
|
+
onInputChange: (e, t) => {
|
|
32
|
+
S(t);
|
|
33
|
+
},
|
|
34
|
+
onChange: (e, t) => {
|
|
35
|
+
b(h, t), E();
|
|
36
|
+
},
|
|
37
|
+
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
38
|
+
...e,
|
|
39
|
+
label: g,
|
|
40
|
+
error: !!t,
|
|
41
|
+
InputProps: {
|
|
42
|
+
...e.InputProps,
|
|
43
|
+
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
44
|
+
color: "inherit",
|
|
45
|
+
size: 20
|
|
46
|
+
}) : null, e.InputProps.endAdornment] })
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
}), t && /* @__PURE__ */ a(l, {
|
|
50
|
+
error: !0,
|
|
51
|
+
children: t.message
|
|
52
|
+
})] })
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
//#endregion
|
|
56
|
+
export { m as AutocompleteUsers };
|
|
@@ -1,55 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useRootElements as t } from "./index178.js";
|
|
3
|
-
import "./index179.js";
|
|
4
|
-
import { useState as n } from "react";
|
|
5
|
-
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
-
import { Autocomplete as o, CircularProgress as s, FormHelperText as c, TextField as l } from "@mui/material";
|
|
7
|
-
import { useLingui as u } from "@lingui/react";
|
|
8
|
-
import { Controller as d, useFormContext as f } from "react-hook-form";
|
|
9
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js
|
|
10
|
-
var p = ({ control: p, name: m, label: h }) => {
|
|
11
|
-
let { i18n: g } = u(), { api: _ } = e(), { root: v } = t(), { setValue: y } = f(), [b, x] = n(""), { data: S, isLoading: C, refetch: w } = _.finops.getRoles.useQuery({ query: { name: b || void 0 } });
|
|
12
|
-
return /* @__PURE__ */ i(d, {
|
|
13
|
-
control: p,
|
|
14
|
-
name: m,
|
|
15
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(o, {
|
|
16
|
-
...e,
|
|
17
|
-
id: e.name,
|
|
18
|
-
multiple: !0,
|
|
19
|
-
autoComplete: !0,
|
|
20
|
-
includeInputInList: !0,
|
|
21
|
-
filterSelectedOptions: !0,
|
|
22
|
-
noOptionsText: g._("No roles found"),
|
|
23
|
-
slotProps: { popper: { container: v } },
|
|
24
|
-
loading: C,
|
|
25
|
-
options: S?.data || [],
|
|
26
|
-
getOptionKey: (e) => e.id,
|
|
27
|
-
getOptionLabel: (e) => e.name,
|
|
28
|
-
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
29
|
-
filterOptions: (e) => e,
|
|
30
|
-
onInputChange: (e, t) => {
|
|
31
|
-
x(t);
|
|
32
|
-
},
|
|
33
|
-
onChange: (e, t) => {
|
|
34
|
-
y(m, t), w();
|
|
35
|
-
},
|
|
36
|
-
renderInput: (e) => /* @__PURE__ */ i(l, {
|
|
37
|
-
...e,
|
|
38
|
-
label: h,
|
|
39
|
-
error: !!t,
|
|
40
|
-
InputProps: {
|
|
41
|
-
...e.InputProps,
|
|
42
|
-
endAdornment: /* @__PURE__ */ a(r, { children: [C ? /* @__PURE__ */ i(s, {
|
|
43
|
-
color: "inherit",
|
|
44
|
-
size: 20
|
|
45
|
-
}) : null, e.InputProps.endAdornment] })
|
|
46
|
-
}
|
|
47
|
-
})
|
|
48
|
-
}), t && /* @__PURE__ */ i(c, {
|
|
49
|
-
error: !0,
|
|
50
|
-
children: t.message
|
|
51
|
-
})] })
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
//#endregion
|
|
55
|
-
export { p as AutocompleteRoles };
|
|
1
|
+
import "./index270.js";
|
|
@@ -1 +1,55 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { useRootElements as t } from "./index178.js";
|
|
3
|
+
import "./index179.js";
|
|
4
|
+
import { useState as n } from "react";
|
|
5
|
+
import { Fragment as r, jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { Autocomplete as o, CircularProgress as s, FormHelperText as c, TextField as l } from "@mui/material";
|
|
7
|
+
import { useLingui as u } from "@lingui/react";
|
|
8
|
+
import { Controller as d, useFormContext as f } from "react-hook-form";
|
|
9
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js
|
|
10
|
+
var p = ({ control: p, name: m, label: h }) => {
|
|
11
|
+
let { i18n: g } = u(), { api: _ } = e(), { root: v } = t(), { setValue: y } = f(), [b, x] = n(""), { data: S, isLoading: C, refetch: w } = _.finops.getRoles.useQuery({ query: { name: b || void 0 } });
|
|
12
|
+
return /* @__PURE__ */ i(d, {
|
|
13
|
+
control: p,
|
|
14
|
+
name: m,
|
|
15
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(o, {
|
|
16
|
+
...e,
|
|
17
|
+
id: e.name,
|
|
18
|
+
multiple: !0,
|
|
19
|
+
autoComplete: !0,
|
|
20
|
+
includeInputInList: !0,
|
|
21
|
+
filterSelectedOptions: !0,
|
|
22
|
+
noOptionsText: g._("No roles found"),
|
|
23
|
+
slotProps: { popper: { container: v } },
|
|
24
|
+
loading: C,
|
|
25
|
+
options: S?.data || [],
|
|
26
|
+
getOptionKey: (e) => e.id,
|
|
27
|
+
getOptionLabel: (e) => e.name,
|
|
28
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
29
|
+
filterOptions: (e) => e,
|
|
30
|
+
onInputChange: (e, t) => {
|
|
31
|
+
x(t);
|
|
32
|
+
},
|
|
33
|
+
onChange: (e, t) => {
|
|
34
|
+
y(m, t), w();
|
|
35
|
+
},
|
|
36
|
+
renderInput: (e) => /* @__PURE__ */ i(l, {
|
|
37
|
+
...e,
|
|
38
|
+
label: h,
|
|
39
|
+
error: !!t,
|
|
40
|
+
InputProps: {
|
|
41
|
+
...e.InputProps,
|
|
42
|
+
endAdornment: /* @__PURE__ */ a(r, { children: [C ? /* @__PURE__ */ i(s, {
|
|
43
|
+
color: "inherit",
|
|
44
|
+
size: 20
|
|
45
|
+
}) : null, e.InputProps.endAdornment] })
|
|
46
|
+
}
|
|
47
|
+
})
|
|
48
|
+
}), t && /* @__PURE__ */ i(c, {
|
|
49
|
+
error: !0,
|
|
50
|
+
children: t.message
|
|
51
|
+
})] })
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
export { p as AutocompleteRoles };
|
|
@@ -1,55 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useRootElements as t } from "./index178.js";
|
|
3
|
-
import "./index179.js";
|
|
4
|
-
import { useDebounce as n } from "./index185.js";
|
|
5
|
-
import { useState as r } from "react";
|
|
6
|
-
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
-
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
-
import { useLingui as d } from "@lingui/react";
|
|
9
|
-
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js
|
|
11
|
-
var m = ({ control: m, name: h, label: g }) => {
|
|
12
|
-
let { i18n: _ } = d(), { api: v } = e(), { root: y } = t(), { setValue: b } = p(), [x, S] = r(""), C = n(x, 300), { data: w, isLoading: T, refetch: E } = v.finops.getEntityUsers.useQuery({ query: { name__istartswith: C || void 0 } });
|
|
13
|
-
return /* @__PURE__ */ a(f, {
|
|
14
|
-
control: m,
|
|
15
|
-
name: h,
|
|
16
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
17
|
-
...e,
|
|
18
|
-
id: e.name,
|
|
19
|
-
autoComplete: !0,
|
|
20
|
-
includeInputInList: !0,
|
|
21
|
-
filterSelectedOptions: !0,
|
|
22
|
-
noOptionsText: _._("No users found"),
|
|
23
|
-
slotProps: { popper: { container: y } },
|
|
24
|
-
loading: T,
|
|
25
|
-
options: w?.data || [],
|
|
26
|
-
getOptionKey: (e) => e.id,
|
|
27
|
-
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
28
|
-
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
29
|
-
filterOptions: (e) => e,
|
|
30
|
-
onInputChange: (e, t) => {
|
|
31
|
-
S(t);
|
|
32
|
-
},
|
|
33
|
-
onChange: (e, t) => {
|
|
34
|
-
b(h, t), E();
|
|
35
|
-
},
|
|
36
|
-
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
37
|
-
...e,
|
|
38
|
-
label: g,
|
|
39
|
-
error: !!t,
|
|
40
|
-
InputProps: {
|
|
41
|
-
...e.InputProps,
|
|
42
|
-
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
43
|
-
color: "inherit",
|
|
44
|
-
size: 20
|
|
45
|
-
}) : null, e.InputProps.endAdornment] })
|
|
46
|
-
}
|
|
47
|
-
})
|
|
48
|
-
}), t && /* @__PURE__ */ a(l, {
|
|
49
|
-
error: !0,
|
|
50
|
-
children: t.message
|
|
51
|
-
})] })
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
//#endregion
|
|
55
|
-
export { m as AutocompleteUser };
|
|
1
|
+
import "./index272.js";
|
|
@@ -1 +1,55 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index47.js";
|
|
2
|
+
import { useRootElements as t } from "./index178.js";
|
|
3
|
+
import "./index179.js";
|
|
4
|
+
import { useDebounce as n } from "./index185.js";
|
|
5
|
+
import { useState as r } from "react";
|
|
6
|
+
import { Fragment as i, jsx as a, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
7
|
+
import { Autocomplete as s, CircularProgress as c, FormHelperText as l, TextField as u } from "@mui/material";
|
|
8
|
+
import { useLingui as d } from "@lingui/react";
|
|
9
|
+
import { Controller as f, useFormContext as p } from "react-hook-form";
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js
|
|
11
|
+
var m = ({ control: m, name: h, label: g }) => {
|
|
12
|
+
let { i18n: _ } = d(), { api: v } = e(), { root: y } = t(), { setValue: b } = p(), [x, S] = r(""), C = n(x, 300), { data: w, isLoading: T, refetch: E } = v.finops.getEntityUsers.useQuery({ query: { name__istartswith: C || void 0 } });
|
|
13
|
+
return /* @__PURE__ */ a(f, {
|
|
14
|
+
control: m,
|
|
15
|
+
name: h,
|
|
16
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(s, {
|
|
17
|
+
...e,
|
|
18
|
+
id: e.name,
|
|
19
|
+
autoComplete: !0,
|
|
20
|
+
includeInputInList: !0,
|
|
21
|
+
filterSelectedOptions: !0,
|
|
22
|
+
noOptionsText: _._("No users found"),
|
|
23
|
+
slotProps: { popper: { container: y } },
|
|
24
|
+
loading: T,
|
|
25
|
+
options: w?.data || [],
|
|
26
|
+
getOptionKey: (e) => e.id,
|
|
27
|
+
getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(),
|
|
28
|
+
isOptionEqualToValue: (e, t) => e.id === t.id,
|
|
29
|
+
filterOptions: (e) => e,
|
|
30
|
+
onInputChange: (e, t) => {
|
|
31
|
+
S(t);
|
|
32
|
+
},
|
|
33
|
+
onChange: (e, t) => {
|
|
34
|
+
b(h, t), E();
|
|
35
|
+
},
|
|
36
|
+
renderInput: (e) => /* @__PURE__ */ a(u, {
|
|
37
|
+
...e,
|
|
38
|
+
label: g,
|
|
39
|
+
error: !!t,
|
|
40
|
+
InputProps: {
|
|
41
|
+
...e.InputProps,
|
|
42
|
+
endAdornment: /* @__PURE__ */ o(i, { children: [T ? /* @__PURE__ */ a(c, {
|
|
43
|
+
color: "inherit",
|
|
44
|
+
size: 20
|
|
45
|
+
}) : null, e.InputProps.endAdornment] })
|
|
46
|
+
}
|
|
47
|
+
})
|
|
48
|
+
}), t && /* @__PURE__ */ a(l, {
|
|
49
|
+
error: !0,
|
|
50
|
+
children: t.message
|
|
51
|
+
})] })
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
//#endregion
|
|
55
|
+
export { m as AutocompleteUser };
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./index91.js";
|
|
3
|
-
import "./index97.js";
|
|
4
|
-
import "./index98.js";
|
|
5
|
-
import "./index106.js";
|
|
6
|
-
import "./index107.js";
|
|
7
|
-
import "./index108.js";
|
|
8
|
-
import "./index228.js";
|
|
9
|
-
import "./index230.js";
|
|
10
|
-
import "./index241.js";
|
|
11
|
-
import "./index242.js";
|
|
12
|
-
import "./index243.js";
|
|
13
|
-
import "./index246.js";
|
|
1
|
+
import "./index274.js";
|