@duro-app/ui 5.3.0 → 5.5.0
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/{Table-Cm5cCnZD.js → Table-DYN-bp0e.js} +388 -387
- package/dist/Table-DYN-bp0e.js.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +37 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.meta.d.ts +3 -0
- package/dist/components/Breadcrumb/Breadcrumb.meta.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +18 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/components/Breadcrumb/styles.css.d.ts +46 -0
- package/dist/components/Breadcrumb/styles.css.d.ts.map +1 -0
- package/dist/components/Inline/Inline.meta.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.d.ts +8 -1
- package/dist/components/LinkButton/LinkButton.d.ts.map +1 -1
- package/dist/components/LinkButton/LinkButton.stories.d.ts +9 -0
- package/dist/components/LinkButton/LinkButton.stories.d.ts.map +1 -1
- package/dist/components/PageNav/PageNav.d.ts +30 -0
- package/dist/components/PageNav/PageNav.d.ts.map +1 -0
- package/dist/components/PageNav/PageNav.meta.d.ts +3 -0
- package/dist/components/PageNav/PageNav.meta.d.ts.map +1 -0
- package/dist/components/PageNav/PageNav.stories.d.ts +16 -0
- package/dist/components/PageNav/PageNav.stories.d.ts.map +1 -0
- package/dist/components/PageNav/styles.css.d.ts +51 -0
- package/dist/components/PageNav/styles.css.d.ts.map +1 -0
- package/dist/components/TableOfContents/TableOfContents.d.ts +53 -0
- package/dist/components/TableOfContents/TableOfContents.d.ts.map +1 -0
- package/dist/components/TableOfContents/TableOfContents.meta.d.ts +3 -0
- package/dist/components/TableOfContents/TableOfContents.meta.d.ts.map +1 -0
- package/dist/components/TableOfContents/TableOfContents.stories.d.ts +21 -0
- package/dist/components/TableOfContents/TableOfContents.stories.d.ts.map +1 -0
- package/dist/components/TableOfContents/TableOfContentsContext.d.ts +11 -0
- package/dist/components/TableOfContents/TableOfContentsContext.d.ts.map +1 -0
- package/dist/components/TableOfContents/styles.css.d.ts +114 -0
- package/dist/components/TableOfContents/styles.css.d.ts.map +1 -0
- package/dist/components/TextLink/TextLink.d.ts +8 -1
- package/dist/components/TextLink/TextLink.d.ts.map +1 -1
- package/dist/components/TextLink/TextLink.stories.d.ts +9 -0
- package/dist/components/TextLink/TextLink.stories.d.ts.map +1 -1
- package/dist/components/Tree/Tree.d.ts +13 -1
- package/dist/components/Tree/Tree.d.ts.map +1 -1
- package/dist/components/Tree/Tree.meta.d.ts.map +1 -1
- package/dist/components/Tree/Tree.stories.d.ts +9 -0
- package/dist/components/Tree/Tree.stories.d.ts.map +1 -1
- package/dist/components/Tree/styles.css.d.ts +5 -0
- package/dist/components/Tree/styles.css.d.ts.map +1 -1
- package/dist/docs/clickLink.d.ts +4 -0
- package/dist/docs/clickLink.d.ts.map +1 -0
- package/dist/docs/coarsePointer.d.ts +15 -0
- package/dist/docs/coarsePointer.d.ts.map +1 -0
- package/dist/docs/themedSurface.d.ts +8 -0
- package/dist/docs/themedSurface.d.ts.map +1 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2945 -2484
- package/dist/index.js.map +1 -1
- package/dist/shared/navigate.d.ts +25 -0
- package/dist/shared/navigate.d.ts.map +1 -0
- package/dist/table.js +1 -1
- package/package.json +2 -2
- package/src/components/Breadcrumb/Breadcrumb.meta.ts +37 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.tsx +110 -0
- package/src/components/Breadcrumb/Breadcrumb.tsx +95 -0
- package/src/components/Breadcrumb/styles.css.ts +76 -0
- package/src/components/Inline/Inline.meta.ts +2 -1
- package/src/components/LinkButton/LinkButton.meta.ts +1 -1
- package/src/components/LinkButton/LinkButton.stories.tsx +42 -1
- package/src/components/LinkButton/LinkButton.tsx +9 -0
- package/src/components/PageNav/PageNav.meta.ts +35 -0
- package/src/components/PageNav/PageNav.stories.tsx +146 -0
- package/src/components/PageNav/PageNav.tsx +93 -0
- package/src/components/PageNav/styles.css.ts +100 -0
- package/src/components/TableOfContents/TableOfContents.meta.ts +41 -0
- package/src/components/TableOfContents/TableOfContents.stories.tsx +222 -0
- package/src/components/TableOfContents/TableOfContents.tsx +173 -0
- package/src/components/TableOfContents/TableOfContentsContext.ts +20 -0
- package/src/components/TableOfContents/styles.css.ts +147 -0
- package/src/components/TextLink/TextLink.meta.ts +1 -1
- package/src/components/TextLink/TextLink.stories.tsx +42 -1
- package/src/components/TextLink/TextLink.tsx +9 -0
- package/src/components/Tree/Tree.meta.ts +2 -1
- package/src/components/Tree/Tree.stories.tsx +93 -1
- package/src/components/Tree/Tree.tsx +69 -27
- package/src/components/Tree/styles.css.ts +6 -0
- package/src/docs/clickLink.ts +24 -0
- package/src/docs/coarsePointer.ts +42 -0
- package/src/docs/themedSurface.tsx +23 -0
- package/src/index.ts +9 -0
- package/src/shared/linkParts.typecheck.tsx +47 -0
- package/src/shared/navigate.ts +62 -0
- package/dist/Table-Cm5cCnZD.js.map +0 -1
- package/dist/shared/length.typecheck.d.ts +0 -31
- package/dist/shared/length.typecheck.d.ts.map +0 -1
|
@@ -32,13 +32,303 @@ const Ce = {
|
|
|
32
32
|
lg: _.iconLg,
|
|
33
33
|
xl: _.iconXl,
|
|
34
34
|
xxl: _.iconXxl
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @license react-strict-dom
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/
|
|
43
|
+
const ae = {};
|
|
44
|
+
function Re(t) {
|
|
45
|
+
process.env.NODE_ENV !== "test" && ae[t] || (ae[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
|
|
46
|
+
}
|
|
47
|
+
const je = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
|
|
48
|
+
function ze(t) {
|
|
49
|
+
return je.has(t) || t.indexOf("data-") > -1;
|
|
50
|
+
}
|
|
51
|
+
var oe = {};
|
|
52
|
+
Object.defineProperty(oe, "__esModule", {
|
|
53
|
+
value: !0
|
|
54
|
+
});
|
|
55
|
+
var pe = oe.styleq = void 0, He = /* @__PURE__ */ new WeakMap(), Ie = "$$css";
|
|
56
|
+
function xe(t) {
|
|
57
|
+
var e, o, r;
|
|
58
|
+
return t != null && (e = t.disableCache === !0, o = t.disableMix === !0, r = t.transform), function() {
|
|
59
|
+
for (var l = [], a = "", i = null, n = "", s = e ? null : He, u = new Array(arguments.length), p = 0; p < arguments.length; p++)
|
|
60
|
+
u[p] = arguments[p];
|
|
61
|
+
for (; u.length > 0; ) {
|
|
62
|
+
var d = u.pop();
|
|
63
|
+
if (!(d == null || d === !1)) {
|
|
64
|
+
if (Array.isArray(d)) {
|
|
65
|
+
for (var x = 0; x < d.length; x++)
|
|
66
|
+
u.push(d[x]);
|
|
67
|
+
continue;
|
|
68
|
+
}
|
|
69
|
+
var g = r != null ? r(d) : d;
|
|
70
|
+
if (g.$$css != null) {
|
|
71
|
+
var h = "";
|
|
72
|
+
if (s != null && s.has(g)) {
|
|
73
|
+
var m = s.get(g);
|
|
74
|
+
m != null && (h = m[0], n = m[2], l.push.apply(l, m[1]), s = m[3]);
|
|
75
|
+
} else {
|
|
76
|
+
var y = [];
|
|
77
|
+
for (var k in g) {
|
|
78
|
+
var w = g[k];
|
|
79
|
+
if (k === Ie) {
|
|
80
|
+
var S = g[k];
|
|
81
|
+
S !== !0 && (n = n ? S + "; " + n : S);
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
typeof w == "string" || w === null ? l.includes(k) || (l.push(k), s != null && y.push(k), typeof w == "string" && (h += h ? " " + w : w)) : console.error("styleq: ".concat(k, " typeof ").concat(String(w), ' is not "string" or "null".'));
|
|
85
|
+
}
|
|
86
|
+
if (s != null) {
|
|
87
|
+
var R = /* @__PURE__ */ new WeakMap();
|
|
88
|
+
s.set(g, [h, y, n, R]), s = R;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
h && (a = a ? h + " " + a : h);
|
|
92
|
+
} else if (o)
|
|
93
|
+
i == null && (i = {}), i = Object.assign({}, g, i);
|
|
94
|
+
else {
|
|
95
|
+
var H = null;
|
|
96
|
+
for (var L in g) {
|
|
97
|
+
var O = g[L];
|
|
98
|
+
O !== void 0 && (l.includes(L) || (O != null && (i == null && (i = {}), H == null && (H = {}), H[L] = O), l.push(L), s = null));
|
|
99
|
+
}
|
|
100
|
+
H != null && (i = Object.assign(H, i));
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
var D = [a, i, n];
|
|
105
|
+
return D;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
var Le = pe = oe.styleq = xe();
|
|
109
|
+
Le.factory = xe;
|
|
110
|
+
const qe = pe.factory({
|
|
111
|
+
disableMix: !0
|
|
112
|
+
});
|
|
113
|
+
function Pe(...t) {
|
|
114
|
+
const [e, o, r] = qe(t), c = {};
|
|
115
|
+
if (e != null && e !== "" && (c.className = e), o != null && (c.style = o), r != null && r !== "") {
|
|
116
|
+
const l = r.split(";"), a = {};
|
|
117
|
+
for (const i of l) {
|
|
118
|
+
const n = i.trim(), [s, u] = n.split(":");
|
|
119
|
+
u != null && (a[s] = a[s] != null ? `${a[s]},${u}` : u);
|
|
120
|
+
}
|
|
121
|
+
c["data-style-src"] = Object.keys(a).map((i) => `${i}:${a[i]}`).join("; ");
|
|
122
|
+
}
|
|
123
|
+
return c;
|
|
124
|
+
}
|
|
125
|
+
function Ee(t) {
|
|
126
|
+
Object.keys(t).forEach((e) => {
|
|
127
|
+
ze(e) || (Re(`invalid prop "${e}"`), delete t[e]);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
function b(t, e) {
|
|
131
|
+
const o = {
|
|
132
|
+
$$css: !0,
|
|
133
|
+
"debug::name": `html-${t}`
|
|
134
|
+
};
|
|
135
|
+
function r({
|
|
136
|
+
ref: c,
|
|
137
|
+
...l
|
|
138
|
+
}) {
|
|
139
|
+
const {
|
|
140
|
+
for: a,
|
|
141
|
+
style: i,
|
|
142
|
+
...n
|
|
143
|
+
} = l, s = n;
|
|
144
|
+
Ee(s), a != null && (s.htmlFor = a), l.role != null && (s.role = l.role === "none" ? "presentation" : l.role), t === "button" ? s.type = s.type ? s.type : "button" : (t === "input" || t === "textarea") && (s.dir = s.dir ? s.dir : "auto");
|
|
145
|
+
const u = Pe([o, e, i]);
|
|
146
|
+
return M(t, {
|
|
147
|
+
...s,
|
|
148
|
+
...u,
|
|
149
|
+
ref: c
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
return r.displayName = `html.${t}`, r;
|
|
153
|
+
}
|
|
154
|
+
const v = {
|
|
155
|
+
block: {
|
|
156
|
+
"margin-kogj98": "margin-x1ghz6dp",
|
|
157
|
+
"padding-kmVPX3": "padding-x1717udv",
|
|
158
|
+
$$css: ".pnpm:web/index.js:226"
|
|
159
|
+
},
|
|
160
|
+
inline: {
|
|
161
|
+
"margin-kogj98": "margin-x1ghz6dp",
|
|
162
|
+
"padding-kmVPX3": "padding-x1717udv",
|
|
163
|
+
"textDecoration-kybGjl": "textDecoration-x1hl2dhg",
|
|
164
|
+
"textAlign-k9WMMc": "textAlign-x16tdsg8",
|
|
165
|
+
"wordWrap-kD5eJx": "wordWrap-x1vvkbs",
|
|
166
|
+
$$css: ".pnpm:web/index.js:230"
|
|
167
|
+
},
|
|
168
|
+
inlineblock: {
|
|
169
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
170
|
+
"margin-kogj98": "margin-x1ghz6dp",
|
|
171
|
+
"padding-kmVPX3": "padding-x1717udv",
|
|
172
|
+
$$css: ".pnpm:web/index.js:237"
|
|
173
|
+
},
|
|
174
|
+
button: {
|
|
175
|
+
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
176
|
+
$$css: ".pnpm:web/index.js:242"
|
|
177
|
+
},
|
|
178
|
+
codePre: {
|
|
179
|
+
"fontFamily-kMv6JI": "fontFamily-x1lxnp44",
|
|
180
|
+
"fontSize-kGuDYH": "fontSize-xrv4cvt",
|
|
181
|
+
"overflow-kVQacm": "overflow-xysyzu8",
|
|
182
|
+
$$css: ".pnpm:web/index.js:245"
|
|
183
|
+
},
|
|
184
|
+
heading: {
|
|
185
|
+
"fontSize-kGuDYH": "fontSize-xngnso2",
|
|
186
|
+
"wordWrap-kD5eJx": "wordWrap-x1vvkbs",
|
|
187
|
+
$$css: ".pnpm:web/index.js:250"
|
|
188
|
+
},
|
|
189
|
+
hr: {
|
|
190
|
+
"backgroundColor-kWkggS": "backgroundColor-x42x0ya",
|
|
191
|
+
"borderStyle-ksu8eU": "borderStyle-xng3xce",
|
|
192
|
+
"borderWidth-kMzoRj": "borderWidth-xc342km",
|
|
193
|
+
"boxSizing-kB7OPa": "boxSizing-x9f619",
|
|
194
|
+
"height-kZKoxP": "height-xjm9jq1",
|
|
195
|
+
$$css: ".pnpm:web/index.js:254"
|
|
196
|
+
},
|
|
197
|
+
img: {
|
|
198
|
+
"aspectRatio-kOBAk4": "aspectRatio-xuw900x",
|
|
199
|
+
"height-kZKoxP": "height-xt7dq6l",
|
|
200
|
+
"maxWidth-ks0D6T": "maxWidth-x193iq5w",
|
|
201
|
+
$$css: ".pnpm:web/index.js:261"
|
|
202
|
+
},
|
|
203
|
+
input: {
|
|
204
|
+
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
205
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
206
|
+
$$css: ".pnpm:web/index.js:266"
|
|
207
|
+
},
|
|
208
|
+
list: {
|
|
209
|
+
"listStyle-kB88ic": "listStyle-xe8uvvx",
|
|
210
|
+
$$css: ".pnpm:web/index.js:270"
|
|
211
|
+
},
|
|
212
|
+
strong: {
|
|
213
|
+
"fontWeight-k63SB2": "fontWeight-x117nqv4",
|
|
214
|
+
$$css: ".pnpm:web/index.js:273"
|
|
215
|
+
},
|
|
216
|
+
textarea: {
|
|
217
|
+
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
218
|
+
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
219
|
+
"resize-kHenm0": "resize-x288g5",
|
|
220
|
+
$$css: ".pnpm:web/index.js:276"
|
|
221
|
+
}
|
|
222
|
+
}, Be = v.inline, Oe = v.block, Ae = v.block, Ge = v.inline, De = v.inline, Fe = v.inline, Xe = v.block, Ve = null, Ke = [v.inlineblock, v.button], Ne = [v.inline, v.codePre], _e = null, Ye = v.block, Ze = v.inline, Ue = v.block, Je = v.block, Qe = v.block, V = [v.block, v.heading], et = v.block, tt = [v.block, v.hr], ot = v.inline, rt = v.img, nt = [v.inlineblock, v.input], it = null, st = null, lt = v.inline, at = v.block, ct = v.block, dt = v.inline, ut = v.block, pt = [v.list, v.block], xt = null, gt = null, ht = v.block, bt = [v.block, v.codePre], ft = null, mt = v.block, kt = v.inlineblock, vt = v.inline, yt = [v.inline, v.strong], wt = v.inline, $t = v.inline, Mt = [v.inlineblock, v.textarea], Tt = null, Wt = [v.list, v.block], f = {
|
|
223
|
+
a: Be,
|
|
224
|
+
article: Oe,
|
|
225
|
+
aside: Ae,
|
|
226
|
+
b: Ge,
|
|
227
|
+
bdi: De,
|
|
228
|
+
bdo: Fe,
|
|
229
|
+
blockquote: Xe,
|
|
230
|
+
br: Ve,
|
|
231
|
+
button: Ke,
|
|
232
|
+
code: Ne,
|
|
233
|
+
del: _e,
|
|
234
|
+
div: Ye,
|
|
235
|
+
em: Ze,
|
|
236
|
+
fieldset: Ue,
|
|
237
|
+
footer: Je,
|
|
238
|
+
form: Qe,
|
|
239
|
+
h1: V,
|
|
240
|
+
h2: V,
|
|
241
|
+
h3: V,
|
|
242
|
+
h4: V,
|
|
243
|
+
h5: V,
|
|
244
|
+
h6: V,
|
|
245
|
+
header: et,
|
|
246
|
+
hr: tt,
|
|
247
|
+
i: ot,
|
|
248
|
+
img: rt,
|
|
249
|
+
input: nt,
|
|
250
|
+
ins: it,
|
|
251
|
+
kbd: st,
|
|
252
|
+
label: lt,
|
|
253
|
+
li: at,
|
|
254
|
+
main: ct,
|
|
255
|
+
mark: dt,
|
|
256
|
+
nav: ut,
|
|
257
|
+
ol: pt,
|
|
258
|
+
optgroup: xt,
|
|
259
|
+
option: gt,
|
|
260
|
+
p: ht,
|
|
261
|
+
pre: bt,
|
|
262
|
+
s: ft,
|
|
263
|
+
section: mt,
|
|
264
|
+
select: kt,
|
|
265
|
+
span: vt,
|
|
266
|
+
strong: yt,
|
|
267
|
+
sub: wt,
|
|
268
|
+
sup: $t,
|
|
269
|
+
textarea: Mt,
|
|
270
|
+
u: Tt,
|
|
271
|
+
ul: Wt
|
|
272
|
+
}, Ct = b("a", f.a), St = b("article", f.article), Rt = b("aside", f.aside), jt = b("b", f.b), zt = b("bdi", f.bdi), Ht = b("bdo", f.bdo), It = b("blockquote", f.blockquote), Lt = b("br", f.br), qt = b("button", f.button), Pt = b("code", f.code), Et = b("del", f.del), Bt = b("div", f.div), Ot = b("em", f.em), At = b("fieldset", f.fieldset), Gt = b("footer", f.footer), Dt = b("form", f.form), Ft = b("h1", f.h1), Xt = b("h2", f.h2), Vt = b("h3", f.h3), Kt = b("h4", f.h4), Nt = b("h5", f.h5), _t = b("h6", f.h6), Yt = b("header", f.header), Zt = b("hr", f.hr), Ut = b("i", f.i), Jt = b("img", f.img), Qt = b("input", f.input), eo = b("ins", f.ins), to = b("kbd", f.kbd), oo = b("label", f.label), ro = b("li", f.li), no = b("main", f.main), io = b("mark", f.mark), so = b("nav", f.nav), lo = b("ol", f.ol), ao = b("optgroup", f.optgroup), co = b("option", f.option), uo = b("p", f.p), po = b("pre", f.pre), xo = b("s", f.s), go = b("section", f.section), ho = b("select", f.select), bo = b("span", f.span), fo = b("strong", f.strong), mo = b("sub", f.sub), ko = b("sup", f.sup), vo = b("textarea", f.textarea), yo = b("u", f.u), wo = b("ul", f.ul);
|
|
273
|
+
var $o = /* @__PURE__ */ Object.freeze({
|
|
274
|
+
__proto__: null,
|
|
275
|
+
a: Ct,
|
|
276
|
+
article: St,
|
|
277
|
+
aside: Rt,
|
|
278
|
+
b: jt,
|
|
279
|
+
bdi: zt,
|
|
280
|
+
bdo: Ht,
|
|
281
|
+
blockquote: It,
|
|
282
|
+
br: Lt,
|
|
283
|
+
button: qt,
|
|
284
|
+
code: Pt,
|
|
285
|
+
del: Et,
|
|
286
|
+
div: Bt,
|
|
287
|
+
em: Ot,
|
|
288
|
+
fieldset: At,
|
|
289
|
+
footer: Gt,
|
|
290
|
+
form: Dt,
|
|
291
|
+
h1: Ft,
|
|
292
|
+
h2: Xt,
|
|
293
|
+
h3: Vt,
|
|
294
|
+
h4: Kt,
|
|
295
|
+
h5: Nt,
|
|
296
|
+
h6: _t,
|
|
297
|
+
header: Yt,
|
|
298
|
+
hr: Zt,
|
|
299
|
+
i: Ut,
|
|
300
|
+
img: Jt,
|
|
301
|
+
input: Qt,
|
|
302
|
+
ins: eo,
|
|
303
|
+
kbd: to,
|
|
304
|
+
label: oo,
|
|
305
|
+
li: ro,
|
|
306
|
+
main: no,
|
|
307
|
+
mark: io,
|
|
308
|
+
nav: so,
|
|
309
|
+
ol: lo,
|
|
310
|
+
optgroup: ao,
|
|
311
|
+
option: co,
|
|
312
|
+
p: uo,
|
|
313
|
+
pre: po,
|
|
314
|
+
s: xo,
|
|
315
|
+
section: go,
|
|
316
|
+
select: ho,
|
|
317
|
+
span: bo,
|
|
318
|
+
strong: fo,
|
|
319
|
+
sub: mo,
|
|
320
|
+
sup: ko,
|
|
321
|
+
textarea: vo,
|
|
322
|
+
u: yo,
|
|
323
|
+
ul: wo
|
|
324
|
+
});
|
|
325
|
+
const ge = G(null);
|
|
326
|
+
function Mo() {
|
|
327
|
+
return A(ge);
|
|
38
328
|
}
|
|
39
|
-
const
|
|
40
|
-
function
|
|
41
|
-
return A(
|
|
329
|
+
const he = G(null);
|
|
330
|
+
function To() {
|
|
331
|
+
return A(he);
|
|
42
332
|
}
|
|
43
333
|
const X = {
|
|
44
334
|
item: {
|
|
@@ -78,7 +368,7 @@ const X = {
|
|
|
78
368
|
"marginTop-keoZOQ": "marginTop-xn1ib9x",
|
|
79
369
|
$$css: "ButtonGroup/attached.css.ts:39"
|
|
80
370
|
}
|
|
81
|
-
},
|
|
371
|
+
}, Wo = {
|
|
82
372
|
horizontal: {
|
|
83
373
|
first: X.horizontalFirst,
|
|
84
374
|
middle: X.horizontalMiddle,
|
|
@@ -92,13 +382,13 @@ const X = {
|
|
|
92
382
|
only: null
|
|
93
383
|
}
|
|
94
384
|
};
|
|
95
|
-
function
|
|
385
|
+
function Co(t) {
|
|
96
386
|
const e = I.c(26);
|
|
97
387
|
let o;
|
|
98
388
|
e[0] !== t ? (o = t === void 0 ? {} : t, e[0] = t, e[1] = o) : o = e[1];
|
|
99
389
|
const {
|
|
100
390
|
disabled: r
|
|
101
|
-
} = o, c = r === void 0 ? !1 : r, l = Y(), a = q(null), i =
|
|
391
|
+
} = o, c = r === void 0 ? !1 : r, l = Y(), a = q(null), i = To(), n = Mo(), s = i?.register, u = n?.register;
|
|
102
392
|
let p, d;
|
|
103
393
|
e[2] !== c || e[3] !== s || e[4] !== l || e[5] !== u ? (p = () => {
|
|
104
394
|
const R = a.current;
|
|
@@ -113,7 +403,7 @@ function He(t) {
|
|
|
113
403
|
e[8] !== i || e[9] !== l ? (x = i ? i.positionOf(l) : null, e[8] = i, e[9] = l, e[10] = x) : x = e[10];
|
|
114
404
|
const g = x;
|
|
115
405
|
let h;
|
|
116
|
-
e[11] !== i || e[12] !== g ? (h = i && g ? [X.item,
|
|
406
|
+
e[11] !== i || e[12] !== g ? (h = i && g ? [X.item, Wo[i.orientation][g]] : null, e[11] = i, e[12] = g, e[13] = h) : h = e[13];
|
|
117
407
|
const m = h, y = i !== null;
|
|
118
408
|
let k;
|
|
119
409
|
e[14] !== l || e[15] !== n ? (k = n?.tabIndexOf(l), e[14] = l, e[15] = n, e[16] = k) : k = e[16];
|
|
@@ -129,22 +419,22 @@ function He(t) {
|
|
|
129
419
|
onFocus: w
|
|
130
420
|
}, e[20] = g, e[21] = m, e[22] = y, e[23] = k, e[24] = w, e[25] = S) : S = e[25], S;
|
|
131
421
|
}
|
|
132
|
-
const
|
|
422
|
+
const So = {
|
|
133
423
|
xjvd03b: "x27mww3 xjvd03b",
|
|
134
424
|
$$css: !0
|
|
135
|
-
},
|
|
425
|
+
}, Ro = {
|
|
136
426
|
x13v825q: "x1jk1o70 x13v825q",
|
|
137
427
|
$$css: !0
|
|
138
|
-
},
|
|
428
|
+
}, jo = {
|
|
139
429
|
xjvd03b: "x1kpt2hd xjvd03b",
|
|
140
430
|
$$css: !0
|
|
141
|
-
},
|
|
431
|
+
}, zo = {
|
|
142
432
|
x13v825q: "xc8o4hb x13v825q",
|
|
143
433
|
$$css: !0
|
|
144
|
-
},
|
|
145
|
-
light: [
|
|
146
|
-
"high-contrast": [
|
|
147
|
-
},
|
|
434
|
+
}, Ho = {
|
|
435
|
+
light: [So, Ro],
|
|
436
|
+
"high-contrast": [jo, zo]
|
|
437
|
+
}, ce = {
|
|
148
438
|
root: {
|
|
149
439
|
"display-k1xSpc": "display-xjp7ctv",
|
|
150
440
|
"color-kMwMTN": "color-x95150z",
|
|
@@ -160,41 +450,41 @@ const Ie = {
|
|
|
160
450
|
"zIndex-kY2c9j": "zIndex-x3z26px",
|
|
161
451
|
$$css: "ThemeProvider/ThemeProvider.tsx:29"
|
|
162
452
|
}
|
|
163
|
-
},
|
|
164
|
-
function
|
|
165
|
-
return A(
|
|
453
|
+
}, be = G(null);
|
|
454
|
+
function Io() {
|
|
455
|
+
return A(be);
|
|
166
456
|
}
|
|
167
457
|
function pr(t) {
|
|
168
458
|
const e = I.c(11), {
|
|
169
459
|
theme: o,
|
|
170
460
|
children: r
|
|
171
|
-
} = t, c = o === void 0 ? "dark" : o, l =
|
|
461
|
+
} = t, c = o === void 0 ? "dark" : o, l = Ho[c], a = l?.[0], i = l?.[1];
|
|
172
462
|
let n;
|
|
173
|
-
e[0] !== a || e[1] !== i ? (n = [a, i,
|
|
463
|
+
e[0] !== a || e[1] !== i ? (n = [a, i, ce.root], e[0] = a, e[1] = i, e[2] = n) : n = e[2];
|
|
174
464
|
const s = n, [u, p] = Z(null);
|
|
175
465
|
let d;
|
|
176
|
-
e[3] !== r || e[4] !== u ? (d = /* @__PURE__ */ M(
|
|
466
|
+
e[3] !== r || e[4] !== u ? (d = /* @__PURE__ */ M(be.Provider, { value: u, children: r }), e[3] = r, e[4] = u, e[5] = d) : d = e[5];
|
|
177
467
|
let x;
|
|
178
|
-
e[6] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ M("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:60", ref: p, "data-portal-mount": !0, ...W(C.div,
|
|
468
|
+
e[6] === Symbol.for("react.memo_cache_sentinel") ? (x = /* @__PURE__ */ M("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:60", ref: p, "data-portal-mount": !0, ...W(C.div, ce.portalMount) }), e[6] = x) : x = e[6];
|
|
179
469
|
let g;
|
|
180
470
|
return e[7] !== d || e[8] !== c || e[9] !== s ? (g = /* @__PURE__ */ U("div", { "data-element-src": "ThemeProvider/ThemeProvider.tsx:58", "data-theme": c, ...W(C.div, s), children: [
|
|
181
471
|
d,
|
|
182
472
|
x
|
|
183
473
|
] }), e[7] = d, e[8] = c, e[9] = s, e[10] = g) : g = e[10], g;
|
|
184
474
|
}
|
|
185
|
-
function
|
|
475
|
+
function Lo(t) {
|
|
186
476
|
const e = I.c(2), {
|
|
187
477
|
children: o
|
|
188
478
|
} = t;
|
|
189
479
|
let r;
|
|
190
|
-
return e[0] !== o ? (r = /* @__PURE__ */ M(
|
|
480
|
+
return e[0] !== o ? (r = /* @__PURE__ */ M(he.Provider, { value: null, children: /* @__PURE__ */ M(ge.Provider, { value: null, children: o }) }), e[0] = o, e[1] = r) : r = e[1], r;
|
|
191
481
|
}
|
|
192
|
-
const
|
|
193
|
-
function
|
|
482
|
+
const qo = typeof process < "u" && process.env?.NODE_ENV === "production", de = /* @__PURE__ */ new Set();
|
|
483
|
+
function fe(t, e, o) {
|
|
194
484
|
const r = `${t}:${e}`;
|
|
195
|
-
|
|
485
|
+
qo || de.has(r) || (de.add(r), console.warn(`[duro-app/ui ${t}] ${o}`));
|
|
196
486
|
}
|
|
197
|
-
const
|
|
487
|
+
const me = {
|
|
198
488
|
touchTarget: "var(--touchTarget-x1u5badx)",
|
|
199
489
|
controlSm: "var(--controlSm-x6ymn93)",
|
|
200
490
|
controlMd: "var(--controlMd-xkvaeme)",
|
|
@@ -277,19 +567,19 @@ const be = {
|
|
|
277
567
|
timeGutterW: "var(--timeGutterW-xsc6tna)",
|
|
278
568
|
dayHeaderH: "var(--dayHeaderH-x1j7gty0)",
|
|
279
569
|
__varGroupHash__: "x1w57kmz"
|
|
280
|
-
},
|
|
281
|
-
function
|
|
282
|
-
return typeof t == "string" &&
|
|
570
|
+
}, ke = new Set(Se);
|
|
571
|
+
function ve(t) {
|
|
572
|
+
return typeof t == "string" && ke.has(t) ? me[t] : t;
|
|
283
573
|
}
|
|
284
|
-
function
|
|
574
|
+
function ue(t) {
|
|
285
575
|
const e = t;
|
|
286
576
|
if (typeof e != "string") return e;
|
|
287
577
|
const o = /^(minmax|fit-content)\((.*)\)$/.exec(e);
|
|
288
578
|
if (o) {
|
|
289
|
-
const r = o[2].split(",").map((c) => String(
|
|
579
|
+
const r = o[2].split(",").map((c) => String(ve(c.trim())));
|
|
290
580
|
return `${o[1]}(${r.join(", ")})`;
|
|
291
581
|
}
|
|
292
|
-
return
|
|
582
|
+
return ke.has(e) ? me[e] : e;
|
|
293
583
|
}
|
|
294
584
|
const B = {
|
|
295
585
|
root: {
|
|
@@ -396,17 +686,17 @@ const B = {
|
|
|
396
686
|
"color-kMwMTN": "color-x95150z color-xtolcfe",
|
|
397
687
|
$$css: "Menu/styles.css.ts:110"
|
|
398
688
|
}
|
|
399
|
-
},
|
|
689
|
+
}, ye = G(null);
|
|
400
690
|
function ee() {
|
|
401
|
-
const t = A(
|
|
691
|
+
const t = A(ye);
|
|
402
692
|
if (!t)
|
|
403
693
|
throw new Error("Menu compound components must be used within Menu.Root");
|
|
404
694
|
return t;
|
|
405
695
|
}
|
|
406
|
-
function
|
|
696
|
+
function Po(t, e) {
|
|
407
697
|
return t ? !e.some((o) => o != null && o.contains(t)) : !0;
|
|
408
698
|
}
|
|
409
|
-
function
|
|
699
|
+
function Eo({
|
|
410
700
|
open: t,
|
|
411
701
|
defaultOpen: e = !1,
|
|
412
702
|
onOpenChange: o
|
|
@@ -503,7 +793,7 @@ function De({
|
|
|
503
793
|
}, [a, R]), F(() => {
|
|
504
794
|
if (!a) return;
|
|
505
795
|
function T(P) {
|
|
506
|
-
|
|
796
|
+
Po(P.target, [g.current, x.current]) && S();
|
|
507
797
|
}
|
|
508
798
|
return document.addEventListener("pointerdown", T, !0), () => document.removeEventListener("pointerdown", T, !0);
|
|
509
799
|
}, [a, S]), {
|
|
@@ -522,7 +812,7 @@ function De({
|
|
|
522
812
|
rootRef: d
|
|
523
813
|
};
|
|
524
814
|
}
|
|
525
|
-
function
|
|
815
|
+
function Bo({
|
|
526
816
|
anchor: t,
|
|
527
817
|
popup: e,
|
|
528
818
|
viewport: o,
|
|
@@ -543,11 +833,11 @@ function Fe({
|
|
|
543
833
|
side: u
|
|
544
834
|
};
|
|
545
835
|
}
|
|
546
|
-
const
|
|
547
|
-
function
|
|
836
|
+
const Oo = G(null);
|
|
837
|
+
function Ao(t, e) {
|
|
548
838
|
const o = I.c(5), {
|
|
549
839
|
active: r
|
|
550
|
-
} = e, c = A(
|
|
840
|
+
} = e, c = A(Oo);
|
|
551
841
|
let l, a;
|
|
552
842
|
o[0] !== r || o[1] !== c || o[2] !== t ? (l = () => {
|
|
553
843
|
const i = t.current;
|
|
@@ -555,7 +845,7 @@ function Ve(t, e) {
|
|
|
555
845
|
return c.register(i);
|
|
556
846
|
}, a = [c, r, t], o[0] = r, o[1] = c, o[2] = t, o[3] = l, o[4] = a) : (l = o[3], a = o[4]), J(l, a);
|
|
557
847
|
}
|
|
558
|
-
function
|
|
848
|
+
function Go(t) {
|
|
559
849
|
const e = I.c(10), {
|
|
560
850
|
children: o,
|
|
561
851
|
open: r,
|
|
@@ -571,14 +861,14 @@ function Ke(t) {
|
|
|
571
861
|
const {
|
|
572
862
|
ctx: i,
|
|
573
863
|
rootRef: n
|
|
574
|
-
} =
|
|
864
|
+
} = Eo(a);
|
|
575
865
|
let s;
|
|
576
866
|
e[4] !== o || e[5] !== n ? (s = /* @__PURE__ */ M("div", { "data-element-src": "Menu/Menu.tsx:40", ref: n, ...W(C.div, B.root), children: o }), e[4] = o, e[5] = n, e[6] = s) : s = e[6];
|
|
577
867
|
let u;
|
|
578
|
-
return e[7] !== i || e[8] !== s ? (u = /* @__PURE__ */ M(
|
|
868
|
+
return e[7] !== i || e[8] !== s ? (u = /* @__PURE__ */ M(ye.Provider, { value: i, children: s }), e[7] = i, e[8] = s, e[9] = u) : u = e[9], u;
|
|
579
869
|
}
|
|
580
|
-
const
|
|
581
|
-
function
|
|
870
|
+
const Do = 'button, a[href], input, select, textarea, [role="button"]';
|
|
871
|
+
function Fo({
|
|
582
872
|
children: t,
|
|
583
873
|
"aria-label": e,
|
|
584
874
|
variant: o = "default",
|
|
@@ -590,14 +880,14 @@ function _e({
|
|
|
590
880
|
menuId: a,
|
|
591
881
|
triggerId: i,
|
|
592
882
|
triggerRef: n
|
|
593
|
-
} = ee(), s =
|
|
883
|
+
} = ee(), s = Co(), u = s.ref, p = K((d) => {
|
|
594
884
|
n.current = d, u.current = d, typeof r == "function" ? r(d) : r && (r.current = d);
|
|
595
885
|
}, [r, n, u]);
|
|
596
886
|
return F(() => {
|
|
597
|
-
n.current?.querySelector(
|
|
887
|
+
n.current?.querySelector(Do) && fe("Menu", "trigger-nested-control", "Menu.Trigger is itself the button — give it the label (text, an Icon), not a Button, link or other control. A control inside a <button> is invalid HTML: it breaks hydration and hands assistive tech a button inside a button.");
|
|
598
888
|
}, [n]), /* @__PURE__ */ M("button", { "data-element-src": "Menu/Menu.tsx:91", ref: p, tabIndex: s.tabIndex, onFocus: s.onFocus, id: i, type: "button", onClick: l, "aria-label": e, "aria-expanded": c, "aria-haspopup": "menu", "aria-controls": c ? a : void 0, ...W(C.button, B.trigger, o === "ghost" && B.triggerGhost, s.style), children: t });
|
|
599
889
|
}
|
|
600
|
-
function
|
|
890
|
+
function Xo(t) {
|
|
601
891
|
const e = I.c(26), {
|
|
602
892
|
children: o,
|
|
603
893
|
align: r
|
|
@@ -614,11 +904,11 @@ function Ye(t) {
|
|
|
614
904
|
top: 0,
|
|
615
905
|
left: 0
|
|
616
906
|
}, e[0] = p) : p = e[0];
|
|
617
|
-
const [d, x] = Z(p), g =
|
|
907
|
+
const [d, x] = Z(p), g = Io();
|
|
618
908
|
let h;
|
|
619
909
|
e[1] !== l ? (h = {
|
|
620
910
|
active: l
|
|
621
|
-
}, e[1] = l, e[2] = h) : h = e[2],
|
|
911
|
+
}, e[1] = l, e[2] = h) : h = e[2], Ao(u, h);
|
|
622
912
|
let m, y;
|
|
623
913
|
if (e[3] !== c || e[4] !== l || e[5] !== u || e[6] !== s ? (m = () => {
|
|
624
914
|
if (!l)
|
|
@@ -627,7 +917,7 @@ function Ye(t) {
|
|
|
627
917
|
const T = u.current, P = s.current?.getBoundingClientRect();
|
|
628
918
|
if (!T || !P)
|
|
629
919
|
return;
|
|
630
|
-
const j =
|
|
920
|
+
const j = Bo({
|
|
631
921
|
anchor: {
|
|
632
922
|
top: P.top,
|
|
633
923
|
left: P.left,
|
|
@@ -662,14 +952,14 @@ function Ye(t) {
|
|
|
662
952
|
let S;
|
|
663
953
|
e[12] !== w ? (S = [B.popup, w], e[12] = w, e[13] = S) : S = e[13];
|
|
664
954
|
let R;
|
|
665
|
-
e[14] !== o ? (R = /* @__PURE__ */ M(
|
|
955
|
+
e[14] !== o ? (R = /* @__PURE__ */ M(Lo, { children: o }), e[14] = o, e[15] = R) : R = e[15];
|
|
666
956
|
let H;
|
|
667
957
|
e[16] !== a || e[17] !== u || e[18] !== k || e[19] !== S || e[20] !== R || e[21] !== i ? (H = /* @__PURE__ */ M("div", { "data-element-src": "Menu/Menu.tsx:155", ref: u, id: a, role: "menu", tabIndex: -1, "aria-labelledby": i, "aria-activedescendant": k, ...W(C.div, S), children: R }), e[16] = a, e[17] = u, e[18] = k, e[19] = S, e[20] = R, e[21] = i, e[22] = H) : H = e[22];
|
|
668
958
|
const L = g ?? document.body;
|
|
669
959
|
let O;
|
|
670
960
|
return e[23] !== H || e[24] !== L ? (O = We(H, L), e[23] = H, e[24] = L, e[25] = O) : O = e[25], O;
|
|
671
961
|
}
|
|
672
|
-
function
|
|
962
|
+
function Vo(t) {
|
|
673
963
|
const e = I.c(18), {
|
|
674
964
|
onClick: o,
|
|
675
965
|
children: r
|
|
@@ -698,7 +988,7 @@ function Ze(t) {
|
|
|
698
988
|
let k;
|
|
699
989
|
return e[12] !== r || e[13] !== g || e[14] !== n || e[15] !== h || e[16] !== y ? (k = /* @__PURE__ */ M("div", { "data-element-src": "Menu/Menu.tsx:194", ref: s, id: n, role: "menuitem", onClick: g, onPointerEnter: h, ...W(C.div, y), children: r }), e[12] = r, e[13] = g, e[14] = n, e[15] = h, e[16] = y, e[17] = k) : k = e[17], k;
|
|
700
990
|
}
|
|
701
|
-
function
|
|
991
|
+
function Ko(t) {
|
|
702
992
|
const e = I.c(18), {
|
|
703
993
|
href: o,
|
|
704
994
|
children: r
|
|
@@ -724,309 +1014,19 @@ function Ue(t) {
|
|
|
724
1014
|
let y;
|
|
725
1015
|
return e[11] !== r || e[12] !== o || e[13] !== n || e[14] !== x || e[15] !== g || e[16] !== m ? (y = /* @__PURE__ */ M("a", { "data-element-src": "Menu/Menu.tsx:226", ref: s, id: n, href: o, onClick: x, role: "menuitem", onPointerEnter: g, ...W(C.a, m), children: r }), e[11] = r, e[12] = o, e[13] = n, e[14] = x, e[15] = g, e[16] = m, e[17] = y) : y = e[17], y;
|
|
726
1016
|
}
|
|
727
|
-
function
|
|
1017
|
+
function No() {
|
|
728
1018
|
const t = I.c(1);
|
|
729
1019
|
let e;
|
|
730
1020
|
return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ M("div", { "data-element-src": "Menu/Menu.tsx:245", role: "separator", "aria-orientation": "horizontal", ...W(C.div, B.separator) }), t[0] = e) : e = t[0], e;
|
|
731
1021
|
}
|
|
732
1022
|
const xr = {
|
|
733
|
-
Root:
|
|
734
|
-
Trigger:
|
|
735
|
-
Popup:
|
|
736
|
-
Item:
|
|
737
|
-
LinkItem:
|
|
738
|
-
Separator:
|
|
739
|
-
}
|
|
740
|
-
/**
|
|
741
|
-
* @license react-strict-dom
|
|
742
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
743
|
-
*
|
|
744
|
-
* This source code is licensed under the MIT license found in the
|
|
745
|
-
* LICENSE file in the root directory of this source tree.
|
|
746
|
-
*/
|
|
747
|
-
const ue = {};
|
|
748
|
-
function Qe(t) {
|
|
749
|
-
process.env.NODE_ENV !== "test" && ue[t] || (ue[t] = !0, console.error(`[error] React Strict DOM: ${t}`));
|
|
750
|
-
}
|
|
751
|
-
const et = /* @__PURE__ */ new Set(["alt", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-details", "aria-disabled", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoComplete", "autoFocus", "checked", "children", "crossOrigin", "decoding", "defaultChecked", "defaultValue", "dir", "disabled", "download", "draggable", "elementTiming", "enterKeyHint", "fetchPriority", "for", "height", "hidden", "href", "id", "inert", "inputMode", "label", "lang", "loading", "max", "maxLength", "min", "minLength", "multiple", "name", "onAuxClick", "onBeforeInput", "onBlur", "onChange", "onClick", "onContextMenu", "onCopy", "onCut", "onError", "onFocus", "onFocusIn", "onFocusOut", "onFullscreenChange", "onFullscreenError", "onGotPointerCapture", "onInput", "onInvalid", "onKeyDown", "onKeyUp", "onLoad", "onLostPointerCapture", "onPaste", "onPointerCancel", "onPointerDown", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerOut", "onPointerOver", "onPointerUp", "onScroll", "onSelect", "onSelectionChange", "onWheel", "placeholder", "readOnly", "referrerPolicy", "rel", "required", "role", "rows", "selected", "spellCheck", "src", "srcSet", "step", "style", "tabIndex", "target", "type", "value", "width", "suppressHydrationWarning", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseOut", "onMouseOver", "onMouseUp", "onTouchCancel", "onTouchEnd", "onTouchMove", "onTouchStart"]);
|
|
752
|
-
function tt(t) {
|
|
753
|
-
return et.has(t) || t.indexOf("data-") > -1;
|
|
754
|
-
}
|
|
755
|
-
var oe = {};
|
|
756
|
-
Object.defineProperty(oe, "__esModule", {
|
|
757
|
-
value: !0
|
|
758
|
-
});
|
|
759
|
-
var ve = oe.styleq = void 0, ot = /* @__PURE__ */ new WeakMap(), rt = "$$css";
|
|
760
|
-
function ye(t) {
|
|
761
|
-
var e, o, r;
|
|
762
|
-
return t != null && (e = t.disableCache === !0, o = t.disableMix === !0, r = t.transform), function() {
|
|
763
|
-
for (var l = [], a = "", i = null, n = "", s = e ? null : ot, u = new Array(arguments.length), p = 0; p < arguments.length; p++)
|
|
764
|
-
u[p] = arguments[p];
|
|
765
|
-
for (; u.length > 0; ) {
|
|
766
|
-
var d = u.pop();
|
|
767
|
-
if (!(d == null || d === !1)) {
|
|
768
|
-
if (Array.isArray(d)) {
|
|
769
|
-
for (var x = 0; x < d.length; x++)
|
|
770
|
-
u.push(d[x]);
|
|
771
|
-
continue;
|
|
772
|
-
}
|
|
773
|
-
var g = r != null ? r(d) : d;
|
|
774
|
-
if (g.$$css != null) {
|
|
775
|
-
var h = "";
|
|
776
|
-
if (s != null && s.has(g)) {
|
|
777
|
-
var m = s.get(g);
|
|
778
|
-
m != null && (h = m[0], n = m[2], l.push.apply(l, m[1]), s = m[3]);
|
|
779
|
-
} else {
|
|
780
|
-
var y = [];
|
|
781
|
-
for (var k in g) {
|
|
782
|
-
var w = g[k];
|
|
783
|
-
if (k === rt) {
|
|
784
|
-
var S = g[k];
|
|
785
|
-
S !== !0 && (n = n ? S + "; " + n : S);
|
|
786
|
-
continue;
|
|
787
|
-
}
|
|
788
|
-
typeof w == "string" || w === null ? l.includes(k) || (l.push(k), s != null && y.push(k), typeof w == "string" && (h += h ? " " + w : w)) : console.error("styleq: ".concat(k, " typeof ").concat(String(w), ' is not "string" or "null".'));
|
|
789
|
-
}
|
|
790
|
-
if (s != null) {
|
|
791
|
-
var R = /* @__PURE__ */ new WeakMap();
|
|
792
|
-
s.set(g, [h, y, n, R]), s = R;
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
h && (a = a ? h + " " + a : h);
|
|
796
|
-
} else if (o)
|
|
797
|
-
i == null && (i = {}), i = Object.assign({}, g, i);
|
|
798
|
-
else {
|
|
799
|
-
var H = null;
|
|
800
|
-
for (var L in g) {
|
|
801
|
-
var O = g[L];
|
|
802
|
-
O !== void 0 && (l.includes(L) || (O != null && (i == null && (i = {}), H == null && (H = {}), H[L] = O), l.push(L), s = null));
|
|
803
|
-
}
|
|
804
|
-
H != null && (i = Object.assign(H, i));
|
|
805
|
-
}
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
var D = [a, i, n];
|
|
809
|
-
return D;
|
|
810
|
-
};
|
|
811
|
-
}
|
|
812
|
-
var nt = ve = oe.styleq = ye();
|
|
813
|
-
nt.factory = ye;
|
|
814
|
-
const it = ve.factory({
|
|
815
|
-
disableMix: !0
|
|
816
|
-
});
|
|
817
|
-
function st(...t) {
|
|
818
|
-
const [e, o, r] = it(t), c = {};
|
|
819
|
-
if (e != null && e !== "" && (c.className = e), o != null && (c.style = o), r != null && r !== "") {
|
|
820
|
-
const l = r.split(";"), a = {};
|
|
821
|
-
for (const i of l) {
|
|
822
|
-
const n = i.trim(), [s, u] = n.split(":");
|
|
823
|
-
u != null && (a[s] = a[s] != null ? `${a[s]},${u}` : u);
|
|
824
|
-
}
|
|
825
|
-
c["data-style-src"] = Object.keys(a).map((i) => `${i}:${a[i]}`).join("; ");
|
|
826
|
-
}
|
|
827
|
-
return c;
|
|
828
|
-
}
|
|
829
|
-
function lt(t) {
|
|
830
|
-
Object.keys(t).forEach((e) => {
|
|
831
|
-
tt(e) || (Qe(`invalid prop "${e}"`), delete t[e]);
|
|
832
|
-
});
|
|
833
|
-
}
|
|
834
|
-
function b(t, e) {
|
|
835
|
-
const o = {
|
|
836
|
-
$$css: !0,
|
|
837
|
-
"debug::name": `html-${t}`
|
|
838
|
-
};
|
|
839
|
-
function r({
|
|
840
|
-
ref: c,
|
|
841
|
-
...l
|
|
842
|
-
}) {
|
|
843
|
-
const {
|
|
844
|
-
for: a,
|
|
845
|
-
style: i,
|
|
846
|
-
...n
|
|
847
|
-
} = l, s = n;
|
|
848
|
-
lt(s), a != null && (s.htmlFor = a), l.role != null && (s.role = l.role === "none" ? "presentation" : l.role), t === "button" ? s.type = s.type ? s.type : "button" : (t === "input" || t === "textarea") && (s.dir = s.dir ? s.dir : "auto");
|
|
849
|
-
const u = st([o, e, i]);
|
|
850
|
-
return M(t, {
|
|
851
|
-
...s,
|
|
852
|
-
...u,
|
|
853
|
-
ref: c
|
|
854
|
-
});
|
|
855
|
-
}
|
|
856
|
-
return r.displayName = `html.${t}`, r;
|
|
857
|
-
}
|
|
858
|
-
const v = {
|
|
859
|
-
block: {
|
|
860
|
-
"margin-kogj98": "margin-x1ghz6dp",
|
|
861
|
-
"padding-kmVPX3": "padding-x1717udv",
|
|
862
|
-
$$css: ".pnpm:web/index.js:226"
|
|
863
|
-
},
|
|
864
|
-
inline: {
|
|
865
|
-
"margin-kogj98": "margin-x1ghz6dp",
|
|
866
|
-
"padding-kmVPX3": "padding-x1717udv",
|
|
867
|
-
"textDecoration-kybGjl": "textDecoration-x1hl2dhg",
|
|
868
|
-
"textAlign-k9WMMc": "textAlign-x16tdsg8",
|
|
869
|
-
"wordWrap-kD5eJx": "wordWrap-x1vvkbs",
|
|
870
|
-
$$css: ".pnpm:web/index.js:230"
|
|
871
|
-
},
|
|
872
|
-
inlineblock: {
|
|
873
|
-
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
874
|
-
"margin-kogj98": "margin-x1ghz6dp",
|
|
875
|
-
"padding-kmVPX3": "padding-x1717udv",
|
|
876
|
-
$$css: ".pnpm:web/index.js:237"
|
|
877
|
-
},
|
|
878
|
-
button: {
|
|
879
|
-
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
880
|
-
$$css: ".pnpm:web/index.js:242"
|
|
881
|
-
},
|
|
882
|
-
codePre: {
|
|
883
|
-
"fontFamily-kMv6JI": "fontFamily-x1lxnp44",
|
|
884
|
-
"fontSize-kGuDYH": "fontSize-xrv4cvt",
|
|
885
|
-
"overflow-kVQacm": "overflow-xysyzu8",
|
|
886
|
-
$$css: ".pnpm:web/index.js:245"
|
|
887
|
-
},
|
|
888
|
-
heading: {
|
|
889
|
-
"fontSize-kGuDYH": "fontSize-xngnso2",
|
|
890
|
-
"wordWrap-kD5eJx": "wordWrap-x1vvkbs",
|
|
891
|
-
$$css: ".pnpm:web/index.js:250"
|
|
892
|
-
},
|
|
893
|
-
hr: {
|
|
894
|
-
"backgroundColor-kWkggS": "backgroundColor-x42x0ya",
|
|
895
|
-
"borderStyle-ksu8eU": "borderStyle-xng3xce",
|
|
896
|
-
"borderWidth-kMzoRj": "borderWidth-xc342km",
|
|
897
|
-
"boxSizing-kB7OPa": "boxSizing-x9f619",
|
|
898
|
-
"height-kZKoxP": "height-xjm9jq1",
|
|
899
|
-
$$css: ".pnpm:web/index.js:254"
|
|
900
|
-
},
|
|
901
|
-
img: {
|
|
902
|
-
"aspectRatio-kOBAk4": "aspectRatio-xuw900x",
|
|
903
|
-
"height-kZKoxP": "height-xt7dq6l",
|
|
904
|
-
"maxWidth-ks0D6T": "maxWidth-x193iq5w",
|
|
905
|
-
$$css: ".pnpm:web/index.js:261"
|
|
906
|
-
},
|
|
907
|
-
input: {
|
|
908
|
-
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
909
|
-
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
910
|
-
$$css: ".pnpm:web/index.js:266"
|
|
911
|
-
},
|
|
912
|
-
list: {
|
|
913
|
-
"listStyle-kB88ic": "listStyle-xe8uvvx",
|
|
914
|
-
$$css: ".pnpm:web/index.js:270"
|
|
915
|
-
},
|
|
916
|
-
strong: {
|
|
917
|
-
"fontWeight-k63SB2": "fontWeight-x117nqv4",
|
|
918
|
-
$$css: ".pnpm:web/index.js:273"
|
|
919
|
-
},
|
|
920
|
-
textarea: {
|
|
921
|
-
"borderWidth-kMzoRj": "borderWidth-xmkeg23",
|
|
922
|
-
"borderStyle-ksu8eU": "borderStyle-x1y0btm7",
|
|
923
|
-
"resize-kHenm0": "resize-x288g5",
|
|
924
|
-
$$css: ".pnpm:web/index.js:276"
|
|
925
|
-
}
|
|
926
|
-
}, at = v.inline, ct = v.block, dt = v.block, ut = v.inline, pt = v.inline, xt = v.inline, gt = v.block, ht = null, bt = [v.inlineblock, v.button], ft = [v.inline, v.codePre], mt = null, kt = v.block, vt = v.inline, yt = v.block, wt = v.block, $t = v.block, V = [v.block, v.heading], Mt = v.block, Tt = [v.block, v.hr], Wt = v.inline, Ct = v.img, St = [v.inlineblock, v.input], Rt = null, jt = null, zt = v.inline, Ht = v.block, It = v.block, Lt = v.inline, qt = v.block, Pt = [v.list, v.block], Et = null, Bt = null, Ot = v.block, At = [v.block, v.codePre], Gt = null, Dt = v.block, Ft = v.inlineblock, Xt = v.inline, Vt = [v.inline, v.strong], Kt = v.inline, Nt = v.inline, _t = [v.inlineblock, v.textarea], Yt = null, Zt = [v.list, v.block], f = {
|
|
927
|
-
a: at,
|
|
928
|
-
article: ct,
|
|
929
|
-
aside: dt,
|
|
930
|
-
b: ut,
|
|
931
|
-
bdi: pt,
|
|
932
|
-
bdo: xt,
|
|
933
|
-
blockquote: gt,
|
|
934
|
-
br: ht,
|
|
935
|
-
button: bt,
|
|
936
|
-
code: ft,
|
|
937
|
-
del: mt,
|
|
938
|
-
div: kt,
|
|
939
|
-
em: vt,
|
|
940
|
-
fieldset: yt,
|
|
941
|
-
footer: wt,
|
|
942
|
-
form: $t,
|
|
943
|
-
h1: V,
|
|
944
|
-
h2: V,
|
|
945
|
-
h3: V,
|
|
946
|
-
h4: V,
|
|
947
|
-
h5: V,
|
|
948
|
-
h6: V,
|
|
949
|
-
header: Mt,
|
|
950
|
-
hr: Tt,
|
|
951
|
-
i: Wt,
|
|
952
|
-
img: Ct,
|
|
953
|
-
input: St,
|
|
954
|
-
ins: Rt,
|
|
955
|
-
kbd: jt,
|
|
956
|
-
label: zt,
|
|
957
|
-
li: Ht,
|
|
958
|
-
main: It,
|
|
959
|
-
mark: Lt,
|
|
960
|
-
nav: qt,
|
|
961
|
-
ol: Pt,
|
|
962
|
-
optgroup: Et,
|
|
963
|
-
option: Bt,
|
|
964
|
-
p: Ot,
|
|
965
|
-
pre: At,
|
|
966
|
-
s: Gt,
|
|
967
|
-
section: Dt,
|
|
968
|
-
select: Ft,
|
|
969
|
-
span: Xt,
|
|
970
|
-
strong: Vt,
|
|
971
|
-
sub: Kt,
|
|
972
|
-
sup: Nt,
|
|
973
|
-
textarea: _t,
|
|
974
|
-
u: Yt,
|
|
975
|
-
ul: Zt
|
|
976
|
-
}, Ut = b("a", f.a), Jt = b("article", f.article), Qt = b("aside", f.aside), eo = b("b", f.b), to = b("bdi", f.bdi), oo = b("bdo", f.bdo), ro = b("blockquote", f.blockquote), no = b("br", f.br), io = b("button", f.button), so = b("code", f.code), lo = b("del", f.del), ao = b("div", f.div), co = b("em", f.em), uo = b("fieldset", f.fieldset), po = b("footer", f.footer), xo = b("form", f.form), go = b("h1", f.h1), ho = b("h2", f.h2), bo = b("h3", f.h3), fo = b("h4", f.h4), mo = b("h5", f.h5), ko = b("h6", f.h6), vo = b("header", f.header), yo = b("hr", f.hr), wo = b("i", f.i), $o = b("img", f.img), Mo = b("input", f.input), To = b("ins", f.ins), Wo = b("kbd", f.kbd), Co = b("label", f.label), So = b("li", f.li), Ro = b("main", f.main), jo = b("mark", f.mark), zo = b("nav", f.nav), Ho = b("ol", f.ol), Io = b("optgroup", f.optgroup), Lo = b("option", f.option), qo = b("p", f.p), Po = b("pre", f.pre), Eo = b("s", f.s), Bo = b("section", f.section), Oo = b("select", f.select), Ao = b("span", f.span), Go = b("strong", f.strong), Do = b("sub", f.sub), Fo = b("sup", f.sup), Xo = b("textarea", f.textarea), Vo = b("u", f.u), Ko = b("ul", f.ul);
|
|
977
|
-
var No = /* @__PURE__ */ Object.freeze({
|
|
978
|
-
__proto__: null,
|
|
979
|
-
a: Ut,
|
|
980
|
-
article: Jt,
|
|
981
|
-
aside: Qt,
|
|
982
|
-
b: eo,
|
|
983
|
-
bdi: to,
|
|
984
|
-
bdo: oo,
|
|
985
|
-
blockquote: ro,
|
|
986
|
-
br: no,
|
|
987
|
-
button: io,
|
|
988
|
-
code: so,
|
|
989
|
-
del: lo,
|
|
990
|
-
div: ao,
|
|
991
|
-
em: co,
|
|
992
|
-
fieldset: uo,
|
|
993
|
-
footer: po,
|
|
994
|
-
form: xo,
|
|
995
|
-
h1: go,
|
|
996
|
-
h2: ho,
|
|
997
|
-
h3: bo,
|
|
998
|
-
h4: fo,
|
|
999
|
-
h5: mo,
|
|
1000
|
-
h6: ko,
|
|
1001
|
-
header: vo,
|
|
1002
|
-
hr: yo,
|
|
1003
|
-
i: wo,
|
|
1004
|
-
img: $o,
|
|
1005
|
-
input: Mo,
|
|
1006
|
-
ins: To,
|
|
1007
|
-
kbd: Wo,
|
|
1008
|
-
label: Co,
|
|
1009
|
-
li: So,
|
|
1010
|
-
main: Ro,
|
|
1011
|
-
mark: jo,
|
|
1012
|
-
nav: zo,
|
|
1013
|
-
ol: Ho,
|
|
1014
|
-
optgroup: Io,
|
|
1015
|
-
option: Lo,
|
|
1016
|
-
p: qo,
|
|
1017
|
-
pre: Po,
|
|
1018
|
-
s: Eo,
|
|
1019
|
-
section: Bo,
|
|
1020
|
-
select: Oo,
|
|
1021
|
-
span: Ao,
|
|
1022
|
-
strong: Go,
|
|
1023
|
-
sub: Do,
|
|
1024
|
-
sup: Fo,
|
|
1025
|
-
textarea: Xo,
|
|
1026
|
-
u: Vo,
|
|
1027
|
-
ul: Ko
|
|
1028
|
-
});
|
|
1029
|
-
const gr = {
|
|
1023
|
+
Root: Go,
|
|
1024
|
+
Trigger: Fo,
|
|
1025
|
+
Popup: Xo,
|
|
1026
|
+
Item: Vo,
|
|
1027
|
+
LinkItem: Ko,
|
|
1028
|
+
Separator: No
|
|
1029
|
+
}, gr = {
|
|
1030
1030
|
xs: 480,
|
|
1031
1031
|
sm: 640,
|
|
1032
1032
|
md: 768,
|
|
@@ -1278,10 +1278,10 @@ function Uo(t, e) {
|
|
|
1278
1278
|
if (!Te(i)) return;
|
|
1279
1279
|
const n = i.props, s = Zo(i.type), u = s?.displayName || s?.name || "";
|
|
1280
1280
|
if (s === ie || u === "HeaderCell") {
|
|
1281
|
-
const p = n.width ? String(
|
|
1282
|
-
o.push(p), r.push(n.compactWidth ? String(
|
|
1281
|
+
const p = n.width ? String(ue(n.width)) : `minmax(${ve(e)}, 1fr)`;
|
|
1282
|
+
o.push(p), r.push(n.compactWidth ? String(ue(n.compactWidth)) : p);
|
|
1283
1283
|
const d = typeof n.label == "string" ? n.label : void 0, x = Yo(n.children).trim(), g = d ?? x;
|
|
1284
|
-
!d && x === "" && n.children != null &&
|
|
1284
|
+
!d && x === "" && n.children != null && fe("Table", "headerCell-missing-label", "Table.HeaderCell with JSX children must set `label` for stack-mode rendering."), c.push(g);
|
|
1285
1285
|
} else n.children && l(n.children);
|
|
1286
1286
|
});
|
|
1287
1287
|
}
|
|
@@ -1391,7 +1391,7 @@ function tr(t) {
|
|
|
1391
1391
|
let c, l, a, i, n, s;
|
|
1392
1392
|
if (e[0] !== o || e[1] !== r) {
|
|
1393
1393
|
const d = Q.toArray(o);
|
|
1394
|
-
l = re.Provider, s = !1, c =
|
|
1394
|
+
l = re.Provider, s = !1, c = $o.div, a = "rowgroup", i = $.body;
|
|
1395
1395
|
let x;
|
|
1396
1396
|
e[8] !== r ? (x = (g, h) => r !== "striped" ? g : /* @__PURE__ */ M($e.Provider, { value: h, children: g }, g.key ?? h), e[8] = r, e[9] = x) : x = e[9], n = d.map(x), e[0] = o, e[1] = r, e[2] = c, e[3] = l, e[4] = a, e[5] = i, e[6] = n, e[7] = s;
|
|
1397
1397
|
} else
|
|
@@ -1489,36 +1489,37 @@ const ir = {
|
|
|
1489
1489
|
Cell: nr
|
|
1490
1490
|
}, hr = ir;
|
|
1491
1491
|
export {
|
|
1492
|
-
|
|
1493
|
-
|
|
1492
|
+
he as B,
|
|
1493
|
+
Lo as C,
|
|
1494
1494
|
dr as D,
|
|
1495
1495
|
ie as H,
|
|
1496
1496
|
ur as I,
|
|
1497
1497
|
xr as M,
|
|
1498
|
-
|
|
1498
|
+
Oo as P,
|
|
1499
1499
|
rr as R,
|
|
1500
1500
|
Ce as S,
|
|
1501
1501
|
pr as T,
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1502
|
+
Io as a,
|
|
1503
|
+
Ao as b,
|
|
1504
|
+
Bo as c,
|
|
1505
|
+
fe as d,
|
|
1506
|
+
Mo as e,
|
|
1507
|
+
To as f,
|
|
1508
|
+
ge as g,
|
|
1509
|
+
$o as h,
|
|
1510
|
+
Po as i,
|
|
1511
|
+
ue as j,
|
|
1512
|
+
gr as k,
|
|
1513
|
+
hr as l,
|
|
1514
|
+
$ as m,
|
|
1515
|
+
er as n,
|
|
1516
|
+
tr as o,
|
|
1517
|
+
Qo as p,
|
|
1518
|
+
nr as q,
|
|
1519
|
+
ve as r,
|
|
1520
|
+
me as s,
|
|
1521
|
+
_ as t,
|
|
1522
|
+
Co as u,
|
|
1523
|
+
ir as v
|
|
1523
1524
|
};
|
|
1524
|
-
//# sourceMappingURL=Table-
|
|
1525
|
+
//# sourceMappingURL=Table-DYN-bp0e.js.map
|