@morscherlab/mint-sdk 1.1.0-beta.2 → 1.1.0-beta.4
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/__tests__/components/SectionCard.test.d.ts +1 -0
- package/dist/components/SectionCard.vue.d.ts +47 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -2
- package/dist/{components-UfkPN1bK.js → components-DFH5whuh.js} +699 -620
- package/dist/components-DFH5whuh.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/install.js +1 -1
- package/dist/styles.css +301 -0
- package/dist/tailwind.preset.d.ts +5 -0
- package/dist/tailwind.preset.js +7 -2
- package/dist/tailwind.preset.js.map +1 -1
- package/dist/types/components.d.ts +2 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/__tests__/components/SectionCard.test.ts +181 -0
- package/src/components/SectionCard.story.vue +163 -0
- package/src/components/SectionCard.vue +98 -0
- package/src/components/index.ts +1 -0
- package/src/styles/components/section-card.css +161 -0
- package/src/styles/index.css +1 -0
- package/src/styles/variables.css +25 -0
- package/src/tailwind.preset.ts +5 -0
- package/src/types/components.ts +12 -0
- package/src/types/index.ts +2 -0
- package/dist/components-UfkPN1bK.js.map +0 -1
|
@@ -12,9 +12,9 @@ import { B as toBioTemplateComponentProps, F as getBioTemplateComponentProps, H
|
|
|
12
12
|
import { r as ExperimentCodeBadge_default, t as ExperimentSelectorModal_default } from "./ExperimentSelectorModal-B7w6k3Y8.js";
|
|
13
13
|
import { Fragment, Teleport, Transition, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineAsyncComponent, defineComponent, effectScope, guardReactiveProps, h, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toRaw, toRef, unref, useId, useModel, useSlots, vModelCheckbox, vModelSelect, vModelText, vShow, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
14
14
|
//#region src/components/ColorSlider.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
-
var _hoisted_1$
|
|
16
|
-
var _hoisted_2$
|
|
17
|
-
var _hoisted_3$
|
|
15
|
+
var _hoisted_1$74 = { class: "mint-color-slider__row" };
|
|
16
|
+
var _hoisted_2$66 = { class: "mint-color-slider__track" };
|
|
17
|
+
var _hoisted_3$60 = [
|
|
18
18
|
"value",
|
|
19
19
|
"min",
|
|
20
20
|
"max",
|
|
@@ -129,7 +129,7 @@ var ColorSlider_default = /* @__PURE__ */ defineComponent({
|
|
|
129
129
|
emit("update:modelValue", Number(target.value));
|
|
130
130
|
}
|
|
131
131
|
return (_ctx, _cache) => {
|
|
132
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-color-slider", { "mint-color-slider--disabled": __props.disabled }]) }, [createElementVNode("div", _hoisted_1$
|
|
132
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-color-slider", { "mint-color-slider--disabled": __props.disabled }]) }, [createElementVNode("div", _hoisted_1$74, [createElementVNode("div", _hoisted_2$66, [createElementVNode("input", {
|
|
133
133
|
type: "range",
|
|
134
134
|
value: currentValue.value,
|
|
135
135
|
min: __props.min,
|
|
@@ -146,7 +146,7 @@ var ColorSlider_default = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
"--thumb-size": `${sizeConfig.value.thumb}px`
|
|
147
147
|
}),
|
|
148
148
|
onInput: handleInput
|
|
149
|
-
}, null, 44, _hoisted_3$
|
|
149
|
+
}, null, 44, _hoisted_3$60)]), __props.showValue ? (openBlock(), createElementBlock("div", {
|
|
150
150
|
key: 0,
|
|
151
151
|
class: "mint-color-slider__badge",
|
|
152
152
|
style: normalizeStyle({
|
|
@@ -165,13 +165,13 @@ var ColorSlider_default = /* @__PURE__ */ defineComponent({
|
|
|
165
165
|
});
|
|
166
166
|
//#endregion
|
|
167
167
|
//#region src/components/BaseTabs.vue?vue&type=script&setup=true&lang.ts
|
|
168
|
-
var _hoisted_1$
|
|
168
|
+
var _hoisted_1$73 = [
|
|
169
169
|
"aria-selected",
|
|
170
170
|
"aria-disabled",
|
|
171
171
|
"onClick"
|
|
172
172
|
];
|
|
173
|
-
var _hoisted_2$
|
|
174
|
-
var _hoisted_3$
|
|
173
|
+
var _hoisted_2$65 = { class: "mint-tab__content" };
|
|
174
|
+
var _hoisted_3$59 = {
|
|
175
175
|
key: 0,
|
|
176
176
|
class: "mint-tab__icon mint-tab__icon--svg",
|
|
177
177
|
viewBox: "0 0 24 24",
|
|
@@ -182,9 +182,9 @@ var _hoisted_3$58 = {
|
|
|
182
182
|
"stroke-linejoin": "round",
|
|
183
183
|
"aria-hidden": "true"
|
|
184
184
|
};
|
|
185
|
-
var _hoisted_4$
|
|
186
|
-
var _hoisted_5$
|
|
187
|
-
var _hoisted_6$
|
|
185
|
+
var _hoisted_4$55 = ["d"];
|
|
186
|
+
var _hoisted_5$53 = ["d"];
|
|
187
|
+
var _hoisted_6$50 = {
|
|
188
188
|
key: 1,
|
|
189
189
|
class: "mint-tab__icon"
|
|
190
190
|
};
|
|
@@ -233,33 +233,33 @@ var BaseTabs_default = /* @__PURE__ */ defineComponent({
|
|
|
233
233
|
tab.disabled ? "mint-tab--disabled" : ""
|
|
234
234
|
]),
|
|
235
235
|
onClick: ($event) => selectTab(tab.id)
|
|
236
|
-
}, [createElementVNode("span", _hoisted_2$
|
|
237
|
-
isSvgIcon(tab.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
236
|
+
}, [createElementVNode("span", _hoisted_2$65, [
|
|
237
|
+
isSvgIcon(tab.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$59, [Array.isArray(tab.icon) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(tab.icon, (d, index) => {
|
|
238
238
|
return openBlock(), createElementBlock("path", {
|
|
239
239
|
key: index,
|
|
240
240
|
d
|
|
241
|
-
}, null, 8, _hoisted_4$
|
|
241
|
+
}, null, 8, _hoisted_4$55);
|
|
242
242
|
}), 128)) : (openBlock(), createElementBlock("path", {
|
|
243
243
|
key: 1,
|
|
244
244
|
d: tab.icon
|
|
245
|
-
}, null, 8, _hoisted_5$
|
|
245
|
+
}, null, 8, _hoisted_5$53))])) : tab.icon ? (openBlock(), createElementBlock("span", _hoisted_6$50, toDisplayString(tab.icon), 1)) : createCommentVNode("", true),
|
|
246
246
|
createTextVNode(" " + toDisplayString(tab.label) + " ", 1),
|
|
247
247
|
tab.badge !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_7$44, toDisplayString(tab.badge), 1)) : createCommentVNode("", true)
|
|
248
|
-
])], 10, _hoisted_1$
|
|
248
|
+
])], 10, _hoisted_1$73);
|
|
249
249
|
}), 128))], 2);
|
|
250
250
|
};
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
253
|
//#endregion
|
|
254
254
|
//#region src/components/SegmentedControl.vue?vue&type=script&setup=true&lang.ts
|
|
255
|
-
var _hoisted_1$
|
|
255
|
+
var _hoisted_1$72 = [
|
|
256
256
|
"aria-checked",
|
|
257
257
|
"disabled",
|
|
258
258
|
"onClick",
|
|
259
259
|
"onKeydown"
|
|
260
260
|
];
|
|
261
|
-
var _hoisted_2$
|
|
262
|
-
var _hoisted_3$
|
|
261
|
+
var _hoisted_2$64 = { class: "mint-segmented-control__label" };
|
|
262
|
+
var _hoisted_3$58 = {
|
|
263
263
|
key: 0,
|
|
264
264
|
class: "mint-segmented-control__description"
|
|
265
265
|
};
|
|
@@ -331,30 +331,30 @@ var SegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
331
331
|
]),
|
|
332
332
|
onClick: ($event) => handleSelect(option),
|
|
333
333
|
onKeydown: ($event) => handleKeydown($event, option)
|
|
334
|
-
}, [createElementVNode("span", _hoisted_2$
|
|
334
|
+
}, [createElementVNode("span", _hoisted_2$64, toDisplayString(option.label), 1), option.description && __props.variant === "card" ? (openBlock(), createElementBlock("span", _hoisted_3$58, toDisplayString(option.description), 1)) : createCommentVNode("", true)], 42, _hoisted_1$72);
|
|
335
335
|
}), 128))], 2);
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
338
|
});
|
|
339
339
|
//#endregion
|
|
340
340
|
//#region src/components/DropdownButton.vue?vue&type=script&setup=true&lang.ts
|
|
341
|
-
var _hoisted_1$
|
|
342
|
-
var _hoisted_2$
|
|
341
|
+
var _hoisted_1$71 = ["disabled", "aria-expanded"];
|
|
342
|
+
var _hoisted_2$63 = {
|
|
343
343
|
key: 0,
|
|
344
344
|
class: "mint-dropdown-button__spinner",
|
|
345
345
|
viewBox: "0 0 24 24",
|
|
346
346
|
fill: "none",
|
|
347
347
|
"aria-hidden": "true"
|
|
348
348
|
};
|
|
349
|
-
var _hoisted_3$
|
|
350
|
-
var _hoisted_4$
|
|
351
|
-
var _hoisted_5$
|
|
349
|
+
var _hoisted_3$57 = { class: "mint-dropdown-button__label" };
|
|
350
|
+
var _hoisted_4$54 = ["aria-activedescendant"];
|
|
351
|
+
var _hoisted_5$52 = [
|
|
352
352
|
"id",
|
|
353
353
|
"aria-selected",
|
|
354
354
|
"aria-disabled",
|
|
355
355
|
"onClick"
|
|
356
356
|
];
|
|
357
|
-
var _hoisted_6$
|
|
357
|
+
var _hoisted_6$49 = { class: "mint-dropdown-button__option-label" };
|
|
358
358
|
var _hoisted_7$43 = {
|
|
359
359
|
key: 0,
|
|
360
360
|
class: "mint-dropdown-button__option-description"
|
|
@@ -434,7 +434,7 @@ var DropdownButton_default = /* @__PURE__ */ defineComponent({
|
|
|
434
434
|
"aria-haspopup": "listbox",
|
|
435
435
|
onClick: toggle
|
|
436
436
|
}, [
|
|
437
|
-
__props.loading ? (openBlock(), createElementBlock("svg", _hoisted_2$
|
|
437
|
+
__props.loading ? (openBlock(), createElementBlock("svg", _hoisted_2$63, [..._cache[0] || (_cache[0] = [createElementVNode("circle", {
|
|
438
438
|
cx: "12",
|
|
439
439
|
cy: "12",
|
|
440
440
|
r: "10",
|
|
@@ -447,7 +447,7 @@ var DropdownButton_default = /* @__PURE__ */ defineComponent({
|
|
|
447
447
|
"stroke-width": "3",
|
|
448
448
|
"stroke-linecap": "round"
|
|
449
449
|
}, null, -1)])])) : createCommentVNode("", true),
|
|
450
|
-
createElementVNode("span", _hoisted_3$
|
|
450
|
+
createElementVNode("span", _hoisted_3$57, toDisplayString(selectedLabel.value), 1),
|
|
451
451
|
(openBlock(), createElementBlock("svg", {
|
|
452
452
|
class: normalizeClass(["mint-dropdown-button__chevron", { "mint-dropdown-button__chevron--open": unref(isOpen) }]),
|
|
453
453
|
viewBox: "0 0 24 24",
|
|
@@ -457,7 +457,7 @@ var DropdownButton_default = /* @__PURE__ */ defineComponent({
|
|
|
457
457
|
"stroke-linecap": "round",
|
|
458
458
|
"stroke-linejoin": "round"
|
|
459
459
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "m6 9 6 6 6-6" }, null, -1)])], 2))
|
|
460
|
-
], 10, _hoisted_1$
|
|
460
|
+
], 10, _hoisted_1$71), createVNode(Transition, { name: "mint-dropdown-button-menu" }, {
|
|
461
461
|
default: withCtx(() => [unref(isOpen) ? (openBlock(), createElementBlock("ul", {
|
|
462
462
|
key: 0,
|
|
463
463
|
class: "mint-dropdown-button__menu",
|
|
@@ -476,11 +476,11 @@ var DropdownButton_default = /* @__PURE__ */ defineComponent({
|
|
|
476
476
|
}]),
|
|
477
477
|
onClick: ($event) => selectOption(option)
|
|
478
478
|
}, [
|
|
479
|
-
createElementVNode("span", _hoisted_6$
|
|
479
|
+
createElementVNode("span", _hoisted_6$49, toDisplayString(option.label), 1),
|
|
480
480
|
option.description ? (openBlock(), createElementBlock("span", _hoisted_7$43, toDisplayString(option.description), 1)) : createCommentVNode("", true),
|
|
481
481
|
option.value === __props.modelValue ? (openBlock(), createElementBlock("svg", _hoisted_8$39, [..._cache[2] || (_cache[2] = [createElementVNode("path", { d: "M20 6 9 17l-5-5" }, null, -1)])])) : createCommentVNode("", true)
|
|
482
|
-
], 10, _hoisted_5$
|
|
483
|
-
}), 128))], 8, _hoisted_4$
|
|
482
|
+
], 10, _hoisted_5$52);
|
|
483
|
+
}), 128))], 8, _hoisted_4$54)) : createCommentVNode("", true)]),
|
|
484
484
|
_: 1
|
|
485
485
|
})], 512);
|
|
486
486
|
};
|
|
@@ -488,15 +488,15 @@ var DropdownButton_default = /* @__PURE__ */ defineComponent({
|
|
|
488
488
|
});
|
|
489
489
|
//#endregion
|
|
490
490
|
//#region src/components/Calendar.vue?vue&type=script&setup=true&lang.ts
|
|
491
|
-
var _hoisted_1$
|
|
492
|
-
var _hoisted_2$
|
|
491
|
+
var _hoisted_1$70 = { class: "mint-calendar" };
|
|
492
|
+
var _hoisted_2$62 = {
|
|
493
493
|
key: 0,
|
|
494
494
|
class: "mint-calendar__header"
|
|
495
495
|
};
|
|
496
|
-
var _hoisted_3$
|
|
497
|
-
var _hoisted_4$
|
|
498
|
-
var _hoisted_5$
|
|
499
|
-
var _hoisted_6$
|
|
496
|
+
var _hoisted_3$56 = { class: "mint-calendar__title" };
|
|
497
|
+
var _hoisted_4$53 = { class: "mint-calendar__weekdays" };
|
|
498
|
+
var _hoisted_5$51 = { class: "mint-calendar__grid" };
|
|
499
|
+
var _hoisted_6$48 = [
|
|
500
500
|
"disabled",
|
|
501
501
|
"onClick",
|
|
502
502
|
"onMouseenter"
|
|
@@ -722,8 +722,8 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
722
722
|
emit("navigate", "next", currentMonth.value, currentYear.value);
|
|
723
723
|
}
|
|
724
724
|
return (_ctx, _cache) => {
|
|
725
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
726
|
-
__props.showNavigation ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
725
|
+
return openBlock(), createElementBlock("div", _hoisted_1$70, [
|
|
726
|
+
__props.showNavigation ? (openBlock(), createElementBlock("div", _hoisted_2$62, [
|
|
727
727
|
createElementVNode("button", {
|
|
728
728
|
type: "button",
|
|
729
729
|
class: "mint-calendar__nav-btn",
|
|
@@ -742,7 +742,7 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
742
742
|
year: currentYear.value,
|
|
743
743
|
prevMonth,
|
|
744
744
|
nextMonth
|
|
745
|
-
}, () => [createElementVNode("span", _hoisted_3$
|
|
745
|
+
}, () => [createElementVNode("span", _hoisted_3$56, toDisplayString(monthLabel.value), 1)]),
|
|
746
746
|
createElementVNode("button", {
|
|
747
747
|
type: "button",
|
|
748
748
|
class: "mint-calendar__nav-btn",
|
|
@@ -757,7 +757,7 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
757
757
|
"stroke-linejoin": "round"
|
|
758
758
|
}, [createElementVNode("path", { d: "m9 18 6-6-6-6" })], -1)])])
|
|
759
759
|
])) : createCommentVNode("", true),
|
|
760
|
-
createElementVNode("div", _hoisted_4$
|
|
760
|
+
createElementVNode("div", _hoisted_4$53, [(openBlock(true), createElementBlock(Fragment, null, renderList(weekDayLabels.value, (label, i) => {
|
|
761
761
|
return openBlock(), createElementBlock("span", {
|
|
762
762
|
key: i,
|
|
763
763
|
class: "mint-calendar__weekday"
|
|
@@ -766,7 +766,7 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
766
766
|
index: i
|
|
767
767
|
}, () => [createTextVNode(toDisplayString(label), 1)])]);
|
|
768
768
|
}), 128))]),
|
|
769
|
-
createElementVNode("div", _hoisted_5$
|
|
769
|
+
createElementVNode("div", _hoisted_5$51, [(openBlock(true), createElementBlock(Fragment, null, renderList(calendarDays.value, (day, i) => {
|
|
770
770
|
return openBlock(), createElementBlock("button", {
|
|
771
771
|
key: i,
|
|
772
772
|
type: "button",
|
|
@@ -788,7 +788,7 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
788
788
|
style: normalizeStyle(marker.color ? { "--marker-color": marker.color } : {}),
|
|
789
789
|
title: marker.label
|
|
790
790
|
}, null, 14, _hoisted_9$36);
|
|
791
|
-
}), 128))])) : createCommentVNode("", true)])], 42, _hoisted_6$
|
|
791
|
+
}), 128))])) : createCommentVNode("", true)])], 42, _hoisted_6$48);
|
|
792
792
|
}), 128))])
|
|
793
793
|
]);
|
|
794
794
|
};
|
|
@@ -796,18 +796,18 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
796
796
|
});
|
|
797
797
|
//#endregion
|
|
798
798
|
//#region src/components/DataFrame.vue?vue&type=script&setup=true&lang.ts
|
|
799
|
-
var _hoisted_1$
|
|
799
|
+
var _hoisted_1$69 = {
|
|
800
800
|
key: 0,
|
|
801
801
|
class: "mint-dataframe__header"
|
|
802
802
|
};
|
|
803
|
-
var _hoisted_2$
|
|
804
|
-
var _hoisted_3$
|
|
805
|
-
var _hoisted_4$
|
|
806
|
-
var _hoisted_5$
|
|
803
|
+
var _hoisted_2$61 = { class: "mint-dataframe__search-wrapper" };
|
|
804
|
+
var _hoisted_3$55 = ["placeholder"];
|
|
805
|
+
var _hoisted_4$52 = { class: "mint-dataframe__table" };
|
|
806
|
+
var _hoisted_5$50 = {
|
|
807
807
|
key: 0,
|
|
808
808
|
class: "mint-dataframe__th mint-dataframe__th--checkbox"
|
|
809
809
|
};
|
|
810
|
-
var _hoisted_6$
|
|
810
|
+
var _hoisted_6$47 = ["checked", "indeterminate"];
|
|
811
811
|
var _hoisted_7$41 = ["onClick"];
|
|
812
812
|
var _hoisted_8$37 = { class: "mint-dataframe__th-content" };
|
|
813
813
|
var _hoisted_9$35 = ["onMousedown"];
|
|
@@ -1091,7 +1091,7 @@ var DataFrame_default = /* @__PURE__ */ defineComponent({
|
|
|
1091
1091
|
});
|
|
1092
1092
|
return (_ctx, _cache) => {
|
|
1093
1093
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-dataframe", { "mint-dataframe--bordered": __props.bordered }]) }, [
|
|
1094
|
-
__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
1094
|
+
__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_1$69, [createElementVNode("div", _hoisted_2$61, [_cache[5] || (_cache[5] = createElementVNode("svg", {
|
|
1095
1095
|
class: "mint-dataframe__search-icon",
|
|
1096
1096
|
viewBox: "0 0 24 24",
|
|
1097
1097
|
fill: "none",
|
|
@@ -1108,19 +1108,19 @@ var DataFrame_default = /* @__PURE__ */ defineComponent({
|
|
|
1108
1108
|
type: "text",
|
|
1109
1109
|
class: "mint-dataframe__search",
|
|
1110
1110
|
placeholder: __props.searchPlaceholder
|
|
1111
|
-
}, null, 8, _hoisted_3$
|
|
1111
|
+
}, null, 8, _hoisted_3$55), [[vModelText, searchQuery.value]])])])) : createCommentVNode("", true),
|
|
1112
1112
|
createElementVNode("div", {
|
|
1113
1113
|
class: "mint-dataframe__table-wrapper",
|
|
1114
1114
|
style: normalizeStyle(wrapperStyle.value)
|
|
1115
1115
|
}, [
|
|
1116
|
-
createElementVNode("table", _hoisted_4$
|
|
1117
|
-
__props.selectable ? (openBlock(), createElementBlock("th", _hoisted_5$
|
|
1116
|
+
createElementVNode("table", _hoisted_4$52, [createElementVNode("thead", { class: normalizeClass(["mint-dataframe__thead", { "mint-dataframe__thead--sticky": __props.stickyHeader }]) }, [createElementVNode("tr", null, [
|
|
1117
|
+
__props.selectable ? (openBlock(), createElementBlock("th", _hoisted_5$50, [createElementVNode("input", {
|
|
1118
1118
|
type: "checkbox",
|
|
1119
1119
|
checked: allSelected.value,
|
|
1120
1120
|
indeterminate: selectIndeterminate.value,
|
|
1121
1121
|
class: "mint-dataframe__checkbox",
|
|
1122
1122
|
onChange: toggleSelectAll
|
|
1123
|
-
}, null, 40, _hoisted_6$
|
|
1123
|
+
}, null, 40, _hoisted_6$47)])) : createCommentVNode("", true),
|
|
1124
1124
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (col) => {
|
|
1125
1125
|
return openBlock(), createElementBlock("th", {
|
|
1126
1126
|
key: col.key,
|
|
@@ -1288,9 +1288,9 @@ var DataFrame_default = /* @__PURE__ */ defineComponent({
|
|
|
1288
1288
|
});
|
|
1289
1289
|
//#endregion
|
|
1290
1290
|
//#region src/components/AppToastContainer.vue?vue&type=script&setup=true&lang.ts
|
|
1291
|
-
var _hoisted_1$
|
|
1292
|
-
var _hoisted_2$
|
|
1293
|
-
var _hoisted_3$
|
|
1291
|
+
var _hoisted_1$68 = { class: "mint-toast__container" };
|
|
1292
|
+
var _hoisted_2$60 = ["onClick"];
|
|
1293
|
+
var _hoisted_3$54 = { class: "mint-toast__message" };
|
|
1294
1294
|
//#endregion
|
|
1295
1295
|
//#region src/components/AppToastContainer.vue
|
|
1296
1296
|
var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1305,7 +1305,7 @@ var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
1305
1305
|
info: "#3B82F6"
|
|
1306
1306
|
};
|
|
1307
1307
|
return (_ctx, _cache) => {
|
|
1308
|
-
return openBlock(), createBlock(Teleport, { to: "body" }, [createElementVNode("div", _hoisted_1$
|
|
1308
|
+
return openBlock(), createBlock(Teleport, { to: "body" }, [createElementVNode("div", _hoisted_1$68, [createVNode(TransitionGroup, { name: "toast" }, {
|
|
1309
1309
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(toasts), (toast) => {
|
|
1310
1310
|
return openBlock(), createElementBlock("div", {
|
|
1311
1311
|
key: toast.id,
|
|
@@ -1379,7 +1379,7 @@ var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
1379
1379
|
createElementVNode("path", { d: "M12 16v-4" }, null, -1),
|
|
1380
1380
|
createElementVNode("path", { d: "M12 8h.01" }, null, -1)
|
|
1381
1381
|
])], 4)),
|
|
1382
|
-
createElementVNode("span", _hoisted_3$
|
|
1382
|
+
createElementVNode("span", _hoisted_3$54, toDisplayString(toast.message), 1),
|
|
1383
1383
|
createElementVNode("span", {
|
|
1384
1384
|
class: "mint-toast__progress",
|
|
1385
1385
|
style: normalizeStyle({
|
|
@@ -1387,7 +1387,7 @@ var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
1387
1387
|
animationDuration: `${toast.duration ?? 3500}ms`
|
|
1388
1388
|
})
|
|
1389
1389
|
}, null, 4)
|
|
1390
|
-
], 14, _hoisted_2$
|
|
1390
|
+
], 14, _hoisted_2$60);
|
|
1391
1391
|
}), 128))]),
|
|
1392
1392
|
_: 1
|
|
1393
1393
|
})])]);
|
|
@@ -1396,7 +1396,7 @@ var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
1396
1396
|
});
|
|
1397
1397
|
//#endregion
|
|
1398
1398
|
//#region src/components/IconButton.vue?vue&type=script&setup=true&lang.ts
|
|
1399
|
-
var _hoisted_1$
|
|
1399
|
+
var _hoisted_1$67 = [
|
|
1400
1400
|
"disabled",
|
|
1401
1401
|
"aria-label",
|
|
1402
1402
|
"title"
|
|
@@ -1458,13 +1458,13 @@ var IconButton_default = /* @__PURE__ */ defineComponent({
|
|
|
1458
1458
|
}, null, -1)])], 2)) : (openBlock(), createElementBlock("span", {
|
|
1459
1459
|
key: 1,
|
|
1460
1460
|
class: normalizeClass(`mint-icon-button__icon--${__props.size}`)
|
|
1461
|
-
}, [renderSlot(_ctx.$slots, "default")], 2))], 10, _hoisted_1$
|
|
1461
|
+
}, [renderSlot(_ctx.$slots, "default")], 2))], 10, _hoisted_1$67);
|
|
1462
1462
|
};
|
|
1463
1463
|
}
|
|
1464
1464
|
});
|
|
1465
1465
|
//#endregion
|
|
1466
1466
|
//#region src/components/ThemeToggle.vue?vue&type=script&setup=true&lang.ts
|
|
1467
|
-
var _hoisted_1$
|
|
1467
|
+
var _hoisted_1$66 = {
|
|
1468
1468
|
key: 0,
|
|
1469
1469
|
class: "mint-theme-toggle__icon",
|
|
1470
1470
|
viewBox: "0 0 24 24",
|
|
@@ -1474,7 +1474,7 @@ var _hoisted_1$65 = {
|
|
|
1474
1474
|
"stroke-linecap": "round",
|
|
1475
1475
|
"stroke-linejoin": "round"
|
|
1476
1476
|
};
|
|
1477
|
-
var _hoisted_2$
|
|
1477
|
+
var _hoisted_2$59 = {
|
|
1478
1478
|
key: 1,
|
|
1479
1479
|
class: "mint-theme-toggle__icon",
|
|
1480
1480
|
viewBox: "0 0 24 24",
|
|
@@ -1500,7 +1500,7 @@ var ThemeToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
1500
1500
|
label: unref(isDark) ? "Switch to light mode" : "Switch to dark mode",
|
|
1501
1501
|
onClick: unref(toggleTheme)
|
|
1502
1502
|
}, {
|
|
1503
|
-
default: withCtx(() => [unref(isDark) ? (openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1503
|
+
default: withCtx(() => [unref(isDark) ? (openBlock(), createElementBlock("svg", _hoisted_1$66, [..._cache[0] || (_cache[0] = [
|
|
1504
1504
|
createElementVNode("circle", {
|
|
1505
1505
|
cx: "12",
|
|
1506
1506
|
cy: "12",
|
|
@@ -1514,7 +1514,7 @@ var ThemeToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
1514
1514
|
createElementVNode("path", { d: "M20 12h2" }, null, -1),
|
|
1515
1515
|
createElementVNode("path", { d: "m6.34 17.66-1.41 1.41" }, null, -1),
|
|
1516
1516
|
createElementVNode("path", { d: "m19.07 4.93-1.41 1.41" }, null, -1)
|
|
1517
|
-
])])) : (openBlock(), createElementBlock("svg", _hoisted_2$
|
|
1517
|
+
])])) : (openBlock(), createElementBlock("svg", _hoisted_2$59, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401" }, null, -1)])]))]),
|
|
1518
1518
|
_: 1
|
|
1519
1519
|
}, 8, [
|
|
1520
1520
|
"size",
|
|
@@ -1526,12 +1526,12 @@ var ThemeToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
1526
1526
|
});
|
|
1527
1527
|
//#endregion
|
|
1528
1528
|
//#region src/components/CollapsibleCard.vue?vue&type=script&setup=true&lang.ts
|
|
1529
|
-
var _hoisted_1$
|
|
1530
|
-
var _hoisted_2$
|
|
1531
|
-
var _hoisted_3$
|
|
1532
|
-
var _hoisted_4$
|
|
1533
|
-
var _hoisted_5$
|
|
1534
|
-
var _hoisted_6$
|
|
1529
|
+
var _hoisted_1$65 = { class: "mint-collapsible-card__header-shell" };
|
|
1530
|
+
var _hoisted_2$58 = ["disabled", "aria-expanded"];
|
|
1531
|
+
var _hoisted_3$53 = { class: "mint-collapsible-card__title-section" };
|
|
1532
|
+
var _hoisted_4$51 = ["d"];
|
|
1533
|
+
var _hoisted_5$49 = ["d"];
|
|
1534
|
+
var _hoisted_6$46 = { class: "mint-collapsible-card__titles" };
|
|
1535
1535
|
var _hoisted_7$40 = { class: "mint-collapsible-card__title" };
|
|
1536
1536
|
var _hoisted_8$36 = {
|
|
1537
1537
|
key: 0,
|
|
@@ -1648,13 +1648,13 @@ var CollapsibleCard_default = /* @__PURE__ */ defineComponent({
|
|
|
1648
1648
|
emit("action", action.id);
|
|
1649
1649
|
}
|
|
1650
1650
|
return (_ctx, _cache) => {
|
|
1651
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-collapsible-card", __props.dense ? "mint-collapsible-card--dense" : ""]) }, [createElementVNode("div", _hoisted_1$
|
|
1651
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-collapsible-card", __props.dense ? "mint-collapsible-card--dense" : ""]) }, [createElementVNode("div", _hoisted_1$65, [createElementVNode("button", {
|
|
1652
1652
|
type: "button",
|
|
1653
1653
|
class: normalizeClass(headerClasses.value),
|
|
1654
1654
|
disabled: __props.disabled,
|
|
1655
1655
|
"aria-expanded": isOpen.value,
|
|
1656
1656
|
onClick: toggle
|
|
1657
|
-
}, [createElementVNode("div", _hoisted_3$
|
|
1657
|
+
}, [createElementVNode("div", _hoisted_3$53, [__props.icon ? (openBlock(), createElementBlock("div", {
|
|
1658
1658
|
key: 0,
|
|
1659
1659
|
class: "mint-collapsible-card__icon-badge",
|
|
1660
1660
|
style: normalizeStyle(iconBgStyle.value)
|
|
@@ -1672,15 +1672,15 @@ var CollapsibleCard_default = /* @__PURE__ */ defineComponent({
|
|
|
1672
1672
|
return openBlock(), createElementBlock("path", {
|
|
1673
1673
|
key: i,
|
|
1674
1674
|
d
|
|
1675
|
-
}, null, 8, _hoisted_4$
|
|
1675
|
+
}, null, 8, _hoisted_4$51);
|
|
1676
1676
|
}), 128)) : (openBlock(), createElementBlock("path", {
|
|
1677
1677
|
key: 1,
|
|
1678
1678
|
d: __props.icon
|
|
1679
|
-
}, null, 8, _hoisted_5$
|
|
1679
|
+
}, null, 8, _hoisted_5$49))], 4)) : (openBlock(), createElementBlock("span", {
|
|
1680
1680
|
key: 1,
|
|
1681
1681
|
class: "mint-collapsible-card__icon-text",
|
|
1682
1682
|
style: normalizeStyle(iconColorStyle.value)
|
|
1683
|
-
}, toDisplayString(__props.icon), 5))], 4)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6$
|
|
1683
|
+
}, toDisplayString(__props.icon), 5))], 4)) : createCommentVNode("", true), createElementVNode("div", _hoisted_6$46, [createElementVNode("h3", _hoisted_7$40, toDisplayString(__props.title), 1), __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_8$36, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)])])], 10, _hoisted_2$58), createElementVNode("div", _hoisted_9$34, [
|
|
1684
1684
|
__props.badge !== void 0 ? (openBlock(), createElementBlock("span", {
|
|
1685
1685
|
key: 0,
|
|
1686
1686
|
class: normalizeClass(badgeClasses.value)
|
|
@@ -1875,18 +1875,18 @@ function isFiniteNumber(value, min, max) {
|
|
|
1875
1875
|
}
|
|
1876
1876
|
//#endregion
|
|
1877
1877
|
//#region src/components/internal/ActionItemInternal.vue?vue&type=script&setup=true&lang.ts
|
|
1878
|
-
var _hoisted_1$
|
|
1878
|
+
var _hoisted_1$64 = [
|
|
1879
1879
|
"href",
|
|
1880
1880
|
"aria-disabled",
|
|
1881
1881
|
"tabindex"
|
|
1882
1882
|
];
|
|
1883
|
-
var _hoisted_2$
|
|
1883
|
+
var _hoisted_2$57 = [
|
|
1884
1884
|
"href",
|
|
1885
1885
|
"aria-disabled",
|
|
1886
1886
|
"tabindex",
|
|
1887
1887
|
"onClick"
|
|
1888
1888
|
];
|
|
1889
|
-
var _hoisted_3$
|
|
1889
|
+
var _hoisted_3$52 = ["type", "disabled"];
|
|
1890
1890
|
//#endregion
|
|
1891
1891
|
//#region src/components/internal/ActionItemInternal.vue
|
|
1892
1892
|
var ActionItemInternal_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1932,7 +1932,7 @@ var ActionItemInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
1932
1932
|
"aria-disabled": __props.disabled || void 0,
|
|
1933
1933
|
tabindex: __props.disabled ? -1 : void 0,
|
|
1934
1934
|
onClick: handleClick
|
|
1935
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$
|
|
1935
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$64)) : __props.to ? (openBlock(), createBlock(_component_router_link, {
|
|
1936
1936
|
key: 1,
|
|
1937
1937
|
to: __props.to,
|
|
1938
1938
|
custom: ""
|
|
@@ -1942,33 +1942,33 @@ var ActionItemInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
1942
1942
|
"aria-disabled": __props.disabled || void 0,
|
|
1943
1943
|
tabindex: __props.disabled ? -1 : void 0,
|
|
1944
1944
|
onClick: ($event) => handleRouterClick($event, navigate)
|
|
1945
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_2$
|
|
1945
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_2$57)]),
|
|
1946
1946
|
_: 3
|
|
1947
1947
|
}, 8, ["to"])) : (openBlock(), createElementBlock("button", mergeProps({ key: 2 }, _ctx.$attrs, {
|
|
1948
1948
|
type: __props.type,
|
|
1949
1949
|
disabled: __props.disabled,
|
|
1950
1950
|
onClick: handleClick
|
|
1951
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_3$
|
|
1951
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_3$52));
|
|
1952
1952
|
};
|
|
1953
1953
|
}
|
|
1954
1954
|
});
|
|
1955
1955
|
//#endregion
|
|
1956
1956
|
//#region src/components/PluginIcon.vue?vue&type=script&setup=true&lang.ts
|
|
1957
|
-
var _hoisted_1$
|
|
1958
|
-
var _hoisted_2$
|
|
1959
|
-
var _hoisted_3$
|
|
1957
|
+
var _hoisted_1$63 = ["viewBox"];
|
|
1958
|
+
var _hoisted_2$56 = { key: 0 };
|
|
1959
|
+
var _hoisted_3$51 = [
|
|
1960
1960
|
"id",
|
|
1961
1961
|
"x1",
|
|
1962
1962
|
"y1",
|
|
1963
1963
|
"x2",
|
|
1964
1964
|
"y2"
|
|
1965
1965
|
];
|
|
1966
|
-
var _hoisted_4$
|
|
1966
|
+
var _hoisted_4$50 = [
|
|
1967
1967
|
"offset",
|
|
1968
1968
|
"stop-color",
|
|
1969
1969
|
"stop-opacity"
|
|
1970
1970
|
];
|
|
1971
|
-
var _hoisted_5$
|
|
1971
|
+
var _hoisted_5$48 = [
|
|
1972
1972
|
"x",
|
|
1973
1973
|
"y",
|
|
1974
1974
|
"width",
|
|
@@ -1976,7 +1976,7 @@ var _hoisted_5$47 = [
|
|
|
1976
1976
|
"rx",
|
|
1977
1977
|
"fill"
|
|
1978
1978
|
];
|
|
1979
|
-
var _hoisted_6$
|
|
1979
|
+
var _hoisted_6$45 = [
|
|
1980
1980
|
"d",
|
|
1981
1981
|
"fill",
|
|
1982
1982
|
"stroke",
|
|
@@ -2069,7 +2069,7 @@ var PluginIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
2069
2069
|
viewBox: structuredIcon.value.viewBox,
|
|
2070
2070
|
"aria-hidden": "true"
|
|
2071
2071
|
}, [
|
|
2072
|
-
structuredIcon.value.gradient ? (openBlock(), createElementBlock("defs", _hoisted_2$
|
|
2072
|
+
structuredIcon.value.gradient ? (openBlock(), createElementBlock("defs", _hoisted_2$56, [createElementVNode("linearGradient", {
|
|
2073
2073
|
id: gradientId.value,
|
|
2074
2074
|
x1: gradientCoords.value.x1,
|
|
2075
2075
|
y1: gradientCoords.value.y1,
|
|
@@ -2081,8 +2081,8 @@ var PluginIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
2081
2081
|
offset: stop.offset,
|
|
2082
2082
|
"stop-color": stop.color,
|
|
2083
2083
|
"stop-opacity": stop.opacity
|
|
2084
|
-
}, null, 8, _hoisted_4$
|
|
2085
|
-
}), 128))], 8, _hoisted_3$
|
|
2084
|
+
}, null, 8, _hoisted_4$50);
|
|
2085
|
+
}), 128))], 8, _hoisted_3$51)])) : createCommentVNode("", true),
|
|
2086
2086
|
structuredIcon.value.background ? (openBlock(), createElementBlock("rect", {
|
|
2087
2087
|
key: 1,
|
|
2088
2088
|
x: structuredViewBox.value.x,
|
|
@@ -2091,7 +2091,7 @@ var PluginIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
2091
2091
|
height: structuredViewBox.value.height,
|
|
2092
2092
|
rx: structuredIcon.value.background.radius,
|
|
2093
2093
|
fill: backgroundFill.value
|
|
2094
|
-
}, null, 8, _hoisted_5$
|
|
2094
|
+
}, null, 8, _hoisted_5$48)) : createCommentVNode("", true),
|
|
2095
2095
|
(openBlock(true), createElementBlock(Fragment, null, renderList(structuredIcon.value.paths, (path, index) => {
|
|
2096
2096
|
return openBlock(), createElementBlock("path", {
|
|
2097
2097
|
key: index,
|
|
@@ -2102,9 +2102,9 @@ var PluginIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
2102
2102
|
opacity: path.opacity,
|
|
2103
2103
|
"stroke-linecap": "round",
|
|
2104
2104
|
"stroke-linejoin": "round"
|
|
2105
|
-
}, null, 8, _hoisted_6$
|
|
2105
|
+
}, null, 8, _hoisted_6$45);
|
|
2106
2106
|
}), 128))
|
|
2107
|
-
], 8, _hoisted_1$
|
|
2107
|
+
], 8, _hoisted_1$63)) : detected.value.format === "path" || detected.value.format === "fallback" ? (openBlock(), createElementBlock("svg", _hoisted_7$39, [createElementVNode("path", { d: iconValue.value }, null, 8, _hoisted_8$35)])) : (openBlock(), createElementBlock("img", {
|
|
2108
2108
|
key: 2,
|
|
2109
2109
|
class: "mint-plugin-icon__img",
|
|
2110
2110
|
src: iconValue.value,
|
|
@@ -2117,22 +2117,22 @@ var PluginIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
2117
2117
|
});
|
|
2118
2118
|
//#endregion
|
|
2119
2119
|
//#region src/components/internal/AppTopBarPageSelectorInternal.vue?vue&type=script&setup=true&lang.ts
|
|
2120
|
-
var _hoisted_1$
|
|
2121
|
-
var _hoisted_2$
|
|
2120
|
+
var _hoisted_1$62 = ["aria-expanded"];
|
|
2121
|
+
var _hoisted_2$55 = {
|
|
2122
2122
|
key: 1,
|
|
2123
2123
|
class: "mint-page-selector__icon-fallback"
|
|
2124
2124
|
};
|
|
2125
|
-
var _hoisted_3$
|
|
2126
|
-
var _hoisted_4$
|
|
2125
|
+
var _hoisted_3$50 = { class: "mint-page-selector__label" };
|
|
2126
|
+
var _hoisted_4$49 = {
|
|
2127
2127
|
class: "mint-page-selector__chevron-wrap",
|
|
2128
2128
|
"aria-hidden": "true"
|
|
2129
2129
|
};
|
|
2130
|
-
var _hoisted_5$
|
|
2130
|
+
var _hoisted_5$47 = {
|
|
2131
2131
|
key: 0,
|
|
2132
2132
|
class: "mint-page-selector__menu",
|
|
2133
2133
|
role: "menu"
|
|
2134
2134
|
};
|
|
2135
|
-
var _hoisted_6$
|
|
2135
|
+
var _hoisted_6$44 = {
|
|
2136
2136
|
key: 1,
|
|
2137
2137
|
class: "mint-page-selector__icon-fallback"
|
|
2138
2138
|
};
|
|
@@ -2186,9 +2186,9 @@ var AppTopBarPageSelectorInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2186
2186
|
icon: current.value.icon,
|
|
2187
2187
|
size: "sm",
|
|
2188
2188
|
variant: "tinted"
|
|
2189
|
-
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
2190
|
-
createElementVNode("span", _hoisted_3$
|
|
2191
|
-
createElementVNode("span", _hoisted_4$
|
|
2189
|
+
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_2$55, toDisplayString(current.value.label.charAt(0)), 1))])], 2)) : createCommentVNode("", true),
|
|
2190
|
+
createElementVNode("span", _hoisted_3$50, toDisplayString(current.value?.label ?? __props.placeholder), 1),
|
|
2191
|
+
createElementVNode("span", _hoisted_4$49, [(openBlock(), createElementBlock("svg", {
|
|
2192
2192
|
class: normalizeClass(["mint-page-selector__chevron", { "mint-page-selector__chevron--open": unref(isOpen) }]),
|
|
2193
2193
|
viewBox: "0 0 24 24",
|
|
2194
2194
|
fill: "none",
|
|
@@ -2197,7 +2197,7 @@ var AppTopBarPageSelectorInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2197
2197
|
"stroke-linecap": "round",
|
|
2198
2198
|
"stroke-linejoin": "round"
|
|
2199
2199
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "m6 9 6 6 6-6" }, null, -1)])], 2))])
|
|
2200
|
-
], 10, _hoisted_1$
|
|
2200
|
+
], 10, _hoisted_1$62), unref(isOpen) ? (openBlock(), createElementBlock("div", _hoisted_5$47, [_cache[2] || (_cache[2] = createElementVNode("div", { class: "mint-page-selector__menu-title" }, "Go to", -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(normalizedPages.value, (page) => {
|
|
2201
2201
|
return openBlock(), createBlock(ActionItemInternal_default, {
|
|
2202
2202
|
key: page.id,
|
|
2203
2203
|
href: page.href,
|
|
@@ -2217,7 +2217,7 @@ var AppTopBarPageSelectorInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2217
2217
|
icon: page.icon,
|
|
2218
2218
|
size: "sm",
|
|
2219
2219
|
variant: "tinted"
|
|
2220
|
-
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_6$
|
|
2220
|
+
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_6$44, toDisplayString(page.label.charAt(0)), 1))])], 2), createElementVNode("span", _hoisted_7$38, toDisplayString(page.label), 1)]),
|
|
2221
2221
|
_: 2
|
|
2222
2222
|
}, 1032, [
|
|
2223
2223
|
"href",
|
|
@@ -2232,16 +2232,16 @@ var AppTopBarPageSelectorInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2232
2232
|
});
|
|
2233
2233
|
//#endregion
|
|
2234
2234
|
//#region src/components/internal/AppTopBarPillNavInternal.vue?vue&type=script&setup=true&lang.ts
|
|
2235
|
-
var _hoisted_1$
|
|
2235
|
+
var _hoisted_1$61 = {
|
|
2236
2236
|
class: "mint-pill-nav",
|
|
2237
2237
|
"aria-label": "Primary"
|
|
2238
2238
|
};
|
|
2239
|
-
var _hoisted_2$
|
|
2239
|
+
var _hoisted_2$54 = [
|
|
2240
2240
|
"disabled",
|
|
2241
2241
|
"aria-expanded",
|
|
2242
2242
|
"onClick"
|
|
2243
2243
|
];
|
|
2244
|
-
var _hoisted_3$
|
|
2244
|
+
var _hoisted_3$49 = {
|
|
2245
2245
|
key: 0,
|
|
2246
2246
|
class: "mint-pill-nav__icon",
|
|
2247
2247
|
viewBox: "0 0 24 24",
|
|
@@ -2252,9 +2252,9 @@ var _hoisted_3$48 = {
|
|
|
2252
2252
|
"stroke-linejoin": "round",
|
|
2253
2253
|
"aria-hidden": "true"
|
|
2254
2254
|
};
|
|
2255
|
-
var _hoisted_4$
|
|
2256
|
-
var _hoisted_5$
|
|
2257
|
-
var _hoisted_6$
|
|
2255
|
+
var _hoisted_4$48 = ["d"];
|
|
2256
|
+
var _hoisted_5$46 = ["d"];
|
|
2257
|
+
var _hoisted_6$43 = {
|
|
2258
2258
|
key: 0,
|
|
2259
2259
|
class: "mint-pill-nav__icon",
|
|
2260
2260
|
viewBox: "0 0 24 24",
|
|
@@ -2332,7 +2332,7 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2332
2332
|
}
|
|
2333
2333
|
useEventListener(() => document, "click", handleClickOutside);
|
|
2334
2334
|
return (_ctx, _cache) => {
|
|
2335
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
2335
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$61, [(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedItems.value, (item) => {
|
|
2336
2336
|
return openBlock(), createElementBlock("div", {
|
|
2337
2337
|
key: item.id,
|
|
2338
2338
|
ref_for: true,
|
|
@@ -2351,15 +2351,15 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2351
2351
|
"aria-haspopup": "menu",
|
|
2352
2352
|
onClick: withModifiers(($event) => handleClick(item), ["stop"])
|
|
2353
2353
|
}, [
|
|
2354
|
-
isSvgIcon(item.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
2354
|
+
isSvgIcon(item.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$49, [Array.isArray(item.icon) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.icon, (d, index) => {
|
|
2355
2355
|
return openBlock(), createElementBlock("path", {
|
|
2356
2356
|
key: index,
|
|
2357
2357
|
d
|
|
2358
|
-
}, null, 8, _hoisted_4$
|
|
2358
|
+
}, null, 8, _hoisted_4$48);
|
|
2359
2359
|
}), 128)) : (openBlock(), createElementBlock("path", {
|
|
2360
2360
|
key: 1,
|
|
2361
2361
|
d: item.icon
|
|
2362
|
-
}, null, 8, _hoisted_5$
|
|
2362
|
+
}, null, 8, _hoisted_5$46))])) : createCommentVNode("", true),
|
|
2363
2363
|
createTextVNode(" " + toDisplayString(item.label) + " ", 1),
|
|
2364
2364
|
(openBlock(), createElementBlock("svg", {
|
|
2365
2365
|
class: normalizeClass(["mint-pill-nav__chevron", { "mint-pill-nav__chevron--open": openItemId.value === item.id }]),
|
|
@@ -2371,7 +2371,7 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2371
2371
|
"stroke-linejoin": "round",
|
|
2372
2372
|
"aria-hidden": "true"
|
|
2373
2373
|
}, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "m6 9 6 6 6-6" }, null, -1)])], 2))
|
|
2374
|
-
], 10, _hoisted_2$
|
|
2374
|
+
], 10, _hoisted_2$54)) : (openBlock(), createBlock(ActionItemInternal_default, {
|
|
2375
2375
|
key: 1,
|
|
2376
2376
|
href: item.href,
|
|
2377
2377
|
to: item.to,
|
|
@@ -2383,7 +2383,7 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2383
2383
|
]),
|
|
2384
2384
|
onClick: ($event) => handleClick(item)
|
|
2385
2385
|
}, {
|
|
2386
|
-
default: withCtx(() => [isSvgIcon(item.icon) ? (openBlock(), createElementBlock("svg", _hoisted_6$
|
|
2386
|
+
default: withCtx(() => [isSvgIcon(item.icon) ? (openBlock(), createElementBlock("svg", _hoisted_6$43, [Array.isArray(item.icon) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.icon, (d, index) => {
|
|
2387
2387
|
return openBlock(), createElementBlock("path", {
|
|
2388
2388
|
key: index,
|
|
2389
2389
|
d
|
|
@@ -2429,22 +2429,22 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2429
2429
|
});
|
|
2430
2430
|
//#endregion
|
|
2431
2431
|
//#region src/components/AppAvatarMenu.vue?vue&type=script&setup=true&lang.ts
|
|
2432
|
-
var _hoisted_1$
|
|
2433
|
-
var _hoisted_2$
|
|
2434
|
-
var _hoisted_3$
|
|
2432
|
+
var _hoisted_1$60 = ["aria-expanded", "title"];
|
|
2433
|
+
var _hoisted_2$53 = { class: "mint-avatar-menu__avatar" };
|
|
2434
|
+
var _hoisted_3$48 = {
|
|
2435
2435
|
key: 0,
|
|
2436
2436
|
class: "mint-avatar-menu__name"
|
|
2437
2437
|
};
|
|
2438
|
-
var _hoisted_4$
|
|
2438
|
+
var _hoisted_4$47 = {
|
|
2439
2439
|
key: 0,
|
|
2440
2440
|
class: "mint-avatar-menu__panel",
|
|
2441
2441
|
role: "menu"
|
|
2442
2442
|
};
|
|
2443
|
-
var _hoisted_5$
|
|
2443
|
+
var _hoisted_5$45 = {
|
|
2444
2444
|
key: 0,
|
|
2445
2445
|
class: "mint-avatar-menu__header"
|
|
2446
2446
|
};
|
|
2447
|
-
var _hoisted_6$
|
|
2447
|
+
var _hoisted_6$42 = {
|
|
2448
2448
|
key: 0,
|
|
2449
2449
|
class: "mint-avatar-menu__user-name"
|
|
2450
2450
|
};
|
|
@@ -2532,8 +2532,8 @@ var AppAvatarMenu_default = /* @__PURE__ */ defineComponent({
|
|
|
2532
2532
|
"aria-haspopup": "menu",
|
|
2533
2533
|
title: __props.userName ? `${__props.userName} · Account menu` : "Account menu",
|
|
2534
2534
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => unref(toggle) && unref(toggle)(...args), ["stop"]))
|
|
2535
|
-
}, [createElementVNode("span", _hoisted_2$
|
|
2536
|
-
__props.userName || __props.userEmail ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2535
|
+
}, [createElementVNode("span", _hoisted_2$53, [renderSlot(_ctx.$slots, "avatar", { initials: initials.value }, () => [createTextVNode(toDisplayString(initials.value), 1)])]), __props.userName ? (openBlock(), createElementBlock("span", _hoisted_3$48, toDisplayString(__props.userName), 1)) : createCommentVNode("", true)], 10, _hoisted_1$60), unref(isOpen) ? (openBlock(), createElementBlock("div", _hoisted_4$47, [
|
|
2536
|
+
__props.userName || __props.userEmail ? (openBlock(), createElementBlock("div", _hoisted_5$45, [__props.userName ? (openBlock(), createElementBlock("div", _hoisted_6$42, toDisplayString(__props.userName), 1)) : createCommentVNode("", true), __props.userEmail ? (openBlock(), createElementBlock("div", _hoisted_7$36, toDisplayString(__props.userEmail), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
2537
2537
|
renderSlot(_ctx.$slots, "items", { close: closeSilently }, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
2538
2538
|
return openBlock(), createElementBlock(Fragment, { key: item.id }, [item.divider ? (openBlock(), createElementBlock("div", _hoisted_8$33)) : (openBlock(), createBlock(ActionItemInternal_default, {
|
|
2539
2539
|
key: 1,
|
|
@@ -2571,22 +2571,22 @@ var AppAvatarMenu_default = /* @__PURE__ */ defineComponent({
|
|
|
2571
2571
|
});
|
|
2572
2572
|
//#endregion
|
|
2573
2573
|
//#region src/components/AppPluginSwitcher.vue?vue&type=script&setup=true&lang.ts
|
|
2574
|
-
var _hoisted_1$
|
|
2575
|
-
var _hoisted_2$
|
|
2576
|
-
var _hoisted_3$
|
|
2574
|
+
var _hoisted_1$59 = ["aria-expanded"];
|
|
2575
|
+
var _hoisted_2$52 = { class: "mint-plugin-switcher__label" };
|
|
2576
|
+
var _hoisted_3$47 = {
|
|
2577
2577
|
key: 0,
|
|
2578
2578
|
class: "mint-plugin-switcher__version"
|
|
2579
2579
|
};
|
|
2580
|
-
var _hoisted_4$
|
|
2580
|
+
var _hoisted_4$46 = {
|
|
2581
2581
|
class: "mint-plugin-switcher__chevron-wrap",
|
|
2582
2582
|
"aria-hidden": "true"
|
|
2583
2583
|
};
|
|
2584
|
-
var _hoisted_5$
|
|
2584
|
+
var _hoisted_5$44 = {
|
|
2585
2585
|
key: 0,
|
|
2586
2586
|
class: "mint-plugin-switcher__menu",
|
|
2587
2587
|
role: "menu"
|
|
2588
2588
|
};
|
|
2589
|
-
var _hoisted_6$
|
|
2589
|
+
var _hoisted_6$41 = { class: "mint-plugin-switcher__item-label" };
|
|
2590
2590
|
var _hoisted_7$35 = {
|
|
2591
2591
|
key: 0,
|
|
2592
2592
|
class: "mint-plugin-switcher__item-version"
|
|
@@ -2651,9 +2651,9 @@ var AppPluginSwitcher_default = /* @__PURE__ */ defineComponent({
|
|
|
2651
2651
|
"aria-haspopup": "menu",
|
|
2652
2652
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => unref(toggle) && unref(toggle)(...args), ["stop"]))
|
|
2653
2653
|
}, [
|
|
2654
|
-
createElementVNode("span", _hoisted_2$
|
|
2655
|
-
__props.current.version ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
2656
|
-
createElementVNode("span", _hoisted_4$
|
|
2654
|
+
createElementVNode("span", _hoisted_2$52, toDisplayString(__props.current.label), 1),
|
|
2655
|
+
__props.current.version ? (openBlock(), createElementBlock("span", _hoisted_3$47, "v" + toDisplayString(__props.current.version), 1)) : createCommentVNode("", true),
|
|
2656
|
+
createElementVNode("span", _hoisted_4$46, [(openBlock(), createElementBlock("svg", {
|
|
2657
2657
|
class: normalizeClass(["mint-plugin-switcher__chevron", { "mint-plugin-switcher__chevron--open": unref(isOpen) }]),
|
|
2658
2658
|
viewBox: "0 0 24 24",
|
|
2659
2659
|
fill: "none",
|
|
@@ -2662,7 +2662,7 @@ var AppPluginSwitcher_default = /* @__PURE__ */ defineComponent({
|
|
|
2662
2662
|
"stroke-linecap": "round",
|
|
2663
2663
|
"stroke-linejoin": "round"
|
|
2664
2664
|
}, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "m6 9 6 6 6-6" }, null, -1)])], 2))])
|
|
2665
|
-
], 10, _hoisted_1$
|
|
2665
|
+
], 10, _hoisted_1$59), unref(isOpen) ? (openBlock(), createElementBlock("div", _hoisted_5$44, [
|
|
2666
2666
|
_cache[4] || (_cache[4] = createElementVNode("div", { class: "mint-plugin-switcher__menu-title" }, "Switch plugin", -1)),
|
|
2667
2667
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.plugins, (plugin) => {
|
|
2668
2668
|
return openBlock(), createBlock(ActionItemInternal_default, {
|
|
@@ -2678,7 +2678,7 @@ var AppPluginSwitcher_default = /* @__PURE__ */ defineComponent({
|
|
|
2678
2678
|
class: "mint-plugin-switcher__item-swatch",
|
|
2679
2679
|
style: normalizeStyle({ background: plugin.color ?? "var(--color-primary)" })
|
|
2680
2680
|
}, toDisplayString(initialsOf(plugin)), 5),
|
|
2681
|
-
createElementVNode("span", _hoisted_6$
|
|
2681
|
+
createElementVNode("span", _hoisted_6$41, toDisplayString(plugin.label), 1),
|
|
2682
2682
|
plugin.version ? (openBlock(), createElementBlock("span", _hoisted_7$35, "v" + toDisplayString(plugin.version), 1)) : createCommentVNode("", true),
|
|
2683
2683
|
plugin.id === __props.current.id ? (openBlock(), createElementBlock("svg", _hoisted_8$32, [..._cache[2] || (_cache[2] = [createElementVNode("path", { d: "M5 13l4 4L19 7" }, null, -1)])])) : createCommentVNode("", true)
|
|
2684
2684
|
]),
|
|
@@ -2759,18 +2759,18 @@ function currentItemIdFromLocation(pages, pathname, routePrefix) {
|
|
|
2759
2759
|
}
|
|
2760
2760
|
//#endregion
|
|
2761
2761
|
//#region src/components/AppTopBar.vue?vue&type=script&setup=true&lang.ts
|
|
2762
|
-
var _hoisted_1$
|
|
2763
|
-
var _hoisted_2$
|
|
2764
|
-
var _hoisted_3$
|
|
2765
|
-
var _hoisted_4$
|
|
2762
|
+
var _hoisted_1$58 = { class: "mint-topbar__container" };
|
|
2763
|
+
var _hoisted_2$51 = { class: "mint-topbar__brand" };
|
|
2764
|
+
var _hoisted_3$46 = ["href"];
|
|
2765
|
+
var _hoisted_4$45 = {
|
|
2766
2766
|
key: 0,
|
|
2767
2767
|
class: "mint-topbar__logo"
|
|
2768
2768
|
};
|
|
2769
|
-
var _hoisted_5$
|
|
2769
|
+
var _hoisted_5$43 = {
|
|
2770
2770
|
key: 0,
|
|
2771
2771
|
class: "mint-topbar__logo"
|
|
2772
2772
|
};
|
|
2773
|
-
var _hoisted_6$
|
|
2773
|
+
var _hoisted_6$40 = {
|
|
2774
2774
|
key: 0,
|
|
2775
2775
|
class: "mint-topbar__logo"
|
|
2776
2776
|
};
|
|
@@ -2912,8 +2912,8 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
2912
2912
|
return (_ctx, _cache) => {
|
|
2913
2913
|
const _component_router_link = resolveComponent("router-link");
|
|
2914
2914
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
2915
|
-
createElementVNode("header", { class: normalizeClass(["mint-topbar", `mint-topbar--${props.variant}`]) }, [createElementVNode("div", _hoisted_1$
|
|
2916
|
-
createElementVNode("div", _hoisted_2$
|
|
2915
|
+
createElementVNode("header", { class: normalizeClass(["mint-topbar", `mint-topbar--${props.variant}`]) }, [createElementVNode("div", _hoisted_1$58, [
|
|
2916
|
+
createElementVNode("div", _hoisted_2$51, [__props.homePath && (__props.homePath.startsWith("http") || __props.homePath.startsWith("/")) ? (openBlock(), createElementBlock("a", {
|
|
2917
2917
|
key: 0,
|
|
2918
2918
|
href: __props.homePath,
|
|
2919
2919
|
class: "mint-topbar-home-link"
|
|
@@ -2924,7 +2924,7 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
2924
2924
|
tone: pluginIcon.value.color,
|
|
2925
2925
|
size: "md",
|
|
2926
2926
|
variant: "solid"
|
|
2927
|
-
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
2927
|
+
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_4$45, [..._cache[19] || (_cache[19] = [createElementVNode("div", { class: "mint-topbar__logo-icon" }, [createElementVNode("span", { class: "mint-topbar__logo-text" }, "M")], -1)])])) : createCommentVNode("", true)])])], 8, _hoisted_3$46)) : __props.homePath ? (openBlock(), createBlock(_component_router_link, {
|
|
2928
2928
|
key: 1,
|
|
2929
2929
|
to: __props.homePath,
|
|
2930
2930
|
class: "mint-topbar-home-link"
|
|
@@ -2936,7 +2936,7 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
2936
2936
|
tone: pluginIcon.value.color,
|
|
2937
2937
|
size: "md",
|
|
2938
2938
|
variant: "solid"
|
|
2939
|
-
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
2939
|
+
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_5$43, [..._cache[20] || (_cache[20] = [createElementVNode("div", { class: "mint-topbar__logo-icon" }, [createElementVNode("span", { class: "mint-topbar__logo-text" }, "M")], -1)])])) : createCommentVNode("", true)])])]),
|
|
2940
2940
|
_: 3
|
|
2941
2941
|
}, 8, ["to"])) : renderSlot(_ctx.$slots, "icon", { key: 2 }, () => [pluginIcon.value ? (openBlock(), createBlock(PluginIcon_default, {
|
|
2942
2942
|
key: 0,
|
|
@@ -2945,7 +2945,7 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
2945
2945
|
tone: pluginIcon.value.color,
|
|
2946
2946
|
size: "md",
|
|
2947
2947
|
variant: "solid"
|
|
2948
|
-
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
2948
|
+
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_6$40, [..._cache[21] || (_cache[21] = [createElementVNode("div", { class: "mint-topbar__logo-icon" }, [createElementVNode("span", { class: "mint-topbar__logo-text" }, "M")], -1)])])) : createCommentVNode("", true)])])]),
|
|
2949
2949
|
hasPluginSwitcher.value && __props.pluginSwitcher ? (openBlock(), createBlock(AppPluginSwitcher_default, {
|
|
2950
2950
|
key: 0,
|
|
2951
2951
|
current: __props.pluginSwitcher.current,
|
|
@@ -3128,14 +3128,14 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
3128
3128
|
});
|
|
3129
3129
|
//#endregion
|
|
3130
3130
|
//#region src/components/StepWizard.vue?vue&type=script&setup=true&lang.ts
|
|
3131
|
-
var _hoisted_1$
|
|
3131
|
+
var _hoisted_1$57 = {
|
|
3132
3132
|
key: 0,
|
|
3133
3133
|
class: "mint-wizard__progress"
|
|
3134
3134
|
};
|
|
3135
|
-
var _hoisted_2$
|
|
3136
|
-
var _hoisted_3$
|
|
3137
|
-
var _hoisted_4$
|
|
3138
|
-
var _hoisted_5$
|
|
3135
|
+
var _hoisted_2$50 = { class: "mint-wizard__steps-indicator" };
|
|
3136
|
+
var _hoisted_3$45 = ["onClick"];
|
|
3137
|
+
var _hoisted_4$44 = { class: "mint-wizard__step-dot" };
|
|
3138
|
+
var _hoisted_5$42 = {
|
|
3139
3139
|
key: 0,
|
|
3140
3140
|
width: "12",
|
|
3141
3141
|
height: "12",
|
|
@@ -3146,7 +3146,7 @@ var _hoisted_5$41 = {
|
|
|
3146
3146
|
"stroke-linecap": "round",
|
|
3147
3147
|
"stroke-linejoin": "round"
|
|
3148
3148
|
};
|
|
3149
|
-
var _hoisted_6$
|
|
3149
|
+
var _hoisted_6$39 = { class: "mint-wizard__step-label" };
|
|
3150
3150
|
var _hoisted_7$33 = { class: "mint-wizard__body" };
|
|
3151
3151
|
var _hoisted_8$30 = { class: "mint-wizard__navigation" };
|
|
3152
3152
|
var _hoisted_9$28 = ["disabled"];
|
|
@@ -3244,18 +3244,18 @@ var StepWizard_default = /* @__PURE__ */ defineComponent({
|
|
|
3244
3244
|
tabindex: "0",
|
|
3245
3245
|
onKeydown: handleKeydown
|
|
3246
3246
|
}, [
|
|
3247
|
-
props.showProgress ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3247
|
+
props.showProgress ? (openBlock(), createElementBlock("div", _hoisted_1$57, [renderSlot(_ctx.$slots, "progress", {
|
|
3248
3248
|
steps: props.steps,
|
|
3249
3249
|
current: props.modelValue,
|
|
3250
3250
|
states: stepStates.value
|
|
3251
|
-
}, () => [createElementVNode("div", _hoisted_2$
|
|
3251
|
+
}, () => [createElementVNode("div", _hoisted_2$50, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.steps, (step, index) => {
|
|
3252
3252
|
return openBlock(), createElementBlock(Fragment, { key: step.id }, [index > 0 ? (openBlock(), createElementBlock("div", {
|
|
3253
3253
|
key: 0,
|
|
3254
3254
|
class: normalizeClass(["mint-wizard__step-connector", stepStates.value[index - 1] === "completed" ? "mint-wizard__step-connector--completed" : ""])
|
|
3255
3255
|
}, null, 2)) : createCommentVNode("", true), createElementVNode("div", {
|
|
3256
3256
|
class: normalizeClass(["mint-wizard__step-indicator", `mint-wizard__step-indicator--${stepStates.value[index]}`]),
|
|
3257
3257
|
onClick: ($event) => goToStep(index)
|
|
3258
|
-
}, [createElementVNode("div", _hoisted_4$
|
|
3258
|
+
}, [createElementVNode("div", _hoisted_4$44, [stepStates.value[index] === "completed" ? (openBlock(), createElementBlock("svg", _hoisted_5$42, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M20 6 9 17l-5-5" }, null, -1)])])) : props.showStepNumbers ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(index + 1), 1)], 64)) : createCommentVNode("", true)]), createElementVNode("div", _hoisted_6$39, toDisplayString(step.label), 1)], 10, _hoisted_3$45)], 64);
|
|
3259
3259
|
}), 128))])])])) : createCommentVNode("", true),
|
|
3260
3260
|
createElementVNode("div", _hoisted_7$33, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.steps, (step, index) => {
|
|
3261
3261
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -3307,23 +3307,23 @@ var StepWizard_default = /* @__PURE__ */ defineComponent({
|
|
|
3307
3307
|
});
|
|
3308
3308
|
//#endregion
|
|
3309
3309
|
//#region src/components/internal/FormSectionRenderer.vue?vue&type=script&setup=true&lang.ts
|
|
3310
|
-
var _hoisted_1$
|
|
3310
|
+
var _hoisted_1$56 = {
|
|
3311
3311
|
key: 0,
|
|
3312
3312
|
class: "mint-form-section"
|
|
3313
3313
|
};
|
|
3314
|
-
var _hoisted_2$
|
|
3314
|
+
var _hoisted_2$49 = {
|
|
3315
3315
|
key: 1,
|
|
3316
3316
|
class: "mint-form-section--static"
|
|
3317
3317
|
};
|
|
3318
|
-
var _hoisted_3$
|
|
3318
|
+
var _hoisted_3$44 = {
|
|
3319
3319
|
key: 0,
|
|
3320
3320
|
class: "mint-form-section__header"
|
|
3321
3321
|
};
|
|
3322
|
-
var _hoisted_4$
|
|
3322
|
+
var _hoisted_4$43 = {
|
|
3323
3323
|
key: 0,
|
|
3324
3324
|
class: "mint-form-section__title"
|
|
3325
3325
|
};
|
|
3326
|
-
var _hoisted_5$
|
|
3326
|
+
var _hoisted_5$41 = {
|
|
3327
3327
|
key: 1,
|
|
3328
3328
|
class: "mint-form-section__description"
|
|
3329
3329
|
};
|
|
@@ -3340,7 +3340,7 @@ var FormSectionRenderer_default = /* @__PURE__ */ defineComponent({
|
|
|
3340
3340
|
const visibleFields = computed(() => props.section.fields.filter((f) => props.builder.isFieldVisible(f.name)));
|
|
3341
3341
|
const gridStyle = computed(() => ({ gridTemplateColumns: `repeat(${props.section.columns ?? 1}, 1fr)` }));
|
|
3342
3342
|
return (_ctx, _cache) => {
|
|
3343
|
-
return visibleFields.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3343
|
+
return visibleFields.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$56, [renderSlot(_ctx.$slots, `section:${__props.section.id}`, {
|
|
3344
3344
|
section: __props.section,
|
|
3345
3345
|
form: __props.builder.form
|
|
3346
3346
|
}, () => [__props.section.collapsible ? (openBlock(), createBlock(CollapsibleCard_default, {
|
|
@@ -3375,7 +3375,7 @@ var FormSectionRenderer_default = /* @__PURE__ */ defineComponent({
|
|
|
3375
3375
|
"title",
|
|
3376
3376
|
"subtitle",
|
|
3377
3377
|
"default-open"
|
|
3378
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
3378
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$49, [__props.section.title || __props.section.description ? (openBlock(), createElementBlock("div", _hoisted_3$44, [__props.section.title ? (openBlock(), createElementBlock("h3", _hoisted_4$43, toDisplayString(__props.section.title), 1)) : createCommentVNode("", true), __props.section.description ? (openBlock(), createElementBlock("p", _hoisted_5$41, toDisplayString(__props.section.description), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), createElementVNode("div", {
|
|
3379
3379
|
class: "mint-form-section__grid",
|
|
3380
3380
|
style: normalizeStyle(gridStyle.value)
|
|
3381
3381
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(visibleFields.value, (field) => {
|
|
@@ -3401,7 +3401,7 @@ var FormSectionRenderer_default = /* @__PURE__ */ defineComponent({
|
|
|
3401
3401
|
});
|
|
3402
3402
|
//#endregion
|
|
3403
3403
|
//#region src/components/FormActions.vue?vue&type=script&setup=true&lang.ts
|
|
3404
|
-
var _hoisted_1$
|
|
3404
|
+
var _hoisted_1$55 = { class: "mint-form-actions" };
|
|
3405
3405
|
//#endregion
|
|
3406
3406
|
//#region src/components/FormActions.vue
|
|
3407
3407
|
var FormActions_default = /* @__PURE__ */ defineComponent({
|
|
@@ -3458,7 +3458,7 @@ var FormActions_default = /* @__PURE__ */ defineComponent({
|
|
|
3458
3458
|
*/
|
|
3459
3459
|
const emit = __emit;
|
|
3460
3460
|
return (_ctx, _cache) => {
|
|
3461
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
3461
|
+
return openBlock(), createElementBlock("div", _hoisted_1$55, [
|
|
3462
3462
|
__props.showCancel ? (openBlock(), createBlock(BaseButton_default, {
|
|
3463
3463
|
key: 0,
|
|
3464
3464
|
variant: "ghost",
|
|
@@ -3503,7 +3503,7 @@ var FormActions_default = /* @__PURE__ */ defineComponent({
|
|
|
3503
3503
|
});
|
|
3504
3504
|
//#endregion
|
|
3505
3505
|
//#region src/components/FormBuilder.vue?vue&type=script&setup=true&lang.ts
|
|
3506
|
-
var _hoisted_1$
|
|
3506
|
+
var _hoisted_1$54 = { class: "mint-form-builder__step" };
|
|
3507
3507
|
//#endregion
|
|
3508
3508
|
//#region src/components/FormBuilder.vue
|
|
3509
3509
|
var FormBuilder_default = /* @__PURE__ */ defineComponent({
|
|
@@ -3647,7 +3647,7 @@ var FormBuilder_default = /* @__PURE__ */ defineComponent({
|
|
|
3647
3647
|
}, createSlots({ _: 2 }, [renderList(resolvedSchema.value.steps, (step) => {
|
|
3648
3648
|
return {
|
|
3649
3649
|
name: `step-${step.id}`,
|
|
3650
|
-
fn: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
3650
|
+
fn: withCtx(() => [createElementVNode("div", _hoisted_1$54, [(openBlock(true), createElementBlock(Fragment, null, renderList(step.sections, (section) => {
|
|
3651
3651
|
return openBlock(), createElementBlock(Fragment, { key: section.id }, [unref(builder).isSectionVisible(section.id) ? (openBlock(), createBlock(FormSectionRenderer_default, {
|
|
3652
3652
|
key: 0,
|
|
3653
3653
|
section,
|
|
@@ -3734,24 +3734,24 @@ var FormBuilder_default = /* @__PURE__ */ defineComponent({
|
|
|
3734
3734
|
});
|
|
3735
3735
|
//#endregion
|
|
3736
3736
|
//#region src/components/AppSidebar.vue?vue&type=script&setup=true&lang.ts
|
|
3737
|
-
var _hoisted_1$
|
|
3737
|
+
var _hoisted_1$53 = {
|
|
3738
3738
|
key: 0,
|
|
3739
3739
|
class: "mint-sidebar__header"
|
|
3740
3740
|
};
|
|
3741
|
-
var _hoisted_2$
|
|
3741
|
+
var _hoisted_2$48 = {
|
|
3742
3742
|
key: 0,
|
|
3743
3743
|
class: "mint-sidebar__heading"
|
|
3744
3744
|
};
|
|
3745
|
-
var _hoisted_3$
|
|
3746
|
-
var _hoisted_4$
|
|
3745
|
+
var _hoisted_3$43 = { class: "mint-sidebar__heading-copy" };
|
|
3746
|
+
var _hoisted_4$42 = {
|
|
3747
3747
|
key: 0,
|
|
3748
3748
|
class: "mint-sidebar__title"
|
|
3749
3749
|
};
|
|
3750
|
-
var _hoisted_5$
|
|
3750
|
+
var _hoisted_5$40 = {
|
|
3751
3751
|
key: 1,
|
|
3752
3752
|
class: "mint-sidebar__subtitle"
|
|
3753
3753
|
};
|
|
3754
|
-
var _hoisted_6$
|
|
3754
|
+
var _hoisted_6$38 = {
|
|
3755
3755
|
key: 0,
|
|
3756
3756
|
class: "mint-sidebar__badge"
|
|
3757
3757
|
};
|
|
@@ -4021,10 +4021,10 @@ var AppSidebar_default = /* @__PURE__ */ defineComponent({
|
|
|
4021
4021
|
class: normalizeClass(sidebarClasses.value),
|
|
4022
4022
|
style: normalizeStyle(sidebarStyle.value)
|
|
4023
4023
|
}, [
|
|
4024
|
-
_ctx.$slots.header || __props.title || __props.subtitle || __props.badge !== void 0 || resolvedCollapsible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4024
|
+
_ctx.$slots.header || __props.title || __props.subtitle || __props.badge !== void 0 || resolvedCollapsible.value ? (openBlock(), createElementBlock("div", _hoisted_1$53, [renderSlot(_ctx.$slots, "header", {
|
|
4025
4025
|
collapsed: collapsedModel.value,
|
|
4026
4026
|
toggleCollapsed
|
|
4027
|
-
}, () => [!collapsedModel.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4027
|
+
}, () => [!collapsedModel.value ? (openBlock(), createElementBlock("div", _hoisted_2$48, [createElementVNode("div", _hoisted_3$43, [__props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$42, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$40, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)]), __props.badge !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_6$38, toDisplayString(__props.badge), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), resolvedCollapsible.value ? (openBlock(), createElementBlock("button", {
|
|
4028
4028
|
key: 1,
|
|
4029
4029
|
type: "button",
|
|
4030
4030
|
class: "mint-sidebar__collapse-button",
|
|
@@ -4143,13 +4143,13 @@ var AppSidebar_default = /* @__PURE__ */ defineComponent({
|
|
|
4143
4143
|
});
|
|
4144
4144
|
//#endregion
|
|
4145
4145
|
//#region src/components/AppLayout.vue?vue&type=script&setup=true&lang.ts
|
|
4146
|
-
var _hoisted_1$
|
|
4146
|
+
var _hoisted_1$52 = {
|
|
4147
4147
|
key: 0,
|
|
4148
4148
|
class: "mint-layout__topbar"
|
|
4149
4149
|
};
|
|
4150
|
-
var _hoisted_2$
|
|
4151
|
-
var _hoisted_3$
|
|
4152
|
-
var _hoisted_4$
|
|
4150
|
+
var _hoisted_2$47 = { class: "mint-layout__body" };
|
|
4151
|
+
var _hoisted_3$42 = ["aria-label", "aria-expanded"];
|
|
4152
|
+
var _hoisted_4$41 = {
|
|
4153
4153
|
key: 0,
|
|
4154
4154
|
class: "mint-layout__sidebar-toggle-icon",
|
|
4155
4155
|
viewBox: "0 0 24 24",
|
|
@@ -4160,7 +4160,7 @@ var _hoisted_4$40 = {
|
|
|
4160
4160
|
"stroke-linejoin": "round",
|
|
4161
4161
|
"aria-hidden": "true"
|
|
4162
4162
|
};
|
|
4163
|
-
var _hoisted_5$
|
|
4163
|
+
var _hoisted_5$39 = {
|
|
4164
4164
|
key: 1,
|
|
4165
4165
|
class: "mint-layout__sidebar-toggle-icon",
|
|
4166
4166
|
viewBox: "0 0 24 24",
|
|
@@ -4171,7 +4171,7 @@ var _hoisted_5$38 = {
|
|
|
4171
4171
|
"stroke-linejoin": "round",
|
|
4172
4172
|
"aria-hidden": "true"
|
|
4173
4173
|
};
|
|
4174
|
-
var _hoisted_6$
|
|
4174
|
+
var _hoisted_6$37 = { class: "mint-layout__main" };
|
|
4175
4175
|
//#endregion
|
|
4176
4176
|
//#region src/components/AppLayout.vue
|
|
4177
4177
|
var AppLayout_default = /* @__PURE__ */ defineComponent({
|
|
@@ -4249,7 +4249,7 @@ var AppLayout_default = /* @__PURE__ */ defineComponent({
|
|
|
4249
4249
|
sidebarOpenModel.value = false;
|
|
4250
4250
|
}
|
|
4251
4251
|
return (_ctx, _cache) => {
|
|
4252
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(layoutClasses.value) }, [_ctx.$slots.topbar ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4252
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(layoutClasses.value) }, [_ctx.$slots.topbar ? (openBlock(), createElementBlock("div", _hoisted_1$52, [renderSlot(_ctx.$slots, "topbar")])) : createCommentVNode("", true), createElementVNode("div", _hoisted_2$47, [
|
|
4253
4253
|
__props.responsiveSidebar && _ctx.$slots.sidebar ? (openBlock(), createElementBlock("button", {
|
|
4254
4254
|
key: 0,
|
|
4255
4255
|
type: "button",
|
|
@@ -4257,7 +4257,7 @@ var AppLayout_default = /* @__PURE__ */ defineComponent({
|
|
|
4257
4257
|
"aria-label": sidebarOpenModel.value ? __props.sidebarCloseLabel : __props.sidebarToggleLabel,
|
|
4258
4258
|
"aria-expanded": sidebarOpenModel.value,
|
|
4259
4259
|
onClick: toggleSidebar
|
|
4260
|
-
}, [!sidebarOpenModel.value ? (openBlock(), createElementBlock("svg", _hoisted_4$
|
|
4260
|
+
}, [!sidebarOpenModel.value ? (openBlock(), createElementBlock("svg", _hoisted_4$41, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M4 6h16M4 12h16M4 18h16" }, null, -1)])])) : (openBlock(), createElementBlock("svg", _hoisted_5$39, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "M6 18 18 6M6 6l12 12" }, null, -1)])]))], 8, _hoisted_3$42)) : createCommentVNode("", true),
|
|
4261
4261
|
__props.responsiveSidebar && _ctx.$slots.sidebar && sidebarOpenModel.value ? (openBlock(), createElementBlock("div", {
|
|
4262
4262
|
key: 1,
|
|
4263
4263
|
class: "mint-layout__sidebar-backdrop",
|
|
@@ -4268,18 +4268,18 @@ var AppLayout_default = /* @__PURE__ */ defineComponent({
|
|
|
4268
4268
|
class: "mint-layout__sidebar",
|
|
4269
4269
|
style: normalizeStyle(sidebarStyle.value)
|
|
4270
4270
|
}, [renderSlot(_ctx.$slots, "sidebar")], 4)) : createCommentVNode("", true),
|
|
4271
|
-
createElementVNode("main", _hoisted_6$
|
|
4271
|
+
createElementVNode("main", _hoisted_6$37, [renderSlot(_ctx.$slots, "default")])
|
|
4272
4272
|
])], 2);
|
|
4273
4273
|
};
|
|
4274
4274
|
}
|
|
4275
4275
|
});
|
|
4276
4276
|
//#endregion
|
|
4277
4277
|
//#region src/components/MobileSupportGate.vue?vue&type=script&setup=true&lang.ts
|
|
4278
|
-
var _hoisted_1$
|
|
4279
|
-
var _hoisted_2$
|
|
4280
|
-
var _hoisted_3$
|
|
4281
|
-
var _hoisted_4$
|
|
4282
|
-
var _hoisted_5$
|
|
4278
|
+
var _hoisted_1$51 = { class: "mint-mobile-support-gate__panel" };
|
|
4279
|
+
var _hoisted_2$46 = { class: "mint-mobile-support-gate__copy" };
|
|
4280
|
+
var _hoisted_3$41 = { class: "mint-mobile-support-gate__eyebrow" };
|
|
4281
|
+
var _hoisted_4$40 = { class: "mint-mobile-support-gate__message" };
|
|
4282
|
+
var _hoisted_5$38 = { class: "mint-mobile-support-gate__hint" };
|
|
4283
4283
|
var nextMobileSupportGateTitleId = 0;
|
|
4284
4284
|
//#endregion
|
|
4285
4285
|
//#region src/components/MobileSupportGate.vue
|
|
@@ -4313,17 +4313,17 @@ var MobileSupportGate_default = /* @__PURE__ */ defineComponent({
|
|
|
4313
4313
|
}, [renderSlot(_ctx.$slots, "unsupported", {
|
|
4314
4314
|
isMobileViewport: unref(isMobileViewport),
|
|
4315
4315
|
isSupported: unref(isSupported)
|
|
4316
|
-
}, () => [createElementVNode("section", _hoisted_1$
|
|
4316
|
+
}, () => [createElementVNode("section", _hoisted_1$51, [
|
|
4317
4317
|
_cache[1] || (_cache[1] = createStaticVNode("<div class=\"mint-mobile-support-gate__mark\" aria-hidden=\"true\"><svg class=\"mint-mobile-support-gate__icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"4\" width=\"18\" height=\"12\" rx=\"2\"></rect><path d=\"M8 20h8\"></path><path d=\"M12 16v4\"></path></svg></div>", 1)),
|
|
4318
|
-
createElementVNode("div", _hoisted_2$
|
|
4319
|
-
createElementVNode("p", _hoisted_3$
|
|
4318
|
+
createElementVNode("div", _hoisted_2$46, [
|
|
4319
|
+
createElementVNode("p", _hoisted_3$41, toDisplayString(__props.appName), 1),
|
|
4320
4320
|
createElementVNode("h1", {
|
|
4321
4321
|
id: titleId,
|
|
4322
4322
|
class: "mint-mobile-support-gate__title"
|
|
4323
4323
|
}, toDisplayString(__props.title), 1),
|
|
4324
|
-
createElementVNode("p", _hoisted_4$
|
|
4324
|
+
createElementVNode("p", _hoisted_4$40, toDisplayString(__props.message), 1)
|
|
4325
4325
|
]),
|
|
4326
|
-
createElementVNode("div", _hoisted_5$
|
|
4326
|
+
createElementVNode("div", _hoisted_5$38, [_cache[0] || (_cache[0] = createElementVNode("svg", {
|
|
4327
4327
|
class: "mint-mobile-support-gate__hint-icon",
|
|
4328
4328
|
viewBox: "0 0 24 24",
|
|
4329
4329
|
fill: "none",
|
|
@@ -5017,7 +5017,7 @@ function humanize(value) {
|
|
|
5017
5017
|
}
|
|
5018
5018
|
//#endregion
|
|
5019
5019
|
//#region src/components/LoadingSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
5020
|
-
var _hoisted_1$
|
|
5020
|
+
var _hoisted_1$50 = { class: "mint-spinner__label" };
|
|
5021
5021
|
//#endregion
|
|
5022
5022
|
//#region src/components/LoadingSpinner.vue
|
|
5023
5023
|
var LoadingSpinner_default = /* @__PURE__ */ defineComponent({
|
|
@@ -5052,30 +5052,30 @@ var LoadingSpinner_default = /* @__PURE__ */ defineComponent({
|
|
|
5052
5052
|
style: { "opacity": "0.75" },
|
|
5053
5053
|
fill: "currentColor",
|
|
5054
5054
|
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
5055
|
-
})], -1)), createElementVNode("span", _hoisted_1$
|
|
5055
|
+
})], -1)), createElementVNode("span", _hoisted_1$50, toDisplayString(__props.label), 1)], 2);
|
|
5056
5056
|
};
|
|
5057
5057
|
}
|
|
5058
5058
|
});
|
|
5059
5059
|
//#endregion
|
|
5060
5060
|
//#region src/components/ChartContainer.vue?vue&type=script&setup=true&lang.ts
|
|
5061
|
-
var _hoisted_1$
|
|
5062
|
-
var _hoisted_2$
|
|
5061
|
+
var _hoisted_1$49 = { class: "mint-chart" };
|
|
5062
|
+
var _hoisted_2$45 = {
|
|
5063
5063
|
key: 0,
|
|
5064
5064
|
class: "mint-chart__header"
|
|
5065
5065
|
};
|
|
5066
|
-
var _hoisted_3$
|
|
5066
|
+
var _hoisted_3$40 = {
|
|
5067
5067
|
key: 0,
|
|
5068
5068
|
class: "mint-chart__header-text"
|
|
5069
5069
|
};
|
|
5070
|
-
var _hoisted_4$
|
|
5070
|
+
var _hoisted_4$39 = {
|
|
5071
5071
|
key: 0,
|
|
5072
5072
|
class: "mint-chart__title"
|
|
5073
5073
|
};
|
|
5074
|
-
var _hoisted_5$
|
|
5074
|
+
var _hoisted_5$37 = {
|
|
5075
5075
|
key: 1,
|
|
5076
5076
|
class: "mint-chart__description"
|
|
5077
5077
|
};
|
|
5078
|
-
var _hoisted_6$
|
|
5078
|
+
var _hoisted_6$36 = {
|
|
5079
5079
|
key: 1,
|
|
5080
5080
|
class: "mint-chart__toolbar"
|
|
5081
5081
|
};
|
|
@@ -5108,8 +5108,8 @@ var ChartContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
5108
5108
|
setup(__props) {
|
|
5109
5109
|
/** Wraps a chart with header, toolbar slot, loading overlay, empty state, and legend slot. */
|
|
5110
5110
|
return (_ctx, _cache) => {
|
|
5111
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5112
|
-
__props.title || __props.description || _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5111
|
+
return openBlock(), createElementBlock("div", _hoisted_1$49, [
|
|
5112
|
+
__props.title || __props.description || _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_2$45, [__props.title || __props.description ? (openBlock(), createElementBlock("div", _hoisted_3$40, [__props.title ? (openBlock(), createElementBlock("h3", _hoisted_4$39, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.description ? (openBlock(), createElementBlock("p", _hoisted_5$37, toDisplayString(__props.description), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_6$36, [renderSlot(_ctx.$slots, "toolbar")])) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
5113
5113
|
createElementVNode("div", _hoisted_7$31, [__props.loading ? (openBlock(), createElementBlock("div", _hoisted_8$28, [createVNode(LoadingSpinner_default, { size: "lg" })])) : __props.empty ? renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [createVNode(EmptyState_default, {
|
|
5114
5114
|
title: __props.emptyMessage,
|
|
5115
5115
|
size: "sm",
|
|
@@ -5122,8 +5122,8 @@ var ChartContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
5122
5122
|
});
|
|
5123
5123
|
//#endregion
|
|
5124
5124
|
//#region src/components/GeneratedPlotlyResult.vue?vue&type=script&setup=true&lang.ts
|
|
5125
|
-
var _hoisted_1$
|
|
5126
|
-
var _hoisted_2$
|
|
5125
|
+
var _hoisted_1$48 = ["src"];
|
|
5126
|
+
var _hoisted_2$44 = {
|
|
5127
5127
|
key: 1,
|
|
5128
5128
|
class: "mint-generated-result__plotly-error",
|
|
5129
5129
|
role: "alert"
|
|
@@ -5178,7 +5178,7 @@ var GeneratedPlotlyResult_default = /* @__PURE__ */ _plugin_vue_export_helper_de
|
|
|
5178
5178
|
class: "mint-generated-result__image",
|
|
5179
5179
|
src: `data:${__props.fallback.media_type};base64,${__props.fallback.data}`,
|
|
5180
5180
|
alt: "Static Plotly chart fallback"
|
|
5181
|
-
}, null, 8, _hoisted_1$
|
|
5181
|
+
}, null, 8, _hoisted_1$48)) : failed.value ? (openBlock(), createElementBlock("p", _hoisted_2$44, " Unable to display this chart. ")) : createCommentVNode("", true), withDirectives(createElementVNode("div", {
|
|
5182
5182
|
ref_key: "chartElement",
|
|
5183
5183
|
ref: chartElement,
|
|
5184
5184
|
class: "mint-generated-result__plotly",
|
|
@@ -5191,20 +5191,20 @@ var GeneratedPlotlyResult_default = /* @__PURE__ */ _plugin_vue_export_helper_de
|
|
|
5191
5191
|
}), [["__scopeId", "data-v-3a33df40"]]);
|
|
5192
5192
|
//#endregion
|
|
5193
5193
|
//#region src/components/GeneratedResultRenderer.vue?vue&type=script&setup=true&lang.ts
|
|
5194
|
-
var _hoisted_1$
|
|
5194
|
+
var _hoisted_1$47 = {
|
|
5195
5195
|
class: "mint-generated-result",
|
|
5196
5196
|
"aria-live": "polite"
|
|
5197
5197
|
};
|
|
5198
|
-
var _hoisted_2$
|
|
5198
|
+
var _hoisted_2$43 = {
|
|
5199
5199
|
key: 0,
|
|
5200
5200
|
class: "mint-generated-result__text"
|
|
5201
5201
|
};
|
|
5202
|
-
var _hoisted_3$
|
|
5202
|
+
var _hoisted_3$39 = {
|
|
5203
5203
|
key: 1,
|
|
5204
5204
|
class: "mint-generated-result__json"
|
|
5205
5205
|
};
|
|
5206
|
-
var _hoisted_4$
|
|
5207
|
-
var _hoisted_5$
|
|
5206
|
+
var _hoisted_4$38 = ["src", "alt"];
|
|
5207
|
+
var _hoisted_5$36 = ["href", "download"];
|
|
5208
5208
|
//#endregion
|
|
5209
5209
|
//#region src/components/GeneratedResultRenderer.vue
|
|
5210
5210
|
var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -5230,7 +5230,7 @@ var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
5230
5230
|
return value.replace(/[_-]+/g, " ").replace(/^\w/, (character) => character.toUpperCase());
|
|
5231
5231
|
}
|
|
5232
5232
|
return (_ctx, _cache) => {
|
|
5233
|
-
return openBlock(), createElementBlock("article", _hoisted_1$
|
|
5233
|
+
return openBlock(), createElementBlock("article", _hoisted_1$47, [__props.result.kind === "text" ? (openBlock(), createElementBlock("p", _hoisted_2$43, toDisplayString(__props.result.text), 1)) : __props.result.kind === "json" ? (openBlock(), createElementBlock("pre", _hoisted_3$39, toDisplayString(formattedJson.value), 1)) : __props.result.kind === "table" ? (openBlock(), createBlock(DataFrame_default, {
|
|
5234
5234
|
key: 2,
|
|
5235
5235
|
data: __props.result.rows,
|
|
5236
5236
|
columns: tableColumns.value,
|
|
@@ -5246,7 +5246,7 @@ var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
5246
5246
|
class: "mint-generated-result__image",
|
|
5247
5247
|
src: `data:${__props.result.media_type};base64,${__props.result.data}`,
|
|
5248
5248
|
alt: __props.result.alt
|
|
5249
|
-
}, null, 8, _hoisted_4$
|
|
5249
|
+
}, null, 8, _hoisted_4$38)]),
|
|
5250
5250
|
_: 1
|
|
5251
5251
|
})) : __props.result.kind === "plotly" ? (openBlock(), createBlock(GeneratedPlotlyResult_default, {
|
|
5252
5252
|
key: 4,
|
|
@@ -5257,22 +5257,22 @@ var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
5257
5257
|
class: "mint-generated-result__artifact",
|
|
5258
5258
|
href: artifactHref.value,
|
|
5259
5259
|
download: __props.result.name
|
|
5260
|
-
}, [createElementVNode("span", null, toDisplayString(__props.result.name), 1), createElementVNode("small", null, toDisplayString(__props.result.media_type), 1)], 8, _hoisted_5$
|
|
5260
|
+
}, [createElementVNode("span", null, toDisplayString(__props.result.name), 1), createElementVNode("small", null, toDisplayString(__props.result.media_type), 1)], 8, _hoisted_5$36))]);
|
|
5261
5261
|
};
|
|
5262
5262
|
}
|
|
5263
5263
|
}), [["__scopeId", "data-v-148258e9"]]);
|
|
5264
5264
|
//#endregion
|
|
5265
5265
|
//#region src/components/JobsStatusTray.vue?vue&type=script&setup=true&lang.ts
|
|
5266
|
-
var _hoisted_1$
|
|
5267
|
-
var _hoisted_2$
|
|
5268
|
-
var _hoisted_3$
|
|
5269
|
-
var _hoisted_4$
|
|
5266
|
+
var _hoisted_1$46 = { class: "mint-jobs-tray" };
|
|
5267
|
+
var _hoisted_2$42 = ["aria-expanded"];
|
|
5268
|
+
var _hoisted_3$38 = { class: "mint-jobs-tray__trigger-label" };
|
|
5269
|
+
var _hoisted_4$37 = {
|
|
5270
5270
|
key: 0,
|
|
5271
5271
|
class: "mint-jobs-tray__count",
|
|
5272
5272
|
"aria-live": "polite"
|
|
5273
5273
|
};
|
|
5274
|
-
var _hoisted_5$
|
|
5275
|
-
var _hoisted_6$
|
|
5274
|
+
var _hoisted_5$35 = { class: "mint-jobs-tray__header" };
|
|
5275
|
+
var _hoisted_6$35 = { class: "mint-jobs-tray__subtitle" };
|
|
5276
5276
|
var _hoisted_7$30 = { class: "mint-jobs-tray__header-actions" };
|
|
5277
5277
|
var _hoisted_8$27 = ["disabled"];
|
|
5278
5278
|
var _hoisted_9$25 = {
|
|
@@ -5424,7 +5424,7 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5424
5424
|
return openBlock(), createBlock(Teleport, {
|
|
5425
5425
|
to: teleportTarget.value,
|
|
5426
5426
|
disabled: __props.teleportTo === false
|
|
5427
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
5427
|
+
}, [createElementVNode("div", _hoisted_1$46, [
|
|
5428
5428
|
createElementVNode("button", {
|
|
5429
5429
|
ref_key: "triggerRef",
|
|
5430
5430
|
ref: triggerRef,
|
|
@@ -5442,9 +5442,9 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5442
5442
|
stroke: "currentColor",
|
|
5443
5443
|
"aria-hidden": "true"
|
|
5444
5444
|
}, [..._cache[3] || (_cache[3] = [createElementVNode("path", { d: "M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2" }, null, -1), createElementVNode("path", { d: "M9 5a3 3 0 0 1 6 0v2H9V5Z" }, null, -1)])], 2)),
|
|
5445
|
-
createElementVNode("span", _hoisted_3$
|
|
5446
|
-
unref(tray).activeJobs.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
5447
|
-
], 8, _hoisted_2$
|
|
5445
|
+
createElementVNode("span", _hoisted_3$38, toDisplayString(unref(tray).featuredJob.value ? unref(jobStatusLabel)(unref(tray).featuredJob.value.status) : "Jobs"), 1),
|
|
5446
|
+
unref(tray).activeJobs.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$37, toDisplayString(unref(tray).activeJobs.value.length), 1)) : createCommentVNode("", true)
|
|
5447
|
+
], 8, _hoisted_2$42),
|
|
5448
5448
|
createVNode(Transition, { name: "mint-jobs-tray-fade" }, {
|
|
5449
5449
|
default: withCtx(() => [unref(tray).isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
5450
5450
|
key: 0,
|
|
@@ -5467,10 +5467,10 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5467
5467
|
tabindex: "-1",
|
|
5468
5468
|
onKeydown: onPanelKeydown
|
|
5469
5469
|
}, [
|
|
5470
|
-
createElementVNode("header", _hoisted_5$
|
|
5470
|
+
createElementVNode("header", _hoisted_5$35, [createElementVNode("div", null, [createElementVNode("h2", {
|
|
5471
5471
|
id: titleId,
|
|
5472
5472
|
class: "mint-jobs-tray__title"
|
|
5473
|
-
}, toDisplayString(__props.title), 1), createElementVNode("p", _hoisted_6$
|
|
5473
|
+
}, toDisplayString(__props.title), 1), createElementVNode("p", _hoisted_6$35, toDisplayString(unref(tray).jobs.value.length) + " total", 1)]), createElementVNode("div", _hoisted_7$30, [unref(tray).canRefresh.value ? (openBlock(), createElementBlock("button", {
|
|
5474
5474
|
key: 0,
|
|
5475
5475
|
type: "button",
|
|
5476
5476
|
class: "mint-jobs-tray__icon-button",
|
|
@@ -5588,21 +5588,21 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5588
5588
|
});
|
|
5589
5589
|
//#endregion
|
|
5590
5590
|
//#region src/components/GeneratedPluginView.vue?vue&type=script&setup=true&lang.ts
|
|
5591
|
-
var _hoisted_1$
|
|
5592
|
-
var _hoisted_2$
|
|
5591
|
+
var _hoisted_1$45 = { class: "mint-generated-workspace" };
|
|
5592
|
+
var _hoisted_2$41 = {
|
|
5593
5593
|
key: 0,
|
|
5594
5594
|
class: "mint-generated-workspace__loading"
|
|
5595
5595
|
};
|
|
5596
|
-
var _hoisted_3$
|
|
5596
|
+
var _hoisted_3$37 = {
|
|
5597
5597
|
key: 1,
|
|
5598
5598
|
class: "mint-generated-workspace__header"
|
|
5599
5599
|
};
|
|
5600
|
-
var _hoisted_4$
|
|
5601
|
-
var _hoisted_5$
|
|
5600
|
+
var _hoisted_4$36 = { key: 0 };
|
|
5601
|
+
var _hoisted_5$34 = {
|
|
5602
5602
|
class: "mint-generated-workspace__resources",
|
|
5603
5603
|
"aria-label": "Job resource requirements"
|
|
5604
5604
|
};
|
|
5605
|
-
var _hoisted_6$
|
|
5605
|
+
var _hoisted_6$34 = { class: "mint-generated-workspace__result" };
|
|
5606
5606
|
//#endregion
|
|
5607
5607
|
//#region src/components/GeneratedPluginView.vue
|
|
5608
5608
|
var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -5693,18 +5693,18 @@ var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_defa
|
|
|
5693
5693
|
"onUpdate:values": updateValues,
|
|
5694
5694
|
onFormSubmit: submitJob
|
|
5695
5695
|
}, {
|
|
5696
|
-
default: withCtx(() => [createElementVNode("main", _hoisted_1$
|
|
5696
|
+
default: withCtx(() => [createElementVNode("main", _hoisted_1$45, [unref(generated).isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_2$41, [createVNode(LoadingSpinner_default, { size: "lg" }), _cache[1] || (_cache[1] = createElementVNode("span", null, "Loading analysis workspace", -1))])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
5697
5697
|
unref(generated).error.value ? (openBlock(), createBlock(AlertBox_default, {
|
|
5698
5698
|
key: 0,
|
|
5699
5699
|
type: "error",
|
|
5700
5700
|
message: unref(generated).error.value
|
|
5701
5701
|
}, null, 8, ["message"])) : createCommentVNode("", true),
|
|
5702
|
-
activeDefinition.value ? (openBlock(), createElementBlock("header", _hoisted_3$
|
|
5702
|
+
activeDefinition.value ? (openBlock(), createElementBlock("header", _hoisted_3$37, [createElementVNode("div", null, [
|
|
5703
5703
|
_cache[2] || (_cache[2] = createElementVNode("p", { class: "mint-generated-workspace__eyebrow" }, "Analysis result", -1)),
|
|
5704
5704
|
createElementVNode("h1", null, toDisplayString(activeDefinition.value.title), 1),
|
|
5705
|
-
activeDefinition.value.description ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
5706
|
-
]), createElementVNode("div", _hoisted_5$
|
|
5707
|
-
createElementVNode("section", _hoisted_6$
|
|
5705
|
+
activeDefinition.value.description ? (openBlock(), createElementBlock("p", _hoisted_4$36, toDisplayString(activeDefinition.value.description), 1)) : createCommentVNode("", true)
|
|
5706
|
+
]), createElementVNode("div", _hoisted_5$34, [createElementVNode("span", null, toDisplayString(resourceSummary(activeDefinition.value)), 1)])])) : createCommentVNode("", true),
|
|
5707
|
+
createElementVNode("section", _hoisted_6$34, [currentResult.value ? (openBlock(), createBlock(GeneratedResultRenderer_default, {
|
|
5708
5708
|
key: 0,
|
|
5709
5709
|
result: currentResult.value
|
|
5710
5710
|
}, null, 8, ["result"])) : (openBlock(), createBlock(EmptyState_default, {
|
|
@@ -5736,12 +5736,12 @@ var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_defa
|
|
|
5736
5736
|
}), [["__scopeId", "data-v-1cc29b49"]]);
|
|
5737
5737
|
//#endregion
|
|
5738
5738
|
//#region src/components/DoseCalculatorVolumeField.vue?vue&type=script&setup=true&lang.ts
|
|
5739
|
-
var _hoisted_1$
|
|
5740
|
-
var _hoisted_2$
|
|
5741
|
-
var _hoisted_3$
|
|
5742
|
-
var _hoisted_4$
|
|
5743
|
-
var _hoisted_5$
|
|
5744
|
-
var _hoisted_6$
|
|
5739
|
+
var _hoisted_1$44 = { class: "mint-dose-calculator__field" };
|
|
5740
|
+
var _hoisted_2$40 = { class: "mint-dose-calculator__field-label" };
|
|
5741
|
+
var _hoisted_3$36 = { class: "mint-dose-calculator__field-row" };
|
|
5742
|
+
var _hoisted_4$35 = ["value", "disabled"];
|
|
5743
|
+
var _hoisted_5$33 = ["value", "disabled"];
|
|
5744
|
+
var _hoisted_6$33 = ["value"];
|
|
5745
5745
|
//#endregion
|
|
5746
5746
|
//#region src/components/DoseCalculatorVolumeField.vue
|
|
5747
5747
|
var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
@@ -5777,7 +5777,7 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
5777
5777
|
});
|
|
5778
5778
|
}
|
|
5779
5779
|
return (_ctx, _cache) => {
|
|
5780
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5780
|
+
return openBlock(), createElementBlock("div", _hoisted_1$44, [createElementVNode("label", _hoisted_2$40, toDisplayString(__props.label), 1), createElementVNode("div", _hoisted_3$36, [createElementVNode("input", {
|
|
5781
5781
|
type: "number",
|
|
5782
5782
|
value: __props.modelValue.value,
|
|
5783
5783
|
disabled: __props.disabled,
|
|
@@ -5785,7 +5785,7 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
5785
5785
|
min: "0",
|
|
5786
5786
|
step: "any",
|
|
5787
5787
|
onInput: handleValueInput
|
|
5788
|
-
}, null, 40, _hoisted_4$
|
|
5788
|
+
}, null, 40, _hoisted_4$35), createElementVNode("select", {
|
|
5789
5789
|
value: __props.modelValue.unit,
|
|
5790
5790
|
disabled: __props.disabled,
|
|
5791
5791
|
class: "mint-dose-calculator__select",
|
|
@@ -5794,27 +5794,27 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
5794
5794
|
return openBlock(), createElementBlock("option", {
|
|
5795
5795
|
key: unit,
|
|
5796
5796
|
value: unit
|
|
5797
|
-
}, toDisplayString(unit), 9, _hoisted_6$
|
|
5798
|
-
}), 128))], 40, _hoisted_5$
|
|
5797
|
+
}, toDisplayString(unit), 9, _hoisted_6$33);
|
|
5798
|
+
}), 128))], 40, _hoisted_5$33)])]);
|
|
5799
5799
|
};
|
|
5800
5800
|
}
|
|
5801
5801
|
});
|
|
5802
5802
|
//#endregion
|
|
5803
5803
|
//#region src/components/DoseCalculator.vue?vue&type=script&setup=true&lang.ts
|
|
5804
|
-
var _hoisted_1$
|
|
5804
|
+
var _hoisted_1$43 = {
|
|
5805
5805
|
key: 0,
|
|
5806
5806
|
class: "mint-dose-calculator__tabs",
|
|
5807
5807
|
role: "tablist"
|
|
5808
5808
|
};
|
|
5809
|
-
var _hoisted_2$
|
|
5810
|
-
var _hoisted_3$
|
|
5811
|
-
var _hoisted_4$
|
|
5812
|
-
var _hoisted_5$
|
|
5809
|
+
var _hoisted_2$39 = ["aria-selected"];
|
|
5810
|
+
var _hoisted_3$35 = ["aria-selected"];
|
|
5811
|
+
var _hoisted_4$34 = ["aria-selected"];
|
|
5812
|
+
var _hoisted_5$32 = {
|
|
5813
5813
|
key: 1,
|
|
5814
5814
|
class: "mint-dose-calculator__form",
|
|
5815
5815
|
role: "tabpanel"
|
|
5816
5816
|
};
|
|
5817
|
-
var _hoisted_6$
|
|
5817
|
+
var _hoisted_6$32 = { class: "mint-dose-calculator__field" };
|
|
5818
5818
|
var _hoisted_7$29 = { class: "mint-dose-calculator__field" };
|
|
5819
5819
|
var _hoisted_8$26 = {
|
|
5820
5820
|
key: 0,
|
|
@@ -5994,31 +5994,31 @@ var DoseCalculator_default = /* @__PURE__ */ defineComponent({
|
|
|
5994
5994
|
});
|
|
5995
5995
|
return (_ctx, _cache) => {
|
|
5996
5996
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-dose-calculator", __props.disabled ? "mint-dose-calculator--disabled" : ""]) }, [
|
|
5997
|
-
showTabs.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5997
|
+
showTabs.value ? (openBlock(), createElementBlock("div", _hoisted_1$43, [
|
|
5998
5998
|
createElementVNode("button", {
|
|
5999
5999
|
type: "button",
|
|
6000
6000
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "dilution" ? "mint-dose-calculator__tab--active" : ""]),
|
|
6001
6001
|
role: "tab",
|
|
6002
6002
|
"aria-selected": activeMode.value === "dilution",
|
|
6003
6003
|
onClick: _cache[0] || (_cache[0] = ($event) => activeMode.value = "dilution")
|
|
6004
|
-
}, " Dilution ", 10, _hoisted_2$
|
|
6004
|
+
}, " Dilution ", 10, _hoisted_2$39),
|
|
6005
6005
|
createElementVNode("button", {
|
|
6006
6006
|
type: "button",
|
|
6007
6007
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "serial" ? "mint-dose-calculator__tab--active" : ""]),
|
|
6008
6008
|
role: "tab",
|
|
6009
6009
|
"aria-selected": activeMode.value === "serial",
|
|
6010
6010
|
onClick: _cache[1] || (_cache[1] = ($event) => activeMode.value = "serial")
|
|
6011
|
-
}, " Serial ", 10, _hoisted_3$
|
|
6011
|
+
}, " Serial ", 10, _hoisted_3$35),
|
|
6012
6012
|
createElementVNode("button", {
|
|
6013
6013
|
type: "button",
|
|
6014
6014
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "conversion" ? "mint-dose-calculator__tab--active" : ""]),
|
|
6015
6015
|
role: "tab",
|
|
6016
6016
|
"aria-selected": activeMode.value === "conversion",
|
|
6017
6017
|
onClick: _cache[2] || (_cache[2] = ($event) => activeMode.value = "conversion")
|
|
6018
|
-
}, " Conversion ", 10, _hoisted_4$
|
|
6018
|
+
}, " Conversion ", 10, _hoisted_4$34)
|
|
6019
6019
|
])) : createCommentVNode("", true),
|
|
6020
|
-
activeMode.value === "dilution" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6021
|
-
createElementVNode("div", _hoisted_6$
|
|
6020
|
+
activeMode.value === "dilution" ? (openBlock(), createElementBlock("div", _hoisted_5$32, [
|
|
6021
|
+
createElementVNode("div", _hoisted_6$32, [_cache[10] || (_cache[10] = createElementVNode("label", { class: "mint-dose-calculator__field-label" }, "Stock Concentration", -1)), createVNode(ConcentrationInput_default, {
|
|
6022
6022
|
modelValue: stockConcentration.value,
|
|
6023
6023
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => stockConcentration.value = $event),
|
|
6024
6024
|
disabled: __props.disabled,
|
|
@@ -6155,24 +6155,24 @@ function formatProtocolDuration(minutes) {
|
|
|
6155
6155
|
}
|
|
6156
6156
|
//#endregion
|
|
6157
6157
|
//#region src/components/ExperimentTimeline.vue?vue&type=script&setup=true&lang.ts
|
|
6158
|
-
var _hoisted_1$
|
|
6159
|
-
var _hoisted_2$
|
|
6158
|
+
var _hoisted_1$42 = ["aria-label"];
|
|
6159
|
+
var _hoisted_2$38 = [
|
|
6160
6160
|
"draggable",
|
|
6161
6161
|
"onDragstart",
|
|
6162
6162
|
"onDragover",
|
|
6163
6163
|
"onDrop"
|
|
6164
6164
|
];
|
|
6165
|
-
var _hoisted_3$
|
|
6165
|
+
var _hoisted_3$34 = {
|
|
6166
6166
|
key: 0,
|
|
6167
6167
|
class: "mint-timeline__connector"
|
|
6168
6168
|
};
|
|
6169
|
-
var _hoisted_4$
|
|
6170
|
-
var _hoisted_5$
|
|
6169
|
+
var _hoisted_4$33 = ["onClick"];
|
|
6170
|
+
var _hoisted_5$31 = {
|
|
6171
6171
|
fill: "none",
|
|
6172
6172
|
stroke: "currentColor",
|
|
6173
6173
|
viewBox: "0 0 24 24"
|
|
6174
6174
|
};
|
|
6175
|
-
var _hoisted_6$
|
|
6175
|
+
var _hoisted_6$31 = ["d"];
|
|
6176
6176
|
var _hoisted_7$28 = { class: "mint-timeline__content" };
|
|
6177
6177
|
var _hoisted_8$25 = { class: "mint-timeline__title-row" };
|
|
6178
6178
|
var _hoisted_9$23 = ["aria-label", "onClick"];
|
|
@@ -6374,7 +6374,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6374
6374
|
onDrop: ($event) => handleDrop($event, step),
|
|
6375
6375
|
onDragend: handleDragEnd
|
|
6376
6376
|
}, [
|
|
6377
|
-
index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6377
|
+
index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_3$34)) : createCommentVNode("", true),
|
|
6378
6378
|
createElementVNode("div", {
|
|
6379
6379
|
class: normalizeClass([
|
|
6380
6380
|
"mint-timeline__card",
|
|
@@ -6397,12 +6397,12 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6397
6397
|
backgroundColor: `${getStepColor(step)}20`,
|
|
6398
6398
|
color: getStepColor(step)
|
|
6399
6399
|
} : {})
|
|
6400
|
-
}, [(openBlock(), createElementBlock("svg", _hoisted_5$
|
|
6400
|
+
}, [(openBlock(), createElementBlock("svg", _hoisted_5$31, [createElementVNode("path", {
|
|
6401
6401
|
"stroke-linecap": "round",
|
|
6402
6402
|
"stroke-linejoin": "round",
|
|
6403
6403
|
"stroke-width": "2",
|
|
6404
6404
|
d: unref(PROTOCOL_STEP_TYPE_ICONS)[step.type]
|
|
6405
|
-
}, null, 8, _hoisted_6$
|
|
6405
|
+
}, null, 8, _hoisted_6$31)]))], 6),
|
|
6406
6406
|
createElementVNode("div", _hoisted_7$28, [createElementVNode("div", _hoisted_8$25, [createElementVNode("span", { class: normalizeClass(["mint-timeline__title", `mint-timeline__title--${__props.size}`]) }, toDisplayString(step.name), 3), __props.showDuration && step.duration ? (openBlock(), createElementBlock("span", {
|
|
6407
6407
|
key: 0,
|
|
6408
6408
|
class: normalizeClass(["mint-timeline__duration", __props.size === "sm" ? "mint-timeline__duration--sm" : ""])
|
|
@@ -6468,7 +6468,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6468
6468
|
onClick: withModifiers(($event) => handleStatusChange(step, status), ["stop"])
|
|
6469
6469
|
}, toDisplayString(status.replace("_", " ")), 11, _hoisted_15$15);
|
|
6470
6470
|
}), 64))])) : createCommentVNode("", true)
|
|
6471
|
-
], 8, _hoisted_10$22)) : createCommentVNode("", true)], 14, _hoisted_4$
|
|
6471
|
+
], 8, _hoisted_10$22)) : createCommentVNode("", true)], 14, _hoisted_4$33),
|
|
6472
6472
|
__props.editable && __props.orientation === "vertical" ? (openBlock(), createElementBlock("button", {
|
|
6473
6473
|
key: 1,
|
|
6474
6474
|
type: "button",
|
|
@@ -6487,7 +6487,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6487
6487
|
})], -1)])], 8, _hoisted_16$13)) : createCommentVNode("", true),
|
|
6488
6488
|
__props.orientation === "vertical" && index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_17$13)) : createCommentVNode("", true),
|
|
6489
6489
|
__props.orientation === "horizontal" && index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_18$13)) : createCommentVNode("", true)
|
|
6490
|
-
], 40, _hoisted_2$
|
|
6490
|
+
], 40, _hoisted_2$38);
|
|
6491
6491
|
}), 128)),
|
|
6492
6492
|
sortedSteps.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_19$13, [createElementVNode("div", _hoisted_20$12, [_cache[5] || (_cache[5] = createElementVNode("p", { class: "mint-timeline__empty-text" }, "No protocol steps defined", -1)), __props.editable ? (openBlock(), createElementBlock("button", {
|
|
6493
6493
|
key: 0,
|
|
@@ -6510,18 +6510,18 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6510
6510
|
"stroke-width": "2",
|
|
6511
6511
|
d: "M12 4v16m8-8H4"
|
|
6512
6512
|
})], -1)), createElementVNode("span", { class: normalizeClass(`mint-timeline__add-end-text--${__props.size}`) }, "Add Step", 2)], 2)) : createCommentVNode("", true)
|
|
6513
|
-
], 10, _hoisted_1$
|
|
6513
|
+
], 10, _hoisted_1$42);
|
|
6514
6514
|
};
|
|
6515
6515
|
}
|
|
6516
6516
|
});
|
|
6517
6517
|
//#endregion
|
|
6518
6518
|
//#region src/components/internal/WellEditPopupInternal.vue?vue&type=script&setup=true&lang.ts
|
|
6519
|
-
var _hoisted_1$
|
|
6520
|
-
var _hoisted_2$
|
|
6521
|
-
var _hoisted_3$
|
|
6522
|
-
var _hoisted_4$
|
|
6523
|
-
var _hoisted_5$
|
|
6524
|
-
var _hoisted_6$
|
|
6519
|
+
var _hoisted_1$41 = { class: "mint-well-edit-popup__header" };
|
|
6520
|
+
var _hoisted_2$37 = { class: "mint-well-edit-popup__header-left" };
|
|
6521
|
+
var _hoisted_3$33 = { class: "mint-well-edit-popup__well-id" };
|
|
6522
|
+
var _hoisted_4$32 = { class: "mint-well-edit-popup__body" };
|
|
6523
|
+
var _hoisted_5$30 = { key: 0 };
|
|
6524
|
+
var _hoisted_6$30 = { class: "mint-well-edit-popup__row" };
|
|
6525
6525
|
var _hoisted_7$27 = { key: 0 };
|
|
6526
6526
|
var _hoisted_8$24 = { class: "mint-well-edit-popup__type-grid" };
|
|
6527
6527
|
var _hoisted_9$22 = ["title", "onClick"];
|
|
@@ -6638,7 +6638,7 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
6638
6638
|
style: normalizeStyle(popupStyle.value),
|
|
6639
6639
|
onClick: _cache[5] || (_cache[5] = withModifiers(() => {}, ["stop"]))
|
|
6640
6640
|
}, [
|
|
6641
|
-
createElementVNode("div", _hoisted_1$
|
|
6641
|
+
createElementVNode("div", _hoisted_1$41, [createElementVNode("div", _hoisted_2$37, [createElementVNode("span", _hoisted_3$33, toDisplayString(__props.wellId), 1), _cache[6] || (_cache[6] = createElementVNode("span", { class: "mint-well-edit-popup__title" }, "Edit Well", -1))]), createElementVNode("button", {
|
|
6642
6642
|
class: "mint-well-edit-popup__close",
|
|
6643
6643
|
onClick: close
|
|
6644
6644
|
}, [..._cache[7] || (_cache[7] = [createElementVNode("svg", {
|
|
@@ -6651,8 +6651,8 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
6651
6651
|
"stroke-linecap": "round",
|
|
6652
6652
|
"stroke-linejoin": "round"
|
|
6653
6653
|
}, [createElementVNode("path", { d: "M18 6 6 18" }), createElementVNode("path", { d: "m6 6 12 12" })], -1)])])]),
|
|
6654
|
-
createElementVNode("div", _hoisted_4$
|
|
6655
|
-
hasField("label") ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6654
|
+
createElementVNode("div", _hoisted_4$32, [
|
|
6655
|
+
hasField("label") ? (openBlock(), createElementBlock("div", _hoisted_5$30, [_cache[8] || (_cache[8] = createElementVNode("label", { class: "mint-well-edit-popup__label" }, "Sample Name", -1)), withDirectives(createElementVNode("input", {
|
|
6656
6656
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value.label = $event),
|
|
6657
6657
|
type: "text",
|
|
6658
6658
|
placeholder: "e.g., Sample_001",
|
|
@@ -6660,7 +6660,7 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
6660
6660
|
onKeydown: withKeys(save, ["enter"]),
|
|
6661
6661
|
autofocus: ""
|
|
6662
6662
|
}, null, 544), [[vModelText, formData.value.label]])])) : createCommentVNode("", true),
|
|
6663
|
-
createElementVNode("div", _hoisted_6$
|
|
6663
|
+
createElementVNode("div", _hoisted_6$30, [hasField("sampleType") ? (openBlock(), createElementBlock("div", _hoisted_7$27, [_cache[9] || (_cache[9] = createElementVNode("label", { class: "mint-well-edit-popup__label" }, "Type", -1)), createElementVNode("div", _hoisted_8$24, [(openBlock(), createElementBlock(Fragment, null, renderList(sampleTypeButtons, (btn) => {
|
|
6664
6664
|
return createElementVNode("button", {
|
|
6665
6665
|
key: btn.type,
|
|
6666
6666
|
title: btn.tooltip,
|
|
@@ -7337,12 +7337,12 @@ var DEFAULT_WELL_LEGEND_ITEMS = [
|
|
|
7337
7337
|
];
|
|
7338
7338
|
//#endregion
|
|
7339
7339
|
//#region src/components/WellPlate.vue?vue&type=script&setup=true&lang.ts
|
|
7340
|
-
var _hoisted_1$
|
|
7341
|
-
var _hoisted_2$
|
|
7342
|
-
var _hoisted_3$
|
|
7343
|
-
var _hoisted_4$
|
|
7344
|
-
var _hoisted_5$
|
|
7345
|
-
var _hoisted_6$
|
|
7340
|
+
var _hoisted_1$40 = { class: "mint-well-plate__scroll" };
|
|
7341
|
+
var _hoisted_2$36 = { class: "mint-well-plate__content" };
|
|
7342
|
+
var _hoisted_3$32 = ["aria-label"];
|
|
7343
|
+
var _hoisted_4$31 = { key: 0 };
|
|
7344
|
+
var _hoisted_5$29 = ["colspan"];
|
|
7345
|
+
var _hoisted_6$29 = ["colspan"];
|
|
7346
7346
|
var _hoisted_7$26 = { key: 1 };
|
|
7347
7347
|
var _hoisted_8$23 = ["rowspan"];
|
|
7348
7348
|
var _hoisted_9$21 = {
|
|
@@ -7561,7 +7561,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7561
7561
|
ref: plateRef,
|
|
7562
7562
|
class: normalizeClass(["mint-well-plate", isFillMode.value ? "mint-well-plate--fill" : "mint-well-plate--inline"]),
|
|
7563
7563
|
style: normalizeStyle(containerStyle.value)
|
|
7564
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
7564
|
+
}, [createElementVNode("div", _hoisted_1$40, [createElementVNode("div", _hoisted_2$36, [
|
|
7565
7565
|
createElementVNode("table", {
|
|
7566
7566
|
ref_key: "tableRef",
|
|
7567
7567
|
ref: tableRef,
|
|
@@ -7570,7 +7570,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7570
7570
|
"aria-label": `${props.format}-well plate`,
|
|
7571
7571
|
style: normalizeStyle(tableStyle.value)
|
|
7572
7572
|
}, [
|
|
7573
|
-
hasColumnConditions.value ? (openBlock(), createElementBlock("thead", _hoisted_4$
|
|
7573
|
+
hasColumnConditions.value ? (openBlock(), createElementBlock("thead", _hoisted_4$31, [createElementVNode("tr", null, [
|
|
7574
7574
|
createElementVNode("th", { style: normalizeStyle({ width: sizeConfig.value.headerWidth }) }, null, 4),
|
|
7575
7575
|
hasRowConditions.value ? (openBlock(), createElementBlock("th", {
|
|
7576
7576
|
key: 0,
|
|
@@ -7586,10 +7586,10 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7586
7586
|
fontSize: sizeConfig.value.fontSize,
|
|
7587
7587
|
color: span.condition.color
|
|
7588
7588
|
})
|
|
7589
|
-
}, [createTextVNode(toDisplayString(span.condition.label), 1), span.condition.unit ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" (" + toDisplayString(span.condition.unit) + ")", 1)], 64)) : createCommentVNode("", true)], 12, _hoisted_5$
|
|
7589
|
+
}, [createTextVNode(toDisplayString(span.condition.label), 1), span.condition.unit ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" (" + toDisplayString(span.condition.unit) + ")", 1)], 64)) : createCommentVNode("", true)], 12, _hoisted_5$29)) : (openBlock(), createElementBlock("th", {
|
|
7590
7590
|
key: 1,
|
|
7591
7591
|
colspan: span.colspan
|
|
7592
|
-
}, null, 8, _hoisted_6$
|
|
7592
|
+
}, null, 8, _hoisted_6$29))], 64);
|
|
7593
7593
|
}), 128))
|
|
7594
7594
|
])])) : createCommentVNode("", true),
|
|
7595
7595
|
props.showLabels ? (openBlock(), createElementBlock("thead", _hoisted_7$26, [createElementVNode("tr", null, [
|
|
@@ -7698,7 +7698,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7698
7698
|
}), 128))
|
|
7699
7699
|
]);
|
|
7700
7700
|
}), 128))])
|
|
7701
|
-
], 12, _hoisted_3$
|
|
7701
|
+
], 12, _hoisted_3$32),
|
|
7702
7702
|
props.heatmap?.enabled && props.heatmap.showLegend ? (openBlock(), createElementBlock("div", _hoisted_16$12, [
|
|
7703
7703
|
createElementVNode("span", _hoisted_17$12, toDisplayString(props.heatmap.min ?? 0), 1),
|
|
7704
7704
|
createElementVNode("div", _hoisted_18$12, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.heatmap.colorScale === "custom" && props.heatmap.customColors?.length ? props.heatmap.customColors : unref(HEATMAP_COLORS)[props.heatmap.colorScale || "viridis"], (color, index) => {
|
|
@@ -7756,8 +7756,8 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7756
7756
|
});
|
|
7757
7757
|
//#endregion
|
|
7758
7758
|
//#region src/components/SampleLegend.vue?vue&type=script&setup=true&lang.ts
|
|
7759
|
-
var _hoisted_1$
|
|
7760
|
-
var _hoisted_2$
|
|
7759
|
+
var _hoisted_1$39 = ["aria-pressed", "onClick"];
|
|
7760
|
+
var _hoisted_2$35 = ["aria-label", "onClick"];
|
|
7761
7761
|
//#endregion
|
|
7762
7762
|
//#region src/components/SampleLegend.vue
|
|
7763
7763
|
var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
@@ -7857,8 +7857,8 @@ var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
7857
7857
|
"stroke-linejoin": "round",
|
|
7858
7858
|
"stroke-width": "2",
|
|
7859
7859
|
d: "M6 18L18 6M6 6l12 12"
|
|
7860
|
-
})], -1)])], 8, _hoisted_2$
|
|
7861
|
-
], 10, _hoisted_1$
|
|
7860
|
+
})], -1)])], 8, _hoisted_2$35)) : createCommentVNode("", true)
|
|
7861
|
+
], 10, _hoisted_1$39);
|
|
7862
7862
|
}), 128)), __props.editable ? (openBlock(), createElementBlock("button", {
|
|
7863
7863
|
key: 0,
|
|
7864
7864
|
type: "button",
|
|
@@ -7881,15 +7881,15 @@ var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
7881
7881
|
});
|
|
7882
7882
|
//#endregion
|
|
7883
7883
|
//#region src/components/internal/PlateMapEditorToolbarInternal.vue?vue&type=script&setup=true&lang.ts
|
|
7884
|
-
var _hoisted_1$
|
|
7885
|
-
var _hoisted_2$
|
|
7886
|
-
var _hoisted_3$
|
|
7887
|
-
var _hoisted_4$
|
|
7888
|
-
var _hoisted_5$
|
|
7884
|
+
var _hoisted_1$38 = { class: "mint-plate-editor__toolbar" };
|
|
7885
|
+
var _hoisted_2$34 = { class: "mint-plate-editor__tabs" };
|
|
7886
|
+
var _hoisted_3$31 = ["onClick"];
|
|
7887
|
+
var _hoisted_4$30 = { class: "mint-plate-editor__tab-name" };
|
|
7888
|
+
var _hoisted_5$28 = {
|
|
7889
7889
|
key: 0,
|
|
7890
7890
|
class: "mint-plate-editor__tab-count"
|
|
7891
7891
|
};
|
|
7892
|
-
var _hoisted_6$
|
|
7892
|
+
var _hoisted_6$28 = ["aria-label", "onClick"];
|
|
7893
7893
|
var _hoisted_7$25 = { class: "mint-plate-editor__actions" };
|
|
7894
7894
|
var _hoisted_8$22 = ["disabled"];
|
|
7895
7895
|
var _hoisted_9$20 = ["disabled"];
|
|
@@ -7920,8 +7920,8 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7920
7920
|
const props = __props;
|
|
7921
7921
|
const emit = __emit;
|
|
7922
7922
|
return (_ctx, _cache) => {
|
|
7923
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7924
|
-
createElementVNode("div", _hoisted_2$
|
|
7923
|
+
return openBlock(), createElementBlock("div", _hoisted_1$38, [
|
|
7924
|
+
createElementVNode("div", _hoisted_2$34, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.plates, (plate, index) => {
|
|
7925
7925
|
return openBlock(), createElementBlock("button", {
|
|
7926
7926
|
key: plate.id,
|
|
7927
7927
|
type: "button",
|
|
@@ -7932,8 +7932,8 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7932
7932
|
class: "mint-plate-editor__tab-slot",
|
|
7933
7933
|
style: normalizeStyle({ backgroundColor: __props.slotColorForPlate(plate.id, index) })
|
|
7934
7934
|
}, null, 4),
|
|
7935
|
-
createElementVNode("span", _hoisted_4$
|
|
7936
|
-
__props.plateWellCounts[plate.id] > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
7935
|
+
createElementVNode("span", _hoisted_4$30, toDisplayString(plate.name), 1),
|
|
7936
|
+
__props.plateWellCounts[plate.id] > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$28, toDisplayString(__props.plateWellCounts[plate.id]), 1)) : createCommentVNode("", true),
|
|
7937
7937
|
props.plates.length > 1 ? (openBlock(), createElementBlock("button", {
|
|
7938
7938
|
key: 1,
|
|
7939
7939
|
type: "button",
|
|
@@ -7947,8 +7947,8 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7947
7947
|
"stroke-width": "2",
|
|
7948
7948
|
"stroke-linecap": "round",
|
|
7949
7949
|
"stroke-linejoin": "round"
|
|
7950
|
-
}, [createElementVNode("path", { d: "M18 6 6 18" }), createElementVNode("path", { d: "m6 6 12 12" })], -1)])], 8, _hoisted_6$
|
|
7951
|
-
], 10, _hoisted_3$
|
|
7950
|
+
}, [createElementVNode("path", { d: "M18 6 6 18" }), createElementVNode("path", { d: "m6 6 12 12" })], -1)])], 8, _hoisted_6$28)) : createCommentVNode("", true)
|
|
7951
|
+
], 10, _hoisted_3$31);
|
|
7952
7952
|
}), 128)), __props.canAddPlate ? (openBlock(), createElementBlock("button", {
|
|
7953
7953
|
key: 0,
|
|
7954
7954
|
type: "button",
|
|
@@ -8035,18 +8035,18 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
8035
8035
|
});
|
|
8036
8036
|
//#endregion
|
|
8037
8037
|
//#region src/components/PlateMapEditor.vue?vue&type=script&setup=true&lang.ts
|
|
8038
|
-
var _hoisted_1$
|
|
8039
|
-
var _hoisted_2$
|
|
8038
|
+
var _hoisted_1$37 = { class: "mint-plate-editor__main" };
|
|
8039
|
+
var _hoisted_2$33 = {
|
|
8040
8040
|
key: 2,
|
|
8041
8041
|
class: "mint-plate-editor__selection-bar"
|
|
8042
8042
|
};
|
|
8043
|
-
var _hoisted_3$
|
|
8044
|
-
var _hoisted_4$
|
|
8043
|
+
var _hoisted_3$30 = { class: "mint-plate-editor__selection-count" };
|
|
8044
|
+
var _hoisted_4$29 = {
|
|
8045
8045
|
key: 0,
|
|
8046
8046
|
class: "mint-plate-editor__sidebar"
|
|
8047
8047
|
};
|
|
8048
|
-
var _hoisted_5$
|
|
8049
|
-
var _hoisted_6$
|
|
8048
|
+
var _hoisted_5$27 = { class: "mint-plate-editor__sidebar-panel" };
|
|
8049
|
+
var _hoisted_6$27 = {
|
|
8050
8050
|
key: 0,
|
|
8051
8051
|
class: "mint-plate-editor__add-sample"
|
|
8052
8052
|
};
|
|
@@ -8239,7 +8239,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8239
8239
|
useEventListener(() => document, "keydown", handleKeyDown);
|
|
8240
8240
|
return (_ctx, _cache) => {
|
|
8241
8241
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-plate-editor", { "mint-plate-editor--with-sidebar": __props.showSidebar }]) }, [
|
|
8242
|
-
createElementVNode("div", _hoisted_1$
|
|
8242
|
+
createElementVNode("div", _hoisted_1$37, [
|
|
8243
8243
|
__props.showToolbar ? (openBlock(), createBlock(PlateMapEditorToolbarInternal_default, {
|
|
8244
8244
|
key: 0,
|
|
8245
8245
|
plates: unref(editor).plates.value,
|
|
@@ -8282,8 +8282,8 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8282
8282
|
"sample-colors",
|
|
8283
8283
|
"size"
|
|
8284
8284
|
])) : createCommentVNode("", true),
|
|
8285
|
-
unref(editor).selectedWells.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8286
|
-
createElementVNode("span", _hoisted_3$
|
|
8285
|
+
unref(editor).selectedWells.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$33, [
|
|
8286
|
+
createElementVNode("span", _hoisted_3$30, [createElementVNode("strong", null, toDisplayString(unref(editor).selectedWells.value.length), 1), _cache[8] || (_cache[8] = createTextVNode(" wells selected ", -1))]),
|
|
8287
8287
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "mint-plate-editor__spacer" }, null, -1)),
|
|
8288
8288
|
unref(editor).activeSampleId.value ? (openBlock(), createElementBlock("button", {
|
|
8289
8289
|
key: 0,
|
|
@@ -8299,7 +8299,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8299
8299
|
])) : createCommentVNode("", true),
|
|
8300
8300
|
_cache[10] || (_cache[10] = createStaticVNode("<div class=\"mint-plate-editor__legend\"><div class=\"mint-plate-editor__legend-items\"><div class=\"mint-plate-editor__legend-item\"><div class=\"mint-plate-editor__legend-swatch\" style=\"background-color:rgba(16, 185, 129, 0.15);border:1px solid rgba(16, 185, 129, 0.4);\"></div><span class=\"mint-plate-editor__legend-label\">Sample</span></div><div class=\"mint-plate-editor__legend-item\"><div class=\"mint-plate-editor__legend-swatch\" style=\"background-color:rgba(59, 130, 246, 0.15);border:1px solid rgba(59, 130, 246, 0.4);\"></div><span class=\"mint-plate-editor__legend-label\">Control</span></div><div class=\"mint-plate-editor__legend-item\"><div class=\"mint-plate-editor__legend-swatch\" style=\"background-color:rgba(249, 115, 22, 0.15);border:1px solid rgba(249, 115, 22, 0.4);\"></div><span class=\"mint-plate-editor__legend-label\">Blank</span></div><div class=\"mint-plate-editor__legend-item\"><div class=\"mint-plate-editor__legend-swatch\" style=\"background-color:rgba(139, 92, 246, 0.15);border:1px solid rgba(139, 92, 246, 0.4);\"></div><span class=\"mint-plate-editor__legend-label\">QC</span></div></div><span class=\"mint-plate-editor__legend-hint\"><svg fill=\"none\" stroke=\"currentColor\" viewBox=\"0 0 24 24\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72\"></path><path d=\"m14 7 3 3\"></path><path d=\"M5 6v4\"></path><path d=\"M19 14v4\"></path><path d=\"M10 2v2\"></path><path d=\"M7 8H3\"></path><path d=\"M21 16h-4\"></path><path d=\"M11 3H9\"></path></svg> Drag to select </span></div>", 1))
|
|
8301
8301
|
]),
|
|
8302
|
-
__props.showSidebar ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8302
|
+
__props.showSidebar ? (openBlock(), createElementBlock("div", _hoisted_4$29, [createElementVNode("div", _hoisted_5$27, [
|
|
8303
8303
|
_cache[11] || (_cache[11] = createElementVNode("h3", { class: "mint-plate-editor__sidebar-title" }, "Sample Types", -1)),
|
|
8304
8304
|
createVNode(SampleLegend_default, {
|
|
8305
8305
|
"model-value": unref(editor).activeSampleId.value,
|
|
@@ -8315,7 +8315,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8315
8315
|
"editable",
|
|
8316
8316
|
"size"
|
|
8317
8317
|
]),
|
|
8318
|
-
__props.allowAddSamples ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8318
|
+
__props.allowAddSamples ? (openBlock(), createElementBlock("div", _hoisted_6$27, [createElementVNode("div", _hoisted_7$24, [withDirectives(createElementVNode("input", {
|
|
8319
8319
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => newSampleName.value = $event),
|
|
8320
8320
|
type: "text",
|
|
8321
8321
|
placeholder: "New sample...",
|
|
@@ -8424,21 +8424,21 @@ function getReagentRowClasses(reagent, options) {
|
|
|
8424
8424
|
}
|
|
8425
8425
|
//#endregion
|
|
8426
8426
|
//#region src/components/ReagentList.vue?vue&type=script&setup=true&lang.ts
|
|
8427
|
-
var _hoisted_1$
|
|
8428
|
-
var _hoisted_2$
|
|
8429
|
-
var _hoisted_3$
|
|
8427
|
+
var _hoisted_1$36 = { class: "mint-reagent-list" };
|
|
8428
|
+
var _hoisted_2$32 = { class: "mint-reagent-list__header" };
|
|
8429
|
+
var _hoisted_3$29 = {
|
|
8430
8430
|
key: 0,
|
|
8431
8431
|
class: "mint-reagent-list__search"
|
|
8432
8432
|
};
|
|
8433
|
-
var _hoisted_4$
|
|
8433
|
+
var _hoisted_4$28 = {
|
|
8434
8434
|
key: 0,
|
|
8435
8435
|
class: "mint-reagent-list__table"
|
|
8436
8436
|
};
|
|
8437
|
-
var _hoisted_5$
|
|
8437
|
+
var _hoisted_5$26 = {
|
|
8438
8438
|
key: 0,
|
|
8439
8439
|
style: { "width": "24px" }
|
|
8440
8440
|
};
|
|
8441
|
-
var _hoisted_6$
|
|
8441
|
+
var _hoisted_6$26 = ["onClick"];
|
|
8442
8442
|
var _hoisted_7$23 = {
|
|
8443
8443
|
key: 0,
|
|
8444
8444
|
"stroke-linecap": "round",
|
|
@@ -8675,7 +8675,7 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
8675
8675
|
dragOverId.value = null;
|
|
8676
8676
|
}
|
|
8677
8677
|
return (_ctx, _cache) => {
|
|
8678
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8678
|
+
return openBlock(), createElementBlock("div", _hoisted_1$36, [createElementVNode("div", _hoisted_2$32, [__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$29, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
8679
8679
|
class: "mint-reagent-list__search-icon",
|
|
8680
8680
|
fill: "none",
|
|
8681
8681
|
stroke: "currentColor",
|
|
@@ -8704,8 +8704,8 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
8704
8704
|
"stroke-linejoin": "round",
|
|
8705
8705
|
"stroke-width": "2",
|
|
8706
8706
|
d: "M12 4v16m8-8H4"
|
|
8707
|
-
})], -1), createTextVNode(" Add ", -1)])])) : createCommentVNode("", true)]), unref(filteredReagents).length > 0 ? (openBlock(), createElementBlock("table", _hoisted_4$
|
|
8708
|
-
__props.sortable && !__props.readonly ? (openBlock(), createElementBlock("th", _hoisted_5$
|
|
8707
|
+
})], -1), createTextVNode(" Add ", -1)])])) : createCommentVNode("", true)]), unref(filteredReagents).length > 0 ? (openBlock(), createElementBlock("table", _hoisted_4$28, [createElementVNode("thead", null, [createElementVNode("tr", null, [
|
|
8708
|
+
__props.sortable && !__props.readonly ? (openBlock(), createElementBlock("th", _hoisted_5$26)) : createCommentVNode("", true),
|
|
8709
8709
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (col) => {
|
|
8710
8710
|
return openBlock(), createElementBlock("th", {
|
|
8711
8711
|
key: col,
|
|
@@ -8717,7 +8717,7 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
8717
8717
|
fill: "none",
|
|
8718
8718
|
stroke: "currentColor",
|
|
8719
8719
|
viewBox: "0 0 24 24"
|
|
8720
|
-
}, [sortColumn.value === col && sortDirection.value === "desc" ? (openBlock(), createElementBlock("path", _hoisted_7$23)) : (openBlock(), createElementBlock("path", _hoisted_8$20))], 2)) : createCommentVNode("", true)], 10, _hoisted_6$
|
|
8720
|
+
}, [sortColumn.value === col && sortDirection.value === "desc" ? (openBlock(), createElementBlock("path", _hoisted_7$23)) : (openBlock(), createElementBlock("path", _hoisted_8$20))], 2)) : createCommentVNode("", true)], 10, _hoisted_6$26);
|
|
8721
8721
|
}), 128)),
|
|
8722
8722
|
!__props.readonly ? (openBlock(), createElementBlock("th", _hoisted_9$18)) : createCommentVNode("", true)
|
|
8723
8723
|
])]), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(filteredReagents), (reagent) => {
|
|
@@ -8894,16 +8894,16 @@ function fieldRecipeSummary(input) {
|
|
|
8894
8894
|
}
|
|
8895
8895
|
//#endregion
|
|
8896
8896
|
//#region src/components/SmartGroupFieldRecipe.vue?vue&type=script&setup=true&lang.ts
|
|
8897
|
-
var _hoisted_1$
|
|
8898
|
-
var _hoisted_2$
|
|
8899
|
-
var _hoisted_3$
|
|
8900
|
-
var _hoisted_4$
|
|
8901
|
-
var _hoisted_5$
|
|
8897
|
+
var _hoisted_1$35 = { class: "sg-modal fr" };
|
|
8898
|
+
var _hoisted_2$31 = { class: "sg-head" };
|
|
8899
|
+
var _hoisted_3$28 = { class: "sg-head__sub" };
|
|
8900
|
+
var _hoisted_4$27 = ["aria-expanded"];
|
|
8901
|
+
var _hoisted_5$25 = {
|
|
8902
8902
|
key: 0,
|
|
8903
8903
|
class: "fr-csv-menu",
|
|
8904
8904
|
role: "menu"
|
|
8905
8905
|
};
|
|
8906
|
-
var _hoisted_6$
|
|
8906
|
+
var _hoisted_6$25 = [
|
|
8907
8907
|
"disabled",
|
|
8908
8908
|
"aria-disabled",
|
|
8909
8909
|
"title"
|
|
@@ -9179,14 +9179,14 @@ var SmartGroupFieldRecipe_default = /* @__PURE__ */ defineComponent({
|
|
|
9179
9179
|
});
|
|
9180
9180
|
}
|
|
9181
9181
|
return (_ctx, _cache) => {
|
|
9182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9183
|
-
createElementVNode("div", _hoisted_2$
|
|
9182
|
+
return openBlock(), createElementBlock("div", _hoisted_1$35, [
|
|
9183
|
+
createElementVNode("div", _hoisted_2$31, [
|
|
9184
9184
|
createVNode(Icon, {
|
|
9185
9185
|
d: ICON.bolt,
|
|
9186
9186
|
size: 18
|
|
9187
9187
|
}, null, 8, ["d"]),
|
|
9188
9188
|
_cache[11] || (_cache[11] = createElementVNode("span", { class: "sg-head__title" }, "Group samples", -1)),
|
|
9189
|
-
createElementVNode("span", _hoisted_3$
|
|
9189
|
+
createElementVNode("span", _hoisted_3$28, [createTextVNode("· " + toDisplayString(__props.headerCount) + " samples", 1), __props.experimentLabel ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [createTextVNode(" from " + toDisplayString(__props.experimentLabel), 1)], 64)) : createCommentVNode("", true)]),
|
|
9190
9190
|
_cache[12] || (_cache[12] = createElementVNode("div", { class: "sg-head__spacer" }, null, -1)),
|
|
9191
9191
|
createElementVNode("div", {
|
|
9192
9192
|
ref_key: "csvMenuRoot",
|
|
@@ -9209,8 +9209,8 @@ var SmartGroupFieldRecipe_default = /* @__PURE__ */ defineComponent({
|
|
|
9209
9209
|
d: ICON.chev,
|
|
9210
9210
|
size: 13
|
|
9211
9211
|
}, null, 8, ["d"])
|
|
9212
|
-
], 8, _hoisted_4$
|
|
9213
|
-
unref(csvMenuOpen) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
9212
|
+
], 8, _hoisted_4$27),
|
|
9213
|
+
unref(csvMenuOpen) ? (openBlock(), createElementBlock("div", _hoisted_5$25, [
|
|
9214
9214
|
createElementVNode("button", {
|
|
9215
9215
|
type: "button",
|
|
9216
9216
|
class: "fr-csv-item",
|
|
@@ -9231,7 +9231,7 @@ var SmartGroupFieldRecipe_default = /* @__PURE__ */ defineComponent({
|
|
|
9231
9231
|
}, [createVNode(Icon, {
|
|
9232
9232
|
d: ICON.download,
|
|
9233
9233
|
size: 14
|
|
9234
|
-
}, null, 8, ["d"]), _cache[8] || (_cache[8] = createTextVNode(" Download template ", -1))], 8, _hoisted_6$
|
|
9234
|
+
}, null, 8, ["d"]), _cache[8] || (_cache[8] = createTextVNode(" Download template ", -1))], 8, _hoisted_6$25),
|
|
9235
9235
|
createElementVNode("button", {
|
|
9236
9236
|
type: "button",
|
|
9237
9237
|
class: "fr-csv-item",
|
|
@@ -9458,16 +9458,16 @@ function assignSamples(samples, selected, assignment) {
|
|
|
9458
9458
|
}
|
|
9459
9459
|
//#endregion
|
|
9460
9460
|
//#region src/components/SmartGroupManual.vue?vue&type=script&setup=true&lang.ts
|
|
9461
|
-
var _hoisted_1$
|
|
9462
|
-
var _hoisted_2$
|
|
9463
|
-
var _hoisted_3$
|
|
9461
|
+
var _hoisted_1$34 = { class: "sg-modal mg2" };
|
|
9462
|
+
var _hoisted_2$30 = { class: "sg-head" };
|
|
9463
|
+
var _hoisted_3$27 = {
|
|
9464
9464
|
class: "sg-mode",
|
|
9465
9465
|
role: "tablist",
|
|
9466
9466
|
"aria-label": "Grouping mode"
|
|
9467
9467
|
};
|
|
9468
|
-
var _hoisted_4$
|
|
9469
|
-
var _hoisted_5$
|
|
9470
|
-
var _hoisted_6$
|
|
9468
|
+
var _hoisted_4$26 = { class: "mg2-body" };
|
|
9469
|
+
var _hoisted_5$24 = { class: "mg2-find" };
|
|
9470
|
+
var _hoisted_6$24 = { class: "mg2-search" };
|
|
9471
9471
|
var _hoisted_7$21 = { class: "mg2-chips" };
|
|
9472
9472
|
var _hoisted_8$18 = ["onClick"];
|
|
9473
9473
|
var _hoisted_9$16 = { class: "mg2-chip__n" };
|
|
@@ -9728,8 +9728,8 @@ var SmartGroupManual_default = /* @__PURE__ */ defineComponent({
|
|
|
9728
9728
|
emit("done", { samples: samples.value });
|
|
9729
9729
|
}
|
|
9730
9730
|
return (_ctx, _cache) => {
|
|
9731
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9732
|
-
createElementVNode("div", _hoisted_2$
|
|
9731
|
+
return openBlock(), createElementBlock("div", _hoisted_1$34, [
|
|
9732
|
+
createElementVNode("div", _hoisted_2$30, [
|
|
9733
9733
|
createVNode(Icon, {
|
|
9734
9734
|
d: ICON.layers,
|
|
9735
9735
|
size: 18
|
|
@@ -9737,7 +9737,7 @@ var SmartGroupManual_default = /* @__PURE__ */ defineComponent({
|
|
|
9737
9737
|
_cache[10] || (_cache[10] = createElementVNode("span", { class: "sg-head__title" }, "Group samples", -1)),
|
|
9738
9738
|
_cache[11] || (_cache[11] = createElementVNode("span", { class: "sg-head__sub" }, "· when names can’t be parsed automatically", -1)),
|
|
9739
9739
|
_cache[12] || (_cache[12] = createElementVNode("div", { class: "sg-head__spacer" }, null, -1)),
|
|
9740
|
-
createElementVNode("div", _hoisted_3$
|
|
9740
|
+
createElementVNode("div", _hoisted_3$27, [createElementVNode("button", {
|
|
9741
9741
|
type: "button",
|
|
9742
9742
|
class: "sg-mode__btn",
|
|
9743
9743
|
role: "tab",
|
|
@@ -9758,8 +9758,8 @@ var SmartGroupManual_default = /* @__PURE__ */ defineComponent({
|
|
|
9758
9758
|
size: 16
|
|
9759
9759
|
}, null, 8, ["d"])])
|
|
9760
9760
|
]),
|
|
9761
|
-
createElementVNode("div", _hoisted_4$
|
|
9762
|
-
createElementVNode("div", _hoisted_6$
|
|
9761
|
+
createElementVNode("div", _hoisted_4$26, [createElementVNode("div", _hoisted_5$24, [
|
|
9762
|
+
createElementVNode("div", _hoisted_6$24, [
|
|
9763
9763
|
createVNode(Icon, {
|
|
9764
9764
|
d: ICON.search,
|
|
9765
9765
|
size: 15
|
|
@@ -10332,9 +10332,9 @@ var AutoGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
10332
10332
|
});
|
|
10333
10333
|
//#endregion
|
|
10334
10334
|
//#region src/components/SampleSelectorSampleRow.vue?vue&type=script&setup=true&lang.ts
|
|
10335
|
-
var _hoisted_1$
|
|
10336
|
-
var _hoisted_2$
|
|
10337
|
-
var _hoisted_3$
|
|
10335
|
+
var _hoisted_1$33 = ["title", "aria-label"];
|
|
10336
|
+
var _hoisted_2$29 = ["checked", "aria-label"];
|
|
10337
|
+
var _hoisted_3$26 = { class: "mint-sample-selector__sample-name" };
|
|
10338
10338
|
//#endregion
|
|
10339
10339
|
//#region src/components/SampleSelectorSampleRow.vue
|
|
10340
10340
|
var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10385,8 +10385,8 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
10385
10385
|
style: normalizeStyle(__props.accentColor ? { accentColor: __props.accentColor } : void 0),
|
|
10386
10386
|
"aria-label": `Select sample ${__props.sample}`,
|
|
10387
10387
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("toggle"))
|
|
10388
|
-
}, null, 46, _hoisted_2$
|
|
10389
|
-
createElementVNode("span", _hoisted_3$
|
|
10388
|
+
}, null, 46, _hoisted_2$29),
|
|
10389
|
+
createElementVNode("span", _hoisted_3$26, toDisplayString(__props.sample), 1),
|
|
10390
10390
|
__props.removable ? (openBlock(), createElementBlock("button", {
|
|
10391
10391
|
key: 0,
|
|
10392
10392
|
type: "button",
|
|
@@ -10405,7 +10405,7 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
10405
10405
|
"stroke-width": "2",
|
|
10406
10406
|
d: "M20 12H4"
|
|
10407
10407
|
})], -1)])])) : createCommentVNode("", true)
|
|
10408
|
-
], 10, _hoisted_1$
|
|
10408
|
+
], 10, _hoisted_1$33);
|
|
10409
10409
|
};
|
|
10410
10410
|
}
|
|
10411
10411
|
});
|
|
@@ -10660,15 +10660,15 @@ function useSampleSelectorSelection(options) {
|
|
|
10660
10660
|
}
|
|
10661
10661
|
//#endregion
|
|
10662
10662
|
//#region src/components/SampleSelector.vue?vue&type=script&setup=true&lang.ts
|
|
10663
|
-
var _hoisted_1$
|
|
10664
|
-
var _hoisted_2$
|
|
10665
|
-
var _hoisted_3$
|
|
10666
|
-
var _hoisted_4$
|
|
10667
|
-
var _hoisted_5$
|
|
10663
|
+
var _hoisted_1$32 = { class: "mint-sample-selector" };
|
|
10664
|
+
var _hoisted_2$28 = { class: "mint-sample-selector__select-all" };
|
|
10665
|
+
var _hoisted_3$25 = ["checked"];
|
|
10666
|
+
var _hoisted_4$25 = { class: "mint-sample-selector__select-all-count" };
|
|
10667
|
+
var _hoisted_5$23 = {
|
|
10668
10668
|
key: 0,
|
|
10669
10669
|
class: "mint-sample-selector__actions"
|
|
10670
10670
|
};
|
|
10671
|
-
var _hoisted_6$
|
|
10671
|
+
var _hoisted_6$23 = { class: "mint-sample-selector__actions-row" };
|
|
10672
10672
|
var _hoisted_7$20 = {
|
|
10673
10673
|
key: 0,
|
|
10674
10674
|
class: "mint-sample-selector__action-icon",
|
|
@@ -10913,18 +10913,18 @@ var SampleSelector_default = /* @__PURE__ */ defineComponent({
|
|
|
10913
10913
|
}
|
|
10914
10914
|
__expose({ handleSmartGroupApply });
|
|
10915
10915
|
return (_ctx, _cache) => {
|
|
10916
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10917
|
-
createElementVNode("label", _hoisted_2$
|
|
10916
|
+
return openBlock(), createElementBlock("div", _hoisted_1$32, [
|
|
10917
|
+
createElementVNode("label", _hoisted_2$28, [
|
|
10918
10918
|
createElementVNode("input", {
|
|
10919
10919
|
type: "checkbox",
|
|
10920
10920
|
checked: unref(isAllSelected),
|
|
10921
10921
|
onChange: _cache[0] || (_cache[0] = (...args) => unref(toggleSelectAll) && unref(toggleSelectAll)(...args)),
|
|
10922
10922
|
class: "mint-sample-selector__checkbox"
|
|
10923
|
-
}, null, 40, _hoisted_3$
|
|
10923
|
+
}, null, 40, _hoisted_3$25),
|
|
10924
10924
|
_cache[17] || (_cache[17] = createElementVNode("span", { class: "mint-sample-selector__select-all-label" }, "Select All", -1)),
|
|
10925
|
-
createElementVNode("span", _hoisted_4$
|
|
10925
|
+
createElementVNode("span", _hoisted_4$25, toDisplayString(resolvedSamples.value.length) + " samples", 1)
|
|
10926
10926
|
]),
|
|
10927
|
-
__props.enableGrouping ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
10927
|
+
__props.enableGrouping ? (openBlock(), createElementBlock("div", _hoisted_5$23, [createElementVNode("div", _hoisted_6$23, [createVNode(BaseButton_default, {
|
|
10928
10928
|
variant: __props.enableSmartGroup && groupingEnabled.value ? "primary" : "secondary",
|
|
10929
10929
|
size: "sm",
|
|
10930
10930
|
disabled: resolvedSamples.value.length === 0,
|
|
@@ -11590,21 +11590,21 @@ function formatEventTime(event) {
|
|
|
11590
11590
|
}
|
|
11591
11591
|
//#endregion
|
|
11592
11592
|
//#region src/components/ScheduleCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
11593
|
-
var _hoisted_1$
|
|
11593
|
+
var _hoisted_1$31 = {
|
|
11594
11594
|
key: 0,
|
|
11595
11595
|
class: "mint-schedule__header"
|
|
11596
11596
|
};
|
|
11597
|
-
var _hoisted_2$
|
|
11597
|
+
var _hoisted_2$27 = {
|
|
11598
11598
|
key: 0,
|
|
11599
11599
|
class: "mint-schedule__nav"
|
|
11600
11600
|
};
|
|
11601
|
-
var _hoisted_3$
|
|
11602
|
-
var _hoisted_4$
|
|
11601
|
+
var _hoisted_3$24 = { class: "mint-schedule__title" };
|
|
11602
|
+
var _hoisted_4$24 = {
|
|
11603
11603
|
key: 1,
|
|
11604
11604
|
class: "mint-schedule__view-toggle"
|
|
11605
11605
|
};
|
|
11606
|
-
var _hoisted_5$
|
|
11607
|
-
var _hoisted_6$
|
|
11606
|
+
var _hoisted_5$22 = ["onClick"];
|
|
11607
|
+
var _hoisted_6$22 = {
|
|
11608
11608
|
key: 0,
|
|
11609
11609
|
class: "mint-schedule__day-headers"
|
|
11610
11610
|
};
|
|
@@ -11817,8 +11817,8 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11817
11817
|
class: "mint-schedule",
|
|
11818
11818
|
style: normalizeStyle({ "--slot-height": `${unref(SLOT_HEIGHT)}px` })
|
|
11819
11819
|
}, [
|
|
11820
|
-
__props.showNavigation || __props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11821
|
-
__props.showNavigation ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
11820
|
+
__props.showNavigation || __props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_1$31, [
|
|
11821
|
+
__props.showNavigation ? (openBlock(), createElementBlock("div", _hoisted_2$27, [
|
|
11822
11822
|
createElementVNode("button", {
|
|
11823
11823
|
type: "button",
|
|
11824
11824
|
class: "mint-schedule__nav-btn",
|
|
@@ -11851,8 +11851,8 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11851
11851
|
onClick: _cache[2] || (_cache[2] = ($event) => navigate("today"))
|
|
11852
11852
|
}, " Today ")
|
|
11853
11853
|
])) : createCommentVNode("", true),
|
|
11854
|
-
createElementVNode("span", _hoisted_3$
|
|
11855
|
-
__props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11854
|
+
createElementVNode("span", _hoisted_3$24, toDisplayString(unref(headerTitle)), 1),
|
|
11855
|
+
__props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_4$24, [(openBlock(), createElementBlock(Fragment, null, renderList([
|
|
11856
11856
|
"day",
|
|
11857
11857
|
"week",
|
|
11858
11858
|
"month"
|
|
@@ -11862,10 +11862,10 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11862
11862
|
type: "button",
|
|
11863
11863
|
class: normalizeClass(["mint-schedule__view-btn", currentView.value === v ? "mint-schedule__view-btn--active" : ""]),
|
|
11864
11864
|
onClick: ($event) => setView(v)
|
|
11865
|
-
}, toDisplayString(v.charAt(0).toUpperCase() + v.slice(1)), 11, _hoisted_5$
|
|
11865
|
+
}, toDisplayString(v.charAt(0).toUpperCase() + v.slice(1)), 11, _hoisted_5$22);
|
|
11866
11866
|
}), 64))])) : createCommentVNode("", true)
|
|
11867
11867
|
])) : createCommentVNode("", true),
|
|
11868
|
-
currentView.value === "day" || currentView.value === "week" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [currentView.value === "week" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11868
|
+
currentView.value === "day" || currentView.value === "week" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [currentView.value === "week" ? (openBlock(), createElementBlock("div", _hoisted_6$22, [_cache[5] || (_cache[5] = createElementVNode("div", { class: "mint-schedule__day-header-gutter" }, null, -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(unref(visibleDays), (day, i) => {
|
|
11869
11869
|
return openBlock(), createElementBlock("div", {
|
|
11870
11870
|
key: i,
|
|
11871
11871
|
class: normalizeClass(["mint-schedule__day-header", unref(isToday)(day) ? "mint-schedule__day-header--today" : ""])
|
|
@@ -11975,22 +11975,22 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11975
11975
|
});
|
|
11976
11976
|
//#endregion
|
|
11977
11977
|
//#region src/components/ComponentBindingRenderer.vue?vue&type=script&setup=true&lang.ts
|
|
11978
|
-
var _hoisted_1$
|
|
11978
|
+
var _hoisted_1$30 = [
|
|
11979
11979
|
"data-component-binding-id",
|
|
11980
11980
|
"data-template-id",
|
|
11981
11981
|
"data-template-component"
|
|
11982
11982
|
];
|
|
11983
|
-
var _hoisted_2$
|
|
11983
|
+
var _hoisted_2$26 = {
|
|
11984
11984
|
key: 0,
|
|
11985
11985
|
class: "mint-component-binding-renderer__header"
|
|
11986
11986
|
};
|
|
11987
|
-
var _hoisted_3$
|
|
11988
|
-
var _hoisted_4$
|
|
11989
|
-
var _hoisted_5$
|
|
11987
|
+
var _hoisted_3$23 = { class: "mint-component-binding-renderer__title-group" };
|
|
11988
|
+
var _hoisted_4$23 = { class: "mint-component-binding-renderer__component" };
|
|
11989
|
+
var _hoisted_5$21 = {
|
|
11990
11990
|
key: 0,
|
|
11991
11991
|
class: "mint-component-binding-renderer__source"
|
|
11992
11992
|
};
|
|
11993
|
-
var _hoisted_6$
|
|
11993
|
+
var _hoisted_6$21 = {
|
|
11994
11994
|
key: 0,
|
|
11995
11995
|
class: "mint-component-binding-renderer__description"
|
|
11996
11996
|
};
|
|
@@ -12120,14 +12120,14 @@ var ComponentBindingRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper
|
|
|
12120
12120
|
"data-component-binding-id": renderableBinding.id,
|
|
12121
12121
|
"data-template-id": renderableBinding.template_id,
|
|
12122
12122
|
"data-template-component": renderableBinding.component
|
|
12123
|
-
}, [__props.showHeaders ? (openBlock(), createElementBlock("header", _hoisted_2$
|
|
12123
|
+
}, [__props.showHeaders ? (openBlock(), createElementBlock("header", _hoisted_2$26, [createElementVNode("div", _hoisted_3$23, [createElementVNode("p", _hoisted_4$23, toDisplayString(renderableBinding.component), 1), renderableBinding.template_id || renderableBinding.id ? (openBlock(), createElementBlock("p", _hoisted_5$21, toDisplayString(renderableBinding.template_id ?? renderableBinding.id), 1)) : createCommentVNode("", true)]), __props.showDescriptions && renderableBinding.description ? (openBlock(), createElementBlock("p", _hoisted_6$21, toDisplayString(renderableBinding.description), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), createElementVNode("div", _hoisted_7$18, [(openBlock(), createBlock(resolveDynamicComponent(renderableBinding.componentImpl), mergeProps({ ref_for: true }, renderableBinding.normalizedProps), null, 16))])], 8, _hoisted_1$30);
|
|
12124
12124
|
}), 128)), renderableBindings.value.length === 0 ? (openBlock(), createElementBlock("p", _hoisted_8$15, toDisplayString(__props.emptyText), 1)) : createCommentVNode("", true)], 2);
|
|
12125
12125
|
};
|
|
12126
12126
|
}
|
|
12127
12127
|
}), [["__scopeId", "data-v-93f5795f"]]);
|
|
12128
12128
|
//#endregion
|
|
12129
12129
|
//#region src/components/ControlWorkspaceView.vue?vue&type=script&setup=true&lang.ts
|
|
12130
|
-
var _hoisted_1$
|
|
12130
|
+
var _hoisted_1$29 = { class: "mint-control-workspace-view__content" };
|
|
12131
12131
|
//#endregion
|
|
12132
12132
|
//#region src/components/ControlWorkspaceView.vue
|
|
12133
12133
|
var ControlWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -12349,7 +12349,7 @@ var ControlWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_def
|
|
|
12349
12349
|
"form-disabled",
|
|
12350
12350
|
"form-readonly"
|
|
12351
12351
|
])], true)]),
|
|
12352
|
-
default: withCtx(() => [createElementVNode("main", _hoisted_1$
|
|
12352
|
+
default: withCtx(() => [createElementVNode("main", _hoisted_1$29, [renderSlot(_ctx.$slots, "default", {
|
|
12353
12353
|
workspace: resolvedWorkspace.value,
|
|
12354
12354
|
bindings: resolvedBindings.value,
|
|
12355
12355
|
values: resolvedWorkspace.value.values,
|
|
@@ -12386,7 +12386,7 @@ var ControlWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_def
|
|
|
12386
12386
|
}), [["__scopeId", "data-v-83e93e6c"]]);
|
|
12387
12387
|
//#endregion
|
|
12388
12388
|
//#region src/components/DoseDesignWorkspaceView.vue?vue&type=script&setup=true&lang.ts
|
|
12389
|
-
var _hoisted_1$
|
|
12389
|
+
var _hoisted_1$28 = { class: "mint-dose-design-workspace" };
|
|
12390
12390
|
//#endregion
|
|
12391
12391
|
//#region src/components/DoseDesignWorkspaceView.vue
|
|
12392
12392
|
var DoseDesignWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -12517,7 +12517,7 @@ var DoseDesignWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
12517
12517
|
onSubmit: _cache[2] || (_cache[2] = ($event) => emit("submit", $event)),
|
|
12518
12518
|
onCancel: _cache[3] || (_cache[3] = ($event) => emit("cancel"))
|
|
12519
12519
|
}, {
|
|
12520
|
-
default: withCtx((workspaceSlotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps(workspaceSlotProps))), () => [createElementVNode("div", _hoisted_1$
|
|
12520
|
+
default: withCtx((workspaceSlotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps(workspaceSlotProps))), () => [createElementVNode("div", _hoisted_1$28, [renderSlot(_ctx.$slots, "plate", normalizeProps(guardReactiveProps(slotProps(workspaceSlotProps))), () => [createVNode(WellPlate_default, normalizeProps(guardReactiveProps(wellPlateBinding(workspaceSlotProps.componentPropsById))), null, 16)], true), renderSlot(_ctx.$slots, "dose", normalizeProps(guardReactiveProps(slotProps(workspaceSlotProps))), () => [createVNode(DoseCalculator_default, normalizeProps(guardReactiveProps(doseCalculatorBinding(workspaceSlotProps.componentPropsById))), null, 16)], true)])], true)]),
|
|
12521
12521
|
_: 3
|
|
12522
12522
|
}, 8, [
|
|
12523
12523
|
"model",
|
|
@@ -12575,11 +12575,11 @@ var AppContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
12575
12575
|
});
|
|
12576
12576
|
//#endregion
|
|
12577
12577
|
//#region src/components/Divider.vue?vue&type=script&setup=true&lang.ts
|
|
12578
|
-
var _hoisted_1$
|
|
12578
|
+
var _hoisted_1$27 = {
|
|
12579
12579
|
key: 0,
|
|
12580
12580
|
class: "mint-divider__line"
|
|
12581
12581
|
};
|
|
12582
|
-
var _hoisted_2$
|
|
12582
|
+
var _hoisted_2$25 = { class: "mint-divider__label" };
|
|
12583
12583
|
//#endregion
|
|
12584
12584
|
//#region src/components/Divider.vue
|
|
12585
12585
|
var Divider_default = /* @__PURE__ */ defineComponent({
|
|
@@ -12615,8 +12615,8 @@ var Divider_default = /* @__PURE__ */ defineComponent({
|
|
|
12615
12615
|
role: "separator",
|
|
12616
12616
|
"aria-orientation": "horizontal"
|
|
12617
12617
|
}, [__props.label ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
12618
|
-
__props.align === "center" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
12619
|
-
createElementVNode("span", _hoisted_2$
|
|
12618
|
+
__props.align === "center" ? (openBlock(), createElementBlock("span", _hoisted_1$27)) : createCommentVNode("", true),
|
|
12619
|
+
createElementVNode("span", _hoisted_2$25, toDisplayString(__props.label), 1),
|
|
12620
12620
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "mint-divider__line" }, null, -1))
|
|
12621
12621
|
], 64)) : createCommentVNode("", true)], 2));
|
|
12622
12622
|
};
|
|
@@ -12624,8 +12624,8 @@ var Divider_default = /* @__PURE__ */ defineComponent({
|
|
|
12624
12624
|
});
|
|
12625
12625
|
//#endregion
|
|
12626
12626
|
//#region src/components/StatusIndicator.vue?vue&type=script&setup=true&lang.ts
|
|
12627
|
-
var _hoisted_1$
|
|
12628
|
-
var _hoisted_2$
|
|
12627
|
+
var _hoisted_1$26 = { class: "mint-status" };
|
|
12628
|
+
var _hoisted_2$24 = {
|
|
12629
12629
|
key: 0,
|
|
12630
12630
|
class: "mint-status__label"
|
|
12631
12631
|
};
|
|
@@ -12650,42 +12650,42 @@ var StatusIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
12650
12650
|
color: props.color
|
|
12651
12651
|
} : {});
|
|
12652
12652
|
return (_ctx, _cache) => {
|
|
12653
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
12653
|
+
return openBlock(), createElementBlock("span", _hoisted_1$26, [createElementVNode("span", {
|
|
12654
12654
|
class: normalizeClass([
|
|
12655
12655
|
"mint-status__dot",
|
|
12656
12656
|
{ [`mint-status__dot--${__props.status}`]: !__props.color },
|
|
12657
12657
|
{ "mint-status__dot--pulse": __props.pulse }
|
|
12658
12658
|
]),
|
|
12659
12659
|
style: normalizeStyle(dotStyle.value)
|
|
12660
|
-
}, null, 6), __props.label ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
12660
|
+
}, null, 6), __props.label ? (openBlock(), createElementBlock("span", _hoisted_2$24, toDisplayString(__props.label), 1)) : createCommentVNode("", true)]);
|
|
12661
12661
|
};
|
|
12662
12662
|
}
|
|
12663
12663
|
});
|
|
12664
12664
|
//#endregion
|
|
12665
12665
|
//#region src/components/ProgressBar.vue?vue&type=script&setup=true&lang.ts
|
|
12666
|
-
var _hoisted_1$
|
|
12666
|
+
var _hoisted_1$25 = {
|
|
12667
12667
|
key: 0,
|
|
12668
12668
|
class: "mint-progress__header"
|
|
12669
12669
|
};
|
|
12670
|
-
var _hoisted_2$
|
|
12670
|
+
var _hoisted_2$23 = {
|
|
12671
12671
|
key: 0,
|
|
12672
12672
|
class: "mint-progress__label"
|
|
12673
12673
|
};
|
|
12674
|
-
var _hoisted_3$
|
|
12674
|
+
var _hoisted_3$22 = {
|
|
12675
12675
|
key: 1,
|
|
12676
12676
|
class: "mint-progress__value"
|
|
12677
12677
|
};
|
|
12678
|
-
var _hoisted_4$
|
|
12678
|
+
var _hoisted_4$22 = {
|
|
12679
12679
|
key: 2,
|
|
12680
12680
|
class: "mint-progress__value"
|
|
12681
12681
|
};
|
|
12682
|
-
var _hoisted_5$
|
|
12682
|
+
var _hoisted_5$20 = [
|
|
12683
12683
|
"aria-valuenow",
|
|
12684
12684
|
"aria-valuemin",
|
|
12685
12685
|
"aria-valuemax",
|
|
12686
12686
|
"aria-label"
|
|
12687
12687
|
];
|
|
12688
|
-
var _hoisted_6$
|
|
12688
|
+
var _hoisted_6$20 = [
|
|
12689
12689
|
"aria-valuenow",
|
|
12690
12690
|
"aria-valuemax",
|
|
12691
12691
|
"aria-label"
|
|
@@ -12727,10 +12727,10 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12727
12727
|
const segmentCount = computed(() => props.steps.length || 0);
|
|
12728
12728
|
return (_ctx, _cache) => {
|
|
12729
12729
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-progress", `mint-progress--${__props.variant}`]) }, [
|
|
12730
|
-
__props.label || __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
12731
|
-
__props.label ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
12732
|
-
__props.showValue && !__props.indeterminate && __props.variant === "rail" ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
12733
|
-
__props.showValue && __props.variant === "segmented" && segmentCount.value ? (openBlock(), createElementBlock("span", _hoisted_4$
|
|
12730
|
+
__props.label || __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$25, [
|
|
12731
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_2$23, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
12732
|
+
__props.showValue && !__props.indeterminate && __props.variant === "rail" ? (openBlock(), createElementBlock("span", _hoisted_3$22, toDisplayString(clampedValue.value) + "%", 1)) : createCommentVNode("", true),
|
|
12733
|
+
__props.showValue && __props.variant === "segmented" && segmentCount.value ? (openBlock(), createElementBlock("span", _hoisted_4$22, toDisplayString(__props.currentStep) + " / " + toDisplayString(segmentCount.value), 1)) : createCommentVNode("", true)
|
|
12734
12734
|
])) : createCommentVNode("", true),
|
|
12735
12735
|
__props.variant === "rail" ? (openBlock(), createElementBlock("div", {
|
|
12736
12736
|
key: 1,
|
|
@@ -12747,7 +12747,7 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12747
12747
|
__props.indeterminate ? "mint-progress__bar--indeterminate" : ""
|
|
12748
12748
|
]),
|
|
12749
12749
|
style: normalizeStyle(barStyle.value)
|
|
12750
|
-
}, null, 6)], 10, _hoisted_5$
|
|
12750
|
+
}, null, 6)], 10, _hoisted_5$20)) : (openBlock(), createElementBlock("div", {
|
|
12751
12751
|
key: 2,
|
|
12752
12752
|
class: normalizeClass(["mint-progress__segments", `mint-progress__segments--${__props.size}`]),
|
|
12753
12753
|
role: "progressbar",
|
|
@@ -12764,7 +12764,7 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12764
12764
|
i === __props.currentStep ? `mint-progress__segment--active mint-progress__segment--${__props.color}` : ""
|
|
12765
12765
|
])
|
|
12766
12766
|
}, null, 2);
|
|
12767
|
-
}), 128))], 10, _hoisted_6$
|
|
12767
|
+
}), 128))], 10, _hoisted_6$20)),
|
|
12768
12768
|
__props.variant === "segmented" && __props.steps.length ? (openBlock(), createElementBlock("div", _hoisted_7$17, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.steps, (step, i) => {
|
|
12769
12769
|
return openBlock(), createElementBlock("span", {
|
|
12770
12770
|
key: i,
|
|
@@ -12781,13 +12781,13 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12781
12781
|
});
|
|
12782
12782
|
//#endregion
|
|
12783
12783
|
//#region src/components/Avatar.vue?vue&type=script&setup=true&lang.ts
|
|
12784
|
-
var _hoisted_1$
|
|
12785
|
-
var _hoisted_2$
|
|
12786
|
-
var _hoisted_3$
|
|
12784
|
+
var _hoisted_1$24 = ["aria-label"];
|
|
12785
|
+
var _hoisted_2$22 = ["src", "alt"];
|
|
12786
|
+
var _hoisted_3$21 = {
|
|
12787
12787
|
key: 1,
|
|
12788
12788
|
class: "mint-avatar__initials"
|
|
12789
12789
|
};
|
|
12790
|
-
var _hoisted_4$
|
|
12790
|
+
var _hoisted_4$21 = {
|
|
12791
12791
|
key: 2,
|
|
12792
12792
|
class: "mint-avatar__fallback",
|
|
12793
12793
|
viewBox: "0 0 24 24",
|
|
@@ -12840,29 +12840,29 @@ var Avatar_default = /* @__PURE__ */ defineComponent({
|
|
|
12840
12840
|
src: __props.src,
|
|
12841
12841
|
alt: __props.alt || __props.name || "",
|
|
12842
12842
|
class: "mint-avatar__image"
|
|
12843
|
-
}, null, 8, _hoisted_2$
|
|
12843
|
+
}, null, 8, _hoisted_2$22)) : computedInitials.value ? (openBlock(), createElementBlock("span", _hoisted_3$21, toDisplayString(computedInitials.value), 1)) : (openBlock(), createElementBlock("svg", _hoisted_4$21, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z" }, null, -1)])]))], 4), __props.status ? (openBlock(), createElementBlock("span", {
|
|
12844
12844
|
key: 0,
|
|
12845
12845
|
class: normalizeClass(["mint-avatar__status", `mint-avatar__status--${__props.status}`]),
|
|
12846
12846
|
"aria-hidden": "true"
|
|
12847
|
-
}, null, 2)) : createCommentVNode("", true)], 10, _hoisted_1$
|
|
12847
|
+
}, null, 2)) : createCommentVNode("", true)], 10, _hoisted_1$24);
|
|
12848
12848
|
};
|
|
12849
12849
|
}
|
|
12850
12850
|
});
|
|
12851
12851
|
//#endregion
|
|
12852
12852
|
//#region src/components/Breadcrumb.vue?vue&type=script&setup=true&lang.ts
|
|
12853
|
-
var _hoisted_1$
|
|
12853
|
+
var _hoisted_1$23 = {
|
|
12854
12854
|
class: "mint-breadcrumb",
|
|
12855
12855
|
"aria-label": "Breadcrumb"
|
|
12856
12856
|
};
|
|
12857
|
-
var _hoisted_2$
|
|
12858
|
-
var _hoisted_3$
|
|
12859
|
-
var _hoisted_4$
|
|
12860
|
-
var _hoisted_5$
|
|
12857
|
+
var _hoisted_2$21 = { class: "mint-breadcrumb__list" };
|
|
12858
|
+
var _hoisted_3$20 = ["href"];
|
|
12859
|
+
var _hoisted_4$20 = ["onClick"];
|
|
12860
|
+
var _hoisted_5$19 = {
|
|
12861
12861
|
key: 2,
|
|
12862
12862
|
class: "mint-breadcrumb__current",
|
|
12863
12863
|
"aria-current": "page"
|
|
12864
12864
|
};
|
|
12865
|
-
var _hoisted_6$
|
|
12865
|
+
var _hoisted_6$19 = {
|
|
12866
12866
|
key: 0,
|
|
12867
12867
|
class: "mint-breadcrumb__separator",
|
|
12868
12868
|
"aria-hidden": "true"
|
|
@@ -12895,7 +12895,7 @@ var Breadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
|
12895
12895
|
if (!item.href) emit("navigate", item);
|
|
12896
12896
|
}
|
|
12897
12897
|
return (_ctx, _cache) => {
|
|
12898
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
12898
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$23, [createElementVNode("ol", _hoisted_2$21, [(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedItems.value, (item, index) => {
|
|
12899
12899
|
return openBlock(), createElementBlock("li", {
|
|
12900
12900
|
key: index,
|
|
12901
12901
|
class: "mint-breadcrumb__item"
|
|
@@ -12907,11 +12907,11 @@ var Breadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
|
12907
12907
|
key: 0,
|
|
12908
12908
|
href: item.href,
|
|
12909
12909
|
class: "mint-breadcrumb__link"
|
|
12910
|
-
}, toDisplayString(item.label), 9, _hoisted_3$
|
|
12910
|
+
}, toDisplayString(item.label), 9, _hoisted_3$20)) : index !== normalizedItems.value.length - 1 ? (openBlock(), createElementBlock("button", {
|
|
12911
12911
|
key: 1,
|
|
12912
12912
|
class: "mint-breadcrumb__link",
|
|
12913
12913
|
onClick: ($event) => handleClick(item)
|
|
12914
|
-
}, toDisplayString(item.label), 9, _hoisted_4$
|
|
12914
|
+
}, toDisplayString(item.label), 9, _hoisted_4$20)) : (openBlock(), createElementBlock("span", _hoisted_5$19, toDisplayString(item.label), 1))]), index !== normalizedItems.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_6$19, [renderSlot(_ctx.$slots, "separator", {}, () => [__props.separator === "/" ? (openBlock(), createElementBlock("svg", _hoisted_7$16, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "m9 18 6-6-6-6" }, null, -1)])])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(__props.separator), 1)], 64))])])) : createCommentVNode("", true)]);
|
|
12915
12915
|
}), 128))])]);
|
|
12916
12916
|
};
|
|
12917
12917
|
}
|
|
@@ -12972,18 +12972,18 @@ var BioTemplateRenderer_default = /* @__PURE__ */ defineComponent({
|
|
|
12972
12972
|
});
|
|
12973
12973
|
//#endregion
|
|
12974
12974
|
//#region src/components/BioTemplateExperimentWorkspaceView.vue?vue&type=script&setup=true&lang.ts
|
|
12975
|
-
var _hoisted_1$
|
|
12976
|
-
var _hoisted_2$
|
|
12977
|
-
var _hoisted_3$
|
|
12978
|
-
var _hoisted_4$
|
|
12975
|
+
var _hoisted_1$22 = { class: "mint-bio-template-experiment-workspace" };
|
|
12976
|
+
var _hoisted_2$20 = { class: "mint-bio-template-experiment-workspace__toolbar" };
|
|
12977
|
+
var _hoisted_3$19 = { class: "mint-bio-template-experiment-workspace__actions" };
|
|
12978
|
+
var _hoisted_4$19 = {
|
|
12979
12979
|
key: 1,
|
|
12980
12980
|
class: "mint-bio-template-experiment-workspace__meta"
|
|
12981
12981
|
};
|
|
12982
|
-
var _hoisted_5$
|
|
12982
|
+
var _hoisted_5$18 = {
|
|
12983
12983
|
key: 2,
|
|
12984
12984
|
class: "mint-bio-template-experiment-workspace__templates"
|
|
12985
12985
|
};
|
|
12986
|
-
var _hoisted_6$
|
|
12986
|
+
var _hoisted_6$18 = { class: "mint-bio-template-experiment-workspace__template-id" };
|
|
12987
12987
|
var _hoisted_7$15 = { class: "mint-bio-template-experiment-workspace__template-version" };
|
|
12988
12988
|
var _hoisted_8$14 = { class: "mint-bio-template-experiment-workspace__meta" };
|
|
12989
12989
|
//#endregion
|
|
@@ -13085,14 +13085,14 @@ var BioTemplateExperimentWorkspaceView_default = /* @__PURE__ */ _plugin_vue_exp
|
|
|
13085
13085
|
emit("save");
|
|
13086
13086
|
}
|
|
13087
13087
|
return (_ctx, _cache) => {
|
|
13088
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13089
|
-
createElementVNode("div", _hoisted_2$
|
|
13088
|
+
return openBlock(), createElementBlock("div", _hoisted_1$22, [
|
|
13089
|
+
createElementVNode("div", _hoisted_2$20, [createVNode(AlertBox_default, {
|
|
13090
13090
|
type: "info",
|
|
13091
13091
|
class: "mint-bio-template-experiment-workspace__status"
|
|
13092
13092
|
}, {
|
|
13093
13093
|
default: withCtx(() => [createTextVNode(toDisplayString(statusMessage.value), 1)]),
|
|
13094
13094
|
_: 1
|
|
13095
|
-
}), createElementVNode("div", _hoisted_3$
|
|
13095
|
+
}), createElementVNode("div", _hoisted_3$19, [
|
|
13096
13096
|
createVNode(BaseButton_default, {
|
|
13097
13097
|
variant: "secondary",
|
|
13098
13098
|
loading: resolvedLoading.value,
|
|
@@ -13127,12 +13127,12 @@ var BioTemplateExperimentWorkspaceView_default = /* @__PURE__ */ _plugin_vue_exp
|
|
|
13127
13127
|
default: withCtx(() => [createTextVNode(toDisplayString(resolvedError.value), 1)]),
|
|
13128
13128
|
_: 1
|
|
13129
13129
|
})) : createCommentVNode("", true),
|
|
13130
|
-
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
13131
|
-
__props.showTemplateSummary ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
13130
|
+
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$19, " loaded: " + toDisplayString(resolvedLastLoadedAt.value?.toLocaleString() ?? "not loaded") + " - saved: " + toDisplayString(resolvedLastSavedAt.value?.toLocaleString() ?? "not saved"), 1)) : createCommentVNode("", true),
|
|
13131
|
+
__props.showTemplateSummary ? (openBlock(), createElementBlock("div", _hoisted_5$18, [(openBlock(true), createElementBlock(Fragment, null, renderList(templateSummaries.value, (template) => {
|
|
13132
13132
|
return openBlock(), createElementBlock("div", {
|
|
13133
13133
|
key: template.id,
|
|
13134
13134
|
class: "mint-bio-template-experiment-workspace__template"
|
|
13135
|
-
}, [createElementVNode("p", _hoisted_6$
|
|
13135
|
+
}, [createElementVNode("p", _hoisted_6$18, toDisplayString(template.id), 1), createElementVNode("p", _hoisted_7$15, " v" + toDisplayString(template.version), 1)]);
|
|
13136
13136
|
}), 128))])) : createCommentVNode("", true),
|
|
13137
13137
|
renderSlot(_ctx.$slots, "default", {
|
|
13138
13138
|
target: __props.target,
|
|
@@ -13274,15 +13274,15 @@ var BioTemplatePackWorkspaceView_default = /* @__PURE__ */ defineComponent({
|
|
|
13274
13274
|
});
|
|
13275
13275
|
//#endregion
|
|
13276
13276
|
//#region src/components/BioTemplatePresetWorkspaceView.vue?vue&type=script&setup=true&lang.ts
|
|
13277
|
-
var _hoisted_1$
|
|
13278
|
-
var _hoisted_2$
|
|
13279
|
-
var _hoisted_3$
|
|
13280
|
-
var _hoisted_4$
|
|
13277
|
+
var _hoisted_1$21 = { class: "mint-bio-template-preset-workspace" };
|
|
13278
|
+
var _hoisted_2$19 = { class: "mint-bio-template-preset-workspace__toolbar" };
|
|
13279
|
+
var _hoisted_3$18 = { class: "mint-bio-template-preset-workspace__actions" };
|
|
13280
|
+
var _hoisted_4$18 = {
|
|
13281
13281
|
key: 1,
|
|
13282
13282
|
class: "mint-bio-template-preset-workspace__meta"
|
|
13283
13283
|
};
|
|
13284
|
-
var _hoisted_5$
|
|
13285
|
-
var _hoisted_6$
|
|
13284
|
+
var _hoisted_5$17 = { class: "mint-bio-template-preset-workspace__main" };
|
|
13285
|
+
var _hoisted_6$17 = { class: "mint-bio-template-preset-workspace__sidebar-subtitle" };
|
|
13286
13286
|
var _hoisted_7$14 = {
|
|
13287
13287
|
key: 2,
|
|
13288
13288
|
class: "mint-bio-template-preset-workspace__templates"
|
|
@@ -13425,14 +13425,14 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13425
13425
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
13426
13426
|
}
|
|
13427
13427
|
return (_ctx, _cache) => {
|
|
13428
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13429
|
-
createElementVNode("div", _hoisted_2$
|
|
13428
|
+
return openBlock(), createElementBlock("div", _hoisted_1$21, [
|
|
13429
|
+
createElementVNode("div", _hoisted_2$19, [createVNode(AlertBox_default, {
|
|
13430
13430
|
type: "info",
|
|
13431
13431
|
class: "mint-bio-template-preset-workspace__status"
|
|
13432
13432
|
}, {
|
|
13433
13433
|
default: withCtx(() => [createTextVNode(toDisplayString(label.value) + " preset saves to the current experiment design_data. ", 1)]),
|
|
13434
13434
|
_: 1
|
|
13435
|
-
}), createElementVNode("div", _hoisted_3$
|
|
13435
|
+
}), createElementVNode("div", _hoisted_3$18, [createVNode(BaseButton_default, {
|
|
13436
13436
|
variant: "secondary",
|
|
13437
13437
|
disabled: isSaving.value,
|
|
13438
13438
|
onClick: _cache[0] || (_cache[0] = ($event) => resolvedWorkspace.value.resetToDefaultCollection())
|
|
@@ -13455,8 +13455,8 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13455
13455
|
default: withCtx(() => [createTextVNode(toDisplayString(error.value), 1)]),
|
|
13456
13456
|
_: 1
|
|
13457
13457
|
})) : createCommentVNode("", true),
|
|
13458
|
-
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
13459
|
-
createElementVNode("div", _hoisted_5$
|
|
13458
|
+
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$18, " saved: " + toDisplayString(lastSavedAt.value?.toLocaleString() ?? "not saved"), 1)) : createCommentVNode("", true),
|
|
13459
|
+
createElementVNode("div", _hoisted_5$17, [createVNode(AppSidebar_default, mergeProps(resolvedWorkspace.value.sidebar, {
|
|
13460
13460
|
variant: __props.sidebarVariant,
|
|
13461
13461
|
floating: false,
|
|
13462
13462
|
width: __props.sidebarWidth,
|
|
@@ -13475,7 +13475,7 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13475
13475
|
"current-item-id",
|
|
13476
13476
|
"onSelect"
|
|
13477
13477
|
])) : createCommentVNode("", true),
|
|
13478
|
-
createElementVNode("p", _hoisted_6$
|
|
13478
|
+
createElementVNode("p", _hoisted_6$17, toDisplayString(presetId.value), 1)
|
|
13479
13479
|
]),
|
|
13480
13480
|
_: 1
|
|
13481
13481
|
}, 16, [
|
|
@@ -13509,21 +13509,21 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13509
13509
|
}), [["__scopeId", "data-v-0cb9aa98"]]);
|
|
13510
13510
|
//#endregion
|
|
13511
13511
|
//#region src/components/RackEditor.vue?vue&type=script&setup=true&lang.ts
|
|
13512
|
-
var _hoisted_1$
|
|
13513
|
-
var _hoisted_2$
|
|
13514
|
-
var _hoisted_3$
|
|
13512
|
+
var _hoisted_1$20 = { class: "mint-rack-editor__tabs" };
|
|
13513
|
+
var _hoisted_2$18 = { class: "mint-rack-editor__tabs-inner" };
|
|
13514
|
+
var _hoisted_3$17 = [
|
|
13515
13515
|
"draggable",
|
|
13516
13516
|
"onClick",
|
|
13517
13517
|
"onDragstart",
|
|
13518
13518
|
"onDragover",
|
|
13519
13519
|
"onDrop"
|
|
13520
13520
|
];
|
|
13521
|
-
var _hoisted_4$
|
|
13522
|
-
var _hoisted_5$
|
|
13521
|
+
var _hoisted_4$17 = ["onClick"];
|
|
13522
|
+
var _hoisted_5$16 = {
|
|
13523
13523
|
key: 0,
|
|
13524
13524
|
class: "mint-rack-editor__toolbar"
|
|
13525
13525
|
};
|
|
13526
|
-
var _hoisted_6$
|
|
13526
|
+
var _hoisted_6$16 = { class: "mint-rack-editor__toolbar-group" };
|
|
13527
13527
|
var _hoisted_7$13 = { class: "mint-rack-editor__toolbar-section" };
|
|
13528
13528
|
var _hoisted_8$12 = { class: "mint-rack-editor__format-btns" };
|
|
13529
13529
|
var _hoisted_9$12 = ["onClick"];
|
|
@@ -13741,7 +13741,7 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13741
13741
|
const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {});
|
|
13742
13742
|
return (_ctx, _cache) => {
|
|
13743
13743
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-rack-editor", { "mint-rack-editor--readonly": __props.readonly }]) }, [
|
|
13744
|
-
createElementVNode("div", _hoisted_1$
|
|
13744
|
+
createElementVNode("div", _hoisted_1$20, [createElementVNode("div", _hoisted_2$18, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(editor).racks.value, (rack) => {
|
|
13745
13745
|
return openBlock(), createElementBlock("button", {
|
|
13746
13746
|
key: rack.id,
|
|
13747
13747
|
draggable: __props.allowReorder && !__props.readonly,
|
|
@@ -13770,8 +13770,8 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13770
13770
|
key: 1,
|
|
13771
13771
|
class: "mint-rack-editor__tab-remove",
|
|
13772
13772
|
onClick: withModifiers(($event) => handleRemoveRack(rack.id), ["stop"])
|
|
13773
|
-
}, " × ", 8, _hoisted_4$
|
|
13774
|
-
], 42, _hoisted_3$
|
|
13773
|
+
}, " × ", 8, _hoisted_4$17)) : createCommentVNode("", true)
|
|
13774
|
+
], 42, _hoisted_3$17);
|
|
13775
13775
|
}), 128))]), unref(editor).racks.value.length < __props.maxRacks && !__props.readonly ? (openBlock(), createElementBlock("button", {
|
|
13776
13776
|
key: 0,
|
|
13777
13777
|
class: "mint-rack-editor__add-btn",
|
|
@@ -13786,8 +13786,8 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13786
13786
|
"stroke-linecap": "round",
|
|
13787
13787
|
"stroke-linejoin": "round"
|
|
13788
13788
|
}, [createElementVNode("path", { d: "M5 12h14" }), createElementVNode("path", { d: "M12 5v14" })], -1), createTextVNode(" Add Rack ", -1)])])) : createCommentVNode("", true)]),
|
|
13789
|
-
unref(editor).activeRack.value && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
13790
|
-
createElementVNode("div", _hoisted_6$
|
|
13789
|
+
unref(editor).activeRack.value && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_5$16, [
|
|
13790
|
+
createElementVNode("div", _hoisted_6$16, [
|
|
13791
13791
|
createElementVNode("div", _hoisted_7$13, [_cache[1] || (_cache[1] = createElementVNode("span", { class: "mint-rack-editor__toolbar-label" }, "Plate", -1)), createElementVNode("div", _hoisted_8$12, [(openBlock(), createElementBlock(Fragment, null, renderList(FORMAT_OPTIONS, (opt) => {
|
|
13792
13792
|
return createElementVNode("button", {
|
|
13793
13793
|
key: opt.value,
|
|
@@ -13867,12 +13867,12 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13867
13867
|
});
|
|
13868
13868
|
//#endregion
|
|
13869
13869
|
//#region src/components/GroupAssigner.vue?vue&type=script&setup=true&lang.ts
|
|
13870
|
-
var _hoisted_1$
|
|
13871
|
-
var _hoisted_2$
|
|
13872
|
-
var _hoisted_3$
|
|
13873
|
-
var _hoisted_4$
|
|
13874
|
-
var _hoisted_5$
|
|
13875
|
-
var _hoisted_6$
|
|
13870
|
+
var _hoisted_1$19 = { class: "mint-group-assigner" };
|
|
13871
|
+
var _hoisted_2$17 = { class: "mint-group-assigner__zones" };
|
|
13872
|
+
var _hoisted_3$16 = { class: "mint-group-assigner__zone-header" };
|
|
13873
|
+
var _hoisted_4$16 = { class: "mint-group-assigner__zone-label" };
|
|
13874
|
+
var _hoisted_5$15 = { class: "mint-group-assigner__zone-count" };
|
|
13875
|
+
var _hoisted_6$15 = { class: "mint-group-assigner__zone-content" };
|
|
13876
13876
|
var _hoisted_7$12 = ["onDragstart"];
|
|
13877
13877
|
var _hoisted_8$11 = { class: "mint-group-assigner__pill-name" };
|
|
13878
13878
|
var _hoisted_9$11 = { class: "mint-group-assigner__pill-count" };
|
|
@@ -13978,8 +13978,8 @@ var GroupAssigner_default = /* @__PURE__ */ defineComponent({
|
|
|
13978
13978
|
emit("update:group2", state.group2);
|
|
13979
13979
|
}
|
|
13980
13980
|
return (_ctx, _cache) => {
|
|
13981
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13982
|
-
createElementVNode("div", _hoisted_2$
|
|
13981
|
+
return openBlock(), createElementBlock("div", _hoisted_1$19, [
|
|
13982
|
+
createElementVNode("div", _hoisted_2$17, [createElementVNode("div", {
|
|
13983
13983
|
class: normalizeClass([
|
|
13984
13984
|
"mint-group-assigner__zone",
|
|
13985
13985
|
"mint-group-assigner__zone--1",
|
|
@@ -13989,7 +13989,7 @@ var GroupAssigner_default = /* @__PURE__ */ defineComponent({
|
|
|
13989
13989
|
onDragover: _cache[0] || (_cache[0] = ($event) => handleDragOver($event, "zone1")),
|
|
13990
13990
|
onDragleave: handleDragLeave,
|
|
13991
13991
|
onDrop: _cache[1] || (_cache[1] = ($event) => handleDrop($event, "zone1"))
|
|
13992
|
-
}, [createElementVNode("div", _hoisted_3$
|
|
13992
|
+
}, [createElementVNode("div", _hoisted_3$16, [createElementVNode("span", _hoisted_4$16, toDisplayString(__props.label1), 1), createElementVNode("span", _hoisted_5$15, toDisplayString(unref(zone1Count)) + " samples", 1)]), createElementVNode("div", _hoisted_6$15, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(zone1Groups), (group) => {
|
|
13993
13993
|
return openBlock(), createElementBlock("div", {
|
|
13994
13994
|
key: group.name,
|
|
13995
13995
|
class: "mint-group-assigner__pill",
|
|
@@ -14156,12 +14156,12 @@ var SmartGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
14156
14156
|
});
|
|
14157
14157
|
//#endregion
|
|
14158
14158
|
//#region src/components/ReagentEditor.vue?vue&type=script&setup=true&lang.ts
|
|
14159
|
-
var _hoisted_1$
|
|
14160
|
-
var _hoisted_2$
|
|
14161
|
-
var _hoisted_3$
|
|
14162
|
-
var _hoisted_4$
|
|
14163
|
-
var _hoisted_5$
|
|
14164
|
-
var _hoisted_6$
|
|
14159
|
+
var _hoisted_1$18 = { class: "mint-reagent-editor__section" };
|
|
14160
|
+
var _hoisted_2$16 = { class: "mint-reagent-editor__identity" };
|
|
14161
|
+
var _hoisted_3$15 = { class: "mint-reagent-editor__color-wrapper" };
|
|
14162
|
+
var _hoisted_4$15 = ["value"];
|
|
14163
|
+
var _hoisted_5$14 = ["value"];
|
|
14164
|
+
var _hoisted_6$14 = { class: "mint-reagent-editor__section" };
|
|
14165
14165
|
var _hoisted_7$11 = { class: "mint-reagent-editor__position-row" };
|
|
14166
14166
|
var _hoisted_8$10 = { class: "mint-reagent-editor__field mint-reagent-editor__field--flex" };
|
|
14167
14167
|
var _hoisted_9$10 = { class: "mint-reagent-editor__field mint-reagent-editor__field--flex" };
|
|
@@ -14365,13 +14365,13 @@ var ReagentEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
14365
14365
|
class: "mint-reagent-editor",
|
|
14366
14366
|
style: normalizeStyle({ "--reagent-color": __props.modelValue.color })
|
|
14367
14367
|
}, [
|
|
14368
|
-
createElementVNode("div", _hoisted_1$
|
|
14368
|
+
createElementVNode("div", _hoisted_1$18, [createElementVNode("div", _hoisted_2$16, [createElementVNode("label", _hoisted_3$15, [createElementVNode("input", {
|
|
14369
14369
|
type: "color",
|
|
14370
14370
|
value: __props.modelValue.color,
|
|
14371
14371
|
class: "mint-reagent-editor__color-input",
|
|
14372
14372
|
"aria-label": "Reagent color",
|
|
14373
14373
|
onInput: updateColor
|
|
14374
|
-
}, null, 40, _hoisted_4$
|
|
14374
|
+
}, null, 40, _hoisted_4$15), createElementVNode("span", {
|
|
14375
14375
|
class: "mint-reagent-editor__color-swatch",
|
|
14376
14376
|
style: normalizeStyle({ backgroundColor: __props.modelValue.color })
|
|
14377
14377
|
}, null, 4)]), createElementVNode("input", {
|
|
@@ -14382,8 +14382,8 @@ var ReagentEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
14382
14382
|
maxlength: "64",
|
|
14383
14383
|
"aria-label": "Reagent name",
|
|
14384
14384
|
onInput: updateName
|
|
14385
|
-
}, null, 40, _hoisted_5$
|
|
14386
|
-
createElementVNode("div", _hoisted_6$
|
|
14385
|
+
}, null, 40, _hoisted_5$14)])]),
|
|
14386
|
+
createElementVNode("div", _hoisted_6$14, [_cache[6] || (_cache[6] = createStaticVNode("<div class=\"mint-reagent-editor__section-header\"><svg class=\"mint-reagent-editor__section-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3\" y=\"3\" width=\"7\" height=\"7\"></rect><rect x=\"14\" y=\"3\" width=\"7\" height=\"7\"></rect><rect x=\"3\" y=\"14\" width=\"7\" height=\"7\"></rect><rect x=\"14\" y=\"14\" width=\"7\" height=\"7\"></rect></svg> Position </div>", 1)), createElementVNode("div", _hoisted_7$11, [createElementVNode("div", _hoisted_8$10, [_cache[4] || (_cache[4] = createElementVNode("label", { class: "mint-reagent-editor__label" }, "Axis", -1)), createVNode(BaseSelect_default, {
|
|
14387
14387
|
"model-value": __props.modelValue.axis,
|
|
14388
14388
|
options: axisOptions,
|
|
14389
14389
|
size: "sm",
|
|
@@ -14533,7 +14533,7 @@ var ReagentEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
14533
14533
|
});
|
|
14534
14534
|
//#endregion
|
|
14535
14535
|
//#region src/components/SampleHierarchyTree.vue?vue&type=script&setup=true&lang.ts
|
|
14536
|
-
var _hoisted_1$
|
|
14536
|
+
var _hoisted_1$17 = {
|
|
14537
14537
|
key: 0,
|
|
14538
14538
|
class: "mint-sample-tree__empty"
|
|
14539
14539
|
};
|
|
@@ -14831,7 +14831,7 @@ var SampleHierarchyTree_default = /* @__PURE__ */ defineComponent({
|
|
|
14831
14831
|
return openBlock(), createElementBlock("div", {
|
|
14832
14832
|
class: normalizeClass(["mint-sample-tree", `mint-sample-tree--${__props.size}`]),
|
|
14833
14833
|
role: "tree"
|
|
14834
|
-
}, [__props.nodes.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14834
|
+
}, [__props.nodes.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$17, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
14835
14835
|
class: "mint-sample-tree__empty-icon",
|
|
14836
14836
|
fill: "none",
|
|
14837
14837
|
stroke: "currentColor",
|
|
@@ -14845,23 +14845,23 @@ var SampleHierarchyTree_default = /* @__PURE__ */ defineComponent({
|
|
|
14845
14845
|
});
|
|
14846
14846
|
//#endregion
|
|
14847
14847
|
//#region src/components/ProtocolStepParameterField.vue?vue&type=script&setup=true&lang.ts
|
|
14848
|
-
var _hoisted_1$
|
|
14849
|
-
var _hoisted_2$
|
|
14848
|
+
var _hoisted_1$16 = { class: "mint-protocol-editor__field" };
|
|
14849
|
+
var _hoisted_2$15 = {
|
|
14850
14850
|
key: 0,
|
|
14851
14851
|
class: "mint-protocol-editor__input-unit"
|
|
14852
14852
|
};
|
|
14853
|
-
var _hoisted_3$
|
|
14853
|
+
var _hoisted_3$14 = [
|
|
14854
14854
|
"value",
|
|
14855
14855
|
"min",
|
|
14856
14856
|
"max",
|
|
14857
14857
|
"placeholder"
|
|
14858
14858
|
];
|
|
14859
|
-
var _hoisted_4$
|
|
14859
|
+
var _hoisted_4$14 = {
|
|
14860
14860
|
key: 0,
|
|
14861
14861
|
class: "mint-protocol-editor__unit-suffix"
|
|
14862
14862
|
};
|
|
14863
|
-
var _hoisted_5$
|
|
14864
|
-
var _hoisted_6$
|
|
14863
|
+
var _hoisted_5$13 = ["value", "placeholder"];
|
|
14864
|
+
var _hoisted_6$13 = ["value"];
|
|
14865
14865
|
var _hoisted_7$10 = {
|
|
14866
14866
|
value: "",
|
|
14867
14867
|
disabled: ""
|
|
@@ -14902,9 +14902,9 @@ var ProtocolStepParameterField_default = /* @__PURE__ */ defineComponent({
|
|
|
14902
14902
|
emit("update:modelValue", value);
|
|
14903
14903
|
}
|
|
14904
14904
|
return (_ctx, _cache) => {
|
|
14905
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14905
|
+
return openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
14906
14906
|
createElementVNode("label", { class: normalizeClass(["mint-protocol-editor__field-label", __props.parameter.required ? "mint-protocol-editor__field-label--required" : ""]) }, toDisplayString(__props.parameter.label), 3),
|
|
14907
|
-
__props.parameter.type === "number" || __props.parameter.type === "temperature" || __props.parameter.type === "duration" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
14907
|
+
__props.parameter.type === "number" || __props.parameter.type === "temperature" || __props.parameter.type === "duration" ? (openBlock(), createElementBlock("div", _hoisted_2$15, [createElementVNode("input", {
|
|
14908
14908
|
type: "number",
|
|
14909
14909
|
value: scalarValue.value,
|
|
14910
14910
|
min: __props.parameter.min,
|
|
@@ -14912,14 +14912,14 @@ var ProtocolStepParameterField_default = /* @__PURE__ */ defineComponent({
|
|
|
14912
14912
|
placeholder: __props.parameter.placeholder || `Enter ${__props.parameter.label.toLowerCase()}`,
|
|
14913
14913
|
class: normalizeClass(["mint-protocol-editor__input", hasError.value ? "mint-protocol-editor__input--error" : ""]),
|
|
14914
14914
|
onInput: handleNumberInput
|
|
14915
|
-
}, null, 42, _hoisted_3$
|
|
14915
|
+
}, null, 42, _hoisted_3$14), __props.parameter.unit ? (openBlock(), createElementBlock("span", _hoisted_4$14, toDisplayString(__props.parameter.unit), 1)) : createCommentVNode("", true)])) : __props.parameter.type === "text" ? (openBlock(), createElementBlock("input", {
|
|
14916
14916
|
key: 1,
|
|
14917
14917
|
type: "text",
|
|
14918
14918
|
value: scalarValue.value,
|
|
14919
14919
|
placeholder: __props.parameter.placeholder || `Enter ${__props.parameter.label.toLowerCase()}`,
|
|
14920
14920
|
class: normalizeClass(["mint-protocol-editor__input", hasError.value ? "mint-protocol-editor__input--error" : ""]),
|
|
14921
14921
|
onInput: handleTextInput
|
|
14922
|
-
}, null, 42, _hoisted_5$
|
|
14922
|
+
}, null, 42, _hoisted_5$13)) : __props.parameter.type === "select" ? (openBlock(), createElementBlock("select", {
|
|
14923
14923
|
key: 2,
|
|
14924
14924
|
value: scalarValue.value,
|
|
14925
14925
|
class: normalizeClass(["mint-protocol-editor__select", hasError.value ? "mint-protocol-editor__input--error" : ""]),
|
|
@@ -14929,7 +14929,7 @@ var ProtocolStepParameterField_default = /* @__PURE__ */ defineComponent({
|
|
|
14929
14929
|
key: option.value,
|
|
14930
14930
|
value: option.value
|
|
14931
14931
|
}, toDisplayString(option.label), 9, _hoisted_8$9);
|
|
14932
|
-
}), 128))], 42, _hoisted_6$
|
|
14932
|
+
}), 128))], 42, _hoisted_6$13)) : __props.parameter.type === "concentration" ? (openBlock(), createBlock(ConcentrationInput_default, {
|
|
14933
14933
|
key: 3,
|
|
14934
14934
|
"model-value": concentrationValue.value,
|
|
14935
14935
|
error: hasError.value,
|
|
@@ -15002,12 +15002,12 @@ function buildCustomProtocolTemplate(template, fields, templateId = `custom-${Da
|
|
|
15002
15002
|
}
|
|
15003
15003
|
//#endregion
|
|
15004
15004
|
//#region src/components/ProtocolStepEditor.vue?vue&type=script&setup=true&lang.ts
|
|
15005
|
-
var _hoisted_1$
|
|
15006
|
-
var _hoisted_2$
|
|
15007
|
-
var _hoisted_3$
|
|
15008
|
-
var _hoisted_4$
|
|
15009
|
-
var _hoisted_5$
|
|
15010
|
-
var _hoisted_6$
|
|
15005
|
+
var _hoisted_1$15 = { class: "mint-protocol-editor" };
|
|
15006
|
+
var _hoisted_2$14 = { class: "mint-protocol-editor__header" };
|
|
15007
|
+
var _hoisted_3$13 = { class: "mint-protocol-editor__title" };
|
|
15008
|
+
var _hoisted_4$13 = { class: "mint-protocol-editor__form" };
|
|
15009
|
+
var _hoisted_5$12 = { class: "mint-protocol-editor__template-select" };
|
|
15010
|
+
var _hoisted_6$12 = {
|
|
15011
15011
|
key: 0,
|
|
15012
15012
|
class: "mint-protocol-editor__template-icon",
|
|
15013
15013
|
fill: "none",
|
|
@@ -15165,10 +15165,10 @@ var ProtocolStepEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
15165
15165
|
if (step) initFromStep(step);
|
|
15166
15166
|
});
|
|
15167
15167
|
return (_ctx, _cache) => {
|
|
15168
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15169
|
-
createElementVNode("div", _hoisted_2$
|
|
15170
|
-
createElementVNode("div", _hoisted_4$
|
|
15171
|
-
createElementVNode("div", _hoisted_5$
|
|
15168
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
15169
|
+
createElementVNode("div", _hoisted_2$14, [createElementVNode("span", _hoisted_3$13, toDisplayString(__props.mode === "create" ? "Create Protocol Step" : "Edit Protocol Step"), 1), createElementVNode("span", { class: normalizeClass(["mint-protocol-editor__mode-badge", `mint-protocol-editor__mode-badge--${__props.mode}`]) }, toDisplayString(__props.mode), 3)]),
|
|
15170
|
+
createElementVNode("div", _hoisted_4$13, [
|
|
15171
|
+
createElementVNode("div", _hoisted_5$12, [_cache[4] || (_cache[4] = createElementVNode("label", { class: "mint-protocol-editor__template-label" }, "Template", -1)), createElementVNode("div", {
|
|
15172
15172
|
ref_key: "templateDropdownRef",
|
|
15173
15173
|
ref: templateDropdownRef,
|
|
15174
15174
|
class: "mint-protocol-editor__template-dropdown"
|
|
@@ -15177,7 +15177,7 @@ var ProtocolStepEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
15177
15177
|
class: "mint-protocol-editor__template-btn",
|
|
15178
15178
|
onClick: _cache[0] || (_cache[0] = (...args) => unref(toggleTemplateDropdown) && unref(toggleTemplateDropdown)(...args))
|
|
15179
15179
|
}, [
|
|
15180
|
-
selectedTemplate.value ? (openBlock(), createElementBlock("svg", _hoisted_6$
|
|
15180
|
+
selectedTemplate.value ? (openBlock(), createElementBlock("svg", _hoisted_6$12, [createElementVNode("path", {
|
|
15181
15181
|
"stroke-linecap": "round",
|
|
15182
15182
|
"stroke-linejoin": "round",
|
|
15183
15183
|
"stroke-width": "2",
|
|
@@ -15283,15 +15283,15 @@ var ProtocolStepEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
15283
15283
|
});
|
|
15284
15284
|
//#endregion
|
|
15285
15285
|
//#region src/components/ScientificNumber.vue?vue&type=script&setup=true&lang.ts
|
|
15286
|
-
var _hoisted_1$
|
|
15287
|
-
var _hoisted_2$
|
|
15286
|
+
var _hoisted_1$14 = { class: "mint-sci-number" };
|
|
15287
|
+
var _hoisted_2$13 = {
|
|
15288
15288
|
key: 0,
|
|
15289
15289
|
class: "mint-sci-number__plain"
|
|
15290
15290
|
};
|
|
15291
|
-
var _hoisted_3$
|
|
15292
|
-
var _hoisted_4$
|
|
15293
|
-
var _hoisted_5$
|
|
15294
|
-
var _hoisted_6$
|
|
15291
|
+
var _hoisted_3$12 = { class: "mint-sci-number__mantissa" };
|
|
15292
|
+
var _hoisted_4$12 = { class: "mint-sci-number__exponent" };
|
|
15293
|
+
var _hoisted_5$11 = { class: "mint-sci-number__plain" };
|
|
15294
|
+
var _hoisted_6$11 = {
|
|
15295
15295
|
key: 0,
|
|
15296
15296
|
class: "mint-sci-number__suffix"
|
|
15297
15297
|
};
|
|
@@ -15434,13 +15434,13 @@ var ScientificNumber_default = /* @__PURE__ */ defineComponent({
|
|
|
15434
15434
|
} catch {}
|
|
15435
15435
|
}
|
|
15436
15436
|
return (_ctx, _cache) => {
|
|
15437
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
15438
|
-
specialDisplay.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
15439
|
-
createElementVNode("span", _hoisted_3$
|
|
15437
|
+
return openBlock(), createElementBlock("span", _hoisted_1$14, [
|
|
15438
|
+
specialDisplay.value ? (openBlock(), createElementBlock("span", _hoisted_2$13, toDisplayString(specialDisplay.value), 1)) : formatted.value.type === "scientific" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
15439
|
+
createElementVNode("span", _hoisted_3$12, toDisplayString(formatted.value.mantissa), 1),
|
|
15440
15440
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "mint-sci-number__times" }, "×", -1)),
|
|
15441
15441
|
_cache[1] || (_cache[1] = createElementVNode("span", { class: "mint-sci-number__base" }, "10", -1)),
|
|
15442
|
-
createElementVNode("span", _hoisted_4$
|
|
15443
|
-
], 64)) : formatted.value.type === "compact" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [createElementVNode("span", _hoisted_5$
|
|
15442
|
+
createElementVNode("span", _hoisted_4$12, toDisplayString(formatted.value.exponentStr), 1)
|
|
15443
|
+
], 64)) : formatted.value.type === "compact" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [createElementVNode("span", _hoisted_5$11, toDisplayString(formatted.value.plain), 1), formatted.value.suffix ? (openBlock(), createElementBlock("span", _hoisted_6$11, toDisplayString(formatted.value.suffix), 1)) : createCommentVNode("", true)], 64)) : (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString(formatted.value.plain), 1)),
|
|
15444
15444
|
__props.unit ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString(__props.unit), 1)) : createCommentVNode("", true),
|
|
15445
15445
|
__props.copyable ? (openBlock(), createElementBlock("button", {
|
|
15446
15446
|
key: 5,
|
|
@@ -15462,27 +15462,27 @@ var ScientificNumber_default = /* @__PURE__ */ defineComponent({
|
|
|
15462
15462
|
});
|
|
15463
15463
|
//#endregion
|
|
15464
15464
|
//#region src/components/ChemicalFormula.vue?vue&type=script&setup=true&lang.ts
|
|
15465
|
-
var _hoisted_1$
|
|
15465
|
+
var _hoisted_1$13 = {
|
|
15466
15466
|
key: 0,
|
|
15467
15467
|
class: "mint-chem-formula__element"
|
|
15468
15468
|
};
|
|
15469
|
-
var _hoisted_2$
|
|
15469
|
+
var _hoisted_2$12 = {
|
|
15470
15470
|
key: 1,
|
|
15471
15471
|
class: "mint-chem-formula__subscript"
|
|
15472
15472
|
};
|
|
15473
|
-
var _hoisted_3$
|
|
15473
|
+
var _hoisted_3$11 = {
|
|
15474
15474
|
key: 2,
|
|
15475
15475
|
class: "mint-chem-formula__superscript"
|
|
15476
15476
|
};
|
|
15477
|
-
var _hoisted_4$
|
|
15477
|
+
var _hoisted_4$11 = {
|
|
15478
15478
|
key: 3,
|
|
15479
15479
|
class: "mint-chem-formula__paren"
|
|
15480
15480
|
};
|
|
15481
|
-
var _hoisted_5$
|
|
15481
|
+
var _hoisted_5$10 = {
|
|
15482
15482
|
key: 4,
|
|
15483
15483
|
class: "mint-chem-formula__dot"
|
|
15484
15484
|
};
|
|
15485
|
-
var _hoisted_6$
|
|
15485
|
+
var _hoisted_6$10 = {
|
|
15486
15486
|
key: 5,
|
|
15487
15487
|
class: "mint-chem-formula__charge"
|
|
15488
15488
|
};
|
|
@@ -15506,7 +15506,7 @@ var ChemicalFormula_default = /* @__PURE__ */ defineComponent({
|
|
|
15506
15506
|
return (_ctx, _cache) => {
|
|
15507
15507
|
return openBlock(), createBlock(resolveDynamicComponent(__props.inline ? "span" : "div"), { class: normalizeClass(["mint-chem-formula", !__props.inline ? "mint-chem-formula--block" : ""]) }, {
|
|
15508
15508
|
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(getParts(__props.formula), (part, i) => {
|
|
15509
|
-
return openBlock(), createElementBlock(Fragment, { key: i }, [part.type === "element" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
15509
|
+
return openBlock(), createElementBlock(Fragment, { key: i }, [part.type === "element" ? (openBlock(), createElementBlock("span", _hoisted_1$13, toDisplayString(part.text), 1)) : part.type === "subscript" ? (openBlock(), createElementBlock("span", _hoisted_2$12, toDisplayString(part.text), 1)) : part.type === "superscript" ? (openBlock(), createElementBlock("span", _hoisted_3$11, toDisplayString(part.text), 1)) : part.type === "paren" ? (openBlock(), createElementBlock("span", _hoisted_4$11, toDisplayString(part.text), 1)) : part.type === "dot" ? (openBlock(), createElementBlock("span", _hoisted_5$10, toDisplayString(part.text), 1)) : part.type === "charge" ? (openBlock(), createElementBlock("span", _hoisted_6$10, toDisplayString(part.text), 1)) : createCommentVNode("", true)], 64);
|
|
15510
15510
|
}), 128))]),
|
|
15511
15511
|
_: 1
|
|
15512
15512
|
}, 8, ["class"]);
|
|
@@ -15578,15 +15578,15 @@ function clamp(value, min, max) {
|
|
|
15578
15578
|
}
|
|
15579
15579
|
//#endregion
|
|
15580
15580
|
//#region src/components/SequenceProgressBar.vue?vue&type=script&setup=true&lang.ts
|
|
15581
|
-
var _hoisted_1$
|
|
15582
|
-
var _hoisted_2$
|
|
15583
|
-
var _hoisted_3$
|
|
15584
|
-
var _hoisted_4$
|
|
15585
|
-
var _hoisted_5$
|
|
15581
|
+
var _hoisted_1$12 = { class: "mint-sequence-progress" };
|
|
15582
|
+
var _hoisted_2$11 = { class: "mint-sequence-progress__header" };
|
|
15583
|
+
var _hoisted_3$10 = { class: "mint-sequence-progress__label" };
|
|
15584
|
+
var _hoisted_4$10 = { class: "mint-sequence-progress__percent" };
|
|
15585
|
+
var _hoisted_5$9 = {
|
|
15586
15586
|
key: 0,
|
|
15587
15587
|
class: "mint-sequence-progress__footer"
|
|
15588
15588
|
};
|
|
15589
|
-
var _hoisted_6$
|
|
15589
|
+
var _hoisted_6$9 = {
|
|
15590
15590
|
key: 0,
|
|
15591
15591
|
class: "mint-sequence-progress__remaining"
|
|
15592
15592
|
};
|
|
@@ -15625,27 +15625,27 @@ var SequenceProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
15625
15625
|
return props.showRemaining && remainingLabel.value || props.showEta && etaLabel.value;
|
|
15626
15626
|
});
|
|
15627
15627
|
return (_ctx, _cache) => {
|
|
15628
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15629
|
-
createElementVNode("div", _hoisted_2$
|
|
15628
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
15629
|
+
createElementVNode("div", _hoisted_2$11, [createElementVNode("span", _hoisted_3$10, toDisplayString(__props.progress.current_sample) + " / " + toDisplayString(__props.progress.total_samples) + " " + toDisplayString(__props.label), 1), createElementVNode("span", _hoisted_4$10, toDisplayString(percent.value) + "%", 1)]),
|
|
15630
15630
|
createVNode(ProgressBar_default, {
|
|
15631
15631
|
value: percent.value,
|
|
15632
15632
|
color: "info",
|
|
15633
15633
|
size: "sm",
|
|
15634
15634
|
"aria-label": "Sequence progress"
|
|
15635
15635
|
}, null, 8, ["value"]),
|
|
15636
|
-
hasFooter.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
15636
|
+
hasFooter.value ? (openBlock(), createElementBlock("div", _hoisted_5$9, [__props.showRemaining && remainingLabel.value ? (openBlock(), createElementBlock("span", _hoisted_6$9, toDisplayString(remainingLabel.value), 1)) : createCommentVNode("", true), __props.showEta && etaLabel.value ? (openBlock(), createElementBlock("span", _hoisted_7$7, " ETA " + toDisplayString(etaLabel.value), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true)
|
|
15637
15637
|
]);
|
|
15638
15638
|
};
|
|
15639
15639
|
}
|
|
15640
15640
|
});
|
|
15641
15641
|
//#endregion
|
|
15642
15642
|
//#region src/components/InstrumentAlertLog.vue?vue&type=script&setup=true&lang.ts
|
|
15643
|
-
var _hoisted_1$
|
|
15644
|
-
var _hoisted_2$
|
|
15645
|
-
var _hoisted_3$
|
|
15646
|
-
var _hoisted_4$
|
|
15647
|
-
var _hoisted_5$
|
|
15648
|
-
var _hoisted_6$
|
|
15643
|
+
var _hoisted_1$11 = { class: "mint-instrument-alert-log" };
|
|
15644
|
+
var _hoisted_2$10 = { class: "mint-instrument-alert-log__header" };
|
|
15645
|
+
var _hoisted_3$9 = { class: "mint-instrument-alert-log__title" };
|
|
15646
|
+
var _hoisted_4$9 = { class: "mint-instrument-alert-log__filters" };
|
|
15647
|
+
var _hoisted_5$8 = { class: "mint-instrument-alert-log__filter-row" };
|
|
15648
|
+
var _hoisted_6$8 = ["onClick"];
|
|
15649
15649
|
var _hoisted_7$6 = { class: "mint-instrument-alert-log__filter-count" };
|
|
15650
15650
|
var _hoisted_8$6 = {
|
|
15651
15651
|
key: 0,
|
|
@@ -15778,9 +15778,9 @@ var InstrumentAlertLog_default = /* @__PURE__ */ defineComponent({
|
|
|
15778
15778
|
return alert.body?.detail ?? alert.message ?? alert.rule ?? "";
|
|
15779
15779
|
}
|
|
15780
15780
|
return (_ctx, _cache) => {
|
|
15781
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15782
|
-
createElementVNode("div", _hoisted_2$
|
|
15783
|
-
createElementVNode("div", _hoisted_4$
|
|
15781
|
+
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
15782
|
+
createElementVNode("div", _hoisted_2$10, [createElementVNode("span", _hoisted_3$9, toDisplayString(__props.title), 1)]),
|
|
15783
|
+
createElementVNode("div", _hoisted_4$9, [createElementVNode("div", _hoisted_5$8, [(openBlock(), createElementBlock(Fragment, null, renderList(levels, (level) => {
|
|
15784
15784
|
return createElementVNode("button", {
|
|
15785
15785
|
key: level,
|
|
15786
15786
|
type: "button",
|
|
@@ -15794,7 +15794,7 @@ var InstrumentAlertLog_default = /* @__PURE__ */ defineComponent({
|
|
|
15794
15794
|
}, null, 4),
|
|
15795
15795
|
createTextVNode(" " + toDisplayString(levelConfig[level].label) + " ", 1),
|
|
15796
15796
|
createElementVNode("span", _hoisted_7$6, toDisplayString(alertCounts.value[level]), 1)
|
|
15797
|
-
], 14, _hoisted_6$
|
|
15797
|
+
], 14, _hoisted_6$8);
|
|
15798
15798
|
}), 64))]), instruments.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_8$6, [(openBlock(true), createElementBlock(Fragment, null, renderList(instruments.value, (instrument) => {
|
|
15799
15799
|
return openBlock(), createElementBlock("button", {
|
|
15800
15800
|
key: instrument.name,
|
|
@@ -15835,7 +15835,7 @@ var InstrumentAlertLog_default = /* @__PURE__ */ defineComponent({
|
|
|
15835
15835
|
});
|
|
15836
15836
|
//#endregion
|
|
15837
15837
|
//#region src/components/InstrumentStateBadge.vue?vue&type=script&setup=true&lang.ts
|
|
15838
|
-
var _hoisted_1$
|
|
15838
|
+
var _hoisted_1$10 = {
|
|
15839
15839
|
key: 0,
|
|
15840
15840
|
class: "mint-instrument-state__dot"
|
|
15841
15841
|
};
|
|
@@ -15893,21 +15893,21 @@ var InstrumentStateBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
15893
15893
|
`mint-instrument-state--${config.value.tone}`,
|
|
15894
15894
|
{ "mint-instrument-state--pulse": shouldPulse.value },
|
|
15895
15895
|
{ "mint-instrument-state--offline": normalizedState.value === "disconnected" }
|
|
15896
|
-
]]) }, [shouldPulse.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
15896
|
+
]]) }, [shouldPulse.value ? (openBlock(), createElementBlock("span", _hoisted_1$10)) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(__props.label ?? config.value.label), 1)], 2);
|
|
15897
15897
|
};
|
|
15898
15898
|
}
|
|
15899
15899
|
});
|
|
15900
15900
|
//#endregion
|
|
15901
15901
|
//#region src/components/InstrumentStatusCard.vue?vue&type=script&setup=true&lang.ts
|
|
15902
|
-
var _hoisted_1$
|
|
15903
|
-
var _hoisted_2$
|
|
15904
|
-
var _hoisted_3$
|
|
15902
|
+
var _hoisted_1$9 = { class: "mint-instrument-card__header" };
|
|
15903
|
+
var _hoisted_2$9 = { class: "mint-instrument-card__name" };
|
|
15904
|
+
var _hoisted_3$8 = {
|
|
15905
15905
|
key: 0,
|
|
15906
15906
|
class: "mint-instrument-card__sample"
|
|
15907
15907
|
};
|
|
15908
|
-
var _hoisted_4$
|
|
15909
|
-
var _hoisted_5$
|
|
15910
|
-
var _hoisted_6$
|
|
15908
|
+
var _hoisted_4$8 = { class: "mint-instrument-card__sample-row" };
|
|
15909
|
+
var _hoisted_5$7 = { class: "mint-instrument-card__sample-name" };
|
|
15910
|
+
var _hoisted_6$7 = {
|
|
15911
15911
|
key: 0,
|
|
15912
15912
|
class: "mint-instrument-card__sample-vial"
|
|
15913
15913
|
};
|
|
@@ -16013,15 +16013,15 @@ var InstrumentStatusCard_default = /* @__PURE__ */ defineComponent({
|
|
|
16013
16013
|
return remaining !== null && remaining > 0;
|
|
16014
16014
|
}
|
|
16015
16015
|
return (_ctx, _cache) => {
|
|
16016
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-instrument-card", stateClass.value]) }, [createElementVNode("div", _hoisted_1$
|
|
16016
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-instrument-card", stateClass.value]) }, [createElementVNode("div", _hoisted_1$9, [
|
|
16017
16017
|
createElementVNode("span", { class: normalizeClass(["mint-instrument-card__dot", `mint-instrument-card__dot--${stateTone(__props.status.state)}`]) }, null, 2),
|
|
16018
|
-
createElementVNode("strong", _hoisted_2$
|
|
16018
|
+
createElementVNode("strong", _hoisted_2$9, toDisplayString(displayName.value), 1),
|
|
16019
16019
|
createVNode(InstrumentStateBadge_default, { state: __props.status.state }, null, 8, ["state"])
|
|
16020
16020
|
]), isRunning.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16021
|
-
__props.status.current_sample ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16021
|
+
__props.status.current_sample ? (openBlock(), createElementBlock("div", _hoisted_3$8, [_cache[1] || (_cache[1] = createElementVNode("span", { class: "mint-instrument-card__sample-label" }, "Currently Running", -1)), createElementVNode("div", _hoisted_4$8, [
|
|
16022
16022
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "mint-instrument-card__sample-dot" }, null, -1)),
|
|
16023
|
-
createElementVNode("span", _hoisted_5$
|
|
16024
|
-
__props.status.current_sample.vial_position ? (openBlock(), createElementBlock("span", _hoisted_6$
|
|
16023
|
+
createElementVNode("span", _hoisted_5$7, toDisplayString(sampleLabel.value), 1),
|
|
16024
|
+
__props.status.current_sample.vial_position ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(__props.status.current_sample.vial_position), 1)) : createCommentVNode("", true)
|
|
16025
16025
|
])])) : createCommentVNode("", true),
|
|
16026
16026
|
__props.status.active_method ? (openBlock(), createElementBlock("span", {
|
|
16027
16027
|
key: 1,
|
|
@@ -16153,18 +16153,18 @@ function basenameFromWindowsPath(path) {
|
|
|
16153
16153
|
}
|
|
16154
16154
|
//#endregion
|
|
16155
16155
|
//#region src/components/LcmsSequenceTable.vue?vue&type=script&setup=true&lang.ts
|
|
16156
|
-
var _hoisted_1$
|
|
16157
|
-
var _hoisted_2$
|
|
16158
|
-
var _hoisted_3$
|
|
16159
|
-
var _hoisted_4$
|
|
16156
|
+
var _hoisted_1$8 = { class: "mint-lcms-sequence-table" };
|
|
16157
|
+
var _hoisted_2$8 = { class: "mint-lcms-sequence-table__scroller" };
|
|
16158
|
+
var _hoisted_3$7 = { class: "mint-lcms-sequence-table__table" };
|
|
16159
|
+
var _hoisted_4$7 = {
|
|
16160
16160
|
key: 0,
|
|
16161
16161
|
class: "mint-lcms-sequence-table__drag-header"
|
|
16162
16162
|
};
|
|
16163
|
-
var _hoisted_5$
|
|
16163
|
+
var _hoisted_5$6 = {
|
|
16164
16164
|
key: 1,
|
|
16165
16165
|
class: "mint-lcms-sequence-table__actions-header"
|
|
16166
16166
|
};
|
|
16167
|
-
var _hoisted_6$
|
|
16167
|
+
var _hoisted_6$6 = [
|
|
16168
16168
|
"draggable",
|
|
16169
16169
|
"onDragstart",
|
|
16170
16170
|
"onDragover",
|
|
@@ -16260,16 +16260,16 @@ var LcmsSequenceTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16260
16260
|
clearDragState();
|
|
16261
16261
|
}
|
|
16262
16262
|
return (_ctx, _cache) => {
|
|
16263
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16264
|
-
createElementVNode("div", _hoisted_2$
|
|
16265
|
-
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_4$
|
|
16263
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
16264
|
+
createElementVNode("div", _hoisted_2$8, [createElementVNode("table", _hoisted_3$7, [createElementVNode("thead", null, [createElementVNode("tr", null, [
|
|
16265
|
+
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_4$7)) : createCommentVNode("", true),
|
|
16266
16266
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
|
|
16267
16267
|
return openBlock(), createElementBlock("th", {
|
|
16268
16268
|
key: column.key,
|
|
16269
16269
|
class: normalizeClass(["mint-lcms-sequence-table__th", { "mint-lcms-sequence-table__th--right": column.align === "right" }])
|
|
16270
16270
|
}, toDisplayString(column.label), 3);
|
|
16271
16271
|
}), 128)),
|
|
16272
|
-
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_5$
|
|
16272
|
+
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_5$6)) : createCommentVNode("", true)
|
|
16273
16273
|
])]), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(displayItems.value, (item, index) => {
|
|
16274
16274
|
return openBlock(), createElementBlock("tr", {
|
|
16275
16275
|
key: `${item.file_name}-${item.position}-${index}`,
|
|
@@ -16315,7 +16315,7 @@ var LcmsSequenceTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16315
16315
|
title: "Delete",
|
|
16316
16316
|
onClick: ($event) => emit("remove", index)
|
|
16317
16317
|
}, " x ", 8, _hoisted_11$4)])) : createCommentVNode("", true)
|
|
16318
|
-
], 42, _hoisted_6$
|
|
16318
|
+
], 42, _hoisted_6$6);
|
|
16319
16319
|
}), 128))])])]),
|
|
16320
16320
|
__props.items.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12$4, toDisplayString(__props.emptyMessage), 1)) : createCommentVNode("", true),
|
|
16321
16321
|
hasMore.value && __props.showMoreLabel ? (openBlock(), createElementBlock("div", _hoisted_13$4, " Showing first " + toDisplayString(__props.maxRows) + " of " + toDisplayString(__props.items.length) + " items ", 1)) : createCommentVNode("", true)
|
|
@@ -16325,15 +16325,15 @@ var LcmsSequenceTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16325
16325
|
});
|
|
16326
16326
|
//#endregion
|
|
16327
16327
|
//#region src/components/AuditTrail.vue?vue&type=script&setup=true&lang.ts
|
|
16328
|
-
var _hoisted_1$
|
|
16328
|
+
var _hoisted_1$7 = {
|
|
16329
16329
|
key: 0,
|
|
16330
16330
|
class: "mint-audit-trail__filters"
|
|
16331
16331
|
};
|
|
16332
|
-
var _hoisted_2$
|
|
16333
|
-
var _hoisted_3$
|
|
16334
|
-
var _hoisted_4$
|
|
16335
|
-
var _hoisted_5$
|
|
16336
|
-
var _hoisted_6$
|
|
16332
|
+
var _hoisted_2$7 = ["value"];
|
|
16333
|
+
var _hoisted_3$6 = ["value"];
|
|
16334
|
+
var _hoisted_4$6 = ["onClick"];
|
|
16335
|
+
var _hoisted_5$5 = { class: "mint-audit-trail__content" };
|
|
16336
|
+
var _hoisted_6$5 = { class: "mint-audit-trail__header" };
|
|
16337
16337
|
var _hoisted_7$3 = {
|
|
16338
16338
|
key: 0,
|
|
16339
16339
|
class: "mint-audit-trail__avatar"
|
|
@@ -16429,14 +16429,14 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16429
16429
|
}
|
|
16430
16430
|
return (_ctx, _cache) => {
|
|
16431
16431
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-audit-trail", `mint-audit-trail--${__props.size}`]) }, [
|
|
16432
|
-
__props.showFilters ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16432
|
+
__props.showFilters ? (openBlock(), createElementBlock("div", _hoisted_1$7, [withDirectives(createElementVNode("select", {
|
|
16433
16433
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterType.value = $event),
|
|
16434
16434
|
class: "mint-audit-trail__filter-select"
|
|
16435
16435
|
}, [_cache[2] || (_cache[2] = createElementVNode("option", { value: "" }, "All types", -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(uniqueTypes.value, (t) => {
|
|
16436
16436
|
return openBlock(), createElementBlock("option", {
|
|
16437
16437
|
key: t,
|
|
16438
16438
|
value: t
|
|
16439
|
-
}, toDisplayString(t), 9, _hoisted_2$
|
|
16439
|
+
}, toDisplayString(t), 9, _hoisted_2$7);
|
|
16440
16440
|
}), 128))], 512), [[vModelSelect, filterType.value]]), withDirectives(createElementVNode("select", {
|
|
16441
16441
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filterUser.value = $event),
|
|
16442
16442
|
class: "mint-audit-trail__filter-select"
|
|
@@ -16444,7 +16444,7 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16444
16444
|
return openBlock(), createElementBlock("option", {
|
|
16445
16445
|
key: u,
|
|
16446
16446
|
value: u
|
|
16447
|
-
}, toDisplayString(u), 9, _hoisted_3$
|
|
16447
|
+
}, toDisplayString(u), 9, _hoisted_3$6);
|
|
16448
16448
|
}), 128))], 512), [[vModelSelect, filterUser.value]])])) : createCommentVNode("", true),
|
|
16449
16449
|
sortedEntries.value.length ? (openBlock(), createElementBlock("div", {
|
|
16450
16450
|
key: 1,
|
|
@@ -16458,8 +16458,8 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16458
16458
|
key: entry.id,
|
|
16459
16459
|
class: normalizeClass(["mint-audit-trail__entry", `mint-audit-trail__entry--${entry.type}`]),
|
|
16460
16460
|
onClick: ($event) => handleEntryClick(entry)
|
|
16461
|
-
}, [renderSlot(_ctx.$slots, "entry", { entry }, () => [_cache[4] || (_cache[4] = createElementVNode("div", { class: "mint-audit-trail__dot" }, null, -1)), createElementVNode("div", _hoisted_5$
|
|
16462
|
-
createElementVNode("div", _hoisted_6$
|
|
16461
|
+
}, [renderSlot(_ctx.$slots, "entry", { entry }, () => [_cache[4] || (_cache[4] = createElementVNode("div", { class: "mint-audit-trail__dot" }, null, -1)), createElementVNode("div", _hoisted_5$5, [
|
|
16462
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
16463
16463
|
entry.user ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(getInitials(entry.user)), 1)) : createCommentVNode("", true),
|
|
16464
16464
|
entry.user ? (openBlock(), createElementBlock("span", _hoisted_8$3, toDisplayString(entry.user), 1)) : createCommentVNode("", true),
|
|
16465
16465
|
createElementVNode("span", _hoisted_9$3, toDisplayString(formatTimestamp(entry.timestamp)), 1)
|
|
@@ -16472,7 +16472,7 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16472
16472
|
class: "mint-audit-trail__metadata-item"
|
|
16473
16473
|
}, [createElementVNode("span", _hoisted_13$3, toDisplayString(key) + ":", 1), createTextVNode(" " + toDisplayString(value), 1)]);
|
|
16474
16474
|
}), 128))])) : createCommentVNode("", true)
|
|
16475
|
-
])])], 10, _hoisted_4$
|
|
16475
|
+
])])], 10, _hoisted_4$6);
|
|
16476
16476
|
}), 128))], 4)) : createCommentVNode("", true),
|
|
16477
16477
|
!sortedEntries.value.length ? (openBlock(), createElementBlock("div", _hoisted_14$3, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(__props.emptyMessage), 1)])])) : createCommentVNode("", true)
|
|
16478
16478
|
], 2);
|
|
@@ -16481,15 +16481,15 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16481
16481
|
});
|
|
16482
16482
|
//#endregion
|
|
16483
16483
|
//#region src/components/BatchProgressList.vue?vue&type=script&setup=true&lang.ts
|
|
16484
|
-
var _hoisted_1$
|
|
16485
|
-
var _hoisted_2$
|
|
16484
|
+
var _hoisted_1$6 = { class: "mint-batch-progress" };
|
|
16485
|
+
var _hoisted_2$6 = {
|
|
16486
16486
|
key: 0,
|
|
16487
16487
|
class: "mint-batch-progress__header"
|
|
16488
16488
|
};
|
|
16489
|
-
var _hoisted_3$
|
|
16490
|
-
var _hoisted_4$
|
|
16491
|
-
var _hoisted_5$
|
|
16492
|
-
var _hoisted_6$
|
|
16489
|
+
var _hoisted_3$5 = { class: "mint-batch-progress__title" };
|
|
16490
|
+
var _hoisted_4$5 = { class: "mint-batch-progress__percent" };
|
|
16491
|
+
var _hoisted_5$4 = { class: "mint-batch-progress__overall" };
|
|
16492
|
+
var _hoisted_6$4 = { class: "mint-batch-progress__summary" };
|
|
16493
16493
|
var _hoisted_7$2 = {
|
|
16494
16494
|
key: 0,
|
|
16495
16495
|
class: "mint-batch-progress__summary-item mint-batch-progress__summary-item--completed"
|
|
@@ -16621,16 +16621,16 @@ var BatchProgressList_default = /* @__PURE__ */ defineComponent({
|
|
|
16621
16621
|
}
|
|
16622
16622
|
});
|
|
16623
16623
|
return (_ctx, _cache) => {
|
|
16624
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16625
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16626
|
-
createElementVNode("div", _hoisted_5$
|
|
16624
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
16625
|
+
__props.title ? (openBlock(), createElementBlock("div", _hoisted_2$6, [createElementVNode("span", _hoisted_3$5, toDisplayString(__props.title), 1), createElementVNode("span", _hoisted_4$5, toDisplayString(summary.value.percent) + "%", 1)])) : createCommentVNode("", true),
|
|
16626
|
+
createElementVNode("div", _hoisted_5$4, [createElementVNode("div", {
|
|
16627
16627
|
class: "mint-batch-progress__overall-bar",
|
|
16628
16628
|
style: normalizeStyle({ width: `${summary.value.percent}%` })
|
|
16629
16629
|
}, null, 4)]),
|
|
16630
16630
|
__props.showSummary ? renderSlot(_ctx.$slots, "summary", {
|
|
16631
16631
|
key: 1,
|
|
16632
16632
|
summary: summary.value
|
|
16633
|
-
}, () => [createElementVNode("div", _hoisted_6$
|
|
16633
|
+
}, () => [createElementVNode("div", _hoisted_6$4, [
|
|
16634
16634
|
summary.value.completed ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(summary.value.completed) + " completed ", 1)) : createCommentVNode("", true),
|
|
16635
16635
|
summary.value.processing ? (openBlock(), createElementBlock("span", _hoisted_8$2, toDisplayString(summary.value.processing) + " processing ", 1)) : createCommentVNode("", true),
|
|
16636
16636
|
summary.value.error ? (openBlock(), createElementBlock("span", _hoisted_9$2, toDisplayString(summary.value.error) + " failed ", 1)) : createCommentVNode("", true),
|
|
@@ -16702,12 +16702,12 @@ var BatchProgressList_default = /* @__PURE__ */ defineComponent({
|
|
|
16702
16702
|
});
|
|
16703
16703
|
//#endregion
|
|
16704
16704
|
//#region src/components/ExperimentDataViewer.vue?vue&type=script&setup=true&lang.ts
|
|
16705
|
-
var _hoisted_1$
|
|
16706
|
-
var _hoisted_2$
|
|
16707
|
-
var _hoisted_3$
|
|
16708
|
-
var _hoisted_4$
|
|
16709
|
-
var _hoisted_5$
|
|
16710
|
-
var _hoisted_6$
|
|
16705
|
+
var _hoisted_1$5 = { class: "mint-data-viewer" };
|
|
16706
|
+
var _hoisted_2$5 = { class: "mint-data-viewer__header" };
|
|
16707
|
+
var _hoisted_3$4 = { class: "mint-data-viewer__controls" };
|
|
16708
|
+
var _hoisted_4$4 = { class: "mint-data-viewer__actions" };
|
|
16709
|
+
var _hoisted_5$3 = { class: "mint-data-viewer__content" };
|
|
16710
|
+
var _hoisted_6$3 = {
|
|
16711
16711
|
key: 0,
|
|
16712
16712
|
class: "mint-data-viewer__loading"
|
|
16713
16713
|
};
|
|
@@ -16837,14 +16837,14 @@ var ExperimentDataViewer_default = /* @__PURE__ */ defineComponent({
|
|
|
16837
16837
|
emit("download-csv");
|
|
16838
16838
|
}
|
|
16839
16839
|
return (_ctx, _cache) => {
|
|
16840
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16840
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [createElementVNode("div", _hoisted_2$5, [createElementVNode("div", _hoisted_3$4, [createVNode(SegmentedControl_default, {
|
|
16841
16841
|
modelValue: viewMode.value,
|
|
16842
16842
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => viewMode.value = $event),
|
|
16843
16843
|
options: viewOptions.value,
|
|
16844
16844
|
variant: "card",
|
|
16845
16845
|
size: "sm",
|
|
16846
16846
|
"full-width": false
|
|
16847
|
-
}, null, 8, ["modelValue", "options"])]), createElementVNode("div", _hoisted_4$
|
|
16847
|
+
}, null, 8, ["modelValue", "options"])]), createElementVNode("div", _hoisted_4$4, [
|
|
16848
16848
|
__props.pluginRoutePrefix && __props.experimentId ? (openBlock(), createBlock(BaseButton_default, {
|
|
16849
16849
|
key: 0,
|
|
16850
16850
|
variant: "secondary",
|
|
@@ -16872,7 +16872,7 @@ var ExperimentDataViewer_default = /* @__PURE__ */ defineComponent({
|
|
|
16872
16872
|
default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode(" CSV ", -1)])]),
|
|
16873
16873
|
_: 1
|
|
16874
16874
|
})) : createCommentVNode("", true)
|
|
16875
|
-
])]), createElementVNode("div", _hoisted_5$
|
|
16875
|
+
])]), createElementVNode("div", _hoisted_5$3, [isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_6$3, [createElementVNode("div", _hoisted_7$1, [
|
|
16876
16876
|
createVNode(Skeleton_default, {
|
|
16877
16877
|
width: "40%",
|
|
16878
16878
|
height: "16px"
|
|
@@ -16956,10 +16956,10 @@ var ExperimentDataViewer_default = /* @__PURE__ */ defineComponent({
|
|
|
16956
16956
|
});
|
|
16957
16957
|
//#endregion
|
|
16958
16958
|
//#region src/components/TimeRangeInput.vue?vue&type=script&setup=true&lang.ts
|
|
16959
|
-
var _hoisted_1$
|
|
16960
|
-
var _hoisted_2$
|
|
16961
|
-
var _hoisted_3$
|
|
16962
|
-
var _hoisted_4$
|
|
16959
|
+
var _hoisted_1$4 = { class: "mint-time-range" };
|
|
16960
|
+
var _hoisted_2$4 = { class: "mint-time-range__start" };
|
|
16961
|
+
var _hoisted_3$3 = { class: "mint-time-range__separator" };
|
|
16962
|
+
var _hoisted_4$3 = { class: "mint-time-range__end" };
|
|
16963
16963
|
//#endregion
|
|
16964
16964
|
//#region src/components/TimeRangeInput.vue
|
|
16965
16965
|
var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17029,8 +17029,8 @@ var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17029
17029
|
});
|
|
17030
17030
|
}
|
|
17031
17031
|
return (_ctx, _cache) => {
|
|
17032
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17033
|
-
createElementVNode("div", _hoisted_2$
|
|
17032
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
17033
|
+
createElementVNode("div", _hoisted_2$4, [createVNode(TimePicker_default, {
|
|
17034
17034
|
"model-value": startValue.value,
|
|
17035
17035
|
disabled: __props.disabled,
|
|
17036
17036
|
error: __props.error || isInvalid.value,
|
|
@@ -17051,11 +17051,11 @@ var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17051
17051
|
"step",
|
|
17052
17052
|
"format"
|
|
17053
17053
|
])]),
|
|
17054
|
-
createElementVNode("div", _hoisted_3$
|
|
17054
|
+
createElementVNode("div", _hoisted_3$3, [__props.showDuration && duration.value !== null ? (openBlock(), createElementBlock("span", {
|
|
17055
17055
|
key: 0,
|
|
17056
17056
|
class: normalizeClass(["mint-time-range__duration", isInvalid.value ? "mint-time-range__duration--error" : ""])
|
|
17057
17057
|
}, toDisplayString(durationLabel.value), 3)) : createCommentVNode("", true)]),
|
|
17058
|
-
createElementVNode("div", _hoisted_4$
|
|
17058
|
+
createElementVNode("div", _hoisted_4$3, [createVNode(TimePicker_default, {
|
|
17059
17059
|
"model-value": endValue.value,
|
|
17060
17060
|
disabled: __props.disabled,
|
|
17061
17061
|
error: __props.error || isInvalid.value,
|
|
@@ -17082,12 +17082,12 @@ var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17082
17082
|
});
|
|
17083
17083
|
//#endregion
|
|
17084
17084
|
//#region src/components/ResourceCard.vue?vue&type=script&setup=true&lang.ts
|
|
17085
|
-
var _hoisted_1$
|
|
17086
|
-
var _hoisted_2$
|
|
17087
|
-
var _hoisted_3$
|
|
17088
|
-
var _hoisted_4$
|
|
17089
|
-
var _hoisted_5$
|
|
17090
|
-
var _hoisted_6$
|
|
17085
|
+
var _hoisted_1$3 = { class: "mint-resource-card__name" };
|
|
17086
|
+
var _hoisted_2$3 = { class: "mint-resource-card__content" };
|
|
17087
|
+
var _hoisted_3$2 = { class: "mint-resource-card__header" };
|
|
17088
|
+
var _hoisted_4$2 = { class: "mint-resource-card__image" };
|
|
17089
|
+
var _hoisted_5$2 = ["src", "alt"];
|
|
17090
|
+
var _hoisted_6$2 = {
|
|
17091
17091
|
key: 1,
|
|
17092
17092
|
class: "mint-resource-card__image-fallback"
|
|
17093
17093
|
};
|
|
@@ -17175,7 +17175,7 @@ var ResourceCard_default = /* @__PURE__ */ defineComponent({
|
|
|
17175
17175
|
onClick: handleClick
|
|
17176
17176
|
}, [
|
|
17177
17177
|
renderSlot(_ctx.$slots, "status", {}, () => [createElementVNode("span", { class: normalizeClass(["mint-resource-card__status-dot", `mint-resource-card__status-dot--${__props.status}`]) }, null, 2)]),
|
|
17178
|
-
createElementVNode("span", _hoisted_1$
|
|
17178
|
+
createElementVNode("span", _hoisted_1$3, toDisplayString(__props.name), 1),
|
|
17179
17179
|
createElementVNode("span", { class: normalizeClass(["mint-resource-card__status-label", `mint-resource-card__status-label--${__props.status}`]) }, toDisplayString(displayStatusLabel.value), 3),
|
|
17180
17180
|
renderSlot(_ctx.$slots, "action", {}, () => [__props.showBookAction ? (openBlock(), createElementBlock("button", {
|
|
17181
17181
|
key: 0,
|
|
@@ -17187,12 +17187,12 @@ var ResourceCard_default = /* @__PURE__ */ defineComponent({
|
|
|
17187
17187
|
key: 1,
|
|
17188
17188
|
class: normalizeClass(cardClasses.value),
|
|
17189
17189
|
onClick: handleClick
|
|
17190
|
-
}, [createElementVNode("div", _hoisted_2$
|
|
17191
|
-
createElementVNode("div", _hoisted_3$
|
|
17190
|
+
}, [createElementVNode("div", _hoisted_2$3, [
|
|
17191
|
+
createElementVNode("div", _hoisted_3$2, [createElementVNode("div", _hoisted_4$2, [renderSlot(_ctx.$slots, "image", {}, () => [__props.image ? (openBlock(), createElementBlock("img", {
|
|
17192
17192
|
key: 0,
|
|
17193
17193
|
src: __props.image,
|
|
17194
17194
|
alt: __props.name
|
|
17195
|
-
}, null, 8, _hoisted_5$
|
|
17195
|
+
}, null, 8, _hoisted_5$2)) : (openBlock(), createElementBlock("div", _hoisted_6$2, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
17196
17196
|
fill: "none",
|
|
17197
17197
|
stroke: "currentColor",
|
|
17198
17198
|
viewBox: "0 0 24 24"
|
|
@@ -17243,6 +17243,84 @@ var ResourceCard_default = /* @__PURE__ */ defineComponent({
|
|
|
17243
17243
|
}
|
|
17244
17244
|
});
|
|
17245
17245
|
//#endregion
|
|
17246
|
+
//#region src/components/SectionCard.vue?vue&type=script&setup=true&lang.ts
|
|
17247
|
+
var _hoisted_1$2 = {
|
|
17248
|
+
class: "mint-section-card__icon",
|
|
17249
|
+
viewBox: "0 0 24 24",
|
|
17250
|
+
fill: "none",
|
|
17251
|
+
stroke: "currentColor",
|
|
17252
|
+
"stroke-width": "2",
|
|
17253
|
+
"stroke-linecap": "round",
|
|
17254
|
+
"stroke-linejoin": "round",
|
|
17255
|
+
"aria-hidden": "true"
|
|
17256
|
+
};
|
|
17257
|
+
var _hoisted_2$2 = ["d"];
|
|
17258
|
+
var _hoisted_3$1 = {
|
|
17259
|
+
key: 1,
|
|
17260
|
+
class: "mint-section-card__count"
|
|
17261
|
+
};
|
|
17262
|
+
var _hoisted_4$1 = {
|
|
17263
|
+
key: 0,
|
|
17264
|
+
class: "mint-section-card__toolbar"
|
|
17265
|
+
};
|
|
17266
|
+
var _hoisted_5$1 = { class: "mint-section-card__body" };
|
|
17267
|
+
var _hoisted_6$1 = {
|
|
17268
|
+
key: 1,
|
|
17269
|
+
class: "mint-section-card__footer"
|
|
17270
|
+
};
|
|
17271
|
+
//#endregion
|
|
17272
|
+
//#region src/components/SectionCard.vue
|
|
17273
|
+
var SectionCard_default = /* @__PURE__ */ defineComponent({
|
|
17274
|
+
__name: "SectionCard",
|
|
17275
|
+
props: {
|
|
17276
|
+
title: {},
|
|
17277
|
+
count: { default: void 0 },
|
|
17278
|
+
icon: { default: void 0 },
|
|
17279
|
+
accent: { default: "primary" },
|
|
17280
|
+
uppercase: {
|
|
17281
|
+
type: Boolean,
|
|
17282
|
+
default: false
|
|
17283
|
+
},
|
|
17284
|
+
divider: { default: "strong" },
|
|
17285
|
+
fill: {
|
|
17286
|
+
type: Boolean,
|
|
17287
|
+
default: false
|
|
17288
|
+
}
|
|
17289
|
+
},
|
|
17290
|
+
setup(__props) {
|
|
17291
|
+
/** One-card page region from the MINT 1.1 card system: 12px radius, the
|
|
17292
|
+
* single --card-shadow token, a header strip (icon chip, title, mono count,
|
|
17293
|
+
* actions), and hairline-separated content — no card-in-card. */
|
|
17294
|
+
const props = __props;
|
|
17295
|
+
const iconPaths = computed(() => props.icon === void 0 ? [] : Array.isArray(props.icon) ? props.icon : [props.icon]);
|
|
17296
|
+
const headerClasses = computed(() => ["mint-section-card__header", props.divider === "light" ? "mint-section-card__header--divider-light" : ""]);
|
|
17297
|
+
const titleClasses = computed(() => ["mint-section-card__title", props.uppercase ? "mint-section-card__title--uppercase" : ""]);
|
|
17298
|
+
const cardClasses = computed(() => ["mint-section-card", props.fill ? "mint-section-card--fill" : ""]);
|
|
17299
|
+
return (_ctx, _cache) => {
|
|
17300
|
+
return openBlock(), createElementBlock("section", { class: normalizeClass(cardClasses.value) }, [
|
|
17301
|
+
createElementVNode("div", { class: normalizeClass(headerClasses.value) }, [
|
|
17302
|
+
iconPaths.value.length ? (openBlock(), createElementBlock("span", {
|
|
17303
|
+
key: 0,
|
|
17304
|
+
class: normalizeClass(["mint-section-card__icon-chip", `mint-section-card__icon-chip--${__props.accent}`])
|
|
17305
|
+
}, [(openBlock(), createElementBlock("svg", _hoisted_1$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(iconPaths.value, (d, i) => {
|
|
17306
|
+
return openBlock(), createElementBlock("path", {
|
|
17307
|
+
key: i,
|
|
17308
|
+
d
|
|
17309
|
+
}, null, 8, _hoisted_2$2);
|
|
17310
|
+
}), 128))]))], 2)) : createCommentVNode("", true),
|
|
17311
|
+
createElementVNode("h2", { class: normalizeClass(titleClasses.value) }, toDisplayString(__props.title), 3),
|
|
17312
|
+
__props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(__props.count), 1)) : createCommentVNode("", true),
|
|
17313
|
+
_cache[0] || (_cache[0] = createElementVNode("div", { class: "mint-section-card__spacer" }, null, -1)),
|
|
17314
|
+
renderSlot(_ctx.$slots, "actions")
|
|
17315
|
+
], 2),
|
|
17316
|
+
_ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_4$1, [renderSlot(_ctx.$slots, "toolbar")])) : createCommentVNode("", true),
|
|
17317
|
+
createElementVNode("div", _hoisted_5$1, [renderSlot(_ctx.$slots, "default")]),
|
|
17318
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("", true)
|
|
17319
|
+
], 2);
|
|
17320
|
+
};
|
|
17321
|
+
}
|
|
17322
|
+
});
|
|
17323
|
+
//#endregion
|
|
17246
17324
|
//#region src/components/ArtifactSaveDialog.vue?vue&type=script&setup=true&lang.ts
|
|
17247
17325
|
var _hoisted_1$1 = { class: "mint-artifact-save-dialog" };
|
|
17248
17326
|
var _hoisted_2$1 = {
|
|
@@ -17778,6 +17856,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
17778
17856
|
SampleSelector: () => SampleSelector_default,
|
|
17779
17857
|
ScheduleCalendar: () => ScheduleCalendar_default,
|
|
17780
17858
|
ScientificNumber: () => ScientificNumber_default,
|
|
17859
|
+
SectionCard: () => SectionCard_default,
|
|
17781
17860
|
SegmentedControl: () => SegmentedControl_default,
|
|
17782
17861
|
SequenceInput: () => SequenceInput_default,
|
|
17783
17862
|
SequenceProgressBar: () => SequenceProgressBar_default,
|
|
@@ -17797,6 +17876,6 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
17797
17876
|
WellPlate: () => WellPlate_default
|
|
17798
17877
|
});
|
|
17799
17878
|
//#endregion
|
|
17800
|
-
export {
|
|
17879
|
+
export { SmartGroupFieldRecipe_default as $, ProtocolStepEditor_default as A, DataFrame_default as At, Breadcrumb_default as B, estimateSequenceRemainingSeconds as C, AppPluginSwitcher_default as Ct, sequenceSamplesRemaining as D, ThemeToggle_default as Dt, sequenceProgressPercent as E, CollapsibleCard_default as Et, RackEditor_default as F, ColorSlider_default as Ft, AppContainer_default as G, ProgressBar_default as H, BioTemplatePresetWorkspaceView_default as I, ComponentBindingRenderer_default as J, DoseDesignWorkspaceView_default as K, BioTemplatePackWorkspaceView_default as L, ReagentEditor_default as M, DropdownButton_default as Mt, SmartGroupModal_default as N, SegmentedControl_default as Nt, ChemicalFormula_default as O, IconButton_default as Ot, GroupAssigner_default as P, BaseTabs_default as Pt, SmartGroupManual_default as Q, BioTemplateExperimentWorkspaceView_default as R, estimateSequenceFinishDate as S, AppTopBar_default as St, formatSequenceRemaining as T, PluginIcon_default as Tt, StatusIndicator_default as U, Avatar_default as V, Divider_default as W, SampleSelector_default as X, ScheduleCalendar_default as Y, AutoGroupModal_default as Z, reconstructLcmsPlateCellsFromSequenceItems as _, AppLayout_default as _t, ResourceCard_default as a, DoseCalculator_default as at, InstrumentAlertLog_default as b, FormActions_default as bt, BatchProgressList_default as c, GeneratedResultRenderer_default as ct, DEFAULT_LCMS_SEQUENCE_COLUMNS as d, LoadingSpinner_default as dt, ReagentList_default as et, basenameFromWindowsPath as f, generatedJobDefaults as ft, lcmsWellIdFromPosition as g, MobileSupportGate_default as gt, inferLcmsPlateTypeFromWellIds as h, PluginWorkspaceView_default as ht, SectionCard_default as i, ExperimentTimeline_default as it, SampleHierarchyTree_default as j, Calendar_default as jt, ScientificNumber_default as k, AppToastContainer_default as kt, AuditTrail_default as l, GeneratedPlotlyResult_default as lt, extractLcmsSampleName as m, normalizeGeneratedJobInput as mt, FitPanel_default as n, SampleLegend_default as nt, TimeRangeInput_default as o, GeneratedPluginView_default as ot, extractLcmsCommonPrefix as p, generatedJobFormSchema as pt, ControlWorkspaceView_default as q, ArtifactSaveDialog_default as r, WellPlate_default as rt, ExperimentDataViewer_default as s, JobsStatusTray_default as st, components_exports as t, PlateMapEditor_default as tt, LcmsSequenceTable_default as u, ChartContainer_default as ut, InstrumentStatusCard_default as v, AppSidebar_default as vt, formatSequenceEta as w, AppAvatarMenu_default as wt, SequenceProgressBar_default as x, StepWizard_default as xt, InstrumentStateBadge_default as y, FormBuilder_default as yt, BioTemplateRenderer_default as z };
|
|
17801
17880
|
|
|
17802
|
-
//# sourceMappingURL=components-
|
|
17881
|
+
//# sourceMappingURL=components-DFH5whuh.js.map
|