incajs 0.0.18 → 0.0.19
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/chunks/{handle-6SBsiUWz.js → handle-C_4KtGsE.js} +1 -1
- package/dist/chunks/{hooks-BgB7lzTv.js → hooks-COUJ5IPe.js} +19 -15
- package/dist/chunks/{rendererCore-DEtME8eI.js → rendererCore-Bu6a8hAp.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/rendererCore.js +3 -3
- package/dist/types.d.mts +12 -11
- package/dist/vue.js +3 -3
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, C as t, M as n, O as r, P as i, S as a, T as o, _ as s, a as c, b as l, g as u, h as d, k as f, l as p, o as m, v as h } from "./hooks-
|
|
1
|
+
import { A as e, C as t, M as n, O as r, P as i, S as a, T as o, _ as s, a as c, b as l, g as u, h as d, k as f, l as p, o as m, v as h } from "./hooks-COUJ5IPe.js";
|
|
2
2
|
//#region src/element/eventHandlers.mts
|
|
3
3
|
var g = [
|
|
4
4
|
"auxclick",
|
|
@@ -69,15 +69,18 @@ function x(e) {
|
|
|
69
69
|
for (let t of e) b(t);
|
|
70
70
|
}
|
|
71
71
|
var S = (e, t, n) => `${e}:${t}:${n === !0}`;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
72
|
+
Object.defineProperty(globalThis, "__inca_released__", {
|
|
73
|
+
value: (e, t) => {
|
|
74
|
+
let n, r = !1;
|
|
75
|
+
for (let e of t) try {
|
|
76
|
+
x([e]);
|
|
77
|
+
} catch (e) {
|
|
78
|
+
r || (n = e), r = !0;
|
|
79
|
+
}
|
|
80
|
+
if (f(e), r) throw n;
|
|
81
|
+
},
|
|
82
|
+
configurable: !0
|
|
83
|
+
});
|
|
81
84
|
//#endregion
|
|
82
85
|
//#region src/events.mts
|
|
83
86
|
var C = 0;
|
|
@@ -191,11 +194,12 @@ function X() {
|
|
|
191
194
|
//#endregion
|
|
192
195
|
//#region src/window.mts
|
|
193
196
|
var Z = /* @__PURE__ */ Object.defineProperty(M(N, ["wheel"]), Symbol.toStringTag, { value: "Window" });
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
Object.defineProperty(globalThis, "__inca_targets__", {
|
|
198
|
+
value: (e) => {
|
|
199
|
+
let t = N();
|
|
200
|
+
return e.map((e) => e === t ? Z : c(e) ?? null);
|
|
201
|
+
},
|
|
202
|
+
configurable: !0
|
|
203
|
+
});
|
|
200
204
|
//#endregion
|
|
201
205
|
export { r as A, k as C, D, w as E, o as M, m as N, c as O, n as P, j as S, A as T, W as _, X as a, M as b, I as c, q as d, L as f, G as g, K as h, R as i, d as j, u as k, U as l, N as m, F as n, H as o, Y as p, P as r, z as s, Z as t, B as u, V as v, O as w, E as x, J as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
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-
|
|
2
|
-
import { n as j } from "./handle-
|
|
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-COUJ5IPe.js";
|
|
2
|
+
import { n as j } from "./handle-C_4KtGsE.js";
|
|
3
3
|
//#region \0rolldown/runtime.js
|
|
4
4
|
var M = Object.defineProperty, N = (e, t) => {
|
|
5
5
|
let n = {};
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./chunks/hooks-
|
|
2
|
-
import { t } from "./chunks/handle-
|
|
1
|
+
import { t as e } from "./chunks/hooks-COUJ5IPe.js";
|
|
2
|
+
import { t } from "./chunks/handle-C_4KtGsE.js";
|
|
3
3
|
export { t as activeElement, e as window };
|
package/dist/rendererCore.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, u as c } from "./chunks/rendererCore-
|
|
2
|
-
import { C as l, D as u, E as d, N as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L } from "./chunks/hooks-
|
|
3
|
-
import { n as R } from "./chunks/handle-
|
|
1
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, u as c } from "./chunks/rendererCore-Bu6a8hAp.js";
|
|
2
|
+
import { C as l, D as u, E as d, N as f, S as p, T as m, _ as h, a as g, b as _, c as v, d as y, f as b, g as x, h as S, i as C, k as w, l as T, m as E, n as D, o as O, p as k, r as A, s as j, t as M, u as N, v as P, w as F, x as I, y as L } from "./chunks/hooks-COUJ5IPe.js";
|
|
3
|
+
import { n as R } from "./chunks/handle-C_4KtGsE.js";
|
|
4
4
|
export { I as addEventListener, D as appendChild, p as blur, l as click, i as createCommentNode, o as createElementNode, _ as createEventTarget, R as createIncaElement, A as createNode, n as createTextNode, C as destroyNode, F as dispatchEvent, m as focus, g as focusedNode, O as getAttribute, j as holdNode, e as insert, v as insertBefore, w as isDestroyed, d as latestEventId, T as layoutOf, a as nextSibling, s as parentNode, N as releaseNode, f as releaseWhenCollected, t as remove, y as removeAttribute, b as removeChild, u as removeEventListener, k as removeStyle, E as rootNodeId, S as scrollIntoViewNode, x as scrollNode, h as scrollOf, P as setAttribute, r as setElementText, L as setStyle, c as setText, M as window };
|
package/dist/types.d.mts
CHANGED
|
@@ -30,7 +30,8 @@ export type Overflow = "visible" | "hidden" | "clip" | "scroll" | "auto";
|
|
|
30
30
|
* overload checks. A deliberately incomplete, v1 layout/paint vocabulary. The
|
|
31
31
|
* renderer also reads the camelCase and kebab-case spellings. An unrecognized
|
|
32
32
|
* key or a value shape that doesn't parse (e.g. a malformed enum string) is
|
|
33
|
-
* ignored by the renderer
|
|
33
|
+
* ignored by the renderer, and the host prints a warning line on stderr for
|
|
34
|
+
* it (an empty string `''` prints none).
|
|
34
35
|
*/
|
|
35
36
|
export interface StyleProps {
|
|
36
37
|
/** Layout mode for this node's children. `"none"` skips both layout and rendering for the whole subtree. */
|
|
@@ -41,13 +42,13 @@ export interface StyleProps {
|
|
|
41
42
|
justify_content?: "start" | "end" | "center" | "stretch";
|
|
42
43
|
/** Cross-axis alignment of children within this container. */
|
|
43
44
|
align_items?: "start" | "end" | "center" | "stretch";
|
|
44
|
-
/** Uniform spacing, in px, between children, applied on both axes. */
|
|
45
|
+
/** Uniform spacing, in px (`>= 0`), between children, applied on both axes. */
|
|
45
46
|
gap?: number;
|
|
46
|
-
/** Fixed width in px, or `"auto"` to size to content. */
|
|
47
|
+
/** Fixed width in px (`>= 0`), or `"auto"` to size to content. */
|
|
47
48
|
width?: number | "auto";
|
|
48
|
-
/** Fixed height in px, or `"auto"` to size to content. */
|
|
49
|
+
/** Fixed height in px (`>= 0`), or `"auto"` to size to content. */
|
|
49
50
|
height?: number | "auto";
|
|
50
|
-
/** Uniform border width in px, applied to all four sides. */
|
|
51
|
+
/** Uniform border width in px (`>= 0`), applied to all four sides. */
|
|
51
52
|
border_width?: number;
|
|
52
53
|
/** Fill color, as a hex number (`0xRRGGBB`) or a CSS-style string (`"#rrggbb"`/`"#rgb"`). */
|
|
53
54
|
background?: number | string;
|
|
@@ -55,9 +56,9 @@ export interface StyleProps {
|
|
|
55
56
|
border_color?: number | string;
|
|
56
57
|
/** Color for this container's own text. Cascades to descendant text leaves, same as {@link StyleProps.text_size}; there's no separate per-leaf text styling. */
|
|
57
58
|
text_color?: number | string;
|
|
58
|
-
/** Uniform corner radius in px, applied to all four corners. */
|
|
59
|
+
/** Uniform corner radius in px (`>= 0`), applied to all four corners. */
|
|
59
60
|
corner_radius?: number;
|
|
60
|
-
/** Font size in px for this container's own text. Cascades to descendant text leaves, same as {@link StyleProps.text_color}. */
|
|
61
|
+
/** Font size in px (`>= 0`) for this container's own text. Cascades to descendant text leaves, same as {@link StyleProps.text_color}. */
|
|
61
62
|
text_size?: number;
|
|
62
63
|
/** Overflow on both axes, or `"<x> <y>"` per axis; `"scroll"` (alias `"auto"`) makes the container scroll with the wheel. Overridden per axis by {@link StyleProps.overflow_x}/{@link StyleProps.overflow_y}. */
|
|
63
64
|
overflow?: Overflow | `${Overflow} ${Overflow}`;
|
|
@@ -99,13 +100,13 @@ export interface StyleProps {
|
|
|
99
100
|
flex_shrink?: number;
|
|
100
101
|
/** Opacity from `0` to `1`, applied to this node and its descendants; values outside are clamped. */
|
|
101
102
|
opacity?: number;
|
|
102
|
-
/** Minimum width in px, or `"auto"` for the default minimum. */
|
|
103
|
+
/** Minimum width in px (`>= 0`), or `"auto"` for the default minimum. */
|
|
103
104
|
min_width?: number | "auto";
|
|
104
|
-
/** Minimum height in px, or `"auto"` for the default minimum. */
|
|
105
|
+
/** Minimum height in px (`>= 0`), or `"auto"` for the default minimum. */
|
|
105
106
|
min_height?: number | "auto";
|
|
106
|
-
/** Maximum width in px, or `"auto"` for no limit. */
|
|
107
|
+
/** Maximum width in px (`>= 0`), or `"auto"` for no limit. */
|
|
107
108
|
max_width?: number | "auto";
|
|
108
|
-
/** Maximum height in px, or `"auto"` for no limit. */
|
|
109
|
+
/** Maximum height in px (`>= 0`), or `"auto"` for no limit. */
|
|
109
110
|
max_height?: number | "auto";
|
|
110
111
|
}
|
|
111
112
|
/**
|
package/dist/vue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./chunks/rendererCore-
|
|
2
|
-
import { m as t } from "./chunks/hooks-
|
|
3
|
-
import { n } from "./chunks/handle-
|
|
1
|
+
import { t as e } from "./chunks/rendererCore-Bu6a8hAp.js";
|
|
2
|
+
import { m as t } from "./chunks/hooks-COUJ5IPe.js";
|
|
3
|
+
import { n } from "./chunks/handle-C_4KtGsE.js";
|
|
4
4
|
import { ErrorCodes as r, callWithAsyncErrorHandling as i, createRenderer as a, warn as o } from "@vue/runtime-core";
|
|
5
5
|
//#region src/vue/nodeOps.mts
|
|
6
6
|
function s(e) {
|