@cfasim-ui/components 0.4.15 → 0.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/{ParamEditorImpl-CcsMO4k-.js → ParamEditorImpl-B-Rd1mHs.js} +2883 -2875
- package/dist/index.css +1 -1
- package/dist/index.js +342 -89
- package/dist/{Icon → src/Icon}/Icon.d.ts +2 -0
- package/dist/src/Icon/defaultIcons.d.ts +5 -0
- package/dist/src/Icon/registry.d.ts +18 -0
- package/dist/src/Toggle/Toggle.test.d.ts +1 -0
- package/dist/{index.d.ts → src/index.d.ts} +3 -0
- package/package.json +4 -2
- /package/dist/{SelectBox-BDCkOxe1.js → SelectBox-Bqsx-5ZB.js} +0 -0
- /package/dist/{Box → src/Box}/Box.d.ts +0 -0
- /package/dist/{Box → src/Box}/Box.spec.d.ts +0 -0
- /package/dist/{Box → src/Box}/Box.test.d.ts +0 -0
- /package/dist/{Button → src/Button}/Button.d.ts +0 -0
- /package/dist/{Button → src/Button}/Button.spec.d.ts +0 -0
- /package/dist/{Button → src/Button}/Button.test.d.ts +0 -0
- /package/dist/{Container → src/Container}/Container.d.ts +0 -0
- /package/dist/{Container → src/Container}/Container.spec.d.ts +0 -0
- /package/dist/{Container → src/Container}/Container.test.d.ts +0 -0
- /package/dist/{Expander → src/Expander}/Expander.d.ts +0 -0
- /package/dist/{Expander → src/Expander}/Expander.spec.d.ts +0 -0
- /package/dist/{Grid → src/Grid}/Grid.d.ts +0 -0
- /package/dist/{Grid → src/Grid}/Grid.spec.d.ts +0 -0
- /package/dist/{Grid → src/Grid}/Grid.test.d.ts +0 -0
- /package/dist/{Hint → src/Hint}/Hint.d.ts +0 -0
- /package/dist/{Hint → src/Hint}/Hint.spec.d.ts +0 -0
- /package/dist/{Hint → src/Hint}/Hint.test.d.ts +0 -0
- /package/dist/{Icon → src/Icon}/Icon.spec.d.ts +0 -0
- /package/dist/{NumberInput/NumberInput.spec.d.ts → src/Icon/Icon.test.d.ts} +0 -0
- /package/dist/{LightDarkToggle → src/LightDarkToggle}/LightDarkToggle.d.ts +0 -0
- /package/dist/{NumberInput → src/NumberInput}/NumberInput.d.ts +0 -0
- /package/dist/{NumberInput/NumberInput.test.d.ts → src/NumberInput/NumberInput.spec.d.ts} +0 -0
- /package/dist/{ParamEditor/ParamEditor.spec.d.ts → src/NumberInput/NumberInput.test.d.ts} +0 -0
- /package/dist/{ParamEditor → src/ParamEditor}/ParamEditor.d.ts +0 -0
- /package/dist/{ParamEditor/ParamEditor.test.d.ts → src/ParamEditor/ParamEditor.spec.d.ts} +0 -0
- /package/dist/{SelectBox/SelectBox.spec.d.ts → src/ParamEditor/ParamEditor.test.d.ts} +0 -0
- /package/dist/{ParamEditor → src/ParamEditor}/ParamEditorImpl.d.ts +0 -0
- /package/dist/{SelectBox → src/SelectBox}/SelectBox.d.ts +0 -0
- /package/dist/{SelectBox/SelectBox.test.d.ts → src/SelectBox/SelectBox.spec.d.ts} +0 -0
- /package/dist/{SidebarLayout/SidebarLayout.test.d.ts → src/SelectBox/SelectBox.test.d.ts} +0 -0
- /package/dist/{SidebarLayout → src/SidebarLayout}/SidebarLayout.d.ts +0 -0
- /package/dist/{Spinner/Spinner.spec.d.ts → src/SidebarLayout/SidebarLayout.test.d.ts} +0 -0
- /package/dist/{Spinner → src/Spinner}/Spinner.d.ts +0 -0
- /package/dist/{TextInput/TextInput.spec.d.ts → src/Spinner/Spinner.spec.d.ts} +0 -0
- /package/dist/{TextInput → src/TextInput}/TextInput.d.ts +0 -0
- /package/dist/{TextInput/TextInput.test.d.ts → src/TextInput/TextInput.spec.d.ts} +0 -0
- /package/dist/{Toggle/Toggle.spec.d.ts → src/TextInput/TextInput.test.d.ts} +0 -0
- /package/dist/{Toggle → src/Toggle}/Toggle.d.ts +0 -0
- /package/dist/{Toggle/Toggle.test.d.ts → src/Toggle/Toggle.spec.d.ts} +0 -0
- /package/dist/{_internal → src/_internal}/gap.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as e, n as t, r as n, t as r } from "./SelectBox-
|
|
1
|
+
import { i as e, n as t, r as n, t as r } from "./SelectBox-Bqsx-5ZB.js";
|
|
2
2
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineAsyncComponent as f, defineComponent as p, getCurrentInstance as m, mergeModels as h, normalizeClass as g, normalizeStyle as _, onMounted as ee, onUnmounted as v, openBlock as y, ref as b, renderList as te, renderSlot as x, resolveDynamicComponent as S, toDisplayString as C, unref as w, useModel as T, vModelText as E, watch as D, withCtx as O, withDirectives as k, withKeys as A, withModifiers as j } from "vue";
|
|
3
3
|
import { CollapsibleContent as M, CollapsibleRoot as ne, CollapsibleTrigger as re, SliderRange as ie, SliderRoot as ae, SliderThumb as oe, SliderTrack as se, SwitchRoot as ce, SwitchThumb as N, TabsIndicator as P, TabsList as F, TabsRoot as le, TabsTrigger as I, TooltipArrow as L, TooltipContent as R, TooltipPortal as ue, TooltipProvider as de, TooltipRoot as z, TooltipTrigger as B, useId as fe } from "reka-ui";
|
|
4
4
|
//#region \0rolldown/runtime.js
|
|
5
|
-
var V = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), H = {
|
|
5
|
+
var V = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), H = {
|
|
6
6
|
none: "0",
|
|
7
7
|
small: "var(--space-2)",
|
|
8
8
|
medium: "var(--space-4)",
|
|
@@ -91,9 +91,6 @@ function J(e) {
|
|
|
91
91
|
let t = q.get(e);
|
|
92
92
|
t && (t.count--, t.count === 0 && (t.el.remove(), q.delete(e)));
|
|
93
93
|
}
|
|
94
|
-
(void 0)?.dispose(() => {
|
|
95
|
-
q.forEach(({ el: e }) => e.remove()), q.clear();
|
|
96
|
-
});
|
|
97
94
|
//#endregion
|
|
98
95
|
//#region src/Grid/Grid.vue
|
|
99
96
|
var Y = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
@@ -123,14 +120,267 @@ var Y = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
|
123
120
|
})
|
|
124
121
|
}, [x(e.$slots, "default", {}, void 0, !0)], 4)], 8, pe));
|
|
125
122
|
}
|
|
126
|
-
}), [["__scopeId", "data-v-7ae87f0f"]]), X =
|
|
123
|
+
}), [["__scopeId", "data-v-7ae87f0f"]]), X = /* @__PURE__ */ new Map();
|
|
124
|
+
function _e(e) {
|
|
125
|
+
return typeof e == "object" && e && "outline" in e ? e : { outline: e };
|
|
126
|
+
}
|
|
127
|
+
function ve(e) {
|
|
128
|
+
for (let [t, n] of Object.entries(e)) X.set(t, _e(n));
|
|
129
|
+
}
|
|
130
|
+
function ye(e, t = !1) {
|
|
131
|
+
let n = X.get(e);
|
|
132
|
+
if (n) return t && n.fill ? n.fill : n.outline;
|
|
133
|
+
}
|
|
134
|
+
function be(e) {
|
|
135
|
+
return X.has(e);
|
|
136
|
+
}
|
|
137
|
+
var Z = /* @__PURE__ */ new Set();
|
|
138
|
+
function xe(e) {
|
|
139
|
+
let t = /^[a-zA-Z_$][\w$]*$/.test(e), n = t ? e : `icon_${e.replace(/[^\w$]/g, "_")}`;
|
|
140
|
+
return ` import ${n} from "@material-symbols/svg-400/outlined/${e}.svg?component";\n import { registerIcons } from "@cfasim-ui/components";\n registerIcons(${t ? `{ ${e} }` : `{ "${e}": ${n} }`});`;
|
|
141
|
+
}
|
|
142
|
+
function Se(e) {
|
|
143
|
+
Z.has(e) || (Z.add(e), console.warn(`[cfasim-ui] Icon "${e}" is not registered — nothing will render.\nRegister it once at startup:\n\n${xe(e)}\n\nRequires dev deps "@material-symbols/svg-400" + "vite-svg-loader".\nDocs: https://cdcgov.github.io/cfa-simulator/docs/cfasim-ui/components/icon#registering-icons`));
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region ../../node_modules/.pnpm/@material-symbols+svg-400@0.44.10/node_modules/@material-symbols/svg-400/outlined/help.svg?component
|
|
147
|
+
var Ce = {
|
|
148
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
149
|
+
viewBox: "0 -960 960 960"
|
|
150
|
+
};
|
|
151
|
+
function we(e, t) {
|
|
152
|
+
return y(), c("svg", Ce, [...t[0] ||= [l("path", { d: "M511-258q11-11 11-27t-11-27-27-11-27 11-11 27 11 27 27 11 27-11m-62-135h59q0-26 6.5-47.5T555-490q31-26 44-51t13-55q0-53-34.5-85T486-713q-49 0-86.5 24.5T345-621l53 20q11-28 33-43.5t52-15.5q34 0 55 18.5t21 47.5q0 22-13 41.5T508-512q-30 26-44.5 51.5T449-393m31 313q-82 0-155-31.5t-127.5-86-86-127.5T80-480q0-83 31.5-156t86-127T325-848.5 480-880q83 0 156 31.5T763-763t85.5 127T880-480q0 82-31.5 155T763-197.5t-127 86T480-80m0-60q142 0 241-99.5T820-480q0-142-99-241t-241-99q-141 0-240.5 99T140-480q0 141 99.5 240.5T480-140m0-340" }, null, -1)]]);
|
|
153
|
+
}
|
|
154
|
+
var Te = { render: we }, Ee = {
|
|
155
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
156
|
+
viewBox: "0 -960 960 960"
|
|
157
|
+
};
|
|
158
|
+
function De(e, t) {
|
|
159
|
+
return y(), c("svg", Ee, [...t[0] ||= [l("path", { d: "m480-121-41-37q-105.77-97.12-174.88-167.56Q195-396 154-451.5T96.5-552 80-643q0-90.15 60.5-150.58Q201-854 290-854q57 0 105.5 27t84.5 78q42-54 89-79.5T670-854q89 0 149.5 60.42Q880-733.15 880-643q0 46-16.5 91T806-451.5 695.88-325.56Q626.77-255.12 521-158zm0-79q101.24-93 166.62-159.5T750.5-476t54-89.14q15.5-39.13 15.5-77.72 0-66.14-42-108.64T670.22-794q-51.52 0-95.37 31.5T504-674h-49q-26-56-69.85-88t-95.37-32Q224-794 182-751.5t-42 108.82q0 38.68 15.5 78.18t54 90T314-358t166 158m0-297" }, null, -1)]]);
|
|
160
|
+
}
|
|
161
|
+
var Oe = { render: De }, ke = {
|
|
162
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
163
|
+
viewBox: "0 -960 960 960"
|
|
164
|
+
};
|
|
165
|
+
function Ae(e, t) {
|
|
166
|
+
return y(), c("svg", ke, [...t[0] ||= [l("path", { d: "m480-121-41-37q-106-97-175-167.5t-110-126T96.5-552 80-643q0-90 60.5-150.5T290-854q57 0 105.5 27t84.5 78q42-54 89-79.5T670-854q89 0 149.5 60.5T880-643q0 46-16.5 91T806-451.5t-110 126T521-158z" }, null, -1)]]);
|
|
167
|
+
}
|
|
168
|
+
var je = { render: Ae }, Me = {
|
|
169
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
170
|
+
viewBox: "0 -960 960 960"
|
|
171
|
+
};
|
|
172
|
+
function Ne(e, t) {
|
|
173
|
+
return y(), c("svg", Me, [...t[0] ||= [l("path", { d: "M480-120q-150 0-255-105T120-480t105-255 255-105q8 0 17 .5t23 1.5q-36 32-56 79t-20 99q0 90 63 153t153 63q52 0 99-18.5t79-51.5q1 12 1.5 19.5t.5 14.5q0 150-105 255T480-120m0-60q109 0 190-67.5T771-406q-25 11-53.67 16.5Q688.67-384 660-384q-114.69 0-195.34-80.66Q384-545.31 384-660q0-24 5-51.5t18-62.5q-98 27-162.5 109.5T180-480q0 125 87.5 212.5T480-180m-4-297" }, null, -1)]]);
|
|
174
|
+
}
|
|
175
|
+
var Pe = { render: Ne }, Fe = {
|
|
176
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
177
|
+
viewBox: "0 -960 960 960"
|
|
178
|
+
};
|
|
179
|
+
function Ie(e, t) {
|
|
180
|
+
return y(), c("svg", Fe, [...t[0] ||= [l("path", { d: "M579-381q41-41 41-99t-41-99-99-41-99 41-41 99 41 99 99 41 99-41m-240.5 42.5Q280-397 280-480t58.5-141.5T480-680t141.5 58.5T680-480t-58.5 141.5T480-280t-141.5-58.5M200-450H40v-60h160zm720 0H760v-60h160zM450-760v-160h60v160zm0 720v-160h60v160zM262-658l-100-97 43-44 96 100zm494 496-98-100 41-41 99 98zm-99-537 98-99 44 42-99 98zM162-205l99-98 42 42-98 99zm318-275" }, null, -1)]]);
|
|
181
|
+
}
|
|
182
|
+
var Le = { render: Ie }, Re = {
|
|
183
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
184
|
+
viewBox: "0 -960 960 960"
|
|
185
|
+
};
|
|
186
|
+
function ze(e, t) {
|
|
187
|
+
return y(), c("svg", Re, [...t[0] ||= [l("path", { d: "M561-240 320-481l241-241 43 43-198 198 198 198z" }, null, -1)]]);
|
|
188
|
+
}
|
|
189
|
+
var Be = { render: ze }, Ve = {
|
|
190
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
191
|
+
viewBox: "0 -960 960 960"
|
|
192
|
+
};
|
|
193
|
+
function He(e, t) {
|
|
194
|
+
return y(), c("svg", Ve, [...t[0] ||= [l("path", { d: "M530-481 332-679l43-43 241 241-241 241-43-43z" }, null, -1)]]);
|
|
195
|
+
}
|
|
196
|
+
var Ue = { render: He }, We = {
|
|
197
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
198
|
+
viewBox: "0 -960 960 960"
|
|
199
|
+
};
|
|
200
|
+
function Ge(e, t) {
|
|
201
|
+
return y(), c("svg", We, [...t[0] ||= [l("path", { d: "M480-554 283-357l-43-43 240-240 240 240-43 43z" }, null, -1)]]);
|
|
202
|
+
}
|
|
203
|
+
var Ke = { render: Ge }, qe = {
|
|
204
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
205
|
+
viewBox: "0 -960 960 960"
|
|
206
|
+
};
|
|
207
|
+
function Je(e, t) {
|
|
208
|
+
return y(), c("svg", qe, [...t[0] ||= [l("path", { d: "M480-344 240-584l43-43 197 197 197-197 43 43z" }, null, -1)]]);
|
|
209
|
+
}
|
|
210
|
+
var Ye = { render: Je }, Xe = {
|
|
211
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
212
|
+
viewBox: "0 -960 960 960"
|
|
213
|
+
};
|
|
214
|
+
function Ze(e, t) {
|
|
215
|
+
return y(), c("svg", Xe, [...t[0] ||= [l("path", { d: "M453-241 213-481l240-240 42 42-198 198 198 198zm253 0L466-481l240-240 42 42-198 198 198 198z" }, null, -1)]]);
|
|
216
|
+
}
|
|
217
|
+
var Qe = { render: Ze }, $e = {
|
|
218
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
219
|
+
viewBox: "0 -960 960 960"
|
|
220
|
+
};
|
|
221
|
+
function et(e, t) {
|
|
222
|
+
return y(), c("svg", $e, [...t[0] ||= [l("path", { d: "M411-481 213-679l42-42 240 240-240 240-42-42zm253 0L466-679l42-42 240 240-240 240-42-42z" }, null, -1)]]);
|
|
223
|
+
}
|
|
224
|
+
var tt = { render: et }, nt = {
|
|
225
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
226
|
+
viewBox: "0 -960 960 960"
|
|
227
|
+
};
|
|
228
|
+
function rt(e, t) {
|
|
229
|
+
return y(), c("svg", nt, [...t[0] ||= [l("path", { d: "M450-160v-526L202-438l-42-42 320-320 320 320-42 42-248-248v526z" }, null, -1)]]);
|
|
230
|
+
}
|
|
231
|
+
var it = { render: rt }, at = {
|
|
232
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
233
|
+
viewBox: "0 -960 960 960"
|
|
234
|
+
};
|
|
235
|
+
function ot(e, t) {
|
|
236
|
+
return y(), c("svg", at, [...t[0] ||= [l("path", { d: "M450-800v526L202-522l-42 42 320 320 320-320-42-42-248 248v-526z" }, null, -1)]]);
|
|
237
|
+
}
|
|
238
|
+
var st = { render: ot }, ct = {
|
|
239
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
240
|
+
viewBox: "0 -960 960 960"
|
|
241
|
+
};
|
|
242
|
+
function lt(e, t) {
|
|
243
|
+
return y(), c("svg", ct, [...t[0] ||= [l("path", { d: "m274-450 248 248-42 42-320-320 320-320 42 42-248 248h526v60z" }, null, -1)]]);
|
|
244
|
+
}
|
|
245
|
+
var ut = { render: lt }, dt = {
|
|
246
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
247
|
+
viewBox: "0 -960 960 960"
|
|
248
|
+
};
|
|
249
|
+
function ft(e, t) {
|
|
250
|
+
return y(), c("svg", dt, [...t[0] ||= [l("path", { d: "M686-450H160v-60h526L438-758l42-42 320 320-320 320-42-42z" }, null, -1)]]);
|
|
251
|
+
}
|
|
252
|
+
var pt = { render: ft }, mt = {
|
|
253
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
254
|
+
viewBox: "0 -960 960 960"
|
|
255
|
+
};
|
|
256
|
+
function ht(e, t) {
|
|
257
|
+
return y(), c("svg", mt, [...t[0] ||= [l("path", { d: "M120-240v-60h720v60zm0-210v-60h720v60zm0-210v-60h720v60z" }, null, -1)]]);
|
|
258
|
+
}
|
|
259
|
+
var gt = { render: ht }, _t = {
|
|
260
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
261
|
+
viewBox: "0 -960 960 960"
|
|
262
|
+
};
|
|
263
|
+
function vt(e, t) {
|
|
264
|
+
return y(), c("svg", _t, [...t[0] ||= [l("path", { d: "M479.86-160Q460-160 446-174.14t-14-34T446.14-242t34-14T514-241.86t14 34T513.86-174t-34 14m0-272Q460-432 446-446.14t-14-34T446.14-514t34-14T514-513.86t14 34T513.86-446t-34 14m0-272Q460-704 446-718.14t-14-34T446.14-786t34-14T514-785.86t14 34T513.86-718t-34 14" }, null, -1)]]);
|
|
265
|
+
}
|
|
266
|
+
var yt = { render: vt }, bt = {
|
|
267
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
268
|
+
viewBox: "0 -960 960 960"
|
|
269
|
+
};
|
|
270
|
+
function xt(e, t) {
|
|
271
|
+
return y(), c("svg", bt, [...t[0] ||= [l("path", { d: "M207.86-432Q188-432 174-446.14t-14-34T174.14-514t34-14T242-513.86t14 34T241.86-446t-34 14m272 0Q460-432 446-446.14t-14-34T446.14-514t34-14T514-513.86t14 34T513.86-446t-34 14m272 0Q732-432 718-446.14t-14-34T718.14-514t34-14T786-513.86t14 34T785.86-446t-34 14" }, null, -1)]]);
|
|
272
|
+
}
|
|
273
|
+
var St = { render: xt }, Ct = {
|
|
274
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
275
|
+
viewBox: "0 -960 960 960"
|
|
276
|
+
};
|
|
277
|
+
function wt(e, t) {
|
|
278
|
+
return y(), c("svg", Ct, [...t[0] ||= [l("path", { d: "M450-450H200v-60h250v-250h60v250h250v60H510v250h-60z" }, null, -1)]]);
|
|
279
|
+
}
|
|
280
|
+
var Tt = { render: wt }, Et = {
|
|
281
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
282
|
+
viewBox: "0 -960 960 960"
|
|
283
|
+
};
|
|
284
|
+
function Dt(e, t) {
|
|
285
|
+
return y(), c("svg", Et, [...t[0] ||= [l("path", { d: "M180-180h44l472-471-44-44-472 471zm-60 60v-128l575-574q8-8 19-12.5t23-4.5q11 0 22 4.5t20 12.5l44 44q9 9 13 20t4 22-4.5 22.5T823-694L248-120zm659-617-41-41zm-105 64-22-22 44 44z" }, null, -1)]]);
|
|
286
|
+
}
|
|
287
|
+
var Ot = { render: Dt }, kt = {
|
|
288
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
289
|
+
viewBox: "0 -960 960 960"
|
|
290
|
+
};
|
|
291
|
+
function At(e, t) {
|
|
292
|
+
return y(), c("svg", kt, [...t[0] ||= [l("path", { d: "M261-120q-24.75 0-42.37-17.63Q201-155.25 201-180v-570h-41v-60h188v-30h264v30h188v60h-41v570q0 24-18 42t-42 18zm438-630H261v570h438zM367-266h60v-399h-60zm166 0h60v-399h-60zM261-750v570z" }, null, -1)]]);
|
|
293
|
+
}
|
|
294
|
+
var jt = { render: At }, Mt = {
|
|
295
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
296
|
+
viewBox: "0 -960 960 960"
|
|
297
|
+
};
|
|
298
|
+
function Nt(e, t) {
|
|
299
|
+
return y(), c("svg", Mt, [...t[0] ||= [l("path", { d: "m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z" }, null, -1)]]);
|
|
300
|
+
}
|
|
301
|
+
var Pt = { render: Nt }, Ft = {
|
|
302
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
303
|
+
viewBox: "0 -960 960 960"
|
|
304
|
+
};
|
|
305
|
+
function It(e, t) {
|
|
306
|
+
return y(), c("svg", Ft, [...t[0] ||= [l("path", { d: "M378-246 154-470l43-43 181 181 384-384 43 43z" }, null, -1)]]);
|
|
307
|
+
}
|
|
308
|
+
var Lt = { render: It }, Rt = {
|
|
309
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
310
|
+
viewBox: "0 -960 960 960"
|
|
311
|
+
};
|
|
312
|
+
function zt(e, t) {
|
|
313
|
+
return y(), c("svg", Rt, [...t[0] ||= [l("path", { d: "M796-121 533-384q-30 26-70 40.5T378-329q-108 0-183-75t-75-181 75-181 182-75q106 0 180.5 75T632-585q0 43-14 83t-42 75l264 262zM377-389q81 0 138-57.5T572-585t-57-138.5T377-781q-82 0-139.5 57.5T180-585t57.5 138.5T377-389" }, null, -1)]]);
|
|
314
|
+
}
|
|
315
|
+
var Bt = { render: zt }, Vt = {
|
|
316
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
317
|
+
viewBox: "0 -960 960 960"
|
|
318
|
+
};
|
|
319
|
+
function Ht(e, t) {
|
|
320
|
+
return y(), c("svg", Vt, [...t[0] ||= [l("path", { d: "M427-120v-225h60v83h353v60H487v82zm-307-82v-60h247v60zm187-166v-82H120v-60h187v-84h60v226zm120-82v-60h413v60zm166-165v-225h60v82h187v60H653v83zm-473-83v-60h413v60z" }, null, -1)]]);
|
|
321
|
+
}
|
|
322
|
+
var Ut = { render: Ht }, Wt = {
|
|
323
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
324
|
+
viewBox: "0 -960 960 960"
|
|
325
|
+
};
|
|
326
|
+
function Gt(e, t) {
|
|
327
|
+
return y(), c("svg", Wt, [...t[0] ||= [l("path", { d: "M480-313 287-506l43-43 120 120v-371h60v371l120-120 43 43zM220-160q-24 0-42-18t-18-42v-143h60v143h520v-143h60v143q0 24-18 42t-42 18z" }, null, -1)]]);
|
|
328
|
+
}
|
|
329
|
+
var Kt = { render: Gt }, qt = {
|
|
330
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
331
|
+
viewBox: "0 0 24 24"
|
|
332
|
+
};
|
|
333
|
+
function Jt(e, t) {
|
|
334
|
+
return y(), c("svg", qt, [...t[0] ||= [l("path", { d: "M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" }, null, -1)]]);
|
|
335
|
+
}
|
|
336
|
+
//#endregion
|
|
337
|
+
//#region src/Icon/defaultIcons.ts
|
|
338
|
+
var Yt = {
|
|
339
|
+
help: Te,
|
|
340
|
+
favorite: {
|
|
341
|
+
outline: Oe,
|
|
342
|
+
fill: je
|
|
343
|
+
},
|
|
344
|
+
dark_mode: Pe,
|
|
345
|
+
light_mode: Le,
|
|
346
|
+
chevron_left: Be,
|
|
347
|
+
chevron_right: Ue,
|
|
348
|
+
keyboard_arrow_up: Ke,
|
|
349
|
+
keyboard_arrow_down: Ye,
|
|
350
|
+
keyboard_double_arrow_left: Qe,
|
|
351
|
+
keyboard_double_arrow_right: tt,
|
|
352
|
+
arrow_upward: it,
|
|
353
|
+
arrow_downward: st,
|
|
354
|
+
arrow_back: ut,
|
|
355
|
+
arrow_forward: pt,
|
|
356
|
+
menu: gt,
|
|
357
|
+
more_vert: yt,
|
|
358
|
+
more_horiz: St,
|
|
359
|
+
add: Tt,
|
|
360
|
+
edit: Ot,
|
|
361
|
+
delete: jt,
|
|
362
|
+
close: Pt,
|
|
363
|
+
check: Lt,
|
|
364
|
+
search: Bt,
|
|
365
|
+
tune: Ut,
|
|
366
|
+
download: Kt,
|
|
367
|
+
github: { render: Jt }
|
|
368
|
+
}, Xt = !1;
|
|
369
|
+
function Zt() {
|
|
370
|
+
if (!Xt) {
|
|
371
|
+
Xt = !0;
|
|
372
|
+
for (let [e, t] of Object.entries(Yt)) be(e) || ve({ [e]: t });
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
//#endregion
|
|
376
|
+
//#region src/Icon/Icon.vue?vue&type=script&setup=true&lang.ts
|
|
377
|
+
var Qt = [
|
|
127
378
|
"data-size",
|
|
128
|
-
"data-fill",
|
|
129
379
|
"data-inline",
|
|
130
380
|
"aria-hidden",
|
|
131
381
|
"aria-label",
|
|
132
382
|
"role"
|
|
133
|
-
],
|
|
383
|
+
], Q = /* @__PURE__ */ p({
|
|
134
384
|
__name: "Icon",
|
|
135
385
|
props: {
|
|
136
386
|
icon: {},
|
|
@@ -152,22 +402,25 @@ var Y = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
|
152
402
|
}
|
|
153
403
|
},
|
|
154
404
|
setup(e) {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
405
|
+
Zt();
|
|
406
|
+
let t = e, n = a(() => typeof t.size == "string" ? t.size : void 0), r = a(() => typeof t.size == "number" ? {
|
|
407
|
+
width: `${t.size}px`,
|
|
408
|
+
height: `${t.size}px`
|
|
409
|
+
} : {}), i = a(() => {
|
|
410
|
+
let e = ye(t.icon, t.fill);
|
|
411
|
+
return e || Se(t.icon), e;
|
|
158
412
|
});
|
|
159
|
-
return (t,
|
|
413
|
+
return (t, a) => (y(), c("span", {
|
|
160
414
|
class: "Icon",
|
|
161
415
|
"data-size": n.value,
|
|
162
|
-
"data-fill": e.fill ? "true" : void 0,
|
|
163
416
|
"data-inline": e.inline ? "true" : void 0,
|
|
164
|
-
style: _(
|
|
417
|
+
style: _(r.value),
|
|
165
418
|
"aria-hidden": e.decorative ? !0 : void 0,
|
|
166
419
|
"aria-label": e.decorative ? void 0 : e.ariaLabel,
|
|
167
420
|
role: e.decorative ? void 0 : "img"
|
|
168
|
-
},
|
|
421
|
+
}, [i.value ? (y(), o(S(i.value), { key: 0 })) : s("", !0)], 12, Qt));
|
|
169
422
|
}
|
|
170
|
-
}),
|
|
423
|
+
}), $ = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
171
424
|
__name: "Hint",
|
|
172
425
|
props: { text: {} },
|
|
173
426
|
setup(e) {
|
|
@@ -182,7 +435,7 @@ var Y = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
|
182
435
|
class: "HintTrigger",
|
|
183
436
|
"aria-label": "More info",
|
|
184
437
|
onPointerdown: n[0] ||= j(() => {}, ["prevent"])
|
|
185
|
-
}, [d(
|
|
438
|
+
}, [d(Q, {
|
|
186
439
|
icon: "help",
|
|
187
440
|
size: 16
|
|
188
441
|
})], 32)]),
|
|
@@ -207,7 +460,7 @@ var Y = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
|
207
460
|
_: 1
|
|
208
461
|
}));
|
|
209
462
|
}
|
|
210
|
-
}), [["__scopeId", "data-v-9dbf1c25"]]),
|
|
463
|
+
}), [["__scopeId", "data-v-9dbf1c25"]]), $t = ["aria-label"], en = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
211
464
|
__name: "LightDarkToggle",
|
|
212
465
|
setup(e) {
|
|
213
466
|
let t = b(window.matchMedia("(prefers-color-scheme: dark)").matches);
|
|
@@ -219,16 +472,16 @@ var Y = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
|
219
472
|
type: "button",
|
|
220
473
|
"aria-label": t.value ? "Switch to light mode" : "Switch to dark mode",
|
|
221
474
|
onClick: n[0] ||= (e) => t.value = !t.value
|
|
222
|
-
}, [d(
|
|
475
|
+
}, [d(Q, {
|
|
223
476
|
icon: t.value ? "dark_mode" : "light_mode",
|
|
224
477
|
size: "sm"
|
|
225
|
-
}, null, 8, ["icon"])], 8,
|
|
478
|
+
}, null, 8, ["icon"])], 8, $t));
|
|
226
479
|
}
|
|
227
480
|
}), [["__scopeId", "data-v-4c423498"]]);
|
|
228
481
|
BigInt64Array, BigUint64Array;
|
|
229
482
|
//#endregion
|
|
230
483
|
//#region ../shared/src/formatNumber.ts
|
|
231
|
-
var
|
|
484
|
+
var tn = (/* @__PURE__ */ V(((e) => {
|
|
232
485
|
(function() {
|
|
233
486
|
var t = {
|
|
234
487
|
not_string: /[^s]/,
|
|
@@ -355,7 +608,7 @@ var ve = (/* @__PURE__ */ V(((e) => {
|
|
|
355
608
|
};
|
|
356
609
|
}));
|
|
357
610
|
})();
|
|
358
|
-
})))(),
|
|
611
|
+
})))(), nn = new Set([
|
|
359
612
|
"plain",
|
|
360
613
|
"localized",
|
|
361
614
|
"percent",
|
|
@@ -363,26 +616,26 @@ var ve = (/* @__PURE__ */ V(((e) => {
|
|
|
363
616
|
"scientific",
|
|
364
617
|
"engineering"
|
|
365
618
|
]);
|
|
366
|
-
function
|
|
367
|
-
return
|
|
619
|
+
function rn(e) {
|
|
620
|
+
return nn.has(e);
|
|
368
621
|
}
|
|
369
|
-
function
|
|
622
|
+
function an(e) {
|
|
370
623
|
let t = e.indexOf(":");
|
|
371
|
-
if (t === -1) return
|
|
624
|
+
if (t === -1) return rn(e) ? {
|
|
372
625
|
preset: e,
|
|
373
626
|
digits: void 0
|
|
374
627
|
} : null;
|
|
375
628
|
let n = e.slice(0, t), r = e.slice(t + 1);
|
|
376
|
-
if (!
|
|
629
|
+
if (!rn(n) || !/^\d+$/.test(r)) return null;
|
|
377
630
|
let i = Number(r);
|
|
378
631
|
return i > 100 ? null : {
|
|
379
632
|
preset: n,
|
|
380
633
|
digits: i
|
|
381
634
|
};
|
|
382
635
|
}
|
|
383
|
-
var
|
|
384
|
-
function
|
|
385
|
-
let r = n === void 0 ? { maximumFractionDigits:
|
|
636
|
+
var on = 20;
|
|
637
|
+
function sn(e, t, n) {
|
|
638
|
+
let r = n === void 0 ? { maximumFractionDigits: on } : {
|
|
386
639
|
minimumFractionDigits: n,
|
|
387
640
|
maximumFractionDigits: n
|
|
388
641
|
};
|
|
@@ -407,39 +660,39 @@ function Ce(e, t, n) {
|
|
|
407
660
|
}).format(e);
|
|
408
661
|
}
|
|
409
662
|
}
|
|
410
|
-
function
|
|
663
|
+
function cn(e, t) {
|
|
411
664
|
if (!Number.isFinite(e) || t === void 0) return String(e);
|
|
412
665
|
if (typeof t == "function") return t(e);
|
|
413
|
-
if (t.includes("%")) return (0,
|
|
414
|
-
let n =
|
|
666
|
+
if (t.includes("%")) return (0, tn.sprintf)(t, e);
|
|
667
|
+
let n = an(t);
|
|
415
668
|
if (!n) {
|
|
416
|
-
let e = [...
|
|
669
|
+
let e = [...nn].join(", ");
|
|
417
670
|
throw Error(`formatNumber: invalid format ${JSON.stringify(t)}. Expected one of ${e} (optionally with ":N" digits), a printf format string containing "%", or a function.`);
|
|
418
671
|
}
|
|
419
|
-
return
|
|
672
|
+
return sn(e, n.preset, n.digits);
|
|
420
673
|
}
|
|
421
674
|
//#endregion
|
|
422
675
|
//#region src/NumberInput/NumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
423
|
-
var
|
|
676
|
+
var ln = {
|
|
424
677
|
key: 1,
|
|
425
678
|
class: "input-wrapper"
|
|
426
|
-
},
|
|
679
|
+
}, un = [
|
|
427
680
|
"inputmode",
|
|
428
681
|
"placeholder",
|
|
429
682
|
"aria-invalid",
|
|
430
683
|
"aria-required",
|
|
431
684
|
"required"
|
|
432
|
-
],
|
|
685
|
+
], dn = {
|
|
433
686
|
key: 0,
|
|
434
687
|
class: "input-suffix"
|
|
435
|
-
},
|
|
688
|
+
}, fn = {
|
|
436
689
|
key: 2,
|
|
437
690
|
class: "input-error",
|
|
438
691
|
role: "alert"
|
|
439
|
-
},
|
|
692
|
+
}, pn = {
|
|
440
693
|
key: 3,
|
|
441
694
|
class: "slider-container"
|
|
442
|
-
},
|
|
695
|
+
}, mn = { class: "slider-current" }, hn = { class: "slider-labels" }, gn = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
443
696
|
__name: "NumberInput",
|
|
444
697
|
props: /* @__PURE__ */ h({
|
|
445
698
|
label: {},
|
|
@@ -498,7 +751,7 @@ var Te = {
|
|
|
498
751
|
function I(e) {
|
|
499
752
|
if (e == null) return "";
|
|
500
753
|
let t = p.format ?? p.sliderDisplay;
|
|
501
|
-
if (t !== void 0) return
|
|
754
|
+
if (t !== void 0) return cn(e, t);
|
|
502
755
|
let n = F.value;
|
|
503
756
|
return p.percent ? (e * 100).toFixed(n) + "%" : e.toLocaleString("en-US", {
|
|
504
757
|
minimumFractionDigits: n,
|
|
@@ -521,7 +774,7 @@ var Te = {
|
|
|
521
774
|
}
|
|
522
775
|
function z(e) {
|
|
523
776
|
if (e == null) return "";
|
|
524
|
-
if (p.format !== void 0) return
|
|
777
|
+
if (p.format !== void 0) return cn(e, p.format);
|
|
525
778
|
let t = F.value;
|
|
526
779
|
if (t > 0) return e.toLocaleString("en-US", {
|
|
527
780
|
minimumFractionDigits: t,
|
|
@@ -617,20 +870,20 @@ var Te = {
|
|
|
617
870
|
let i = R(r), a = Y(i);
|
|
618
871
|
G.value = a, !a && (t.value = i, W.value = [i]);
|
|
619
872
|
}
|
|
620
|
-
function
|
|
873
|
+
function _e(e, i) {
|
|
621
874
|
let a = e.map(ue);
|
|
622
875
|
W.value = a, v || (H.value = z(L(a[0]))), i && (v ? (n.value = [a[0], a[1]], r.value = a[0], f.value = a[1]) : t.value = a[0]);
|
|
623
876
|
}
|
|
624
|
-
function
|
|
877
|
+
function ve(e) {
|
|
625
878
|
if (p.label) return v ? e === 0 ? `${p.label} (lower)` : `${p.label} (upper)` : p.label;
|
|
626
879
|
}
|
|
627
|
-
function
|
|
628
|
-
e &&
|
|
880
|
+
function ye(e) {
|
|
881
|
+
e && _e(e, !!p.live);
|
|
629
882
|
}
|
|
630
|
-
function
|
|
631
|
-
e &&
|
|
883
|
+
function be(e) {
|
|
884
|
+
e && _e(e, !0);
|
|
632
885
|
}
|
|
633
|
-
function
|
|
886
|
+
function Z(e, n) {
|
|
634
887
|
e.preventDefault();
|
|
635
888
|
let r = Number(B(H.value)), i = (Number.isNaN(r) ? 0 : r) + ce.value * (e.shiftKey ? 10 : 1) * n;
|
|
636
889
|
p.numberType === "integer" && (i = Math.trunc(i)), N.value != null && (i = Math.max(i, N.value)), P.value != null && (i = Math.min(i, P.value)), H.value = z(i);
|
|
@@ -642,11 +895,11 @@ var Te = {
|
|
|
642
895
|
p.label ? (y(), c("span", {
|
|
643
896
|
key: 0,
|
|
644
897
|
class: g(["input-label-row", { "visually-hidden": p.hideLabel }])
|
|
645
|
-
}, [u(C(p.label) + " ", 1), p.hint && !p.hideLabel ? (y(), o(
|
|
898
|
+
}, [u(C(p.label) + " ", 1), p.hint && !p.hideLabel ? (y(), o($, {
|
|
646
899
|
key: 0,
|
|
647
900
|
text: p.hint
|
|
648
901
|
}, null, 8, ["text"])) : s("", !0)], 2)) : s("", !0),
|
|
649
|
-
x.value ? s("", !0) : (y(), c("span",
|
|
902
|
+
x.value ? s("", !0) : (y(), c("span", ln, [k(l("input", {
|
|
650
903
|
type: "text",
|
|
651
904
|
inputmode: p.numberType === "integer" ? "numeric" : "decimal",
|
|
652
905
|
"onUpdate:modelValue": t[0] ||= (e) => H.value = e,
|
|
@@ -657,23 +910,23 @@ var Te = {
|
|
|
657
910
|
onBlur: he,
|
|
658
911
|
onKeydown: [
|
|
659
912
|
A(X, ["enter"]),
|
|
660
|
-
t[1] ||= A((e) =>
|
|
661
|
-
t[2] ||= A((e) =>
|
|
913
|
+
t[1] ||= A((e) => Z(e, 1), ["up"]),
|
|
914
|
+
t[2] ||= A((e) => Z(e, -1), ["down"])
|
|
662
915
|
],
|
|
663
916
|
onInput: t[3] ||= (e) => {
|
|
664
917
|
me(e), q();
|
|
665
918
|
},
|
|
666
919
|
onChange: ge
|
|
667
|
-
}, null, 40,
|
|
668
|
-
G.value ? (y(), c("span",
|
|
669
|
-
x.value ? (y(), c("div",
|
|
920
|
+
}, null, 40, un), [[E, H.value]]), p.percent ? (y(), c("span", dn, "%")) : s("", !0)])),
|
|
921
|
+
G.value ? (y(), c("span", fn, C(G.value), 1)) : s("", !0),
|
|
922
|
+
x.value ? (y(), c("div", pn, [d(w(ae), {
|
|
670
923
|
class: "slider-root",
|
|
671
924
|
"model-value": W.value,
|
|
672
925
|
min: j.value,
|
|
673
926
|
max: M.value,
|
|
674
927
|
step: ne.value,
|
|
675
|
-
"onUpdate:modelValue":
|
|
676
|
-
onValueCommit:
|
|
928
|
+
"onUpdate:modelValue": ye,
|
|
929
|
+
onValueCommit: be
|
|
677
930
|
}, {
|
|
678
931
|
default: O(() => [d(w(se), { class: "slider-track" }, {
|
|
679
932
|
default: O(() => [d(w(ie), { class: "slider-range" })]),
|
|
@@ -681,9 +934,9 @@ var Te = {
|
|
|
681
934
|
}), (y(!0), c(i, null, te(W.value, (e, t) => (y(), o(w(oe), {
|
|
682
935
|
key: t,
|
|
683
936
|
class: "slider-thumb",
|
|
684
|
-
"aria-label":
|
|
937
|
+
"aria-label": ve(t)
|
|
685
938
|
}, {
|
|
686
|
-
default: O(() => [l("span",
|
|
939
|
+
default: O(() => [l("span", mn, C(I(e)), 1)]),
|
|
687
940
|
_: 2
|
|
688
941
|
}, 1032, ["aria-label"]))), 128))]),
|
|
689
942
|
_: 1
|
|
@@ -692,12 +945,12 @@ var Te = {
|
|
|
692
945
|
"min",
|
|
693
946
|
"max",
|
|
694
947
|
"step"
|
|
695
|
-
]), l("div",
|
|
948
|
+
]), l("div", hn, [l("span", null, C(I(j.value)), 1), l("span", null, C(I(M.value)), 1)])])) : s("", !0)
|
|
696
949
|
]),
|
|
697
950
|
_: 1
|
|
698
951
|
}, 8, ["class"]));
|
|
699
952
|
}
|
|
700
|
-
}), [["__scopeId", "data-v-b123853e"]]),
|
|
953
|
+
}), [["__scopeId", "data-v-b123853e"]]), _n = ["data-size", "aria-label"], vn = /* @__PURE__ */ p({
|
|
701
954
|
__name: "Spinner",
|
|
702
955
|
props: {
|
|
703
956
|
size: { default: "sm" },
|
|
@@ -709,9 +962,9 @@ var Te = {
|
|
|
709
962
|
"data-size": e.size,
|
|
710
963
|
role: "status",
|
|
711
964
|
"aria-label": e.label ?? "Loading"
|
|
712
|
-
}, null, 8,
|
|
965
|
+
}, null, 8, _n));
|
|
713
966
|
}
|
|
714
|
-
}),
|
|
967
|
+
}), yn = /* @__PURE__ */ p({
|
|
715
968
|
__name: "ParamEditor",
|
|
716
969
|
props: {
|
|
717
970
|
value: {},
|
|
@@ -722,8 +975,8 @@ var Te = {
|
|
|
722
975
|
emits: ["apply"],
|
|
723
976
|
setup(e) {
|
|
724
977
|
let t = f({
|
|
725
|
-
loader: () => import("./ParamEditorImpl-
|
|
726
|
-
loadingComponent:
|
|
978
|
+
loader: () => import("./ParamEditorImpl-B-Rd1mHs.js"),
|
|
979
|
+
loadingComponent: vn,
|
|
727
980
|
delay: 100
|
|
728
981
|
});
|
|
729
982
|
return (n, r) => (y(), o(w(t), {
|
|
@@ -739,7 +992,7 @@ var Te = {
|
|
|
739
992
|
"filename"
|
|
740
993
|
]));
|
|
741
994
|
}
|
|
742
|
-
}),
|
|
995
|
+
}), bn = ["data-collapsed"], xn = { class: "SidebarRail" }, Sn = { class: "Sidebar" }, Cn = { class: "SidebarScroll" }, wn = { class: "SidebarHeader" }, Tn = { class: "Main" }, En = { class: "TabsBar" }, Dn = { class: "TabsBarEnd" }, On = { class: "MainScroll" }, kn = { class: "MainContent" }, An = { class: "Topbar" }, jn = { class: "TopbarEnd" }, Mn = { class: "MainScroll" }, Nn = { class: "MainContent" }, Pn = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
743
996
|
__name: "SidebarLayout",
|
|
744
997
|
props: /* @__PURE__ */ h({
|
|
745
998
|
hideTopbar: { type: Boolean },
|
|
@@ -780,13 +1033,13 @@ var Te = {
|
|
|
780
1033
|
}, { immediate: !0 }), (t, n) => (y(), c("div", {
|
|
781
1034
|
class: "SidebarLayout",
|
|
782
1035
|
"data-collapsed": g.value
|
|
783
|
-
}, [l("div",
|
|
1036
|
+
}, [l("div", xn, [l("aside", Sn, [l("div", Cn, [l("div", wn, [l("button", {
|
|
784
1037
|
type: "button",
|
|
785
1038
|
class: "Toggle",
|
|
786
1039
|
"aria-label": "Collapse sidebar",
|
|
787
1040
|
title: "Collapse sidebar",
|
|
788
1041
|
onClick: S
|
|
789
|
-
}, [d(
|
|
1042
|
+
}, [d(Q, {
|
|
790
1043
|
icon: "keyboard_double_arrow_left",
|
|
791
1044
|
size: "sm"
|
|
792
1045
|
})])]), x(t.$slots, "sidebar", {}, void 0, !0)])]), l("button", {
|
|
@@ -795,16 +1048,16 @@ var Te = {
|
|
|
795
1048
|
"aria-label": "Expand sidebar",
|
|
796
1049
|
title: "Expand sidebar",
|
|
797
1050
|
onClick: S
|
|
798
|
-
}, [d(
|
|
1051
|
+
}, [d(Q, {
|
|
799
1052
|
icon: "keyboard_double_arrow_right",
|
|
800
1053
|
size: "sm"
|
|
801
|
-
})])]), l("main",
|
|
1054
|
+
})])]), l("main", Tn, [e.tabs?.length ? (y(), o(w(le), {
|
|
802
1055
|
key: 0,
|
|
803
1056
|
"model-value": k.value,
|
|
804
1057
|
class: "TabsLayout",
|
|
805
1058
|
"onUpdate:modelValue": n[0] ||= (e) => k.value = e
|
|
806
1059
|
}, {
|
|
807
|
-
default: O(() => [l("div",
|
|
1060
|
+
default: O(() => [l("div", En, [
|
|
808
1061
|
h.value && g.value ? (y(), c("button", {
|
|
809
1062
|
key: 0,
|
|
810
1063
|
type: "button",
|
|
@@ -812,7 +1065,7 @@ var Te = {
|
|
|
812
1065
|
"aria-label": "Expand sidebar",
|
|
813
1066
|
title: "Expand sidebar",
|
|
814
1067
|
onClick: S
|
|
815
|
-
}, [d(
|
|
1068
|
+
}, [d(Q, {
|
|
816
1069
|
icon: "keyboard_double_arrow_right",
|
|
817
1070
|
size: "sm"
|
|
818
1071
|
})])) : s("", !0),
|
|
@@ -836,25 +1089,25 @@ var Te = {
|
|
|
836
1089
|
})]),
|
|
837
1090
|
_: 1
|
|
838
1091
|
}),
|
|
839
|
-
l("div",
|
|
840
|
-
]), l("div",
|
|
1092
|
+
l("div", Dn, [x(t.$slots, "topbar", {}, void 0, !0), e.hideTopbar ? s("", !0) : (y(), o(en, { key: 0 }))])
|
|
1093
|
+
]), l("div", On, [l("div", kn, [x(t.$slots, "default", {}, void 0, !0)])])]),
|
|
841
1094
|
_: 3
|
|
842
|
-
}, 8, ["model-value"])) : (y(), c(i, { key: 1 }, [l("div",
|
|
1095
|
+
}, 8, ["model-value"])) : (y(), c(i, { key: 1 }, [l("div", An, [h.value && g.value ? (y(), c("button", {
|
|
843
1096
|
key: 0,
|
|
844
1097
|
type: "button",
|
|
845
1098
|
class: "Toggle",
|
|
846
1099
|
"aria-label": "Expand sidebar",
|
|
847
1100
|
title: "Expand sidebar",
|
|
848
1101
|
onClick: S
|
|
849
|
-
}, [d(
|
|
1102
|
+
}, [d(Q, {
|
|
850
1103
|
icon: "keyboard_double_arrow_right",
|
|
851
1104
|
size: "sm"
|
|
852
|
-
})])) : s("", !0), l("div",
|
|
1105
|
+
})])) : s("", !0), l("div", jn, [x(t.$slots, "topbar", {}, void 0, !0), e.hideTopbar ? s("", !0) : (y(), o(en, { key: 0 }))])]), l("div", Mn, [l("div", Nn, [x(t.$slots, "default", {}, void 0, !0)])])], 64))])], 8, bn));
|
|
853
1106
|
}
|
|
854
|
-
}), [["__scopeId", "data-v-6d59601d"]]),
|
|
1107
|
+
}), [["__scopeId", "data-v-6d59601d"]]), Fn = {
|
|
855
1108
|
key: 0,
|
|
856
1109
|
class: "input-label"
|
|
857
|
-
},
|
|
1110
|
+
}, In = ["placeholder"], Ln = { key: 1 }, Rn = ["placeholder"], zn = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
858
1111
|
__name: "TextInput",
|
|
859
1112
|
props: /* @__PURE__ */ h({
|
|
860
1113
|
label: {},
|
|
@@ -875,7 +1128,7 @@ var Te = {
|
|
|
875
1128
|
t.value = n.value;
|
|
876
1129
|
}
|
|
877
1130
|
let i = e;
|
|
878
|
-
return (e, t) => i.label ? (y(), c("label",
|
|
1131
|
+
return (e, t) => i.label ? (y(), c("label", Fn, [l("span", { class: g(["input-label-row", { "visually-hidden": i.hideLabel }]) }, [u(C(i.label) + " ", 1), i.hint && !i.hideLabel ? (y(), o($, {
|
|
879
1132
|
key: 0,
|
|
880
1133
|
text: i.hint
|
|
881
1134
|
}, null, 8, ["text"])) : s("", !0)], 2), k(l("input", {
|
|
@@ -884,15 +1137,15 @@ var Te = {
|
|
|
884
1137
|
placeholder: i.placeholder,
|
|
885
1138
|
onBlur: r,
|
|
886
1139
|
onKeydown: A(r, ["enter"])
|
|
887
|
-
}, null, 40,
|
|
1140
|
+
}, null, 40, In), [[E, n.value]])])) : (y(), c("div", Ln, [k(l("input", {
|
|
888
1141
|
type: "text",
|
|
889
1142
|
"onUpdate:modelValue": t[1] ||= (e) => n.value = e,
|
|
890
1143
|
placeholder: i.placeholder,
|
|
891
1144
|
onBlur: r,
|
|
892
1145
|
onKeydown: A(r, ["enter"])
|
|
893
|
-
}, null, 40,
|
|
1146
|
+
}, null, 40, Rn), [[E, n.value]])]));
|
|
894
1147
|
}
|
|
895
|
-
}), [["__scopeId", "data-v-3f3d20cc"]]),
|
|
1148
|
+
}), [["__scopeId", "data-v-3f3d20cc"]]), Bn = { class: "toggle" }, Vn = ["for"], Hn = /* @__PURE__ */ e(/* @__PURE__ */ p({
|
|
896
1149
|
__name: "Toggle",
|
|
897
1150
|
props: /* @__PURE__ */ h({
|
|
898
1151
|
label: {},
|
|
@@ -905,9 +1158,9 @@ var Te = {
|
|
|
905
1158
|
emits: ["update:modelValue"],
|
|
906
1159
|
setup(e) {
|
|
907
1160
|
let t = T(e, "modelValue"), n = e, r = fe();
|
|
908
|
-
return (i, a) => (y(), c("div",
|
|
909
|
-
l("label", { for: w(r) }, C(e.label), 9,
|
|
910
|
-
n.hint ? (y(), o(
|
|
1161
|
+
return (i, a) => (y(), c("div", Bn, [
|
|
1162
|
+
l("label", { for: w(r) }, C(e.label), 9, Vn),
|
|
1163
|
+
n.hint ? (y(), o($, {
|
|
911
1164
|
key: 0,
|
|
912
1165
|
text: n.hint
|
|
913
1166
|
}, null, 8, ["text"])) : s("", !0),
|
|
@@ -929,4 +1182,4 @@ var Te = {
|
|
|
929
1182
|
}
|
|
930
1183
|
}), [["__scopeId", "data-v-9916c71e"]]);
|
|
931
1184
|
//#endregion
|
|
932
|
-
export { n as Box, t as Button, W as Container, G as Expander, Y as Grid,
|
|
1185
|
+
export { n as Box, t as Button, W as Container, G as Expander, Y as Grid, $ as Hint, Q as Icon, en as LightDarkToggle, gn as NumberInput, yn as ParamEditor, r as SelectBox, Pn as SidebarLayout, vn as Spinner, zn as TextInput, Hn as Toggle, be as hasIcon, ve as registerIcons };
|