incajs 0.0.20 → 0.0.22
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/README.md +1 -1
- package/dist/callbacks.d.mts +9 -9
- package/dist/chunks/hooks-TbLjfN0c.js +417 -0
- package/dist/chunks/rendererCore-BUNTDvYu.js +110 -0
- package/dist/document.d.mts +11 -0
- package/dist/element/eventHandlers.d.mts +1 -1
- package/dist/element/handle.d.mts +14 -4
- package/dist/element/types.d.mts +22 -5
- package/dist/eventTarget.d.mts +5 -4
- package/dist/events.d.mts +49 -17
- package/dist/index.d.mts +2 -2
- package/dist/index.js +1 -3
- package/dist/native.d.mts +9 -4
- package/dist/rendererCore.d.mts +1 -1
- package/dist/rendererCore.js +3 -4
- package/dist/types.d.mts +235 -25
- package/dist/vue/nodeOps.d.mts +1 -1
- package/dist/vue/patchProp.d.mts +2 -2
- package/dist/vue.js +55 -56
- package/dist/window.d.mts +8 -8
- package/package.json +1 -1
- package/dist/chunks/handle-DdYIkUcm.js +0 -215
- package/dist/chunks/hooks-D1NFQN8Q.js +0 -205
- package/dist/chunks/rendererCore-NnTAUL80.js +0 -110
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { C as e, D as t, E as n, N as r, P as i, S as a, T as o, _ as s, a as c, b as l, c as u, d, f, g as p, h as m, i as h, j as g, k as _, l as v, m as y, n as b, o as x, p as S, r as C, s as w, t as T, u as E, v as D, w as O, x as k, y as A } from "./hooks-D1NFQN8Q.js";
|
|
2
|
-
import { n as j } from "./handle-DdYIkUcm.js";
|
|
3
|
-
//#region \0rolldown/runtime.js
|
|
4
|
-
var M = Object.defineProperty, N = (e, t) => {
|
|
5
|
-
let n = {};
|
|
6
|
-
for (var r in e) M(n, r, {
|
|
7
|
-
get: e[r],
|
|
8
|
-
enumerable: !0
|
|
9
|
-
});
|
|
10
|
-
return t || M(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
13
|
-
//#region src/element/shadowTree.mts
|
|
14
|
-
function P(e) {
|
|
15
|
-
let t = C(e);
|
|
16
|
-
return j(t, "element", e);
|
|
17
|
-
}
|
|
18
|
-
function F(e) {
|
|
19
|
-
let t = C("text");
|
|
20
|
-
return D(t, "value", e), i({
|
|
21
|
-
kind: "text",
|
|
22
|
-
parent: null,
|
|
23
|
-
text: e
|
|
24
|
-
}, t);
|
|
25
|
-
}
|
|
26
|
-
function I() {
|
|
27
|
-
let e = C("div");
|
|
28
|
-
return A(e, "display", "none"), j(e, "comment");
|
|
29
|
-
}
|
|
30
|
-
function L(e, t) {
|
|
31
|
-
D(e.__node_id, "value", t), e.text = t;
|
|
32
|
-
}
|
|
33
|
-
function R(e, t) {
|
|
34
|
-
for (let t of e.children.splice(0)) h(t.__node_id), g(t), t.parent = null;
|
|
35
|
-
if (!t) return;
|
|
36
|
-
let n = F(t);
|
|
37
|
-
b(e.__node_id, n.__node_id), n.parent = e, e.children.push(n);
|
|
38
|
-
}
|
|
39
|
-
function z(e) {
|
|
40
|
-
let t = e.parent;
|
|
41
|
-
if (!t) return;
|
|
42
|
-
let n = t.children.indexOf(e);
|
|
43
|
-
n !== -1 && t.children.splice(n, 1), e.parent = null;
|
|
44
|
-
}
|
|
45
|
-
function B(e) {
|
|
46
|
-
e.parent && f(e.parent.__node_id, e.__node_id), z(e);
|
|
47
|
-
}
|
|
48
|
-
function V(e, t, n) {
|
|
49
|
-
if (n === e && e.parent === t) return;
|
|
50
|
-
B(e);
|
|
51
|
-
let r = n ? t.children.indexOf(n) : -1;
|
|
52
|
-
u(t.__node_id, e.__node_id, n && r !== -1 ? n.__node_id : null), r === -1 ? t.children.push(e) : t.children.splice(r, 0, e), e.parent = t;
|
|
53
|
-
}
|
|
54
|
-
function H(e) {
|
|
55
|
-
z(e), h(e.__node_id), g(e);
|
|
56
|
-
}
|
|
57
|
-
function U(e) {
|
|
58
|
-
return e.parent;
|
|
59
|
-
}
|
|
60
|
-
function W(e) {
|
|
61
|
-
let t = e.parent;
|
|
62
|
-
if (!t) return null;
|
|
63
|
-
let n = t.children.indexOf(e);
|
|
64
|
-
return t.children[n + 1] ?? null;
|
|
65
|
-
}
|
|
66
|
-
//#endregion
|
|
67
|
-
//#region src/rendererCore.mts
|
|
68
|
-
var G = /* @__PURE__ */ N({
|
|
69
|
-
addEventListener: () => k,
|
|
70
|
-
appendChild: () => b,
|
|
71
|
-
blur: () => a,
|
|
72
|
-
click: () => e,
|
|
73
|
-
createCommentNode: () => I,
|
|
74
|
-
createElementNode: () => P,
|
|
75
|
-
createEventTarget: () => l,
|
|
76
|
-
createIncaElement: () => j,
|
|
77
|
-
createNode: () => C,
|
|
78
|
-
createTextNode: () => F,
|
|
79
|
-
destroyNode: () => h,
|
|
80
|
-
dispatchEvent: () => O,
|
|
81
|
-
focus: () => o,
|
|
82
|
-
focusedNode: () => c,
|
|
83
|
-
getAttribute: () => x,
|
|
84
|
-
holdNode: () => w,
|
|
85
|
-
insert: () => V,
|
|
86
|
-
insertBefore: () => u,
|
|
87
|
-
isDestroyed: () => _,
|
|
88
|
-
latestEventId: () => n,
|
|
89
|
-
layoutOf: () => v,
|
|
90
|
-
nextSibling: () => W,
|
|
91
|
-
parentNode: () => U,
|
|
92
|
-
releaseNode: () => E,
|
|
93
|
-
releaseWhenCollected: () => r,
|
|
94
|
-
remove: () => H,
|
|
95
|
-
removeAttribute: () => d,
|
|
96
|
-
removeChild: () => f,
|
|
97
|
-
removeEventListener: () => t,
|
|
98
|
-
removeStyle: () => S,
|
|
99
|
-
rootNodeId: () => y,
|
|
100
|
-
scrollIntoViewNode: () => m,
|
|
101
|
-
scrollNode: () => p,
|
|
102
|
-
scrollOf: () => s,
|
|
103
|
-
setAttribute: () => D,
|
|
104
|
-
setElementText: () => R,
|
|
105
|
-
setStyle: () => A,
|
|
106
|
-
setText: () => L,
|
|
107
|
-
window: () => T
|
|
108
|
-
});
|
|
109
|
-
//#endregion
|
|
110
|
-
export { V as a, H as c, F as i, R as l, I as n, W as o, P as r, U as s, G as t, L as u };
|