defuss 3.3.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dom-A-Pu8krq.mjs +2524 -0
- package/dist/dom-B-9C61SZ.cjs +2575 -0
- package/dist/dom-B9wB4EIP.mjs +2460 -0
- package/dist/dom-BGydgDUT.cjs +2522 -0
- package/dist/dom-BHKkCOeC.mjs +2492 -0
- package/dist/dom-BJ6DNN84.cjs +2585 -0
- package/dist/dom-BLB_aXSg.mjs +2540 -0
- package/dist/dom-BPxNxFa3.cjs +2578 -0
- package/dist/dom-BXmV6U78.cjs +2576 -0
- package/dist/dom-BcQDGNER.cjs +2597 -0
- package/dist/dom-BcewbaMv.cjs +2623 -0
- package/dist/dom-Bhu0rrF-.mjs +2501 -0
- package/dist/dom-Bj9vnsTv.mjs +2505 -0
- package/dist/dom-BqGk3hq-.mjs +2503 -0
- package/dist/dom-BzhVVZDv.cjs +2594 -0
- package/dist/dom-C00yT3-P.mjs +2502 -0
- package/dist/dom-C3iZtdv5.cjs +2577 -0
- package/dist/dom-C85TOhdz.mjs +2439 -0
- package/dist/dom-CFCbo_Ua.mjs +2512 -0
- package/dist/dom-CFxrjHzc.cjs +2578 -0
- package/dist/dom-CGQ6W4so.cjs +2617 -0
- package/dist/dom-CNuz9a59.mjs +2460 -0
- package/dist/dom-CPpNq1y5.mjs +2514 -0
- package/dist/dom-CTgrGJ9Y.cjs +2565 -0
- package/dist/dom-CX5zLg8V.mjs +2521 -0
- package/dist/dom-C_gMp8Gb.cjs +2629 -0
- package/dist/dom-CdlMr6sT.mjs +2505 -0
- package/dist/dom-D6BCnlWV.cjs +2533 -0
- package/dist/dom-D8FySxD3.cjs +2585 -0
- package/dist/dom-D8PgCQGz.cjs +2574 -0
- package/dist/dom-DB94Ex2q.cjs +2533 -0
- package/dist/dom-DNL22N3k.mjs +2504 -0
- package/dist/dom-DO2wnJM2.mjs +2518 -0
- package/dist/dom-Dftc-EIL.mjs +2460 -0
- package/dist/dom-Drn9idYX.cjs +2598 -0
- package/dist/dom-Dtb9ntkd.mjs +2544 -0
- package/dist/dom-Dvx2yVfY.cjs +2591 -0
- package/dist/dom-K2M0E_1X.mjs +2492 -0
- package/dist/dom-TG_CZFXn.mjs +2532 -0
- package/dist/dom-fWD6YfZv.cjs +2533 -0
- package/dist/index-CDeQTFKH.d.ts +1324 -0
- package/dist/index-CQF_ouqU.d.ts +1324 -0
- package/dist/index.cjs +2 -12
- package/dist/index.d.ts +10 -5
- package/dist/index.mjs +3 -3
- package/dist/mount-B1I95Cnc.cjs +29 -0
- package/dist/mount-B4QZvcXm.mjs +26 -0
- package/dist/mount-BED_P6fK.cjs +29 -0
- package/dist/mount-BOeNgYt6.cjs +29 -0
- package/dist/mount-BQlHEvrh.cjs +29 -0
- package/dist/mount-BTLvg_yc.cjs +29 -0
- package/dist/mount-BYIUeYd5.cjs +29 -0
- package/dist/mount-BhfG3JR2.mjs +26 -0
- package/dist/mount-Bwf1zsu_.cjs +29 -0
- package/dist/mount-BzkAnkiS.cjs +29 -0
- package/dist/mount-CBSP2WPJ.cjs +29 -0
- package/dist/mount-CDq5FRKR.cjs +29 -0
- package/dist/mount-CFRPh_sW.cjs +29 -0
- package/dist/mount-COZliSb8.cjs +29 -0
- package/dist/mount-CPxgRm2g.mjs +26 -0
- package/dist/mount-CWIEWD2-.mjs +26 -0
- package/dist/mount-CfjlPISn.cjs +29 -0
- package/dist/mount-CqFXb-CG.cjs +29 -0
- package/dist/mount-D-ZCjE5u.mjs +26 -0
- package/dist/mount-DA1GR9QJ.mjs +26 -0
- package/dist/mount-DDyiuG0r.mjs +26 -0
- package/dist/mount-DFegBldg.mjs +26 -0
- package/dist/mount-DNfhKcww.mjs +26 -0
- package/dist/mount-DP7SPKxK.mjs +26 -0
- package/dist/mount-DWJFcCD1.mjs +26 -0
- package/dist/mount-DcZ4Nan_.mjs +26 -0
- package/dist/mount-Dgqpf8cj.mjs +26 -0
- package/dist/mount-DhCVjXJ8.cjs +29 -0
- package/dist/mount-DvAC8as-.mjs +26 -0
- package/dist/mount-DvMxZoXB.mjs +26 -0
- package/dist/mount-FWuAF8K9.mjs +26 -0
- package/dist/mount-WR8eo8cq.cjs +29 -0
- package/dist/mount-WUpdjOeb.mjs +26 -0
- package/dist/mount-eqsxARBo.mjs +26 -0
- package/dist/mount-gn0LKJBv.cjs +29 -0
- package/dist/mount-i56Anzc3.cjs +29 -0
- package/dist/mount-iX-S7xUT.mjs +26 -0
- package/dist/mount-kkX1MJ-f.mjs +26 -0
- package/dist/mount-n8GNKddq.cjs +29 -0
- package/dist/mount-oYvkXOMe.cjs +29 -0
- package/dist/render/client.cjs +2 -2
- package/dist/render/client.d.ts +2 -2
- package/dist/render/client.mjs +3 -3
- package/dist/render/dev/index.cjs +1 -1
- package/dist/render/dev/index.d.ts +1 -1
- package/dist/render/dev/index.mjs +1 -1
- package/dist/render/index.cjs +2 -2
- package/dist/render/index.d.ts +2 -2
- package/dist/render/index.mjs +2 -2
- package/dist/render/server.cjs +2 -2
- package/dist/render/server.d.ts +2 -2
- package/dist/render/server.mjs +3 -3
- 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-
|
|
4
|
-
var mount = require('./mount-
|
|
3
|
+
var dom = require('./dom-BzhVVZDv.cjs');
|
|
4
|
+
var mount = require('./mount-BOeNgYt6.cjs');
|
|
5
5
|
require('defuss-runtime');
|
|
6
6
|
|
|
7
7
|
const inDevMode = typeof process !== "undefined" && process.env ? process.env.NODE_ENV !== "production" : false;
|
|
@@ -651,7 +651,6 @@ exports.$ = dom.$;
|
|
|
651
651
|
exports.CAPTURE_ONLY_EVENTS = dom.CAPTURE_ONLY_EVENTS;
|
|
652
652
|
exports.CLASS_ATTRIBUTE_NAME = dom.CLASS_ATTRIBUTE_NAME;
|
|
653
653
|
exports.CallChainImpl = dom.CallChainImpl;
|
|
654
|
-
exports.CallChainImplThenable = dom.CallChainImplThenable;
|
|
655
654
|
exports.DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE = dom.DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE;
|
|
656
655
|
exports.DEFAULT_TRANSITION_CONFIG = dom.DEFAULT_TRANSITION_CONFIG;
|
|
657
656
|
exports.Fragment = dom.Fragment;
|
|
@@ -659,18 +658,15 @@ exports.REF_ATTRIBUTE_NAME = dom.REF_ATTRIBUTE_NAME;
|
|
|
659
658
|
exports.XLINK_ATTRIBUTE_NAME = dom.XLINK_ATTRIBUTE_NAME;
|
|
660
659
|
exports.XMLNS_ATTRIBUTE_NAME = dom.XMLNS_ATTRIBUTE_NAME;
|
|
661
660
|
exports.addElementEvent = dom.addElementEvent;
|
|
662
|
-
exports.addNonChainedReturnCallNames = dom.addNonChainedReturnCallNames;
|
|
663
661
|
exports.applyStyles = dom.applyStyles;
|
|
664
662
|
exports.areDomNodesEqual = dom.areDomNodesEqual;
|
|
665
663
|
exports.checkElementVisibility = dom.checkElementVisibility;
|
|
666
664
|
exports.clearDelegatedEvents = dom.clearDelegatedEvents;
|
|
667
665
|
exports.clearDelegatedEventsDeep = dom.clearDelegatedEventsDeep;
|
|
668
666
|
exports.clearElementEvents = dom.clearElementEvents;
|
|
669
|
-
exports.createCall = dom.createCall;
|
|
670
667
|
exports.createInPlaceErrorMessageVNode = dom.createInPlaceErrorMessageVNode;
|
|
671
668
|
exports.createRef = dom.createRef;
|
|
672
669
|
exports.createStore = dom.createStore;
|
|
673
|
-
exports.createSyncCall = dom.createSyncCall;
|
|
674
670
|
exports.deepEquals = dom.deepEquals;
|
|
675
671
|
exports.dequery = dom.dequery;
|
|
676
672
|
exports.domNodeToVNode = dom.domNodeToVNode;
|
|
@@ -680,7 +676,6 @@ exports.getComponentInstance = dom.getComponentInstance;
|
|
|
680
676
|
exports.getDefaultDequeryOptions = dom.getDefaultDequeryOptions;
|
|
681
677
|
exports.getEventMap = dom.getEventMap;
|
|
682
678
|
exports.getMimeType = dom.getMimeType;
|
|
683
|
-
exports.getNonChainedReturnCallNames = dom.getNonChainedReturnCallNames;
|
|
684
679
|
exports.getRegisteredEventKeys = dom.getRegisteredEventKeys;
|
|
685
680
|
exports.getRegisteredEventTypes = dom.getRegisteredEventTypes;
|
|
686
681
|
exports.getRenderer = dom.getRenderer;
|
|
@@ -694,13 +689,11 @@ exports.isDequeryOptionsObject = dom.isDequeryOptionsObject;
|
|
|
694
689
|
exports.isHTML = dom.isHTML;
|
|
695
690
|
exports.isJSX = dom.isJSX;
|
|
696
691
|
exports.isMarkup = dom.isMarkup;
|
|
697
|
-
exports.isNonChainedReturnCall = dom.isNonChainedReturnCall;
|
|
698
692
|
exports.isRef = dom.isRef;
|
|
699
693
|
exports.isSVG = dom.isSVG;
|
|
700
694
|
exports.jsx = dom.jsx;
|
|
701
695
|
exports.jsxDEV = dom.jsxDEV;
|
|
702
696
|
exports.jsxs = dom.jsxs;
|
|
703
|
-
exports.mapArrayIndexAccess = dom.mapArrayIndexAccess;
|
|
704
697
|
exports.nsMap = dom.nsMap;
|
|
705
698
|
exports.observeUnmount = dom.observeUnmount;
|
|
706
699
|
exports.parseDOM = dom.parseDOM;
|
|
@@ -718,12 +711,9 @@ exports.renderInto = dom.renderInto;
|
|
|
718
711
|
exports.renderIsomorphicAsync = dom.renderIsomorphicAsync;
|
|
719
712
|
exports.renderIsomorphicSync = dom.renderIsomorphicSync;
|
|
720
713
|
exports.renderMarkup = dom.renderMarkup;
|
|
721
|
-
exports.renderNode = dom.renderNode;
|
|
722
714
|
exports.replaceDomWithVdom = dom.replaceDomWithVdom;
|
|
723
|
-
exports.resolveNodes = dom.resolveNodes;
|
|
724
715
|
exports.scrollHelper = dom.scrollHelper;
|
|
725
716
|
exports.shallowEquals = dom.shallowEquals;
|
|
726
|
-
exports.traverse = dom.traverse;
|
|
727
717
|
exports.unregisterComponent = dom.unregisterComponent;
|
|
728
718
|
exports.updateDom = dom.updateDom;
|
|
729
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-
|
|
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,
|
|
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-CDeQTFKH.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-CDeQTFKH.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
|
|
|
@@ -24,9 +24,14 @@ declare const areDomNodesEqual: (oldNode: Node, newNode: Node) => boolean;
|
|
|
24
24
|
* 1) Define a "valid" child type & utilities
|
|
25
25
|
********************************************************/
|
|
26
26
|
type ValidChild = string | number | boolean | null | undefined | VNode<VNodeAttributes>;
|
|
27
|
-
|
|
28
|
-
*
|
|
29
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Guarded entry point for DOM morphing.
|
|
29
|
+
*
|
|
30
|
+
* If the target element (or an ancestor) is already being morphed,
|
|
31
|
+
* the render is queued (latest-wins) and replayed after the active
|
|
32
|
+
* morph finishes. Morphs on unrelated subtrees proceed immediately
|
|
33
|
+
* without blocking - conflict-free parallel rendering.
|
|
34
|
+
*/
|
|
30
35
|
declare function updateDomWithVdom(parentElement: Element, newVDOM: RenderInput, globals: Globals): void;
|
|
31
36
|
/**
|
|
32
37
|
* Directly blow away all children in `parentElement` and create new DOM
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { M as createStore, h as createRef, $, r as isRef } from './dom-
|
|
2
|
-
export { C as CAPTURE_ONLY_EVENTS, a as CLASS_ATTRIBUTE_NAME, N as CallChainImpl,
|
|
3
|
-
export { m as mount, u as unmount } from './mount-
|
|
1
|
+
import { M as createStore, h as createRef, $, r as isRef } from './dom-CX5zLg8V.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-CX5zLg8V.mjs';
|
|
3
|
+
export { m as mount, u as unmount } from './mount-DFegBldg.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,26 @@
|
|
|
1
|
+
import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-CFCbo_Ua.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-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-BzhVVZDv.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-D8FySxD3.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-fWD6YfZv.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 { K as renderIsomorphicSync, A as registerComponent, x as observeUnmount, L as unregisterComponent } from './dom-A-Pu8krq.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-CTgrGJ9Y.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-BXmV6U78.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,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var dom = require('./dom-DB94Ex2q.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-C3iZtdv5.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-K2M0E_1X.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-Dvx2yVfY.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-BPxNxFa3.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;
|