defuss 2.0.5 → 2.0.7
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-BHDjOwCH.cjs +2058 -0
- package/dist/dom-BM7yyeiL.cjs +2113 -0
- package/dist/dom-BS13a21g.mjs +1999 -0
- package/dist/dom-C97kq5qk.cjs +2056 -0
- package/dist/dom-CUosB5rS.mjs +2054 -0
- package/dist/dom-Cqzc2_-K.mjs +2015 -0
- package/dist/dom-DN8BPCn_.mjs +1997 -0
- package/dist/dom-DP77Lp5s.cjs +2054 -0
- package/dist/dom-Dh7tpDg6.mjs +1977 -0
- package/dist/dom-I-NMKeYP.cjs +2072 -0
- package/dist/dom-JFNzXTKt.mjs +2001 -0
- package/dist/index-B8pQcXQL.d.ts +1441 -0
- package/dist/index-DB0bpFun.d.ts +1441 -0
- package/dist/index.cjs +3 -1
- package/dist/index.d.cts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.mjs +2 -2
- package/dist/render/client.cjs +1 -1
- package/dist/render/client.d.cts +2 -2
- package/dist/render/client.d.ts +2 -2
- package/dist/render/client.mjs +2 -2
- package/dist/render/index.cjs +1 -1
- package/dist/render/index.d.cts +1 -1
- package/dist/render/index.d.ts +1 -1
- package/dist/render/index.mjs +1 -1
- package/dist/render/server.cjs +1 -1
- package/dist/render/server.d.cts +2 -2
- package/dist/render/server.d.ts +2 -2
- package/dist/render/server.mjs +2 -2
- package/package.json +4 -3
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var dom = require('./dom-
|
|
3
|
+
var dom = require('./dom-BM7yyeiL.cjs');
|
|
4
4
|
require('defuss-runtime');
|
|
5
5
|
|
|
6
6
|
const inDevMode = true;
|
|
@@ -355,6 +355,7 @@ exports.createStore = dom.createStore;
|
|
|
355
355
|
exports.createSubChain = dom.createSubChain;
|
|
356
356
|
exports.delayedAutoStart = dom.delayedAutoStart;
|
|
357
357
|
exports.dequery = dom.dequery;
|
|
358
|
+
exports.domNodeToVNode = dom.domNodeToVNode;
|
|
358
359
|
exports.emptyImpl = dom.emptyImpl;
|
|
359
360
|
exports.getAllFormValues = dom.getAllFormValues;
|
|
360
361
|
exports.getDefaultDequeryOptions = dom.getDefaultDequeryOptions;
|
|
@@ -363,6 +364,7 @@ exports.getMimeType = dom.getMimeType;
|
|
|
363
364
|
exports.getRenderer = dom.getRenderer;
|
|
364
365
|
exports.globalScopeDomApis = dom.globalScopeDomApis;
|
|
365
366
|
exports.handleLifecycleEventsForOnMount = dom.handleLifecycleEventsForOnMount;
|
|
367
|
+
exports.htmlStringToVNodes = dom.htmlStringToVNodes;
|
|
366
368
|
exports.isDequery = dom.isDequery;
|
|
367
369
|
exports.isDequeryOptionsObject = dom.isDequeryOptionsObject;
|
|
368
370
|
exports.isHTML = dom.isHTML;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-
|
|
2
|
-
export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-
|
|
1
|
+
import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-B8pQcXQL.js';
|
|
2
|
+
export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-B8pQcXQL.js';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
export { CSS };
|
|
5
5
|
|
|
@@ -52,6 +52,16 @@ declare function getEventMap(element: HTMLElement): Map<string, Set<EventListene
|
|
|
52
52
|
declare function addElementEvent(element: HTMLElement, eventType: string, handler: EventListener): void;
|
|
53
53
|
declare function removeElementEvent(element: HTMLElement, eventType: string, handler?: EventListener): void;
|
|
54
54
|
declare function clearElementEvents(element: HTMLElement): void;
|
|
55
|
+
/**
|
|
56
|
+
* Converts a DOM node to a VNode structure for use with updateDomWithVdom.
|
|
57
|
+
* This allows us to leverage the sophisticated partial update system even for Node inputs.
|
|
58
|
+
*/
|
|
59
|
+
declare function domNodeToVNode(node: Node): VNode<VNodeAttributes> | string;
|
|
60
|
+
/**
|
|
61
|
+
* Converts an HTML string to VNode structure for use with updateDomWithVdom.
|
|
62
|
+
* This allows markup strings to benefit from the intelligent partial update system.
|
|
63
|
+
*/
|
|
64
|
+
declare function htmlStringToVNodes(html: string, Parser: typeof DOMParser): (VNode<VNodeAttributes> | string)[];
|
|
55
65
|
|
|
56
66
|
type TranslationObject = {
|
|
57
67
|
[key: string]: string | VNode | TranslationObject;
|
|
@@ -205,4 +215,4 @@ declare const Suspense: ({ fallback, ref, children, class: _class, className, id
|
|
|
205
215
|
children: VNode<VNodeAttributes>[];
|
|
206
216
|
};
|
|
207
217
|
|
|
208
|
-
export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, getEventMap, getMimeType, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
|
|
218
|
+
export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, domNodeToVNode, getEventMap, getMimeType, htmlStringToVNodes, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-
|
|
2
|
-
export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-
|
|
1
|
+
import { Q as PersistenceProviderType, T as PersistenceProviderOptions, U as PersistenceProviderImpl, h as VNode, g as VNodeAttributes, R as RenderInput, G as Globals, N as NodeType, q as Props, n as VNodeChild, f as Ref } from './index-B8pQcXQL.js';
|
|
2
|
+
export { a4 as $, A as AllHTMLElements, C as CSSProperties, W as Call, Z as CallChainImpl, _ as CallChainImplThenable, p as Children, a2 as Dequery, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, ak as Listener, ai as MemoryStorage, ah as MiddlewareFn, X as NonChainedReturnCallNames, P as ParentElementInput, b as ParentElementInputAsync, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, al as Store, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, aj as WebStorage, a9 as createCall, aa as createGetterSetterCall, t as createInPlaceErrorMessageVNode, O as createRef, am as createStore, ab as createSubChain, a1 as delayedAutoStart, a3 as dequery, Y as emptyImpl, a0 as getAllFormValues, a7 as getDefaultDequeryOptions, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, a5 as isDequery, a6 as isDequeryOptionsObject, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, a8 as mapArrayIndexAccess, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync, ae as renderNode, af as resolveNodes, ad as runWithTimeGuard, $ as scrollHelper, ac as subChainForNextAwait, ag as traverse } from './index-B8pQcXQL.js';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
export { CSS };
|
|
5
5
|
|
|
@@ -52,6 +52,16 @@ declare function getEventMap(element: HTMLElement): Map<string, Set<EventListene
|
|
|
52
52
|
declare function addElementEvent(element: HTMLElement, eventType: string, handler: EventListener): void;
|
|
53
53
|
declare function removeElementEvent(element: HTMLElement, eventType: string, handler?: EventListener): void;
|
|
54
54
|
declare function clearElementEvents(element: HTMLElement): void;
|
|
55
|
+
/**
|
|
56
|
+
* Converts a DOM node to a VNode structure for use with updateDomWithVdom.
|
|
57
|
+
* This allows us to leverage the sophisticated partial update system even for Node inputs.
|
|
58
|
+
*/
|
|
59
|
+
declare function domNodeToVNode(node: Node): VNode<VNodeAttributes> | string;
|
|
60
|
+
/**
|
|
61
|
+
* Converts an HTML string to VNode structure for use with updateDomWithVdom.
|
|
62
|
+
* This allows markup strings to benefit from the intelligent partial update system.
|
|
63
|
+
*/
|
|
64
|
+
declare function htmlStringToVNodes(html: string, Parser: typeof DOMParser): (VNode<VNodeAttributes> | string)[];
|
|
55
65
|
|
|
56
66
|
type TranslationObject = {
|
|
57
67
|
[key: string]: string | VNode | TranslationObject;
|
|
@@ -205,4 +215,4 @@ declare const Suspense: ({ fallback, ref, children, class: _class, className, id
|
|
|
205
215
|
children: VNode<VNodeAttributes>[];
|
|
206
216
|
};
|
|
207
217
|
|
|
208
|
-
export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, getEventMap, getMimeType, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
|
|
218
|
+
export { Async, type AsyncProps, type AsyncState, type AsyncStateRef, Globals, type I18nStore, NodeType, type OnHandleRouteChangeFn, type OnLanguageChangeListener, type OnRouteChangeFn, PersistenceProviderImpl, PersistenceProviderOptions, PersistenceProviderType, Props, Redirect, type RedirectProps, Ref, RenderInput, type Replacements, Route, type RouteHandler, type RouteParams, type RouteProps, type RouteRegistration, type RouteRequest, Router, type RouterConfig, RouterSlot, RouterSlotId, type RouterSlotProps, type RouterStrategy, Suspense, type TokenizedPath, Trans, type TransProps, type TranslationObject, type Translations, VNode, VNodeAttributes, VNodeChild, type ValidChild, addElementEvent, areDomNodesEqual, checkElementVisibility, clearElementEvents, createI18n, domNodeToVNode, getEventMap, getMimeType, htmlStringToVNodes, i18n, inDevMode, isHTML, isMarkup, isSVG, matchRouteRegistrations, parseDOM, processAllFormElements, removeElementEvent, renderMarkup, replaceDomWithVdom, setupRouter, tokenizePath, updateDom, updateDomWithVdom, waitForDOM, webstorage };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as createStore, m as isServer, k as createRef, $, f as isRef } from './dom-
|
|
2
|
-
export {
|
|
1
|
+
import { l as createStore, m as isServer, k as createRef, $, f as isRef } from './dom-CUosB5rS.mjs';
|
|
2
|
+
export { J as Call, L as CallChainImpl, M as CallChainImplThenable, F as Fragment, N as NonChainedReturnCallNames, D as addElementEvent, n as areDomNodesEqual, B as checkElementVisibility, G as clearElementEvents, W as createCall, X as createGetterSetterCall, c as createInPlaceErrorMessageVNode, Y as createSubChain, Q as delayedAutoStart, R as dequery, H as domNodeToVNode, K as emptyImpl, P as getAllFormValues, U as getDefaultDequeryOptions, C as getEventMap, z as getMimeType, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, I as htmlStringToVNodes, S as isDequery, T as isDequeryOptionsObject, v as isHTML, i as isJSX, x as isMarkup, t as isSVG, j as jsx, e as jsxDEV, d as jsxs, V as mapArrayIndexAccess, o as observeUnmount, s as parseDOM, A as processAllFormElements, E as removeElementEvent, a as renderIsomorphicAsync, r as renderIsomorphicSync, y as renderMarkup, a0 as renderNode, q as replaceDomWithVdom, a1 as resolveNodes, _ as runWithTimeGuard, O as scrollHelper, Z as subChainForNextAwait, a2 as traverse, u as updateDom, p as updateDomWithVdom, w as waitForDOM, a3 as webstorage } from './dom-CUosB5rS.mjs';
|
|
3
3
|
import 'defuss-runtime';
|
|
4
4
|
|
|
5
5
|
const inDevMode = true;
|
package/dist/render/client.cjs
CHANGED
package/dist/render/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-
|
|
2
|
-
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-
|
|
1
|
+
import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-B8pQcXQL.js';
|
|
2
|
+
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
export { CSS };
|
|
5
5
|
|
package/dist/render/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-
|
|
2
|
-
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-
|
|
1
|
+
import { R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync, h as VNode } from '../index-B8pQcXQL.js';
|
|
2
|
+
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
export { CSS };
|
|
5
5
|
|
package/dist/render/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as globalScopeDomApis, r as renderIsomorphicSync, a as renderIsomorphicAsync, o as observeUnmount } from '../dom-
|
|
2
|
-
export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs } from '../dom-
|
|
1
|
+
import { b as globalScopeDomApis, r as renderIsomorphicSync, a as renderIsomorphicAsync, o as observeUnmount } from '../dom-CUosB5rS.mjs';
|
|
2
|
+
export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs } from '../dom-CUosB5rS.mjs';
|
|
3
3
|
import 'defuss-runtime';
|
|
4
4
|
|
|
5
5
|
const renderSync = (virtualNode, parentDomElement = document.documentElement) => {
|
package/dist/render/index.cjs
CHANGED
package/dist/render/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-
|
|
1
|
+
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
3
|
export { CSS };
|
package/dist/render/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-
|
|
1
|
+
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, G as Globals, K as KeyFrameProperties, N as NodeType, P as ParentElementInput, b as ParentElementInputAsync, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, R as RenderInput, r as RenderNodeInput, a as RenderResult, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
|
|
2
2
|
import * as CSS from 'csstype';
|
|
3
3
|
export { CSS };
|
package/dist/render/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount, a as renderIsomorphicAsync, r as renderIsomorphicSync } from '../dom-
|
|
1
|
+
export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, b as globalScopeDomApis, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount, a as renderIsomorphicAsync, r as renderIsomorphicSync } from '../dom-CUosB5rS.mjs';
|
|
2
2
|
import 'defuss-runtime';
|
package/dist/render/server.cjs
CHANGED
package/dist/render/server.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-
|
|
2
|
-
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-
|
|
1
|
+
import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-B8pQcXQL.js';
|
|
2
|
+
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
export { CSS };
|
|
5
5
|
|
package/dist/render/server.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-
|
|
2
|
-
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-
|
|
1
|
+
import { G as Globals, R as RenderInput, P as ParentElementInput, a as RenderResult, b as ParentElementInputAsync } from '../index-B8pQcXQL.js';
|
|
2
|
+
export { A as AllHTMLElements, C as CSSProperties, p as Children, D as DomAbstractionImpl, F as FontFaceProperties, I as Fragment, K as KeyFrameProperties, N as NodeType, q as Props, f as Ref, d as RefUpdateFn, e as RefUpdateRenderFn, c as RefUpdateRenderFnInput, r as RenderNodeInput, s as RenderResultNode, S as SyncRenderInput, y as SyncRenderResult, V as VAttributes, h as VNode, g as VNodeAttributes, n as VNodeChild, o as VNodeChildren, j as VNodeKey, m as VNodeRef, l as VNodeRefCallback, k as VNodeRefObject, i as VNodeType, t as createInPlaceErrorMessageVNode, O as createRef, x as getRenderer, E as globalScopeDomApis, w as handleLifecycleEventsForOnMount, H as isJSX, M as isRef, u as jsx, L as jsxDEV, J as jsxs, v as observeUnmount, B as renderIsomorphicAsync, z as renderIsomorphicSync } from '../index-B8pQcXQL.js';
|
|
3
3
|
import * as CSS from 'csstype';
|
|
4
4
|
export { CSS };
|
|
5
5
|
|
package/dist/render/server.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as HappyDom from 'happy-dom';
|
|
2
|
-
import { r as renderIsomorphicSync, a as renderIsomorphicAsync, b as globalScopeDomApis } from '../dom-
|
|
3
|
-
export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount } from '../dom-
|
|
2
|
+
import { r as renderIsomorphicSync, a as renderIsomorphicAsync, b as globalScopeDomApis } from '../dom-CUosB5rS.mjs';
|
|
3
|
+
export { F as Fragment, c as createInPlaceErrorMessageVNode, k as createRef, g as getRenderer, h as handleLifecycleEventsForOnMount, i as isJSX, f as isRef, j as jsx, e as jsxDEV, d as jsxs, o as observeUnmount } from '../dom-CUosB5rS.mjs';
|
|
4
4
|
import serializeHtml from 'w3c-xmlserializer';
|
|
5
5
|
import 'defuss-runtime';
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "defuss",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -84,14 +84,15 @@
|
|
|
84
84
|
"pkgroll": "^2.6.0",
|
|
85
85
|
"tsx": "^4.19.2",
|
|
86
86
|
"typescript": "^5.7.2",
|
|
87
|
-
"vitest": "^3.1.3"
|
|
87
|
+
"vitest": "^3.1.3",
|
|
88
|
+
"jsdom": "^26.1.0"
|
|
88
89
|
},
|
|
89
90
|
"dependencies": {
|
|
90
91
|
"@types/w3c-xmlserializer": "^2.0.4",
|
|
91
92
|
"csstype": "^3.1.3",
|
|
92
93
|
"happy-dom": "^15.11.7",
|
|
93
94
|
"w3c-xmlserializer": "^5.0.0",
|
|
94
|
-
"defuss-runtime": "1.0.
|
|
95
|
+
"defuss-runtime": "1.0.3"
|
|
95
96
|
},
|
|
96
97
|
"scripts": {
|
|
97
98
|
"clean": "rm -rf ./coverage && rm -rf ./node_modules/.pnpm && rm -rf ./node_modules/.vite",
|