@rhi-zone/rainbow-ui 0.2.0-alpha.5 → 0.2.0-alpha.6
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/{html-C8SnQjvU.js → html-Bl4HvyCp.js} +98 -96
- package/dist/html.d.ts +47 -2
- package/dist/html.js +49 -48
- package/dist/index.js +1 -1
- package/dist/widget.js +1 -1
- package/package.json +1 -1
|
@@ -40,50 +40,50 @@ const u = (t, ...s) => e("html")(t, ...s), m = (t, ...s) => e("head")(t, ...s),
|
|
|
40
40
|
}, v = (t, s) => {
|
|
41
41
|
const n = document.createElement("title");
|
|
42
42
|
return c(n, t), n.textContent = s, { _tag: "title", node: n };
|
|
43
|
-
}, _ = (t, ...s) => e("div")(t, ...s), y = (t, ...s) => e("section")(t, ...s), x = (t, ...s) => e("article")(t, ...s), E = (t, ...s) => e("aside")(t, ...s), k = (t, ...s) => e("header")(t, ...s), S = (t, ...s) => e("footer")(t, ...s), C = (t, ...s) => e("main")(t, ...s), N = (t, ...s) => e("nav")(t, ...s), j = (t, ...s) => e("h1")(t, ...s), w = (t, ...s) => e("h2")(t, ...s), G = (t, ...s) => e("h3")(t, ...s), O = (t, ...s) => e("h4")(t, ...s), q = (t, ...s) => e("h5")(t, ...s), T = (t, ...s) => e("h6")(t, ...s), P = (t, ...s) => e("p")(t, ...s), A = (t, ...s) => e("a")(t, ...s), V = (t, ...s) => e("span")(t, ...s), z = (t, ...s) => e("em")(t, ...s), I = (t, ...s) => e("strong")(t, ...s), M = (t, ...s) => e("code")(t, ...s), B = (t, ...s) => e("pre")(t, ...s), D = (t, ...s) => e("blockquote")(t, ...s), F = (t, ...s) => e("i")(t, ...s), H = (t, ...s) => e("b")(t, ...s), J = (t, ...s) => e("small")(t, ...s), K = (t, ...s) => e("abbr")(t, ...s), L = () => ({ _tag: "br", node: document.createElement("br") }), Q = (t = {}) => l("hr")(t), R = (t) => l("img")(t), U = (t, ...s) => e("ul")(t, ...s), W = (t, ...s) => e("ol")(t, ...s), X = (t, ...s) => e("li")(t, ...s), Y = (t, ...s) => e("dl")(t, ...s), Z = (t, ...s) => e("dt")(t, ...s), $ = (t, ...s) => e("dd")(t, ...s), tt = (t, ...s) => e("table")(t, ...s), st = (t, ...s) => e("thead")(t, ...s), et = (t, ...s) => e("tbody")(t, ...s), nt = (t, ...s) => e("tfoot")(t, ...s), at = (t, ...s) => e("tr")(t, ...s), ot = (t, ...s) => e("th")(t, ...s), ct = (t, ...s) => e("td")(t, ...s), rt = (t, ...s) => e("form")(t, ...s), lt = (t) => l("input")(t), it = (t, ...s) => e("label")(t, ...s), dt = (t, ...s) => e("fieldset")(t, ...s), ut = (t, ...s) => e("
|
|
43
|
+
}, _ = (t, ...s) => e("div")(t, ...s), y = (t, ...s) => e("section")(t, ...s), x = (t, ...s) => e("article")(t, ...s), E = (t, ...s) => e("aside")(t, ...s), k = (t, ...s) => e("header")(t, ...s), S = (t, ...s) => e("footer")(t, ...s), C = (t, ...s) => e("main")(t, ...s), N = (t, ...s) => e("nav")(t, ...s), j = (t, ...s) => e("h1")(t, ...s), w = (t, ...s) => e("h2")(t, ...s), G = (t, ...s) => e("h3")(t, ...s), O = (t, ...s) => e("h4")(t, ...s), q = (t, ...s) => e("h5")(t, ...s), T = (t, ...s) => e("h6")(t, ...s), P = (t, ...s) => e("p")(t, ...s), A = (t, ...s) => e("a")(t, ...s), V = (t, ...s) => e("span")(t, ...s), z = (t, ...s) => e("em")(t, ...s), I = (t, ...s) => e("strong")(t, ...s), M = (t, ...s) => e("code")(t, ...s), B = (t, ...s) => e("pre")(t, ...s), D = (t, ...s) => e("blockquote")(t, ...s), F = (t, ...s) => e("i")(t, ...s), H = (t, ...s) => e("b")(t, ...s), J = (t, ...s) => e("small")(t, ...s), K = (t, ...s) => e("abbr")(t, ...s), L = () => ({ _tag: "br", node: document.createElement("br") }), Q = (t = {}) => l("hr")(t), R = (t) => l("img")(t), U = (t, ...s) => e("ul")(t, ...s), W = (t, ...s) => e("ol")(t, ...s), X = (t, ...s) => e("li")(t, ...s), Y = (t, ...s) => e("dl")(t, ...s), Z = (t, ...s) => e("dt")(t, ...s), $ = (t, ...s) => e("dd")(t, ...s), tt = (t, ...s) => e("table")(t, ...s), st = (t, ...s) => e("thead")(t, ...s), et = (t, ...s) => e("tbody")(t, ...s), nt = (t, ...s) => e("tfoot")(t, ...s), at = (t, ...s) => e("tr")(t, ...s), ot = (t, ...s) => e("th")(t, ...s), ct = (t, ...s) => e("td")(t, ...s), rt = (t, ...s) => e("form")(t, ...s), lt = (t) => l("input")(t), it = (t, ...s) => e("label")(t, ...s), dt = (t, ...s) => e("fieldset")(t, ...s), ut = (t, ...s) => e("legend")(t, ...s), mt = (t, ...s) => e("select")(t, ...s), pt = (t, s) => {
|
|
44
44
|
const n = document.createElement("option");
|
|
45
45
|
return c(n, t), s !== void 0 && (n.textContent = s), { _tag: "option", node: n };
|
|
46
|
-
},
|
|
46
|
+
}, gt = (t, s) => {
|
|
47
47
|
const n = document.createElement("textarea");
|
|
48
48
|
return c(n, t), s !== void 0 && (n.textContent = s), { _tag: "textarea", node: n };
|
|
49
|
-
},
|
|
49
|
+
}, ft = (t, ...s) => e("button")(t, ...s), ht = (t) => l("iframe")(t), bt = (t, ...s) => e("video")(t, ...s), vt = (t, ...s) => e("audio")(t, ...s), _t = (t) => l("source")(t), yt = (t) => l("canvas")(t), xt = (t, ...s) => {
|
|
50
50
|
const n = document.createElementNS(i, "svg");
|
|
51
51
|
return c(n, t), d(n, s), { _tag: "svg", node: n };
|
|
52
|
-
},
|
|
53
|
-
function
|
|
52
|
+
}, Et = (t) => r("circle")(t), kt = (t) => r("ellipse")(t), St = (t) => r("rect")(t), Ct = (t) => r("line")(t), Nt = (t) => r("polyline")(t), jt = (t) => r("polygon")(t), wt = (t) => r("path")(t), Gt = (t, ...s) => o("text")(t, ...s), Ot = (t, ...s) => o("tspan")(t, ...s), qt = (t, ...s) => o("g")(t, ...s), Tt = (t, ...s) => o("defs")(t, ...s), Pt = (t, ...s) => o("symbol")(t, ...s), At = (t) => r("use")(t), Vt = (t, ...s) => o("clipPath")(t, ...s), zt = (t, ...s) => o("mask")(t, ...s), It = (t, ...s) => o("linearGradient")(t, ...s), Mt = (t, ...s) => o("radialGradient")(t, ...s), Bt = (t) => r("stop")(t), Dt = (t, ...s) => o("pattern")(t, ...s), Ft = (t) => r("image")(t), Ht = (t, ...s) => o("foreignObject")(t, ...s);
|
|
53
|
+
function Jt(t) {
|
|
54
54
|
return t.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function Kt(t) {
|
|
57
57
|
return document.createTextNode(t);
|
|
58
58
|
}
|
|
59
|
-
const
|
|
59
|
+
const Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
60
60
|
__proto__: null,
|
|
61
61
|
a: A,
|
|
62
62
|
abbr: K,
|
|
63
63
|
article: x,
|
|
64
64
|
aside: E,
|
|
65
|
-
audio:
|
|
65
|
+
audio: vt,
|
|
66
66
|
b: H,
|
|
67
67
|
blockquote: D,
|
|
68
68
|
body: p,
|
|
69
69
|
br: L,
|
|
70
|
-
button:
|
|
71
|
-
canvas:
|
|
72
|
-
circle:
|
|
73
|
-
clipPath:
|
|
70
|
+
button: ft,
|
|
71
|
+
canvas: yt,
|
|
72
|
+
circle: Et,
|
|
73
|
+
clipPath: Vt,
|
|
74
74
|
code: M,
|
|
75
75
|
dd: $,
|
|
76
|
-
defs:
|
|
76
|
+
defs: Tt,
|
|
77
77
|
div: _,
|
|
78
78
|
dl: Y,
|
|
79
79
|
dt: Z,
|
|
80
|
-
ellipse:
|
|
80
|
+
ellipse: kt,
|
|
81
81
|
em: z,
|
|
82
82
|
fieldset: dt,
|
|
83
83
|
footer: S,
|
|
84
|
-
foreignObject:
|
|
84
|
+
foreignObject: Ht,
|
|
85
85
|
form: rt,
|
|
86
|
-
g:
|
|
86
|
+
g: qt,
|
|
87
87
|
h1: j,
|
|
88
88
|
h2: w,
|
|
89
89
|
h3: G,
|
|
@@ -95,64 +95,65 @@ const Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
95
95
|
hr: Q,
|
|
96
96
|
htmlEl: u,
|
|
97
97
|
i: F,
|
|
98
|
-
iframe:
|
|
98
|
+
iframe: ht,
|
|
99
99
|
img: R,
|
|
100
100
|
input: lt,
|
|
101
101
|
label: it,
|
|
102
|
+
legend: ut,
|
|
102
103
|
li: X,
|
|
103
|
-
line:
|
|
104
|
-
linearGradient:
|
|
104
|
+
line: Ct,
|
|
105
|
+
linearGradient: It,
|
|
105
106
|
link: f,
|
|
106
107
|
main: C,
|
|
107
|
-
mask:
|
|
108
|
+
mask: zt,
|
|
108
109
|
meta: g,
|
|
109
110
|
nav: N,
|
|
110
111
|
ol: W,
|
|
111
|
-
option:
|
|
112
|
+
option: pt,
|
|
112
113
|
p: P,
|
|
113
|
-
path:
|
|
114
|
-
pattern:
|
|
115
|
-
polygon:
|
|
116
|
-
polyline:
|
|
114
|
+
path: wt,
|
|
115
|
+
pattern: Dt,
|
|
116
|
+
polygon: jt,
|
|
117
|
+
polyline: Nt,
|
|
117
118
|
pre: B,
|
|
118
|
-
radialGradient:
|
|
119
|
-
rect:
|
|
119
|
+
radialGradient: Mt,
|
|
120
|
+
rect: St,
|
|
120
121
|
script: h,
|
|
121
122
|
section: y,
|
|
122
|
-
select:
|
|
123
|
+
select: mt,
|
|
123
124
|
small: J,
|
|
124
|
-
source:
|
|
125
|
+
source: _t,
|
|
125
126
|
span: V,
|
|
126
|
-
stop:
|
|
127
|
+
stop: Bt,
|
|
127
128
|
strong: I,
|
|
128
129
|
style: b,
|
|
129
|
-
svg:
|
|
130
|
-
svgImage:
|
|
131
|
-
svgText:
|
|
132
|
-
symbol:
|
|
130
|
+
svg: xt,
|
|
131
|
+
svgImage: Ft,
|
|
132
|
+
svgText: Gt,
|
|
133
|
+
symbol: Pt,
|
|
133
134
|
table: tt,
|
|
134
135
|
tbody: et,
|
|
135
136
|
td: ct,
|
|
136
|
-
text:
|
|
137
|
-
textNode:
|
|
138
|
-
textarea:
|
|
137
|
+
text: Jt,
|
|
138
|
+
textNode: Kt,
|
|
139
|
+
textarea: gt,
|
|
139
140
|
tfoot: nt,
|
|
140
141
|
th: ot,
|
|
141
142
|
thead: st,
|
|
142
143
|
title_: v,
|
|
143
144
|
tr: at,
|
|
144
|
-
tspan:
|
|
145
|
+
tspan: Ot,
|
|
145
146
|
ul: U,
|
|
146
|
-
use:
|
|
147
|
-
video:
|
|
147
|
+
use: At,
|
|
148
|
+
video: bt
|
|
148
149
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
149
150
|
export {
|
|
150
|
-
|
|
151
|
+
N as $,
|
|
151
152
|
dt as A,
|
|
152
153
|
S as B,
|
|
153
|
-
|
|
154
|
+
Ht as C,
|
|
154
155
|
rt as D,
|
|
155
|
-
|
|
156
|
+
qt as E,
|
|
156
157
|
j as F,
|
|
157
158
|
w as G,
|
|
158
159
|
G as H,
|
|
@@ -164,75 +165,76 @@ export {
|
|
|
164
165
|
Q as N,
|
|
165
166
|
u as O,
|
|
166
167
|
F as P,
|
|
167
|
-
|
|
168
|
+
ht as Q,
|
|
168
169
|
R,
|
|
169
170
|
it as S,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
171
|
+
ut as T,
|
|
172
|
+
X as U,
|
|
173
|
+
Ct as V,
|
|
174
|
+
It as W,
|
|
175
|
+
f as X,
|
|
176
|
+
C as Y,
|
|
177
|
+
zt as Z,
|
|
178
|
+
g as _,
|
|
178
179
|
A as a,
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
180
|
+
W as a0,
|
|
181
|
+
P as a1,
|
|
182
|
+
wt as a2,
|
|
183
|
+
Dt as a3,
|
|
184
|
+
jt as a4,
|
|
185
|
+
Nt as a5,
|
|
186
|
+
B as a6,
|
|
187
|
+
Mt as a7,
|
|
188
|
+
St as a8,
|
|
189
|
+
h as a9,
|
|
190
|
+
y as aa,
|
|
191
|
+
J as ab,
|
|
192
|
+
_t as ac,
|
|
193
|
+
V as ad,
|
|
194
|
+
Bt as ae,
|
|
195
|
+
I as af,
|
|
196
|
+
b as ag,
|
|
197
|
+
xt as ah,
|
|
198
|
+
Ft as ai,
|
|
199
|
+
Gt as aj,
|
|
200
|
+
Pt as ak,
|
|
201
|
+
tt as al,
|
|
202
|
+
et as am,
|
|
203
|
+
ct as an,
|
|
203
204
|
Jt as ao,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
at,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
205
|
+
Kt as ap,
|
|
206
|
+
nt as aq,
|
|
207
|
+
ot as ar,
|
|
208
|
+
st as as,
|
|
209
|
+
v as at,
|
|
210
|
+
at as au,
|
|
211
|
+
Ot as av,
|
|
212
|
+
U as aw,
|
|
213
|
+
At as ax,
|
|
214
|
+
bt as ay,
|
|
213
215
|
K as b,
|
|
214
216
|
x as c,
|
|
215
217
|
E as d,
|
|
216
|
-
|
|
218
|
+
vt as e,
|
|
217
219
|
H as f,
|
|
218
220
|
D as g,
|
|
219
|
-
|
|
221
|
+
Lt as h,
|
|
220
222
|
lt as i,
|
|
221
223
|
p as j,
|
|
222
224
|
L as k,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
ft as l,
|
|
226
|
+
yt as m,
|
|
227
|
+
Et as n,
|
|
228
|
+
pt as o,
|
|
229
|
+
Vt as p,
|
|
228
230
|
M as q,
|
|
229
231
|
$ as r,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
232
|
+
mt as s,
|
|
233
|
+
gt as t,
|
|
234
|
+
Tt as u,
|
|
233
235
|
_ as v,
|
|
234
236
|
Y as w,
|
|
235
237
|
Z as x,
|
|
236
|
-
|
|
238
|
+
kt as y,
|
|
237
239
|
z
|
|
238
240
|
};
|
package/dist/html.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export type FormEl = El<"form", HTMLFormElement>;
|
|
|
66
66
|
export type InputEl = El<"input", HTMLInputElement>;
|
|
67
67
|
export type LabelEl = El<"label", HTMLLabelElement>;
|
|
68
68
|
export type FieldsetEl = El<"fieldset", HTMLFieldSetElement>;
|
|
69
|
+
export type LegendEl = El<"legend", HTMLLegendElement>;
|
|
69
70
|
export type SelectEl = El<"select", HTMLSelectElement>;
|
|
70
71
|
export type OptionEl = El<"option", HTMLOptionElement>;
|
|
71
72
|
export type TextareaEl = El<"textarea", HTMLTextAreaElement>;
|
|
@@ -113,10 +114,53 @@ export type RowContent = TrEl;
|
|
|
113
114
|
export type CellContent = TdEl | ThEl;
|
|
114
115
|
export type ListItemContent = LiEl;
|
|
115
116
|
export type SelectContent = OptionEl;
|
|
117
|
+
export type LegendContent = LegendEl;
|
|
116
118
|
export type DefinitionListContent = DtEl | DdEl;
|
|
117
119
|
export type SvgContent = CircleEl | EllipseEl | RectEl | LineEl | PolylineEl | PolygonEl | PathEl | TextEl | TspanEl | GEl | DefsEl | SymbolEl | UseEl | ClipPathEl | MaskEl | LinearGradientEl | RadialGradientEl | StopEl | PatternEl | SvgImageEl | ForeignObjectEl;
|
|
118
|
-
export type AnyEl = FlowContent | HeadContent | RowContent | CellContent | ListItemContent | SelectContent | SourceEl | TableSectionContent | DefinitionListContent | HtmlEl | HeadEl | BodyEl | SvgContent;
|
|
119
|
-
export type
|
|
120
|
+
export type AnyEl = FlowContent | HeadContent | RowContent | CellContent | ListItemContent | SelectContent | LegendContent | SourceEl | TableSectionContent | DefinitionListContent | HtmlEl | HeadEl | BodyEl | SvgContent;
|
|
121
|
+
export type AriaAttrs = {
|
|
122
|
+
role?: 'button' | 'dialog' | 'navigation' | 'main' | 'list' | 'listitem' | 'alert' | 'status' | 'region' | 'banner' | 'contentinfo' | 'search' | 'form' | 'img' | 'presentation' | 'none' | 'grid' | 'row' | 'cell' | 'columnheader' | 'rowheader' | 'table' | 'tab' | 'tablist' | 'tabpanel' | 'checkbox' | 'radio' | 'combobox' | 'listbox' | 'option' | 'menuitem' | 'menu' | 'menubar' | 'separator' | 'slider' | 'spinbutton' | 'textbox' | 'progressbar' | 'tooltip' | 'tree' | 'treeitem' | 'treegrid' | string;
|
|
123
|
+
'aria-label'?: string;
|
|
124
|
+
'aria-labelledby'?: string;
|
|
125
|
+
'aria-describedby'?: string;
|
|
126
|
+
'aria-hidden'?: 'true' | 'false';
|
|
127
|
+
'aria-live'?: 'off' | 'polite' | 'assertive';
|
|
128
|
+
'aria-busy'?: 'true' | 'false';
|
|
129
|
+
'aria-expanded'?: 'true' | 'false';
|
|
130
|
+
'aria-selected'?: 'true' | 'false';
|
|
131
|
+
'aria-checked'?: 'true' | 'false' | 'mixed';
|
|
132
|
+
'aria-pressed'?: 'true' | 'false' | 'mixed';
|
|
133
|
+
'aria-disabled'?: 'true' | 'false';
|
|
134
|
+
'aria-required'?: 'true' | 'false';
|
|
135
|
+
'aria-invalid'?: 'true' | 'false' | 'grammar' | 'spelling';
|
|
136
|
+
'aria-current'?: 'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false';
|
|
137
|
+
'aria-haspopup'?: 'true' | 'false' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
138
|
+
'aria-controls'?: string;
|
|
139
|
+
'aria-owns'?: string;
|
|
140
|
+
'aria-activedescendant'?: string;
|
|
141
|
+
'aria-level'?: number;
|
|
142
|
+
'aria-posinset'?: number;
|
|
143
|
+
'aria-setsize'?: number;
|
|
144
|
+
'aria-colcount'?: number;
|
|
145
|
+
'aria-colindex'?: number;
|
|
146
|
+
'aria-rowcount'?: number;
|
|
147
|
+
'aria-rowindex'?: number;
|
|
148
|
+
'aria-valuemax'?: number;
|
|
149
|
+
'aria-valuemin'?: number;
|
|
150
|
+
'aria-valuenow'?: number;
|
|
151
|
+
'aria-valuetext'?: string;
|
|
152
|
+
'aria-sort'?: 'ascending' | 'descending' | 'none' | 'other';
|
|
153
|
+
'aria-orientation'?: 'horizontal' | 'vertical';
|
|
154
|
+
'aria-autocomplete'?: 'inline' | 'list' | 'both' | 'none';
|
|
155
|
+
'aria-multiselectable'?: 'true' | 'false';
|
|
156
|
+
'aria-readonly'?: 'true' | 'false';
|
|
157
|
+
'aria-modal'?: 'true' | 'false';
|
|
158
|
+
'aria-placeholder'?: string;
|
|
159
|
+
'aria-errormessage'?: string;
|
|
160
|
+
'aria-roledescription'?: string;
|
|
161
|
+
'aria-keyshortcuts'?: string;
|
|
162
|
+
};
|
|
163
|
+
export type GlobalAttrs = AriaAttrs & {
|
|
120
164
|
id?: string;
|
|
121
165
|
class?: string;
|
|
122
166
|
style?: string;
|
|
@@ -458,6 +502,7 @@ export declare const form: (attrs: FormAttrs, ...children: (FlowContent | string
|
|
|
458
502
|
export declare const input: (attrs: InputAttrs) => InputEl;
|
|
459
503
|
export declare const label: (attrs: LabelAttrs, ...children: (PhrasingContent | string)[]) => LabelEl;
|
|
460
504
|
export declare const fieldset: (attrs: GlobalAttrs, ...children: (FlowContent | string)[]) => FieldsetEl;
|
|
505
|
+
export declare const legend: (attrs: GlobalAttrs, ...children: (PhrasingContent | string)[]) => LegendEl;
|
|
461
506
|
export declare const select: (attrs: SelectAttrs, ...children: SelectContent[]) => SelectEl;
|
|
462
507
|
export declare const option: (attrs: OptionAttrs, content?: string) => OptionEl;
|
|
463
508
|
export declare const textarea: (attrs: TextareaAttrs, content?: string) => TextareaEl;
|
package/dist/html.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, b as t, c as l, d as o, e as i, f as r, g as d, j as n, k as p, l as c, m as h, n as b, p as m, q as g, r as f, u, v, w as
|
|
1
|
+
import { a as e, b as t, c as l, d as o, e as i, f as r, g as d, j as n, k as p, l as c, m as h, n as b, p as m, q as g, r as f, u, v, w as y, x, y as k, z as j, A as q, B as G, C as w, D as E, E as I, F as N, G as O, H as P, I as T, J as _, K as z, L as A, M as B, N as C, O as D, P as F, Q as H, R as J, i as K, S as L, T as M, U as Q, V as R, W as S, X as U, Y as V, Z as W, _ as X, $ as Y, a0 as Z, o as $, a1 as aa, a2 as sa, a3 as ea, a4 as ta, a5 as la, a6 as oa, a7 as ia, a8 as ra, a9 as da, aa as na, s as pa, ab as ca, ac as ha, ad as ba, ae as ma, af as ga, ag as fa, ah as ua, ai as va, aj as ya, ak as xa, al as ka, am as ja, an as qa, ao as Ga, ap as wa, t as Ea, aq as Ia, ar as Na, as as Oa, at as Pa, au as Ta, av as _a, aw as za, ax as Aa, ay as Ba } from "./html-Bl4HvyCp.js";
|
|
2
2
|
export {
|
|
3
3
|
e as a,
|
|
4
4
|
t as abbr,
|
|
@@ -17,8 +17,8 @@ export {
|
|
|
17
17
|
f as dd,
|
|
18
18
|
u as defs,
|
|
19
19
|
v as div,
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
y as dl,
|
|
21
|
+
x as dt,
|
|
22
22
|
k as ellipse,
|
|
23
23
|
j as em,
|
|
24
24
|
q as fieldset,
|
|
@@ -41,50 +41,51 @@ export {
|
|
|
41
41
|
J as img,
|
|
42
42
|
K as input,
|
|
43
43
|
L as label,
|
|
44
|
-
M as
|
|
45
|
-
Q as
|
|
46
|
-
R as
|
|
47
|
-
S as
|
|
48
|
-
U as
|
|
49
|
-
V as
|
|
50
|
-
W as
|
|
51
|
-
X as
|
|
52
|
-
Y as
|
|
53
|
-
Z as
|
|
54
|
-
$ as
|
|
55
|
-
aa as
|
|
56
|
-
sa as
|
|
57
|
-
ea as
|
|
58
|
-
ta as
|
|
59
|
-
la as
|
|
60
|
-
oa as
|
|
61
|
-
ia as
|
|
62
|
-
ra as
|
|
63
|
-
da as
|
|
64
|
-
na as
|
|
65
|
-
pa as
|
|
66
|
-
ca as
|
|
67
|
-
ha as
|
|
68
|
-
ba as
|
|
69
|
-
ma as
|
|
70
|
-
ga as
|
|
71
|
-
fa as
|
|
72
|
-
ua as
|
|
73
|
-
va as
|
|
44
|
+
M as legend,
|
|
45
|
+
Q as li,
|
|
46
|
+
R as line,
|
|
47
|
+
S as linearGradient,
|
|
48
|
+
U as link,
|
|
49
|
+
V as main,
|
|
50
|
+
W as mask,
|
|
51
|
+
X as meta,
|
|
52
|
+
Y as nav,
|
|
53
|
+
Z as ol,
|
|
54
|
+
$ as option,
|
|
55
|
+
aa as p,
|
|
56
|
+
sa as path,
|
|
57
|
+
ea as pattern,
|
|
58
|
+
ta as polygon,
|
|
59
|
+
la as polyline,
|
|
60
|
+
oa as pre,
|
|
61
|
+
ia as radialGradient,
|
|
62
|
+
ra as rect,
|
|
63
|
+
da as script,
|
|
64
|
+
na as section,
|
|
65
|
+
pa as select,
|
|
66
|
+
ca as small,
|
|
67
|
+
ha as source,
|
|
68
|
+
ba as span,
|
|
69
|
+
ma as stop,
|
|
70
|
+
ga as strong,
|
|
71
|
+
fa as style,
|
|
72
|
+
ua as svg,
|
|
73
|
+
va as svgImage,
|
|
74
|
+
ya as svgText,
|
|
74
75
|
xa as symbol,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
ka as table,
|
|
77
|
+
ja as tbody,
|
|
78
|
+
qa as td,
|
|
79
|
+
Ga as text,
|
|
80
|
+
wa as textNode,
|
|
81
|
+
Ea as textarea,
|
|
82
|
+
Ia as tfoot,
|
|
83
|
+
Na as th,
|
|
84
|
+
Oa as thead,
|
|
85
|
+
Pa as title_,
|
|
86
|
+
Ta as tr,
|
|
87
|
+
_a as tspan,
|
|
88
|
+
za as ul,
|
|
89
|
+
Aa as use,
|
|
90
|
+
Ba as video
|
|
90
91
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as l } from "./html-
|
|
1
|
+
import { h as l } from "./html-Bl4HvyCp.js";
|
|
2
2
|
import { above as g, beside as p, bindAttr as f, bindCheckbox as x, bindClass as S, bindInput as w, bindSelect as W, bindShow as v, bindText as y, checkboxWidget as k, concat as C, dynamic as E, each as F, eachKeyed as A, focus as I, foldWidget as K, h as L, inputWidget as N, lift as B, map as D, match as J, mount as T, narrow as V, numberInputWidget as j, on as q, prop as z, register as G, selectWidget as H, show as M, slot as O, stack as P, subscribe as Q, subscribeNow as R, template as U, textareaWidget as X, watchAll as Y, withScope as Z } from "./widget.js";
|
|
3
3
|
import { createForm as $, createFormState as ee, isDirty as te, isFormValid as ne, shouldShowError as oe } from "./form-state.js";
|
|
4
4
|
import { signal as a } from "@rhi-zone/rainbow";
|
package/dist/widget.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { index as E, stateful as L, field as W, lens as B, tagged as $, signal as j } from "@rhi-zone/rainbow";
|
|
2
|
-
import { i as _, s as F, o as I, t as O } from "./html-
|
|
2
|
+
import { i as _, s as F, o as I, t as O } from "./html-Bl4HvyCp.js";
|
|
3
3
|
let k = null;
|
|
4
4
|
function l(e) {
|
|
5
5
|
k == null || k.push(e);
|