@morscherlab/mint-sdk 1.0.13 → 1.0.15
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__/composables/useCommandHistory.test.d.ts +1 -0
- package/dist/__tests__/composables/useFileImport.test.d.ts +1 -0
- package/dist/__tests__/composables/useOptimisticMutation.test.d.ts +1 -0
- package/dist/__tests__/composables/useResourceCrud.test.d.ts +1 -0
- package/dist/__tests__/composables/useWellPainting.test.d.ts +1 -0
- package/dist/__tests__/composables/useWellPlateAdapter.test.d.ts +1 -0
- package/dist/__tests__/composables/useWellPlateValidation.test.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/{components-CzFtQExv.js → components-Cyk8QEyL.js} +81 -75
- package/dist/components-Cyk8QEyL.js.map +1 -0
- package/dist/composables/index.d.ts +7 -0
- package/dist/composables/index.js +2 -2
- package/dist/composables/useCommandHistory.d.ts +29 -0
- package/dist/composables/useFileImport.d.ts +35 -0
- package/dist/composables/useOptimisticMutation.d.ts +28 -0
- package/dist/composables/useResourceCrud.d.ts +40 -0
- package/dist/composables/useWellPainting.d.ts +35 -0
- package/dist/composables/useWellPlateAdapter.d.ts +36 -0
- package/dist/composables/useWellPlateValidation.d.ts +27 -0
- package/dist/{composables-BuG5yAb7.js → composables-D9mexHSW.js} +666 -3
- package/dist/composables-D9mexHSW.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/install.js +1 -1
- package/package.json +1 -1
- package/src/__tests__/components/SampleSelector.test.ts +6 -3
- package/src/__tests__/components/SampleSelectorSampleRow.test.ts +5 -2
- package/src/__tests__/composables/useCommandHistory.test.ts +43 -0
- package/src/__tests__/composables/useFileImport.test.ts +44 -0
- package/src/__tests__/composables/useOptimisticMutation.test.ts +40 -0
- package/src/__tests__/composables/useResourceCrud.test.ts +56 -0
- package/src/__tests__/composables/useWellPainting.test.ts +52 -0
- package/src/__tests__/composables/useWellPlateAdapter.test.ts +50 -0
- package/src/__tests__/composables/useWellPlateValidation.test.ts +42 -0
- package/src/components/PluginWorkspaceView.vue +3 -3
- package/src/components/SampleSelector.vue +2 -0
- package/src/components/SampleSelectorSampleRow.vue +2 -0
- package/src/composables/index.ts +67 -0
- package/src/composables/useCommandHistory.ts +113 -0
- package/src/composables/useFileImport.ts +231 -0
- package/src/composables/useOptimisticMutation.ts +107 -0
- package/src/composables/useResourceCrud.ts +245 -0
- package/src/composables/useWellPainting.ts +187 -0
- package/src/composables/useWellPlateAdapter.ts +147 -0
- package/src/composables/useWellPlateValidation.ts +85 -0
- package/dist/components-CzFtQExv.js.map +0 -1
- package/dist/composables-BuG5yAb7.js.map +0 -1
|
@@ -26,7 +26,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
26
26
|
//#region src/components/ColorSlider.vue?vue&type=script&setup=true&lang.ts
|
|
27
27
|
var _hoisted_1$67 = { class: "mint-color-slider__row" };
|
|
28
28
|
var _hoisted_2$59 = { class: "mint-color-slider__track" };
|
|
29
|
-
var _hoisted_3$
|
|
29
|
+
var _hoisted_3$55 = [
|
|
30
30
|
"value",
|
|
31
31
|
"min",
|
|
32
32
|
"max",
|
|
@@ -158,7 +158,7 @@ var ColorSlider_default = /* @__PURE__ */ defineComponent({
|
|
|
158
158
|
"--thumb-size": `${sizeConfig.value.thumb}px`
|
|
159
159
|
}),
|
|
160
160
|
onInput: handleInput
|
|
161
|
-
}, null, 44, _hoisted_3$
|
|
161
|
+
}, null, 44, _hoisted_3$55)]), __props.showValue ? (openBlock(), createElementBlock("div", {
|
|
162
162
|
key: 0,
|
|
163
163
|
class: "mint-color-slider__badge",
|
|
164
164
|
style: normalizeStyle({
|
|
@@ -183,7 +183,7 @@ var _hoisted_1$66 = [
|
|
|
183
183
|
"onClick"
|
|
184
184
|
];
|
|
185
185
|
var _hoisted_2$58 = { class: "mint-tab__content" };
|
|
186
|
-
var _hoisted_3$
|
|
186
|
+
var _hoisted_3$54 = {
|
|
187
187
|
key: 0,
|
|
188
188
|
class: "mint-tab__icon mint-tab__icon--svg",
|
|
189
189
|
viewBox: "0 0 24 24",
|
|
@@ -246,7 +246,7 @@ var BaseTabs_default = /* @__PURE__ */ defineComponent({
|
|
|
246
246
|
]),
|
|
247
247
|
onClick: ($event) => selectTab(tab.id)
|
|
248
248
|
}, [createElementVNode("span", _hoisted_2$58, [
|
|
249
|
-
isSvgIcon(tab.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
249
|
+
isSvgIcon(tab.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$54, [Array.isArray(tab.icon) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(tab.icon, (d, index) => {
|
|
250
250
|
return openBlock(), createElementBlock("path", {
|
|
251
251
|
key: index,
|
|
252
252
|
d
|
|
@@ -271,7 +271,7 @@ var _hoisted_1$65 = [
|
|
|
271
271
|
"onKeydown"
|
|
272
272
|
];
|
|
273
273
|
var _hoisted_2$57 = { class: "mint-segmented-control__label" };
|
|
274
|
-
var _hoisted_3$
|
|
274
|
+
var _hoisted_3$53 = {
|
|
275
275
|
key: 0,
|
|
276
276
|
class: "mint-segmented-control__description"
|
|
277
277
|
};
|
|
@@ -343,7 +343,7 @@ var SegmentedControl_default = /* @__PURE__ */ defineComponent({
|
|
|
343
343
|
]),
|
|
344
344
|
onClick: ($event) => handleSelect(option),
|
|
345
345
|
onKeydown: ($event) => handleKeydown($event, option)
|
|
346
|
-
}, [createElementVNode("span", _hoisted_2$57, toDisplayString(option.label), 1), option.description && __props.variant === "card" ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
346
|
+
}, [createElementVNode("span", _hoisted_2$57, toDisplayString(option.label), 1), option.description && __props.variant === "card" ? (openBlock(), createElementBlock("span", _hoisted_3$53, toDisplayString(option.description), 1)) : createCommentVNode("", true)], 42, _hoisted_1$65);
|
|
347
347
|
}), 128))], 2);
|
|
348
348
|
};
|
|
349
349
|
}
|
|
@@ -358,7 +358,7 @@ var _hoisted_2$56 = {
|
|
|
358
358
|
fill: "none",
|
|
359
359
|
"aria-hidden": "true"
|
|
360
360
|
};
|
|
361
|
-
var _hoisted_3$
|
|
361
|
+
var _hoisted_3$52 = { class: "mint-dropdown-button__label" };
|
|
362
362
|
var _hoisted_4$49 = ["aria-activedescendant"];
|
|
363
363
|
var _hoisted_5$47 = [
|
|
364
364
|
"id",
|
|
@@ -459,7 +459,7 @@ var DropdownButton_default = /* @__PURE__ */ defineComponent({
|
|
|
459
459
|
"stroke-width": "3",
|
|
460
460
|
"stroke-linecap": "round"
|
|
461
461
|
}, null, -1)])])) : createCommentVNode("", true),
|
|
462
|
-
createElementVNode("span", _hoisted_3$
|
|
462
|
+
createElementVNode("span", _hoisted_3$52, toDisplayString(selectedLabel.value), 1),
|
|
463
463
|
(openBlock(), createElementBlock("svg", {
|
|
464
464
|
class: normalizeClass(["mint-dropdown-button__chevron", { "mint-dropdown-button__chevron--open": unref(isOpen) }]),
|
|
465
465
|
viewBox: "0 0 24 24",
|
|
@@ -505,7 +505,7 @@ var _hoisted_2$55 = {
|
|
|
505
505
|
key: 0,
|
|
506
506
|
class: "mint-calendar__header"
|
|
507
507
|
};
|
|
508
|
-
var _hoisted_3$
|
|
508
|
+
var _hoisted_3$51 = { class: "mint-calendar__title" };
|
|
509
509
|
var _hoisted_4$48 = { class: "mint-calendar__weekdays" };
|
|
510
510
|
var _hoisted_5$46 = { class: "mint-calendar__grid" };
|
|
511
511
|
var _hoisted_6$45 = [
|
|
@@ -754,7 +754,7 @@ var Calendar_default = /* @__PURE__ */ defineComponent({
|
|
|
754
754
|
year: currentYear.value,
|
|
755
755
|
prevMonth,
|
|
756
756
|
nextMonth
|
|
757
|
-
}, () => [createElementVNode("span", _hoisted_3$
|
|
757
|
+
}, () => [createElementVNode("span", _hoisted_3$51, toDisplayString(monthLabel.value), 1)]),
|
|
758
758
|
createElementVNode("button", {
|
|
759
759
|
type: "button",
|
|
760
760
|
class: "mint-calendar__nav-btn",
|
|
@@ -813,7 +813,7 @@ var _hoisted_1$62 = {
|
|
|
813
813
|
class: "mint-dataframe__header"
|
|
814
814
|
};
|
|
815
815
|
var _hoisted_2$54 = { class: "mint-dataframe__search-wrapper" };
|
|
816
|
-
var _hoisted_3$
|
|
816
|
+
var _hoisted_3$50 = ["placeholder"];
|
|
817
817
|
var _hoisted_4$47 = { class: "mint-dataframe__table" };
|
|
818
818
|
var _hoisted_5$45 = {
|
|
819
819
|
key: 0,
|
|
@@ -1054,7 +1054,7 @@ var DataFrame_default = /* @__PURE__ */ defineComponent({
|
|
|
1054
1054
|
type: "text",
|
|
1055
1055
|
class: "mint-dataframe__search",
|
|
1056
1056
|
placeholder: __props.searchPlaceholder
|
|
1057
|
-
}, null, 8, _hoisted_3$
|
|
1057
|
+
}, null, 8, _hoisted_3$50), [[vModelText, searchQuery.value]])])])) : createCommentVNode("", true),
|
|
1058
1058
|
createElementVNode("div", {
|
|
1059
1059
|
class: "mint-dataframe__table-wrapper",
|
|
1060
1060
|
style: normalizeStyle(wrapperStyle.value)
|
|
@@ -1219,7 +1219,7 @@ var _hoisted_2$53 = {
|
|
|
1219
1219
|
"stroke-linecap": "round",
|
|
1220
1220
|
"stroke-linejoin": "round"
|
|
1221
1221
|
};
|
|
1222
|
-
var _hoisted_3$
|
|
1222
|
+
var _hoisted_3$49 = {
|
|
1223
1223
|
key: 2,
|
|
1224
1224
|
class: "mint-alert__icon mint-alert__icon--warning",
|
|
1225
1225
|
viewBox: "0 0 24 24",
|
|
@@ -1286,7 +1286,7 @@ var AlertBox_default = /* @__PURE__ */ defineComponent({
|
|
|
1286
1286
|
}, null, -1),
|
|
1287
1287
|
createElementVNode("path", { d: "m15 9-6 6" }, null, -1),
|
|
1288
1288
|
createElementVNode("path", { d: "m9 9 6 6" }, null, -1)
|
|
1289
|
-
])])) : props.type === "warning" ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
1289
|
+
])])) : props.type === "warning" ? (openBlock(), createElementBlock("svg", _hoisted_3$49, [..._cache[4] || (_cache[4] = [
|
|
1290
1290
|
createElementVNode("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" }, null, -1),
|
|
1291
1291
|
createElementVNode("path", { d: "M12 9v4" }, null, -1),
|
|
1292
1292
|
createElementVNode("path", { d: "M12 17h.01" }, null, -1)
|
|
@@ -1328,7 +1328,7 @@ var AlertBox_default = /* @__PURE__ */ defineComponent({
|
|
|
1328
1328
|
//#region src/components/AppToastContainer.vue?vue&type=script&setup=true&lang.ts
|
|
1329
1329
|
var _hoisted_1$60 = { class: "mint-toast__container" };
|
|
1330
1330
|
var _hoisted_2$52 = ["onClick"];
|
|
1331
|
-
var _hoisted_3$
|
|
1331
|
+
var _hoisted_3$48 = { class: "mint-toast__message" };
|
|
1332
1332
|
//#endregion
|
|
1333
1333
|
//#region src/components/AppToastContainer.vue
|
|
1334
1334
|
var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1417,7 +1417,7 @@ var AppToastContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
1417
1417
|
createElementVNode("path", { d: "M12 16v-4" }, null, -1),
|
|
1418
1418
|
createElementVNode("path", { d: "M12 8h.01" }, null, -1)
|
|
1419
1419
|
])], 4)),
|
|
1420
|
-
createElementVNode("span", _hoisted_3$
|
|
1420
|
+
createElementVNode("span", _hoisted_3$48, toDisplayString(toast.message), 1),
|
|
1421
1421
|
createElementVNode("span", {
|
|
1422
1422
|
class: "mint-toast__progress",
|
|
1423
1423
|
style: normalizeStyle({
|
|
@@ -1566,7 +1566,7 @@ var ThemeToggle_default = /* @__PURE__ */ defineComponent({
|
|
|
1566
1566
|
//#region src/components/CollapsibleCard.vue?vue&type=script&setup=true&lang.ts
|
|
1567
1567
|
var _hoisted_1$57 = { class: "mint-collapsible-card__header-shell" };
|
|
1568
1568
|
var _hoisted_2$50 = ["disabled", "aria-expanded"];
|
|
1569
|
-
var _hoisted_3$
|
|
1569
|
+
var _hoisted_3$47 = { class: "mint-collapsible-card__title-section" };
|
|
1570
1570
|
var _hoisted_4$45 = ["d"];
|
|
1571
1571
|
var _hoisted_5$43 = ["d"];
|
|
1572
1572
|
var _hoisted_6$42 = { class: "mint-collapsible-card__titles" };
|
|
@@ -1692,7 +1692,7 @@ var CollapsibleCard_default = /* @__PURE__ */ defineComponent({
|
|
|
1692
1692
|
disabled: __props.disabled,
|
|
1693
1693
|
"aria-expanded": isOpen.value,
|
|
1694
1694
|
onClick: toggle
|
|
1695
|
-
}, [createElementVNode("div", _hoisted_3$
|
|
1695
|
+
}, [createElementVNode("div", _hoisted_3$47, [__props.icon ? (openBlock(), createElementBlock("div", {
|
|
1696
1696
|
key: 0,
|
|
1697
1697
|
class: "mint-collapsible-card__icon-badge",
|
|
1698
1698
|
style: normalizeStyle(iconBgStyle.value)
|
|
@@ -1924,7 +1924,7 @@ var _hoisted_2$49 = [
|
|
|
1924
1924
|
"tabindex",
|
|
1925
1925
|
"onClick"
|
|
1926
1926
|
];
|
|
1927
|
-
var _hoisted_3$
|
|
1927
|
+
var _hoisted_3$46 = ["type", "disabled"];
|
|
1928
1928
|
//#endregion
|
|
1929
1929
|
//#region src/components/internal/ActionItemInternal.vue
|
|
1930
1930
|
var ActionItemInternal_default = /* @__PURE__ */ defineComponent({
|
|
@@ -1986,7 +1986,7 @@ var ActionItemInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
1986
1986
|
type: __props.type,
|
|
1987
1987
|
disabled: __props.disabled,
|
|
1988
1988
|
onClick: handleClick
|
|
1989
|
-
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_3$
|
|
1989
|
+
}), [renderSlot(_ctx.$slots, "default")], 16, _hoisted_3$46));
|
|
1990
1990
|
};
|
|
1991
1991
|
}
|
|
1992
1992
|
});
|
|
@@ -1994,7 +1994,7 @@ var ActionItemInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
1994
1994
|
//#region src/components/PluginIcon.vue?vue&type=script&setup=true&lang.ts
|
|
1995
1995
|
var _hoisted_1$55 = ["viewBox"];
|
|
1996
1996
|
var _hoisted_2$48 = { key: 0 };
|
|
1997
|
-
var _hoisted_3$
|
|
1997
|
+
var _hoisted_3$45 = [
|
|
1998
1998
|
"id",
|
|
1999
1999
|
"x1",
|
|
2000
2000
|
"y1",
|
|
@@ -2120,7 +2120,7 @@ var PluginIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
2120
2120
|
"stop-color": stop.color,
|
|
2121
2121
|
"stop-opacity": stop.opacity
|
|
2122
2122
|
}, null, 8, _hoisted_4$44);
|
|
2123
|
-
}), 128))], 8, _hoisted_3$
|
|
2123
|
+
}), 128))], 8, _hoisted_3$45)])) : createCommentVNode("", true),
|
|
2124
2124
|
structuredIcon.value.background ? (openBlock(), createElementBlock("rect", {
|
|
2125
2125
|
key: 1,
|
|
2126
2126
|
x: structuredViewBox.value.x,
|
|
@@ -2160,7 +2160,7 @@ var _hoisted_2$47 = {
|
|
|
2160
2160
|
key: 1,
|
|
2161
2161
|
class: "mint-page-selector__icon-fallback"
|
|
2162
2162
|
};
|
|
2163
|
-
var _hoisted_3$
|
|
2163
|
+
var _hoisted_3$44 = { class: "mint-page-selector__label" };
|
|
2164
2164
|
var _hoisted_4$43 = {
|
|
2165
2165
|
class: "mint-page-selector__chevron-wrap",
|
|
2166
2166
|
"aria-hidden": "true"
|
|
@@ -2229,7 +2229,7 @@ var AppTopBarPageSelectorInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2229
2229
|
size: "sm",
|
|
2230
2230
|
variant: "tinted"
|
|
2231
2231
|
}, null, 8, ["icon"])) : (openBlock(), createElementBlock("span", _hoisted_2$47, toDisplayString(current.value.label.charAt(0)), 1))])], 2)) : createCommentVNode("", true),
|
|
2232
|
-
createElementVNode("span", _hoisted_3$
|
|
2232
|
+
createElementVNode("span", _hoisted_3$44, toDisplayString(current.value?.label ?? __props.placeholder), 1),
|
|
2233
2233
|
createElementVNode("span", _hoisted_4$43, [(openBlock(), createElementBlock("svg", {
|
|
2234
2234
|
class: normalizeClass(["mint-page-selector__chevron", { "mint-page-selector__chevron--open": unref(isOpen) }]),
|
|
2235
2235
|
viewBox: "0 0 24 24",
|
|
@@ -2287,7 +2287,7 @@ var _hoisted_2$46 = [
|
|
|
2287
2287
|
"aria-expanded",
|
|
2288
2288
|
"onClick"
|
|
2289
2289
|
];
|
|
2290
|
-
var _hoisted_3$
|
|
2290
|
+
var _hoisted_3$43 = {
|
|
2291
2291
|
key: 0,
|
|
2292
2292
|
class: "mint-pill-nav__icon",
|
|
2293
2293
|
viewBox: "0 0 24 24",
|
|
@@ -2397,7 +2397,7 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2397
2397
|
"aria-haspopup": "menu",
|
|
2398
2398
|
onClick: withModifiers(($event) => handleClick(item), ["stop"])
|
|
2399
2399
|
}, [
|
|
2400
|
-
isSvgIcon(item.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$
|
|
2400
|
+
isSvgIcon(item.icon) ? (openBlock(), createElementBlock("svg", _hoisted_3$43, [Array.isArray(item.icon) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(item.icon, (d, index) => {
|
|
2401
2401
|
return openBlock(), createElementBlock("path", {
|
|
2402
2402
|
key: index,
|
|
2403
2403
|
d
|
|
@@ -2477,7 +2477,7 @@ var AppTopBarPillNavInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
2477
2477
|
//#region src/components/AppAvatarMenu.vue?vue&type=script&setup=true&lang.ts
|
|
2478
2478
|
var _hoisted_1$52 = ["aria-expanded", "title"];
|
|
2479
2479
|
var _hoisted_2$45 = { class: "mint-avatar-menu__avatar" };
|
|
2480
|
-
var _hoisted_3$
|
|
2480
|
+
var _hoisted_3$42 = {
|
|
2481
2481
|
key: 0,
|
|
2482
2482
|
class: "mint-avatar-menu__name"
|
|
2483
2483
|
};
|
|
@@ -2578,7 +2578,7 @@ var AppAvatarMenu_default = /* @__PURE__ */ defineComponent({
|
|
|
2578
2578
|
"aria-haspopup": "menu",
|
|
2579
2579
|
title: __props.userName ? `${__props.userName} · Account menu` : "Account menu",
|
|
2580
2580
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => unref(toggle) && unref(toggle)(...args), ["stop"]))
|
|
2581
|
-
}, [createElementVNode("span", _hoisted_2$45, [renderSlot(_ctx.$slots, "avatar", { initials: initials.value }, () => [createTextVNode(toDisplayString(initials.value), 1)])]), __props.userName ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
2581
|
+
}, [createElementVNode("span", _hoisted_2$45, [renderSlot(_ctx.$slots, "avatar", { initials: initials.value }, () => [createTextVNode(toDisplayString(initials.value), 1)])]), __props.userName ? (openBlock(), createElementBlock("span", _hoisted_3$42, toDisplayString(__props.userName), 1)) : createCommentVNode("", true)], 10, _hoisted_1$52), unref(isOpen) ? (openBlock(), createElementBlock("div", _hoisted_4$41, [
|
|
2582
2582
|
__props.userName || __props.userEmail ? (openBlock(), createElementBlock("div", _hoisted_5$39, [__props.userName ? (openBlock(), createElementBlock("div", _hoisted_6$38, toDisplayString(__props.userName), 1)) : createCommentVNode("", true), __props.userEmail ? (openBlock(), createElementBlock("div", _hoisted_7$34, toDisplayString(__props.userEmail), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true),
|
|
2583
2583
|
renderSlot(_ctx.$slots, "items", { close: closeSilently }, () => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item) => {
|
|
2584
2584
|
return openBlock(), createElementBlock(Fragment, { key: item.id }, [item.divider ? (openBlock(), createElementBlock("div", _hoisted_8$31)) : (openBlock(), createBlock(ActionItemInternal_default, {
|
|
@@ -2619,7 +2619,7 @@ var AppAvatarMenu_default = /* @__PURE__ */ defineComponent({
|
|
|
2619
2619
|
//#region src/components/AppPluginSwitcher.vue?vue&type=script&setup=true&lang.ts
|
|
2620
2620
|
var _hoisted_1$51 = ["aria-expanded"];
|
|
2621
2621
|
var _hoisted_2$44 = { class: "mint-plugin-switcher__label" };
|
|
2622
|
-
var _hoisted_3$
|
|
2622
|
+
var _hoisted_3$41 = {
|
|
2623
2623
|
key: 0,
|
|
2624
2624
|
class: "mint-plugin-switcher__version"
|
|
2625
2625
|
};
|
|
@@ -2698,7 +2698,7 @@ var AppPluginSwitcher_default = /* @__PURE__ */ defineComponent({
|
|
|
2698
2698
|
onClick: _cache[0] || (_cache[0] = withModifiers((...args) => unref(toggle) && unref(toggle)(...args), ["stop"]))
|
|
2699
2699
|
}, [
|
|
2700
2700
|
createElementVNode("span", _hoisted_2$44, toDisplayString(__props.current.label), 1),
|
|
2701
|
-
__props.current.version ? (openBlock(), createElementBlock("span", _hoisted_3$
|
|
2701
|
+
__props.current.version ? (openBlock(), createElementBlock("span", _hoisted_3$41, "v" + toDisplayString(__props.current.version), 1)) : createCommentVNode("", true),
|
|
2702
2702
|
createElementVNode("span", _hoisted_4$40, [(openBlock(), createElementBlock("svg", {
|
|
2703
2703
|
class: normalizeClass(["mint-plugin-switcher__chevron", { "mint-plugin-switcher__chevron--open": unref(isOpen) }]),
|
|
2704
2704
|
viewBox: "0 0 24 24",
|
|
@@ -2808,7 +2808,7 @@ function currentItemIdFromLocation(pages, pathname, routePrefix) {
|
|
|
2808
2808
|
//#region src/components/AppTopBar.vue?vue&type=script&setup=true&lang.ts
|
|
2809
2809
|
var _hoisted_1$50 = { class: "mint-topbar__container" };
|
|
2810
2810
|
var _hoisted_2$43 = { class: "mint-topbar__brand" };
|
|
2811
|
-
var _hoisted_3$
|
|
2811
|
+
var _hoisted_3$40 = ["href"];
|
|
2812
2812
|
var _hoisted_4$39 = {
|
|
2813
2813
|
key: 0,
|
|
2814
2814
|
class: "mint-topbar__logo"
|
|
@@ -2974,7 +2974,7 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
2974
2974
|
tone: pluginIcon.value.color,
|
|
2975
2975
|
size: "md",
|
|
2976
2976
|
variant: "solid"
|
|
2977
|
-
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_4$39, [..._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$
|
|
2977
|
+
}, null, 8, ["icon", "tone"])) : renderSlot(_ctx.$slots, "logo", { key: 1 }, () => [__props.showLogo ? (openBlock(), createElementBlock("div", _hoisted_4$39, [..._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$40)) : __props.homePath ? (openBlock(), createBlock(_component_router_link, {
|
|
2978
2978
|
key: 1,
|
|
2979
2979
|
to: __props.homePath,
|
|
2980
2980
|
class: "mint-topbar-home-link"
|
|
@@ -3183,7 +3183,7 @@ var _hoisted_1$49 = {
|
|
|
3183
3183
|
class: "mint-wizard__progress"
|
|
3184
3184
|
};
|
|
3185
3185
|
var _hoisted_2$42 = { class: "mint-wizard__steps-indicator" };
|
|
3186
|
-
var _hoisted_3$
|
|
3186
|
+
var _hoisted_3$39 = ["onClick"];
|
|
3187
3187
|
var _hoisted_4$38 = { class: "mint-wizard__step-dot" };
|
|
3188
3188
|
var _hoisted_5$36 = {
|
|
3189
3189
|
key: 0,
|
|
@@ -3305,7 +3305,7 @@ var StepWizard_default = /* @__PURE__ */ defineComponent({
|
|
|
3305
3305
|
}, null, 2)) : createCommentVNode("", true), createElementVNode("div", {
|
|
3306
3306
|
class: normalizeClass(["mint-wizard__step-indicator", `mint-wizard__step-indicator--${stepStates.value[index]}`]),
|
|
3307
3307
|
onClick: ($event) => goToStep(index)
|
|
3308
|
-
}, [createElementVNode("div", _hoisted_4$38, [stepStates.value[index] === "completed" ? (openBlock(), createElementBlock("svg", _hoisted_5$36, [..._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$35, toDisplayString(step.label), 1)], 10, _hoisted_3$
|
|
3308
|
+
}, [createElementVNode("div", _hoisted_4$38, [stepStates.value[index] === "completed" ? (openBlock(), createElementBlock("svg", _hoisted_5$36, [..._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$35, toDisplayString(step.label), 1)], 10, _hoisted_3$39)], 64);
|
|
3309
3309
|
}), 128))])])])) : createCommentVNode("", true),
|
|
3310
3310
|
createElementVNode("div", _hoisted_7$31, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.steps, (step, index) => {
|
|
3311
3311
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -3365,7 +3365,7 @@ var _hoisted_2$41 = {
|
|
|
3365
3365
|
key: 1,
|
|
3366
3366
|
class: "mint-form-section--static"
|
|
3367
3367
|
};
|
|
3368
|
-
var _hoisted_3$
|
|
3368
|
+
var _hoisted_3$38 = {
|
|
3369
3369
|
key: 0,
|
|
3370
3370
|
class: "mint-form-section__header"
|
|
3371
3371
|
};
|
|
@@ -3425,7 +3425,7 @@ var FormSectionRenderer_default = /* @__PURE__ */ defineComponent({
|
|
|
3425
3425
|
"title",
|
|
3426
3426
|
"subtitle",
|
|
3427
3427
|
"default-open"
|
|
3428
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$41, [__props.section.title || __props.section.description ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
3428
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$41, [__props.section.title || __props.section.description ? (openBlock(), createElementBlock("div", _hoisted_3$38, [__props.section.title ? (openBlock(), createElementBlock("h3", _hoisted_4$37, toDisplayString(__props.section.title), 1)) : createCommentVNode("", true), __props.section.description ? (openBlock(), createElementBlock("p", _hoisted_5$35, toDisplayString(__props.section.description), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), createElementVNode("div", {
|
|
3429
3429
|
class: "mint-form-section__grid",
|
|
3430
3430
|
style: normalizeStyle(gridStyle.value)
|
|
3431
3431
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(visibleFields.value, (field) => {
|
|
@@ -3792,7 +3792,7 @@ var _hoisted_2$40 = {
|
|
|
3792
3792
|
key: 0,
|
|
3793
3793
|
class: "mint-sidebar__heading"
|
|
3794
3794
|
};
|
|
3795
|
-
var _hoisted_3$
|
|
3795
|
+
var _hoisted_3$37 = { class: "mint-sidebar__heading-copy" };
|
|
3796
3796
|
var _hoisted_4$36 = {
|
|
3797
3797
|
key: 0,
|
|
3798
3798
|
class: "mint-sidebar__title"
|
|
@@ -4074,7 +4074,7 @@ var AppSidebar_default = /* @__PURE__ */ defineComponent({
|
|
|
4074
4074
|
_ctx.$slots.header || __props.title || __props.subtitle || __props.badge !== void 0 || resolvedCollapsible.value ? (openBlock(), createElementBlock("div", _hoisted_1$45, [renderSlot(_ctx.$slots, "header", {
|
|
4075
4075
|
collapsed: collapsedModel.value,
|
|
4076
4076
|
toggleCollapsed
|
|
4077
|
-
}, () => [!collapsedModel.value ? (openBlock(), createElementBlock("div", _hoisted_2$40, [createElementVNode("div", _hoisted_3$
|
|
4077
|
+
}, () => [!collapsedModel.value ? (openBlock(), createElementBlock("div", _hoisted_2$40, [createElementVNode("div", _hoisted_3$37, [__props.title ? (openBlock(), createElementBlock("h2", _hoisted_4$36, toDisplayString(__props.title), 1)) : createCommentVNode("", true), __props.subtitle ? (openBlock(), createElementBlock("p", _hoisted_5$34, toDisplayString(__props.subtitle), 1)) : createCommentVNode("", true)]), __props.badge !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_6$34, toDisplayString(__props.badge), 1)) : createCommentVNode("", true)])) : createCommentVNode("", true), resolvedCollapsible.value ? (openBlock(), createElementBlock("button", {
|
|
4078
4078
|
key: 1,
|
|
4079
4079
|
type: "button",
|
|
4080
4080
|
class: "mint-sidebar__collapse-button",
|
|
@@ -4198,7 +4198,7 @@ var _hoisted_1$44 = {
|
|
|
4198
4198
|
class: "mint-layout__topbar"
|
|
4199
4199
|
};
|
|
4200
4200
|
var _hoisted_2$39 = { class: "mint-layout__body" };
|
|
4201
|
-
var _hoisted_3$
|
|
4201
|
+
var _hoisted_3$36 = ["aria-label", "aria-expanded"];
|
|
4202
4202
|
var _hoisted_4$35 = {
|
|
4203
4203
|
key: 0,
|
|
4204
4204
|
class: "mint-layout__sidebar-toggle-icon",
|
|
@@ -4307,7 +4307,7 @@ var AppLayout_default = /* @__PURE__ */ defineComponent({
|
|
|
4307
4307
|
"aria-label": sidebarOpenModel.value ? __props.sidebarCloseLabel : __props.sidebarToggleLabel,
|
|
4308
4308
|
"aria-expanded": sidebarOpenModel.value,
|
|
4309
4309
|
onClick: toggleSidebar
|
|
4310
|
-
}, [!sidebarOpenModel.value ? (openBlock(), createElementBlock("svg", _hoisted_4$35, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M4 6h16M4 12h16M4 18h16" }, null, -1)])])) : (openBlock(), createElementBlock("svg", _hoisted_5$33, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "M6 18 18 6M6 6l12 12" }, null, -1)])]))], 8, _hoisted_3$
|
|
4310
|
+
}, [!sidebarOpenModel.value ? (openBlock(), createElementBlock("svg", _hoisted_4$35, [..._cache[0] || (_cache[0] = [createElementVNode("path", { d: "M4 6h16M4 12h16M4 18h16" }, null, -1)])])) : (openBlock(), createElementBlock("svg", _hoisted_5$33, [..._cache[1] || (_cache[1] = [createElementVNode("path", { d: "M6 18 18 6M6 6l12 12" }, null, -1)])]))], 8, _hoisted_3$36)) : createCommentVNode("", true),
|
|
4311
4311
|
__props.responsiveSidebar && _ctx.$slots.sidebar && sidebarOpenModel.value ? (openBlock(), createElementBlock("div", {
|
|
4312
4312
|
key: 1,
|
|
4313
4313
|
class: "mint-layout__sidebar-backdrop",
|
|
@@ -4500,16 +4500,16 @@ var PluginWorkspaceView_default = /* @__PURE__ */ defineComponent({
|
|
|
4500
4500
|
currentPillId: { default: void 0 },
|
|
4501
4501
|
showThemeToggle: {
|
|
4502
4502
|
type: Boolean,
|
|
4503
|
-
default:
|
|
4503
|
+
default: true
|
|
4504
4504
|
},
|
|
4505
4505
|
showSettings: {
|
|
4506
4506
|
type: Boolean,
|
|
4507
|
-
default:
|
|
4507
|
+
default: true
|
|
4508
4508
|
},
|
|
4509
4509
|
settingsConfig: { default: void 0 },
|
|
4510
4510
|
showStandaloneLabel: {
|
|
4511
4511
|
type: Boolean,
|
|
4512
|
-
default:
|
|
4512
|
+
default: false
|
|
4513
4513
|
},
|
|
4514
4514
|
standaloneLabel: { default: "Standalone" },
|
|
4515
4515
|
accountMenu: { default: void 0 },
|
|
@@ -4911,7 +4911,7 @@ var PluginWorkspaceView_default = /* @__PURE__ */ defineComponent({
|
|
|
4911
4911
|
//#region src/components/DoseCalculatorVolumeField.vue?vue&type=script&setup=true&lang.ts
|
|
4912
4912
|
var _hoisted_1$43 = { class: "mint-dose-calculator__field" };
|
|
4913
4913
|
var _hoisted_2$38 = { class: "mint-dose-calculator__field-label" };
|
|
4914
|
-
var _hoisted_3$
|
|
4914
|
+
var _hoisted_3$35 = { class: "mint-dose-calculator__field-row" };
|
|
4915
4915
|
var _hoisted_4$34 = ["value", "disabled"];
|
|
4916
4916
|
var _hoisted_5$32 = ["value", "disabled"];
|
|
4917
4917
|
var _hoisted_6$32 = ["value"];
|
|
@@ -4950,7 +4950,7 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
4950
4950
|
});
|
|
4951
4951
|
}
|
|
4952
4952
|
return (_ctx, _cache) => {
|
|
4953
|
-
return openBlock(), createElementBlock("div", _hoisted_1$43, [createElementVNode("label", _hoisted_2$38, toDisplayString(__props.label), 1), createElementVNode("div", _hoisted_3$
|
|
4953
|
+
return openBlock(), createElementBlock("div", _hoisted_1$43, [createElementVNode("label", _hoisted_2$38, toDisplayString(__props.label), 1), createElementVNode("div", _hoisted_3$35, [createElementVNode("input", {
|
|
4954
4954
|
type: "number",
|
|
4955
4955
|
value: __props.modelValue.value,
|
|
4956
4956
|
disabled: __props.disabled,
|
|
@@ -4980,7 +4980,7 @@ var _hoisted_1$42 = {
|
|
|
4980
4980
|
role: "tablist"
|
|
4981
4981
|
};
|
|
4982
4982
|
var _hoisted_2$37 = ["aria-selected"];
|
|
4983
|
-
var _hoisted_3$
|
|
4983
|
+
var _hoisted_3$34 = ["aria-selected"];
|
|
4984
4984
|
var _hoisted_4$33 = ["aria-selected"];
|
|
4985
4985
|
var _hoisted_5$31 = {
|
|
4986
4986
|
key: 1,
|
|
@@ -5181,7 +5181,7 @@ var DoseCalculator_default = /* @__PURE__ */ defineComponent({
|
|
|
5181
5181
|
role: "tab",
|
|
5182
5182
|
"aria-selected": activeMode.value === "serial",
|
|
5183
5183
|
onClick: _cache[1] || (_cache[1] = ($event) => activeMode.value = "serial")
|
|
5184
|
-
}, " Serial ", 10, _hoisted_3$
|
|
5184
|
+
}, " Serial ", 10, _hoisted_3$34),
|
|
5185
5185
|
createElementVNode("button", {
|
|
5186
5186
|
type: "button",
|
|
5187
5187
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "conversion" ? "mint-dose-calculator__tab--active" : ""]),
|
|
@@ -5335,7 +5335,7 @@ var _hoisted_2$36 = [
|
|
|
5335
5335
|
"onDragover",
|
|
5336
5336
|
"onDrop"
|
|
5337
5337
|
];
|
|
5338
|
-
var _hoisted_3$
|
|
5338
|
+
var _hoisted_3$33 = {
|
|
5339
5339
|
key: 0,
|
|
5340
5340
|
class: "mint-timeline__connector"
|
|
5341
5341
|
};
|
|
@@ -5547,7 +5547,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
5547
5547
|
onDrop: ($event) => handleDrop($event, step),
|
|
5548
5548
|
onDragend: handleDragEnd
|
|
5549
5549
|
}, [
|
|
5550
|
-
index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
5550
|
+
index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_3$33)) : createCommentVNode("", true),
|
|
5551
5551
|
createElementVNode("div", {
|
|
5552
5552
|
class: normalizeClass([
|
|
5553
5553
|
"mint-timeline__card",
|
|
@@ -5691,7 +5691,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
5691
5691
|
//#region src/components/internal/WellEditPopupInternal.vue?vue&type=script&setup=true&lang.ts
|
|
5692
5692
|
var _hoisted_1$40 = { class: "mint-well-edit-popup__header" };
|
|
5693
5693
|
var _hoisted_2$35 = { class: "mint-well-edit-popup__header-left" };
|
|
5694
|
-
var _hoisted_3$
|
|
5694
|
+
var _hoisted_3$32 = { class: "mint-well-edit-popup__well-id" };
|
|
5695
5695
|
var _hoisted_4$31 = { class: "mint-well-edit-popup__body" };
|
|
5696
5696
|
var _hoisted_5$29 = { key: 0 };
|
|
5697
5697
|
var _hoisted_6$29 = { class: "mint-well-edit-popup__row" };
|
|
@@ -5811,7 +5811,7 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
5811
5811
|
style: normalizeStyle(popupStyle.value),
|
|
5812
5812
|
onClick: _cache[5] || (_cache[5] = withModifiers(() => {}, ["stop"]))
|
|
5813
5813
|
}, [
|
|
5814
|
-
createElementVNode("div", _hoisted_1$40, [createElementVNode("div", _hoisted_2$35, [createElementVNode("span", _hoisted_3$
|
|
5814
|
+
createElementVNode("div", _hoisted_1$40, [createElementVNode("div", _hoisted_2$35, [createElementVNode("span", _hoisted_3$32, toDisplayString(__props.wellId), 1), _cache[6] || (_cache[6] = createElementVNode("span", { class: "mint-well-edit-popup__title" }, "Edit Well", -1))]), createElementVNode("button", {
|
|
5815
5815
|
class: "mint-well-edit-popup__close",
|
|
5816
5816
|
onClick: close
|
|
5817
5817
|
}, [..._cache[7] || (_cache[7] = [createElementVNode("svg", {
|
|
@@ -6512,7 +6512,7 @@ var DEFAULT_WELL_LEGEND_ITEMS = [
|
|
|
6512
6512
|
//#region src/components/WellPlate.vue?vue&type=script&setup=true&lang.ts
|
|
6513
6513
|
var _hoisted_1$39 = { class: "mint-well-plate__scroll" };
|
|
6514
6514
|
var _hoisted_2$34 = { class: "mint-well-plate__content" };
|
|
6515
|
-
var _hoisted_3$
|
|
6515
|
+
var _hoisted_3$31 = ["aria-label"];
|
|
6516
6516
|
var _hoisted_4$30 = { key: 0 };
|
|
6517
6517
|
var _hoisted_5$28 = ["colspan"];
|
|
6518
6518
|
var _hoisted_6$28 = ["colspan"];
|
|
@@ -6871,7 +6871,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
6871
6871
|
}), 128))
|
|
6872
6872
|
]);
|
|
6873
6873
|
}), 128))])
|
|
6874
|
-
], 12, _hoisted_3$
|
|
6874
|
+
], 12, _hoisted_3$31),
|
|
6875
6875
|
props.heatmap?.enabled && props.heatmap.showLegend ? (openBlock(), createElementBlock("div", _hoisted_16$11, [
|
|
6876
6876
|
createElementVNode("span", _hoisted_17$11, toDisplayString(props.heatmap.min ?? 0), 1),
|
|
6877
6877
|
createElementVNode("div", _hoisted_18$11, [(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) => {
|
|
@@ -7056,7 +7056,7 @@ var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
7056
7056
|
//#region src/components/internal/PlateMapEditorToolbarInternal.vue?vue&type=script&setup=true&lang.ts
|
|
7057
7057
|
var _hoisted_1$37 = { class: "mint-plate-editor__toolbar" };
|
|
7058
7058
|
var _hoisted_2$32 = { class: "mint-plate-editor__tabs" };
|
|
7059
|
-
var _hoisted_3$
|
|
7059
|
+
var _hoisted_3$30 = ["onClick"];
|
|
7060
7060
|
var _hoisted_4$29 = { class: "mint-plate-editor__tab-name" };
|
|
7061
7061
|
var _hoisted_5$27 = {
|
|
7062
7062
|
key: 0,
|
|
@@ -7121,7 +7121,7 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7121
7121
|
"stroke-linecap": "round",
|
|
7122
7122
|
"stroke-linejoin": "round"
|
|
7123
7123
|
}, [createElementVNode("path", { d: "M18 6 6 18" }), createElementVNode("path", { d: "m6 6 12 12" })], -1)])], 8, _hoisted_6$27)) : createCommentVNode("", true)
|
|
7124
|
-
], 10, _hoisted_3$
|
|
7124
|
+
], 10, _hoisted_3$30);
|
|
7125
7125
|
}), 128)), __props.canAddPlate ? (openBlock(), createElementBlock("button", {
|
|
7126
7126
|
key: 0,
|
|
7127
7127
|
type: "button",
|
|
@@ -7213,7 +7213,7 @@ var _hoisted_2$31 = {
|
|
|
7213
7213
|
key: 2,
|
|
7214
7214
|
class: "mint-plate-editor__selection-bar"
|
|
7215
7215
|
};
|
|
7216
|
-
var _hoisted_3$
|
|
7216
|
+
var _hoisted_3$29 = { class: "mint-plate-editor__selection-count" };
|
|
7217
7217
|
var _hoisted_4$28 = {
|
|
7218
7218
|
key: 0,
|
|
7219
7219
|
class: "mint-plate-editor__sidebar"
|
|
@@ -7456,7 +7456,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
7456
7456
|
"size"
|
|
7457
7457
|
])) : createCommentVNode("", true),
|
|
7458
7458
|
unref(editor).selectedWells.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$31, [
|
|
7459
|
-
createElementVNode("span", _hoisted_3$
|
|
7459
|
+
createElementVNode("span", _hoisted_3$29, [createElementVNode("strong", null, toDisplayString(unref(editor).selectedWells.value.length), 1), _cache[8] || (_cache[8] = createTextVNode(" wells selected ", -1))]),
|
|
7460
7460
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "mint-plate-editor__spacer" }, null, -1)),
|
|
7461
7461
|
unref(editor).activeSampleId.value ? (openBlock(), createElementBlock("button", {
|
|
7462
7462
|
key: 0,
|
|
@@ -7599,7 +7599,7 @@ function getReagentRowClasses(reagent, options) {
|
|
|
7599
7599
|
//#region src/components/ReagentList.vue?vue&type=script&setup=true&lang.ts
|
|
7600
7600
|
var _hoisted_1$35 = { class: "mint-reagent-list" };
|
|
7601
7601
|
var _hoisted_2$30 = { class: "mint-reagent-list__header" };
|
|
7602
|
-
var _hoisted_3$
|
|
7602
|
+
var _hoisted_3$28 = {
|
|
7603
7603
|
key: 0,
|
|
7604
7604
|
class: "mint-reagent-list__search"
|
|
7605
7605
|
};
|
|
@@ -7848,7 +7848,7 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
7848
7848
|
dragOverId.value = null;
|
|
7849
7849
|
}
|
|
7850
7850
|
return (_ctx, _cache) => {
|
|
7851
|
-
return openBlock(), createElementBlock("div", _hoisted_1$35, [createElementVNode("div", _hoisted_2$30, [__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
7851
|
+
return openBlock(), createElementBlock("div", _hoisted_1$35, [createElementVNode("div", _hoisted_2$30, [__props.searchable ? (openBlock(), createElementBlock("div", _hoisted_3$28, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
7852
7852
|
class: "mint-reagent-list__search-icon",
|
|
7853
7853
|
fill: "none",
|
|
7854
7854
|
stroke: "currentColor",
|
|
@@ -8053,7 +8053,7 @@ var LoadingSpinner_default = /* @__PURE__ */ defineComponent({
|
|
|
8053
8053
|
//#region src/components/AutoGroupModal.vue?vue&type=script&setup=true&lang.ts
|
|
8054
8054
|
var _hoisted_1$33 = { class: "mint-auto-group" };
|
|
8055
8055
|
var _hoisted_2$29 = { class: "mint-auto-group__input-step" };
|
|
8056
|
-
var _hoisted_3$
|
|
8056
|
+
var _hoisted_3$27 = { class: "mint-auto-group__mode-toggle" };
|
|
8057
8057
|
var _hoisted_4$26 = {
|
|
8058
8058
|
key: 0,
|
|
8059
8059
|
class: "mint-auto-group__experiment"
|
|
@@ -8128,7 +8128,7 @@ var _hoisted_38$2 = {
|
|
|
8128
8128
|
key: 0,
|
|
8129
8129
|
class: "mint-auto-group__stat-empty"
|
|
8130
8130
|
};
|
|
8131
|
-
var _hoisted_39$
|
|
8131
|
+
var _hoisted_39$2 = { class: "mint-auto-group__stat" };
|
|
8132
8132
|
var _hoisted_40$1 = { class: "mint-auto-group__stat-v" };
|
|
8133
8133
|
var _hoisted_41$1 = { class: "mint-auto-group__stat-sub mint-auto-group__stat-sub--muted" };
|
|
8134
8134
|
var _hoisted_42 = { class: "mint-auto-group__stat" };
|
|
@@ -8473,7 +8473,7 @@ var AutoGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
8473
8473
|
size: "sm"
|
|
8474
8474
|
}, {
|
|
8475
8475
|
"step-input": withCtx(() => [createElementVNode("div", _hoisted_2$29, [
|
|
8476
|
-
createElementVNode("div", _hoisted_3$
|
|
8476
|
+
createElementVNode("div", _hoisted_3$27, [
|
|
8477
8477
|
__props.experimentId || __props.designData ? (openBlock(), createBlock(BaseButton_default, {
|
|
8478
8478
|
key: 0,
|
|
8479
8479
|
variant: unref(autoGroup).inputMode.value === "experiment" ? "primary" : "secondary",
|
|
@@ -8650,7 +8650,7 @@ var AutoGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
8650
8650
|
}, toDisplayString(name), 1);
|
|
8651
8651
|
}), 128))])
|
|
8652
8652
|
]),
|
|
8653
|
-
createElementVNode("div", _hoisted_39$
|
|
8653
|
+
createElementVNode("div", _hoisted_39$2, [
|
|
8654
8654
|
createElementVNode("div", _hoisted_40$1, toDisplayString(activeMemberCount.value), 1),
|
|
8655
8655
|
_cache[42] || (_cache[42] = createElementVNode("div", { class: "mint-auto-group__stat-l" }, "Samples", -1)),
|
|
8656
8656
|
createElementVNode("div", _hoisted_41$1, toDisplayString(activeSchemaLabel.value) + " · " + toDisplayString(activeColumnCount.value) + " token positions", 1)
|
|
@@ -8886,8 +8886,9 @@ var AutoGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
8886
8886
|
});
|
|
8887
8887
|
//#endregion
|
|
8888
8888
|
//#region src/components/SampleSelectorSampleRow.vue?vue&type=script&setup=true&lang.ts
|
|
8889
|
-
var _hoisted_1$32 = ["
|
|
8890
|
-
var _hoisted_2$28 =
|
|
8889
|
+
var _hoisted_1$32 = ["title", "aria-label"];
|
|
8890
|
+
var _hoisted_2$28 = ["checked"];
|
|
8891
|
+
var _hoisted_3$26 = { class: "mint-sample-selector__sample-name" };
|
|
8891
8892
|
//#endregion
|
|
8892
8893
|
//#region src/components/SampleSelectorSampleRow.vue
|
|
8893
8894
|
var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
@@ -8915,6 +8916,8 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
8915
8916
|
return (_ctx, _cache) => {
|
|
8916
8917
|
return openBlock(), createElementBlock("div", {
|
|
8917
8918
|
class: normalizeClass(["mint-sample-selector__sample", __props.dragging ? "mint-sample-selector__sample--dragging" : ""]),
|
|
8919
|
+
title: __props.sample,
|
|
8920
|
+
"aria-label": `Sample: ${__props.sample}`,
|
|
8918
8921
|
draggable: "true"
|
|
8919
8922
|
}, [
|
|
8920
8923
|
_cache[3] || (_cache[3] = createElementVNode("svg", {
|
|
@@ -8934,8 +8937,8 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
8934
8937
|
class: normalizeClass(checkboxClasses.value),
|
|
8935
8938
|
style: normalizeStyle(__props.accentColor ? { accentColor: __props.accentColor } : void 0),
|
|
8936
8939
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("toggle"))
|
|
8937
|
-
}, null, 46,
|
|
8938
|
-
createElementVNode("span",
|
|
8940
|
+
}, null, 46, _hoisted_2$28),
|
|
8941
|
+
createElementVNode("span", _hoisted_3$26, toDisplayString(__props.sample), 1),
|
|
8939
8942
|
__props.removable ? (openBlock(), createElementBlock("button", {
|
|
8940
8943
|
key: 0,
|
|
8941
8944
|
type: "button",
|
|
@@ -8952,7 +8955,7 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
8952
8955
|
"stroke-width": "2",
|
|
8953
8956
|
d: "M20 12H4"
|
|
8954
8957
|
})], -1)])])) : createCommentVNode("", true)
|
|
8955
|
-
],
|
|
8958
|
+
], 10, _hoisted_1$32);
|
|
8956
8959
|
};
|
|
8957
8960
|
}
|
|
8958
8961
|
});
|
|
@@ -9314,9 +9317,10 @@ var _hoisted_33$1 = {
|
|
|
9314
9317
|
};
|
|
9315
9318
|
var _hoisted_34$1 = { class: "mint-sample-selector__search" };
|
|
9316
9319
|
var _hoisted_35$1 = { class: "mint-sample-selector__flat-list" };
|
|
9317
|
-
var _hoisted_36$1 = ["
|
|
9318
|
-
var _hoisted_37$1 =
|
|
9319
|
-
var _hoisted_38$1 = {
|
|
9320
|
+
var _hoisted_36$1 = ["title", "aria-label"];
|
|
9321
|
+
var _hoisted_37$1 = ["checked", "onChange"];
|
|
9322
|
+
var _hoisted_38$1 = { class: "mint-sample-selector__flat-name" };
|
|
9323
|
+
var _hoisted_39$1 = {
|
|
9320
9324
|
key: 0,
|
|
9321
9325
|
class: "mint-sample-selector__empty"
|
|
9322
9326
|
};
|
|
@@ -9910,14 +9914,16 @@ var SampleSelector_default = /* @__PURE__ */ defineComponent({
|
|
|
9910
9914
|
}, null, 512), [[vModelText, searchQuery.value]])]), createElementVNode("div", _hoisted_35$1, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(filteredSamples), (sample) => {
|
|
9911
9915
|
return openBlock(), createElementBlock("div", {
|
|
9912
9916
|
key: sample,
|
|
9913
|
-
class: "mint-sample-selector__flat-item"
|
|
9917
|
+
class: "mint-sample-selector__flat-item",
|
|
9918
|
+
title: sample,
|
|
9919
|
+
"aria-label": `Sample: ${sample}`
|
|
9914
9920
|
}, [createElementVNode("input", {
|
|
9915
9921
|
type: "checkbox",
|
|
9916
9922
|
checked: __props.modelValue.includes(sample),
|
|
9917
9923
|
class: "mint-sample-selector__checkbox",
|
|
9918
9924
|
onChange: ($event) => unref(toggleSample)(sample)
|
|
9919
|
-
}, null, 40,
|
|
9920
|
-
}), 128)), unref(filteredSamples).length === 0 && searchQuery.value.trim() ? (openBlock(), createElementBlock("div",
|
|
9925
|
+
}, null, 40, _hoisted_37$1), createElementVNode("span", _hoisted_38$1, toDisplayString(sample), 1)], 8, _hoisted_36$1);
|
|
9926
|
+
}), 128)), unref(filteredSamples).length === 0 && searchQuery.value.trim() ? (openBlock(), createElementBlock("div", _hoisted_39$1, " No samples match \"" + toDisplayString(searchQuery.value) + "\" ", 1)) : createCommentVNode("", true)])])) : createCommentVNode("", true),
|
|
9921
9927
|
createVNode(AutoGroupModal_default, {
|
|
9922
9928
|
modelValue: showSmartGroupModal.value,
|
|
9923
9929
|
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => showSmartGroupModal.value = $event),
|
|
@@ -16011,4 +16017,4 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
16011
16017
|
//#endregion
|
|
16012
16018
|
export { SampleLegend_default as $, ReagentEditor_default as A, ProgressBar_default as B, formatSequenceRemaining as C, ColorSlider_default as Ct, ScientificNumber_default as D, ChemicalFormula_default as E, BioTemplateExperimentWorkspaceView_default as F, ControlWorkspaceView_default as G, Divider_default as H, BioTemplateRenderer_default as I, SampleSelector_default as J, ComponentBindingRenderer_default as K, ChartContainer_default as L, RackEditor_default as M, BioTemplatePresetWorkspaceView_default as N, ProtocolStepEditor_default as O, BioTemplatePackWorkspaceView_default as P, PlateMapEditor_default as Q, Breadcrumb_default as R, formatSequenceEta as S, BaseTabs_default as St, sequenceSamplesRemaining as T, AppContainer_default as U, StatusIndicator_default as V, DoseDesignWorkspaceView_default as W, LoadingSpinner_default as X, AutoGroupModal_default as Y, ReagentList_default as Z, InstrumentStateBadge_default as _, AlertBox_default as _t, ExperimentDataViewer_default as a, AppSidebar_default as at, estimateSequenceFinishDate as b, DropdownButton_default as bt, LcmsSequenceTable_default as c, StepWizard_default as ct, extractLcmsCommonPrefix as d, AppAvatarMenu_default as dt, WellPlate_default as et, extractLcmsSampleName as f, PluginIcon_default as ft, InstrumentStatusCard_default as g, AppToastContainer_default as gt, reconstructLcmsPlateCellsFromSequenceItems as h, IconButton_default as ht, TimeRangeInput_default as i, AppLayout_default as it, GroupAssigner_default as j, SampleHierarchyTree_default as k, DEFAULT_LCMS_SEQUENCE_COLUMNS as l, AppTopBar_default as lt, lcmsWellIdFromPosition as m, ThemeToggle_default as mt, FitPanel_default as n, DoseCalculator_default as nt, BatchProgressList_default as o, FormBuilder_default as ot, inferLcmsPlateTypeFromWellIds as p, CollapsibleCard_default as pt, ScheduleCalendar_default as q, ResourceCard_default as r, PluginWorkspaceView_default as rt, AuditTrail_default as s, FormActions_default as st, components_exports as t, ExperimentTimeline_default as tt, basenameFromWindowsPath as u, AppPluginSwitcher_default as ut, InstrumentAlertLog_default as v, DataFrame_default as vt, sequenceProgressPercent as w, estimateSequenceRemainingSeconds as x, SegmentedControl_default as xt, SequenceProgressBar_default as y, Calendar_default as yt, Avatar_default as z };
|
|
16013
16019
|
|
|
16014
|
-
//# sourceMappingURL=components-
|
|
16020
|
+
//# sourceMappingURL=components-Cyk8QEyL.js.map
|