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.
Files changed (98) hide show
  1. package/dist/dom-A-Pu8krq.mjs +2524 -0
  2. package/dist/dom-B-9C61SZ.cjs +2575 -0
  3. package/dist/dom-B9wB4EIP.mjs +2460 -0
  4. package/dist/dom-BGydgDUT.cjs +2522 -0
  5. package/dist/dom-BHKkCOeC.mjs +2492 -0
  6. package/dist/dom-BJ6DNN84.cjs +2585 -0
  7. package/dist/dom-BLB_aXSg.mjs +2540 -0
  8. package/dist/dom-BPxNxFa3.cjs +2578 -0
  9. package/dist/dom-BXmV6U78.cjs +2576 -0
  10. package/dist/dom-BcQDGNER.cjs +2597 -0
  11. package/dist/dom-BcewbaMv.cjs +2623 -0
  12. package/dist/dom-Bhu0rrF-.mjs +2501 -0
  13. package/dist/dom-Bj9vnsTv.mjs +2505 -0
  14. package/dist/dom-BqGk3hq-.mjs +2503 -0
  15. package/dist/dom-BzhVVZDv.cjs +2594 -0
  16. package/dist/dom-C00yT3-P.mjs +2502 -0
  17. package/dist/dom-C3iZtdv5.cjs +2577 -0
  18. package/dist/dom-C85TOhdz.mjs +2439 -0
  19. package/dist/dom-CFCbo_Ua.mjs +2512 -0
  20. package/dist/dom-CFxrjHzc.cjs +2578 -0
  21. package/dist/dom-CGQ6W4so.cjs +2617 -0
  22. package/dist/dom-CNuz9a59.mjs +2460 -0
  23. package/dist/dom-CPpNq1y5.mjs +2514 -0
  24. package/dist/dom-CTgrGJ9Y.cjs +2565 -0
  25. package/dist/dom-CX5zLg8V.mjs +2521 -0
  26. package/dist/dom-C_gMp8Gb.cjs +2629 -0
  27. package/dist/dom-CdlMr6sT.mjs +2505 -0
  28. package/dist/dom-D6BCnlWV.cjs +2533 -0
  29. package/dist/dom-D8FySxD3.cjs +2585 -0
  30. package/dist/dom-D8PgCQGz.cjs +2574 -0
  31. package/dist/dom-DB94Ex2q.cjs +2533 -0
  32. package/dist/dom-DNL22N3k.mjs +2504 -0
  33. package/dist/dom-DO2wnJM2.mjs +2518 -0
  34. package/dist/dom-Dftc-EIL.mjs +2460 -0
  35. package/dist/dom-Drn9idYX.cjs +2598 -0
  36. package/dist/dom-Dtb9ntkd.mjs +2544 -0
  37. package/dist/dom-Dvx2yVfY.cjs +2591 -0
  38. package/dist/dom-K2M0E_1X.mjs +2492 -0
  39. package/dist/dom-TG_CZFXn.mjs +2532 -0
  40. package/dist/dom-fWD6YfZv.cjs +2533 -0
  41. package/dist/index-CDeQTFKH.d.ts +1324 -0
  42. package/dist/index-CQF_ouqU.d.ts +1324 -0
  43. package/dist/index.cjs +2 -12
  44. package/dist/index.d.ts +10 -5
  45. package/dist/index.mjs +3 -3
  46. package/dist/mount-B1I95Cnc.cjs +29 -0
  47. package/dist/mount-B4QZvcXm.mjs +26 -0
  48. package/dist/mount-BED_P6fK.cjs +29 -0
  49. package/dist/mount-BOeNgYt6.cjs +29 -0
  50. package/dist/mount-BQlHEvrh.cjs +29 -0
  51. package/dist/mount-BTLvg_yc.cjs +29 -0
  52. package/dist/mount-BYIUeYd5.cjs +29 -0
  53. package/dist/mount-BhfG3JR2.mjs +26 -0
  54. package/dist/mount-Bwf1zsu_.cjs +29 -0
  55. package/dist/mount-BzkAnkiS.cjs +29 -0
  56. package/dist/mount-CBSP2WPJ.cjs +29 -0
  57. package/dist/mount-CDq5FRKR.cjs +29 -0
  58. package/dist/mount-CFRPh_sW.cjs +29 -0
  59. package/dist/mount-COZliSb8.cjs +29 -0
  60. package/dist/mount-CPxgRm2g.mjs +26 -0
  61. package/dist/mount-CWIEWD2-.mjs +26 -0
  62. package/dist/mount-CfjlPISn.cjs +29 -0
  63. package/dist/mount-CqFXb-CG.cjs +29 -0
  64. package/dist/mount-D-ZCjE5u.mjs +26 -0
  65. package/dist/mount-DA1GR9QJ.mjs +26 -0
  66. package/dist/mount-DDyiuG0r.mjs +26 -0
  67. package/dist/mount-DFegBldg.mjs +26 -0
  68. package/dist/mount-DNfhKcww.mjs +26 -0
  69. package/dist/mount-DP7SPKxK.mjs +26 -0
  70. package/dist/mount-DWJFcCD1.mjs +26 -0
  71. package/dist/mount-DcZ4Nan_.mjs +26 -0
  72. package/dist/mount-Dgqpf8cj.mjs +26 -0
  73. package/dist/mount-DhCVjXJ8.cjs +29 -0
  74. package/dist/mount-DvAC8as-.mjs +26 -0
  75. package/dist/mount-DvMxZoXB.mjs +26 -0
  76. package/dist/mount-FWuAF8K9.mjs +26 -0
  77. package/dist/mount-WR8eo8cq.cjs +29 -0
  78. package/dist/mount-WUpdjOeb.mjs +26 -0
  79. package/dist/mount-eqsxARBo.mjs +26 -0
  80. package/dist/mount-gn0LKJBv.cjs +29 -0
  81. package/dist/mount-i56Anzc3.cjs +29 -0
  82. package/dist/mount-iX-S7xUT.mjs +26 -0
  83. package/dist/mount-kkX1MJ-f.mjs +26 -0
  84. package/dist/mount-n8GNKddq.cjs +29 -0
  85. package/dist/mount-oYvkXOMe.cjs +29 -0
  86. package/dist/render/client.cjs +2 -2
  87. package/dist/render/client.d.ts +2 -2
  88. package/dist/render/client.mjs +3 -3
  89. package/dist/render/dev/index.cjs +1 -1
  90. package/dist/render/dev/index.d.ts +1 -1
  91. package/dist/render/dev/index.mjs +1 -1
  92. package/dist/render/index.cjs +2 -2
  93. package/dist/render/index.d.ts +2 -2
  94. package/dist/render/index.mjs +2 -2
  95. package/dist/render/server.cjs +2 -2
  96. package/dist/render/server.d.ts +2 -2
  97. package/dist/render/server.mjs +3 -3
  98. package/package.json +1 -1
@@ -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 { L as renderIsomorphicSync, B as registerComponent, y as observeUnmount, M as unregisterComponent } from './dom-Dtb9ntkd.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-BHKkCOeC.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,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,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-B-9C61SZ.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-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,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-CPpNq1y5.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-BLB_aXSg.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-CGQ6W4so.cjs');
4
+
5
+ function mount(container, Component, initialProps) {
6
+ while (container.firstChild) {
7
+ container.removeChild(container.firstChild);
8
+ }
9
+ const vnode = Component(initialProps);
10
+ dom.renderIsomorphicSync(vnode, container, globalThis);
11
+ dom.registerComponent(
12
+ container,
13
+ Component,
14
+ { ...initialProps }
15
+ );
16
+ if (container.parentNode) {
17
+ dom.observeUnmount(container, () => dom.unregisterComponent(container));
18
+ }
19
+ return container;
20
+ }
21
+ function unmount(container) {
22
+ dom.unregisterComponent(container);
23
+ while (container.firstChild) {
24
+ container.removeChild(container.firstChild);
25
+ }
26
+ }
27
+
28
+ exports.mount = mount;
29
+ exports.unmount = unmount;
@@ -0,0 +1,26 @@
1
+ import { L as renderIsomorphicSync, B as registerComponent, y as observeUnmount, M as unregisterComponent } from './dom-TG_CZFXn.mjs';
2
+
3
+ function mount(container, Component, initialProps) {
4
+ while (container.firstChild) {
5
+ container.removeChild(container.firstChild);
6
+ }
7
+ const vnode = Component(initialProps);
8
+ renderIsomorphicSync(vnode, container, globalThis);
9
+ registerComponent(
10
+ container,
11
+ Component,
12
+ { ...initialProps }
13
+ );
14
+ if (container.parentNode) {
15
+ observeUnmount(container, () => unregisterComponent(container));
16
+ }
17
+ return container;
18
+ }
19
+ function unmount(container) {
20
+ unregisterComponent(container);
21
+ while (container.firstChild) {
22
+ container.removeChild(container.firstChild);
23
+ }
24
+ }
25
+
26
+ export { mount as m, unmount as u };
@@ -0,0 +1,26 @@
1
+ import { J as renderIsomorphicSync, z as registerComponent, w as observeUnmount, K as unregisterComponent } from './dom-C00yT3-P.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;
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var dom = require('./dom-D8PgCQGz.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-Bhu0rrF-.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-C85TOhdz.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-Drn9idYX.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-BGydgDUT.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;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var dom = require('../dom-Bmr_Yrhk.cjs');
4
- var mount = require('../mount-Cp5f2rYC.cjs');
3
+ var dom = require('../dom-BzhVVZDv.cjs');
4
+ var mount = require('../mount-BOeNgYt6.cjs');
5
5
  require('defuss-runtime');
6
6
 
7
7
  const renderSync = (virtualNode, parentDomElement = document.documentElement) => {
@@ -1,5 +1,5 @@
1
- import { W as VNode, R as RenderInput, P as ParentElementInputAsync, a as RenderResult, b as ParentElementInput } from '../index-CTOR1BhY.js';
2
- export { A as AllHTMLElements, c as AsyncDefussChild, d as AsyncFC, e as AsyncFunctionComponent, C as CLASS_ATTRIBUTE_NAME, f as CSSProperties, g as Children, D as DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE, h as DEFAULT_TRANSITION_CONFIG, i as DOMElement, j as DefussChild, k as DefussChildren, l as DefussClassValue, m as DefussKey, n as DomAbstractionImpl, E as ElementProps, F as FC, o as FontFaceProperties, p as Fragment, q as FunctionComponent, G as Globals, J as JsxRuntimeHookFn, r as JsxSourceInfo, K as KeyFrameProperties, M as Maybe, s as MountHandler, N as NodeType, O as OneOrMany, t as Props, u as REF_ATTRIBUTE_NAME, v as Ref, w as RefUpdateFn, x as RefUpdateRenderFn, y as RefUpdateRenderFnInput, z as RenderNodeInput, B as RenderResultNode, S as SyncRenderInput, H as SyncRenderResult, T as TransitionConfig, I as TransitionStyles, L as TransitionType, Q as TransitionsEasing, U as UnmountHandler, V as VAttributes, X as VNodeAttributes, Y as VNodeChild, Z as VNodeChildren, _ as VNodeKey, $ as VNodeRef, a0 as VNodeRefCallback, a1 as VNodeRefObject, a2 as VNodeType, a3 as XLINK_ATTRIBUTE_NAME, a4 as XMLNS_ATTRIBUTE_NAME, a5 as applyStyles, a6 as createInPlaceErrorMessageVNode, a7 as createRef, a8 as getRenderer, a9 as getTransitionStyles, aa as globalScopeDomApis, ab as handleLifecycleEventsForOnMount, ac as isJSX, ad as isRef, ae as jsx, af as jsxDEV, ag as jsxs, ah as nsMap, ai as observeUnmount, aj as performTransition, ak as renderInto, al as renderIsomorphicAsync, am as renderIsomorphicSync, an as updateDom } from '../index-CTOR1BhY.js';
1
+ import { W as VNode, R as RenderInput, P as ParentElementInputAsync, a as RenderResult, b as ParentElementInput } from '../index-CDeQTFKH.js';
2
+ export { A as AllHTMLElements, c as AsyncDefussChild, d as AsyncFC, e as AsyncFunctionComponent, C as CLASS_ATTRIBUTE_NAME, f as CSSProperties, g as Children, D as DANGEROUSLY_SET_INNER_HTML_ATTRIBUTE, h as DEFAULT_TRANSITION_CONFIG, i as DOMElement, j as DefussChild, k as DefussChildren, l as DefussClassValue, m as DefussKey, n as DomAbstractionImpl, E as ElementProps, F as FC, o as FontFaceProperties, p as Fragment, q as FunctionComponent, G as Globals, J as JsxRuntimeHookFn, r as JsxSourceInfo, K as KeyFrameProperties, M as Maybe, s as MountHandler, N as NodeType, O as OneOrMany, t as Props, u as REF_ATTRIBUTE_NAME, v as Ref, w as RefUpdateFn, x as RefUpdateRenderFn, y as RefUpdateRenderFnInput, z as RenderNodeInput, B as RenderResultNode, S as SyncRenderInput, H as SyncRenderResult, T as TransitionConfig, I as TransitionStyles, L as TransitionType, Q as TransitionsEasing, U as UnmountHandler, V as VAttributes, X as VNodeAttributes, Y as VNodeChild, Z as VNodeChildren, _ as VNodeKey, $ as VNodeRef, a0 as VNodeRefCallback, a1 as VNodeRefObject, a2 as VNodeType, a3 as XLINK_ATTRIBUTE_NAME, a4 as XMLNS_ATTRIBUTE_NAME, a5 as applyStyles, a6 as createInPlaceErrorMessageVNode, a7 as createRef, a8 as getRenderer, a9 as getTransitionStyles, aa as globalScopeDomApis, ab as handleLifecycleEventsForOnMount, ac as isJSX, ad as isRef, ae as jsx, af as jsxDEV, ag as jsxs, ah as nsMap, ai as observeUnmount, aj as performTransition, ak as renderInto, al as renderIsomorphicAsync, am as renderIsomorphicSync, 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 './index.js';
4
4
  import 'csstype';
5
5
 
@@ -1,6 +1,6 @@
1
- import { x as parseEventPropName, A as registerDelegatedEvent, w as observeUnmount, n as globalScopeDomApis, I as renderIsomorphicAsync, J as renderIsomorphicSync } from '../dom-DoTbNGQw.mjs';
2
- export { C as CAPTURE_ONLY_EVENTS, a as CLASS_ATTRIBUTE_NAME, 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, d as applyStyles, e as clearDelegatedEvents, f as clearDelegatedEventsDeep, g as createInPlaceErrorMessageVNode, h as createRef, i as getComponentInstance, j as getRegisteredEventKeys, k as getRegisteredEventTypes, l as getRenderer, m as getTransitionStyles, o as handleLifecycleEventsForOnMount, p as isComponentRoot, q as isJSX, r as isRef, s as jsx, t as jsxDEV, u as jsxs, v as nsMap, y as performTransition, z as registerComponent, B as removeDelegatedEvent, E as removeDelegatedEventByKey, H as renderInto, K as unregisterComponent, L as updateDom } from '../dom-DoTbNGQw.mjs';
3
- export { m as mount, u as unmount } from '../mount-JuZdCt-y.mjs';
1
+ import { x as parseEventPropName, A as registerDelegatedEvent, w as observeUnmount, n as globalScopeDomApis, I as renderIsomorphicAsync, J as renderIsomorphicSync } from '../dom-CX5zLg8V.mjs';
2
+ export { C as CAPTURE_ONLY_EVENTS, a as CLASS_ATTRIBUTE_NAME, 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, d as applyStyles, e as clearDelegatedEvents, f as clearDelegatedEventsDeep, g as createInPlaceErrorMessageVNode, h as createRef, i as getComponentInstance, j as getRegisteredEventKeys, k as getRegisteredEventTypes, l as getRenderer, m as getTransitionStyles, o as handleLifecycleEventsForOnMount, p as isComponentRoot, q as isJSX, r as isRef, s as jsx, t as jsxDEV, u as jsxs, v as nsMap, y as performTransition, z as registerComponent, B as removeDelegatedEvent, E as removeDelegatedEventByKey, H as renderInto, K as unregisterComponent, L as updateDom } 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 renderSync = (virtualNode, parentDomElement = document.documentElement) => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var dom = require('../../dom-Bmr_Yrhk.cjs');
3
+ var dom = require('../../dom-BzhVVZDv.cjs');
4
4
  require('defuss-runtime');
5
5
 
6
6