@m4l/core 0.1.56 → 1.0.0

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.
Files changed (78) hide show
  1. package/contexts/DomainContext/index.fc9c9f7e.js +56 -0
  2. package/contexts/DomainCountryContext/index.2da8b247.js +54 -0
  3. package/contexts/FlagsContext/index.3f08bff3.js +39 -0
  4. package/contexts/ModuleDictionaryContext/index.cc2a5fa3.js +76 -0
  5. package/contexts/ModulePrivilegesContext/index.039085db.js +58 -0
  6. package/contexts/ModuleSkeletonContext/index.334164fc.js +28 -0
  7. package/hooks/useDomain/{index.6ab40615.js → index.73578fd1.js} +2 -2
  8. package/hooks/useFlagsStore/index.fa8dcf62.js +17 -0
  9. package/hooks/useModuleDictionary/{index.3305a123.js → index.0b2e51cf.js} +1 -1
  10. package/hooks/useModulePrivileges/{index.cbe0c72f.js → index.3c1155fb.js} +1 -1
  11. package/hooks/useModuleSkeleton/{index.739fd422.js → index.2b62072e.js} +1 -1
  12. package/index.js +68 -66
  13. package/node_modules.7069706f.js +835 -0
  14. package/package.json +1 -1
  15. package/packages/m4l_core/contexts/FlagsContext/index.d.ts +13 -0
  16. package/packages/m4l_core/contexts/FlagsContext/store.d.ts +11 -0
  17. package/{contexts → packages/m4l_core/contexts}/FlagsContext/types.d.ts +9 -0
  18. package/{hooks → packages/m4l_core/hooks}/index.d.ts +1 -1
  19. package/packages/m4l_core/hooks/useFlagsStore/index.d.ts +3 -0
  20. package/{types → packages/m4l_core/types}/index.d.ts +10 -0
  21. package/packages/m4l_core/vite-env.d.ts +4 -0
  22. package/utils/{axiosOperation.30c7cc9d.js → axiosOperation.ce4250d4.js} +35 -34
  23. package/utils/{index.c7370abf.js → index.6d56ba04.js} +14 -10
  24. package/vendor.3b4bd7d3.js +32 -0
  25. package/vite-env.d.ts +4 -4
  26. package/contexts/DomainContext/index.2339e0b7.js +0 -50
  27. package/contexts/DomainCountryContext/index.3cdf9462.js +0 -46
  28. package/contexts/FlagsContext/index.5f795859.js +0 -24
  29. package/contexts/FlagsContext/index.d.ts +0 -5
  30. package/contexts/ModuleDictionaryContext/index.848a0393.js +0 -73
  31. package/contexts/ModulePrivilegesContext/index.f1988b13.js +0 -54
  32. package/contexts/ModuleSkeletonContext/index.45963775.js +0 -20
  33. package/hooks/useFlags/index.a986729d.js +0 -21
  34. package/hooks/useFlags/index.d.ts +0 -3
  35. /package/{contexts → packages/m4l_core/contexts}/BaseContext/index.d.ts +0 -0
  36. /package/{contexts → packages/m4l_core/contexts}/BaseContext/types.d.ts +0 -0
  37. /package/{contexts → packages/m4l_core/contexts}/DomainContext/index.d.ts +0 -0
  38. /package/{contexts → packages/m4l_core/contexts}/DomainContext/types.d.ts +0 -0
  39. /package/{contexts → packages/m4l_core/contexts}/DomainCountryContext/index.d.ts +0 -0
  40. /package/{contexts → packages/m4l_core/contexts}/DomainCountryContext/types.d.ts +0 -0
  41. /package/{contexts → packages/m4l_core/contexts}/EnvironmentContext/index.d.ts +0 -0
  42. /package/{contexts → packages/m4l_core/contexts}/EnvironmentContext/types.d.ts +0 -0
  43. /package/{contexts → packages/m4l_core/contexts}/HostToolsContext/index.d.ts +0 -0
  44. /package/{contexts → packages/m4l_core/contexts}/HostToolsContext/types.d.ts +0 -0
  45. /package/{contexts → packages/m4l_core/contexts}/ModuleDictionaryContext/index.d.ts +0 -0
  46. /package/{contexts → packages/m4l_core/contexts}/ModuleDictionaryContext/types.d.ts +0 -0
  47. /package/{contexts → packages/m4l_core/contexts}/ModulePrivilegesContext/index.d.ts +0 -0
  48. /package/{contexts → packages/m4l_core/contexts}/ModulePrivilegesContext/types.d.ts +0 -0
  49. /package/{contexts → packages/m4l_core/contexts}/ModuleSkeletonContext/index.d.ts +0 -0
  50. /package/{contexts → packages/m4l_core/contexts}/ModuleSkeletonContext/types.d.ts +0 -0
  51. /package/{contexts → packages/m4l_core/contexts}/NetworkContext/index.d.ts +0 -0
  52. /package/{contexts → packages/m4l_core/contexts}/NetworkContext/types.d.ts +0 -0
  53. /package/{contexts → packages/m4l_core/contexts}/index.d.ts +0 -0
  54. /package/{hooks → packages/m4l_core/hooks}/useBase/index.d.ts +0 -0
  55. /package/{hooks → packages/m4l_core/hooks}/useDomain/index.d.ts +0 -0
  56. /package/{hooks → packages/m4l_core/hooks}/useDomainCountry/index.d.ts +0 -0
  57. /package/{hooks → packages/m4l_core/hooks}/useEnvironment/index.d.ts +0 -0
  58. /package/{hooks → packages/m4l_core/hooks}/useHostTools/index.d.ts +0 -0
  59. /package/{hooks → packages/m4l_core/hooks}/useLocalStorage/index.d.ts +0 -0
  60. /package/{hooks → packages/m4l_core/hooks}/useLocalStorageWithListener/index.d.ts +0 -0
  61. /package/{hooks → packages/m4l_core/hooks}/useModuleDictionary/index.d.ts +0 -0
  62. /package/{hooks → packages/m4l_core/hooks}/useModulePrivileges/index.d.ts +0 -0
  63. /package/{hooks → packages/m4l_core/hooks}/useModuleSkeleton/index.d.ts +0 -0
  64. /package/{hooks → packages/m4l_core/hooks}/useNetwork/index.d.ts +0 -0
  65. /package/{hooks → packages/m4l_core/hooks}/usePaginate/index.d.ts +0 -0
  66. /package/{hooks → packages/m4l_core/hooks}/usePaginate/types.d.ts +0 -0
  67. /package/{hooks → packages/m4l_core/hooks}/usePropageteMF/index.d.ts +0 -0
  68. /package/{hooks → packages/m4l_core/hooks}/usePropageteMF/types.d.ts +0 -0
  69. /package/{index.d.ts → packages/m4l_core/index.d.ts} +0 -0
  70. /package/{types → packages/m4l_core/types}/dictionary.d.ts +0 -0
  71. /package/{utils → packages/m4l_core/utils}/axiosOperation/index.d.ts +0 -0
  72. /package/{utils → packages/m4l_core/utils}/axiosOperation/types.d.ts +0 -0
  73. /package/{utils → packages/m4l_core/utils}/evaluateWithContext/index.d.ts +0 -0
  74. /package/{utils → packages/m4l_core/utils}/getLocalStorage/index.d.ts +0 -0
  75. /package/{utils → packages/m4l_core/utils}/getPropertyByString/index.d.ts +0 -0
  76. /package/{utils → packages/m4l_core/utils}/index.d.ts +0 -0
  77. /package/{utils → packages/m4l_core/utils}/setLocalStorage/index.d.ts +0 -0
  78. /package/{utils → packages/m4l_core/utils}/voidFunction.d.ts +0 -0
@@ -0,0 +1,56 @@
1
+ import { createContext as u, useState as g, useEffect as d } from "react";
2
+ import { u as f } from "../../hooks/useFlagsStore/index.fa8dcf62.js";
3
+ import { u as p } from "../../hooks/useEnvironment/index.25f83176.js";
4
+ import { u as D } from "../../hooks/useNetwork/index.3d79002b.js";
5
+ import { C as l } from "../../types/index.42c24946.js";
6
+ import { s as v } from "../../node_modules.7069706f.js";
7
+ import { jsx as y } from "react/jsx-runtime";
8
+ const $ = u(null);
9
+ function C(r) {
10
+ const {
11
+ children: e
12
+ } = r, {
13
+ domain_token: i,
14
+ host_static_assets: o,
15
+ environment_assets: n
16
+ } = p(), t = f((s) => s.flagsActions.addFlag, v), [_, m] = g({
17
+ company_logo_small_url: "",
18
+ company_logo_normal_url: "",
19
+ name: "",
20
+ slogan: ""
21
+ }), {
22
+ networkOperation: c
23
+ } = D();
24
+ return d(() => {
25
+ let s = !0;
26
+ return c({
27
+ method: "GET",
28
+ endPoint: `na/info/${i}`
29
+ }).then((a) => {
30
+ s && (m({
31
+ ...a.data,
32
+ company_logo_normal_url: a.data.company_logo_normal_url ?? `${o}/${n}/frontend/commons/assets/icons/isologo.svg`,
33
+ company_logo_small_url: a.data.company_logo_small_url ?? `${o}/${n}/frontend/commons/assets/icons/isotipo_m4l.svg`
34
+ }), t(l.FLAG_DOMAIN_LOADED));
35
+ }).catch(() => {
36
+ m({
37
+ company_logo_normal_url: `${o}/${n}/frontend/commons/assets/icons/isologo.svg`,
38
+ company_logo_small_url: `${o}/${n}/frontend/commons/assets/icons/isotipo_m4l.svg`,
39
+ name: "Pending",
40
+ slogan: "Pending"
41
+ }), t(l.FLAG_DOMAIN_LOADED);
42
+ }).finally(() => {
43
+ }), function() {
44
+ s = !1;
45
+ };
46
+ }, []), /* @__PURE__ */ y($.Provider, {
47
+ value: {
48
+ ..._
49
+ },
50
+ children: e
51
+ });
52
+ }
53
+ export {
54
+ $ as D,
55
+ C as a
56
+ };
@@ -0,0 +1,54 @@
1
+ import { createContext as E, useState as d, useCallback as y } from "react";
2
+ import "../BaseContext/index.f9cdc955.js";
3
+ import "../EnvironmentContext/index.b33784cd.js";
4
+ import "../FlagsContext/index.3f08bff3.js";
5
+ import { u as T } from "../../hooks/useHostTools/index.66d9a667.js";
6
+ import "../DomainContext/index.fc9c9f7e.js";
7
+ import "../ModuleDictionaryContext/index.cc2a5fa3.js";
8
+ import "../ModulePrivilegesContext/index.039085db.js";
9
+ import "../ModuleSkeletonContext/index.334164fc.js";
10
+ import "../NetworkContext/index.ec7405cd.js";
11
+ import { u as f } from "../../hooks/usePropageteMF/index.c440b829.js";
12
+ import { E as i } from "../../types/index.42c24946.js";
13
+ import { jsx as D } from "react/jsx-runtime";
14
+ const M = E(null);
15
+ function G(n) {
16
+ const {
17
+ children: e,
18
+ isMicroFrontEnd: t,
19
+ id: m,
20
+ currency: s,
21
+ currency_decimal_digits: a,
22
+ decimal_symbol: c,
23
+ thousands_symbol: u
24
+ } = n, {
25
+ events_emit: p
26
+ } = T(), [_, l] = d({
27
+ id: m,
28
+ currency: s,
29
+ currency_decimal_digits: a,
30
+ decimal_symbol: c,
31
+ thousands_symbol: u
32
+ }), r = (o) => {
33
+ l(o);
34
+ };
35
+ f({
36
+ isMicroFrontEnd: t,
37
+ event: i.EMMIT_EVENT_HOST_DOMAIN_COUNTRY_CHANGE,
38
+ setHandler: r
39
+ });
40
+ const C = y((o) => {
41
+ t || (r(o), p(i.EMMIT_EVENT_HOST_DOMAIN_COUNTRY_CHANGE, o));
42
+ }, []);
43
+ return /* @__PURE__ */ D(M.Provider, {
44
+ value: {
45
+ ..._,
46
+ changeDomainCountry: C
47
+ },
48
+ children: e
49
+ });
50
+ }
51
+ export {
52
+ M as D,
53
+ G as a
54
+ };
@@ -0,0 +1,39 @@
1
+ import { createContext as l, useRef as n } from "react";
2
+ import { c, d as f, i } from "../../node_modules.7069706f.js";
3
+ import { jsx as g } from "react/jsx-runtime";
4
+ const d = (o) => c(
5
+ f(
6
+ i((r) => ({
7
+ ...o,
8
+ flagsActions: {
9
+ clearFlags: () => {
10
+ r((e) => {
11
+ e.flags = [];
12
+ });
13
+ },
14
+ addFlag: (e) => {
15
+ r((t) => {
16
+ const a = t.flags;
17
+ a.findIndex((s) => s === e) < 0 && (t.flags = [...a, e]);
18
+ });
19
+ }
20
+ }
21
+ })),
22
+ { name: "FlagsStore" }
23
+ )
24
+ ), m = l(null);
25
+ function p({
26
+ children: o
27
+ }) {
28
+ const r = n();
29
+ return r.current || (r.current = d({
30
+ flags: []
31
+ })), /* @__PURE__ */ g(m.Provider, {
32
+ value: r.current,
33
+ children: o
34
+ });
35
+ }
36
+ export {
37
+ m as F,
38
+ p as a
39
+ };
@@ -0,0 +1,76 @@
1
+ import { createContext as F, useState as y, useEffect as A, useCallback as m } from "react";
2
+ import "../BaseContext/index.f9cdc955.js";
3
+ import { u as L } from "../../hooks/useEnvironment/index.25f83176.js";
4
+ import { u as M } from "../../hooks/useFlagsStore/index.fa8dcf62.js";
5
+ import { u as N } from "../../hooks/useHostTools/index.66d9a667.js";
6
+ import "../DomainContext/index.fc9c9f7e.js";
7
+ import "../ModulePrivilegesContext/index.039085db.js";
8
+ import "../ModuleSkeletonContext/index.334164fc.js";
9
+ import { u as P } from "../../hooks/useNetwork/index.3d79002b.js";
10
+ import "../DomainCountryContext/index.2da8b247.js";
11
+ import { C as _ } from "../../types/index.42c24946.js";
12
+ import { jsx as x } from "react/jsx-runtime";
13
+ const E = F(null);
14
+ function Y(u) {
15
+ const {
16
+ children: l,
17
+ componentsDictionary: c,
18
+ moduleId: i,
19
+ moduleNameField: s = "module_name",
20
+ currentLang: d = "en",
21
+ isAuth: a = !0
22
+ } = u, p = M((t) => t.flagsActions.addFlag), [r, f] = y(void 0), {
23
+ domain_token: g
24
+ } = L(), {
25
+ startProgress: D,
26
+ stopProgress: h
27
+ } = N(), {
28
+ networkOperation: v
29
+ } = P();
30
+ A(() => {
31
+ let t = !0;
32
+ return D(), v({
33
+ method: "GET",
34
+ endPoint: a ? `dictionaries/${i}` : `na/dictionaries/${i}`,
35
+ parms: {
36
+ comps: c,
37
+ ...a ? {} : {
38
+ domain_token: g
39
+ }
40
+ }
41
+ }).then((o) => {
42
+ t && (f({
43
+ ...o
44
+ }), p(_.FLAG_DICTIONARY_LOADED));
45
+ }).finally(() => {
46
+ h();
47
+ }), function() {
48
+ t = !1;
49
+ };
50
+ }, [d]);
51
+ const n = m((t) => {
52
+ if (r === void 0)
53
+ return "";
54
+ if (t === "")
55
+ return "No key";
56
+ let o;
57
+ const e = t.split(".");
58
+ try {
59
+ e.length === 1 && (o = r.data[t]), e.length === 2 && (o = r[e[0]][e[1]]);
60
+ } catch {
61
+ }
62
+ return o || `N_D:[${t}]`;
63
+ }, [r]), C = m(() => n(s), [s, n]);
64
+ return /* @__PURE__ */ x(E.Provider, {
65
+ value: {
66
+ moduleDictionary: r,
67
+ getLabel: n,
68
+ getModuleLabel: C
69
+ },
70
+ children: l
71
+ });
72
+ }
73
+ export {
74
+ E as M,
75
+ Y as a
76
+ };
@@ -0,0 +1,58 @@
1
+ import { createContext as c, useState as f, useEffect as d, useCallback as P } from "react";
2
+ import "../BaseContext/index.f9cdc955.js";
3
+ import "../EnvironmentContext/index.b33784cd.js";
4
+ import { u as v } from "../../hooks/useFlagsStore/index.fa8dcf62.js";
5
+ import { u as E } from "../../hooks/useHostTools/index.66d9a667.js";
6
+ import "../DomainContext/index.fc9c9f7e.js";
7
+ import "../ModuleDictionaryContext/index.cc2a5fa3.js";
8
+ import "../ModuleSkeletonContext/index.334164fc.js";
9
+ import { u as h } from "../../hooks/useNetwork/index.3d79002b.js";
10
+ import "../DomainCountryContext/index.2da8b247.js";
11
+ import { C as i } from "../../types/index.42c24946.js";
12
+ import { jsx as F } from "react/jsx-runtime";
13
+ const L = c(null);
14
+ function y(n) {
15
+ const {
16
+ children: a,
17
+ queryPrivileges: r
18
+ } = n, o = v((e) => e.flagsActions.addFlag), [t, l] = f({}), {
19
+ startProgress: m,
20
+ stopProgress: u
21
+ } = E(), {
22
+ networkOperation: p
23
+ } = h();
24
+ d(() => {
25
+ let e = !0;
26
+ if (r.length === 0) {
27
+ o(i.FLAG_PRIVILEGES_LOADED);
28
+ return;
29
+ }
30
+ return m(), p({
31
+ method: "GET",
32
+ endPoint: "auth/login",
33
+ parms: {
34
+ privileges: r
35
+ }
36
+ }).then((s) => {
37
+ e && (l({
38
+ ...s.data
39
+ }), o(i.FLAG_PRIVILEGES_LOADED));
40
+ }).finally(() => {
41
+ u();
42
+ }), function() {
43
+ e = !1;
44
+ };
45
+ }, []);
46
+ const g = P((e) => e in t, [t]);
47
+ return /* @__PURE__ */ F(L.Provider, {
48
+ value: {
49
+ hasPrivilege: g,
50
+ privileges: t
51
+ },
52
+ children: a
53
+ });
54
+ }
55
+ export {
56
+ L as M,
57
+ y as a
58
+ };
@@ -0,0 +1,28 @@
1
+ import { createContext as i } from "react";
2
+ import "../BaseContext/index.f9cdc955.js";
3
+ import "../EnvironmentContext/index.b33784cd.js";
4
+ import { a as m } from "../../hooks/useFlagsStore/index.fa8dcf62.js";
5
+ import "../HostToolsContext/index.499db832.js";
6
+ import "../DomainContext/index.fc9c9f7e.js";
7
+ import "../ModuleDictionaryContext/index.cc2a5fa3.js";
8
+ import "../ModulePrivilegesContext/index.039085db.js";
9
+ import "../NetworkContext/index.ec7405cd.js";
10
+ import "../DomainCountryContext/index.2da8b247.js";
11
+ import { jsx as n } from "react/jsx-runtime";
12
+ const p = i(null);
13
+ function P(o) {
14
+ const {
15
+ children: t,
16
+ flags: r
17
+ } = o, e = !m(r);
18
+ return /* @__PURE__ */ n(p.Provider, {
19
+ value: {
20
+ isSkeleton: e
21
+ },
22
+ children: t
23
+ });
24
+ }
25
+ export {
26
+ p as M,
27
+ P as a
28
+ };
@@ -1,6 +1,6 @@
1
1
  import { useContext as t } from "react";
2
- import { D as n } from "../../contexts/DomainContext/index.2339e0b7.js";
3
- import { D as e } from "../../contexts/DomainCountryContext/index.3cdf9462.js";
2
+ import { D as n } from "../../contexts/DomainContext/index.fc9c9f7e.js";
3
+ import { D as e } from "../../contexts/DomainCountryContext/index.2da8b247.js";
4
4
  const m = () => {
5
5
  const o = t(n);
6
6
  if (!o)
@@ -0,0 +1,17 @@
1
+ import { useContext as o } from "react";
2
+ import { F as i } from "../../contexts/FlagsContext/index.3f08bff3.js";
3
+ import { u as l, s as a } from "../../node_modules.7069706f.js";
4
+ function u(t, s) {
5
+ const e = o(i);
6
+ if (!e)
7
+ throw new Error("useFlagsStore context must be use inside FlagsProvider");
8
+ return l(e, t, s);
9
+ }
10
+ function f(t, s) {
11
+ return t.filter((r) => s.findIndex((n) => n === r) !== -1).length === t.length;
12
+ }
13
+ const m = (t) => u((e) => f(t, e.flags), a);
14
+ export {
15
+ m as a,
16
+ u
17
+ };
@@ -1,5 +1,5 @@
1
1
  import { useContext as t } from "react";
2
- import { M as e } from "../../contexts/ModuleDictionaryContext/index.848a0393.js";
2
+ import { M as e } from "../../contexts/ModuleDictionaryContext/index.cc2a5fa3.js";
3
3
  const n = () => {
4
4
  const o = t(e);
5
5
  if (!o)
@@ -1,5 +1,5 @@
1
1
  import { useContext as o } from "react";
2
- import { M as t } from "../../contexts/ModulePrivilegesContext/index.f1988b13.js";
2
+ import { M as t } from "../../contexts/ModulePrivilegesContext/index.039085db.js";
3
3
  const i = () => {
4
4
  const e = o(t);
5
5
  if (!e)
@@ -1,5 +1,5 @@
1
1
  import { useState as n, useContext as s, useEffect as u } from "react";
2
- import { M as r } from "../../contexts/ModuleSkeletonContext/index.45963775.js";
2
+ import { M as r } from "../../contexts/ModuleSkeletonContext/index.334164fc.js";
3
3
  const S = () => {
4
4
  const [t, o] = n(!0), e = s(r);
5
5
  if (!e)
package/index.js CHANGED
@@ -1,77 +1,79 @@
1
- import { C as m, E as u } from "./types/index.42c24946.js";
2
- import { B as p, a as l } from "./contexts/BaseContext/index.f9cdc955.js";
3
- import { E as d, a as v } from "./contexts/EnvironmentContext/index.b33784cd.js";
4
- import { H as P, a as C } from "./contexts/HostToolsContext/index.499db832.js";
5
- import { N as D, a as S } from "./contexts/NetworkContext/index.ec7405cd.js";
6
- import { F as y, a as F } from "./contexts/FlagsContext/index.5f795859.js";
7
- import { D as k, a as B } from "./contexts/DomainContext/index.2339e0b7.js";
8
- import { M as H, a as N } from "./contexts/ModuleDictionaryContext/index.848a0393.js";
9
- import { M as T, a as h } from "./contexts/ModulePrivilegesContext/index.f1988b13.js";
10
- import { M as O, a as b } from "./contexts/ModuleSkeletonContext/index.45963775.js";
11
- import { D as q, a as z } from "./contexts/DomainCountryContext/index.3cdf9462.js";
12
- import { u as G } from "./hooks/useBase/index.4375dcef.js";
13
- import { u as J } from "./hooks/useEnvironment/index.25f83176.js";
14
- import { u as Q, a as R } from "./hooks/useFlags/index.a986729d.js";
15
- import { u as V } from "./hooks/useHostTools/index.66d9a667.js";
16
- import { u as Y, a as Z } from "./hooks/useDomain/index.6ab40615.js";
17
- import { u as $, a as oo } from "./hooks/useLocalStorage/index.48b47dca.js";
18
- import { u as ro } from "./hooks/useModuleDictionary/index.3305a123.js";
19
- import { u as to } from "./hooks/useModulePrivileges/index.cbe0c72f.js";
20
- import { u as io } from "./hooks/useModuleSkeleton/index.739fd422.js";
1
+ import { B as x, a as p } from "./contexts/BaseContext/index.f9cdc955.js";
2
+ import { E as f, a as d } from "./contexts/EnvironmentContext/index.b33784cd.js";
3
+ import { H as g, a as P } from "./contexts/HostToolsContext/index.499db832.js";
4
+ import { N as M, a as D } from "./contexts/NetworkContext/index.ec7405cd.js";
5
+ import { F as c, a as y } from "./contexts/FlagsContext/index.3f08bff3.js";
6
+ import { D as E, a as k } from "./contexts/DomainContext/index.fc9c9f7e.js";
7
+ import { M as L, a as H } from "./contexts/ModuleDictionaryContext/index.cc2a5fa3.js";
8
+ import { M as w, a as T } from "./contexts/ModulePrivilegesContext/index.039085db.js";
9
+ import { M as W, a as O } from "./contexts/ModuleSkeletonContext/index.334164fc.js";
10
+ import { D as j, a as q } from "./contexts/DomainCountryContext/index.2da8b247.js";
11
+ import { u as A } from "./hooks/useBase/index.4375dcef.js";
12
+ import { u as I } from "./hooks/useEnvironment/index.25f83176.js";
13
+ import { a as K, u as Q } from "./hooks/useFlagsStore/index.fa8dcf62.js";
14
+ import { u as U } from "./hooks/useHostTools/index.66d9a667.js";
15
+ import { u as X, a as Y } from "./hooks/useDomain/index.73578fd1.js";
16
+ import { u as _, a as $ } from "./hooks/useLocalStorage/index.48b47dca.js";
17
+ import { u as eo } from "./hooks/useModuleDictionary/index.0b2e51cf.js";
18
+ import { u as to } from "./hooks/useModulePrivileges/index.3c1155fb.js";
19
+ import { u as so } from "./hooks/useModuleSkeleton/index.2b62072e.js";
21
20
  import { u as mo } from "./hooks/useNetwork/index.3d79002b.js";
22
- import { i as xo, u as po } from "./hooks/usePaginate/index.1306b0de.js";
23
- import { u as fo } from "./hooks/usePropageteMF/index.c440b829.js";
24
- import { e as go, a as Po, g as Co, s as Mo, v as Do } from "./utils/index.c7370abf.js";
25
- import { a as co } from "./utils/axiosOperation.30c7cc9d.js";
21
+ import { i as uo, u as xo } from "./hooks/usePaginate/index.1306b0de.js";
22
+ import { u as lo } from "./hooks/usePropageteMF/index.c440b829.js";
23
+ import { C as vo, E as go } from "./types/index.42c24946.js";
24
+ import { e as Co, a as Mo, g as Do, s as So, v as co } from "./utils/index.6d56ba04.js";
25
+ import { a as Fo } from "./utils/axiosOperation.ce4250d4.js";
26
26
  import "react";
27
27
  import "react/jsx-runtime";
28
+ import "./node_modules.7069706f.js";
29
+ import "./vendor.3b4bd7d3.js";
28
30
  import "axios";
29
31
  import "qs";
30
32
  import "camelcase-keys";
31
33
  import "snakecase-keys";
32
34
  export {
33
- p as BaseContext,
34
- l as BaseProvider,
35
- m as CommonFlags,
36
- k as DomainContext,
37
- q as DomainCountryContext,
38
- z as DomainCountryProvider,
39
- B as DomainProvider,
40
- u as EmitEvents,
41
- d as EnvironmentContext,
42
- v as EnvironmentProvider,
43
- y as FlagsContext,
44
- F as FlagsProvider,
45
- P as HostToolsContext,
46
- C as HostToolsProvider,
47
- H as ModuleDictionaryContext,
48
- N as ModuleDictionaryProvider,
49
- T as ModulePrivilegesContext,
50
- h as ModulePrivilegesProvider,
51
- O as ModuleSkeletonContext,
52
- b as ModuleSkeletonProvider,
53
- D as NetworkContext,
54
- S as NetworkProvider,
55
- co as axiosOperation,
56
- go as evaluateWithContext,
57
- Po as getLocalStorage,
58
- Co as getPropertyByString,
59
- xo as initialPagerState,
60
- Mo as setLocalStorage,
61
- G as useBase,
62
- Y as useDomain,
63
- Z as useDomainCountry,
64
- J as useEnvironment,
65
- Q as useFlags,
66
- R as useFlagsPresent,
67
- V as useHostTools,
68
- $ as useLocalStorage,
69
- oo as useLocalStorageWithListener,
70
- ro as useModuleDictionary,
35
+ x as BaseContext,
36
+ p as BaseProvider,
37
+ vo as CommonFlags,
38
+ E as DomainContext,
39
+ j as DomainCountryContext,
40
+ q as DomainCountryProvider,
41
+ k as DomainProvider,
42
+ go as EmitEvents,
43
+ f as EnvironmentContext,
44
+ d as EnvironmentProvider,
45
+ c as FlagsContext,
46
+ y as FlagsProvider,
47
+ g as HostToolsContext,
48
+ P as HostToolsProvider,
49
+ L as ModuleDictionaryContext,
50
+ H as ModuleDictionaryProvider,
51
+ w as ModulePrivilegesContext,
52
+ T as ModulePrivilegesProvider,
53
+ W as ModuleSkeletonContext,
54
+ O as ModuleSkeletonProvider,
55
+ M as NetworkContext,
56
+ D as NetworkProvider,
57
+ Fo as axiosOperation,
58
+ Co as evaluateWithContext,
59
+ Mo as getLocalStorage,
60
+ Do as getPropertyByString,
61
+ uo as initialPagerState,
62
+ So as setLocalStorage,
63
+ A as useBase,
64
+ X as useDomain,
65
+ Y as useDomainCountry,
66
+ I as useEnvironment,
67
+ K as useFlagsPresent,
68
+ Q as useFlagsStore,
69
+ U as useHostTools,
70
+ _ as useLocalStorage,
71
+ $ as useLocalStorageWithListener,
72
+ eo as useModuleDictionary,
71
73
  to as useModulePrivileges,
72
- io as useModuleSkeleton,
74
+ so as useModuleSkeleton,
73
75
  mo as useNetwork,
74
- po as usePaginate,
75
- fo as usePropageteMF,
76
- Do as voidFunction
76
+ xo as usePaginate,
77
+ lo as usePropageteMF,
78
+ co as voidFunction
77
79
  };