defuss 3.4.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-B9wB4EIP.mjs +2460 -0
- package/dist/dom-BPxNxFa3.cjs +2578 -0
- package/dist/dom-BXmV6U78.cjs +2576 -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-C3iZtdv5.cjs +2577 -0
- package/dist/dom-CFCbo_Ua.mjs +2512 -0
- package/dist/dom-CFxrjHzc.cjs +2578 -0
- package/dist/dom-CTgrGJ9Y.cjs +2565 -0
- package/dist/dom-CX5zLg8V.mjs +2521 -0
- package/dist/dom-CdlMr6sT.mjs +2505 -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-Dvx2yVfY.cjs +2591 -0
- package/dist/dom-K2M0E_1X.mjs +2492 -0
- package/dist/dom-fWD6YfZv.cjs +2533 -0
- package/dist/index-CDeQTFKH.d.ts +1324 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +10 -5
- package/dist/index.mjs +3 -3
- package/dist/mount-B4QZvcXm.mjs +26 -0
- package/dist/mount-BOeNgYt6.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-CBSP2WPJ.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-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-DcZ4Nan_.mjs +26 -0
- package/dist/mount-Dgqpf8cj.mjs +26 -0
- package/dist/mount-DvAC8as-.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-n8GNKddq.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;
|
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, 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-
|
|
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, 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-
|
|
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,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-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-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-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-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,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;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-CdlMr6sT.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-Dftc-EIL.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-B9wB4EIP.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-CX5zLg8V.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-DO2wnJM2.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-BqGk3hq-.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-Bj9vnsTv.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-DNL22N3k.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-CFxrjHzc.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;
|