@facet-tools/ui 0.0.0-stage → 0.1.0-rc.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 (82) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +6 -0
  3. package/README.md +24 -2
  4. package/THIRD_PARTY.md +673 -0
  5. package/dist/NOTICE +6 -0
  6. package/dist/THIRD_PARTY.md +15 -0
  7. package/dist/atlas-BsWEDCxa.d.cts +4861 -0
  8. package/dist/atlas-BsWEDCxa.d.ts +4861 -0
  9. package/dist/chunk-7FW4IMVY.cjs +2013 -0
  10. package/dist/chunk-7FW4IMVY.cjs.map +1 -0
  11. package/dist/chunk-7SLSRYM3.cjs +6324 -0
  12. package/dist/chunk-7SLSRYM3.cjs.map +1 -0
  13. package/dist/chunk-A4BERWE6.js +19973 -0
  14. package/dist/chunk-A4BERWE6.js.map +1 -0
  15. package/dist/chunk-EZP2CCQY.js +6209 -0
  16. package/dist/chunk-EZP2CCQY.js.map +1 -0
  17. package/dist/chunk-FR6DIALV.js +511 -0
  18. package/dist/chunk-FR6DIALV.js.map +1 -0
  19. package/dist/chunk-GDFKDECN.cjs +1788 -0
  20. package/dist/chunk-GDFKDECN.cjs.map +1 -0
  21. package/dist/chunk-K2OVG2BC.cjs +20035 -0
  22. package/dist/chunk-K2OVG2BC.cjs.map +1 -0
  23. package/dist/chunk-LOI5RY3Y.js +1754 -0
  24. package/dist/chunk-LOI5RY3Y.js.map +1 -0
  25. package/dist/chunk-SWCO2XQL.js +1968 -0
  26. package/dist/chunk-SWCO2XQL.js.map +1 -0
  27. package/dist/chunk-WAG2ZZJH.cjs +514 -0
  28. package/dist/chunk-WAG2ZZJH.cjs.map +1 -0
  29. package/dist/classic.cjs +467 -0
  30. package/dist/classic.cjs.map +1 -0
  31. package/dist/classic.css +635 -0
  32. package/dist/classic.d.cts +4 -0
  33. package/dist/classic.d.ts +4 -0
  34. package/dist/classic.js +6 -0
  35. package/dist/classic.js.map +1 -0
  36. package/dist/companion-BUs0yNdX.d.cts +110 -0
  37. package/dist/companion-DOQ435G6.d.ts +110 -0
  38. package/dist/core/fixtures.cjs +268 -0
  39. package/dist/core/fixtures.cjs.map +1 -0
  40. package/dist/core/fixtures.d.cts +11 -0
  41. package/dist/core/fixtures.d.ts +11 -0
  42. package/dist/core/fixtures.js +261 -0
  43. package/dist/core/fixtures.js.map +1 -0
  44. package/dist/core.cjs +310 -0
  45. package/dist/core.cjs.map +1 -0
  46. package/dist/core.d.cts +268 -0
  47. package/dist/core.d.ts +268 -0
  48. package/dist/core.js +5 -0
  49. package/dist/core.js.map +1 -0
  50. package/dist/elements.cjs +616 -0
  51. package/dist/elements.cjs.map +1 -0
  52. package/dist/elements.d.cts +20 -0
  53. package/dist/elements.d.ts +20 -0
  54. package/dist/elements.js +612 -0
  55. package/dist/elements.js.map +1 -0
  56. package/dist/facet/atlas.cjs +25 -0
  57. package/dist/facet/atlas.cjs.map +1 -0
  58. package/dist/facet/atlas.d.cts +2 -0
  59. package/dist/facet/atlas.d.ts +2 -0
  60. package/dist/facet/atlas.js +4 -0
  61. package/dist/facet/atlas.js.map +1 -0
  62. package/dist/facet-ui.standalone.js +104 -0
  63. package/dist/facet.cjs +253 -0
  64. package/dist/facet.cjs.map +1 -0
  65. package/dist/facet.css +10649 -0
  66. package/dist/facet.d.cts +91 -0
  67. package/dist/facet.d.ts +91 -0
  68. package/dist/facet.js +4 -0
  69. package/dist/facet.js.map +1 -0
  70. package/dist/index.cjs +467 -0
  71. package/dist/index.cjs.map +1 -0
  72. package/dist/index.d.cts +1584 -0
  73. package/dist/index.d.ts +1584 -0
  74. package/dist/index.js +6 -0
  75. package/dist/index.js.map +1 -0
  76. package/dist/licenses/react-dom@19.2.8/LICENSE +21 -0
  77. package/dist/licenses/react@19.2.8/LICENSE +21 -0
  78. package/dist/licenses/scheduler@0.27.0/LICENSE +21 -0
  79. package/dist/tokens.css +635 -0
  80. package/dist/types-DkZBrIXE.d.cts +527 -0
  81. package/dist/types-DkZBrIXE.d.ts +527 -0
  82. package/package.json +169 -4
@@ -0,0 +1,616 @@
1
+ 'use strict';
2
+
3
+ var chunk7SLSRYM3_cjs = require('./chunk-7SLSRYM3.cjs');
4
+ require('./chunk-7FW4IMVY.cjs');
5
+ require('./chunk-GDFKDECN.cjs');
6
+ var chunkWAG2ZZJH_cjs = require('./chunk-WAG2ZZJH.cjs');
7
+ var react = require('react');
8
+ var client = require('react-dom/client');
9
+
10
+ function parseValue(raw, kind) {
11
+ if (raw == null) return void 0;
12
+ if (kind === "number") {
13
+ const value = Number(raw);
14
+ return Number.isNaN(value) ? void 0 : value;
15
+ }
16
+ if (kind === "boolean") return raw !== "false";
17
+ if (kind === "json") {
18
+ try {
19
+ return JSON.parse(raw);
20
+ } catch {
21
+ return void 0;
22
+ }
23
+ }
24
+ return raw;
25
+ }
26
+ function defineFacetElement(definition) {
27
+ if (typeof window === "undefined" || !window.customElements) return;
28
+ if (window.customElements.get(definition.tag)) return;
29
+ const attributeNames = Object.keys(definition.attributes);
30
+ class FacetElement extends HTMLElement {
31
+ static get observedAttributes() {
32
+ return attributeNames;
33
+ }
34
+ root = null;
35
+ props = { ...definition.defaults };
36
+ captured = null;
37
+ connectedCallback() {
38
+ if (definition.children && this.captured == null) {
39
+ this.captured = this.innerHTML.trim();
40
+ }
41
+ if (!this.root) this.root = client.createRoot(this);
42
+ this.readAttributes();
43
+ this.bindEvents();
44
+ this.render();
45
+ }
46
+ attributeChangedCallback() {
47
+ if (!this.root) return;
48
+ this.readAttributes();
49
+ this.render();
50
+ }
51
+ disconnectedCallback() {
52
+ const root = this.root;
53
+ this.root = null;
54
+ if (root) queueMicrotask(() => root.unmount());
55
+ }
56
+ setProps(next) {
57
+ this.props = { ...this.props, ...next };
58
+ this.render();
59
+ }
60
+ readAttributes() {
61
+ attributeNames.forEach((name) => {
62
+ const spec = definition.attributes[name];
63
+ const value = parseValue(this.getAttribute(name), spec.kind);
64
+ if (value !== void 0) {
65
+ this.props[spec.prop] = value;
66
+ }
67
+ });
68
+ }
69
+ bindEvents() {
70
+ Object.entries(definition.events ?? {}).forEach(([prop, type]) => {
71
+ const props = this.props;
72
+ if (typeof props[prop] === "function") return;
73
+ props[prop] = (detail) => {
74
+ this.dispatchEvent(new CustomEvent(String(type), { detail, bubbles: true }));
75
+ };
76
+ });
77
+ }
78
+ render() {
79
+ const props = { ...this.props };
80
+ if (definition.children && this.captured) {
81
+ props.children = react.createElement("span", {
82
+ dangerouslySetInnerHTML: { __html: this.captured }
83
+ });
84
+ }
85
+ this.root?.render(react.createElement(definition.component, props));
86
+ }
87
+ }
88
+ window.customElements.define(definition.tag, FacetElement);
89
+ }
90
+
91
+ // src/elements/index.ts
92
+ var FACET_ELEMENT_TAGS = [
93
+ "facet-anchor-map",
94
+ "facet-bar",
95
+ "facet-blind",
96
+ "facet-button",
97
+ "facet-clause-sheet",
98
+ "facet-companion",
99
+ "facet-counter",
100
+ "facet-coverage-ring",
101
+ "facet-dependency-fan",
102
+ "facet-depth-ladder",
103
+ "facet-dot",
104
+ "facet-empty-state",
105
+ "facet-entry-cards",
106
+ "facet-error-state",
107
+ "facet-evidence-ledger",
108
+ "facet-field-row",
109
+ "facet-field-sheet",
110
+ "facet-focus-row",
111
+ "facet-gherkin-statement",
112
+ "facet-group-tiles",
113
+ "facet-hairline",
114
+ "facet-index-progress",
115
+ "facet-kbd",
116
+ "facet-knowledge-slots",
117
+ "facet-lifecycle-badge",
118
+ "facet-mark",
119
+ "facet-markdown",
120
+ "facet-probe-number",
121
+ "facet-proof-matrix",
122
+ "facet-quiet-line",
123
+ "facet-record-picker",
124
+ "facet-record-source",
125
+ "facet-rest-cloud",
126
+ "facet-role-gate",
127
+ "facet-scan-value",
128
+ "facet-scenario-ledger",
129
+ "facet-seal",
130
+ "facet-segment-band",
131
+ "facet-sheet",
132
+ "facet-signal-stack",
133
+ "facet-skeleton",
134
+ "facet-stack",
135
+ "facet-stat-value",
136
+ "facet-surface",
137
+ "facet-test-pyramid",
138
+ "facet-text",
139
+ "facet-timeline",
140
+ "facet-trail"
141
+ ];
142
+ function defineFacetElements() {
143
+ defineFacetElement({
144
+ tag: "facet-seal",
145
+ component: chunk7SLSRYM3_cjs.Seal_default,
146
+ attributes: {
147
+ present: { prop: "present", kind: "json" },
148
+ height: { prop: "height", kind: "number" },
149
+ "hide-count": { prop: "hideCount", kind: "boolean" }
150
+ },
151
+ defaults: { present: {} }
152
+ });
153
+ defineFacetElement({
154
+ tag: "facet-lifecycle-badge",
155
+ component: chunk7SLSRYM3_cjs.LifecycleBadge_default,
156
+ attributes: {
157
+ lifecycle: { prop: "lifecycle", kind: "string" },
158
+ "created-at": { prop: "createdAt", kind: "string" },
159
+ "superseded-by": { prop: "supersededBy", kind: "string" }
160
+ },
161
+ defaults: { lifecycle: "active" }
162
+ });
163
+ defineFacetElement({
164
+ tag: "facet-gherkin-statement",
165
+ component: chunk7SLSRYM3_cjs.GherkinStatement_default,
166
+ attributes: {
167
+ statement: { prop: "statement", kind: "string" },
168
+ compact: { prop: "compact", kind: "boolean" }
169
+ }
170
+ });
171
+ defineFacetElement({
172
+ tag: "facet-proof-matrix",
173
+ component: chunk7SLSRYM3_cjs.ProofMatrix_default,
174
+ attributes: {
175
+ scenarios: { prop: "scenarios", kind: "json" },
176
+ "only-gaps": { prop: "onlyGaps", kind: "boolean" }
177
+ },
178
+ defaults: { scenarios: [] }
179
+ });
180
+ defineFacetElement({
181
+ tag: "facet-anchor-map",
182
+ component: chunk7SLSRYM3_cjs.AnchorMap_default,
183
+ attributes: {
184
+ anchors: { prop: "anchors", kind: "json" },
185
+ lifecycle: { prop: "lifecycle", kind: "string" },
186
+ "hide-excerpt": { prop: "hideExcerpt", kind: "boolean" }
187
+ },
188
+ defaults: { anchors: [] }
189
+ });
190
+ defineFacetElement({
191
+ tag: "facet-coverage-ring",
192
+ component: chunk7SLSRYM3_cjs.CoverageRing_default,
193
+ attributes: {
194
+ value: { prop: "value", kind: "number" },
195
+ total: { prop: "total", kind: "number" },
196
+ size: { prop: "size", kind: "number" }
197
+ },
198
+ defaults: { value: 0, total: 0 }
199
+ });
200
+ defineFacetElement({
201
+ tag: "facet-bar",
202
+ component: chunk7SLSRYM3_cjs.Bar_default,
203
+ attributes: {
204
+ value: { prop: "value", kind: "number" },
205
+ total: { prop: "total", kind: "number" },
206
+ label: { prop: "label", kind: "string" }
207
+ },
208
+ defaults: { value: 0, total: 0, label: chunkWAG2ZZJH_cjs.labelText.text252 }
209
+ });
210
+ defineFacetElement({
211
+ tag: "facet-segment-band",
212
+ component: chunk7SLSRYM3_cjs.SegmentBand_default,
213
+ attributes: {
214
+ segments: { prop: "segments", kind: "json" },
215
+ height: { prop: "height", kind: "number" }
216
+ },
217
+ defaults: { segments: [] }
218
+ });
219
+ defineFacetElement({
220
+ tag: "facet-stat-value",
221
+ component: chunk7SLSRYM3_cjs.StatValue_default,
222
+ attributes: {
223
+ label: { prop: "label", kind: "string" },
224
+ value: { prop: "value", kind: "string" },
225
+ hint: { prop: "hint", kind: "string" },
226
+ meaning: { prop: "meaning", kind: "string" },
227
+ size: { prop: "size", kind: "string" }
228
+ },
229
+ defaults: { label: "", value: "" }
230
+ });
231
+ defineFacetElement({
232
+ tag: "facet-text",
233
+ component: chunk7SLSRYM3_cjs.Text_default,
234
+ attributes: {
235
+ variant: { prop: "variant", kind: "string" },
236
+ tone: { prop: "tone", kind: "string" },
237
+ mono: { prop: "mono", kind: "boolean" },
238
+ truncate: { prop: "truncate", kind: "boolean" },
239
+ clamp: { prop: "clamp", kind: "number" }
240
+ },
241
+ children: true
242
+ });
243
+ defineFacetElement({
244
+ tag: "facet-stack",
245
+ component: chunk7SLSRYM3_cjs.Stack_default,
246
+ attributes: {
247
+ direction: { prop: "direction", kind: "string" },
248
+ gap: { prop: "gap", kind: "number" },
249
+ align: { prop: "align", kind: "string" },
250
+ justify: { prop: "justify", kind: "string" },
251
+ wrap: { prop: "wrap", kind: "boolean" }
252
+ },
253
+ children: true
254
+ });
255
+ defineFacetElement({
256
+ tag: "facet-surface",
257
+ component: chunk7SLSRYM3_cjs.Surface_default,
258
+ attributes: {
259
+ tone: { prop: "tone", kind: "string" },
260
+ padding: { prop: "padding", kind: "number" },
261
+ edge: { prop: "edge", kind: "string" },
262
+ rail: { prop: "rail", kind: "string" }
263
+ },
264
+ children: true
265
+ });
266
+ defineFacetElement({
267
+ tag: "facet-hairline",
268
+ component: chunk7SLSRYM3_cjs.Hairline_default,
269
+ attributes: {
270
+ orientation: { prop: "orientation", kind: "string" },
271
+ strength: { prop: "strength", kind: "string" },
272
+ inset: { prop: "inset", kind: "number" }
273
+ }
274
+ });
275
+ defineFacetElement({
276
+ tag: "facet-mark",
277
+ component: chunk7SLSRYM3_cjs.Mark_default,
278
+ attributes: {
279
+ variant: { prop: "variant", kind: "string" },
280
+ size: { prop: "size", kind: "number" },
281
+ label: { prop: "label", kind: "string" }
282
+ }
283
+ });
284
+ defineFacetElement({
285
+ tag: "facet-dot",
286
+ component: chunk7SLSRYM3_cjs.Dot_default,
287
+ attributes: {
288
+ meaning: { prop: "meaning", kind: "string" },
289
+ size: { prop: "size", kind: "number" },
290
+ hollow: { prop: "hollow", kind: "boolean" },
291
+ label: { prop: "label", kind: "string" }
292
+ }
293
+ });
294
+ defineFacetElement({
295
+ tag: "facet-counter",
296
+ component: chunk7SLSRYM3_cjs.Counter_default,
297
+ attributes: {
298
+ value: { prop: "value", kind: "number" },
299
+ unit: { prop: "unit", kind: "string" },
300
+ duration: { prop: "duration", kind: "number" },
301
+ animate: { prop: "animate", kind: "boolean" }
302
+ },
303
+ defaults: { value: 0 }
304
+ });
305
+ defineFacetElement({
306
+ tag: "facet-scan-value",
307
+ component: chunk7SLSRYM3_cjs.ScanValue_default,
308
+ attributes: {
309
+ origin: { prop: "origin", kind: "string" },
310
+ "origin-label": { prop: "originLabel", kind: "string" }
311
+ },
312
+ children: true
313
+ });
314
+ defineFacetElement({
315
+ tag: "facet-quiet-line",
316
+ component: chunk7SLSRYM3_cjs.QuietLine_default,
317
+ attributes: { tone: { prop: "tone", kind: "string" } },
318
+ children: true
319
+ });
320
+ defineFacetElement({
321
+ tag: "facet-kbd",
322
+ component: chunk7SLSRYM3_cjs.Kbd_default,
323
+ attributes: { keys: { prop: "keys", kind: "json" } }
324
+ });
325
+ defineFacetElement({
326
+ tag: "facet-skeleton",
327
+ component: chunk7SLSRYM3_cjs.Skeleton_default,
328
+ attributes: {
329
+ height: { prop: "height", kind: "number" },
330
+ width: { prop: "width", kind: "string" },
331
+ label: { prop: "label", kind: "string" }
332
+ }
333
+ });
334
+ defineFacetElement({
335
+ tag: "facet-field-row",
336
+ component: chunk7SLSRYM3_cjs.FieldRow_default,
337
+ attributes: {
338
+ label: { prop: "label", kind: "string" },
339
+ value: { prop: "value", kind: "string" },
340
+ emphasis: { prop: "emphasis", kind: "boolean" },
341
+ "label-width": { prop: "labelWidth", kind: "number" },
342
+ "preserve-lines": { prop: "preserveLines", kind: "boolean" }
343
+ }
344
+ });
345
+ defineFacetElement({
346
+ tag: "facet-probe-number",
347
+ component: chunk7SLSRYM3_cjs.ProbeNumber_default,
348
+ attributes: {
349
+ "probe-key": { prop: "probeKey", kind: "string" },
350
+ "active-probe": { prop: "activeProbe", kind: "string" },
351
+ label: { prop: "label", kind: "string" }
352
+ },
353
+ events: { onToggle: "facet-toggle" },
354
+ children: true
355
+ });
356
+ defineFacetElement({
357
+ tag: "facet-button",
358
+ component: chunk7SLSRYM3_cjs.Button_default,
359
+ attributes: {
360
+ variant: { prop: "variant", kind: "string" },
361
+ disabled: { prop: "disabled", kind: "boolean" }
362
+ },
363
+ events: { onClick: "facet-click" },
364
+ children: true
365
+ });
366
+ defineFacetElement({
367
+ tag: "facet-depth-ladder",
368
+ component: chunk7SLSRYM3_cjs.DepthLadder_default,
369
+ attributes: {
370
+ depth: { prop: "depth", kind: "number" },
371
+ steps: { prop: "steps", kind: "json" },
372
+ label: { prop: "label", kind: "string" }
373
+ },
374
+ events: { onDepthChange: "facet-depth-change" },
375
+ defaults: { depth: 1 }
376
+ });
377
+ defineFacetElement({
378
+ tag: "facet-trail",
379
+ component: chunk7SLSRYM3_cjs.Trail_default,
380
+ attributes: { steps: { prop: "steps", kind: "json" } },
381
+ defaults: { steps: [] }
382
+ });
383
+ defineFacetElement({
384
+ tag: "facet-record-picker",
385
+ component: chunk7SLSRYM3_cjs.RecordPicker_default,
386
+ attributes: {
387
+ items: { prop: "items", kind: "json" },
388
+ placeholder: { prop: "placeholder", kind: "string" },
389
+ limit: { prop: "limit", kind: "number" }
390
+ },
391
+ events: { onSelect: "facet-select" },
392
+ defaults: { items: [] }
393
+ });
394
+ defineFacetElement({
395
+ tag: "facet-markdown",
396
+ component: chunk7SLSRYM3_cjs.Markdown_default,
397
+ attributes: {
398
+ text: { prop: "text", kind: "string" },
399
+ gap: { prop: "gap", kind: "number" }
400
+ },
401
+ defaults: { text: "" }
402
+ });
403
+ defineFacetElement({
404
+ tag: "facet-companion",
405
+ component: chunk7SLSRYM3_cjs.Companion_default,
406
+ attributes: {
407
+ entries: { prop: "entries", kind: "json" },
408
+ reads: { prop: "reads", kind: "json" },
409
+ scope: { prop: "scope", kind: "string" },
410
+ intro: { prop: "intro", kind: "string" },
411
+ foot: { prop: "foot", kind: "string" },
412
+ draft: { prop: "draft", kind: "string" },
413
+ busy: { prop: "busy", kind: "boolean" }
414
+ },
415
+ events: { onAsk: "facet-ask", onSend: "facet-send", onClose: "facet-close" },
416
+ defaults: { entries: [], reads: [], suggestions: [] }
417
+ });
418
+ defineFacetElement({
419
+ tag: "facet-role-gate",
420
+ component: chunk7SLSRYM3_cjs.RoleGate_default,
421
+ attributes: { fallback: { prop: "fallback", kind: "string" } },
422
+ events: { onPick: "facet-pick" }
423
+ });
424
+ defineFacetElement({
425
+ tag: "facet-focus-row",
426
+ component: chunk7SLSRYM3_cjs.FocusRow_default,
427
+ attributes: {
428
+ id: { prop: "id", kind: "string" },
429
+ rank: { prop: "rank", kind: "number" },
430
+ title: { prop: "title", kind: "string" },
431
+ why: { prop: "why", kind: "string" },
432
+ meta: { prop: "meta", kind: "string" },
433
+ overdue: { prop: "overdue", kind: "boolean" },
434
+ "open-id": { prop: "openId", kind: "string" },
435
+ dimmed: { prop: "dimmed", kind: "boolean" }
436
+ },
437
+ events: { onOpenChange: "facet-open-change", onDeeper: "facet-deeper" },
438
+ children: true
439
+ });
440
+ defineFacetElement({
441
+ tag: "facet-rest-cloud",
442
+ component: chunk7SLSRYM3_cjs.RestCloud_default,
443
+ attributes: {
444
+ items: { prop: "items", kind: "json" },
445
+ expanded: { prop: "expanded", kind: "boolean" }
446
+ },
447
+ events: { onToggle: "facet-toggle" },
448
+ defaults: { items: [] }
449
+ });
450
+ defineFacetElement({
451
+ tag: "facet-sheet",
452
+ component: chunk7SLSRYM3_cjs.Sheet_default,
453
+ attributes: {
454
+ open: { prop: "open", kind: "boolean" },
455
+ label: { prop: "label", kind: "string" },
456
+ height: { prop: "height", kind: "string" }
457
+ },
458
+ events: { onClose: "facet-close" },
459
+ children: true
460
+ });
461
+ defineFacetElement({
462
+ tag: "facet-blind",
463
+ component: chunk7SLSRYM3_cjs.Blind_default,
464
+ attributes: {
465
+ open: { prop: "open", kind: "boolean" },
466
+ label: { prop: "label", kind: "string" },
467
+ width: { prop: "width", kind: "string" }
468
+ },
469
+ events: { onClose: "facet-close" },
470
+ children: true
471
+ });
472
+ defineFacetElement({
473
+ tag: "facet-empty-state",
474
+ component: chunk7SLSRYM3_cjs.EmptyState_default,
475
+ attributes: {
476
+ headline: { prop: "headline", kind: "string" },
477
+ body: { prop: "body", kind: "string" },
478
+ tone: { prop: "tone", kind: "string" }
479
+ },
480
+ defaults: { headline: "" }
481
+ });
482
+ defineFacetElement({
483
+ tag: "facet-error-state",
484
+ component: chunk7SLSRYM3_cjs.ErrorState_default,
485
+ attributes: {
486
+ error: { prop: "error", kind: "string" },
487
+ path: { prop: "path", kind: "string" },
488
+ "retry-label": { prop: "retryLabel", kind: "string" }
489
+ },
490
+ events: { onRetry: "facet-retry" }
491
+ });
492
+ defineFacetElement({
493
+ tag: "facet-index-progress",
494
+ component: chunk7SLSRYM3_cjs.IndexProgress_default,
495
+ attributes: {
496
+ status: { prop: "status", kind: "json" },
497
+ root: { prop: "root", kind: "string" },
498
+ registry: { prop: "registry", kind: "string" },
499
+ "history-length": { prop: "historyLength", kind: "number" }
500
+ }
501
+ });
502
+ defineFacetElement({
503
+ tag: "facet-scenario-ledger",
504
+ component: chunk7SLSRYM3_cjs.ScenarioLedger_default,
505
+ attributes: {
506
+ scenarios: { prop: "scenarios", kind: "json" },
507
+ "only-gaps": { prop: "onlyGaps", kind: "boolean" }
508
+ },
509
+ defaults: { scenarios: [] }
510
+ });
511
+ defineFacetElement({
512
+ tag: "facet-test-pyramid",
513
+ component: chunk7SLSRYM3_cjs.TestPyramid_default,
514
+ attributes: {
515
+ counts: { prop: "counts", kind: "json" },
516
+ kinds: { prop: "kinds", kind: "json" }
517
+ },
518
+ defaults: { counts: {} }
519
+ });
520
+ defineFacetElement({
521
+ tag: "facet-knowledge-slots",
522
+ component: chunk7SLSRYM3_cjs.KnowledgeSlots_default,
523
+ attributes: { slots: { prop: "slots", kind: "json" } },
524
+ defaults: { slots: [] }
525
+ });
526
+ defineFacetElement({
527
+ tag: "facet-clause-sheet",
528
+ component: chunk7SLSRYM3_cjs.ClauseSheet_default,
529
+ attributes: { clauses: { prop: "clauses", kind: "json" } },
530
+ defaults: { clauses: [] }
531
+ });
532
+ defineFacetElement({
533
+ tag: "facet-field-sheet",
534
+ component: chunk7SLSRYM3_cjs.FieldSheet_default,
535
+ attributes: { fields: { prop: "fields", kind: "json" } },
536
+ defaults: { fields: [] }
537
+ });
538
+ defineFacetElement({
539
+ tag: "facet-evidence-ledger",
540
+ component: chunk7SLSRYM3_cjs.EvidenceLedger_default,
541
+ attributes: { evidence: { prop: "evidence", kind: "json" } },
542
+ defaults: { evidence: [] }
543
+ });
544
+ defineFacetElement({
545
+ tag: "facet-signal-stack",
546
+ component: chunk7SLSRYM3_cjs.SignalStack_default,
547
+ attributes: {
548
+ slos: { prop: "slos", kind: "json" },
549
+ alerts: { prop: "alerts", kind: "json" },
550
+ "only-gaps": { prop: "onlyGaps", kind: "boolean" }
551
+ }
552
+ });
553
+ defineFacetElement({
554
+ tag: "facet-dependency-fan",
555
+ component: chunk7SLSRYM3_cjs.DependencyFan_default,
556
+ attributes: {
557
+ edges: { prop: "edges", kind: "json" },
558
+ depth: { prop: "depth", kind: "json" },
559
+ ghosts: { prop: "ghosts", kind: "json" }
560
+ },
561
+ events: { onOpen: "facet-open" },
562
+ defaults: { edges: [] }
563
+ });
564
+ defineFacetElement({
565
+ tag: "facet-entry-cards",
566
+ component: chunk7SLSRYM3_cjs.EntryCards_default,
567
+ attributes: {
568
+ entries: { prop: "entries", kind: "json" },
569
+ "card-width": { prop: "cardWidth", kind: "number" },
570
+ "empty-text": { prop: "emptyText", kind: "string" }
571
+ },
572
+ events: { onOpen: "facet-open" },
573
+ defaults: { entries: [] }
574
+ });
575
+ defineFacetElement({
576
+ tag: "facet-group-tiles",
577
+ component: chunk7SLSRYM3_cjs.GroupTiles_default,
578
+ attributes: {
579
+ groups: { prop: "groups", kind: "json" },
580
+ noun: { prop: "noun", kind: "string" },
581
+ unit: { prop: "unit", kind: "string" },
582
+ "share-noun": { prop: "shareNoun", kind: "string" },
583
+ "tile-width": { prop: "tileWidth", kind: "number" },
584
+ "empty-text": { prop: "emptyText", kind: "string" }
585
+ },
586
+ events: { onOpen: "facet-open" },
587
+ defaults: { groups: [] }
588
+ });
589
+ defineFacetElement({
590
+ tag: "facet-timeline",
591
+ component: chunk7SLSRYM3_cjs.Timeline_default,
592
+ attributes: {
593
+ events: { prop: "events", kind: "json" },
594
+ unit: { prop: "unit", kind: "string" },
595
+ bucket: { prop: "bucket", kind: "string" },
596
+ height: { prop: "height", kind: "number" },
597
+ "empty-text": { prop: "emptyText", kind: "string" }
598
+ },
599
+ defaults: { events: [] }
600
+ });
601
+ defineFacetElement({
602
+ tag: "facet-record-source",
603
+ component: chunk7SLSRYM3_cjs.RecordSource_default,
604
+ attributes: {
605
+ raw: { prop: "raw", kind: "string" },
606
+ path: { prop: "path", kind: "string" }
607
+ }
608
+ });
609
+ }
610
+ defineFacetElements();
611
+
612
+ exports.FACET_ELEMENT_TAGS = FACET_ELEMENT_TAGS;
613
+ exports.defineFacetElement = defineFacetElement;
614
+ exports.defineFacetElements = defineFacetElements;
615
+ //# sourceMappingURL=elements.cjs.map
616
+ //# sourceMappingURL=elements.cjs.map