@tesouro/embedded-components-react 0.7.50 → 0.7.51
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.d.ts +42 -42
- package/dist/lib/monite-sdk.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +150 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +72 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +6 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +57 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +172 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +78 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -568
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +1 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +87 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +83 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +7 -305
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +88 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +171 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +209 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +31 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +26 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +8 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +14 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +14 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +32 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +171 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +62 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +24 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +207 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +90 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +144 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +100 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +219 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +34 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +18 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +73 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +182 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +14 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -57
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -1,56 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useRootElements as t } from "./index78.js";
|
|
3
|
-
import "./index79.js";
|
|
4
|
-
import { useDebounce as n } from "./index85.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/index105.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 "./index104.js";
|
|
@@ -1 +1,56 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useRootElements as t } from "./index78.js";
|
|
3
|
+
import "./index79.js";
|
|
4
|
+
import { useDebounce as n } from "./index85.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/index106.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 "./index78.js";
|
|
3
|
-
import "./index79.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/index107.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 "./index106.js";
|
|
@@ -1 +1,55 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useRootElements as t } from "./index78.js";
|
|
3
|
+
import "./index79.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/index108.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 "./index78.js";
|
|
3
|
-
import "./index79.js";
|
|
4
|
-
import { useDebounce as n } from "./index85.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/index109.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 "./index108.js";
|
|
@@ -1 +1,55 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useRootElements as t } from "./index78.js";
|
|
3
|
+
import "./index79.js";
|
|
4
|
+
import { useDebounce as n } from "./index85.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/index110.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,153 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js
|
|
3
|
-
var t = {
|
|
4
|
-
AED: "AED",
|
|
5
|
-
AFN: "AFN",
|
|
6
|
-
ALL: "ALL",
|
|
7
|
-
AMD: "AMD",
|
|
8
|
-
ANG: "ANG",
|
|
9
|
-
AOA: "AOA",
|
|
10
|
-
ARS: "ARS",
|
|
11
|
-
AUD: "AUD",
|
|
12
|
-
AWG: "AWG",
|
|
13
|
-
AZN: "AZN",
|
|
14
|
-
BAM: "BAM",
|
|
15
|
-
BBD: "BBD",
|
|
16
|
-
BDT: "BDT",
|
|
17
|
-
BGN: "BGN",
|
|
18
|
-
BHD: "BHD",
|
|
19
|
-
BIF: "BIF",
|
|
20
|
-
BMD: "BMD",
|
|
21
|
-
BND: "BND",
|
|
22
|
-
BOB: "BOB",
|
|
23
|
-
BRL: "BRL",
|
|
24
|
-
BSD: "BSD",
|
|
25
|
-
BTN: "BTN",
|
|
26
|
-
BWP: "BWP",
|
|
27
|
-
BYN: "BYN",
|
|
28
|
-
BZD: "BZD",
|
|
29
|
-
CAD: "CAD",
|
|
30
|
-
CDF: "CDF",
|
|
31
|
-
CHF: "CHF",
|
|
32
|
-
CLP: "CLP",
|
|
33
|
-
CNY: "CNY",
|
|
34
|
-
COP: "COP",
|
|
35
|
-
CRC: "CRC",
|
|
36
|
-
CVE: "CVE",
|
|
37
|
-
CZK: "CZK",
|
|
38
|
-
DJF: "DJF",
|
|
39
|
-
DKK: "DKK",
|
|
40
|
-
DOP: "DOP",
|
|
41
|
-
DZD: "DZD",
|
|
42
|
-
EGP: "EGP",
|
|
43
|
-
ETB: "ETB",
|
|
44
|
-
EUR: "EUR",
|
|
45
|
-
FJD: "FJD",
|
|
46
|
-
FKP: "FKP",
|
|
47
|
-
GBP: "GBP",
|
|
48
|
-
GEL: "GEL",
|
|
49
|
-
GHS: "GHS",
|
|
50
|
-
GIP: "GIP",
|
|
51
|
-
GMD: "GMD",
|
|
52
|
-
GNF: "GNF",
|
|
53
|
-
GTQ: "GTQ",
|
|
54
|
-
GYD: "GYD",
|
|
55
|
-
HKD: "HKD",
|
|
56
|
-
HNL: "HNL",
|
|
57
|
-
HTG: "HTG",
|
|
58
|
-
HUF: "HUF",
|
|
59
|
-
IDR: "IDR",
|
|
60
|
-
ILS: "ILS",
|
|
61
|
-
INR: "INR",
|
|
62
|
-
IQD: "IQD",
|
|
63
|
-
ISK: "ISK",
|
|
64
|
-
JMD: "JMD",
|
|
65
|
-
JOD: "JOD",
|
|
66
|
-
JPY: "JPY",
|
|
67
|
-
KES: "KES",
|
|
68
|
-
KGS: "KGS",
|
|
69
|
-
KHR: "KHR",
|
|
70
|
-
KMF: "KMF",
|
|
71
|
-
KRW: "KRW",
|
|
72
|
-
KWD: "KWD",
|
|
73
|
-
KYD: "KYD",
|
|
74
|
-
KZT: "KZT",
|
|
75
|
-
LAK: "LAK",
|
|
76
|
-
LBP: "LBP",
|
|
77
|
-
LKR: "LKR",
|
|
78
|
-
LRD: "LRD",
|
|
79
|
-
LSL: "LSL",
|
|
80
|
-
LYD: "LYD",
|
|
81
|
-
MAD: "MAD",
|
|
82
|
-
MDL: "MDL",
|
|
83
|
-
MGA: "MGA",
|
|
84
|
-
MKD: "MKD",
|
|
85
|
-
MMK: "MMK",
|
|
86
|
-
MNT: "MNT",
|
|
87
|
-
MOP: "MOP",
|
|
88
|
-
MUR: "MUR",
|
|
89
|
-
MVR: "MVR",
|
|
90
|
-
MWK: "MWK",
|
|
91
|
-
MXN: "MXN",
|
|
92
|
-
MYR: "MYR",
|
|
93
|
-
MZN: "MZN",
|
|
94
|
-
NAD: "NAD",
|
|
95
|
-
NGN: "NGN",
|
|
96
|
-
NIO: "NIO",
|
|
97
|
-
NOK: "NOK",
|
|
98
|
-
NPR: "NPR",
|
|
99
|
-
NZD: "NZD",
|
|
100
|
-
OMR: "OMR",
|
|
101
|
-
PAB: "PAB",
|
|
102
|
-
PEN: "PEN",
|
|
103
|
-
PGK: "PGK",
|
|
104
|
-
PHP: "PHP",
|
|
105
|
-
PKR: "PKR",
|
|
106
|
-
PLN: "PLN",
|
|
107
|
-
PYG: "PYG",
|
|
108
|
-
QAR: "QAR",
|
|
109
|
-
RON: "RON",
|
|
110
|
-
RSD: "RSD",
|
|
111
|
-
RUB: "RUB",
|
|
112
|
-
RWF: "RWF",
|
|
113
|
-
SAR: "SAR",
|
|
114
|
-
SBD: "SBD",
|
|
115
|
-
SCR: "SCR",
|
|
116
|
-
SEK: "SEK",
|
|
117
|
-
SGD: "SGD",
|
|
118
|
-
SHP: "SHP",
|
|
119
|
-
SLE: "SLE",
|
|
120
|
-
SOS: "SOS",
|
|
121
|
-
SRD: "SRD",
|
|
122
|
-
SSP: "SSP",
|
|
123
|
-
SVC: "SVC",
|
|
124
|
-
SZL: "SZL",
|
|
125
|
-
THB: "THB",
|
|
126
|
-
TJS: "TJS",
|
|
127
|
-
TMT: "TMT",
|
|
128
|
-
TND: "TND",
|
|
129
|
-
TOP: "TOP",
|
|
130
|
-
TRY: "TRY",
|
|
131
|
-
TTD: "TTD",
|
|
132
|
-
TWD: "TWD",
|
|
133
|
-
TZS: "TZS",
|
|
134
|
-
UAH: "UAH",
|
|
135
|
-
UGX: "UGX",
|
|
136
|
-
USD: "USD",
|
|
137
|
-
UYU: "UYU",
|
|
138
|
-
UZS: "UZS",
|
|
139
|
-
VND: "VND",
|
|
140
|
-
VUV: "VUV",
|
|
141
|
-
WST: "WST",
|
|
142
|
-
XAF: "XAF",
|
|
143
|
-
XCD: "XCD",
|
|
144
|
-
XOF: "XOF",
|
|
145
|
-
XPF: "XPF",
|
|
146
|
-
YER: "YER",
|
|
147
|
-
ZAR: "ZAR",
|
|
148
|
-
ZMW: "ZMW"
|
|
149
|
-
};
|
|
150
|
-
Object.values(t);
|
|
151
|
-
var n = e.enum(Object.keys(t));
|
|
152
|
-
//#endregion
|
|
153
|
-
export { n as CurrencyEnumSchema };
|
|
1
|
+
import "./index110.js";
|