@mechane-ai/elements 0.47.0 → 0.49.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/README.md +288 -5
- package/bin/mechane-elements-catalog.mjs +104 -12
- package/dist/ai.js +5 -5
- package/dist/article-yyNPg6VU.js +1904 -0
- package/dist/article.js +1 -0
- package/dist/catalog.json +1691 -163
- package/dist/{categorical-values-DdfGIowV.js → categorical-values-DCznViFp.js} +1 -1
- package/dist/{cells--Bd1fQFR.js → cells-CNZE4us2.js} +2 -2
- package/dist/charts/cartesian.js +1 -1
- package/dist/charts/cells.js +1 -1
- package/dist/charts/comparison.js +1 -1
- package/dist/charts/distribution.js +1 -1
- package/dist/charts/figure.js +12 -12
- package/dist/charts/graph.js +1 -1
- package/dist/charts/hierarchy.js +1 -1
- package/dist/charts/image.js +1 -1
- package/dist/charts/matrix.js +3 -2
- package/dist/charts/plot.js +6 -6
- package/dist/charts/relationship.js +1 -1
- package/dist/charts/text.js +1 -1
- package/dist/charts/timeline.js +1 -1
- package/dist/charts/trend.js +1 -1
- package/dist/charts.js +2 -2
- package/dist/clock-DSm5lkNE.js +16 -0
- package/dist/{code-block-DioAM2bZ.js → code-block-BZsY2sh3.js} +1 -1
- package/dist/collections.js +1 -1
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +2 -2
- package/dist/content/tree.js +1 -1
- package/dist/{content-link-NWuHp5rC.js → content-link-PnpcnTCx.js} +1 -1
- package/dist/content.js +1 -1
- package/dist/{dates-Cww8UR_n.js → dates-ckJdYF7t.js} +1 -1
- package/dist/describe-lesson-BmREzDpt.js +175 -0
- package/dist/{dumbbell-plot-B2ZTgQaI.js → dumbbell-plot-CMv9llfd.js} +9 -7
- package/dist/{embedding-map-CGM_k6lC.js → embedding-map-DC-lgzCq.js} +8 -8
- package/dist/feedback.js +1 -1
- package/dist/{figure-frame-wRkIEAwe.js → figure-frame-BjFzbl3m.js} +3 -3
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +3 -3
- package/dist/{image-grid-CVA4SOy_.js → image-grid-DHqtj_zs.js} +4 -4
- package/dist/index.js +1 -1
- package/dist/kits/evaluation.js +5 -5
- package/dist/kits/interpretability.js +320 -302
- package/dist/kits/operations.js +6 -6
- package/dist/kits/research.js +558 -0
- package/dist/kits/training.js +6 -6
- package/dist/layout.js +205 -110
- package/dist/lesson/agent.js +811 -0
- package/dist/lesson/spec.js +661 -0
- package/dist/lesson.js +5 -0
- package/dist/mdx.js +227 -0
- package/dist/navigation.js +2 -2
- package/dist/packages/charts/src/cartesian/index.d.ts +1 -1
- package/dist/packages/charts/src/cartesian/scatter-plot.d.ts +18 -0
- package/dist/packages/charts/src/chart-theme.d.ts +1 -1
- package/dist/packages/charts/src/matrix/index.d.ts +1 -0
- package/dist/packages/charts/src/plot/plot-marks.d.ts +7 -3
- package/dist/packages/charts/src/plot/plot-surface.d.ts +3 -1
- package/dist/packages/collections/src/index.d.ts +1 -1
- package/dist/packages/collections/src/metrics.d.ts +9 -1
- package/dist/packages/content/src/index.d.ts +2 -0
- package/dist/packages/content/src/text-match.d.ts +22 -0
- package/dist/packages/core/src/index.d.ts +1 -0
- package/dist/packages/core/src/surfaces.d.ts +12 -2
- package/dist/packages/forms/src/index.d.ts +2 -0
- package/dist/packages/forms/src/token-input.d.ts +24 -0
- package/dist/packages/kits/src/interpretability/index.d.ts +1 -1
- package/dist/packages/kits/src/interpretability/logit-lens.d.ts +10 -1
- package/dist/packages/kits/src/research/finding-card.d.ts +43 -0
- package/dist/packages/kits/src/research/index.d.ts +8 -0
- package/dist/packages/kits/src/research/milestone-path.d.ts +36 -0
- package/dist/packages/kits/src/research/specimen-diff.d.ts +41 -0
- package/dist/packages/kits/src/research/work-heartbeat.d.ts +34 -0
- package/dist/packages/layout/src/figure-grid.d.ts +8 -0
- package/dist/packages/layout/src/index.d.ts +4 -1
- package/dist/packages/layout/src/sidebar.d.ts +7 -0
- package/dist/packages/layout/src/workbench.d.ts +4 -1
- package/dist/packages/teaching/src/agent/index.d.ts +11 -0
- package/dist/packages/teaching/src/agent/learner-trace.d.ts +84 -0
- package/dist/packages/teaching/src/agent/lesson-bridge.d.ts +59 -0
- package/dist/packages/teaching/src/agent/lesson-tour.d.ts +63 -0
- package/dist/packages/teaching/src/agent/tutor-tools.d.ts +86 -0
- package/dist/packages/teaching/src/article/article-checks.d.ts +9 -0
- package/dist/packages/teaching/src/article/article-context.d.ts +49 -0
- package/dist/packages/teaching/src/article/article-error.d.ts +12 -0
- package/dist/packages/teaching/src/article/article-labels.d.ts +54 -0
- package/dist/packages/teaching/src/article/article-layout.stylex.d.ts +14 -0
- package/dist/packages/teaching/src/article/article-outline.d.ts +9 -0
- package/dist/packages/teaching/src/article/article.d.ts +42 -0
- package/dist/packages/teaching/src/article/beat-steps.d.ts +18 -0
- package/dist/packages/teaching/src/article/beat.d.ts +16 -0
- package/dist/packages/teaching/src/article/challenge.d.ts +29 -0
- package/dist/packages/teaching/src/article/exercise-styles.d.ts +76 -0
- package/dist/packages/teaching/src/article/figure.d.ts +51 -0
- package/dist/packages/teaching/src/article/index.d.ts +31 -0
- package/dist/packages/teaching/src/article/lesson-values.d.ts +5 -0
- package/dist/packages/teaching/src/article/notes.d.ts +36 -0
- package/dist/packages/teaching/src/article/outline-types.d.ts +73 -0
- package/dist/packages/teaching/src/article/predict.d.ts +58 -0
- package/dist/packages/teaching/src/article/progress-store.d.ts +64 -0
- package/dist/packages/teaching/src/article/scrolly.d.ts +26 -0
- package/dist/packages/{kits/src/explainers → teaching/src/article}/term.d.ts +8 -2
- package/dist/packages/teaching/src/article/tex.d.ts +12 -0
- package/dist/packages/teaching/src/article/view-essay.d.ts +13 -0
- package/dist/packages/teaching/src/article/view-present.d.ts +8 -0
- package/dist/packages/teaching/src/article/view-sheet.d.ts +7 -0
- package/dist/packages/teaching/src/article/view-static.d.ts +7 -0
- package/dist/packages/teaching/src/article/walk.d.ts +34 -0
- package/dist/packages/teaching/src/lesson/define-lesson.d.ts +136 -0
- package/dist/packages/teaching/src/lesson/index.d.ts +24 -0
- package/dist/packages/teaching/src/lesson/inline-choice.d.ts +12 -0
- package/dist/packages/teaching/src/lesson/lesson-context.d.ts +18 -0
- package/dist/packages/teaching/src/lesson/lesson-error.d.ts +12 -0
- package/dist/packages/teaching/src/lesson/lesson-locale.d.ts +4 -0
- package/dist/packages/teaching/src/lesson/lesson-persistence.d.ts +17 -0
- package/dist/packages/teaching/src/lesson/lesson-player.d.ts +51 -0
- package/dist/packages/teaching/src/lesson/lesson-store.d.ts +84 -0
- package/dist/packages/teaching/src/lesson/lesson.d.ts +39 -0
- package/dist/packages/teaching/src/lesson/param-controls.d.ts +14 -0
- package/dist/packages/teaching/src/lesson/param.d.ts +34 -0
- package/dist/packages/teaching/src/lesson/playback.d.ts +42 -0
- package/dist/packages/teaching/src/lesson/transport.d.ts +19 -0
- package/dist/packages/teaching/src/lesson/use-lesson.d.ts +36 -0
- package/dist/packages/teaching/src/mdx/essay-components.d.ts +79 -0
- package/dist/packages/teaching/src/mdx/essay-markdown.d.ts +41 -0
- package/dist/packages/teaching/src/mdx/essay.d.ts +32 -0
- package/dist/packages/teaching/src/mdx/index.d.ts +9 -0
- package/dist/packages/teaching/src/mdx/requested-view.d.ts +6 -0
- package/dist/packages/teaching/src/scene/flow/flow-layout.d.ts +38 -0
- package/dist/packages/teaching/src/scene/flow/flow-pulse.d.ts +16 -0
- package/dist/packages/teaching/src/scene/flow/scene-flow.d.ts +81 -0
- package/dist/packages/teaching/src/scene/index.d.ts +77 -0
- package/dist/packages/teaching/src/scene/morph/morph-scope.d.ts +28 -0
- package/dist/packages/teaching/src/scene/plane/plane-hit.d.ts +22 -0
- package/dist/packages/teaching/src/scene/plane/plane-label.d.ts +23 -0
- package/dist/packages/teaching/src/scene/plane/plane-labels.d.ts +42 -0
- package/dist/packages/teaching/src/scene/plane/plane-math.d.ts +45 -0
- package/dist/packages/teaching/src/scene/plane/scene-axes.d.ts +30 -0
- package/dist/packages/teaching/src/scene/plane/scene-curve.d.ts +42 -0
- package/dist/packages/teaching/src/scene/plane/scene-point.d.ts +59 -0
- package/dist/packages/teaching/src/scene/plane/scene-projection.d.ts +27 -0
- package/dist/packages/teaching/src/scene/plane/scene-region.d.ts +38 -0
- package/dist/packages/teaching/src/scene/plane/scene-rule.d.ts +35 -0
- package/dist/packages/teaching/src/scene/plane/scene-vector.d.ts +39 -0
- package/dist/packages/teaching/src/scene/scene-bracket.d.ts +24 -0
- package/dist/packages/teaching/src/scene/scene-callout.d.ts +26 -0
- package/dist/packages/teaching/src/scene/scene-context.d.ts +179 -0
- package/dist/packages/teaching/src/scene/scene-custom.d.ts +31 -0
- package/dist/packages/teaching/src/scene/scene-geometry.d.ts +181 -0
- package/dist/packages/teaching/src/scene/scene-group.d.ts +28 -0
- package/dist/packages/teaching/src/scene/scene-highlight.d.ts +19 -0
- package/dist/packages/teaching/src/scene/scene-layer.d.ts +16 -0
- package/dist/packages/teaching/src/scene/scene-node.d.ts +67 -0
- package/dist/packages/teaching/src/scene/scene-obstacles.d.ts +27 -0
- package/dist/packages/teaching/src/scene/scene-registry.d.ts +79 -0
- package/dist/packages/teaching/src/scene/scene-stagger.d.ts +43 -0
- package/dist/packages/teaching/src/scene/scene-style.d.ts +14 -0
- package/dist/packages/teaching/src/scene/scene-validate.d.ts +65 -0
- package/dist/packages/teaching/src/scene/scene-wire.d.ts +45 -0
- package/dist/packages/teaching/src/scene/scene.d.ts +36 -0
- package/dist/packages/teaching/src/scene/shapes/cell-color.d.ts +11 -0
- package/dist/packages/teaching/src/scene/shapes/cell-grid.d.ts +69 -0
- package/dist/packages/teaching/src/scene/shapes/scene-card.d.ts +114 -0
- package/dist/packages/teaching/src/scene/shapes/scene-cells.d.ts +84 -0
- package/dist/packages/teaching/src/scene/shapes/scene-slot.d.ts +37 -0
- package/dist/packages/teaching/src/scene/shapes/scene-stack.d.ts +46 -0
- package/dist/packages/teaching/src/scene/shapes/scene-token.d.ts +63 -0
- package/dist/packages/teaching/src/scene/shapes/scene-tokens.d.ts +40 -0
- package/dist/packages/teaching/src/scene/shapes/stack-book.d.ts +35 -0
- package/dist/packages/teaching/src/scene/shapes/stack-layout.d.ts +63 -0
- package/dist/packages/teaching/src/scene/shapes/token-layout.d.ts +39 -0
- package/dist/packages/teaching/src/spec/advice.d.ts +23 -0
- package/dist/packages/teaching/src/spec/chart-names.d.ts +2 -0
- package/dist/packages/teaching/src/spec/describe-lesson.d.ts +85 -0
- package/dist/packages/teaching/src/spec/explainer-guide.d.ts +21 -0
- package/dist/packages/teaching/src/spec/findings.d.ts +39 -0
- package/dist/packages/teaching/src/spec/index.d.ts +14 -0
- package/dist/packages/teaching/src/spec/lesson-plan.d.ts +43 -0
- package/dist/packages/teaching/src/spec/validate-plan.d.ts +11 -0
- package/dist/packages/teaching/src/time/clock.d.ts +7 -0
- package/dist/packages/teaching/src/time/tween.d.ts +19 -0
- package/dist/packages/teaching/src/time/use-tween.d.ts +6 -0
- package/dist/param-BE3VMSkH.js +450 -0
- package/dist/{pierre-diff-DlvjyuJn.js → pierre-diff-aGyQK5xK.js} +1 -1
- package/dist/{plot-axes-DJkLW4wk.js → plot-axes-D5S9BnBa.js} +1 -1
- package/dist/{plot-layout-BEuoOHbs.js → plot-layout-Bqe4-0qZ.js} +4 -3
- package/dist/{plot-marks-A64v7aTw.js → plot-marks-FVsbFkUs.js} +18 -15
- package/dist/{plot-surface-CJTIqtck.js → plot-surface-DON6WUmk.js} +11 -11
- package/dist/{plot-width-DcqtSgzb.js → plot-width-D3hTycYX.js} +1 -1
- package/dist/{reference-lines-CWA8VeUR.js → reference-lines-hjuD1rRZ.js} +2 -2
- package/dist/scene-BP0Ue0R5.js +4938 -0
- package/dist/scene.js +1 -0
- package/dist/{slope-chart-DT22h_ym.js → slope-chart-C8eeSgL4.js} +7 -7
- package/dist/{src-CpdJlDhO.js → src-9EJskqB_.js} +73 -31
- package/dist/{src-D5NXRJZe.js → src-B2rgpWap.js} +48 -14
- package/dist/{src-BPTDJqt0.js → src-Ci8DeY8J.js} +1 -1
- package/dist/{src-CGc_hjxJ.js → src-DFW49IAs.js} +143 -111
- package/dist/{src-1EHkSFS-.js → src-Dxs3Buo_.js} +205 -139
- package/dist/{src-CExIrXPC.js → src-npqwq3Sa.js} +1 -1
- package/dist/styles2.css +542 -21
- package/dist/{time-series-IB3CB93O.js → time-series-BL933QyA.js} +787 -715
- package/dist/{token-heatmap-C00DnoNO.js → token-heatmap-BB65awva.js} +4 -4
- package/dist/{token-predictions-Cxx29iDr.js → token-predictions-Pa8eUGan.js} +6 -6
- package/dist/transport-DzyxVXbL.js +715 -0
- package/dist/{tree-diagram-DsckNKaW.js → tree-diagram-DJhKBiia.js} +6 -6
- package/dist/{treemap-9_DpLCW9.js → treemap-CxxgABUg.js} +5 -5
- package/dist/use-tween-5HZ55_9d.js +72 -0
- package/dist/{violin-plot-BhPHKXsN.js → violin-plot-CoAEF_7Z.js} +7 -6
- package/dist/{waterfall-CGksuTy5.js → waterfall-DdoEXEkT.js} +7 -7
- package/package.json +30 -5
- package/recipes/counting-cards.tsx +656 -0
- package/recipes/explorable-essay.tsx +172 -0
- package/skills/extend-elements/SKILL.md +21 -0
- package/skills/plan-lesson/SKILL.md +86 -0
- package/skills/plan-lesson/references/plan-format.md +114 -0
- package/skills/plan-lesson/references/worked-plan.md +171 -0
- package/skills/review-elements/SKILL.md +4 -2
- package/skills/review-explainer/SKILL.md +97 -0
- package/skills/upgrade-elements/references/releases.md +65 -0
- package/skills/use-elements/SKILL.md +18 -16
- package/skills/use-elements/references/kits.md +9 -26
- package/skills/use-elements/references/teaching.md +36 -0
- package/skills/write-explainer/SKILL.md +112 -0
- package/skills/write-explainer/references/article.md +164 -0
- package/skills/write-explainer/references/lesson.md +148 -0
- package/skills/write-explainer/references/mdx.md +78 -0
- package/skills/write-explainer/references/scene-parts.md +273 -0
- package/skills/write-explainer/references/scene.md +168 -0
- package/skills/write-explainer/references/tutor.md +104 -0
- package/skills/write-explainer/references/worked-essay.md +459 -0
- package/templates/essay/AGENTS.md +14 -0
- package/templates/essay/README.md +59 -0
- package/templates/essay/index.html +17 -0
- package/templates/essay/package.template.json +21 -0
- package/templates/essay/plan.json +96 -0
- package/templates/essay/src/essay.mdx +97 -0
- package/templates/essay/src/figures.tsx +92 -0
- package/templates/essay/src/lesson.ts +83 -0
- package/templates/essay/src/main.tsx +53 -0
- package/templates/essay/src/mdx.d.ts +7 -0
- package/templates/essay/tsconfig.template.json +15 -0
- package/templates/essay/vite.config.template.txt +8 -0
- package/dist/kits/explainers.js +0 -452
- package/dist/packages/kits/src/explainers/figures.d.ts +0 -31
- package/dist/packages/kits/src/explainers/index.d.ts +0 -8
- package/dist/packages/kits/src/explainers/story-steps.d.ts +0 -46
- /package/dist/packages/{kits/src/explainers → teaching/src/article}/linked-target.d.ts +0 -0
- /package/dist/packages/{kits/src/explainers → teaching/src/lesson}/bound-value.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, i as t, n, r, t as i } from "./control-styles-D3q_Qyxi.js";
|
|
2
2
|
import { n as a } from "./accessibility-P89UG9-r.js";
|
|
3
|
-
import { C as o, D as s, S as c, b as l, i as u, o as d, s as f } from "./src-
|
|
3
|
+
import { C as o, D as s, S as c, b as l, i as u, o as d, s as f } from "./src-9EJskqB_.js";
|
|
4
4
|
import { r as p } from "./forms-CEbwzlRR.js";
|
|
5
5
|
import * as m from "@stylexjs/stylex";
|
|
6
6
|
import { createParts as ee, mergeProps as h } from "@ui-sdk/react/primitive";
|
|
@@ -20,6 +20,7 @@ import { Checkbox as ge, CheckboxIndicator as _e } from "@ui-sdk/react/checkbox"
|
|
|
20
20
|
import { SegmentedControl as ve, SegmentedControlIndicator as ye, SegmentedControlItem as be } from "@ui-sdk/react/segmented-control";
|
|
21
21
|
import { Switch as xe, SwitchThumb as Se } from "@ui-sdk/react/switch";
|
|
22
22
|
import { Toggle as Ce, ToggleGroup as we } from "@ui-sdk/react/toggle";
|
|
23
|
+
import { TokenInput as Te, TokenInputEditor as Ee, TokenInputToken as De, TokenInputTokenRemove as Oe, defaultCodec as ke, fromText as Ae, toLabel as je, toText as Me } from "@ui-sdk/react/token-input";
|
|
23
24
|
// packages/forms/src/selection-styles.ts
|
|
24
25
|
var B = {
|
|
25
26
|
trigger: {
|
|
@@ -175,17 +176,17 @@ var B = {
|
|
|
175
176
|
$$css: !0
|
|
176
177
|
}
|
|
177
178
|
};
|
|
178
|
-
function
|
|
179
|
+
function Ne(e) {
|
|
179
180
|
return /* @__PURE__ */ y(V, {
|
|
180
181
|
value: e.density ?? "standard",
|
|
181
182
|
children: (e.multiple, /* @__PURE__ */ y(w.Combobox, { ...e }))
|
|
182
183
|
});
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
+
function Pe({ xstyle: e, ...n }) {
|
|
185
186
|
let i = _(V);
|
|
186
187
|
return /* @__PURE__ */ y("div", { ...h(m.props(r.group, t[i], H.inputGroup, e), n) });
|
|
187
188
|
}
|
|
188
|
-
function
|
|
189
|
+
function Fe({ className: e, style: t, ...n }) {
|
|
189
190
|
return /* @__PURE__ */ y(w.ComboboxLabel, {
|
|
190
191
|
...n,
|
|
191
192
|
...a({
|
|
@@ -195,7 +196,7 @@ function De({ className: e, style: t, ...n }) {
|
|
|
195
196
|
})
|
|
196
197
|
});
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
+
function Ie({ className: t, style: i, ...o }) {
|
|
199
200
|
let s = _(V);
|
|
200
201
|
return /* @__PURE__ */ y(w.ComboboxInput, {
|
|
201
202
|
...o,
|
|
@@ -206,7 +207,7 @@ function Oe({ className: t, style: i, ...o }) {
|
|
|
206
207
|
})
|
|
207
208
|
});
|
|
208
209
|
}
|
|
209
|
-
function
|
|
210
|
+
function Le({ children: e = /* @__PURE__ */ y(S, {
|
|
210
211
|
size: 16,
|
|
211
212
|
"aria-hidden": "true"
|
|
212
213
|
}), "aria-label": t = "Show options", className: n, style: r, ...o }) {
|
|
@@ -222,7 +223,7 @@ function ke({ children: e = /* @__PURE__ */ y(S, {
|
|
|
222
223
|
children: e
|
|
223
224
|
});
|
|
224
225
|
}
|
|
225
|
-
function
|
|
226
|
+
function Re({ children: e = /* @__PURE__ */ y(C, {
|
|
226
227
|
size: 16,
|
|
227
228
|
"aria-hidden": "true"
|
|
228
229
|
}), "aria-label": t = "Clear selection", className: n, style: r, ...o }) {
|
|
@@ -238,7 +239,7 @@ function Ae({ children: e = /* @__PURE__ */ y(C, {
|
|
|
238
239
|
children: e
|
|
239
240
|
});
|
|
240
241
|
}
|
|
241
|
-
function
|
|
242
|
+
function ze({ className: e, style: t, xstyle: n, sideOffset: r = 4, ...i }) {
|
|
242
243
|
return /* @__PURE__ */ y(w.ComboboxContent, {
|
|
243
244
|
...i,
|
|
244
245
|
sideOffset: r,
|
|
@@ -249,7 +250,7 @@ function je({ className: e, style: t, xstyle: n, sideOffset: r = 4, ...i }) {
|
|
|
249
250
|
})
|
|
250
251
|
});
|
|
251
252
|
}
|
|
252
|
-
function
|
|
253
|
+
function Be({ className: e, style: t, ...n }) {
|
|
253
254
|
return /* @__PURE__ */ y(w.ComboboxList, {
|
|
254
255
|
...n,
|
|
255
256
|
...a({
|
|
@@ -259,7 +260,7 @@ function Me({ className: e, style: t, ...n }) {
|
|
|
259
260
|
})
|
|
260
261
|
});
|
|
261
262
|
}
|
|
262
|
-
function
|
|
263
|
+
function Ve({ className: e, style: t, ...n }) {
|
|
263
264
|
return /* @__PURE__ */ y(w.ComboboxItem, {
|
|
264
265
|
...n,
|
|
265
266
|
...a({
|
|
@@ -269,7 +270,7 @@ function Ne({ className: e, style: t, ...n }) {
|
|
|
269
270
|
})
|
|
270
271
|
});
|
|
271
272
|
}
|
|
272
|
-
function
|
|
273
|
+
function He({ children: e = /* @__PURE__ */ y(x, {
|
|
273
274
|
size: 16,
|
|
274
275
|
"aria-hidden": "true"
|
|
275
276
|
}), className: t, style: n, ...r }) {
|
|
@@ -283,7 +284,7 @@ function Pe({ children: e = /* @__PURE__ */ y(x, {
|
|
|
283
284
|
children: e
|
|
284
285
|
});
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
+
function Ue({ className: e, style: t, ...n }) {
|
|
287
288
|
return /* @__PURE__ */ y(w.ComboboxEmpty, {
|
|
288
289
|
...n,
|
|
289
290
|
...a({
|
|
@@ -293,7 +294,7 @@ function Fe({ className: e, style: t, ...n }) {
|
|
|
293
294
|
})
|
|
294
295
|
});
|
|
295
296
|
}
|
|
296
|
-
function
|
|
297
|
+
function We({ className: e, style: t, ...n }) {
|
|
297
298
|
return /* @__PURE__ */ y(w.ComboboxStatus, {
|
|
298
299
|
...n,
|
|
299
300
|
...a({
|
|
@@ -303,7 +304,7 @@ function Ie({ className: e, style: t, ...n }) {
|
|
|
303
304
|
})
|
|
304
305
|
});
|
|
305
306
|
}
|
|
306
|
-
function
|
|
307
|
+
function Ge({ className: e, style: t, ...n }) {
|
|
307
308
|
return /* @__PURE__ */ y(w.ComboboxGroupLabel, {
|
|
308
309
|
...n,
|
|
309
310
|
...a({
|
|
@@ -313,7 +314,7 @@ function Le({ className: e, style: t, ...n }) {
|
|
|
313
314
|
})
|
|
314
315
|
});
|
|
315
316
|
}
|
|
316
|
-
function
|
|
317
|
+
function Ke({ className: e, style: t, ...n }) {
|
|
317
318
|
return /* @__PURE__ */ y(w.ComboboxChips, {
|
|
318
319
|
...n,
|
|
319
320
|
...a({
|
|
@@ -323,7 +324,7 @@ function Re({ className: e, style: t, ...n }) {
|
|
|
323
324
|
})
|
|
324
325
|
});
|
|
325
326
|
}
|
|
326
|
-
function
|
|
327
|
+
function qe({ className: e, style: n, ...i }) {
|
|
327
328
|
let o = _(V);
|
|
328
329
|
return /* @__PURE__ */ y(w.ComboboxChip, {
|
|
329
330
|
...i,
|
|
@@ -334,7 +335,7 @@ function ze({ className: e, style: n, ...i }) {
|
|
|
334
335
|
})
|
|
335
336
|
});
|
|
336
337
|
}
|
|
337
|
-
function
|
|
338
|
+
function Je({ children: e = /* @__PURE__ */ y(C, {
|
|
338
339
|
size: 16,
|
|
339
340
|
"aria-hidden": "true"
|
|
340
341
|
}), className: t, style: n, ...r }) {
|
|
@@ -349,28 +350,28 @@ function Be({ children: e = /* @__PURE__ */ y(C, {
|
|
|
349
350
|
children: e
|
|
350
351
|
});
|
|
351
352
|
}
|
|
352
|
-
var
|
|
353
|
-
Root:
|
|
354
|
-
Label:
|
|
355
|
-
InputGroup:
|
|
356
|
-
Input:
|
|
357
|
-
Trigger:
|
|
358
|
-
Clear:
|
|
359
|
-
Popup:
|
|
360
|
-
List:
|
|
361
|
-
Item:
|
|
362
|
-
ItemIndicator:
|
|
363
|
-
Empty:
|
|
364
|
-
Status:
|
|
353
|
+
var Ye = {
|
|
354
|
+
Root: Ne,
|
|
355
|
+
Label: Fe,
|
|
356
|
+
InputGroup: Pe,
|
|
357
|
+
Input: Ie,
|
|
358
|
+
Trigger: Le,
|
|
359
|
+
Clear: Re,
|
|
360
|
+
Popup: ze,
|
|
361
|
+
List: Be,
|
|
362
|
+
Item: Ve,
|
|
363
|
+
ItemIndicator: He,
|
|
364
|
+
Empty: Ue,
|
|
365
|
+
Status: We,
|
|
365
366
|
Group: w.ComboboxGroup,
|
|
366
|
-
GroupLabel:
|
|
367
|
-
Chips:
|
|
368
|
-
Chip:
|
|
369
|
-
ChipRemove:
|
|
367
|
+
GroupLabel: Ge,
|
|
368
|
+
Chips: Ke,
|
|
369
|
+
Chip: qe,
|
|
370
|
+
ChipRemove: Je,
|
|
370
371
|
Value: w.ComboboxValue
|
|
371
372
|
};
|
|
372
373
|
// packages/forms/src/agent-avatar-picker.tsx
|
|
373
|
-
function
|
|
374
|
+
function Xe({ value: e, onValueChange: t, disabled: n = !1 }) {
|
|
374
375
|
let r = v(), i = v();
|
|
375
376
|
return /* @__PURE__ */ b("div", {
|
|
376
377
|
className: "x78zum5 xdt5ytf xaml1ju x1hz01jw xj57cvi xeuugli x193iq5w x16m5f1z",
|
|
@@ -529,14 +530,14 @@ var U = g("standard"), W = g("standard"), G = {
|
|
|
529
530
|
kk7Lky: "xwj21n9",
|
|
530
531
|
$$css: !0
|
|
531
532
|
}
|
|
532
|
-
},
|
|
533
|
+
}, Ze = {
|
|
533
534
|
standard: { $$css: !0 },
|
|
534
535
|
compact: {
|
|
535
536
|
kg3NbH: "xbsbsya",
|
|
536
537
|
$$css: !0
|
|
537
538
|
}
|
|
538
539
|
};
|
|
539
|
-
function
|
|
540
|
+
function Qe({ className: e, style: t, xstyle: n, ...r }) {
|
|
540
541
|
return /* @__PURE__ */ y(ce, {
|
|
541
542
|
...r,
|
|
542
543
|
...a({
|
|
@@ -546,7 +547,7 @@ function We({ className: e, style: t, xstyle: n, ...r }) {
|
|
|
546
547
|
})
|
|
547
548
|
});
|
|
548
549
|
}
|
|
549
|
-
function
|
|
550
|
+
function $e({ className: e, style: t, ...n }) {
|
|
550
551
|
return /* @__PURE__ */ y(se, {
|
|
551
552
|
...n,
|
|
552
553
|
...a({
|
|
@@ -556,7 +557,7 @@ function Ge({ className: e, style: t, ...n }) {
|
|
|
556
557
|
})
|
|
557
558
|
});
|
|
558
559
|
}
|
|
559
|
-
function
|
|
560
|
+
function et({ density: e = "standard", className: n, style: i, xstyle: o, ...s }) {
|
|
560
561
|
return /* @__PURE__ */ y(U, {
|
|
561
562
|
value: e,
|
|
562
563
|
children: /* @__PURE__ */ y(ue, {
|
|
@@ -569,11 +570,11 @@ function Ke({ density: e = "standard", className: n, style: i, xstyle: o, ...s }
|
|
|
569
570
|
})
|
|
570
571
|
});
|
|
571
572
|
}
|
|
572
|
-
function
|
|
573
|
+
function tt(e) {
|
|
573
574
|
let t = _(U);
|
|
574
|
-
return /* @__PURE__ */ y("span", { ...h(m.props(G.addon,
|
|
575
|
+
return /* @__PURE__ */ y("span", { ...h(m.props(G.addon, Ze[t]), e) });
|
|
575
576
|
}
|
|
576
|
-
function
|
|
577
|
+
function nt(e) {
|
|
577
578
|
let t = _(U);
|
|
578
579
|
return /* @__PURE__ */ y(p, {
|
|
579
580
|
...e,
|
|
@@ -581,7 +582,7 @@ function Je(e) {
|
|
|
581
582
|
isEmbedded: !0
|
|
582
583
|
});
|
|
583
584
|
}
|
|
584
|
-
function
|
|
585
|
+
function rt({ density: e = "standard", className: t, style: n, xstyle: i, ...o }) {
|
|
585
586
|
return /* @__PURE__ */ y(W, {
|
|
586
587
|
value: e,
|
|
587
588
|
children: /* @__PURE__ */ y(de, {
|
|
@@ -594,7 +595,7 @@ function Ye({ density: e = "standard", className: t, style: n, xstyle: i, ...o }
|
|
|
594
595
|
})
|
|
595
596
|
});
|
|
596
597
|
}
|
|
597
|
-
function
|
|
598
|
+
function it({ className: e, style: n, ...i }) {
|
|
598
599
|
let o = _(W);
|
|
599
600
|
return /* @__PURE__ */ y(me, {
|
|
600
601
|
...i,
|
|
@@ -605,7 +606,7 @@ function Xe({ className: e, style: n, ...i }) {
|
|
|
605
606
|
})
|
|
606
607
|
});
|
|
607
608
|
}
|
|
608
|
-
function
|
|
609
|
+
function at({ className: t, style: i, ...o }) {
|
|
609
610
|
let s = _(W);
|
|
610
611
|
return /* @__PURE__ */ y(fe, {
|
|
611
612
|
...o,
|
|
@@ -616,7 +617,7 @@ function Ze({ className: t, style: i, ...o }) {
|
|
|
616
617
|
})
|
|
617
618
|
});
|
|
618
619
|
}
|
|
619
|
-
function
|
|
620
|
+
function ot({ children: e = "+", "aria-label": t = "Increase", className: n, style: r, ...o }) {
|
|
620
621
|
let s = _(W);
|
|
621
622
|
return /* @__PURE__ */ y(he, {
|
|
622
623
|
...o,
|
|
@@ -629,7 +630,7 @@ function Qe({ children: e = "+", "aria-label": t = "Increase", className: n, sty
|
|
|
629
630
|
children: e
|
|
630
631
|
});
|
|
631
632
|
}
|
|
632
|
-
function
|
|
633
|
+
function st({ children: e = "−", "aria-label": t = "Decrease", className: n, style: r, ...o }) {
|
|
633
634
|
let s = _(W);
|
|
634
635
|
return /* @__PURE__ */ y(pe, {
|
|
635
636
|
...o,
|
|
@@ -642,7 +643,7 @@ function $e({ children: e = "−", "aria-label": t = "Decrease", className: n, s
|
|
|
642
643
|
children: e
|
|
643
644
|
});
|
|
644
645
|
}
|
|
645
|
-
function
|
|
646
|
+
function ct({ className: e, style: t, xstyle: n, ...r }) {
|
|
646
647
|
let i = le(), o = /* @__PURE__ */ y(D, {
|
|
647
648
|
...r,
|
|
648
649
|
...a({
|
|
@@ -656,17 +657,17 @@ function et({ className: e, style: t, xstyle: n, ...r }) {
|
|
|
656
657
|
children: o
|
|
657
658
|
}) : o;
|
|
658
659
|
}
|
|
659
|
-
function
|
|
660
|
+
function lt({ className: e, style: t, ...n }) {
|
|
660
661
|
return /* @__PURE__ */ y(O, {
|
|
661
662
|
...n,
|
|
662
663
|
...a({
|
|
663
664
|
className: e,
|
|
664
665
|
style: t,
|
|
665
|
-
styles: { className: "x1n2onr6 x78zum5 x6s0dn4 xeuugli x17tes2r x17oiadl x5ve5x3 x87ps6o xclew9j x1aah0cb x1w0yyvy" }
|
|
666
|
+
styles: { className: "x1n2onr6 x78zum5 x6s0dn4 xeuugli x17tes2r x17oiadl x5ve5x3 x87ps6o xxbjj12 xclew9j x1aah0cb x1w0yyvy xu249er x4nemgw" }
|
|
666
667
|
})
|
|
667
668
|
});
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
+
function ut({ className: e, style: t, ...n }) {
|
|
670
671
|
return /* @__PURE__ */ y(j, {
|
|
671
672
|
...n,
|
|
672
673
|
...a({
|
|
@@ -676,7 +677,7 @@ function nt({ className: e, style: t, ...n }) {
|
|
|
676
677
|
})
|
|
677
678
|
});
|
|
678
679
|
}
|
|
679
|
-
function
|
|
680
|
+
function dt({ className: e, style: t, ...n }) {
|
|
680
681
|
return /* @__PURE__ */ y(k, {
|
|
681
682
|
...n,
|
|
682
683
|
...a({
|
|
@@ -686,17 +687,17 @@ function rt({ className: e, style: t, ...n }) {
|
|
|
686
687
|
})
|
|
687
688
|
});
|
|
688
689
|
}
|
|
689
|
-
function
|
|
690
|
+
function ft({ className: e, style: t, ...n }) {
|
|
690
691
|
return /* @__PURE__ */ y(A, {
|
|
691
692
|
...n,
|
|
692
693
|
...a({
|
|
693
694
|
className: e,
|
|
694
695
|
style: t,
|
|
695
|
-
styles: { className: "x1lliihq x9f619 x1kky2od xlup9mm xmkeg23 x1y0btm7 x159tnba x1ok0vyi xpvm0e4 x18vtl6o x13rtz23 x1885yjv xnnj0qo xdo2bxc xdjuwb3 x1s928wv x1j6awrg xoqv437 x16v8oms x128ww4c
|
|
696
|
+
styles: { className: "x1lliihq x9f619 x1kky2od xlup9mm xmkeg23 x1y0btm7 x159tnba x1ok0vyi xpvm0e4 x18vtl6o x13rtz23 x1885yjv xnnj0qo xdo2bxc xdjuwb3 x1s928wv x1j6awrg xoqv437 x16v8oms x128ww4c xrsbh8w x1s4ve4b" }
|
|
696
697
|
})
|
|
697
698
|
});
|
|
698
699
|
}
|
|
699
|
-
function
|
|
700
|
+
function pt({ className: e, style: t, ...n }) {
|
|
700
701
|
return /* @__PURE__ */ y(oe, {
|
|
701
702
|
...n,
|
|
702
703
|
...a({
|
|
@@ -706,7 +707,7 @@ function at({ className: e, style: t, ...n }) {
|
|
|
706
707
|
})
|
|
707
708
|
});
|
|
708
709
|
}
|
|
709
|
-
function
|
|
710
|
+
function mt({ className: e, style: t, ...n }) {
|
|
710
711
|
return /* @__PURE__ */ y(M, {
|
|
711
712
|
...n,
|
|
712
713
|
...a({
|
|
@@ -716,27 +717,27 @@ function ot({ className: e, style: t, ...n }) {
|
|
|
716
717
|
})
|
|
717
718
|
});
|
|
718
719
|
}
|
|
719
|
-
var
|
|
720
|
-
Root:
|
|
721
|
-
Legend:
|
|
722
|
-
},
|
|
723
|
-
Root: Ke,
|
|
724
|
-
Addon: qe,
|
|
725
|
-
Input: Je
|
|
726
|
-
}, lt = {
|
|
727
|
-
Root: Ye,
|
|
728
|
-
Group: Xe,
|
|
729
|
-
Input: Ze,
|
|
730
|
-
Increment: Qe,
|
|
731
|
-
Decrement: $e
|
|
732
|
-
}, ut = {
|
|
720
|
+
var ht = {
|
|
721
|
+
Root: Qe,
|
|
722
|
+
Legend: $e
|
|
723
|
+
}, gt = {
|
|
733
724
|
Root: et,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
725
|
+
Addon: tt,
|
|
726
|
+
Input: nt
|
|
727
|
+
}, _t = {
|
|
728
|
+
Root: rt,
|
|
729
|
+
Group: it,
|
|
730
|
+
Input: at,
|
|
731
|
+
Increment: ot,
|
|
732
|
+
Decrement: st
|
|
733
|
+
}, vt = {
|
|
734
|
+
Root: ct,
|
|
735
|
+
Label: pt,
|
|
736
|
+
Value: mt,
|
|
737
|
+
Control: lt,
|
|
738
|
+
Track: ut,
|
|
739
|
+
Indicator: dt,
|
|
740
|
+
Thumb: ft
|
|
740
741
|
}, K = {
|
|
741
742
|
root: {
|
|
742
743
|
k1xSpc: "x78zum5",
|
|
@@ -776,7 +777,7 @@ var st = {
|
|
|
776
777
|
k3XXqK: "x1t137rt",
|
|
777
778
|
$$css: !0
|
|
778
779
|
}
|
|
779
|
-
},
|
|
780
|
+
}, yt = {
|
|
780
781
|
standard: {
|
|
781
782
|
kg3NbH: "x1atzlso",
|
|
782
783
|
$$css: !0
|
|
@@ -791,17 +792,17 @@ var st = {
|
|
|
791
792
|
"MiB",
|
|
792
793
|
"GiB"
|
|
793
794
|
];
|
|
794
|
-
function
|
|
795
|
+
function bt(e) {
|
|
795
796
|
let t = Math.min(J.length - 1, Math.floor(Math.log(Math.max(e, 1)) / Math.log(q))), n = e / q ** t;
|
|
796
797
|
return t === 0 ? e === 1 ? "1 byte" : `${e} bytes` : `${n.toFixed(1)} ${J[t]}`;
|
|
797
798
|
}
|
|
798
|
-
var
|
|
799
|
+
var xt = {
|
|
799
800
|
"file-type": "is not an accepted type",
|
|
800
801
|
"file-too-large": "is too large",
|
|
801
802
|
"file-too-small": "is too small",
|
|
802
803
|
"too-many-files": "is more than this field takes"
|
|
803
804
|
};
|
|
804
|
-
function
|
|
805
|
+
function St({ density: t = "standard", xstyle: i, multiple: a = !1, onValueChange: o, onReject: c, ...l }) {
|
|
805
806
|
let [u, d] = te([]);
|
|
806
807
|
return /* @__PURE__ */ b(N, {
|
|
807
808
|
...l,
|
|
@@ -817,7 +818,7 @@ function mt({ density: t = "standard", xstyle: i, multiple: a = !1, onValueChang
|
|
|
817
818
|
/* @__PURE__ */ b(P, {
|
|
818
819
|
...m.props(r.base, r.field, r.singleLineField, n[t], e[t], K.dropzone),
|
|
819
820
|
children: [/* @__PURE__ */ y(R, {
|
|
820
|
-
...m.props(K.trigger,
|
|
821
|
+
...m.props(K.trigger, yt[t]),
|
|
821
822
|
children: a ? "Choose files" : "Choose a file"
|
|
822
823
|
}), /* @__PURE__ */ y("span", {
|
|
823
824
|
className: "xamitd3 xeuugli x5g2kb4 x153jb6y xb3r6kr xlyipyv xuxw1ft",
|
|
@@ -842,7 +843,7 @@ function mt({ density: t = "standard", xstyle: i, multiple: a = !1, onValueChang
|
|
|
842
843
|
" ",
|
|
843
844
|
/* @__PURE__ */ y("span", {
|
|
844
845
|
className: "x2lah0s x153jb6y xy8obcc xss6m8b",
|
|
845
|
-
children:
|
|
846
|
+
children: bt(t.size)
|
|
846
847
|
}),
|
|
847
848
|
/* @__PURE__ */ y(I, {
|
|
848
849
|
render: /* @__PURE__ */ y(s, {
|
|
@@ -862,7 +863,7 @@ function mt({ density: t = "standard", xstyle: i, multiple: a = !1, onValueChang
|
|
|
862
863
|
children: u.map(({ file: e, reasons: t }) => /* @__PURE__ */ b("li", { children: [
|
|
863
864
|
e.name,
|
|
864
865
|
" ",
|
|
865
|
-
t.map((e) =>
|
|
866
|
+
t.map((e) => xt[e] ?? e).join(" and "),
|
|
866
867
|
"."
|
|
867
868
|
] }, `${e.name}-${e.size}`))
|
|
868
869
|
})
|
|
@@ -886,7 +887,7 @@ var Y = {
|
|
|
886
887
|
kLZC3w: "xhjagg4",
|
|
887
888
|
$$css: !0
|
|
888
889
|
}
|
|
889
|
-
},
|
|
890
|
+
}, Ct = {
|
|
890
891
|
start: {
|
|
891
892
|
kjj79g: "x1nhvcw1",
|
|
892
893
|
$$css: !0
|
|
@@ -896,9 +897,9 @@ var Y = {
|
|
|
896
897
|
$$css: !0
|
|
897
898
|
}
|
|
898
899
|
};
|
|
899
|
-
function
|
|
900
|
+
function wt({ children: e, align: t = "end", hasSeparator: n = !1, xstyle: r }) {
|
|
900
901
|
return /* @__PURE__ */ y("div", {
|
|
901
|
-
...m.props(Y.root,
|
|
902
|
+
...m.props(Y.root, Ct[t], n && Y.separated, r),
|
|
902
903
|
children: e
|
|
903
904
|
});
|
|
904
905
|
}
|
|
@@ -909,7 +910,7 @@ function X({ status: e, message: t }) {
|
|
|
909
910
|
message: t
|
|
910
911
|
};
|
|
911
912
|
}
|
|
912
|
-
var
|
|
913
|
+
var Tt = ne({
|
|
913
914
|
name: "form-status",
|
|
914
915
|
options: {
|
|
915
916
|
status: "string",
|
|
@@ -921,39 +922,39 @@ var _t = ne({
|
|
|
921
922
|
api: () => ({}),
|
|
922
923
|
slots: (e) => ({ root: e({}) }),
|
|
923
924
|
agent: { actions: [] }
|
|
924
|
-
}),
|
|
925
|
+
}), Et = ee(Tt, { root: "span" }), Dt = {
|
|
925
926
|
pending: "warning",
|
|
926
927
|
error: "negative",
|
|
927
928
|
success: "positive"
|
|
928
929
|
};
|
|
929
|
-
function
|
|
930
|
-
return /* @__PURE__ */ y(
|
|
930
|
+
function Ot({ status: e, message: t }) {
|
|
931
|
+
return /* @__PURE__ */ y(Et.Root, {
|
|
931
932
|
status: e,
|
|
932
933
|
message: t,
|
|
933
934
|
role: e === "error" ? "alert" : "status",
|
|
934
|
-
render: /* @__PURE__ */ y(d, { tone:
|
|
935
|
+
render: /* @__PURE__ */ y(d, { tone: Dt[e] }),
|
|
935
936
|
children: t
|
|
936
937
|
});
|
|
937
938
|
}
|
|
938
939
|
// packages/forms/src/select.tsx
|
|
939
|
-
var
|
|
940
|
+
var kt = {
|
|
940
941
|
outline: B.outlined,
|
|
941
942
|
ghost: B.ghost
|
|
942
943
|
};
|
|
943
|
-
function
|
|
944
|
+
function At(e) {
|
|
944
945
|
return e.multiple, /* @__PURE__ */ y(z.Select, { ...e });
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
+
function jt({ variant: e = "outline", density: t = "standard", className: o, style: s, xstyle: c, ...l }) {
|
|
947
948
|
return /* @__PURE__ */ y(z.SelectTrigger, {
|
|
948
949
|
...l,
|
|
949
950
|
...a({
|
|
950
951
|
className: o,
|
|
951
952
|
style: s,
|
|
952
|
-
styles: m.props(r.base, B.trigger,
|
|
953
|
+
styles: m.props(r.base, B.trigger, kt[e], n[t], i[t], c)
|
|
953
954
|
})
|
|
954
955
|
});
|
|
955
956
|
}
|
|
956
|
-
function
|
|
957
|
+
function Mt({ className: e, style: t, xstyle: n, ...r }) {
|
|
957
958
|
return /* @__PURE__ */ y(z.SelectValue, {
|
|
958
959
|
...r,
|
|
959
960
|
...a({
|
|
@@ -963,13 +964,13 @@ function wt({ className: e, style: t, xstyle: n, ...r }) {
|
|
|
963
964
|
})
|
|
964
965
|
});
|
|
965
966
|
}
|
|
966
|
-
function
|
|
967
|
+
function Nt(e) {
|
|
967
968
|
return /* @__PURE__ */ y("span", {
|
|
968
969
|
"aria-hidden": !0,
|
|
969
970
|
...h(m.props(B.icon), e)
|
|
970
971
|
});
|
|
971
972
|
}
|
|
972
|
-
function
|
|
973
|
+
function Pt({ xstyle: e, className: t, style: n, sideOffset: r = 4, ...i }) {
|
|
973
974
|
return /* @__PURE__ */ y(z.SelectContent, {
|
|
974
975
|
...i,
|
|
975
976
|
sideOffset: r,
|
|
@@ -980,7 +981,7 @@ function Et({ xstyle: e, className: t, style: n, sideOffset: r = 4, ...i }) {
|
|
|
980
981
|
})
|
|
981
982
|
});
|
|
982
983
|
}
|
|
983
|
-
function
|
|
984
|
+
function Ft({ className: e, style: t, ...n }) {
|
|
984
985
|
return /* @__PURE__ */ y(z.SelectItem, {
|
|
985
986
|
...n,
|
|
986
987
|
...a({
|
|
@@ -990,7 +991,7 @@ function Dt({ className: e, style: t, ...n }) {
|
|
|
990
991
|
})
|
|
991
992
|
});
|
|
992
993
|
}
|
|
993
|
-
function
|
|
994
|
+
function It({ className: e, style: t, ...n }) {
|
|
994
995
|
return /* @__PURE__ */ y(z.SelectItemText, {
|
|
995
996
|
...n,
|
|
996
997
|
...a({
|
|
@@ -1000,7 +1001,7 @@ function Ot({ className: e, style: t, ...n }) {
|
|
|
1000
1001
|
})
|
|
1001
1002
|
});
|
|
1002
1003
|
}
|
|
1003
|
-
function
|
|
1004
|
+
function Lt({ className: e, style: t, ...n }) {
|
|
1004
1005
|
return /* @__PURE__ */ y(z.SelectItemIndicator, {
|
|
1005
1006
|
...n,
|
|
1006
1007
|
...a({
|
|
@@ -1011,18 +1012,18 @@ function kt({ className: e, style: t, ...n }) {
|
|
|
1011
1012
|
});
|
|
1012
1013
|
}
|
|
1013
1014
|
var Z = {
|
|
1014
|
-
Root:
|
|
1015
|
-
Trigger:
|
|
1016
|
-
Value:
|
|
1017
|
-
Icon:
|
|
1018
|
-
Popup:
|
|
1015
|
+
Root: At,
|
|
1016
|
+
Trigger: jt,
|
|
1017
|
+
Value: Mt,
|
|
1018
|
+
Icon: Nt,
|
|
1019
|
+
Popup: Pt,
|
|
1019
1020
|
List: z.SelectList,
|
|
1020
|
-
Item:
|
|
1021
|
-
ItemText:
|
|
1022
|
-
ItemIndicator:
|
|
1021
|
+
Item: Ft,
|
|
1022
|
+
ItemText: It,
|
|
1023
|
+
ItemIndicator: Lt
|
|
1023
1024
|
};
|
|
1024
1025
|
// packages/forms/src/select-control.tsx
|
|
1025
|
-
function
|
|
1026
|
+
function Rt({ label: e, items: t, placeholder: n, align: r = "start", value: i, readOnly: a, onValueChange: o, disabled: s, id: c, name: l, form: u, required: d, autoComplete: f, ...p }) {
|
|
1026
1027
|
let m = a === !0 ? {
|
|
1027
1028
|
value: i,
|
|
1028
1029
|
readOnly: !0
|
|
@@ -1176,7 +1177,7 @@ var Q = {
|
|
|
1176
1177
|
$$css: !0
|
|
1177
1178
|
}
|
|
1178
1179
|
};
|
|
1179
|
-
function
|
|
1180
|
+
function zt({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked: i, defaultChecked: o, onCheckedChange: s, ...c }) {
|
|
1180
1181
|
let l = r ? "indeterminate" : i;
|
|
1181
1182
|
return /* @__PURE__ */ y(ge, {
|
|
1182
1183
|
...c,
|
|
@@ -1190,7 +1191,7 @@ function jt({ className: e, style: t, xstyle: n, indeterminate: r = !1, checked:
|
|
|
1190
1191
|
})
|
|
1191
1192
|
});
|
|
1192
1193
|
}
|
|
1193
|
-
function
|
|
1194
|
+
function Bt({ children: e, className: t, style: n, ...r }) {
|
|
1194
1195
|
return /* @__PURE__ */ y(_e, {
|
|
1195
1196
|
...r,
|
|
1196
1197
|
...a({
|
|
@@ -1204,7 +1205,7 @@ function Mt({ children: e, className: t, style: n, ...r }) {
|
|
|
1204
1205
|
children: e
|
|
1205
1206
|
});
|
|
1206
1207
|
}
|
|
1207
|
-
function
|
|
1208
|
+
function Vt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
|
|
1208
1209
|
return /* @__PURE__ */ y(E, {
|
|
1209
1210
|
...i,
|
|
1210
1211
|
onValueChange: (e, t) => {
|
|
@@ -1217,7 +1218,7 @@ function Nt({ className: e, style: t, xstyle: n, onValueChange: r, ...i }) {
|
|
|
1217
1218
|
})
|
|
1218
1219
|
});
|
|
1219
1220
|
}
|
|
1220
|
-
function
|
|
1221
|
+
function Ht({ className: e, style: t, xstyle: n, ...r }) {
|
|
1221
1222
|
return /* @__PURE__ */ y(T, {
|
|
1222
1223
|
...r,
|
|
1223
1224
|
...a({
|
|
@@ -1227,7 +1228,7 @@ function $({ className: e, style: t, xstyle: n, ...r }) {
|
|
|
1227
1228
|
})
|
|
1228
1229
|
});
|
|
1229
1230
|
}
|
|
1230
|
-
function
|
|
1231
|
+
function Ut({ className: e, style: t, ...n }) {
|
|
1231
1232
|
return /* @__PURE__ */ y(ie, {
|
|
1232
1233
|
...n,
|
|
1233
1234
|
...a({
|
|
@@ -1237,7 +1238,7 @@ function Pt({ className: e, style: t, ...n }) {
|
|
|
1237
1238
|
})
|
|
1238
1239
|
});
|
|
1239
1240
|
}
|
|
1240
|
-
function
|
|
1241
|
+
function Wt({ className: e, style: t, xstyle: n, ...r }) {
|
|
1241
1242
|
return /* @__PURE__ */ y(xe, {
|
|
1242
1243
|
...r,
|
|
1243
1244
|
...a({
|
|
@@ -1247,7 +1248,7 @@ function Ft({ className: e, style: t, xstyle: n, ...r }) {
|
|
|
1247
1248
|
})
|
|
1248
1249
|
});
|
|
1249
1250
|
}
|
|
1250
|
-
function
|
|
1251
|
+
function Gt({ className: e, style: t, ...n }) {
|
|
1251
1252
|
return /* @__PURE__ */ y(Se, {
|
|
1252
1253
|
...n,
|
|
1253
1254
|
...a({
|
|
@@ -1257,7 +1258,7 @@ function It({ className: e, style: t, ...n }) {
|
|
|
1257
1258
|
})
|
|
1258
1259
|
});
|
|
1259
1260
|
}
|
|
1260
|
-
function
|
|
1261
|
+
function Kt({ className: e, style: t, xstyle: n, value: r, defaultValue: i, ...o }) {
|
|
1261
1262
|
return /* @__PURE__ */ y(we, {
|
|
1262
1263
|
...o,
|
|
1263
1264
|
...r !== void 0 && { value: [...r] },
|
|
@@ -1269,7 +1270,7 @@ function Lt({ className: e, style: t, xstyle: n, value: r, defaultValue: i, ...o
|
|
|
1269
1270
|
})
|
|
1270
1271
|
});
|
|
1271
1272
|
}
|
|
1272
|
-
function
|
|
1273
|
+
function qt({ className: e, style: t, ...n }) {
|
|
1273
1274
|
return /* @__PURE__ */ y(Ce, {
|
|
1274
1275
|
...n,
|
|
1275
1276
|
...a({
|
|
@@ -1279,7 +1280,7 @@ function Rt({ className: e, style: t, ...n }) {
|
|
|
1279
1280
|
})
|
|
1280
1281
|
});
|
|
1281
1282
|
}
|
|
1282
|
-
function
|
|
1283
|
+
function $({ className: e, style: t, xstyle: n, children: r, onValueChange: i, ...o }) {
|
|
1283
1284
|
return /* @__PURE__ */ b(ve, {
|
|
1284
1285
|
...o,
|
|
1285
1286
|
onValueChange: (e, t) => {
|
|
@@ -1293,7 +1294,7 @@ function zt({ className: e, style: t, xstyle: n, children: r, onValueChange: i,
|
|
|
1293
1294
|
children: [/* @__PURE__ */ y(ye, { className: "x10l6tqk x8knxv4 x13vifvy xu96u03 x1u1fgkt xg7szsh x1eza64o x1ok0vyi x1r7kqkb x47corl x11xpdln x1faw7qm xtitasy xsn8rav x17ba671" }), r]
|
|
1294
1295
|
});
|
|
1295
1296
|
}
|
|
1296
|
-
function
|
|
1297
|
+
function Jt({ className: e, style: t, ...n }) {
|
|
1297
1298
|
return /* @__PURE__ */ y(be, {
|
|
1298
1299
|
...n,
|
|
1299
1300
|
...a({
|
|
@@ -1303,25 +1304,25 @@ function Bt({ className: e, style: t, ...n }) {
|
|
|
1303
1304
|
})
|
|
1304
1305
|
});
|
|
1305
1306
|
}
|
|
1306
|
-
var
|
|
1307
|
-
Root: jt,
|
|
1308
|
-
Indicator: Mt
|
|
1309
|
-
}, Ht = {
|
|
1310
|
-
Root: Nt,
|
|
1311
|
-
Item: $,
|
|
1312
|
-
Indicator: Pt
|
|
1313
|
-
}, Ut = {
|
|
1314
|
-
Root: Ft,
|
|
1315
|
-
Thumb: It
|
|
1316
|
-
}, Wt = {
|
|
1317
|
-
Root: Lt,
|
|
1318
|
-
Item: Rt
|
|
1319
|
-
}, Gt = {
|
|
1307
|
+
var Yt = {
|
|
1320
1308
|
Root: zt,
|
|
1321
|
-
|
|
1309
|
+
Indicator: Bt
|
|
1310
|
+
}, Xt = {
|
|
1311
|
+
Root: Vt,
|
|
1312
|
+
Item: Ht,
|
|
1313
|
+
Indicator: Ut
|
|
1314
|
+
}, Zt = {
|
|
1315
|
+
Root: Wt,
|
|
1316
|
+
Thumb: Gt
|
|
1317
|
+
}, Qt = {
|
|
1318
|
+
Root: Kt,
|
|
1319
|
+
Item: qt
|
|
1320
|
+
}, $t = {
|
|
1321
|
+
Root: $,
|
|
1322
|
+
Item: Jt
|
|
1322
1323
|
};
|
|
1323
1324
|
// packages/forms/src/settings-row.tsx
|
|
1324
|
-
function
|
|
1325
|
+
function en({ label: e, description: t, controlId: n, isPlaceholder: r = !1, children: i }) {
|
|
1325
1326
|
let a = v(), o = `${n ?? a}-description`;
|
|
1326
1327
|
return /* @__PURE__ */ b("div", {
|
|
1327
1328
|
role: "group",
|
|
@@ -1348,7 +1349,7 @@ function Kt({ label: e, description: t, controlId: n, isPlaceholder: r = !1, chi
|
|
|
1348
1349
|
});
|
|
1349
1350
|
}
|
|
1350
1351
|
// packages/forms/src/settings-section.tsx
|
|
1351
|
-
function
|
|
1352
|
+
function tn({ title: e, description: t, children: n }) {
|
|
1352
1353
|
let r = v();
|
|
1353
1354
|
return /* @__PURE__ */ b("section", {
|
|
1354
1355
|
"aria-labelledby": r,
|
|
@@ -1362,4 +1363,69 @@ function qt({ title: e, description: t, children: n }) {
|
|
|
1362
1363
|
}), /* @__PURE__ */ y("div", { children: n })]
|
|
1363
1364
|
});
|
|
1364
1365
|
}
|
|
1365
|
-
|
|
1366
|
+
// packages/forms/src/token-input.tsx
|
|
1367
|
+
var nn = { editor: {
|
|
1368
|
+
k1xSpc: "x78zum5",
|
|
1369
|
+
kwnvtZ: "x1a02dak",
|
|
1370
|
+
kGNEyG: "x6s0dn4",
|
|
1371
|
+
kOIVth: "xunmzkg",
|
|
1372
|
+
kAzted: "x17tes2r",
|
|
1373
|
+
k8WAf4: "x1hmw7ec",
|
|
1374
|
+
kg3NbH: "x5g2kb4",
|
|
1375
|
+
kZKoxP: "xt7dq6l",
|
|
1376
|
+
khDVqt: "x126k92a",
|
|
1377
|
+
kTgw9: "x13faqbe",
|
|
1378
|
+
kkrTdU: "x1ed109x",
|
|
1379
|
+
kgeoSG: "xnahlnb xncqip6",
|
|
1380
|
+
kxBb7d: "xxxwwxo",
|
|
1381
|
+
km8f2m: "xkk1bqk",
|
|
1382
|
+
$$css: !0
|
|
1383
|
+
} };
|
|
1384
|
+
function rn(e) {
|
|
1385
|
+
return /* @__PURE__ */ y(Te, { ...e });
|
|
1386
|
+
}
|
|
1387
|
+
function an({ className: e, style: t, density: i = "standard", xstyle: o, placeholder: s, ...c }) {
|
|
1388
|
+
return /* @__PURE__ */ y(Ee, {
|
|
1389
|
+
...s !== void 0 && {
|
|
1390
|
+
placeholder: s,
|
|
1391
|
+
"data-placeholder": s
|
|
1392
|
+
},
|
|
1393
|
+
...c,
|
|
1394
|
+
...a({
|
|
1395
|
+
className: e,
|
|
1396
|
+
style: t,
|
|
1397
|
+
styles: m.props(r.field, n[i], nn.editor, o)
|
|
1398
|
+
})
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
function on({ className: e, style: t, ...n }) {
|
|
1402
|
+
return /* @__PURE__ */ y(De, {
|
|
1403
|
+
...n,
|
|
1404
|
+
...a({
|
|
1405
|
+
className: e,
|
|
1406
|
+
style: t,
|
|
1407
|
+
styles: { className: "x3nfvp2 x6s0dn4 xfko13i x10dazmo x14w6jbu xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi x1r7kqkb xbixft xiard35 xy8obcc xas2l8k x87ps6o x9tegbm x1sxamyl" }
|
|
1408
|
+
})
|
|
1409
|
+
});
|
|
1410
|
+
}
|
|
1411
|
+
function sn({ className: e, style: t, children: n, ...r }) {
|
|
1412
|
+
return /* @__PURE__ */ y(Oe, {
|
|
1413
|
+
...r,
|
|
1414
|
+
...a({
|
|
1415
|
+
className: e,
|
|
1416
|
+
style: t,
|
|
1417
|
+
styles: { className: "x3nfvp2 x6s0dn4 xl56j7k x1717udv xc342km xjbqb8w x153jb6y x1ypdohk xp9636p" }
|
|
1418
|
+
}),
|
|
1419
|
+
children: n ?? /* @__PURE__ */ y(C, {
|
|
1420
|
+
size: 12,
|
|
1421
|
+
"aria-hidden": "true"
|
|
1422
|
+
})
|
|
1423
|
+
});
|
|
1424
|
+
}
|
|
1425
|
+
var cn = {
|
|
1426
|
+
Root: rn,
|
|
1427
|
+
Editor: an,
|
|
1428
|
+
Token: on,
|
|
1429
|
+
TokenRemove: sn
|
|
1430
|
+
};
|
|
1431
|
+
export { Ye as C, Xe as S, St as _, Me as a, _t as b, Yt as c, Zt as d, Qt as f, wt as g, Ot as h, je as i, Xt as l, Z as m, ke as n, tn as o, Rt as p, Ae as r, en as s, cn as t, $t as u, ht as v, vt as x, gt as y };
|