defuss 3.2.1 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/dom-B-9C61SZ.cjs +2575 -0
  2. package/dist/dom-B07u3Jy8.mjs +2824 -0
  3. package/dist/dom-BB4oELqs.cjs +2913 -0
  4. package/dist/dom-BGydgDUT.cjs +2522 -0
  5. package/dist/dom-BHKkCOeC.mjs +2492 -0
  6. package/dist/dom-BJ6DNN84.cjs +2585 -0
  7. package/dist/dom-BLB_aXSg.mjs +2540 -0
  8. package/dist/dom-BcQDGNER.cjs +2597 -0
  9. package/dist/dom-BcewbaMv.cjs +2623 -0
  10. package/dist/dom-Bmr_Yrhk.cjs +2508 -0
  11. package/dist/dom-BzCNLAR3.cjs +2508 -0
  12. package/dist/dom-C00yT3-P.mjs +2502 -0
  13. package/dist/dom-C85TOhdz.mjs +2439 -0
  14. package/dist/dom-CGQ6W4so.cjs +2617 -0
  15. package/dist/dom-CNuz9a59.mjs +2460 -0
  16. package/dist/dom-CPpNq1y5.mjs +2514 -0
  17. package/dist/dom-C_gMp8Gb.cjs +2629 -0
  18. package/dist/dom-D6BCnlWV.cjs +2533 -0
  19. package/dist/dom-DoTbNGQw.mjs +2425 -0
  20. package/dist/dom-Dtb9ntkd.mjs +2544 -0
  21. package/dist/dom-TG_CZFXn.mjs +2532 -0
  22. package/dist/dom-_VELJIcs.mjs +2425 -0
  23. package/dist/index-BbAz4UnJ.d.ts +1346 -0
  24. package/dist/index-CQF_ouqU.d.ts +1324 -0
  25. package/dist/index-CTOR1BhY.d.ts +1346 -0
  26. package/dist/index.cjs +2 -18
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.mjs +3 -3
  29. package/dist/mount-B1I95Cnc.cjs +29 -0
  30. package/dist/mount-BED_P6fK.cjs +29 -0
  31. package/dist/mount-BKy_CYIL.cjs +29 -0
  32. package/dist/mount-BQlHEvrh.cjs +29 -0
  33. package/dist/mount-BzkAnkiS.cjs +29 -0
  34. package/dist/mount-CDq5FRKR.cjs +29 -0
  35. package/dist/mount-CHc5DzXH.mjs +26 -0
  36. package/dist/mount-CWIEWD2-.mjs +26 -0
  37. package/dist/mount-CcFMMbk-.cjs +29 -0
  38. package/dist/mount-Cp5f2rYC.cjs +29 -0
  39. package/dist/mount-DNkfbJpF.mjs +26 -0
  40. package/dist/mount-DP7SPKxK.mjs +26 -0
  41. package/dist/mount-DWJFcCD1.mjs +26 -0
  42. package/dist/mount-DhCVjXJ8.cjs +29 -0
  43. package/dist/mount-DvMxZoXB.mjs +26 -0
  44. package/dist/mount-FWuAF8K9.mjs +26 -0
  45. package/dist/mount-JuZdCt-y.mjs +26 -0
  46. package/dist/mount-WR8eo8cq.cjs +29 -0
  47. package/dist/mount-WUpdjOeb.mjs +26 -0
  48. package/dist/mount-eqsxARBo.mjs +26 -0
  49. package/dist/mount-kkX1MJ-f.mjs +26 -0
  50. package/dist/mount-oYvkXOMe.cjs +29 -0
  51. package/dist/render/client.cjs +2 -2
  52. package/dist/render/client.d.ts +2 -2
  53. package/dist/render/client.mjs +3 -3
  54. package/dist/render/dev/index.cjs +1 -1
  55. package/dist/render/dev/index.d.ts +1 -1
  56. package/dist/render/dev/index.mjs +1 -1
  57. package/dist/render/index.cjs +2 -2
  58. package/dist/render/index.d.ts +2 -2
  59. package/dist/render/index.mjs +2 -2
  60. package/dist/render/server.cjs +2 -2
  61. package/dist/render/server.d.ts +2 -2
  62. package/dist/render/server.mjs +3 -3
  63. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var dom = require('./dom-BzXkdUr2.cjs');
4
- var mount = require('./mount-DKbhuW_5.cjs');
3
+ var dom = require('./dom-D6BCnlWV.cjs');
4
+ var mount = require('./mount-CDq5FRKR.cjs');
5
5
  require('defuss-runtime');
6
6
 
7
7
  const inDevMode = typeof process !== "undefined" && process.env ? process.env.NODE_ENV !== "production" : false;
@@ -650,9 +650,7 @@ const Suspense = Async;
650
650
  exports.$ = dom.$;
651
651
  exports.CAPTURE_ONLY_EVENTS = dom.CAPTURE_ONLY_EVENTS;
652
652
  exports.CLASS_ATTRIBUTE_NAME = dom.CLASS_ATTRIBUTE_NAME;
653
- exports.Call = dom.Call;
654
653
  exports.CallChainImpl = dom.CallChainImpl;
655
- exports.CallChainImplThenable = dom.CallChainImplThenable;
656
654
  exports.DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE = dom.DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE;
657
655
  exports.DEFAULT_TRANSITION_CONFIG = dom.DEFAULT_TRANSITION_CONFIG;
658
656
  exports.Fragment = dom.Fragment;
@@ -660,22 +658,16 @@ exports.REF_ATTRIBUTE_NAME = dom.REF_ATTRIBUTE_NAME;
660
658
  exports.XLINK_ATTRIBUTE_NAME = dom.XLINK_ATTRIBUTE_NAME;
661
659
  exports.XMLNS_ATTRIBUTE_NAME = dom.XMLNS_ATTRIBUTE_NAME;
662
660
  exports.addElementEvent = dom.addElementEvent;
663
- exports.addNonChainedReturnCallNames = dom.addNonChainedReturnCallNames;
664
661
  exports.applyStyles = dom.applyStyles;
665
662
  exports.areDomNodesEqual = dom.areDomNodesEqual;
666
663
  exports.checkElementVisibility = dom.checkElementVisibility;
667
664
  exports.clearDelegatedEvents = dom.clearDelegatedEvents;
668
665
  exports.clearDelegatedEventsDeep = dom.clearDelegatedEventsDeep;
669
666
  exports.clearElementEvents = dom.clearElementEvents;
670
- exports.createCall = dom.createCall;
671
- exports.createGetterSetterCall = dom.createGetterSetterCall;
672
667
  exports.createInPlaceErrorMessageVNode = dom.createInPlaceErrorMessageVNode;
673
668
  exports.createRef = dom.createRef;
674
669
  exports.createStore = dom.createStore;
675
- exports.createSubChain = dom.createSubChain;
676
- exports.createSyncCall = dom.createSyncCall;
677
670
  exports.deepEquals = dom.deepEquals;
678
- exports.delayedAutoStart = dom.delayedAutoStart;
679
671
  exports.dequery = dom.dequery;
680
672
  exports.domNodeToVNode = dom.domNodeToVNode;
681
673
  exports.emptyImpl = dom.emptyImpl;
@@ -684,7 +676,6 @@ exports.getComponentInstance = dom.getComponentInstance;
684
676
  exports.getDefaultDequeryOptions = dom.getDefaultDequeryOptions;
685
677
  exports.getEventMap = dom.getEventMap;
686
678
  exports.getMimeType = dom.getMimeType;
687
- exports.getNonChainedReturnCallNames = dom.getNonChainedReturnCallNames;
688
679
  exports.getRegisteredEventKeys = dom.getRegisteredEventKeys;
689
680
  exports.getRegisteredEventTypes = dom.getRegisteredEventTypes;
690
681
  exports.getRenderer = dom.getRenderer;
@@ -698,13 +689,11 @@ exports.isDequeryOptionsObject = dom.isDequeryOptionsObject;
698
689
  exports.isHTML = dom.isHTML;
699
690
  exports.isJSX = dom.isJSX;
700
691
  exports.isMarkup = dom.isMarkup;
701
- exports.isNonChainedReturnCall = dom.isNonChainedReturnCall;
702
692
  exports.isRef = dom.isRef;
703
693
  exports.isSVG = dom.isSVG;
704
694
  exports.jsx = dom.jsx;
705
695
  exports.jsxDEV = dom.jsxDEV;
706
696
  exports.jsxs = dom.jsxs;
707
- exports.mapArrayIndexAccess = dom.mapArrayIndexAccess;
708
697
  exports.nsMap = dom.nsMap;
709
698
  exports.observeUnmount = dom.observeUnmount;
710
699
  exports.parseDOM = dom.parseDOM;
@@ -722,14 +711,9 @@ exports.renderInto = dom.renderInto;
722
711
  exports.renderIsomorphicAsync = dom.renderIsomorphicAsync;
723
712
  exports.renderIsomorphicSync = dom.renderIsomorphicSync;
724
713
  exports.renderMarkup = dom.renderMarkup;
725
- exports.renderNode = dom.renderNode;
726
714
  exports.replaceDomWithVdom = dom.replaceDomWithVdom;
727
- exports.resolveNodes = dom.resolveNodes;
728
- exports.runWithTimeGuard = dom.runWithTimeGuard;
729
715
  exports.scrollHelper = dom.scrollHelper;
730
716
  exports.shallowEquals = dom.shallowEquals;
731
- exports.subChainForNextAwait = dom.subChainForNextAwait;
732
- exports.traverse = dom.traverse;
733
717
  exports.unregisterComponent = dom.unregisterComponent;
734
718
  exports.updateDom = dom.updateDom;
735
719
  exports.updateDomWithVdom = dom.updateDomWithVdom;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { ao as PersistenceProviderType, ap as PersistenceProviderOptions, aq as PersistenceProviderImpl, W as VNode, X as VNodeAttributes, N as NodeType, R as RenderInput, G as Globals, t as Props, v as Ref, i as DOMElement, Y as VNodeChild, F as FC, T as TransitionConfig, c as AsyncDefussChild } from './index-DKd9l_sC.js';
2
- export { ar as $, A as AllHTMLElements, as as AnyEventHandler, d as AsyncFC, e as AsyncFunctionComponent, C as CLASS_ATTRIBUTE_NAME, f as CSSProperties, at as Call, au as CallChainImpl, av as CallChainImplThenable, g as Children, D as DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE, h as DEFAULT_TRANSITION_CONFIG, aw as DOMPropValue, j as DefussChild, k as DefussChildren, l as DefussClassValue, m as DefussKey, ax as Dequery, ay as DequeryOptions, az as DequerySyncMethodReturnType, aA as Dimensions, n as DomAbstractionImpl, aB as ElementCreationOptions, E as ElementProps, aC as EqualsFn, aD as EventMapFor, aE as EventMapForAny, o as FontFaceProperties, aF as FormFieldValue, aG as FormKeyValues, p as Fragment, q as FunctionComponent, J as JsxRuntimeHookFn, r as JsxSourceInfo, K as KeyFrameProperties, aH as Listener, M as Maybe, aI as MemoryStorage, aJ as MiddlewareFn, s as MountHandler, O as OneOrMany, b as ParentElementInput, P as ParentElementInputAsync, aK as Position, u as REF_ATTRIBUTE_NAME, w as RefUpdateFn, x as RefUpdateRenderFn, y as RefUpdateRenderFnInput, z as RenderNodeInput, a as RenderResult, B as RenderResultNode, aL as Store, aM as StoreOptions, S as SyncRenderInput, H as SyncRenderResult, aN as TargetOf, I as TransitionStyles, L as TransitionType, Q as TransitionsEasing, aO as UnionToIntersection, U as UnmountHandler, V as VAttributes, Z as VNodeChildren, _ as VNodeKey, $ as VNodeRef, a0 as VNodeRefCallback, a1 as VNodeRefObject, a2 as VNodeType, aP as WebStorage, a3 as XLINK_ATTRIBUTE_NAME, a4 as XMLNS_ATTRIBUTE_NAME, aQ as addNonChainedReturnCallNames, a5 as applyStyles, aR as createCall, aS as createGetterSetterCall, a6 as createInPlaceErrorMessageVNode, a7 as createRef, aT as createStore, aU as createSubChain, aV as createSyncCall, aW as deepEquals, aX as delayedAutoStart, aY as dequery, aZ as emptyImpl, a_ as getAllFormValues, a$ as getDefaultDequeryOptions, b0 as getNonChainedReturnCallNames, a8 as getRenderer, a9 as getTransitionStyles, aa as globalScopeDomApis, ab as handleLifecycleEventsForOnMount, b1 as isDequery, b2 as isDequeryOptionsObject, ac as isJSX, b3 as isNonChainedReturnCall, ad as isRef, ae as jsx, af as jsxDEV, ag as jsxs, b4 as mapArrayIndexAccess, ah as nsMap, ai as observeUnmount, aj as performTransition, b5 as render, ak as renderInto, al as renderIsomorphicAsync, am as renderIsomorphicSync, b6 as renderNode, b7 as resolveNodes, b8 as runWithTimeGuard, b9 as scrollHelper, ba as shallowEquals, bb as subChainForNextAwait, bc as traverse, an as updateDom } from './index-DKd9l_sC.js';
1
+ import { ao as PersistenceProviderType, ap as PersistenceProviderOptions, aq as PersistenceProviderImpl, W as VNode, X as VNodeAttributes, N as NodeType, R as RenderInput, G as Globals, t as Props, v as Ref, i as DOMElement, Y as VNodeChild, F as FC, T as TransitionConfig, c as AsyncDefussChild } from './index-CQF_ouqU.js';
2
+ export { ar as $, A as AllHTMLElements, as as AnyEventHandler, d as AsyncFC, e as AsyncFunctionComponent, C as CLASS_ATTRIBUTE_NAME, f as CSSProperties, at as CallChainImpl, g as Children, D as DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE, h as DEFAULT_TRANSITION_CONFIG, au as DOMPropValue, j as DefussChild, k as DefussChildren, l as DefussClassValue, m as DefussKey, av as Dequery, aw as DequeryOptions, ax as DequerySyncMethodReturnType, ay as Dimensions, n as DomAbstractionImpl, az as ElementCreationOptions, E as ElementProps, aA as EqualsFn, aB as EventMapFor, aC as EventMapForAny, o as FontFaceProperties, aD as FormFieldValue, aE as FormKeyValues, p as Fragment, q as FunctionComponent, J as JsxRuntimeHookFn, r as JsxSourceInfo, K as KeyFrameProperties, aF as Listener, M as Maybe, aG as MemoryStorage, aH as MiddlewareFn, s as MountHandler, O as OneOrMany, b as ParentElementInput, P as ParentElementInputAsync, aI as Position, u as REF_ATTRIBUTE_NAME, w as RefUpdateFn, x as RefUpdateRenderFn, y as RefUpdateRenderFnInput, z as RenderNodeInput, a as RenderResult, B as RenderResultNode, aJ as Store, aK as StoreOptions, S as SyncRenderInput, H as SyncRenderResult, aL as TargetOf, I as TransitionStyles, L as TransitionType, Q as TransitionsEasing, aM as UnionToIntersection, U as UnmountHandler, V as VAttributes, Z as VNodeChildren, _ as VNodeKey, $ as VNodeRef, a0 as VNodeRefCallback, a1 as VNodeRefObject, a2 as VNodeType, aN as WebStorage, a3 as XLINK_ATTRIBUTE_NAME, a4 as XMLNS_ATTRIBUTE_NAME, a5 as applyStyles, a6 as createInPlaceErrorMessageVNode, a7 as createRef, aO as createStore, aP as deepEquals, aQ as dequery, aR as emptyImpl, aS as getAllFormValues, aT as getDefaultDequeryOptions, a8 as getRenderer, a9 as getTransitionStyles, aa as globalScopeDomApis, ab as handleLifecycleEventsForOnMount, aU as isDequery, aV as isDequeryOptionsObject, ac as isJSX, ad as isRef, ae as jsx, af as jsxDEV, ag as jsxs, ah as nsMap, ai as observeUnmount, aj as performTransition, aW as render, ak as renderInto, al as renderIsomorphicAsync, am as renderIsomorphicSync, aX as scrollHelper, aY as shallowEquals, an as updateDom } from './index-CQF_ouqU.js';
3
3
  export { CAPTURE_ONLY_EVENTS, ComponentInstance, DelegatedEventOptions, DelegatedPhase, ParsedEventProp, clearDelegatedEvents, clearDelegatedEventsDeep, getComponentInstance, getRegisteredEventKeys, getRegisteredEventTypes, isComponentRoot, mount, parseEventPropName, registerComponent, registerDelegatedEvent, removeDelegatedEvent, removeDelegatedEventByKey, unmount, unregisterComponent } from './render/index.js';
4
4
  import 'csstype';
5
5
 
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { M as createStore, h as createRef, $, r as isRef } from './dom-BiGAr6m-.mjs';
2
- export { C as CAPTURE_ONLY_EVENTS, a as CLASS_ATTRIBUTE_NAME, N as Call, O as CallChainImpl, P as CallChainImplThenable, D as DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE, b as DEFAULT_TRANSITION_CONFIG, F as Fragment, R as REF_ATTRIBUTE_NAME, X as XLINK_ATTRIBUTE_NAME, c as XMLNS_ATTRIBUTE_NAME, Q as addElementEvent, S as addNonChainedReturnCallNames, d as applyStyles, T as areDomNodesEqual, U as checkElementVisibility, e as clearDelegatedEvents, f as clearDelegatedEventsDeep, V as clearElementEvents, W as createCall, Y as createGetterSetterCall, g as createInPlaceErrorMessageVNode, Z as createSubChain, _ as createSyncCall, a0 as deepEquals, a1 as delayedAutoStart, a2 as dequery, a3 as domNodeToVNode, a4 as emptyImpl, a5 as getAllFormValues, i as getComponentInstance, a6 as getDefaultDequeryOptions, a7 as getEventMap, a8 as getMimeType, a9 as getNonChainedReturnCallNames, j as getRegisteredEventKeys, k as getRegisteredEventTypes, l as getRenderer, m as getTransitionStyles, n as globalScopeDomApis, o as handleLifecycleEventsForOnMount, aa as htmlStringToVNodes, p as isComponentRoot, ab as isDequery, ac as isDequeryOptionsObject, ad as isHTML, q as isJSX, ae as isMarkup, af as isNonChainedReturnCall, ag as isSVG, s as jsx, t as jsxDEV, u as jsxs, ah as mapArrayIndexAccess, v as nsMap, w as observeUnmount, ai as parseDOM, x as parseEventPropName, y as performTransition, aj as processAllFormElements, ak as queueCallback, z as registerComponent, A as registerDelegatedEvent, B as removeDelegatedEvent, E as removeDelegatedEventByKey, al as removeElementEvent, G as render, H as renderInto, I as renderIsomorphicAsync, J as renderIsomorphicSync, am as renderMarkup, an as renderNode, ao as replaceDomWithVdom, ap as resolveNodes, aq as runWithTimeGuard, ar as scrollHelper, as as shallowEquals, at as subChainForNextAwait, au as traverse, K as unregisterComponent, L as updateDom, av as updateDomWithVdom, aw as waitForDOM, ax as webstorage } from './dom-BiGAr6m-.mjs';
3
- export { m as mount, u as unmount } from './mount-BcH7K_c6.mjs';
1
+ import { M as createStore, h as createRef, $, r as isRef } from './dom-CNuz9a59.mjs';
2
+ export { C as CAPTURE_ONLY_EVENTS, a as CLASS_ATTRIBUTE_NAME, N as CallChainImpl, D as DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE, b as DEFAULT_TRANSITION_CONFIG, F as Fragment, R as REF_ATTRIBUTE_NAME, X as XLINK_ATTRIBUTE_NAME, c as XMLNS_ATTRIBUTE_NAME, O as addElementEvent, d as applyStyles, P as areDomNodesEqual, Q as checkElementVisibility, e as clearDelegatedEvents, f as clearDelegatedEventsDeep, S as clearElementEvents, g as createInPlaceErrorMessageVNode, T as deepEquals, U as dequery, V as domNodeToVNode, W as emptyImpl, Y as getAllFormValues, i as getComponentInstance, Z as getDefaultDequeryOptions, _ as getEventMap, a0 as getMimeType, j as getRegisteredEventKeys, k as getRegisteredEventTypes, l as getRenderer, m as getTransitionStyles, n as globalScopeDomApis, o as handleLifecycleEventsForOnMount, a1 as htmlStringToVNodes, p as isComponentRoot, a2 as isDequery, a3 as isDequeryOptionsObject, a4 as isHTML, q as isJSX, a5 as isMarkup, a6 as isSVG, s as jsx, t as jsxDEV, u as jsxs, v as nsMap, w as observeUnmount, a7 as parseDOM, x as parseEventPropName, y as performTransition, a8 as processAllFormElements, a9 as queueCallback, z as registerComponent, A as registerDelegatedEvent, B as removeDelegatedEvent, E as removeDelegatedEventByKey, aa as removeElementEvent, G as render, H as renderInto, I as renderIsomorphicAsync, J as renderIsomorphicSync, ab as renderMarkup, ac as replaceDomWithVdom, ad as scrollHelper, ae as shallowEquals, K as unregisterComponent, L as updateDom, af as updateDomWithVdom, ag as waitForDOM, ah as webstorage } from './dom-CNuz9a59.mjs';
3
+ export { m as mount, u as unmount } from './mount-CWIEWD2-.mjs';
4
4
  import 'defuss-runtime';
5
5
 
6
6
  const inDevMode = typeof process !== "undefined" && process.env ? process.env.NODE_ENV !== "production" : false;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-BcQDGNER.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-C_gMp8Gb.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-BzCNLAR3.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-BJ6DNN84.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-BcewbaMv.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-D6BCnlWV.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-_VELJIcs.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-CNuz9a59.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-BB4oELqs.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-Bmr_Yrhk.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-B07u3Jy8.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { L as renderIsomorphicSync, B as registerComponent, y as observeUnmount, M as unregisterComponent } from './dom-Dtb9ntkd.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-BHKkCOeC.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-B-9C61SZ.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-CPpNq1y5.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-BLB_aXSg.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-DoTbNGQw.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-CGQ6W4so.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,26 @@
1
+ import { L as renderIsomorphicSync, B as registerComponent, y as observeUnmount, M as unregisterComponent } from './dom-TG_CZFXn.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };