@m4l/core 2.0.20-beta.1 → 2.0.20
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/index.d.ts +0 -1
- package/index.js +82 -116
- package/not_recognized/index.js +500 -16173
- package/package.json +1 -1
- package/test/index.d.ts +1 -2
- package/commonjs/index.js +0 -12
- package/test/constants.js +0 -72
- package/test/index.js +0 -1
- package/test/mocks.js +0 -10
- package/test/types.js +0 -1
- package/test/utils.js +0 -18
package/package.json
CHANGED
package/test/index.d.ts
CHANGED
package/commonjs/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import "react-dom";
|
|
3
|
-
function t(o) {
|
|
4
|
-
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
|
|
5
|
-
}
|
|
6
|
-
function i(o) {
|
|
7
|
-
throw new Error('Could not dynamically require "' + o + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
i as c,
|
|
11
|
-
t as g
|
|
12
|
-
};
|
package/test/constants.js
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { e as t, f as o, b as e, c as a, d as n } from "./mocks.js";
|
|
2
|
-
const c = "testing", r = "label_for_module_name", l = {
|
|
3
|
-
data: { module_name: r, label1: "testGetLabel1" },
|
|
4
|
-
comp1: { key1: "testcomp1label" }
|
|
5
|
-
}, m = ["priv1"], _ = { data: { priv1: !0 } }, d = {
|
|
6
|
-
data: {
|
|
7
|
-
name: "a",
|
|
8
|
-
company_logo_small_url: "b",
|
|
9
|
-
company_logo_normal_url: "c"
|
|
10
|
-
}
|
|
11
|
-
}, g = {
|
|
12
|
-
id: 1,
|
|
13
|
-
currency: "$",
|
|
14
|
-
currency_decimal_digits: 0,
|
|
15
|
-
decimal_symbol: ".",
|
|
16
|
-
thousands_symbol: ","
|
|
17
|
-
}, u = {
|
|
18
|
-
id: 2,
|
|
19
|
-
currency: "USD",
|
|
20
|
-
currency_decimal_digits: 2,
|
|
21
|
-
decimal_symbol: ",",
|
|
22
|
-
thousands_symbol: "."
|
|
23
|
-
}, p = {
|
|
24
|
-
data: { a: 1, b: "testing" }
|
|
25
|
-
}, y = {
|
|
26
|
-
method: "GET",
|
|
27
|
-
endPoint: "endpoint",
|
|
28
|
-
parms: {}
|
|
29
|
-
}, b = {
|
|
30
|
-
isLocalhost: !0,
|
|
31
|
-
host: "h2",
|
|
32
|
-
domain_token: "1",
|
|
33
|
-
host_api_local: "2",
|
|
34
|
-
host_api_remote: "https://localhost",
|
|
35
|
-
host_static_assets: "4",
|
|
36
|
-
environment_assets: "5",
|
|
37
|
-
isMicroFrontend: !1,
|
|
38
|
-
isIsolatation: !1,
|
|
39
|
-
database: "domain"
|
|
40
|
-
}, h = {
|
|
41
|
-
a: "hellou",
|
|
42
|
-
b: 1
|
|
43
|
-
}, s = () => 0;
|
|
44
|
-
s.info = () => 1;
|
|
45
|
-
s.success = () => 2;
|
|
46
|
-
s.warning = () => 3;
|
|
47
|
-
s.error = () => 4;
|
|
48
|
-
const T = {
|
|
49
|
-
history: {},
|
|
50
|
-
toast: s,
|
|
51
|
-
startProgress: t,
|
|
52
|
-
stopProgress: o,
|
|
53
|
-
events_add_listener: e,
|
|
54
|
-
events_remove_listener: a,
|
|
55
|
-
events_emit: n
|
|
56
|
-
};
|
|
57
|
-
export {
|
|
58
|
-
r as a,
|
|
59
|
-
d as b,
|
|
60
|
-
g as c,
|
|
61
|
-
l as d,
|
|
62
|
-
u as e,
|
|
63
|
-
p as f,
|
|
64
|
-
b as g,
|
|
65
|
-
h,
|
|
66
|
-
s as i,
|
|
67
|
-
T as j,
|
|
68
|
-
c as m,
|
|
69
|
-
y as n,
|
|
70
|
-
m as q,
|
|
71
|
-
_ as r
|
|
72
|
-
};
|
package/test/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/test/mocks.js
DELETED
package/test/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
package/test/utils.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { c, l as o, a as s, r as l } from "../not_recognized/index.js";
|
|
2
|
-
import "react";
|
|
3
|
-
beforeEach(() => {
|
|
4
|
-
c(), o.cleanup(), vi.clearAllMocks();
|
|
5
|
-
});
|
|
6
|
-
s(() => {
|
|
7
|
-
});
|
|
8
|
-
const n = (r, a = {}) => l(r, {
|
|
9
|
-
// wrap provider(s) here if needed
|
|
10
|
-
/**
|
|
11
|
-
* wrapper
|
|
12
|
-
*/
|
|
13
|
-
wrapper: ({ children: e }) => e,
|
|
14
|
-
...a
|
|
15
|
-
});
|
|
16
|
-
export {
|
|
17
|
-
n as c
|
|
18
|
-
};
|