@meonode/ui 0.4.11 → 0.4.12
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/CHANGELOG.md +14 -2
- package/dist/cjs/client.js +1 -0
- package/dist/cjs/components/html.node.js +1 -0
- package/dist/cjs/components/meonode-unmounter.client.js +2 -0
- package/dist/cjs/components/react.node.js +1 -0
- package/dist/cjs/components/registry.client.js +2 -0
- package/dist/cjs/components/styled-renderer.client.js +2 -0
- package/dist/cjs/components/theme-provider.client.js +2 -0
- package/dist/cjs/components/theme-provider.js +1 -0
- package/dist/cjs/constant/common.const.js +1 -0
- package/dist/{constant → cjs/constant}/css-properties.const.js +1 -1
- package/dist/cjs/core.node.js +1 -0
- package/dist/cjs/helper/common.helper.js +1 -0
- package/dist/cjs/helper/obj.helper.js +1 -0
- package/dist/cjs/helper/react-is.helper.js +1 -0
- package/dist/cjs/hoc/component.hoc.js +1 -0
- package/dist/cjs/hoc/portal.hoc.js +1 -0
- package/dist/cjs/hook/usePortal.js +2 -0
- package/dist/cjs/hook/useTheme.js +2 -0
- package/dist/cjs/main.js +1 -0
- package/dist/cjs/nextjs-registry/index.js +1 -0
- package/dist/cjs/util/mount-tracker.util.js +1 -0
- package/dist/cjs/util/navigation-cache-manager.util.js +1 -0
- package/dist/cjs/util/node.util.js +1 -0
- package/dist/cjs/util/theme.util.js +1 -0
- package/dist/esm/client.d.ts.map +1 -0
- package/dist/esm/client.js +1 -0
- package/dist/esm/components/html.node.d.ts.map +1 -0
- package/dist/esm/components/html.node.js +1 -0
- package/dist/esm/components/meonode-unmounter.client.d.ts.map +1 -0
- package/dist/esm/components/meonode-unmounter.client.js +2 -0
- package/dist/esm/components/react.node.d.ts.map +1 -0
- package/dist/esm/components/react.node.js +1 -0
- package/dist/esm/components/registry.client.d.ts.map +1 -0
- package/dist/esm/components/registry.client.js +2 -0
- package/dist/esm/components/styled-renderer.client.d.ts.map +1 -0
- package/dist/esm/components/styled-renderer.client.js +2 -0
- package/dist/esm/components/theme-provider.client.d.ts.map +1 -0
- package/dist/esm/components/theme-provider.client.js +2 -0
- package/dist/esm/components/theme-provider.d.ts.map +1 -0
- package/dist/esm/components/theme-provider.js +1 -0
- package/dist/esm/constant/common.const.d.ts.map +1 -0
- package/dist/esm/constant/common.const.js +1 -0
- package/dist/esm/constant/css-properties.const.d.ts.map +1 -0
- package/dist/esm/constant/css-properties.const.js +1 -0
- package/dist/esm/core.node.d.ts.map +1 -0
- package/dist/esm/core.node.js +1 -0
- package/dist/esm/helper/common.helper.d.ts.map +1 -0
- package/dist/esm/helper/common.helper.js +1 -0
- package/dist/esm/helper/obj.helper.d.ts.map +1 -0
- package/dist/esm/helper/obj.helper.js +1 -0
- package/dist/esm/helper/react-is.helper.d.ts.map +1 -0
- package/dist/esm/helper/react-is.helper.js +1 -0
- package/dist/esm/hoc/component.hoc.d.ts.map +1 -0
- package/dist/esm/hoc/component.hoc.js +1 -0
- package/dist/esm/hoc/index.d.ts.map +1 -0
- package/dist/esm/hoc/portal.hoc.d.ts.map +1 -0
- package/dist/esm/hoc/portal.hoc.js +1 -0
- package/dist/esm/hook/index.d.ts.map +1 -0
- package/dist/esm/hook/usePortal.d.ts.map +1 -0
- package/dist/esm/hook/usePortal.js +2 -0
- package/dist/esm/hook/useTheme.d.ts.map +1 -0
- package/dist/esm/hook/useTheme.js +2 -0
- package/dist/esm/main.d.ts.map +1 -0
- package/dist/esm/main.js +1 -0
- package/dist/esm/nextjs-registry/index.d.ts.map +1 -0
- package/dist/esm/nextjs-registry/index.js +1 -0
- package/dist/esm/types/node.type.d.ts.map +1 -0
- package/dist/esm/util/mount-tracker.util.d.ts.map +1 -0
- package/dist/esm/util/mount-tracker.util.js +1 -0
- package/dist/esm/util/navigation-cache-manager.util.d.ts.map +1 -0
- package/dist/esm/util/navigation-cache-manager.util.js +1 -0
- package/dist/esm/util/node.util.d.ts.map +1 -0
- package/dist/esm/util/node.util.js +1 -0
- package/dist/esm/util/theme.util.d.ts.map +1 -0
- package/dist/esm/util/theme.util.js +1 -0
- package/package.json +21 -19
- package/dist/client.d.ts.map +0 -1
- package/dist/client.js +0 -6
- package/dist/components/html.node.d.ts.map +0 -1
- package/dist/components/html.node.js +0 -632
- package/dist/components/meonode-unmounter.client.d.ts.map +0 -1
- package/dist/components/meonode-unmounter.client.js +0 -17
- package/dist/components/react.node.d.ts.map +0 -1
- package/dist/components/react.node.js +0 -43
- package/dist/components/registry.client.d.ts.map +0 -1
- package/dist/components/registry.client.js +0 -14
- package/dist/components/styled-renderer.client.d.ts.map +0 -1
- package/dist/components/styled-renderer.client.js +0 -10
- package/dist/components/theme-provider.client.d.ts.map +0 -1
- package/dist/components/theme-provider.client.js +0 -8
- package/dist/components/theme-provider.d.ts.map +0 -1
- package/dist/components/theme-provider.js +0 -3
- package/dist/constant/common.const.d.ts.map +0 -1
- package/dist/constant/common.const.js +0 -1
- package/dist/constant/css-properties.const.d.ts.map +0 -1
- package/dist/core.node.d.ts.map +0 -1
- package/dist/core.node.js +0 -139
- package/dist/helper/common.helper.d.ts.map +0 -1
- package/dist/helper/common.helper.js +0 -73
- package/dist/helper/obj.helper.d.ts.map +0 -1
- package/dist/helper/obj.helper.js +0 -23
- package/dist/helper/react-is.helper.d.ts.map +0 -1
- package/dist/helper/react-is.helper.js +0 -94
- package/dist/hoc/component.hoc.d.ts.map +0 -1
- package/dist/hoc/component.hoc.js +0 -50
- package/dist/hoc/index.d.ts.map +0 -1
- package/dist/hoc/index.js +0 -1
- package/dist/hoc/portal.hoc.d.ts.map +0 -1
- package/dist/hoc/portal.hoc.js +0 -73
- package/dist/hook/index.d.ts.map +0 -1
- package/dist/hook/index.js +0 -1
- package/dist/hook/usePortal.d.ts.map +0 -1
- package/dist/hook/usePortal.js +0 -4
- package/dist/hook/useTheme.d.ts.map +0 -1
- package/dist/hook/useTheme.js +0 -8
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -7
- package/dist/nextjs-registry/index.d.ts.map +0 -1
- package/dist/nextjs-registry/index.js +0 -1
- package/dist/types/env.d.js +0 -1
- package/dist/types/node.type.d.ts.map +0 -1
- package/dist/types/node.type.js +0 -1
- package/dist/util/mount-tracker.util.d.ts.map +0 -1
- package/dist/util/mount-tracker.util.js +0 -15
- package/dist/util/navigation-cache-manager.util.d.ts.map +0 -1
- package/dist/util/navigation-cache-manager.util.js +0 -19
- package/dist/util/node.util.d.ts.map +0 -1
- package/dist/util/node.util.js +0 -241
- package/dist/util/theme.util.d.ts.map +0 -1
- package/dist/util/theme.util.js +0 -112
- /package/dist/{client.d.ts → esm/client.d.ts} +0 -0
- /package/dist/{components → esm/components}/html.node.d.ts +0 -0
- /package/dist/{components → esm/components}/meonode-unmounter.client.d.ts +0 -0
- /package/dist/{components → esm/components}/react.node.d.ts +0 -0
- /package/dist/{components → esm/components}/registry.client.d.ts +0 -0
- /package/dist/{components → esm/components}/styled-renderer.client.d.ts +0 -0
- /package/dist/{components → esm/components}/theme-provider.client.d.ts +0 -0
- /package/dist/{components → esm/components}/theme-provider.d.ts +0 -0
- /package/dist/{constant → esm/constant}/common.const.d.ts +0 -0
- /package/dist/{constant → esm/constant}/css-properties.const.d.ts +0 -0
- /package/dist/{core.node.d.ts → esm/core.node.d.ts} +0 -0
- /package/dist/{helper → esm/helper}/common.helper.d.ts +0 -0
- /package/dist/{helper → esm/helper}/obj.helper.d.ts +0 -0
- /package/dist/{helper → esm/helper}/react-is.helper.d.ts +0 -0
- /package/dist/{hoc → esm/hoc}/component.hoc.d.ts +0 -0
- /package/dist/{hoc → esm/hoc}/index.d.ts +0 -0
- /package/dist/{hoc → esm/hoc}/portal.hoc.d.ts +0 -0
- /package/dist/{hook → esm/hook}/index.d.ts +0 -0
- /package/dist/{hook → esm/hook}/usePortal.d.ts +0 -0
- /package/dist/{hook → esm/hook}/useTheme.d.ts +0 -0
- /package/dist/{main.d.ts → esm/main.d.ts} +0 -0
- /package/dist/{nextjs-registry → esm/nextjs-registry}/index.d.ts +0 -0
- /package/dist/{types → esm/types}/node.type.d.ts +0 -0
- /package/dist/{util → esm/util}/mount-tracker.util.d.ts +0 -0
- /package/dist/{util → esm/util}/navigation-cache-manager.util.d.ts +0 -0
- /package/dist/{util → esm/util}/node.util.d.ts +0 -0
- /package/dist/{util → esm/util}/theme.util.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
## 0.4.11
|
|
5
|
+
## [0.4.12] - 2025-11-21
|
|
6
|
+
|
|
7
|
+
### Feat
|
|
8
|
+
- **build**: migrate from Babel to Rollup with ESM and CJS support ([`70326a1`](https://github.com/l7aromeo/meonode-ui/commit/70326a107259c095d571b838dda15ffbf845af1d))
|
|
9
|
+
- Replace Babel build system with Rollup configuration to prevent output legacy javascript code
|
|
10
|
+
- Add support for both ESM and CJS output formats
|
|
11
|
+
- Update package.json exports to point to new build outputs
|
|
12
|
+
- Add Rollup plugins for TypeScript, commonjs, minification, and preserve directives
|
|
13
|
+
- Remove Babel-related dependencies and configuration files
|
|
14
|
+
- Update tsconfig.json to use 'preserve' module setting and bundler resolution
|
|
15
|
+
- Configure build to output to separate ESM and CJS directories
|
|
16
|
+
|
|
17
|
+
## [0.4.11] - 2025-11-21
|
|
6
18
|
|
|
7
19
|
### Fix
|
|
8
20
|
- **core**: enhance MeoNodeUnmounter cleanup logic and support additional props cloning ([`02c17f7`](https://github.com/l7aromeo/meonode-ui/commit/02c17f7))
|
|
@@ -44,7 +56,7 @@ All notable changes to this project will be documented in this file.
|
|
|
44
56
|
### Docs
|
|
45
57
|
- **CONTRIBUTING**: improve formatting and readability of contribution guidelines ([`a7462ed`](https://github.com/l7aromeo/meonode-ui/commit/a7462ed))
|
|
46
58
|
|
|
47
|
-
## 0.4.10
|
|
59
|
+
## [0.4.10] - 2025-11-20
|
|
48
60
|
|
|
49
61
|
### Fix
|
|
50
62
|
- **unmounter**: prevent redundant FinalizationRegistry callbacks ([`59f5adf`](https://github.com/l7aromeo/meonode-ui/commit/59f5adf2f553aa49a88d1b44366b004d829ca107))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react-dom/client");exports.render=function(r,t){const n=e.createRoot(t);return n.render(r.render()),n};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../core.node.js");const r=e.createNode("div"),t=r,o=e.createNode("div",{display:"flex",flexDirection:"column",minHeight:"100dvh",minWidth:"100dvw"}),d=e.createNode("div",{display:"flex",flexDirection:"column"}),s=e.createNode("div",{display:"flex",flexDirection:"row"}),a=e.createNode("div",{display:"grid"}),i=e.createNode("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),p=e.createNode("div",{position:"fixed"}),c=e.createNode("div",{position:"relative"}),x=e.createNode("div",{position:"absolute"}),N=e.createNode("div",{position:"sticky"}),l=e.createNode("div",{position:"static"}),n=e.createChildrenFirstNode("h1"),h=e.createChildrenFirstNode("h2"),C=e.createChildrenFirstNode("h3"),u=e.createChildrenFirstNode("h4"),F=e.createChildrenFirstNode("h5"),g=e.createChildrenFirstNode("h6"),m=e.createChildrenFirstNode("strong"),v=e.createChildrenFirstNode("em"),S=e.createChildrenFirstNode("small"),b=e.createChildrenFirstNode("mark"),f=e.createChildrenFirstNode("span"),y=e.createChildrenFirstNode("p"),D=y,T=e.createChildrenFirstNode("pre"),H=e.createChildrenFirstNode("code"),k=e.createNode("br"),A=e.createNode("ol"),B=e.createNode("ul"),P=e.createNode("li"),R=e.createNode("dl"),G=e.createNode("dt"),L=e.createNode("dd"),M=e.createNode("form"),E=e.createNode("label"),I=e.createNode("input"),O=e.createChildrenFirstNode("button"),j=e.createNode("textarea"),q=e.createNode("select"),w=e.createChildrenFirstNode("option"),U=e.createNode("fieldset"),V=e.createChildrenFirstNode("legend"),W=e.createNode("optgroup"),K=e.createNode("table"),Q=e.createNode("thead"),z=e.createNode("tbody"),J=e.createNode("tfoot"),X=e.createNode("tr"),Y=e.createNode("th"),Z=e.createNode("td"),$=e.createChildrenFirstNode("caption"),_=e.createNode("colgroup"),ee=e.createNode("col"),re=e.createNode("img"),te=e.createNode("video"),oe=e.createNode("audio"),de=e.createNode("picture"),se=e.createNode("source"),ae=e.createNode("track"),ie=e.createNode("canvas"),pe=e.createNode("iframe"),ce=e.createNode("svg"),xe=e.createNode("path"),Ne=e.createNode("circle"),le=e.createNode("ellipse"),ne=e.createNode("line"),he=e.createNode("polyline"),Ce=e.createNode("polygon"),ue=e.createNode("rect"),Fe=e.createNode("use"),ge=e.createNode("defs"),me=e.createNode("linearGradient"),ve=e.createNode("radialGradient"),Se=e.createNode("stop"),be=e.createNode("symbol"),fe=e.createNode("g"),ye=e.createNode("text"),De=e.createNode("tspan"),Te=e.createNode("a"),He=e.createNode("nav"),ke=e.createNode("body"),Ae=e.createNode("main",{display:"flex",flexDirection:"column"}),Be=e.createNode("header"),Pe=e.createNode("footer"),Re=e.createNode("aside"),Ge=e.createNode("section"),Le=e.createNode("article"),Me=e.createNode("figure"),Ee=e.createChildrenFirstNode("figcaption"),Ie=e.createNode("blockquote"),Oe=e.createNode("address"),je=e.createNode("dialog"),qe=e.createNode("details"),we=e.createChildrenFirstNode("summary"),Ue=e.createNode("head"),Ve=e.createNode("html"),We=e.createNode("meta"),Ke=e.createNode("link"),Qe=e.createNode("style"),ze=e.createNode("script"),Je=e.createChildrenFirstNode("title"),Xe=e.createNode("base"),Ye=e.createChildrenFirstNode("abbr"),Ze=e.createChildrenFirstNode("b"),$e=e.createChildrenFirstNode("bdi"),_e=e.createChildrenFirstNode("bdo"),er=e.createChildrenFirstNode("cite"),rr=e.createChildrenFirstNode("data"),tr=e.createChildrenFirstNode("dfn"),or=e.createChildrenFirstNode("i"),dr=e.createChildrenFirstNode("kbd"),sr=e.createChildrenFirstNode("q"),ar=e.createChildrenFirstNode("rp"),ir=e.createChildrenFirstNode("rt"),pr=e.createNode("ruby"),cr=e.createChildrenFirstNode("s"),xr=e.createChildrenFirstNode("samp"),Nr=e.createChildrenFirstNode("sub"),lr=e.createChildrenFirstNode("sup"),nr=e.createChildrenFirstNode("time"),hr=e.createChildrenFirstNode("u"),Cr=e.createChildrenFirstNode("var"),ur=e.createNode("wbr"),Fr=e.createNode("hr"),gr=e.createNode("menu"),mr=e.createNode("search"),vr=e.createNode("embed"),Sr=e.createNode("object"),br=e.createNode("param"),fr=e.createNode("map"),yr=e.createNode("area"),Dr=e.createNode("datalist"),Tr=e.createNode("output"),Hr=e.createNode("progress"),kr=e.createNode("meter"),Ar=e.createNode("noscript"),Br=e.createNode("template"),Pr=e.createNode("hgroup");exports.A=Te,exports.Abbr=Ye,exports.Absolute=x,exports.Address=Oe,exports.Area=yr,exports.Article=Le,exports.Aside=Re,exports.Audio=oe,exports.B=Ze,exports.Base=Xe,exports.Bdi=$e,exports.Bdo=_e,exports.Blockquote=Ie,exports.Body=ke,exports.Br=k,exports.Button=O,exports.Canvas=ie,exports.Caption=$,exports.Center=i,exports.Cite=er,exports.Code=H,exports.Col=ee,exports.Colgroup=_,exports.Column=d,exports.Container=t,exports.Data=rr,exports.Datalist=Dr,exports.Dd=L,exports.Details=qe,exports.Dfn=tr,exports.Dialog=je,exports.Div=r,exports.Dl=R,exports.Dt=G,exports.Em=v,exports.Embed=vr,exports.Fieldset=U,exports.Figcaption=Ee,exports.Figure=Me,exports.Fixed=p,exports.Footer=Pe,exports.Form=M,exports.Grid=a,exports.H1=n,exports.H2=h,exports.H3=C,exports.H4=u,exports.H5=F,exports.H6=g,exports.Head=Ue,exports.Header=Be,exports.Hgroup=Pr,exports.Hr=Fr,exports.Html=Ve,exports.I=or,exports.Iframe=pe,exports.Img=re,exports.Input=I,exports.Kbd=dr,exports.Label=E,exports.Legend=V,exports.Li=P,exports.Link=Ke,exports.Main=Ae,exports.MapElement=fr,exports.Mark=b,exports.Menu=gr,exports.Meta=We,exports.Meter=kr,exports.Nav=He,exports.Noscript=Ar,exports.ObjectElement=Sr,exports.Ol=A,exports.Optgroup=W,exports.Option=w,exports.Output=Tr,exports.P=y,exports.Param=br,exports.Picture=de,exports.Pre=T,exports.Progress=Hr,exports.Q=sr,exports.Relative=c,exports.Root=o,exports.Row=s,exports.Rp=ar,exports.Rt=ir,exports.Ruby=pr,exports.S=cr,exports.Samp=xr,exports.Script=ze,exports.Search=mr,exports.Section=Ge,exports.Select=q,exports.Small=S,exports.Source=se,exports.Span=f,exports.Static=l,exports.Sticky=N,exports.Strong=m,exports.Style=Qe,exports.Sub=Nr,exports.Summary=we,exports.Sup=lr,exports.Svg=ce,exports.SvgCircle=Ne,exports.SvgDefs=ge,exports.SvgEllipse=le,exports.SvgG=fe,exports.SvgLine=ne,exports.SvgLinearGradient=me,exports.SvgPath=xe,exports.SvgPolygon=Ce,exports.SvgPolyline=he,exports.SvgRadialGradient=ve,exports.SvgRect=ue,exports.SvgStop=Se,exports.SvgSymbol=be,exports.SvgText=ye,exports.SvgTspan=De,exports.SvgUse=Fe,exports.Table=K,exports.Tbody=z,exports.Td=Z,exports.Template=Br,exports.Text=D,exports.Textarea=j,exports.Tfoot=J,exports.Th=Y,exports.Thead=Q,exports.Time=nr,exports.Title=Je,exports.Tr=X,exports.Track=ae,exports.U=hr,exports.Ul=B,exports.Var=Cr,exports.Video=te,exports.Wbr=ur;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../util/mount-tracker.util.js"),r=require("../core.node.js");exports.default=function({node:n,children:s,...u}){const a=e.useEffectEvent(()=>{n.stableKey&&(r.BaseNode.elementCache.delete(n.stableKey),t.MountTrackerUtil.mountedNodes.has(n.stableKey)&&t.MountTrackerUtil.untrackMount(n.stableKey),r.BaseNode.cacheCleanupRegistry.unregister(n)),n.lastSignature=void 0});return e.useEffect(()=>()=>a(),[]),e.isValidElement(s)?e.cloneElement(s,u):s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),r=require("../core.node.js");const t=r.createNode(e.Fragment),s=r.createNode(e.Activity),c=r.createNode(e.Suspense);exports.Activity=s,exports.Fragment=t,exports.Suspense=c;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("@emotion/react"),t=require("@emotion/cache"),n=require("../core.node.js"),o=require("next/navigation.js");exports.default=function({children:s}){const[i]=e.useState(()=>{const e=t({key:"meonode-css"});return e.compat=!0,e});return o.useServerInsertedHTML(()=>{const r=Object.keys(i.inserted).sort(),t=r.map(e=>i.inserted[e]).join(""),n=r.join(" ");return t?e.createElement("style",{"data-emotion":`${i.key} ${n}`,dangerouslySetInnerHTML:{__html:t}}):null}),n.Node(r.CacheProvider,{value:i,children:s}).render()};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("@emotion/react"),r=require("./theme-provider.client.js"),s=require("../util/theme.util.js");function i({element:i,children:l,...o}){const n=e.useContext(r.ThemeContext),u=n?.theme,{css:c,...h}=o;let m=c,a=h;u&&(m=s.ThemeUtil.resolveObjWithTheme(c,u,{processFunctions:!0}),a=s.ThemeUtil.resolveObjWithTheme(h,u,{processFunctions:!1}));const d=s.ThemeUtil.resolveDefaultStyle(m);return t.jsx(i,{...a,css:d},l)}i.displayName="Styled",exports.default=i;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("../core.node.js");const r=e.createContext(null);exports.ThemeContext=r,exports.default=function({children:o,theme:n}){const[c,d]=e.useState(n);if(!n)throw new Error("`theme` prop must be defined");const s={theme:c,setTheme:e=>{document.cookie=`theme=${e.mode}; path=/;`,d(e)}};return t.Node(r.Provider,{value:s,children:o}).render()};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../core.node.js"),r=require("./theme-provider.client.js");const t=e.createNode(r.default);exports.ThemeProvider=t;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=["html","head","meta","link","script","style","noscript","template","slot","base","param","source","track","wbr","embed","object","iframe","frame","frameset","applet","bgsound","noembed","noframes"],t=new Set(e);exports.__DEBUG__=!1,exports.NO_STYLE_TAGS=e,exports.noStyleTagsSet=t,exports.setDebugMode=function(e){exports.__DEBUG__=e,exports.__DEBUG__&&console.log("[MeoNode] Debug mode enabled.")};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const cssProperties=["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"];export default cssProperties;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("./helper/react-is.helper.js"),r=require("./helper/common.helper.js"),n=require("./components/styled-renderer.client.js"),o=require("./constant/common.const.js"),s=require("./util/mount-tracker.util.js"),a=require("./components/meonode-unmounter.client.js"),l=require("./util/navigation-cache-manager.util.js"),i=require("./util/node.util.js"),c=require("./util/theme.util.js");class d{instanceId=Math.random().toString(36).slice(2)+Date.now().toString(36);element;rawProps={};isBaseNode=!0;_props;_deps;stableKey;lastPropsObj;lastSignature;static elementCache=new Map;static propProcessingCache=new Map;static scheduledCleanup=!1;static _navigationStarted=!1;static renderContextPool=[];static acquireRenderContext(){const e=d.renderContextPool;return e.length>0?e.pop():{workStack:new Array(512),renderedElements:new Map}}static releaseRenderContext(e){d.renderContextPool.length<50&&e.workStack.length<2048&&(e.workStack.length=0,e.renderedElements.clear(),d.renderContextPool.push(e))}constructor(e,n={},o){if(!t.isValidElementType(e)){const t=r.getComponentType(e);throw new Error(`Invalid element type: ${t} provided!`)}this.element=e,this.rawProps=n,this._deps=o;const{ref:s,children:a,...c}=n;this.stableKey=this._getStableKey(c),i.NodeUtil.isServer||d._navigationStarted||(l.NavigationCacheManagerUtil.getInstance().start(),d._navigationStarted=!0)}get props(){return this._props||(this._props=i.NodeUtil.processProps(this.element,this.rawProps,this.stableKey)),this._props}get dependencies(){return this._deps}_getStableKey({key:e,...t}){if(i.NodeUtil.isServer)return;if(this.lastPropsObj===t)return this.lastSignature;this.lastPropsObj=t;const n=Object.keys(t),s=n.length;if(s>100){const e=i.NodeUtil.extractCriticalProps(t,n);this.lastSignature=i.NodeUtil.createPropSignature(this.element,e),o.__DEBUG__&&s>200&&console.warn(`MeoNode: Large props (${s} keys) on "${r.getElementTypeName(this.element)}". Consider splitting.`)}else this.lastSignature=i.NodeUtil.createPropSignature(this.element,t);return null!=e?`${String(e)}:${this.lastSignature}`:this.lastSignature}static cacheCleanupRegistry=new FinalizationRegistry(e=>{const{cacheKey:t,instanceId:r}=e,n=d.elementCache.get(t);n?.instanceId===r&&d.elementCache.delete(t),s.MountTrackerUtil.mountedNodes.has(t)&&s.MountTrackerUtil.untrackMount(t)});static portalCleanupRegistry=new FinalizationRegistry(e=>{const{domElement:t,reactRoot:r}=e;o.__DEBUG__&&console.log("[MeoNode] FinalizationRegistry auto-cleaning portal");try{r&&"function"==typeof r.unmount&&r.unmount()}catch(e){o.__DEBUG__&&console.error("[MeoNode] Portal auto-cleanup unmount error:",e)}try{t?.isConnected&&t.remove()}catch(e){o.__DEBUG__&&console.error("[MeoNode] Portal auto-cleanup DOM removal error:",e)}});render(o=!1){!i.NodeUtil.isServer&&this.stableKey&&s.MountTrackerUtil.trackMount(this.stableKey);const l=i.NodeUtil.isServer||!this.stableKey?void 0:d.elementCache.get(this.stableKey),c=i.NodeUtil.shouldNodeUpdate(l?.prevDeps,this._deps,o);if(!c&&l?.renderedElement)return l.accessCount+=1,l.renderedElement;const u=!c,h=d.acquireRenderContext();let{workStack:p}=h;const{renderedElements:m}=h;let g=0;try{const o=e=>{if(e>p.length){const t=Math.max(e,p.length<<1),r=new Array(t);for(let e=0;e<g;e++)r[e]=p[e];p=r}};for(p[g++]={node:this,isProcessed:!1,blocked:u};g>0;){const s=p[g-1];if(!s){g--;continue}const{node:a,isProcessed:l,blocked:c}=s;if(l){g--;const{children:o,key:s,css:l,nativeProps:c,disableEmotion:u,...h}=a.props;let p=[];if(o){const t=Array.isArray(o)?o:[o],r=t.length;p=new Array(r);for(let n=0;n<r;n++){const r=t[n];if(i.NodeUtil.isNodeInstance(r)){const e=m.get(r);if(!e)throw new Error(`[MeoNode] Missing rendered element for child node: ${r.stableKey}`);p[n]=e}else e.isValidElement(r),p[n]=r}}const _={...h,key:s,...c};let y;if(a.element===e.Fragment||t.isFragment(a.element))y=e.createElement(a.element,{key:s},...p);else{y=!u&&(l||!r.hasNoStyleTag(a.element))?e.createElement(n.default,{element:a.element,..._,css:l,suppressHydrationWarning:!0},...p):e.createElement(a.element,_,...p)}if(!i.NodeUtil.isServer&&a.stableKey){const e=d.elementCache.get(a.stableKey);if(e)e.prevDeps=a._deps,e.renderedElement=y,e.accessCount+=1;else{const e={prevDeps:a._deps,renderedElement:y,nodeRef:new WeakRef(a),createdAt:Date.now(),accessCount:1,instanceId:a.instanceId};d.elementCache.set(a.stableKey,e),d.cacheCleanupRegistry.register(a,{cacheKey:a.stableKey,instanceId:a.instanceId},a)}}m.set(a,y)}else{s.isProcessed=!0;const e=a.props.children;if(e){const t=(Array.isArray(e)?e:[e]).filter(i.NodeUtil.isNodeInstance);o(g+t.length);for(let e=t.length-1;e>=0;e--){const r=t[e],n=i.NodeUtil.isServer||!r.stableKey?void 0:d.elementCache.get(r.stableKey),o=i.NodeUtil.shouldNodeUpdate(n?.prevDeps,r._deps,c);if(!o&&n?.renderedElement){m.set(r,n.renderedElement);continue}const s=c||!o;p[g++]={node:r,isProcessed:!1,blocked:s}}}}}const s=m.get(this);return!i.NodeUtil.isServer&&this.stableKey?e.createElement(a.default,{node:this},s):s}finally{for(let e=0;e<g;e++)p[e]=null;d.releaseRenderContext({workStack:p,renderedElements:m})}}toPortal(){if(!i.NodeUtil.ensurePortalInfrastructure(this))throw new Error("toPortal() can only be called in a client-side environment");const e=i.NodeUtil.portalInfrastructure.get(this),{domElement:t,reactRoot:r}=e;(()=>{try{r.render(this.render())}catch(e){o.__DEBUG__&&console.error("[MeoNode] Portal render error:",e)}})();let n=!1;const s=r.unmount.bind(r);return r.update=e=>{if(n)o.__DEBUG__&&console.warn("[MeoNode] Attempt to update already-unmounted portal");else try{const t=i.NodeUtil.isNodeInstance(e)?e.render():e;r.render(t)}catch(e){o.__DEBUG__&&console.error("[MeoNode] Portal update error:",e)}},r.unmount=()=>{if(n)o.__DEBUG__&&console.warn("[MeoNode] Portal already unmounted");else{n=!0;try{d.portalCleanupRegistry.unregister(this)}catch(e){o.__DEBUG__&&console.warn("[MeoNode] Portal unregister warning:",e)}i.NodeUtil.portalInfrastructure.delete(this);try{t?.isConnected&&s()}catch(e){o.__DEBUG__&&console.error("[MeoNode] Portal unmount error:",e)}try{t?.isConnected&&t.remove()}catch(e){o.__DEBUG__&&console.error("[MeoNode] Portal DOM cleanup error:",e)}}},r}static clearCaches(){const e=Array.from(d.elementCache.keys());o.__DEBUG__&&console.log(`[MeoNode] clearCaches: Clearing ${e.length} entries`);for(const t of e){const e=d.elementCache.get(t);if(e){const r=e.nodeRef?.deref();if(r)try{d.cacheCleanupRegistry.unregister(r),r.lastSignature=void 0,r.lastPropsObj=void 0}catch{o.__DEBUG__&&console.warn(`[MeoNode] Could not unregister ${t} from FinalizationRegistry`)}}}d.propProcessingCache.clear(),d.elementCache.clear(),c.ThemeUtil.clearThemeCache(),s.MountTrackerUtil.cleanup(),o.__DEBUG__&&console.log("[MeoNode] All caches cleared")}}function u(e,t={},r){return new d(e,t,r)}u.clearCaches=d.clearCaches,exports.BaseNode=d,exports.Node=u,exports.createChildrenFirstNode=function(e,t){const r=(r,n,o)=>u(e,{...t,...n,children:r},o);return r.element=e,r},exports.createNode=function(e,t){const r=(r,n)=>u(e,{...t,...r},n);return r.element=e,r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./react-is.helper.js"),t=require("../constant/css-properties.const.js"),r=require("../constant/common.const.js");const n=t=>e.isForwardRef(t)?"forwardRef":e.isMemo(t)?"memo":e.isFragment(t)?"fragment":e.isPortal(t)?"portal":e.isProfiler(t)?"profiler":e.isStrictMode(t)?"strict-mode":e.isSuspense(t)?"suspense":e.isSuspenseList(t)?"suspense-list":e.isContextConsumer(t)?"context-consumer":e.isContextProvider(t)?"context-provider":e.isLazy(t)?"lazy":e.isElement(t)?"element":e.isReactClassComponent(t)?"class":typeof t;const o=new Set(t.default);exports.CSSPropertySet=o,exports.getCSSProps=function(e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.has(r)&&(t[r]=e[r]);return t},exports.getComponentType=n,exports.getDOMProps=function(e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&!o.has(r)&&(t[r]=e[r]);return t},exports.getElementTypeName=function e(t){function r(e,t){const r=e?.displayName||e?.name;return r&&"render"!==r?r:t}if(null==t)return"UnknownElementType";const o=t,s=n(o);switch(s){case"string":return t;case"class":return r(o,"ClassComponent");case"function":return r(o,"AnonymousFunctionComponent");case"forwardRef":return r(o,"")||r(o.render,"")||"ForwardRefComponent";case"memo":return r(o,"")||(o.type?e(o.type):"MemoComponent");case"element":return e(o.type);case"fragment":return"Fragment";case"portal":return"Portal";case"profiler":return r(o,"Profiler");case"strict-mode":return"StrictMode";case"suspense":return r(o,"Suspense");case"suspense-list":return"SuspenseList";case"context-consumer":return o._context?.displayName?`${o._context.displayName}.Consumer`:"ContextConsumer";case"context-provider":return o._context?.displayName?`${o._context.displayName}.Provider`:"ContextProvider";case"lazy":return r(o,"LazyComponent");case"object":return r(o,"")?r(o,""):"function"==typeof o.render?r(o.render,"ObjectWithRender"):o.type&&o.type!==t?`Wrapped<${e(o.type)}>`:r(o,"ObjectComponent");case"symbol":return"symbol"==typeof t?t.description?.replace(/^react\./,"").split(".").map(e=>e[0]?.toUpperCase()+e.slice(1)).join("")||t.toString():"SymbolComponent";case"unknown":return"UnknownElementType";default:return`UnsupportedType<${s}>`}},exports.getValueByPath=(e,t)=>t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e),exports.hasNoStyleTag=function(e){return!(!e||"string"!=typeof e)&&r.noStyleTagsSet.has(e.toLowerCase())},exports.omitUndefined=function(e){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&(t[r]=e[r]);return t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.ObjHelper=class{constructor(){}static buildSerializable(e,t){if(null==e)return e;const i=typeof e;if("string"===i||"number"===i||"boolean"===i)return e;if("function"===i){let i=t.functionIds.get(e);return void 0===i&&(i=t.nextFunctionId++,t.functionIds.set(e,i)),{$type:"Function",name:e.name||"",id:i}}if("symbol"===i)return{$type:"Symbol",key:e.description??""};if("bigint"===i)return{$type:"BigInt",value:e.toString()};if("object"!==i)try{return String(e)}catch{return"<unserializable>"}if(e instanceof Date)return{$type:"Date",value:e.toISOString()};if(e instanceof RegExp)return{$type:"RegExp",source:e.source,flags:e.flags};const n=t.seen.get(e);if(void 0!==n)return{$type:"Circular",ref:n};const r=t.nextObjId++;if(t.seen.set(e,r),e instanceof Map){const i=[];for(const[n,r]of e.entries())i.push([this.buildSerializable(n,t),this.buildSerializable(r,t)]);return{$type:"Map",entries:i}}if(e instanceof Set){const i=[];for(const n of e.values())i.push(this.buildSerializable(n,t));return{$type:"Set",values:i}}if(Array.isArray(e))return e.map(e=>this.buildSerializable(e,t));try{const i=Object.keys(e),n={};for(const r of i)try{n[r]=this.buildSerializable(e[r],t)}catch{n[r]="<unserializable>"}return n}catch{return"<unserializable>"}}static stringify(e,t=0){const i={nextObjId:0,nextFunctionId:0,seen:new Map,functionIds:new Map},n=this.buildSerializable(e,i);return JSON.stringify(n,null,t)}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";require("react");const e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),p=Symbol.for("react.consumer"),n=Symbol.for("react.context"),E=Symbol.for("react.forward_ref"),a=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),_=Symbol.for("react.view_transition"),l=Symbol.for("react.client.reference"),y=Symbol.for("react.activity");function x(l){if("object"==typeof l&&null!==l){const y=l.$$typeof;switch(y){case e:{const e=l.type;switch(e){case r:case s:case o:case a:case i:case _:return e;default:{const t=e?.$$typeof;switch(t){case n:case E:case T:case f:case c:case p:return t;default:return y}}}}case t:return y}}}const R=new Set([r,s,o,a,i,_,y]);exports.REACT_ACTIVITY_TYPE=y,exports.REACT_CLIENT_REFERENCE=l,exports.REACT_CONSUMER_TYPE=p,exports.REACT_CONTEXT_TYPE=n,exports.REACT_ELEMENT_TYPE=e,exports.REACT_FORWARD_REF_TYPE=E,exports.REACT_FRAGMENT_TYPE=r,exports.REACT_LAZY_TYPE=T,exports.REACT_MEMO_TYPE=f,exports.REACT_PORTAL_TYPE=t,exports.REACT_PROFILER_TYPE=s,exports.REACT_PROVIDER_TYPE=c,exports.REACT_STRICT_MODE_TYPE=o,exports.REACT_SUSPENSE_LIST_TYPE=i,exports.REACT_SUSPENSE_TYPE=a,exports.REACT_VIEW_TRANSITION_TYPE=_,exports.isContextConsumer=e=>x(e)===p,exports.isContextProvider=e=>x(e)===c,exports.isElement=t=>"object"==typeof t&&null!==t&&t.$$typeof===e,exports.isForwardRef=e=>x(e)===E,exports.isFragment=e=>x(e)===r,exports.isLazy=e=>x(e)===T,exports.isMemo=e=>x(e)===f,exports.isPortal=e=>x(e)===t,exports.isProfiler=e=>x(e)===s,exports.isReactClassComponent=e=>{if("function"!=typeof e)return!1;const t=e.prototype;return!(!t||!t.isReactComponent)},exports.isStrictMode=e=>x(e)===o,exports.isSuspense=e=>x(e)===a,exports.isSuspenseList=e=>x(e)===i,exports.isValidElementType=e=>{if("string"==typeof e||"number"==typeof e||"bigint"==typeof e||"function"==typeof e)return!0;if(R.has(e))return!0;if("object"==typeof e&&null!==e){const t=e.$$typeof;return t===T||t===f||t===n||t===p||t===E||t===l||t===c}return!1},exports.typeOf=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../core.node.js");require("react");var r=require("../helper/common.helper.js"),n=require("../util/node.util.js");exports.Component=function(o){const t=r.getElementTypeName(o),s=r=>{const t=o(r);return t instanceof e.BaseNode||n.NodeUtil.isNodeInstance(t)?e.Node(t.element,t.rawProps).render():t};function i(r={},n){return e.Node(s,r,n).render()}return s.displayName=`Renderer(${t})`,i.displayName=`Component(${t})`,i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../core.node.js");exports.Portal=function(n,o){let r,t,a={unmount:()=>{console.warn("Portal instance not yet created. Cannot unmount.")},update:e=>{console.warn("Portal instance not yet created. Cannot update.",e)}};if("function"==typeof o&&n instanceof e.BaseNode)r=[n],t=o;else{if("function"!=typeof n||void 0!==o)throw new Error("Invalid arguments for Portal HOC. Use Portal(component) or Portal(providerNodeInstance, component).");t=n}const s=(n={})=>{const o=t({...n,portal:a});return o instanceof e.BaseNode?o.render():o};return function(n={}){let o;const t=[];n.provider&&t.push(n.provider);const i=[...r??[],...t],{provider:c,...d}=n,l=e.Node(s,d);function u(n,o){const r=n.rawProps?.children;if(!(r&&r instanceof e.BaseNode))return e.Node(n.element,{...n.rawProps,children:o});const t=u(r,o);return e.Node(n.element,{...n.rawProps,children:t})}return o=i.length>0?i.reduceRight((n,o)=>{if(!(o instanceof e.BaseNode))return console.warn("Portal: Item in provider is not a valid NodeInstance. Skipping.",o),n;return o.rawProps?.children instanceof e.BaseNode?u(o,n):e.Node(o.element,{...o.rawProps,children:n})},l):l,a=o.toPortal(),a}};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var r=require("react"),e=require("../core.node.js");exports.usePortal=function(t=[]){const o=r.useRef({}),n=r.useCallback(r=>(o.current.component=r,new Proxy(r,{apply:(r,e,[t])=>(o.current.props=t,r.call(e,t))})),[]);return r.useEffect(()=>{const{portal:r,component:t,props:n}=o.current;r&&t&&r.update(e.Node(t,n))},t),r.useEffect(()=>()=>{o.current.portal?.unmount(),o.current.portal=void 0,o.current.component=void 0,o.current.props=void 0},[]),{portal:o.current.portal,setPortal:r=>o.current.portal=r,createComponent:n}};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var e=require("react"),t=require("../components/theme-provider.client.js");exports.useTheme=()=>{const s=e.useContext(t.ThemeContext);if(!s)throw new Error("useTheme must be used within a ThemeProvider");const{theme:m}=s;return e.useEffect(()=>{const e=localStorage.getItem("theme");e&&e===m.mode||localStorage.setItem("theme",m.mode);const t=document.documentElement;"dark"===m.mode?(t.setAttribute("data-theme","dark"),t.classList.add("dark-theme"),t.classList.remove("light-theme")):(t.setAttribute("data-theme","light"),t.classList.add("light-theme"),t.classList.remove("dark-theme"))},[m.mode,m.system]),s};
|
package/dist/cjs/main.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("./constant/common.const.js"),t=require("./core.node.js"),r=require("./hoc/portal.hoc.js"),o=require("./hoc/component.hoc.js");require("react");var s=require("./components/react.node.js"),p=require("./components/html.node.js"),x=require("./components/theme-provider.js"),a=require("./hook/usePortal.js"),i=require("./hook/useTheme.js");exports.setDebugMode=e.setDebugMode,exports.Node=t.Node,exports.createChildrenFirstNode=t.createChildrenFirstNode,exports.createNode=t.createNode,exports.Portal=r.Portal,exports.Component=o.Component,exports.Activity=s.Activity,exports.Fragment=s.Fragment,exports.Suspense=s.Suspense,exports.A=p.A,exports.Abbr=p.Abbr,exports.Absolute=p.Absolute,exports.Address=p.Address,exports.Area=p.Area,exports.Article=p.Article,exports.Aside=p.Aside,exports.Audio=p.Audio,exports.B=p.B,exports.Base=p.Base,exports.Bdi=p.Bdi,exports.Bdo=p.Bdo,exports.Blockquote=p.Blockquote,exports.Body=p.Body,exports.Br=p.Br,exports.Button=p.Button,exports.Canvas=p.Canvas,exports.Caption=p.Caption,exports.Center=p.Center,exports.Cite=p.Cite,exports.Code=p.Code,exports.Col=p.Col,exports.Colgroup=p.Colgroup,exports.Column=p.Column,exports.Container=p.Container,exports.Data=p.Data,exports.Datalist=p.Datalist,exports.Dd=p.Dd,exports.Details=p.Details,exports.Dfn=p.Dfn,exports.Dialog=p.Dialog,exports.Div=p.Div,exports.Dl=p.Dl,exports.Dt=p.Dt,exports.Em=p.Em,exports.Embed=p.Embed,exports.Fieldset=p.Fieldset,exports.Figcaption=p.Figcaption,exports.Figure=p.Figure,exports.Fixed=p.Fixed,exports.Footer=p.Footer,exports.Form=p.Form,exports.Grid=p.Grid,exports.H1=p.H1,exports.H2=p.H2,exports.H3=p.H3,exports.H4=p.H4,exports.H5=p.H5,exports.H6=p.H6,exports.Head=p.Head,exports.Header=p.Header,exports.Hgroup=p.Hgroup,exports.Hr=p.Hr,exports.Html=p.Html,exports.I=p.I,exports.Iframe=p.Iframe,exports.Img=p.Img,exports.Input=p.Input,exports.Kbd=p.Kbd,exports.Label=p.Label,exports.Legend=p.Legend,exports.Li=p.Li,exports.Link=p.Link,exports.Main=p.Main,exports.MapElement=p.MapElement,exports.Mark=p.Mark,exports.Menu=p.Menu,exports.Meta=p.Meta,exports.Meter=p.Meter,exports.Nav=p.Nav,exports.Noscript=p.Noscript,exports.ObjectElement=p.ObjectElement,exports.Ol=p.Ol,exports.Optgroup=p.Optgroup,exports.Option=p.Option,exports.Output=p.Output,exports.P=p.P,exports.Param=p.Param,exports.Picture=p.Picture,exports.Pre=p.Pre,exports.Progress=p.Progress,exports.Q=p.Q,exports.Relative=p.Relative,exports.Root=p.Root,exports.Row=p.Row,exports.Rp=p.Rp,exports.Rt=p.Rt,exports.Ruby=p.Ruby,exports.S=p.S,exports.Samp=p.Samp,exports.Script=p.Script,exports.Search=p.Search,exports.Section=p.Section,exports.Select=p.Select,exports.Small=p.Small,exports.Source=p.Source,exports.Span=p.Span,exports.Static=p.Static,exports.Sticky=p.Sticky,exports.Strong=p.Strong,exports.Style=p.Style,exports.Sub=p.Sub,exports.Summary=p.Summary,exports.Sup=p.Sup,exports.Svg=p.Svg,exports.SvgCircle=p.SvgCircle,exports.SvgDefs=p.SvgDefs,exports.SvgEllipse=p.SvgEllipse,exports.SvgG=p.SvgG,exports.SvgLine=p.SvgLine,exports.SvgLinearGradient=p.SvgLinearGradient,exports.SvgPath=p.SvgPath,exports.SvgPolygon=p.SvgPolygon,exports.SvgPolyline=p.SvgPolyline,exports.SvgRadialGradient=p.SvgRadialGradient,exports.SvgRect=p.SvgRect,exports.SvgStop=p.SvgStop,exports.SvgSymbol=p.SvgSymbol,exports.SvgText=p.SvgText,exports.SvgTspan=p.SvgTspan,exports.SvgUse=p.SvgUse,exports.Table=p.Table,exports.Tbody=p.Tbody,exports.Td=p.Td,exports.Template=p.Template,exports.Text=p.Text,exports.Textarea=p.Textarea,exports.Tfoot=p.Tfoot,exports.Th=p.Th,exports.Thead=p.Thead,exports.Time=p.Time,exports.Title=p.Title,exports.Tr=p.Tr,exports.Track=p.Track,exports.U=p.U,exports.Ul=p.Ul,exports.Var=p.Var,exports.Video=p.Video,exports.Wbr=p.Wbr,exports.ThemeProvider=x.ThemeProvider,exports.usePortal=a.usePortal,exports.useTheme=i.useTheme;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../components/registry.client.js");const r=require("../core.node.js").createNode(e.default);exports.StyleRegistry=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var t=require("../constant/common.const.js");class n{constructor(){}static mountedNodes=new Set;static _unmountCallCount=new Map;static trackMount(n){this.mountedNodes.add(n),t.__DEBUG__&&this._unmountCallCount.delete(n)}static untrackMount(n){const o=this.mountedNodes.delete(n);if(t.__DEBUG__&&!o){const t=(this._unmountCallCount.get(n)||0)+1;this._unmountCallCount.set(n,t),t>1&&console.warn(`[MeoNode] untrackMount called ${t} times for an already unmounted node: ${n}. This could indicate a memory leak or a bug in a component's lifecycle.`)}return o}static cleanup(){this.mountedNodes.clear(),t.__DEBUG__&&this._unmountCallCount.clear()}}exports.MountTrackerUtil=n;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../constant/common.const.js"),t=require("../core.node.js"),i=require("./mount-tracker.util.js");class a{constructor(){}static _instance=null;static _originalPushState=null;static _originalReplaceState=null;static _isPatched=!1;_isListening=!1;_cleanupTimeout=null;static getInstance(){return this._instance||(this._instance=new a),this._instance}start(){this._isListening||"undefined"==typeof window||(this._isListening=!0,window.addEventListener("popstate",this._handleNavigation),this._patchHistoryMethods(),this._setupAutoCleanup(),e.__DEBUG__&&console.log("[MeoNode] NavigationCacheManagerUtil started"))}_stop(){this._isListening&&"undefined"!=typeof window&&(window.removeEventListener("popstate",this._handleNavigation),this._cleanupTimeout&&(clearTimeout(this._cleanupTimeout),this._cleanupTimeout=null),this._isListening=!1,e.__DEBUG__&&console.log("[MeoNode] NavigationCacheManagerUtil stopped"))}_handleNavigation=()=>{this._cleanupTimeout&&clearTimeout(this._cleanupTimeout);const a=t.BaseNode.elementCache.size,s=a<100?50:a<500?100:200;this._cleanupTimeout=setTimeout(()=>{const a=t.BaseNode.propProcessingCache.size;let s=0;t.BaseNode.elementCache.keys().forEach(e=>{i.MountTrackerUtil.mountedNodes.has(e)||(t.BaseNode.elementCache.delete(e),s++)}),a>200&&t.BaseNode.propProcessingCache.clear(),e.__DEBUG__&&console.log(`[MeoNode] Navigation: cleared ${s} unmounted elements, ${a} props entries`)},s)};_patchHistoryMethods(){a._isPatched||(a._originalPushState=history.pushState,a._originalReplaceState=history.replaceState,history.pushState=(...e)=>{a._originalPushState.apply(history,e),this._handleNavigation()},history.replaceState=(...e)=>{a._originalReplaceState.apply(history,e),this._handleNavigation()},a._isPatched=!0)}_setupAutoCleanup(){window.__MEONODE_CLEANUP_REGISTERED||(window.addEventListener("beforeunload",()=>{this._stop(),t.BaseNode.clearCaches()}),window.__MEONODE_CLEANUP_REGISTERED=!0)}}exports.NavigationCacheManagerUtil=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("react"),t=require("../helper/react-is.helper.js"),o=require("../helper/common.helper.js"),r=require("../constant/common.const.js"),s=require("../core.node.js"),n=require("react-dom/client");class i{constructor(){}static isServer="undefined"==typeof window;static _functionSignatureCache=new WeakMap;static CACHE_SIZE_LIMIT=500;static CACHE_CLEANUP_BATCH=50;static _cssCache=new WeakMap;static CRITICAL_PROPS=new Set(["css","className","disableEmotion","props"]);static portalInfrastructure=new WeakMap;static isNodeInstance=e=>"object"==typeof e&&null!==e&&"element"in e&&"function"==typeof e.render&&"function"==typeof e.toPortal&&"isBaseNode"in e;static isStyleProp=i.isServer||"undefined"==typeof document?()=>!1:e=>e in document.body.style;static hashString(e){let t=2166136261,o=5381;for(let r=0;r<e.length;r++){const s=e.charCodeAt(r);t^=s,t=Math.imul(t,16777619),o=33*o^s}return`${(t>>>0).toString(36)}_${(o>>>0).toString(36)}`}static hashCSS(e){const t=this._cssCache.get(e);if(t)return t;const o=Object.keys(e);let r=o.length;for(let t=0;t<Math.min(o.length,10);t++){const s=o[t],n=e[s];r=(r<<5)-r+s.charCodeAt(0),r&=r,"string"==typeof n&&(r=(r<<5)-r+n.length)}const s=r.toString(36);return this._cssCache.set(e,s),s}static createPropSignature(e,t){if(i.isServer)return;const r=o.getElementTypeName(e),s=Object.keys(t);s.length>1&&s.sort();const n=[`${r}:`];if("function"==typeof e){let t=i._functionSignatureCache.get(e);t||(t=i.hashString(e.toString()),i._functionSignatureCache.set(e,t)),n.push(t)}for(const e of s){const o=t[e];let r;const s=typeof o;if("string"===s||"number"===s||"boolean"===s)r=`${e}:${o};`;else if(null===o)r=`${e}:null;`;else if(void 0===o)r=`${e}:undefined;`;else if("css"===e&&"object"==typeof o)r=`css:${this.hashCSS(o)};`;else if(Array.isArray(o)){const t=o.filter(e=>{const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===e});r=t.length===o.length?`${e}:[${t.join(",")}];`:`${e}:[${o.length}];`}else if(o&&o.isBaseNode)r=`${e}:${o.stableKey};`;else{r=`${e}:{${Object.keys(o).sort().join(",")}};`}n.push(r)}return i.hashString(n.join(","))}static extractCriticalProps(e,t){const o={_keyCount:t.length};let r=0;for(const s of t){if(r>=50)break;if(i.CRITICAL_PROPS.has(s)){o[s]=e[s],r++;continue}const n=s.charCodeAt(0);111!==n||110!==s.charCodeAt(1)?!(97===n&&114===s.charCodeAt(1)&&105===s.charCodeAt(2)&&97===s.charCodeAt(3)||100===n&&97===s.charCodeAt(1)&&116===s.charCodeAt(2)&&97===s.charCodeAt(3))?t.length<=100&&i.isStyleProp(s)&&(o[s]=e[s],r++):(o[s]=e[s],r++):(o[s]=e[s],r++)}return o}static getCachedCssProps(e,t){if(i.isServer||!t)return{cssProps:o.getCSSProps(e)};const r=s.BaseNode.propProcessingCache.get(t);if(r)return r.lastAccess=Date.now(),r.hitCount++,{cssProps:r.cssProps};const n=o.getCSSProps(e);return s.BaseNode.propProcessingCache.set(t,{cssProps:n,signature:t,lastAccess:Date.now(),hitCount:1}),s.BaseNode.propProcessingCache.size>i.CACHE_SIZE_LIMIT&&!s.BaseNode.scheduledCleanup&&(s.BaseNode.scheduledCleanup=!0,"undefined"!=typeof requestIdleCallback?requestIdleCallback(()=>{i._evictLRUEntries(),s.BaseNode.scheduledCleanup=!1},{timeout:2e3}):setTimeout(()=>{i._evictLRUEntries(),s.BaseNode.scheduledCleanup=!1},100)),{cssProps:n}}static _evictLRUEntries(){const e=Date.now(),t=new a((e,t)=>t.score-e.score);for(const[o,r]of s.BaseNode.propProcessingCache.entries()){const s=this._calculateEvictionScore(r,e);t.push({key:o,score:s})}for(let e=0;e<i.CACHE_CLEANUP_BATCH;e++){const e=t.pop();if(!e)break;s.BaseNode.propProcessingCache.delete(e.key)}}static _calculateEvictionScore(e,t){return(t-e.lastAccess)/1e3*.3+1e3/(e.hitCount+1)*.7}static processProps(e,t={},r){const{ref:s,key:n,children:a,css:c,props:d={},disableEmotion:l,...p}=t;if(0===Object.keys(p).length&&!c)return o.omitUndefined({ref:s,key:n,disableEmotion:l,nativeProps:o.omitUndefined(d),children:i._processChildren(a,l)});const u={},h={},f=Object.keys(p);for(let e=0;e<f.length;e++){const t=f[e],o=p[t],r=typeof o;"string"===r||"number"===r||"boolean"===r?u[t]=o:h[t]=o}const m=i.createPropSignature(e,u),{cssProps:C}=i.getCachedCssProps(u,m),y=o.getCSSProps(h),b=o.getDOMProps(p),E={...C,...y,...c},g=i._processChildren(a,l,r);return o.omitUndefined({ref:s,key:n,css:E,...b,disableEmotion:l,nativeProps:o.omitUndefined(d),children:g})}static _processChildren(e,t,o){if(e)return"function"==typeof e?e:Array.isArray(e)?1===e.length?i.processRawNode(e[0],t,`${o}_0`):e.map((e,r)=>i.processRawNode(e,t,`${o}_${r}`)):i.processRawNode(e,t,o)}static shouldNodeUpdate(e,t,o){return!!i.isServer||!o&&(void 0===t||(void 0===e||(t.length!==e.length||!!t.some((t,o)=>!Object.is(t,e[o])))))}static processRawNode(o,r,n){if(null==o||"string"==typeof o||"number"==typeof o||"boolean"==typeof o)return o;if(i.isNodeInstance(o)){if(n||r&&!o.rawProps.disableEmotion){const e=new s.BaseNode(o.element,o.rawProps,o.dependencies);return e.stableKey=`${n}:${e.stableKey}`,r&&!e.rawProps.disableEmotion&&(e.rawProps.disableEmotion=!0),e}return o}if(i.isFunctionChild(o))return new s.BaseNode(i.functionRenderer,{props:{render:o,disableEmotion:r}},void 0);if(e.isValidElement(o)){const{style:e,...t}=o.props,n={...t,...e||{}};return new s.BaseNode(o.type,{...n,...null!==o.key&&void 0!==o.key?{key:o.key}:{},disableEmotion:r},void 0)}return t.isReactClassComponent(o)||t.isMemo(o)||t.isForwardRef(o)?new s.BaseNode(o,{disableEmotion:r},void 0):o instanceof e.Component?i.processRawNode(o.render(),r,n):o}static isFunctionChild(e){if("function"!=typeof e||t.isReactClassComponent(e)||t.isMemo(e)||t.isForwardRef(e))return!1;try{return!(e.prototype&&"function"==typeof e.prototype.render)}catch(e){return r.__DEBUG__&&console.error("MeoNode: Error checking if a node is a function child.",e),!0}}static functionRenderer({render:t,disableEmotion:n}){let a;try{a=t()}catch(e){r.__DEBUG__&&console.error("MeoNode: Error executing function-as-a-child.",e),a=null}if(null==a)return a;if(i.isNodeInstance(a))return n&&!a.rawProps.disableEmotion?new s.BaseNode(a.element,{...a.rawProps,disableEmotion:!0}).render():a.render();if(Array.isArray(a)){const e=(e,t)=>{try{return`${o.getElementTypeName(e)}-${t}`}catch(e){return r.__DEBUG__&&console.error("MeoNode: Could not determine element type name for key in function-as-a-child.",e),`item-${t}`}};return a.map((t,o)=>i.renderProcessedNode({processedElement:i.processRawNode(t,n),passedKey:e(t,o),disableEmotion:n}))}if(a instanceof e.Component)return i.renderProcessedNode({processedElement:i.processRawNode(a.render(),n),disableEmotion:n});if("string"==typeof a||"number"==typeof a||"boolean"==typeof a)return a;const c=i.processRawNode(a,n);return c?i.renderProcessedNode({processedElement:c,disableEmotion:n}):a}static renderProcessedNode({processedElement:o,passedKey:r,disableEmotion:n}){const a={};if(void 0!==r&&(a.key=r),i.isNodeInstance(o)){const e=o.rawProps?.key;return o.rawProps.disableEmotion=n,e===r?o.render():new s.BaseNode(o.element,{...o.rawProps,...a}).render()}return t.isReactClassComponent(o)?new s.BaseNode(o,{...a,disableEmotion:n}).render():o instanceof e.Component?o.render():"function"==typeof o?e.createElement(o,{key:r}):o}static ensurePortalInfrastructure(e){if(i.isServer)return!1;let t=i.portalInfrastructure.get(e);if(t?.domElement?.isConnected&&t?.reactRoot)return!0;if(t&&(!t.domElement?.isConnected||!t.reactRoot)){try{t.reactRoot?.unmount?.()}catch(e){r.__DEBUG__&&console.error("MeoNode: Error unmounting stale portal root.",e)}i.cleanupPortalInfra(t),i.portalInfrastructure.delete(e),t=void 0}const o=document.createElement("div");document.body.appendChild(o);const a=n.createRoot(o),c={render:a.render.bind(a),unmount:a.unmount.bind(a),update:()=>{}};return t={domElement:o,reactRoot:c},i.portalInfrastructure.set(e,t),s.BaseNode.portalCleanupRegistry.register(e,{domElement:o,reactRoot:c},e),!0}static cleanupPortalInfra(e){try{e.reactRoot?.unmount&&e.reactRoot.unmount()}catch(e){r.__DEBUG__&&console.error("Portal cleanup error:",e)}try{e.domElement?.isConnected&&e.domElement.remove()}catch(e){r.__DEBUG__&&console.error("DOM removal error:",e)}}}class a{heap=[];comparator;constructor(e){this.comparator=e}size(){return this.heap.length}isEmpty(){return 0===this.size()}push(e){this.heap.push(e),this.bubbleUp()}pop(){if(this.isEmpty())return;this.swap(0,this.size()-1);const e=this.heap.pop();return this.bubbleDown(),e}bubbleUp(e=this.size()-1){for(;e>0;){const t=Math.floor((e-1)/2);if(this.comparator(this.heap[t],this.heap[e])<=0)break;this.swap(t,e),e=t}}bubbleDown(e=0){const t=this.size()-1;for(;;){const o=2*e+1,r=2*e+2;let s=e;if(o<=t&&this.comparator(this.heap[o],this.heap[s])<0&&(s=o),r<=t&&this.comparator(this.heap[r],this.heap[s])<0&&(s=r),s===e)break;this.swap(e,s),e=s}}swap(e,t){[this.heap[e],this.heap[t]]=[this.heap[t],this.heap[e]]}}exports.NodeUtil=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var e=require("../helper/obj.helper.js"),t=require("../helper/common.helper.js");class s{static _instance=null;CACHE_SIZE_LIMIT=500;CACHE_EVICTION_BATCH_SIZE=50;_resolutionCache=new Map;_pathLookupCache=new Map;_themeRegex=/theme\.([a-zA-Z0-9_.-]+)/g;static getInstance(){return s._instance||(s._instance=new s),s._instance}getResolution(e,t){const s=this._generateCacheKey(e,t),r=this._resolutionCache.get(s);return r&&(this._resolutionCache.delete(s),this._resolutionCache.set(s,r)),r||null}setResolution(e,t,s){const r=this._generateCacheKey(e,t);this._resolutionCache.set(r,s),this._resolutionCache.size>this.CACHE_SIZE_LIMIT&&this._evict(this._resolutionCache)}getPathLookup(t,s){const r=`${e.ObjHelper.stringify(t)}_${s}`,n=this._pathLookupCache.get(r);return n&&(this._pathLookupCache.delete(r),this._pathLookupCache.set(r,n)),n??null}setPathLookup(t,s,r){const n=`${e.ObjHelper.stringify(t)}_${s}`;this._pathLookupCache.set(n,r),this._pathLookupCache.size>this.CACHE_SIZE_LIMIT&&this._evict(this._pathLookupCache)}getThemeRegex(){return this._themeRegex.lastIndex=0,this._themeRegex}shouldCache(){return"undefined"==typeof window}clear(){this._resolutionCache.clear(),this._pathLookupCache.clear()}_generateCacheKey(t,s){return`${e.ObjHelper.stringify(t)}_${s.mode}_${e.ObjHelper.stringify(s.system)}`}_evict(e){const t=e.keys();for(let s=0;s<this.CACHE_EVICTION_BATCH_SIZE;s++){const s=t.next().value;if(!s)break;e.delete(s)}}}class r{static themeCache=s.getInstance();constructor(){}static parseFlexShorthand(e){if(null==e)return null;if("number"==typeof e)return{grow:e,shrink:1,basis:"0%"};if("string"!=typeof e)return null;const t=e.trim().toLowerCase();if(!t)return null;switch(t){case"none":return{grow:0,shrink:0,basis:"auto"};case"auto":return{grow:1,shrink:1,basis:"auto"};case"initial":return{grow:0,shrink:1,basis:"auto"};default:return null}}static isPlainObject=e=>{if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype};static resolveObjWithTheme=(e,s,n={})=>{const{processFunctions:i=!1}=n;if(!s||!s.system||"object"!=typeof s.system||0===Object.keys(s.system).length||!e||0===Object.keys(e).length)return e;const o=s.system;if(r.themeCache.shouldCache()){const t=r.themeCache.getResolution(e,s);if(null!==t)return t}const l=[{value:e,isProcessed:!1}],a=new Map,h=new Set,c=e=>{const s=r.themeCache.getThemeRegex();let n=!1;const i=e.replace(s,(e,s)=>{let i=r.themeCache.getPathLookup(o,s);if(null===i&&(i=t.getValueByPath(o,s),r.themeCache.setPathLookup(o,s,i)),null!=i){if(n=!0,"object"==typeof i){if(!Array.isArray(i)&&"default"in i)return i.default;throw new Error("The provided theme path is invalid!")}return i}return e});return n?i:e};for(;l.length>0;){const e=l[l.length-1],t=e.value;if(r.isPlainObject(t)||Array.isArray(t))if(a.has(t))l.pop();else if(e.isProcessed){l.pop(),h.delete(t);let e=t;if(Array.isArray(t)){let s=null;for(let e=0;e<t.length;e++){const r=t[e],n=a.get(r)??r;n!==r&&(null===s&&(s=[...t]),s[e]=n)}null!==s&&(e=s)}else{let r=null;for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];let o=a.get(n)??n;if("function"==typeof o&&i){const e=o(s);o="string"==typeof e&&e.includes("theme.")?c(e):e}else"string"==typeof o&&o.includes("theme.")&&(o=c(o));o!==n&&(null===r&&(r={...t}),r[e]=o)}null!==r&&(e=r)}a.set(t,e)}else{e.isProcessed=!0,h.add(t);const s=Array.isArray(t)?t:Object.values(t);for(let e=s.length-1;e>=0;e--){const t=s[e];!r.isPlainObject(t)&&!Array.isArray(t)||h.has(t)||l.push({value:t,isProcessed:!1})}}else l.pop()}const u=a.get(e)??e;return r.themeCache.shouldCache()&&r.themeCache.setResolution(e,s,u),u};static clearThemeCache=()=>{r.themeCache.clear()};static resolveDefaultStyle=e=>{if(null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return{};const{flex:t,...s}=e,n="flex"===s.display||"inline-flex"===s.display,i=!!(s.overflow||s.overflowY||s.overflowX),o=s.flexFlow?.includes("wrap")||"wrap"===s.flexWrap||"wrap-reverse"===s.flexWrap,l="flexShrink"in e&&void 0!==e.flexShrink,a=t?r.parseFlexShorthand(t):null;let h;if(!l)if(a)h=a.shrink;else if(n){if(!i){const e="column"===s.flexDirection||"column-reverse"===s.flexDirection,t="row"===s.flexDirection||"row-reverse"===s.flexDirection||!s.flexDirection;(e&&!o||t&&!o)&&(h=0)}}else h=0;return{flex:t,flexShrink:h,minHeight:0,minWidth:0,...s}}}exports.ThemeUtil=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAG5E;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,eAAe,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,OAAO,mCAI1F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createRoot as r}from"react-dom/client";function e(e,n){const t=r(n);return t.render(e.render()),t}export{e as render};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html.node.d.ts","sourceRoot":"","sources":["../../../src/components/html.node.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,GAAG;;CAAoB,CAAA;AAEpC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS;;CAAM,CAAA;AAE5B;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,IAAI;;CAKf,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM;;CAGjB,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,GAAG;;CAGd,CAAA;AAEF;;;;GAIG;AACH,eAAO,MAAM,IAAI;;CAAyC,CAAA;AAE1D;;;;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AO,MAAM,GAAG;;CAAiC,CAAA;AAEjD;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;CAAkC,CAAA;AAEnD;;;;;GAKG;AACH,eAAO,MAAM,CAAC;;CAA+B,CAAA;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,GAAG;;CAAiC,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,GAAG;;CAAoB,CAAA;AAIpC;;;;GAIG;AACH,eAAO,MAAM,EAAE;;CAAmB,CAAA;AAElC;;;;GAIG;AACH,eAAO,MAAM,IAAI;;CAAqB,CAAA;AAEtC;;;;GAIG;AACH,eAAO,MAAM,MAAM;;CAAuB,CAAA;AAI1C;;;;GAIG;AACH,eAAO,MAAM,KAAK;;CAAsB,CAAA;AAExC;;;;GAIG;AACH,eAAO,MAAM,aAAa;;CAAuB,CAAA;AAEjD;;;;GAIG;AACH,eAAO,MAAM,KAAK;;CAAsB,CAAA;AAExC;;;;GAIG;AACH,eAAO,MAAM,UAAU;;CAAoB,CAAA;AAE3C;;;;GAIG;AACH,eAAO,MAAM,IAAI;;CAAqB,CAAA;AAItC;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;CAAyB,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,MAAM;;CAAuB,CAAA;AAE1C;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;CAAyB,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,KAAK;;CAAsB,CAAA;AAIxC;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;CAAyB,CAAA;AAE9C;;;;GAIG;AACH,eAAO,MAAM,QAAQ;;CAAyB,CAAA;AAI9C;;;;GAIG;AACH,eAAO,MAAM,MAAM;;CAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createNode as e,createChildrenFirstNode as i}from"../core.node.js";const t=e("div"),o=t,a=e("div",{display:"flex",flexDirection:"column",minHeight:"100dvh",minWidth:"100dvw"}),l=e("div",{display:"flex",flexDirection:"column"}),r=e("div",{display:"flex",flexDirection:"row"}),d=e("div",{display:"grid"}),s=e("div",{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),n=e("div",{position:"fixed"}),p=e("div",{position:"relative"}),c=e("div",{position:"absolute"}),m=e("div",{position:"sticky"}),u=e("div",{position:"static"}),f=i("h1"),b=i("h2"),v=i("h3"),h=i("h4"),g=i("h5"),y=i("h6"),x=i("strong"),k=i("em"),D=i("small"),j=i("mark"),w=i("span"),q=i("p"),G=q,C=i("pre"),H=i("code"),I=e("br"),W=e("ol"),z=e("ul"),A=e("li"),B=e("dl"),E=e("dt"),F=e("dd"),J=e("form"),K=e("label"),L=e("input"),M=i("button"),N=e("textarea"),O=e("select"),P=i("option"),Q=e("fieldset"),R=i("legend"),S=e("optgroup"),T=e("table"),U=e("thead"),V=e("tbody"),X=e("tfoot"),Y=e("tr"),Z=e("th"),$=e("td"),_=i("caption"),ee=e("colgroup"),ie=e("col"),te=e("img"),oe=e("video"),ae=e("audio"),le=e("picture"),re=e("source"),de=e("track"),se=e("canvas"),ne=e("iframe"),pe=e("svg"),ce=e("path"),me=e("circle"),ue=e("ellipse"),fe=e("line"),be=e("polyline"),ve=e("polygon"),he=e("rect"),ge=e("use"),ye=e("defs"),xe=e("linearGradient"),ke=e("radialGradient"),De=e("stop"),je=e("symbol"),we=e("g"),qe=e("text"),Ge=e("tspan"),Ce=e("a"),He=e("nav"),Ie=e("body"),We=e("main",{display:"flex",flexDirection:"column"}),ze=e("header"),Ae=e("footer"),Be=e("aside"),Ee=e("section"),Fe=e("article"),Je=e("figure"),Ke=i("figcaption"),Le=e("blockquote"),Me=e("address"),Ne=e("dialog"),Oe=e("details"),Pe=i("summary"),Qe=e("head"),Re=e("html"),Se=e("meta"),Te=e("link"),Ue=e("style"),Ve=e("script"),Xe=i("title"),Ye=e("base"),Ze=i("abbr"),$e=i("b"),_e=i("bdi"),ei=i("bdo"),ii=i("cite"),ti=i("data"),oi=i("dfn"),ai=i("i"),li=i("kbd"),ri=i("q"),di=i("rp"),si=i("rt"),ni=e("ruby"),pi=i("s"),ci=i("samp"),mi=i("sub"),ui=i("sup"),fi=i("time"),bi=i("u"),vi=i("var"),hi=e("wbr"),gi=e("hr"),yi=e("menu"),xi=e("search"),ki=e("embed"),Di=e("object"),ji=e("param"),wi=e("map"),qi=e("area"),Gi=e("datalist"),Ci=e("output"),Hi=e("progress"),Ii=e("meter"),Wi=e("noscript"),zi=e("template"),Ai=e("hgroup");export{Ce as A,Ze as Abbr,c as Absolute,Me as Address,qi as Area,Fe as Article,Be as Aside,ae as Audio,$e as B,Ye as Base,_e as Bdi,ei as Bdo,Le as Blockquote,Ie as Body,I as Br,M as Button,se as Canvas,_ as Caption,s as Center,ii as Cite,H as Code,ie as Col,ee as Colgroup,l as Column,o as Container,ti as Data,Gi as Datalist,F as Dd,Oe as Details,oi as Dfn,Ne as Dialog,t as Div,B as Dl,E as Dt,k as Em,ki as Embed,Q as Fieldset,Ke as Figcaption,Je as Figure,n as Fixed,Ae as Footer,J as Form,d as Grid,f as H1,b as H2,v as H3,h as H4,g as H5,y as H6,Qe as Head,ze as Header,Ai as Hgroup,gi as Hr,Re as Html,ai as I,ne as Iframe,te as Img,L as Input,li as Kbd,K as Label,R as Legend,A as Li,Te as Link,We as Main,wi as MapElement,j as Mark,yi as Menu,Se as Meta,Ii as Meter,He as Nav,Wi as Noscript,Di as ObjectElement,W as Ol,S as Optgroup,P as Option,Ci as Output,q as P,ji as Param,le as Picture,C as Pre,Hi as Progress,ri as Q,p as Relative,a as Root,r as Row,di as Rp,si as Rt,ni as Ruby,pi as S,ci as Samp,Ve as Script,xi as Search,Ee as Section,O as Select,D as Small,re as Source,w as Span,u as Static,m as Sticky,x as Strong,Ue as Style,mi as Sub,Pe as Summary,ui as Sup,pe as Svg,me as SvgCircle,ye as SvgDefs,ue as SvgEllipse,we as SvgG,fe as SvgLine,xe as SvgLinearGradient,ce as SvgPath,ve as SvgPolygon,be as SvgPolyline,ke as SvgRadialGradient,he as SvgRect,De as SvgStop,je as SvgSymbol,qe as SvgText,Ge as SvgTspan,ge as SvgUse,T as Table,V as Tbody,$ as Td,zi as Template,G as Text,N as Textarea,X as Tfoot,Z as Th,U as Thead,fi as Time,Xe as Title,Y as Tr,de as Track,bi as U,z as Ul,vi as Var,oe as Video,hi as Wbr};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meonode-unmounter.client.d.ts","sourceRoot":"","sources":["../../../src/components/meonode-unmounter.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAgC,KAAK,SAAS,EAA6B,MAAM,OAAO,CAAA;AAG/F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAE3D;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,GAAG,SAAS,CA0B7H"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{useEffectEvent as e,useEffect as t,isValidElement as r,cloneElement as o}from"react";import{MountTrackerUtil as a}from"../util/mount-tracker.util.js";import{BaseNode as n}from"../core.node.js";function s({node:s,children:l,...u}){const i=e(()=>{s.stableKey&&(n.elementCache.delete(s.stableKey),a.mountedNodes.has(s.stableKey)&&a.untrackMount(s.stableKey),n.cacheCleanupRegistry.unregister(s)),s.lastSignature=void 0});return t(()=>()=>i(),[]),r(l)?o(l,u):l}export{s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.node.d.ts","sourceRoot":"","sources":["../../../src/components/react.node.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ;;CAA2B,CAAA;AAEhD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ;;CAA2B,CAAA;AAEhD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ;;CAA2B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Fragment as o,Activity as r,Suspense as t}from"react";import{createNode as e}from"../core.node.js";const s=e(o),a=e(r),m=e(t);export{a as Activity,s as Fragment,m as Suspense};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.client.d.ts","sourceRoot":"","sources":["../../../src/components/registry.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,YAAY,EAAY,MAAM,OAAO,CAAA;AAWlE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,yGA4B7E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{useState as e,createElement as o}from"react";import{CacheProvider as t}from"@emotion/react";import r from"@emotion/cache";import{Node as n}from"../core.node.js";import{useServerInsertedHTML as i}from"next/navigation.js";function m({children:m}){const[c]=e(()=>{const e=r({key:"meonode-css"});return e.compat=!0,e});return i(()=>{const e=Object.keys(c.inserted).sort(),t=e.map(e=>c.inserted[e]).join(""),r=e.join(" ");return t?o("style",{"data-emotion":`${c.key} ${r}`,dangerouslySetInnerHTML:{__html:t}}):null}),n(t,{value:c,children:m}).render()}export{m as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styled-renderer.client.d.ts","sourceRoot":"","sources":["../../../src/components/styled-renderer.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,SAAS,EAAc,MAAM,OAAO,CAAA;AAE5D,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAInE,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,WAAW;IACxD,OAAO,EAAE,CAAC,CAAA;IACV,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,GAAG,EAAE,OAAO,CAAA;CACb;AAED;;;;;;;;;GASG;AACH,iBAAwB,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,EAChG,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,GAAG,CAAC,OAAO,CAoB/C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{useContext as e}from"react";import{jsx as t}from"@emotion/react";import{ThemeContext as o}from"./theme-provider.client.js";import{ThemeUtil as r}from"../util/theme.util.js";function s({element:s,children:i,...m}){const l=e(o),c=l?.theme,{css:n,...p}=m;let h=n,u=p;c&&(h=r.resolveObjWithTheme(n,c,{processFunctions:!0}),u=r.resolveObjWithTheme(p,c,{processFunctions:!1}));const a=r.resolveDefaultStyle(h);return t(s,{...u,css:a},i)}s.displayName="Styled";export{s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider.client.d.ts","sourceRoot":"","sources":["../../../src/components/theme-provider.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,SAAS,EAAY,MAAM,OAAO,CAAA;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAG9D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,KAAK,CAAA;IACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAA;CACjC;AAED,eAAO,MAAM,YAAY,mDAAgD,CAAA;AAEzE;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,GAAG,SAAS,CAgB3G"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import{createContext as e,useState as r}from"react";import{Node as o}from"../core.node.js";const t=e(null);function n({children:e,theme:n}){const[m,c]=r(n);if(!n)throw new Error("`theme` prop must be defined");const d={theme:m,setTheme:e=>{document.cookie=`theme=${e.mode}; path=/;`,c(e)}};return o(t.Provider,{value:d,children:e}).render()}export{t as ThemeContext,n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/components/theme-provider.ts"],"names":[],"mappings":"AACA,OAAO,cAAc,MAAM,0CAA0C,CAAA;AAErE;;GAEG;AACH,eAAO,MAAM,aAAa;;CAA6B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{createNode as o}from"../core.node.js";import r from"./theme-provider.client.js";const e=o(r);export{e as ThemeProvider};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.const.d.ts","sourceRoot":"","sources":["../../../src/constant/common.const.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,uOAwBhB,CAAA;AAEV,eAAO,MAAM,cAAc,uPAAyB,CAAA;AACpD,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA;AAEhD,eAAO,IAAI,SAAS,SAAQ,CAAA;AAE5B,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,QAK5C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=["html","head","meta","link","script","style","noscript","template","slot","base","param","source","track","wbr","embed","object","iframe","frame","frameset","applet","bgsound","noembed","noframes"],t=new Set(e);let o=!1;function a(e){o=e,o&&console.log("[MeoNode] Debug mode enabled.")}export{e as NO_STYLE_TAGS,o as __DEBUG__,t as noStyleTagsSet,a as setDebugMode};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css-properties.const.d.ts","sourceRoot":"","sources":["../../../src/constant/css-properties.const.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,k0ZAirBT,CAAA;AAEV,eAAe,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const o=["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"];export{o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.node.d.ts","sourceRoot":"","sources":["../../src/core.node.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,YAAY,EAElB,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EACh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AY,CAAC,CAAC,CAAC,CAAC,GAAG;IACtB,OAAO,EAAE,CAAC,CAAA;CACX,CAOJ;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,sBAAsB,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC,SAAS,eAAe,EACvH,OAAO,EAAE,CAAC,EACV,YAAY,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,MAAM,sBAAsB,GAAG,UAAU,CAAC,GAAG,sBAAsB,GACpG,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,IAAI,GACxC,CAAC,CAAC,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzE,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,EAAE,eAAe,CAAC,EAAE,UAAU,CAAC,EACxD,IAAI,CAAC,EAAE,cAAc,KAClB,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,GACtC,CAAC,CAAC,eAAe,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACzE,QAAQ,CAAC,EAAE,QAAQ,EACnB,KAAK,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,EAAE,eAAe,CAAC,EAAE,UAAU,CAAC,EACzD,IAAI,CAAC,EAAE,cAAc,KAClB,YAAY,CAAC,CAAC,CAAC,CAAC,GAAG;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,CAQzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isValidElement as e,Fragment as t,createElement as r}from"react";import{isValidElementType as n,isFragment as o}from"./helper/react-is.helper.js";import{getComponentType as s,hasNoStyleTag as a,getElementTypeName as l}from"./helper/common.helper.js";import i from"./components/styled-renderer.client.js";import{__DEBUG__ as c}from"./constant/common.const.js";import{MountTrackerUtil as d}from"./util/mount-tracker.util.js";import h from"./components/meonode-unmounter.client.js";import{NavigationCacheManagerUtil as p}from"./util/navigation-cache-manager.util.js";import{NodeUtil as u}from"./util/node.util.js";import{ThemeUtil as m}from"./util/theme.util.js";class g{instanceId=Math.random().toString(36).slice(2)+Date.now().toString(36);element;rawProps={};isBaseNode=!0;_props;_deps;stableKey;lastPropsObj;lastSignature;static elementCache=new Map;static propProcessingCache=new Map;static scheduledCleanup=!1;static _navigationStarted=!1;static renderContextPool=[];static acquireRenderContext(){const e=g.renderContextPool;return e.length>0?e.pop():{workStack:new Array(512),renderedElements:new Map}}static releaseRenderContext(e){g.renderContextPool.length<50&&e.workStack.length<2048&&(e.workStack.length=0,e.renderedElements.clear(),g.renderContextPool.push(e))}constructor(e,t={},r){if(!n(e)){const t=s(e);throw new Error(`Invalid element type: ${t} provided!`)}this.element=e,this.rawProps=t,this._deps=r;const{ref:o,children:a,...l}=t;this.stableKey=this._getStableKey(l),u.isServer||g._navigationStarted||(p.getInstance().start(),g._navigationStarted=!0)}get props(){return this._props||(this._props=u.processProps(this.element,this.rawProps,this.stableKey)),this._props}get dependencies(){return this._deps}_getStableKey({key:e,...t}){if(u.isServer)return;if(this.lastPropsObj===t)return this.lastSignature;this.lastPropsObj=t;const r=Object.keys(t),n=r.length;if(n>100){const e=u.extractCriticalProps(t,r);this.lastSignature=u.createPropSignature(this.element,e),c&&n>200&&console.warn(`MeoNode: Large props (${n} keys) on "${l(this.element)}". Consider splitting.`)}else this.lastSignature=u.createPropSignature(this.element,t);return null!=e?`${String(e)}:${this.lastSignature}`:this.lastSignature}static cacheCleanupRegistry=new FinalizationRegistry(e=>{const{cacheKey:t,instanceId:r}=e,n=g.elementCache.get(t);n?.instanceId===r&&g.elementCache.delete(t),d.mountedNodes.has(t)&&d.untrackMount(t)});static portalCleanupRegistry=new FinalizationRegistry(e=>{const{domElement:t,reactRoot:r}=e;c&&console.log("[MeoNode] FinalizationRegistry auto-cleaning portal");try{r&&"function"==typeof r.unmount&&r.unmount()}catch(e){c&&console.error("[MeoNode] Portal auto-cleanup unmount error:",e)}try{t?.isConnected&&t.remove()}catch(e){c&&console.error("[MeoNode] Portal auto-cleanup DOM removal error:",e)}});render(n=!1){!u.isServer&&this.stableKey&&d.trackMount(this.stableKey);const s=u.isServer||!this.stableKey?void 0:g.elementCache.get(this.stableKey),l=u.shouldNodeUpdate(s?.prevDeps,this._deps,n);if(!l&&s?.renderedElement)return s.accessCount+=1,s.renderedElement;const c=!l,p=g.acquireRenderContext();let{workStack:m}=p;const{renderedElements:y}=p;let f=0;try{const n=e=>{if(e>m.length){const t=Math.max(e,m.length<<1),r=new Array(t);for(let e=0;e<f;e++)r[e]=m[e];m=r}};for(m[f++]={node:this,isProcessed:!1,blocked:c};f>0;){const s=m[f-1];if(!s){f--;continue}const{node:l,isProcessed:c,blocked:d}=s;if(c){f--;const{children:n,key:s,css:c,nativeProps:d,disableEmotion:h,...p}=l.props;let m=[];if(n){const t=Array.isArray(n)?n:[n],r=t.length;m=new Array(r);for(let n=0;n<r;n++){const r=t[n];if(u.isNodeInstance(r)){const e=y.get(r);if(!e)throw new Error(`[MeoNode] Missing rendered element for child node: ${r.stableKey}`);m[n]=e}else e(r),m[n]=r}}const C={...p,key:s,...d};let P;if(l.element===t||o(l.element))P=r(l.element,{key:s},...m);else{P=!h&&(c||!a(l.element))?r(i,{element:l.element,...C,css:c,suppressHydrationWarning:!0},...m):r(l.element,C,...m)}if(!u.isServer&&l.stableKey){const e=g.elementCache.get(l.stableKey);if(e)e.prevDeps=l._deps,e.renderedElement=P,e.accessCount+=1;else{const e={prevDeps:l._deps,renderedElement:P,nodeRef:new WeakRef(l),createdAt:Date.now(),accessCount:1,instanceId:l.instanceId};g.elementCache.set(l.stableKey,e),g.cacheCleanupRegistry.register(l,{cacheKey:l.stableKey,instanceId:l.instanceId},l)}}y.set(l,P)}else{s.isProcessed=!0;const e=l.props.children;if(e){const t=(Array.isArray(e)?e:[e]).filter(u.isNodeInstance);n(f+t.length);for(let e=t.length-1;e>=0;e--){const r=t[e],n=u.isServer||!r.stableKey?void 0:g.elementCache.get(r.stableKey),o=u.shouldNodeUpdate(n?.prevDeps,r._deps,d);if(!o&&n?.renderedElement){y.set(r,n.renderedElement);continue}const s=d||!o;m[f++]={node:r,isProcessed:!1,blocked:s}}}}}const s=y.get(this);return!u.isServer&&this.stableKey?r(h,{node:this},s):s}finally{for(let e=0;e<f;e++)m[e]=null;g.releaseRenderContext({workStack:m,renderedElements:y})}}toPortal(){if(!u.ensurePortalInfrastructure(this))throw new Error("toPortal() can only be called in a client-side environment");const e=u.portalInfrastructure.get(this),{domElement:t,reactRoot:r}=e;(()=>{try{r.render(this.render())}catch(e){c&&console.error("[MeoNode] Portal render error:",e)}})();let n=!1;const o=r.unmount.bind(r);return r.update=e=>{if(n)c&&console.warn("[MeoNode] Attempt to update already-unmounted portal");else try{const t=u.isNodeInstance(e)?e.render():e;r.render(t)}catch(e){c&&console.error("[MeoNode] Portal update error:",e)}},r.unmount=()=>{if(n)c&&console.warn("[MeoNode] Portal already unmounted");else{n=!0;try{g.portalCleanupRegistry.unregister(this)}catch(e){c&&console.warn("[MeoNode] Portal unregister warning:",e)}u.portalInfrastructure.delete(this);try{t?.isConnected&&o()}catch(e){c&&console.error("[MeoNode] Portal unmount error:",e)}try{t?.isConnected&&t.remove()}catch(e){c&&console.error("[MeoNode] Portal DOM cleanup error:",e)}}},r}static clearCaches(){const e=Array.from(g.elementCache.keys());c&&console.log(`[MeoNode] clearCaches: Clearing ${e.length} entries`);for(const t of e){const e=g.elementCache.get(t);if(e){const r=e.nodeRef?.deref();if(r)try{g.cacheCleanupRegistry.unregister(r),r.lastSignature=void 0,r.lastPropsObj=void 0}catch{c&&console.warn(`[MeoNode] Could not unregister ${t} from FinalizationRegistry`)}}}g.propProcessingCache.clear(),g.elementCache.clear(),m.clearThemeCache(),d.cleanup(),c&&console.log("[MeoNode] All caches cleared")}}function y(e,t={},r){return new g(e,t,r)}function f(e,t){const r=(r,n)=>y(e,{...t,...r},n);return r.element=e,r}function C(e,t){const r=(r,n,o)=>y(e,{...t,...n,children:r},o);return r.element=e,r}y.clearCaches=g.clearCaches;export{g as BaseNode,y as Node,C as createChildrenFirstNode,f as createNode};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.helper.d.ts","sourceRoot":"","sources":["../../../src/helper/common.helper.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAExF,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAGvE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,iCAE1B,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,oDAmC5B,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAsFxD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,MAAM,CAA0B,CAAA;AAEjE;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAU3F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAUjH;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,OAAO,CAGxD;AAED;;;;;GAKG;AACH,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,IAAI,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAQ1F;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAQlE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isForwardRef as e,isMemo as t,isFragment as n,isPortal as r,isProfiler as o,isStrictMode as s,isSuspense as c,isSuspenseList as p,isContextConsumer as a,isContextProvider as i,isLazy as u,isElement as m,isReactClassComponent as l}from"./react-is.helper.js";import y from"../constant/css-properties.const.js";import{noStyleTagsSet as f}from"../constant/common.const.js";const d=(e,t)=>t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e),C=y=>e(y)?"forwardRef":t(y)?"memo":n(y)?"fragment":r(y)?"portal":o(y)?"profiler":s(y)?"strict-mode":c(y)?"suspense":p(y)?"suspense-list":a(y)?"context-consumer":i(y)?"context-provider":u(y)?"lazy":m(y)?"element":l(y)?"class":typeof y;function w(e){function t(e,t){const n=e?.displayName||e?.name;return n&&"render"!==n?n:t}if(null==e)return"UnknownElementType";const n=e,r=C(n);switch(r){case"string":return e;case"class":return t(n,"ClassComponent");case"function":return t(n,"AnonymousFunctionComponent");case"forwardRef":return t(n,"")||t(n.render,"")||"ForwardRefComponent";case"memo":return t(n,"")||(n.type?w(n.type):"MemoComponent");case"element":return w(n.type);case"fragment":return"Fragment";case"portal":return"Portal";case"profiler":return t(n,"Profiler");case"strict-mode":return"StrictMode";case"suspense":return t(n,"Suspense");case"suspense-list":return"SuspenseList";case"context-consumer":return n._context?.displayName?`${n._context.displayName}.Consumer`:"ContextConsumer";case"context-provider":return n._context?.displayName?`${n._context.displayName}.Provider`:"ContextProvider";case"lazy":return t(n,"LazyComponent");case"object":return t(n,"")?t(n,""):"function"==typeof n.render?t(n.render,"ObjectWithRender"):n.type&&n.type!==e?`Wrapped<${w(n.type)}>`:t(n,"ObjectComponent");case"symbol":return"symbol"==typeof e?e.description?.replace(/^react\./,"").split(".").map(e=>e[0]?.toUpperCase()+e.slice(1)).join("")||e.toString():"SymbolComponent";case"unknown":return"UnknownElementType";default:return`UnsupportedType<${r}>`}}const x=new Set(y);function j(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&x.has(n)&&(t[n]=e[n]);return t}function b(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&!x.has(n)&&(t[n]=e[n]);return t}function h(e){return!(!e||"string"!=typeof e)&&f.has(e.toLowerCase())}function O(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&(t[n]=e[n]);return t}export{x as CSSPropertySet,j as getCSSProps,C as getComponentType,b as getDOMProps,w as getElementTypeName,d as getValueByPath,h as hasNoStyleTag,O as omitUndefined};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"obj.helper.d.ts","sourceRoot":"","sources":["../../../src/helper/obj.helper.ts"],"names":[],"mappings":"AAOA,qBAAa,SAAS;IACpB,OAAO,eAAiB;IAExB;;;;OAIG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAmGhC;;;;OAIG;IACH,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,SAAI,GAAG,MAAM,CAU5C;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
class e{constructor(){}static buildSerializable(e,t){if(null==e)return e;const i=typeof e;if("string"===i||"number"===i||"boolean"===i)return e;if("function"===i){let i=t.functionIds.get(e);return void 0===i&&(i=t.nextFunctionId++,t.functionIds.set(e,i)),{$type:"Function",name:e.name||"",id:i}}if("symbol"===i)return{$type:"Symbol",key:e.description??""};if("bigint"===i)return{$type:"BigInt",value:e.toString()};if("object"!==i)try{return String(e)}catch{return"<unserializable>"}if(e instanceof Date)return{$type:"Date",value:e.toISOString()};if(e instanceof RegExp)return{$type:"RegExp",source:e.source,flags:e.flags};const n=t.seen.get(e);if(void 0!==n)return{$type:"Circular",ref:n};const r=t.nextObjId++;if(t.seen.set(e,r),e instanceof Map){const i=[];for(const[n,r]of e.entries())i.push([this.buildSerializable(n,t),this.buildSerializable(r,t)]);return{$type:"Map",entries:i}}if(e instanceof Set){const i=[];for(const n of e.values())i.push(this.buildSerializable(n,t));return{$type:"Set",values:i}}if(Array.isArray(e))return e.map(e=>this.buildSerializable(e,t));try{const i=Object.keys(e),n={};for(const r of i)try{n[r]=this.buildSerializable(e[r],t)}catch{n[r]="<unserializable>"}return n}catch{return"<unserializable>"}}static stringify(e,t=0){const i={nextObjId:0,nextFunctionId:0,seen:new Map,functionIds:new Map},n=this.buildSerializable(e,i);return JSON.stringify(n,null,t)}}export{e as ObjHelper};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-is.helper.d.ts","sourceRoot":"","sources":["../../../src/helper/react-is.helper.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB;;;GAGG;AACH,eAAO,MAAM,kBAAkB,eAA2C,CAAA;AAC1E,eAAO,MAAM,iBAAiB,eAA6B,CAAA;AAC3D,eAAO,MAAM,mBAAmB,eAA+B,CAAA;AAC/D,eAAO,MAAM,sBAAsB,eAAkC,CAAA;AACrE,eAAO,MAAM,mBAAmB,eAA+B,CAAA;AAC/D,eAAO,MAAM,mBAAmB,eAA+B,CAAA;AAC/D,eAAO,MAAM,mBAAmB,eAA+B,CAAA;AAC/D,eAAO,MAAM,kBAAkB,eAA8B,CAAA;AAC7D,eAAO,MAAM,sBAAsB,eAAkC,CAAA;AACrE,eAAO,MAAM,mBAAmB,eAA+B,CAAA;AAC/D,eAAO,MAAM,wBAAwB,eAAoC,CAAA;AACzE,eAAO,MAAM,eAAe,eAA2B,CAAA;AACvD,eAAO,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;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAuE,CAAA;AAE9F;;;;GAIG;AACH,eAAO,MAAM,YAAY,8BAA0E,CAAA;AAEnG;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAuE,CAAA;AAE9F;;;;GAIG;AACH,eAAO,MAAM,cAAc,8BAA4E,CAAA;AAEvG;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,8BAA8E,CAAA;AAE3G;;;;GAIG;AACH,eAAO,MAAM,UAAU,8BAAuE,CAAA;AAiB9F;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,qBAgBnC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,8DAQjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"react";const e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),n=Symbol.for("react.provider"),a=Symbol.for("react.consumer"),f=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),i=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),u=Symbol.for("react.client.reference"),b=Symbol.for("react.activity");function S(u){if("object"==typeof u&&null!==u){const b=u.$$typeof;switch(b){case e:{const e=u.type;switch(e){case o:case c:case r:case y:case l:case p:return e;default:{const t=e?.$$typeof;switch(t){case f:case s:case m:case i:case n:case a:return t;default:return b}}}}case t:return b}}}const $=e=>S(e)===a,w=e=>S(e)===n,d=t=>"object"==typeof t&&null!==t&&t.$$typeof===e,h=e=>S(e)===s,_=e=>S(e)===o,g=e=>S(e)===m,j=e=>S(e)===i,v=e=>S(e)===t,x=e=>S(e)===c,z=e=>S(e)===r,C=e=>S(e)===y,R=e=>S(e)===l,k=new Set([o,c,r,y,l,p,b]),q=e=>{if("string"==typeof e||"number"==typeof e||"bigint"==typeof e||"function"==typeof e)return!0;if(k.has(e))return!0;if("object"==typeof e&&null!==e){const t=e.$$typeof;return t===m||t===i||t===f||t===a||t===s||t===u||t===n}return!1},A=e=>{if("function"!=typeof e)return!1;const t=e.prototype;return!(!t||!t.isReactComponent)};export{b as REACT_ACTIVITY_TYPE,u as REACT_CLIENT_REFERENCE,a as REACT_CONSUMER_TYPE,f as REACT_CONTEXT_TYPE,e as REACT_ELEMENT_TYPE,s as REACT_FORWARD_REF_TYPE,o as REACT_FRAGMENT_TYPE,m as REACT_LAZY_TYPE,i as REACT_MEMO_TYPE,t as REACT_PORTAL_TYPE,c as REACT_PROFILER_TYPE,n as REACT_PROVIDER_TYPE,r as REACT_STRICT_MODE_TYPE,l as REACT_SUSPENSE_LIST_TYPE,y as REACT_SUSPENSE_TYPE,p as REACT_VIEW_TRANSITION_TYPE,$ as isContextConsumer,w as isContextProvider,d as isElement,h as isForwardRef,_ as isFragment,g as isLazy,j as isMemo,v as isPortal,x as isProfiler,A as isReactClassComponent,z as isStrictMode,C as isSuspense,R as isSuspenseList,q as isValidElementType,S as typeOf};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.hoc.d.ts","sourceRoot":"","sources":["../../../src/hoc/component.hoc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAA;AACjH,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,YAAY,EAAkB,MAAM,OAAO,CAAA;AAI7E;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,kBAAkB,CAAC,MAAM,IAAI,MAAM,SAAS,SAAS,GAC7D,OAAO,CAAC;IACN,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAC,GACF,MAAM,GACJ,CAAC,yBAAyB,CAAC,MAAM,CAAC,SAAS,IAAI,GAAG,aAAa,GAAG,MAAM,CAAC,GACzE,OAAO,CAAC;IACN,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAA;IACxC,QAAQ,EAAE,QAAQ,CAAA;CACnB,CAAC,CAAA;AAER;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CAAC,MAAM,SAAS,SAAS,EAChD,SAAS,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,KAAK,aAAa,GAC9D,CAAC,KAAK,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAA;AAE/G;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,SAAS,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1D,SAAS,EAAE,CAAC,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,KAAK,aAAa,GAC9D,CAAC,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,EAAE,cAAc,KAAK,YAAY,GAAG,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Node as e,BaseNode as r}from"../core.node.js";import"react";import{getElementTypeName as n}from"../helper/common.helper.js";import{NodeUtil as o}from"../util/node.util.js";function t(t){const m=n(t),i=n=>{const m=t(n);return m instanceof r||o.isNodeInstance(m)?e(m.element,m.rawProps).render():m};function p(r={},n){return e(i,r,n).render()}return i.displayName=`Renderer(${m})`,p.displayName=`Component(${m})`,p}export{t as Component};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hoc/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"portal.hoc.d.ts","sourceRoot":"","sources":["../../../src/hoc/portal.hoc.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAe,YAAY,EAAyB,cAAc,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAK5J;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,eAAe,EACtF,QAAQ,EAAE,YAAY,CAAC,GAAG,CAAC,EAC3B,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,aAAa,GAClD,cAAc,CAAC,CAAC,CAAC,CAAA;AAEpB,wBAAgB,MAAM,CAAC,CAAC,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,eAAe,EACtF,SAAS,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,aAAa,GAClD,cAAc,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{BaseNode as n,Node as e}from"../core.node.js";function o(o,r){let t,a,i={unmount:()=>{console.warn("Portal instance not yet created. Cannot unmount.")},update:n=>{console.warn("Portal instance not yet created. Cannot update.",n)}};if("function"==typeof r&&o instanceof n)t=[o],a=r;else{if("function"!=typeof o||void 0!==r)throw new Error("Invalid arguments for Portal HOC. Use Portal(component) or Portal(providerNodeInstance, component).");a=o}const c=(e={})=>{const o=a({...e,portal:i});return o instanceof n?o.render():o};return function(o={}){let r;const a=[];o.provider&&a.push(o.provider);const s=[...t??[],...a],{provider:l,...d}=o,p=e(c,d);function u(o,r){const t=o.rawProps?.children;if(!(t&&t instanceof n))return e(o.element,{...o.rawProps,children:r});const a=u(t,r);return e(o.element,{...o.rawProps,children:a})}return r=s.length>0?s.reduceRight((o,r)=>{if(!(r instanceof n))return console.warn("Portal: Item in provider is not a valid NodeInstance. Skipping.",r),o;return r.rawProps?.children instanceof n?u(r,o):e(r.element,{...r.rawProps,children:o})},p):p,i=r.toPortal(),i}}export{o as Portal};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hook/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePortal.d.ts","sourceRoot":"","sources":["../../../src/hook/usePortal.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAkC,MAAM,OAAO,CAAA;AACzE,OAAO,KAAK,EAAmB,UAAU,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAGvF;;;GAGG;AACH,wBAAgB,SAAS,CAAC,CAAC,SAAS,GAAG,EAAE,EAAE,IAAI,GAAE,CAAsB;;;sBAGhC,CAAC;EAgCvC"}
|