@m4l/nx-core 0.0.6-beta.3 → 0.0.6-beta.4
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.js +28 -28
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -77,9 +77,9 @@ function U(e, r) {
|
|
|
77
77
|
function gr(e, r) {
|
|
78
78
|
return e.map(r).join("");
|
|
79
79
|
}
|
|
80
|
-
var te = 1,
|
|
80
|
+
var te = 1, z = 1, Oe = 0, M = 0, P = 0, D = "";
|
|
81
81
|
function ne(e, r, t, n, a, o, c) {
|
|
82
|
-
return { value: e, root: r, parent: t, type: n, props: a, children: o, line: te, column:
|
|
82
|
+
return { value: e, root: r, parent: t, type: n, props: a, children: o, line: te, column: z, length: c, return: "" };
|
|
83
83
|
}
|
|
84
84
|
function W(e, r) {
|
|
85
85
|
return br(ne("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
@@ -88,19 +88,19 @@ function Er() {
|
|
|
88
88
|
return P;
|
|
89
89
|
}
|
|
90
90
|
function Cr() {
|
|
91
|
-
return P = M > 0 ? _(
|
|
91
|
+
return P = M > 0 ? _(D, --M) : 0, z--, P === 10 && (z = 1, te--), P;
|
|
92
92
|
}
|
|
93
93
|
function N() {
|
|
94
|
-
return P = M < Oe ? _(
|
|
94
|
+
return P = M < Oe ? _(D, M++) : 0, z++, P === 10 && (z = 1, te++), P;
|
|
95
95
|
}
|
|
96
96
|
function F() {
|
|
97
|
-
return _(
|
|
97
|
+
return _(D, M);
|
|
98
98
|
}
|
|
99
99
|
function Z() {
|
|
100
100
|
return M;
|
|
101
101
|
}
|
|
102
102
|
function G(e, r) {
|
|
103
|
-
return q(
|
|
103
|
+
return q(D, e, r);
|
|
104
104
|
}
|
|
105
105
|
function V(e) {
|
|
106
106
|
switch (e) {
|
|
@@ -141,10 +141,10 @@ function V(e) {
|
|
|
141
141
|
return 0;
|
|
142
142
|
}
|
|
143
143
|
function Me(e) {
|
|
144
|
-
return te =
|
|
144
|
+
return te = z = 1, Oe = I(D = e), M = 0, [];
|
|
145
145
|
}
|
|
146
146
|
function Ne(e) {
|
|
147
|
-
return
|
|
147
|
+
return D = "", e;
|
|
148
148
|
}
|
|
149
149
|
function X(e) {
|
|
150
150
|
return Ae(G(M - 1, fe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
@@ -313,7 +313,7 @@ function _r(e, r, t) {
|
|
|
313
313
|
function xe(e, r, t, n) {
|
|
314
314
|
return ne(e, r, t, le, q(e, 0, n), q(e, n + 1, -1), n);
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function j(e, r) {
|
|
317
317
|
for (var t = "", n = he(e), a = 0; a < n; a++)
|
|
318
318
|
t += r(e[a], a, e, r) || "";
|
|
319
319
|
return t;
|
|
@@ -328,11 +328,11 @@ function Ar(e, r, t, n) {
|
|
|
328
328
|
case Pe:
|
|
329
329
|
return "";
|
|
330
330
|
case _e:
|
|
331
|
-
return e.return = e.value + "{" +
|
|
331
|
+
return e.return = e.value + "{" + j(e.children, n) + "}";
|
|
332
332
|
case de:
|
|
333
333
|
e.value = e.props.join(",");
|
|
334
334
|
}
|
|
335
|
-
return I(t =
|
|
335
|
+
return I(t = j(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
|
|
336
336
|
}
|
|
337
337
|
function Or(e) {
|
|
338
338
|
var r = he(e);
|
|
@@ -543,13 +543,13 @@ function Ie(e, r) {
|
|
|
543
543
|
}
|
|
544
544
|
return e;
|
|
545
545
|
}
|
|
546
|
-
var
|
|
546
|
+
var jr = function(r, t, n, a) {
|
|
547
547
|
if (r.length > -1 && !r.return) switch (r.type) {
|
|
548
548
|
case le:
|
|
549
549
|
r.return = Ie(r.value, r.length);
|
|
550
550
|
break;
|
|
551
551
|
case _e:
|
|
552
|
-
return
|
|
552
|
+
return j([W(r, {
|
|
553
553
|
value: y(r.value, "@", "@" + p)
|
|
554
554
|
})], a);
|
|
555
555
|
case de:
|
|
@@ -558,12 +558,12 @@ var zr = function(r, t, n, a) {
|
|
|
558
558
|
// :read-(only|write)
|
|
559
559
|
case ":read-only":
|
|
560
560
|
case ":read-write":
|
|
561
|
-
return
|
|
561
|
+
return j([W(r, {
|
|
562
562
|
props: [y(o, /:(read-\w+)/, ":" + ee + "$1")]
|
|
563
563
|
})], a);
|
|
564
564
|
// :placeholder
|
|
565
565
|
case "::placeholder":
|
|
566
|
-
return
|
|
566
|
+
return j([W(r, {
|
|
567
567
|
props: [y(o, /:(plac\w+)/, ":" + p + "input-$1")]
|
|
568
568
|
}), W(r, {
|
|
569
569
|
props: [y(o, /:(plac\w+)/, ":" + ee + "$1")]
|
|
@@ -574,7 +574,7 @@ var zr = function(r, t, n, a) {
|
|
|
574
574
|
return "";
|
|
575
575
|
});
|
|
576
576
|
}
|
|
577
|
-
},
|
|
577
|
+
}, zr = [jr], Dr = function(r) {
|
|
578
578
|
var t = r.key;
|
|
579
579
|
if (t === "css") {
|
|
580
580
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -583,7 +583,7 @@ var zr = function(r, t, n, a) {
|
|
|
583
583
|
T.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
|
-
var a = r.stylisPlugins ||
|
|
586
|
+
var a = r.stylisPlugins || zr, o = {}, c, f = [];
|
|
587
587
|
c = r.container || document.head, Array.prototype.forEach.call(
|
|
588
588
|
// this means we will ignore elements which don't have a space in them which
|
|
589
589
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
@@ -599,7 +599,7 @@ var zr = function(r, t, n, a) {
|
|
|
599
599
|
var l, v = [Ar, Mr(function(h) {
|
|
600
600
|
l.insert(h);
|
|
601
601
|
})], A = Or(d.concat(a, v)), $ = function(T) {
|
|
602
|
-
return
|
|
602
|
+
return j(Pr(T), A);
|
|
603
603
|
};
|
|
604
604
|
u = function(T, E, C, S) {
|
|
605
605
|
l = C, $(T ? T + "{" + E.styles + "}" : E.styles), S && (m.inserted[E.name] = !0);
|
|
@@ -729,7 +729,7 @@ function qr() {
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
var i = u, R = d, g = f, me = c,
|
|
732
|
+
var i = u, R = d, g = f, me = c, De = r, We = l, qe = n, Ve = m, Be = $, Ge = t, He = o, Ue = a, Ke = v, pe = !1;
|
|
733
733
|
function Ze(s) {
|
|
734
734
|
return pe || (pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), ye(s) || w(s) === u;
|
|
735
735
|
}
|
|
@@ -769,7 +769,7 @@ function qr() {
|
|
|
769
769
|
function cr(s) {
|
|
770
770
|
return w(s) === v;
|
|
771
771
|
}
|
|
772
|
-
x.AsyncMode = i, x.ConcurrentMode = R, x.ContextConsumer = g, x.ContextProvider = me, x.Element =
|
|
772
|
+
x.AsyncMode = i, x.ConcurrentMode = R, x.ContextConsumer = g, x.ContextProvider = me, x.Element = De, x.ForwardRef = We, x.Fragment = qe, x.Lazy = Ve, x.Memo = Be, x.Portal = Ge, x.Profiler = He, x.StrictMode = Ue, x.Suspense = Ke, x.isAsyncMode = Ze, x.isConcurrentMode = ye, x.isContextConsumer = Xe, x.isContextProvider = Je, x.isElement = Qe, x.isForwardRef = er, x.isFragment = rr, x.isLazy = tr, x.isMemo = nr, x.isPortal = ar, x.isProfiler = or, x.isStrictMode = ir, x.isSuspense = cr, x.isValidElementType = S, x.typeOf = w;
|
|
773
773
|
})()), x;
|
|
774
774
|
}
|
|
775
775
|
var Ce;
|
|
@@ -1070,7 +1070,7 @@ var rt = function(r) {
|
|
|
1070
1070
|
// and we could have a special build just for that
|
|
1071
1071
|
// but this is much easier and the native packages
|
|
1072
1072
|
// might use a different theme context in the future anyway
|
|
1073
|
-
typeof HTMLElement < "u" ? /* @__PURE__ */
|
|
1073
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Dr({
|
|
1074
1074
|
key: "css"
|
|
1075
1075
|
}) : null
|
|
1076
1076
|
);
|
|
@@ -1105,19 +1105,19 @@ var at = function(r) {
|
|
|
1105
1105
|
serialized: f,
|
|
1106
1106
|
isStringTag: typeof a == "string"
|
|
1107
1107
|
}), /* @__PURE__ */ Y.createElement(a, u));
|
|
1108
|
-
}),
|
|
1109
|
-
return ae.call(t, "css") ? Q.jsx(
|
|
1110
|
-
},
|
|
1111
|
-
return ae.call(t, "css") ? Q.jsxs(
|
|
1108
|
+
}), je = ct, L = function(r, t, n) {
|
|
1109
|
+
return ae.call(t, "css") ? Q.jsx(je, Le(r, t), n) : Q.jsx(r, t, n);
|
|
1110
|
+
}, ze = function(r, t, n) {
|
|
1111
|
+
return ae.call(t, "css") ? Q.jsxs(je, Le(r, t), n) : Q.jsxs(r, t, n);
|
|
1112
1112
|
};
|
|
1113
1113
|
const st = ur.div`
|
|
1114
1114
|
color: pink;
|
|
1115
1115
|
`;
|
|
1116
1116
|
function lt() {
|
|
1117
|
-
return /* @__PURE__ */ L(st, { children: /* @__PURE__ */ L("h1", { children: "Welcome to M4lCore!..." }) });
|
|
1117
|
+
return /* @__PURE__ */ L(st, { children: /* @__PURE__ */ L("h1", { children: "Welcome to M4lCore!...in-job" }) });
|
|
1118
1118
|
}
|
|
1119
1119
|
function ht(e) {
|
|
1120
|
-
return /* @__PURE__ */
|
|
1120
|
+
return /* @__PURE__ */ ze(
|
|
1121
1121
|
"div",
|
|
1122
1122
|
{
|
|
1123
1123
|
className: dr("hero-container"),
|
|
@@ -1169,7 +1169,7 @@ function ht(e) {
|
|
|
1169
1169
|
);
|
|
1170
1170
|
}
|
|
1171
1171
|
function mt(e) {
|
|
1172
|
-
return /* @__PURE__ */
|
|
1172
|
+
return /* @__PURE__ */ ze(
|
|
1173
1173
|
"div",
|
|
1174
1174
|
{
|
|
1175
1175
|
style: {
|