@ynput/ayon-frontend-shared 0.3.38 → 0.3.40
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/_virtual/index.cjs15.js +1 -1
- package/dist/_virtual/index.cjs19.js +1 -1
- package/dist/_virtual/index.cjs22.js +1 -1
- package/dist/_virtual/index.cjs23.js +1 -1
- package/dist/_virtual/index.cjs24.js +1 -1
- package/dist/_virtual/index.cjs4.js +1 -1
- package/dist/_virtual/index.cjs5.js +1 -1
- package/dist/_virtual/index.cjs6.js +1 -1
- package/dist/_virtual/index.cjs8.js +1 -1
- package/dist/_virtual/index.es15.js +2 -2
- package/dist/_virtual/index.es16.js +2 -2
- package/dist/_virtual/index.es17.js +2 -2
- package/dist/_virtual/index.es18.js +2 -2
- package/dist/_virtual/index.es19.js +2 -2
- package/dist/_virtual/index.es22.js +3 -3
- package/dist/_virtual/index.es23.js +5 -5
- package/dist/_virtual/index.es24.js +5 -5
- package/dist/_virtual/index.es4.js +2 -5
- package/dist/_virtual/index.es4.js.map +1 -1
- package/dist/_virtual/index.es5.js +5 -2
- package/dist/_virtual/index.es5.js.map +1 -1
- package/dist/_virtual/index.es6.js +2 -2
- package/dist/_virtual/index.es8.js +2 -2
- package/dist/node_modules/match-sorter/dist/match-sorter.esm.cjs.js +1 -1
- package/dist/node_modules/match-sorter/dist/match-sorter.esm.es.js +1 -1
- package/dist/node_modules/parse-numeric-range/index.cjs.js +1 -1
- package/dist/node_modules/parse-numeric-range/index.es.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
- package/dist/node_modules/remove-accents/index.cjs.js +1 -1
- package/dist/node_modules/remove-accents/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/error-codes/dist/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime/dist/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/remote/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/remote/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/shared/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/shared/index.es.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.cjs.js +1 -1
- package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.es.js +1 -1
- package/dist/shared/node_modules/prop-types/index.cjs.js +1 -1
- package/dist/shared/node_modules/prop-types/index.es.js +1 -1
- package/dist/shared/node_modules/react-is/index.cjs.js +1 -1
- package/dist/shared/node_modules/react-is/index.es.js +1 -1
- package/dist/shared/src/containers/Feed/Feed.styled.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/Feed.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/Feed.styled.es.js +5 -5
- package/dist/shared/src/containers/Feed/Feed.styled.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs15.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs19.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("./_commonjsHelpers.cjs.js"),e=require("../node_modules/parse5/lib/parser/index.cjs.js");var s=e.__require();const t=r.getDefaultExportFromCjs(s);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs22.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/
|
|
1
|
+
"use strict";const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/is-buffer/index.cjs.js");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs23.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/extend/index.cjs.js");var t=r.__require();const s=e.getDefaultExportFromCjs(t);module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs24.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs4.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const e=require("./_commonjsHelpers.cjs.js"),r=require("../node_modules/remove-accents/index.cjs.js");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs5.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs6.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs8.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.es.js";
|
|
2
|
-
import { __require as e } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const s = /* @__PURE__ */ r(
|
|
2
|
+
import { __require as e } from "../node_modules/parse5/lib/parser/index.es.js";
|
|
3
|
+
var o = e();
|
|
4
|
+
const s = /* @__PURE__ */ r(o);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.es.js";
|
|
2
|
+
import { __require as e } from "../node_modules/is-buffer/index.es.js";
|
|
3
|
+
var f = e();
|
|
4
|
+
const s = /* @__PURE__ */ r(f);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.es23.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.es.js";
|
|
2
|
+
import { __require as r } from "../node_modules/extend/index.es.js";
|
|
3
|
+
var t = r();
|
|
4
|
+
const a = /* @__PURE__ */ e(t);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=index.es24.js.map
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { __require as r } from "../node_modules/remove-accents/index.es.js";
|
|
3
|
-
var o = r();
|
|
4
|
-
const s = /* @__PURE__ */ e(o);
|
|
1
|
+
var r = {};
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
r as __exports
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=index.es4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es4.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.es.js";
|
|
2
|
+
import { __require as r } from "../node_modules/remove-accents/index.es.js";
|
|
3
|
+
var o = r();
|
|
4
|
+
const s = /* @__PURE__ */ e(o);
|
|
2
5
|
export {
|
|
3
|
-
|
|
6
|
+
s as default
|
|
4
7
|
};
|
|
5
8
|
//# sourceMappingURL=index.es5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../../../_virtual/index.cjs5.js");const d={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0},V=(n,e)=>String(n.rankedValue).localeCompare(String(e.rankedValue));function p(n,e,t){t===void 0&&(t={});const{keys:l,threshold:i=d.MATCHES,baseSort:a=V,sorter:o=f=>f.sort((r,c)=>N(r,c,a))}=t,s=n.reduce(u,[]);return o(s).map(f=>{let{item:r}=f;return r});function u(f,r,c){const I=T(r,l,e,t),{rank:A,keyThreshold:h=i}=I;return A>=h&&f.push({...I,item:r,index:c}),f}}p.rankings=d;function T(n,e,t,l){if(!e){const a=n;return{rankedValue:a,rank:k(a,t,l),keyIndex:-1,keyThreshold:l.threshold}}return x(n,e).reduce((a,o,s)=>{let{rank:u,rankedValue:f,keyIndex:r,keyThreshold:c}=a,{itemValue:I,attributes:A}=o,h=k(I,t,l),C=f;const{minRanking:y,maxRanking:g,threshold:O}=A;return h<y&&h>=d.MATCHES?h=y:h>g&&(h=g),h>u&&(u=h,r=s,c=O,C=I),{rankedValue:C,rank:u,keyIndex:r,keyThreshold:c}},{rankedValue:n,rank:d.NO_MATCH,keyIndex:-1,keyThreshold:l.threshold})}function k(n,e,t){return n=m(n,t),e=m(e,t),e.length>n.length?d.NO_MATCH:n===e?d.CASE_SENSITIVE_EQUAL:(n=n.toLowerCase(),e=e.toLowerCase(),n===e?d.EQUAL:n.startsWith(e)?d.STARTS_WITH:n.includes(` ${e}`)?d.WORD_STARTS_WITH:n.includes(e)?d.CONTAINS:e.length===1?d.NO_MATCH:E(n).includes(e)?d.ACRONYM:H(n,e))}function E(n){let e="";return n.split(" ").forEach(l=>{l.split("-").forEach(a=>{e+=a.substr(0,1)})}),e}function H(n,e){let t=0;function l(r,c,I){for(let A=I,h=c.length;A<h;A++)if(c[A]===r)return t+=1,A+1;return-1}let i=0;function a(r){const c=1/r,I=t/e.length,A=(e.length-i)/e.length;return d.MATCHES+I*c*A}let o=0,s=0,u=0;for(let r=0,c=e.length;r<c;r++){const I=e[r];if(u=l(I,n,s),u>-1)s=u,r===0&&(o=s);else{if(i>0||e.length<=3)return d.NO_MATCH;i+=1}}const f=s-o;return a(f)}function N(n,e,t){const{rank:a,keyIndex:o}=n,{rank:s,keyIndex:u}=e;return a===s?o===u?t(n,e):o<u?-1:1:a>s?-1:1}function m(n,e){let{keepDiacritics:t}=e;return n=`${n}`,t||(n=b(n)),n}function _(n,e){typeof e=="object"&&(e=e.key);let t;if(typeof e=="function")t=e(n);else if(n==null)t=null;else if(Object.hasOwnProperty.call(n,e))t=n[e];else{if(e.includes("."))return M(e,n);t=null}return t==null?[]:Array.isArray(t)?t:[String(t)]}function M(n,e){const t=n.split(".");let l=[e];for(let i=0,a=t.length;i<a;i++){const o=t[i];let s=[];for(let u=0,f=l.length;u<f;u++){const r=l[u];if(r!=null)if(Object.hasOwnProperty.call(r,o)){const c=r[o];c!=null&&s.push(c)}else o==="*"&&(s=s.concat(r))}l=s}return Array.isArray(l[0])?[].concat(...l):l}function x(n,e){const t=[];for(let l=0,i=e.length;l<i;l++){const a=e[l],o=F(a),s=_(n,a);for(let u=0,f=s.length;u<f;u++)t.push({itemValue:s[u],attributes:o})}return t}const S={maxRanking:1/0,minRanking:-1/0};function F(n){return typeof n=="string"?S:{...S,...n}}exports.defaultBaseSortFn=V;exports.matchSorter=p;exports.rankings=d;
|
|
2
2
|
//# sourceMappingURL=match-sorter.esm.cjs.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../_virtual/index.cjs21.js");var f;function _(){return f||(f=1,(function(d,c){function o(m){let u=[],a;for(let s of m.split(",").map(l=>l.trim()))if(/^-?\d+$/.test(s))u.push(parseInt(s,10));else if(a=s.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[l,r,i,e]=a;if(r&&e){r=parseInt(r),e=parseInt(e);const p=r<e?1:-1;(i==="-"||i===".."||i==="‥")&&(e+=p);for(let n=r;n!==e;n+=p)u.push(n)}}return u}c.default=o,d.exports=o})(t.__module,t.__module.exports)),t.__module.exports}exports.__require=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../../../../bail/index.cjs.js"),B=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("../../../../bail/index.cjs.js"),B=require("../../../../../_virtual/index.cjs23.js"),z=require("../../../../../_virtual/index.cjs24.js"),E=require("../../../../is-plain-obj/index.cjs.js"),D=require("../../../../trough/lib/index.cjs.js"),M=require("../../vfile/lib/index.cjs.js"),Y=$().freeze(),A={}.hasOwnProperty;function $(){const t=D.trough(),s=[];let a={},w,h=-1;return n.data=j,n.Parser=void 0,n.Compiler=void 0,n.freeze=q,n.attachers=s,n.use=I,n.parse=O,n.stringify=V,n.run=F,n.runSync=N,n.process=L,n.processSync=U,n;function n(){const e=$();let r=-1;for(;++r<s.length;)e.use(...s[r]);return e.data(z(!0,{},a)),e}function j(e,r){return typeof e=="string"?arguments.length===2?(P("data",w),a[e]=r,n):A.call(a,e)&&a[e]||null:e?(P("data",w),a=e,n):a}function q(){if(w)return n;for(;++h<s.length;){const[e,...r]=s[h];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=e.call(n,...r);typeof i=="function"&&t.use(i)}return w=!0,h=Number.POSITIVE_INFINITY,n}function I(e,...r){let i;if(P("use",w),e!=null)if(typeof e=="function")d(e,...r);else if(typeof e=="object")Array.isArray(e)?y(e):p(e);else throw new TypeError("Expected usable value, not `"+e+"`");return i&&(a.settings=Object.assign(a.settings||{},i)),n;function u(o){if(typeof o=="function")d(o);else if(typeof o=="object")if(Array.isArray(o)){const[f,...c]=o;d(f,...c)}else p(o);else throw new TypeError("Expected usable value, not `"+o+"`")}function p(o){y(o.plugins),o.settings&&(i=Object.assign(i||{},o.settings))}function y(o){let f=-1;if(o!=null)if(Array.isArray(o))for(;++f<o.length;){const c=o[f];u(c)}else throw new TypeError("Expected a list of plugins, not `"+o+"`")}function d(o,f){let c=-1,l;for(;++c<s.length;)if(s[c][0]===o){l=s[c];break}l?(E(l[1])&&E(f)&&(f=z(!0,l[1],f)),l[1]=f):s.push([...arguments])}}function O(e){n.freeze();const r=g(e),i=n.Parser;return m("parse",i),C(i,"parse")?new i(String(r),r).parse():i(String(r),r)}function V(e,r){n.freeze();const i=g(r),u=n.Compiler;return x("stringify",u),b(e),C(u,"compile")?new u(e,i).compile():u(e,i)}function F(e,r,i){if(b(e),n.freeze(),!i&&typeof r=="function"&&(i=r,r=void 0),!i)return new Promise(u);u(null,i);function u(p,y){t.run(e,g(r),d);function d(o,f,c){f=f||e,o?y(o):p?p(f):i(null,f,c)}}}function N(e,r){let i,u;return n.run(e,r,p),T("runSync","run",u),i;function p(y,d){S.bail(y),i=d,u=!0}}function L(e,r){if(n.freeze(),m("process",n.Parser),x("process",n.Compiler),!r)return new Promise(i);i(null,r);function i(u,p){const y=g(e);n.run(n.parse(y),y,(o,f,c)=>{if(o||!f||!c)d(o);else{const l=n.stringify(f,c);l==null||(H(l)?c.value=l:c.result=l),d(o,c)}});function d(o,f){o||!f?p(o):u?u(f):r(null,f)}}}function U(e){let r;n.freeze(),m("processSync",n.Parser),x("processSync",n.Compiler);const i=g(e);return n.process(i,u),T("processSync","process",r),i;function u(p){r=!0,S.bail(p)}}}function C(t,s){return typeof t=="function"&&t.prototype&&(_(t.prototype)||s in t.prototype)}function _(t){let s;for(s in t)if(A.call(t,s))return!0;return!1}function m(t,s){if(typeof s!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function x(t,s){if(typeof s!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function P(t,s){if(s)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function b(t){if(!E(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function T(t,s,a){if(!a)throw new Error("`"+t+"` finished async. Use `"+s+"` instead")}function g(t){return G(t)?t:new M.VFile(t)}function G(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function H(t){return typeof t=="string"||B(t)}exports.unified=Y;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { bail as z } from "../../../../bail/index.es.js";
|
|
2
|
-
import Y from "../../../../../_virtual/index.
|
|
3
|
-
import C from "../../../../../_virtual/index.
|
|
2
|
+
import Y from "../../../../../_virtual/index.es23.js";
|
|
3
|
+
import C from "../../../../../_virtual/index.es24.js";
|
|
4
4
|
import x from "../../../../is-plain-obj/index.es.js";
|
|
5
5
|
import { trough as _ } from "../../../../trough/lib/index.es.js";
|
|
6
6
|
import { VFile as q } from "../../vfile/lib/index.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("../../../../../_virtual/index.cjs23.js"),i=require("./minpath.browser.cjs.js"),d=require("./minproc.browser.cjs.js"),c=require("./minurl.browser.cjs.js"),m=require("./minurl.shared.cjs.js"),l=require("../../vfile-message/lib/index.cjs.js"),a=["history","path","basename","stem","extname","dirname"];class g{constructor(t){let e;t?typeof t=="string"||w(t)?e={value:t}:m.isUrl(t)?e={path:t}:e=t:e={},this.data={},this.messages=[],this.history=[],this.cwd=d.proc.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<a.length;){const h=a[r];h in e&&e[h]!==void 0&&e[h]!==null&&(this[h]=h==="history"?[...e[h]]:e[h])}let s;for(s in e)a.includes(s)||(this[s]=e[s])}get path(){return this.history[this.history.length-1]}set path(t){m.isUrl(t)&&(t=c.urlToPath(t)),p(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?i.path.dirname(this.path):void 0}set dirname(t){u(this.basename,"dirname"),this.path=i.path.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?i.path.basename(this.path):void 0}set basename(t){p(t,"basename"),o(t,"basename"),this.path=i.path.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?i.path.extname(this.path):void 0}set extname(t){if(o(t,"extname"),u(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=i.path.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?i.path.basename(this.path,this.extname):void 0}set stem(t){p(t,"stem"),o(t,"stem"),this.path=i.path.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t||void 0)}message(t,e,r){const s=new l.VFileMessage(t,e,r);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}info(t,e,r){const s=this.message(t,e,r);return s.fatal=null,s}fail(t,e,r){const s=this.message(t,e,r);throw s.fatal=!0,s}}function o(n,t){if(n&&n.includes(i.path.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+i.path.sep+"`")}function p(n,t){if(!n)throw new Error("`"+t+"` cannot be empty")}function u(n,t){if(!n)throw new Error("Setting `"+t+"` requires `path` to be set too")}function w(n){return f(n)}exports.VFile=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import d from "../../../../../_virtual/index.
|
|
1
|
+
import d from "../../../../../_virtual/index.es23.js";
|
|
2
2
|
import { path as i } from "./minpath.browser.es.js";
|
|
3
3
|
import { proc as u } from "./minproc.browser.es.js";
|
|
4
4
|
import { urlToPath as l } from "./minurl.browser.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const w=require("../../../_virtual/index.
|
|
1
|
+
"use strict";const w=require("../../../_virtual/index.cjs22.js"),A=require("./errors.cjs.js"),E=require("../../hast-util-from-parse5/lib/index.cjs.js"),I="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",L={2:!0,1:!1,0:null};function j(r){const o=this.data("settings"),n=Object.assign({},o,r);Object.assign(this,{Parser:h});function h(a,l){const b=n.fragment?"parseFragment":"parse",C=n.emitParseErrors?x:null,O=new w({sourceCodeLocationInfo:!0,onParseError:C,scriptingEnabled:!1});return E.fromParse5(O[b](a),{space:n.space,file:l,verbose:n.verbose});function x(e){const c=e.code,u=y(c),i=n[u],f=i??!0,p=typeof f=="number"?f:f?1:0,P={line:e.startLine,column:e.startCol,offset:e.startOffset},q={line:e.endLine,column:e.endCol,offset:e.endOffset};if(p){const t=A.errors[u]||{reason:"",description:"",url:""},s=l.message(g(t.reason),{start:P,end:q});s.source="parse-error",s.ruleId=c,s.fatal=L[p],s.note=g(t.description),s.url="url"in t&&t.url===!1?null:I+c}function g(t){return t.replace(/%c(?:-(\d+))?/g,(s,d)=>{const v=d?-Number.parseInt(d,10):0,m=a.charAt(e.startOffset+v);return m==="`"?"` ` `":m}).replace(/%x/g,()=>"0x"+a.charCodeAt(e.startOffset).toString(16).toUpperCase())}}}}function y(r){return r.replace(/-[a-z]/g,o=>o.charAt(1).toUpperCase())}module.exports=j;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import A from "../../../_virtual/index.
|
|
1
|
+
import A from "../../../_virtual/index.es22.js";
|
|
2
2
|
import { errors as E } from "./errors.es.js";
|
|
3
3
|
import { fromParse5 as I } from "../../hast-util-from-parse5/lib/index.es.js";
|
|
4
4
|
const L = "https://html.spec.whatwg.org/multipage/parsing.html#parse-error-", j = { 2: !0, 1: !1, 0: null };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../../_virtual/index.cjs8.js");var t;function O(){if(t)return o.__module.exports;t=1;var a={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ả:"A",Ạ:"A",Ẩ:"A",Ẫ:"A",Ậ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ẻ:"E",Ẽ:"E",Ẹ:"E",Ể:"E",Ễ:"E",Ệ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ỉ:"I",Ị:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ỏ:"O",Ọ:"O",Ổ:"O",Ỗ:"O",Ộ:"O",Ờ:"O",Ở:"O",Ỡ:"O",Ớ:"O",Ợ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ủ:"U",Ụ:"U",Ử:"U",Ữ:"U",Ự:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ả:"a",ạ:"a",ẩ:"a",ẫ:"a",ậ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ẻ:"e",ẽ:"e",ẹ:"e",ể:"e",ễ:"e",ệ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ỉ:"i",ị:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ỏ:"o",ọ:"o",ổ:"o",ỗ:"o",ộ:"o",ờ:"o",ở:"o",ỡ:"o",ớ:"o",ợ:"o",ù:"u",ú:"u",û:"u",ü:"u",ủ:"u",ụ:"u",ử:"u",ữ:"u",ự:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z",й:"и",Й:"И",ё:"е",Ё:"Е"},r=Object.keys(a).join("|"),A=new RegExp(r,"g"),i=new RegExp(r,"");function c(e){return a[e]}var u=function(e){return e.replace(A,c)},n=function(e){return!!e.match(i)};return o.__module.exports=u,o.__module.exports.has=n,o.__module.exports.remove=u,o.__module.exports}exports.__require=O;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("../../../../../_virtual/index.cjs7.js"),I=require("./error-codes.cjs.js"),T=require("./getShortErrorMsg.cjs.js"),U=require("./desc.cjs.js");var E;function u(){return E||(E=1,(function(r){Object.defineProperty(r,Symbol.toStringTag,{value:"Module"});const e=I.__require(),i=T.__require(),_=U.__require();r.BUILD_001=e.BUILD_001,r.BUILD_002=e.BUILD_002,r.RUNTIME_001=e.RUNTIME_001,r.RUNTIME_002=e.RUNTIME_002,r.RUNTIME_003=e.RUNTIME_003,r.RUNTIME_004=e.RUNTIME_004,r.RUNTIME_005=e.RUNTIME_005,r.RUNTIME_006=e.RUNTIME_006,r.RUNTIME_007=e.RUNTIME_007,r.RUNTIME_008=e.RUNTIME_008,r.RUNTIME_009=e.RUNTIME_009,r.RUNTIME_010=e.RUNTIME_010,r.RUNTIME_011=e.RUNTIME_011,r.RUNTIME_012=e.RUNTIME_012,r.TYPE_001=e.TYPE_001,r.buildDescMap=_.buildDescMap,r.errorDescMap=_.errorDescMap,r.getShortErrorMsg=i.getShortErrorMsg,r.runtimeDescMap=_.runtimeDescMap,r.typeDescMap=_.typeDescMap})(M.__exports)),M.__exports}exports.__require=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as M } from "../../../../../_virtual/index.
|
|
1
|
+
import { __exports as M } from "../../../../../_virtual/index.es7.js";
|
|
2
2
|
import { __require as I } from "./error-codes.es.js";
|
|
3
3
|
import { __require as U } from "./getShortErrorMsg.es.js";
|
|
4
4
|
import { __require as T } from "./desc.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../../../../../_virtual/index.cjs4.js"),R=require("./utils.cjs.js"),p=require("../../runtime-core/dist/index.cjs.js"),S=require("../../error-codes/dist/index.cjs.js");var l;function I(){return l||(l=1,(function(n){Object.defineProperty(n,Symbol.toStringTag,{value:"Module"});const c=R.__require();let t=p.__require(),i=S.__require();function o(r){const u=new((0,t.getGlobalFederationConstructor)()||t.ModuleFederation)(r);return(0,t.setGlobalFederationInstance)(u),u}let e=null;function d(r){const u=c.getGlobalFederationInstance(r.name,r.version);return u?(u.initOptions(r),e||(e=u),u):(e=o(r),e)}function s(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.loadRemote.apply(e,r)}function g(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.loadShare.apply(e,r)}function f(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.loadShareSync.apply(e,r)}function m(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.preloadRemote.apply(e,r)}function _(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.registerRemotes.apply(e,r)}function b(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.registerPlugins.apply(e,r)}function y(){return e}function M(...r){return(0,t.assert)(e,i.RUNTIME_009,i.runtimeDescMap),e.registerShared.apply(e,r)}(0,t.setGlobalFederationConstructor)(t.ModuleFederation),Object.defineProperty(n,"Module",{enumerable:!0,get:function(){return t.Module}}),n.ModuleFederation=t.ModuleFederation,n.createInstance=o,n.getInstance=y,Object.defineProperty(n,"getRemoteEntry",{enumerable:!0,get:function(){return t.getRemoteEntry}}),Object.defineProperty(n,"getRemoteInfo",{enumerable:!0,get:function(){return t.getRemoteInfo}}),n.init=d,n.loadRemote=s,Object.defineProperty(n,"loadScript",{enumerable:!0,get:function(){return t.loadScript}}),Object.defineProperty(n,"loadScriptNode",{enumerable:!0,get:function(){return t.loadScriptNode}}),n.loadShare=g,n.loadShareSync=f,n.preloadRemote=m,Object.defineProperty(n,"registerGlobalPlugins",{enumerable:!0,get:function(){return t.registerGlobalPlugins}}),n.registerPlugins=b,n.registerRemotes=_,n.registerShared=M})(a.__exports)),a.__exports}exports.__require=I;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as u } from "../../../../../_virtual/index.
|
|
1
|
+
import { __exports as u } from "../../../../../_virtual/index.es4.js";
|
|
2
2
|
import { __require as b } from "./utils.es.js";
|
|
3
3
|
import { __require as y } from "../../runtime-core/dist/index.es.js";
|
|
4
4
|
import { __require as S } from "../../error-codes/dist/index.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../../../_virtual/index.cjs6.js"),f=require("./utils/logger.cjs.js"),h=require("./utils/tool.cjs.js"),m=require("./global.cjs.js"),G=require("./utils/semver/index.cjs.js"),S=require("./utils/share.cjs.js"),y=require("./utils/manifest.cjs.js"),R=require("./utils/load.cjs.js"),F=require("./utils/index.cjs.js"),I=require("./helpers.cjs.js"),P=require("./module/index.cjs.js"),p=require("./core.cjs.js"),C=require("./type/index.cjs.js"),E=require("../../sdk/dist/index.cjs.js");var a;function M(){return a||(a=1,(function(e){Object.defineProperty(e,Symbol.toStringTag,{value:"Module"});const o=f.__require(),i=h.__require(),r=m.__require(),l=G.__require(),s=S.__require(),c=y.__require(),n=R.__require();F.__require();const d=I.__require(),_=P.__require(),q=p.__require(),g=C.__require();let u=E.__require();const b=d.default;e.CurrentGlobal=r.CurrentGlobal,e.Global=r.Global,e.Module=_.Module,e.ModuleFederation=q.ModuleFederation,e.addGlobalSnapshot=r.addGlobalSnapshot,e.assert=o.assert,e.error=o.error,e.getGlobalFederationConstructor=r.getGlobalFederationConstructor,e.getGlobalSnapshot=r.getGlobalSnapshot,e.getInfoWithoutType=r.getInfoWithoutType,e.getRegisteredShare=s.getRegisteredShare,e.getRemoteEntry=n.getRemoteEntry,e.getRemoteInfo=n.getRemoteInfo,e.helpers=b,e.isStaticResourcesEqual=i.isStaticResourcesEqual,Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return u.loadScript}}),Object.defineProperty(e,"loadScriptNode",{enumerable:!0,get:function(){return u.loadScriptNode}}),e.matchRemoteWithNameAndExpose=c.matchRemoteWithNameAndExpose,e.registerGlobalPlugins=r.registerGlobalPlugins,e.resetFederationGlobalInfo=r.resetFederationGlobalInfo,e.safeWrapper=i.safeWrapper,e.satisfy=l.satisfy,e.setGlobalFederationConstructor=r.setGlobalFederationConstructor,e.setGlobalFederationInstance=r.setGlobalFederationInstance,Object.defineProperty(e,"types",{enumerable:!0,get:function(){return g.type_exports}})})(t.__exports)),t.__exports}exports.__require=M;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as t } from "../../../../../_virtual/index.
|
|
1
|
+
import { __exports as t } from "../../../../../_virtual/index.es6.js";
|
|
2
2
|
import { __require as b } from "./utils/logger.es.js";
|
|
3
3
|
import { __require as g } from "./utils/tool.es.js";
|
|
4
4
|
import { __require as p } from "./global.es.js";
|
package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../../../_virtual/index.cjs16.js"),R=require("../../utils/logger.cjs.js"),x=require("../../utils/tool.cjs.js"),b=require("../../utils/index.cjs.js"),v=require("../../utils/preload.cjs.js"),E=require("../../../../sdk/dist/index.cjs.js"),N=require("../../../../error-codes/dist/index.cjs.js");var d;function P(){if(d)return n.__exports;d=1;const f=R.__require(),i=x.__require();b.__require();const m=v.__require();let u=E.__require(),_=N.__require();function c(e,r){const o=i.getRemoteEntryInfoFromSnapshot(r);o.url||f.error(_.RUNTIME_011,_.runtimeDescMap,{remoteName:e.name});let t=(0,u.getResourceUrl)(r,o.url);!u.isBrowserEnvValue&&!t.startsWith("http")&&(t=`https:${t}`),e.type=o.type,e.entryGlobalName=o.globalName,e.entry=t,e.version=r.version,e.buildVersion=r.buildVersion}function q(){return{name:"snapshot-plugin",async afterResolve(e){const{remote:r,pkgNameOrAlias:o,expose:t,origin:s,remoteInfo:a,id:g}=e;if(!i.isRemoteInfoWithEntry(r)||!i.isPureRemoteEntry(r)){const{remoteSnapshot:l,globalSnapshot:y}=await s.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:r,id:g});c(a,l);const h={remote:r,preloadConfig:{nameOrAlias:o,exposes:[t],resourceCategory:"sync",share:!1,depsRemote:!1}},p=await s.remoteHandler.hooks.lifecycle.generatePreloadAssets.emit({origin:s,preloadOptions:h,remoteInfo:a,remote:r,remoteSnapshot:l,globalSnapshot:y});return p&&m.preloadAssets(a,s,p,!1),{...e,remoteSnapshot:l}}return e}}}return n.__exports.assignRemoteInfo=c,n.__exports.snapshotPlugin=q,n.__exports}exports.__require=P;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/shared/node_modules/@module-federation/runtime-core/dist/plugins/snapshot/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as i } from "../../../../../../../_virtual/index.
|
|
1
|
+
import { __exports as i } from "../../../../../../../_virtual/index.es16.js";
|
|
2
2
|
import { __require as R } from "../../utils/logger.es.js";
|
|
3
3
|
import { __require as E } from "../../utils/tool.es.js";
|
|
4
4
|
import { __require as b } from "../../utils/index.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../../../../../../_virtual/index.cjs18.js"),U=require("../utils/logger.cjs.js"),K=require("../global.cjs.js"),V=require("../constant.cjs.js"),B=require("../utils/share.cjs.js"),z=require("../utils/manifest.cjs.js"),Y=require("../utils/load.cjs.js"),J=require("../utils/context.cjs.js"),Q=require("../utils/index.cjs.js"),X=require("../utils/preload.cjs.js"),Z=require("../module/index.cjs.js"),ee=require("../utils/hooks/syncHook.cjs.js"),oe=require("../utils/hooks/asyncHook.cjs.js"),te=require("../utils/hooks/syncWaterfallHook.cjs.js"),re=require("../utils/hooks/asyncWaterfallHooks.cjs.js"),se=require("../utils/hooks/pluginSystem.cjs.js"),ne=require("../utils/hooks/index.cjs.js"),ie=require("../plugins/snapshot/SnapshotHandler.cjs.js"),ae=require("../../../sdk/dist/index.cjs.js"),le=require("../../../error-codes/dist/index.cjs.js");var N;function ce(){if(N)return x.__exports;N=1;const I=U.__require(),c=K.__require(),T=V.__require(),P=B.__require(),W=z.__require(),b=Y.__require(),C=J.__require();Q.__require();const M=X.__require(),v=Z.__require(),G=ee.__require(),p=oe.__require(),H=te.__require(),L=re.__require(),F=se.__require();ne.__require();const D=ie.__require();let k=ae.__require(),O=le.__require();var $=class{constructor(e){this.hooks=new F.PluginSystem({beforeRegisterRemote:new H.SyncWaterfallHook("beforeRegisterRemote"),registerRemote:new H.SyncWaterfallHook("registerRemote"),beforeRequest:new L.AsyncWaterfallHook("beforeRequest"),onLoad:new p.AsyncHook("onLoad"),handlePreloadModule:new G.SyncHook("handlePreloadModule"),errorLoadRemote:new p.AsyncHook("errorLoadRemote"),beforePreloadRemote:new p.AsyncHook("beforePreloadRemote"),generatePreloadAssets:new p.AsyncHook("generatePreloadAssets"),afterPreloadRemote:new p.AsyncHook,loadEntry:new p.AsyncHook}),this.host=e,this.idToRemoteMap={}}formatAndRegisterRemote(e,o){return(o.remotes||[]).reduce((i,r)=>(this.registerRemote(r,i,{force:!1}),i),e.remotes)}setIdToRemoteMap(e,o){const{remote:i,expose:r}=o,{name:s,alias:t}=i;if(this.idToRemoteMap[e]={name:i.name,expose:r},t&&e.startsWith(s)){const n=e.replace(s,t);this.idToRemoteMap[n]={name:i.name,expose:r};return}if(t&&e.startsWith(t)){const n=e.replace(t,s);this.idToRemoteMap[n]={name:i.name,expose:r}}}async loadRemote(e,o){const{host:i}=this;try{const{loadFactory:r=!0}=o||{loadFactory:!0},{module:s,moduleOptions:t,remoteMatchInfo:n}=await this.getRemoteModuleAndOptions({id:e}),{pkgNameOrAlias:d,remote:l,expose:f,id:u,remoteSnapshot:a}=n,m=await s.get(u,f,o,a),_=await this.hooks.lifecycle.onLoad.emit({id:u,pkgNameOrAlias:d,expose:f,exposeModule:r?m:void 0,exposeModuleFactory:r?void 0:m,remote:l,options:t,moduleInstance:s,origin:i});return this.setIdToRemoteMap(e,n),typeof _=="function"?_:m}catch(r){const{from:s="runtime"}=o||{from:"runtime"},t=await this.hooks.lifecycle.errorLoadRemote.emit({id:e,error:r,from:s,lifecycle:"onLoad",origin:i});if(!t)throw r;return t}}async preloadRemote(e){const{host:o}=this;await this.hooks.lifecycle.beforePreloadRemote.emit({preloadOps:e,options:o.options,origin:o});const i=M.formatPreloadArgs(o.options.remotes,e);await Promise.all(i.map(async r=>{const{remote:s}=r,t=b.getRemoteInfo(s),{globalSnapshot:n,remoteSnapshot:d}=await o.snapshotHandler.loadRemoteSnapshotInfo({moduleInfo:s}),l=await this.hooks.lifecycle.generatePreloadAssets.emit({origin:o,preloadOptions:r,remote:s,remoteInfo:t,globalSnapshot:n,remoteSnapshot:d});l&&M.preloadAssets(t,o,l)}))}registerRemotes(e,o){const{host:i}=this;e.forEach(r=>{this.registerRemote(r,i.options.remotes,{force:o?.force})})}async getRemoteModuleAndOptions(e){const{host:o}=this,{id:i}=e;let r;try{r=await this.hooks.lifecycle.beforeRequest.emit({id:i,options:o.options,origin:o})}catch(_){if(r=await this.hooks.lifecycle.errorLoadRemote.emit({id:i,options:o.options,origin:o,from:"runtime",error:_,lifecycle:"beforeRequest"}),!r)throw _}const{id:s}=r,t=W.matchRemoteWithNameAndExpose(o.options.remotes,s);t||I.error(O.RUNTIME_004,O.runtimeDescMap,{hostName:o.options.name,requestId:s},void 0,C.optionsToMFContext(o.options));const{remote:n}=t,d=b.getRemoteInfo(n),l=await o.sharedHandler.hooks.lifecycle.afterResolve.emit({id:s,...t,options:o.options,origin:o,remoteInfo:d}),{remote:f,expose:u}=l;I.assert(f&&u,`The 'beforeRequest' hook was executed, but it failed to return the correct 'remote' and 'expose' values while loading ${s}.`);let a=o.moduleCache.get(f.name);const m={host:o,remoteInfo:d};return a||(a=new v.Module(m),o.moduleCache.set(f.name,a)),{module:a,moduleOptions:m,remoteMatchInfo:l}}registerRemote(e,o,i){const{host:r}=this,s=()=>{if(e.alias){const n=o.find(d=>e.alias&&(d.name.startsWith(e.alias)||d.alias?.startsWith(e.alias)));I.assert(!n,`The alias ${e.alias} of remote ${e.name} is not allowed to be the prefix of ${n&&n.name} name or alias`)}"entry"in e&&k.isBrowserEnvValue&&typeof window<"u"&&!e.entry.startsWith("http")&&(e.entry=new URL(e.entry,window.location.origin).href),e.shareScope||(e.shareScope=T.DEFAULT_SCOPE),e.type||(e.type=T.DEFAULT_REMOTE_TYPE)};this.hooks.lifecycle.beforeRegisterRemote.emit({remote:e,origin:r});const t=o.find(n=>n.name===e.name);if(!t)s(),o.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r});else{const n=[`The remote "${e.name}" is already registered.`,"Please note that overriding it may cause unexpected errors."];i?.force&&(this.removeRemote(t),s(),o.push(e),this.hooks.lifecycle.registerRemote.emit({remote:e,origin:r}),(0,k.warn)(n.join(" ")))}}removeRemote(e){try{const{host:o}=this,{name:i}=e,r=o.options.remotes.findIndex(t=>t.name===i);r!==-1&&o.options.remotes.splice(r,1);const s=o.moduleCache.get(e.name);if(s){const t=s.remoteInfo,n=t.entryGlobalName;c.CurrentGlobal[n]&&(Object.getOwnPropertyDescriptor(c.CurrentGlobal,n)?.configurable?delete c.CurrentGlobal[n]:c.CurrentGlobal[n]=void 0);const d=b.getRemoteEntryUniqueKey(s.remoteInfo);c.globalLoading[d]&&delete c.globalLoading[d],o.snapshotHandler.manifestCache.delete(t.entry);let l=t.buildVersion?(0,k.composeKeyWithSeparator)(t.name,t.buildVersion):t.name;const f=c.CurrentGlobal.__FEDERATION__.__INSTANCES__.findIndex(a=>t.buildVersion?a.options.id===l:a.name===l);if(f!==-1){const a=c.CurrentGlobal.__FEDERATION__.__INSTANCES__[f];l=a.options.id||l;const m=P.getGlobalShareScope();let _=!0;const w=[];Object.keys(m).forEach(y=>{const g=m[y];g&&Object.keys(g).forEach(q=>{const R=g[q];R&&Object.keys(R).forEach(E=>{const S=R[E];S&&Object.keys(S).forEach(A=>{const h=S[A];h&&typeof h=="object"&&h.from===t.name&&(h.loaded||h.loading?(h.useIn=h.useIn.filter(j=>j!==t.name),h.useIn.length?_=!1:w.push([y,q,E,A])):w.push([y,q,E,A]))})})})}),_&&(a.shareScopeMap={},delete m[l]),w.forEach(([y,g,q,R])=>{delete m[y]?.[g]?.[q]?.[R]}),c.CurrentGlobal.__FEDERATION__.__INSTANCES__.splice(f,1)}const{hostGlobalSnapshot:u}=D.getGlobalRemoteInfo(e,o);if(u){const a=u&&"remotesInfo"in u&&u.remotesInfo&&c.getInfoWithoutType(u.remotesInfo,e.name).key;a&&(delete u.remotesInfo[a],c.Global.__FEDERATION__.__MANIFEST_LOADING__[a]&&delete c.Global.__FEDERATION__.__MANIFEST_LOADING__[a])}o.moduleCache.delete(e.name)}}catch(o){I.logger.error(`removeRemote failed: ${o instanceof Error?o.message:String(o)}`)}}};return x.__exports.RemoteHandler=$,x.__exports}exports.__require=ce;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as M } from "../../../../../../_virtual/index.
|
|
1
|
+
import { __exports as M } from "../../../../../../_virtual/index.es18.js";
|
|
2
2
|
import { __require as j } from "../utils/logger.es.js";
|
|
3
3
|
import { __require as K } from "../global.es.js";
|
|
4
4
|
import { __require as V } from "../constant.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../../../../../../_virtual/index.cjs17.js"),P=require("../utils/logger.cjs.js"),U=require("../constant.cjs.js"),x=require("../utils/share.cjs.js"),C=require("../utils/context.cjs.js"),L=require("../utils/index.cjs.js"),W=require("../utils/hooks/asyncHook.cjs.js"),A=require("../utils/hooks/syncWaterfallHook.cjs.js"),$=require("../utils/hooks/asyncWaterfallHooks.cjs.js"),O=require("../utils/hooks/pluginSystem.cjs.js"),z=require("../utils/hooks/index.cjs.js"),G=require("../../../error-codes/dist/index.cjs.js");var w;function j(){if(w)return v.__exports;w=1;const q=P.__require(),T=U.__require(),l=x.__require(),k=C.__require();L.__require();const I=W.__require(),M=A.__require(),E=$.__require(),H=O.__require();z.__require();let m=G.__require();var R=class{constructor(o){this.hooks=new H.PluginSystem({beforeRegisterShare:new M.SyncWaterfallHook("beforeRegisterShare"),afterResolve:new E.AsyncWaterfallHook("afterResolve"),beforeLoadShare:new E.AsyncWaterfallHook("beforeLoadShare"),loadShare:new I.AsyncHook,resolveShare:new M.SyncWaterfallHook("resolveShare"),initContainerShareScopeMap:new M.SyncWaterfallHook("initContainerShareScopeMap")}),this.host=o,this.shareScopeMap={},this.initTokens={},this._setGlobalShareScopeMap(o.options)}registerShared(o,h){const{newShareInfos:e,allShareInfos:r}=l.formatShareConfigs(o,h);return Object.keys(e).forEach(i=>{e[i].forEach(c=>{c.scope.forEach(d=>{this.hooks.lifecycle.beforeRegisterShare.emit({origin:this.host,pkgName:i,shared:c}),this.shareScopeMap[d]?.[i]||this.setShared({pkgName:i,lib:c.lib,get:c.get,loaded:c.loaded||!!c.lib,shared:c,from:h.name})})})}),{newShareInfos:e,allShareInfos:r}}async loadShare(o,h){const{host:e}=this,r=l.getTargetSharedOptions({pkgName:o,extraOptions:h,shareInfos:e.options.shared});r?.scope&&await Promise.all(r.scope.map(async s=>{await Promise.all(this.initializeSharing(s,{strategy:r.strategy}))}));const{shareInfo:i}=await this.hooks.lifecycle.beforeLoadShare.emit({pkgName:o,shareInfo:r,shared:e.options.shared,origin:e});q.assert(i,`Cannot find shared "${o}" in host "${e.options.name}". Ensure the shared config for "${o}" is declared in the federation plugin options and the host has been initialized before loading shares.`);const{shared:c,useTreesShaking:d}=l.getRegisteredShare(this.shareScopeMap,o,i,this.hooks.lifecycle.resolveShare)||{};if(c){const s=l.directShare(c,d);if(s.lib)return l.addUseIn(s,e.options.name),s.lib;if(s.loading&&!s.loaded){const f=await s.loading;return s.loaded=!0,s.lib||(s.lib=f),l.addUseIn(s,e.options.name),f}else{const S=(async()=>{const p=await s.get();return l.addUseIn(s,e.options.name),s.loaded=!0,s.lib=p,p})();return this.setShared({pkgName:o,loaded:!1,shared:c,from:e.options.name,lib:null,loading:S,treeShaking:d?s:void 0}),S}}else{if(h?.customShareInfo)return!1;const s=l.shouldUseTreeShaking(i.treeShaking),f=l.directShare(i,s),p=(async()=>{const y=await f.get();f.lib=y,f.loaded=!0,l.addUseIn(f,e.options.name);const{shared:n,useTreesShaking:t}=l.getRegisteredShare(this.shareScopeMap,o,i,this.hooks.lifecycle.resolveShare)||{};if(n){const a=l.directShare(n,t);a.lib=y,a.loaded=!0,n.from=i.from}return y})();return this.setShared({pkgName:o,loaded:!1,shared:i,from:e.options.name,lib:null,loading:p,treeShaking:s?f:void 0}),p}}initializeSharing(o=T.DEFAULT_SCOPE,h){const{host:e}=this,r=h?.from,i=h?.strategy;let c=h?.initScope;const d=[];if(r!=="build"){const{initTokens:n}=this;c||(c=[]);let t=n[o];if(t||(t=n[o]={from:this.host.name}),c.indexOf(t)>=0)return d;c.push(t)}const s=this.shareScopeMap,f=e.options.name;s[o]||(s[o]={});const S=s[o],p=(n,t)=>{const{version:a,eager:g}=t;S[n]=S[n]||{};const _=S[n],u=_[a]&&l.directShare(_[a]),b=!!(u&&("eager"in u&&u.eager||"shareConfig"in u&&u.shareConfig?.eager));(!u||u.strategy!=="loaded-first"&&!u.loaded&&(!g!=!b?g:f>_[a].from))&&(_[a]=t)},y=async n=>{const{module:t}=await e.remoteHandler.getRemoteModuleAndOptions({id:n});let a;try{a=await t.getEntry()}catch(g){if(a=await e.remoteHandler.hooks.lifecycle.errorLoadRemote.emit({id:n,error:g,from:"runtime",lifecycle:"beforeLoadShare",origin:e}),!a)return}finally{a?.init&&!t.initing&&(t.remoteEntryExports=a,await t.init(void 0,void 0,c))}};return Object.keys(e.options.shared).forEach(n=>{e.options.shared[n].forEach(t=>{t.scope.includes(o)&&p(n,t)})}),(e.options.shareStrategy==="version-first"||i==="version-first")&&e.options.remotes.forEach(n=>{n.shareScope===o&&d.push(y(n.name))}),d}loadShareSync(o,h){const{host:e}=this,r=l.getTargetSharedOptions({pkgName:o,extraOptions:h,shareInfos:e.options.shared});r?.scope&&r.scope.forEach(d=>{this.initializeSharing(d,{strategy:r.strategy})});const{shared:i,useTreesShaking:c}=l.getRegisteredShare(this.shareScopeMap,o,r,this.hooks.lifecycle.resolveShare)||{};if(i){if(typeof i.lib=="function")return l.addUseIn(i,e.options.name),i.loaded||(i.loaded=!0,i.from===e.options.name&&(r.loaded=!0)),i.lib;if(typeof i.get=="function"){const d=i.get();if(!(d instanceof Promise))return l.addUseIn(i,e.options.name),this.setShared({pkgName:o,loaded:!0,from:e.options.name,lib:d,shared:i}),d}}if(r.lib)return r.loaded||(r.loaded=!0),r.lib;if(r.get){const d=r.get();return d instanceof Promise&&q.error(h?.from==="build"?m.RUNTIME_005:m.RUNTIME_006,m.runtimeDescMap,{hostName:e.options.name,sharedPkgName:o},void 0,k.optionsToMFContext(e.options)),r.lib=d,this.setShared({pkgName:o,loaded:!0,from:e.options.name,lib:r.lib,shared:r}),r.lib}q.error(m.RUNTIME_006,m.runtimeDescMap,{hostName:e.options.name,sharedPkgName:o},void 0,k.optionsToMFContext(e.options))}initShareScopeMap(o,h,e={}){const{host:r}=this;this.shareScopeMap[o]=h,this.hooks.lifecycle.initContainerShareScopeMap.emit({shareScope:h,options:r.options,origin:r,scopeName:o,hostShareScopeMap:e.hostShareScopeMap})}setShared({pkgName:o,shared:h,from:e,lib:r,loading:i,loaded:c,get:d,treeShaking:s}){const{version:f,scope:S="default",...p}=h,y=Array.isArray(S)?S:[S],n=t=>{const a=(_,u,b)=>{b&&!_[u]&&(_[u]=b)},g=s?t.treeShaking:t;a(g,"loaded",c),a(g,"loading",i),a(g,"get",d)};y.forEach(t=>{this.shareScopeMap[t]||(this.shareScopeMap[t]={}),this.shareScopeMap[t][o]||(this.shareScopeMap[t][o]={}),this.shareScopeMap[t][o][f]||(this.shareScopeMap[t][o][f]={version:f,scope:[t],...p,lib:r});const a=this.shareScopeMap[t][o][f];n(a),e&&a.from!==e&&(a.from=e)})}_setGlobalShareScopeMap(o){const h=l.getGlobalShareScope(),e=o.id||o.name;e&&!h[e]&&(h[e]=this.shareScopeMap)}};return v.__exports.SharedHandler=R,v.__exports}exports.__require=j;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as k } from "../../../../../../_virtual/index.
|
|
1
|
+
import { __exports as k } from "../../../../../../_virtual/index.es17.js";
|
|
2
2
|
import { __require as P } from "../utils/logger.es.js";
|
|
3
3
|
import { __require as U } from "../constant.es.js";
|
|
4
4
|
import { __require as C } from "../utils/share.es.js";
|
package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../../../../../_virtual/index.cjs15.js"),o=require("./syncHook.cjs.js"),i=require("./asyncHook.cjs.js"),u=require("./syncWaterfallHook.cjs.js"),t=require("./asyncWaterfallHooks.cjs.js"),s=require("./pluginSystem.cjs.js");var r;function n(){return r||(r=1,o.__require(),i.__require(),u.__require(),t.__require(),s.__require()),e.__exports}exports.__require=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/shared/node_modules/@module-federation/runtime-core/dist/utils/hooks/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as r } from "../../../../../../../_virtual/index.
|
|
1
|
+
import { __exports as r } from "../../../../../../../_virtual/index.es15.js";
|
|
2
2
|
import { __require as o } from "./syncHook.es.js";
|
|
3
3
|
import { __require as i } from "./asyncHook.es.js";
|
|
4
4
|
import { __require as u } from "./syncWaterfallHook.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/index.cjs19.js"),t=require("../react-is/index.cjs.js"),u=require("./factoryWithTypeCheckers.cjs.js"),s=require("./factoryWithThrowingShims.cjs.js");var r;function _(){if(r)return e.__module.exports;if(r=1,process.env.NODE_ENV!=="production"){var o=t.__require(),i=!0;e.__module.exports=u.__require()(o.isElement,i)}else e.__module.exports=s.__require()();return e.__module.exports}exports.__require=_;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as r } from "../../../_virtual/index.
|
|
1
|
+
import { __module as r } from "../../../_virtual/index.es19.js";
|
|
2
2
|
import { __require as s } from "../react-is/index.es.js";
|
|
3
3
|
import { __require as t } from "./factoryWithTypeCheckers.es.js";
|
|
4
4
|
import { __require as p } from "./factoryWithThrowingShims.es.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../../_virtual/index.cjs20.js"),t=require("./cjs/react-is.production.min.cjs.js"),o=require("./cjs/react-is.development.cjs.js");var r;function u(){return r||(r=1,process.env.NODE_ENV==="production"?e.__module.exports=t.__require():e.__module.exports=o.__require()),e.__module.exports}exports.__require=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as e } from "../../../_virtual/index.
|
|
1
|
+
import { __module as e } from "../../../_virtual/index.es20.js";
|
|
2
2
|
import { __require as o } from "./cjs/react-is.production.min.es.js";
|
|
3
3
|
import { __require as t } from "./cjs/react-is.development.es.js";
|
|
4
4
|
var r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feed.styled.cjs.js","sources":["../../../../../src/containers/Feed/Feed.styled.ts"],"sourcesContent":["import styled from 'styled-components'\n\nexport const FeedContainer = styled.section`\n padding-bottom: 4px;\n overflow: hidden;\n position: relative;\n\n height: 100%;\n\n display: grid;\n grid-template-rows:
|
|
1
|
+
{"version":3,"file":"Feed.styled.cjs.js","sources":["../../../../../src/containers/Feed/Feed.styled.ts"],"sourcesContent":["import styled from 'styled-components'\n\nexport const FeedContainer = styled.section`\n padding-bottom: 4px;\n overflow: hidden;\n position: relative;\n\n height: 100%;\n\n display: grid;\n grid-template-rows: 1fr auto;\n background-color: var(--md-sys-color-surface-container-low);\n\n padding-top: 4px;\n /* fade out the content at the top with a gradient */\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 45px;\n background: linear-gradient(\n to bottom,\n var(--md-sys-color-surface-container-low) 20%,\n rgba(255, 255, 255, 0) 100%\n );\n z-index: 1;\n }\n`\n\nexport const Warning = styled.div`\n position: absolute;\n left: 8px;\n right: 8px;\n top: 8px;\n z-index: 100;\n\n display: flex;\n align-items: center;\n gap: var(--base-gap-small);\n padding: var(--padding-m) var(--padding-s);\n border-radius: var(--border-radius-m);\n\n background-color: var(--md-sys-color-on-warning-container);\n color: var(--md-sys-color-warning-container);\n\n .icon {\n color: inherit;\n }\n`\n\nexport const FeedContent = styled.ul`\n gap: var(--base-gap-large);\n overflow-y: auto;\n padding: 24px 0;\n margin: 0;\n padding-bottom: 40px;\n scrollbar-gutter: stable;\n\n display: flex;\n flex-direction: column;\n\n flex-direction: column-reverse;\n\n &.loading {\n overflow: hidden;\n }\n\n /* first (last in dom) has margin to separate from filter */\n & > *:last-child {\n margin-top: 32px;\n }\n`\n\nexport const LoadMore = styled.span`\n padding: 16px 8px;\n color: var(--md-sys-color-outline);\n font-size: 11px;\n`\n\nexport const Placeholder = styled.div`\n height: 50px;\n border-radius: 8px;\n overflow: hidden;\n margin: 8px 0;\n opacity: 0.5;\n\n position: relative;\n`\n"],"names":["FeedContainer","styled","FeedContent","LoadMore","Placeholder"],"mappings":"qHAEaA,EAAgBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6BbA,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAqBvB,MAAMC,EAAcD,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAuBrBE,EAAWF,EAAO;AAAA;AAAA;AAAA;AAAA,EAMlBG,EAAcH,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "styled-components";
|
|
2
|
-
const
|
|
2
|
+
const e = o.section`
|
|
3
3
|
padding-bottom: 4px;
|
|
4
4
|
overflow: hidden;
|
|
5
5
|
position: relative;
|
|
@@ -7,7 +7,7 @@ const a = o.section`
|
|
|
7
7
|
height: 100%;
|
|
8
8
|
|
|
9
9
|
display: grid;
|
|
10
|
-
grid-template-rows:
|
|
10
|
+
grid-template-rows: 1fr auto;
|
|
11
11
|
background-color: var(--md-sys-color-surface-container-low);
|
|
12
12
|
|
|
13
13
|
padding-top: 4px;
|
|
@@ -47,7 +47,7 @@ o.div`
|
|
|
47
47
|
color: inherit;
|
|
48
48
|
}
|
|
49
49
|
`;
|
|
50
|
-
const
|
|
50
|
+
const a = o.ul`
|
|
51
51
|
gap: var(--base-gap-large);
|
|
52
52
|
overflow-y: auto;
|
|
53
53
|
padding: 24px 0;
|
|
@@ -82,8 +82,8 @@ const e = o.ul`
|
|
|
82
82
|
position: relative;
|
|
83
83
|
`;
|
|
84
84
|
export {
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
e as FeedContainer,
|
|
86
|
+
a as FeedContent,
|
|
87
87
|
t as LoadMore,
|
|
88
88
|
i as Placeholder
|
|
89
89
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Feed.styled.es.js","sources":["../../../../../src/containers/Feed/Feed.styled.ts"],"sourcesContent":["import styled from 'styled-components'\n\nexport const FeedContainer = styled.section`\n padding-bottom: 4px;\n overflow: hidden;\n position: relative;\n\n height: 100%;\n\n display: grid;\n grid-template-rows:
|
|
1
|
+
{"version":3,"file":"Feed.styled.es.js","sources":["../../../../../src/containers/Feed/Feed.styled.ts"],"sourcesContent":["import styled from 'styled-components'\n\nexport const FeedContainer = styled.section`\n padding-bottom: 4px;\n overflow: hidden;\n position: relative;\n\n height: 100%;\n\n display: grid;\n grid-template-rows: 1fr auto;\n background-color: var(--md-sys-color-surface-container-low);\n\n padding-top: 4px;\n /* fade out the content at the top with a gradient */\n &::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n height: 45px;\n background: linear-gradient(\n to bottom,\n var(--md-sys-color-surface-container-low) 20%,\n rgba(255, 255, 255, 0) 100%\n );\n z-index: 1;\n }\n`\n\nexport const Warning = styled.div`\n position: absolute;\n left: 8px;\n right: 8px;\n top: 8px;\n z-index: 100;\n\n display: flex;\n align-items: center;\n gap: var(--base-gap-small);\n padding: var(--padding-m) var(--padding-s);\n border-radius: var(--border-radius-m);\n\n background-color: var(--md-sys-color-on-warning-container);\n color: var(--md-sys-color-warning-container);\n\n .icon {\n color: inherit;\n }\n`\n\nexport const FeedContent = styled.ul`\n gap: var(--base-gap-large);\n overflow-y: auto;\n padding: 24px 0;\n margin: 0;\n padding-bottom: 40px;\n scrollbar-gutter: stable;\n\n display: flex;\n flex-direction: column;\n\n flex-direction: column-reverse;\n\n &.loading {\n overflow: hidden;\n }\n\n /* first (last in dom) has margin to separate from filter */\n & > *:last-child {\n margin-top: 32px;\n }\n`\n\nexport const LoadMore = styled.span`\n padding: 16px 8px;\n color: var(--md-sys-color-outline);\n font-size: 11px;\n`\n\nexport const Placeholder = styled.div`\n height: 50px;\n border-radius: 8px;\n overflow: hidden;\n margin: 8px 0;\n opacity: 0.5;\n\n position: relative;\n`\n"],"names":["FeedContainer","styled","FeedContent","LoadMore","Placeholder"],"mappings":";AAEO,MAAMA,IAAgBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BbA,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAqBvB,MAAMC,IAAcD,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAuBrBE,IAAWF,EAAO;AAAA;AAAA;AAAA;AAAA,GAMlBG,IAAcH,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|