@morscherlab/mint-sdk 1.1.0-beta.2 → 1.1.0-beta.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -4
- package/dist/{EmptyState-D1c4RdC7.js → EmptyState-DgBRoYAy.js} +22 -13
- package/dist/EmptyState-DgBRoYAy.js.map +1 -0
- package/dist/{ExperimentSelectorModal-B7w6k3Y8.js → ExperimentSelectorModal-BBWXC7KW.js} +3 -3
- package/dist/{ExperimentSelectorModal-B7w6k3Y8.js.map → ExperimentSelectorModal-BBWXC7KW.js.map} +1 -1
- package/dist/{SettingsModal-DPDwCbXK.js → SettingsModal-Dpg-X1OM.js} +3 -3
- package/dist/{SettingsModal-DPDwCbXK.js.map → SettingsModal-Dpg-X1OM.js.map} +1 -1
- package/dist/__tests__/components/BaseToggle.test.d.ts +1 -0
- package/dist/__tests__/components/SectionCard.test.d.ts +1 -0
- package/dist/__tests__/composables/analysisArtifactTarget.test.d.ts +1 -0
- package/dist/__tests__/types/GeneratedJsonSchema.test.d.ts +1 -0
- package/dist/analysisArtifactTypes-ejqR8MX3.js.map +1 -1
- package/dist/components/BaseSelect.vue.d.ts +1 -1
- package/dist/components/BaseToggle.vue.d.ts +2 -0
- package/dist/components/FitPanel.vue.d.ts +1 -1
- package/dist/components/PluginWorkspaceView.props.d.ts +1 -1
- package/dist/components/SectionCard.vue.d.ts +47 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +6 -6
- package/dist/{components-UfkPN1bK.js → components-Ci_BTx00.js} +711 -633
- package/dist/components-Ci_BTx00.js.map +1 -0
- package/dist/composables/analysisArtifactTarget.d.ts +5 -0
- package/dist/composables/index.d.ts +3 -1
- package/dist/composables/index.js +8 -8
- package/dist/composables/platformContextHelpers.d.ts +2 -0
- package/dist/composables/useAnalysisArtifacts.d.ts +3 -1
- package/dist/composables/useGeneratedAnalysis.d.ts +1 -1
- package/dist/composables/usePluginClient.d.ts +11 -5
- package/dist/{composables-B512bWJP.js → composables-C0VEJ73O.js} +40 -5
- package/dist/composables-C0VEJ73O.js.map +1 -0
- package/dist/index.js +11 -11
- package/dist/install.js +5 -5
- package/dist/styles.css +314 -17
- 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/templates/index.js +3 -3
- package/dist/{templates-Cttbjbyc.js → templates-Cdj93S9C.js} +2 -2
- package/dist/{templates-Cttbjbyc.js.map → templates-Cdj93S9C.js.map} +1 -1
- package/dist/types/analysisArtifactTypes.d.ts +8 -0
- package/dist/types/components.d.ts +2 -0
- package/dist/types/generated-ui.d.ts +13 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/{useControlSchema-Dallso-L.js → useControlSchema-B_qgU4rW.js} +48 -19
- package/dist/useControlSchema-B_qgU4rW.js.map +1 -0
- package/dist/{useExperimentSelector-BMjzNcf2.js → useExperimentSelector-BuQZRgMt.js} +2 -2
- package/dist/{useExperimentSelector-BMjzNcf2.js.map → useExperimentSelector-BuQZRgMt.js.map} +1 -1
- package/dist/{useFormBuilder-BXaaDI41.js → useFormBuilder-D1G5J5Z5.js} +2 -2
- package/dist/{useFormBuilder-BXaaDI41.js.map → useFormBuilder-D1G5J5Z5.js.map} +1 -1
- package/dist/{useProtocolTemplates-BP7_4RGQ.js → useProtocolTemplates-DeaOmMaw.js} +4 -4
- package/dist/{useProtocolTemplates-BP7_4RGQ.js.map → useProtocolTemplates-DeaOmMaw.js.map} +1 -1
- package/package.json +1 -1
- package/src/__tests__/components/BaseSelect.test.ts +52 -0
- package/src/__tests__/components/BaseToggle.test.ts +40 -0
- package/src/__tests__/components/GeneratedPluginView.test.ts +10 -0
- package/src/__tests__/components/PluginWorkspaceView.test.ts +68 -14
- package/src/__tests__/components/SectionCard.test.ts +181 -0
- package/src/__tests__/composables/analysisArtifactTarget.test.ts +77 -0
- package/src/__tests__/composables/useAnalysisArtifacts.test.ts +74 -1
- package/src/__tests__/composables/useGeneratedAnalysis.test.ts +2 -0
- package/src/__tests__/composables/usePluginClient.test.ts +36 -1
- package/src/__tests__/types/GeneratedJsonSchema.test.ts +62 -0
- package/src/components/BaseSelect.vue +16 -2
- package/src/components/BaseToggle.vue +3 -1
- package/src/components/GeneratedPluginView.vue +1 -1
- package/src/components/PluginWorkspaceView.props.ts +1 -1
- package/src/components/PluginWorkspaceView.vue +1 -5
- package/src/components/SectionCard.story.vue +163 -0
- package/src/components/SectionCard.vue +98 -0
- package/src/components/index.ts +1 -0
- package/src/composables/analysisArtifactTarget.ts +53 -0
- package/src/composables/index.ts +6 -0
- package/src/composables/platformContextHelpers.ts +10 -3
- package/src/composables/useAnalysisArtifacts.ts +48 -0
- package/src/composables/useGeneratedAnalysis.ts +30 -12
- package/src/composables/usePluginClient.ts +12 -5
- package/src/styles/components/button.css +1 -3
- 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/analysisArtifactTypes.ts +9 -0
- package/src/types/components.ts +12 -0
- package/src/types/generated-ui.ts +13 -0
- package/src/types/index.ts +3 -0
- package/dist/EmptyState-D1c4RdC7.js.map +0 -1
- package/dist/components-UfkPN1bK.js.map +0 -1
- package/dist/composables-B512bWJP.js.map +0 -1
- package/dist/useControlSchema-Dallso-L.js.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { n as __exportAll, r as __toESM } from "./chunk-BoAXSpZd.js";
|
|
2
2
|
import { d as BaseModal_default, f as useEventListener, p as BaseButton_default } from "./experiment-utils-CxkruZ3G.js";
|
|
3
|
-
import { c as BaseSelect_default, l as normalizeOptionInput, n as Skeleton_default, o as useApi, r as useRequestSyncState, s as BasePill_default, t as EmptyState_default, u as BaseInput_default } from "./EmptyState-
|
|
4
|
-
import { A as useConcentrationUnits, At as
|
|
5
|
-
import { a as pickExistingRecordKeys, c as normalizeItemInput, i as formSchemaFieldNames, l as normalizeLabelItemInput, o as recordValuesEqualForKeys, r as FormFieldRendererInternal_default, s as FormField_default, t as SettingsModal_default } from "./SettingsModal-
|
|
3
|
+
import { c as BaseSelect_default, l as normalizeOptionInput, n as Skeleton_default, o as useApi, r as useRequestSyncState, s as BasePill_default, t as EmptyState_default, u as BaseInput_default } from "./EmptyState-DgBRoYAy.js";
|
|
4
|
+
import { A as useConcentrationUnits, At as BaseCheckbox_default, Ct as DatePicker_default, Dt as BaseSlider_default, H as getInjectedPlatformContext, I as useChemicalFormula, L as GeneratedPathInput_default, M as SequenceInput_default, Mt as BaseTextarea_default, O as ConcentrationInput_default, Ot as BaseRadioGroup_default, P as FormulaInput_default, Q as normalizeJobPercent, R as _plugin_vue_export_helper_default, T as getDefaultControlView, Tt as useListSelection, W as resolveCurrentExperimentId, Z as jobStatusLabel, _ as controlsToFormSchema, at as TagsInput_default, ct as compareTime, f as resolveControlModel, ft as formatDuration, g as mergeControlWorkspaceOptions, h as controlValuesToComponentProps, it as NumberInput_default, j as MoleculeInput_default, jt as Tooltip_default, k as UnitInput_default, kt as BaseToggle_default, lt as durationMinutes, m as controlValuesToComponentBindingsById, nt as AlertBox_default, o as defineDoseDesignControlModel, ot as TimePicker_default, p as controlValuesToComponentBindings, pt as formatTime, q as useGeneratedAnalysis, r as getControlDefaults, rt as FileUploader_default, tt as DateTimePicker_default, u as useControlWorkspace, w as controlsToViewItems, wt as MultiSelect_default, x as controlsToSidebarPanels, y as controlsToSectionFormSchemas, z as ArtifactSelectorModal_default } from "./useControlSchema-B_qgU4rW.js";
|
|
5
|
+
import { a as pickExistingRecordKeys, c as normalizeItemInput, i as formSchemaFieldNames, l as normalizeLabelItemInput, o as recordValuesEqualForKeys, r as FormFieldRendererInternal_default, s as FormField_default, t as SettingsModal_default } from "./SettingsModal-Dpg-X1OM.js";
|
|
6
6
|
import { t as useDropdownState } from "./useDropdownState-gVaMXtwW.js";
|
|
7
|
-
import { D as readFileAsText, G as useAppExperiment, H as DEFAULT_MOBILE_VIEWPORT_QUERY, I as DEFAULT_COLORS, K as useTheme, L as useWellPlateEditor, M as parseCSV, Q as useSortedItems, R as useDoseCalculator, U as useMobileSupportGate, V as usePluginJobCenter, W as APP_EXPERIMENT_KEY, X as useTextSearch, _ as useScheduleDrag, a as useReagentSeries, b as useExpansionSet, c as useBioTemplatePresetWorkspace, j as useAutoGroup, l as useBioTemplatePackWorkspace, n as DEFAULT_PRESETS, o as useGroupAssignment, q as useToast, r as DEFAULT_UNITS, s as useRackEditor, t as useProtocolTemplates, v as useExperimentSamples, x as useSampleGroups, y as useExperimentData } from "./useProtocolTemplates-
|
|
8
|
-
import { i as usePlatformContext, t as useFormBuilder } from "./useFormBuilder-
|
|
7
|
+
import { D as readFileAsText, G as useAppExperiment, H as DEFAULT_MOBILE_VIEWPORT_QUERY, I as DEFAULT_COLORS, K as useTheme, L as useWellPlateEditor, M as parseCSV, Q as useSortedItems, R as useDoseCalculator, U as useMobileSupportGate, V as usePluginJobCenter, W as APP_EXPERIMENT_KEY, X as useTextSearch, _ as useScheduleDrag, a as useReagentSeries, b as useExpansionSet, c as useBioTemplatePresetWorkspace, j as useAutoGroup, l as useBioTemplatePackWorkspace, n as DEFAULT_PRESETS, o as useGroupAssignment, q as useToast, r as DEFAULT_UNITS, s as useRackEditor, t as useProtocolTemplates, v as useExperimentSamples, x as useSampleGroups, y as useExperimentData } from "./useProtocolTemplates-DeaOmMaw.js";
|
|
8
|
+
import { i as usePlatformContext, t as useFormBuilder } from "./useFormBuilder-D1G5J5Z5.js";
|
|
9
9
|
import { t as ANALYSIS_FILE_ARTIFACT_SCHEMA } from "./analysisArtifactTypes-ejqR8MX3.js";
|
|
10
10
|
import { r as ConfirmDialog_default, t as ExperimentPopover_default } from "./ExperimentPopover-BFw3QX8L.js";
|
|
11
|
-
import { B as toBioTemplateComponentProps, F as getBioTemplateComponentProps, H as toBioTemplateComponentPropsById, L as toBioTemplateComponentBindings, R as toBioTemplateComponentBindingsById, V as toBioTemplateComponentPropsByComponent, dn as extractTemplateCollection } from "./templates-
|
|
12
|
-
import { r as ExperimentCodeBadge_default, t as ExperimentSelectorModal_default } from "./ExperimentSelectorModal-
|
|
11
|
+
import { B as toBioTemplateComponentProps, F as getBioTemplateComponentProps, H as toBioTemplateComponentPropsById, L as toBioTemplateComponentBindings, R as toBioTemplateComponentBindingsById, V as toBioTemplateComponentPropsByComponent, dn as extractTemplateCollection } from "./templates-Cdj93S9C.js";
|
|
12
|
+
import { r as ExperimentCodeBadge_default, t as ExperimentSelectorModal_default } from "./ExperimentSelectorModal-BBWXC7KW.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
|
};
|
|
@@ -2877,9 +2877,9 @@ var AppTopBar_default = /* @__PURE__ */ defineComponent({
|
|
|
2877
2877
|
setup(__props, { emit: __emit }) {
|
|
2878
2878
|
/** Full application top bar with brand logo, page selector or plugin switcher, centered pill nav, experiment popover, and avatar menu. */
|
|
2879
2879
|
const props = __props;
|
|
2880
|
-
const SettingsModal = defineAsyncComponent(() => import("./SettingsModal-
|
|
2880
|
+
const SettingsModal = defineAsyncComponent(() => import("./SettingsModal-Dpg-X1OM.js").then((n) => n.n));
|
|
2881
2881
|
const ExperimentPopover = defineAsyncComponent(() => import("./ExperimentPopover-BFw3QX8L.js").then((n) => n.n));
|
|
2882
|
-
const ExperimentSelectorModal = defineAsyncComponent(() => import("./ExperimentSelectorModal-
|
|
2882
|
+
const ExperimentSelectorModal = defineAsyncComponent(() => import("./ExperimentSelectorModal-BBWXC7KW.js").then((n) => n.n));
|
|
2883
2883
|
const emit = __emit;
|
|
2884
2884
|
const settingsOpen = ref(false);
|
|
2885
2885
|
const { isIntegrated, plugin } = usePlatformContext();
|
|
@@ -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",
|
|
@@ -4706,7 +4706,6 @@ var PluginWorkspaceView_default = /* @__PURE__ */ defineComponent({
|
|
|
4706
4706
|
emitPageSelectorSelect: (page) => emit("page-selector-select", page),
|
|
4707
4707
|
emitPillSelect: (item) => emit("pill-select", item)
|
|
4708
4708
|
});
|
|
4709
|
-
const visiblePageSelector = computed(() => (props.pageSelector?.length ?? 0) > 1 ? props.pageSelector : void 0);
|
|
4710
4709
|
const hasSidebarSurface = computed(() => {
|
|
4711
4710
|
return hasPluginWorkspaceSidebarSurface({
|
|
4712
4711
|
showSidebar: props.showSidebar,
|
|
@@ -4759,7 +4758,7 @@ var PluginWorkspaceView_default = /* @__PURE__ */ defineComponent({
|
|
|
4759
4758
|
variant: __props.topBarVariant,
|
|
4760
4759
|
"home-path": __props.homePath,
|
|
4761
4760
|
"show-logo": __props.showLogo,
|
|
4762
|
-
"page-selector":
|
|
4761
|
+
"page-selector": __props.pageSelector,
|
|
4763
4762
|
"current-page-selector-id": unref(resolvedCurrentPageSelectorId),
|
|
4764
4763
|
"plugin-switcher": __props.pluginSwitcher,
|
|
4765
4764
|
"pill-nav": unref(resolvedPillNav),
|
|
@@ -5017,7 +5016,7 @@ function humanize(value) {
|
|
|
5017
5016
|
}
|
|
5018
5017
|
//#endregion
|
|
5019
5018
|
//#region src/components/LoadingSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
5020
|
-
var _hoisted_1$
|
|
5019
|
+
var _hoisted_1$50 = { class: "mint-spinner__label" };
|
|
5021
5020
|
//#endregion
|
|
5022
5021
|
//#region src/components/LoadingSpinner.vue
|
|
5023
5022
|
var LoadingSpinner_default = /* @__PURE__ */ defineComponent({
|
|
@@ -5052,30 +5051,30 @@ var LoadingSpinner_default = /* @__PURE__ */ defineComponent({
|
|
|
5052
5051
|
style: { "opacity": "0.75" },
|
|
5053
5052
|
fill: "currentColor",
|
|
5054
5053
|
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$
|
|
5054
|
+
})], -1)), createElementVNode("span", _hoisted_1$50, toDisplayString(__props.label), 1)], 2);
|
|
5056
5055
|
};
|
|
5057
5056
|
}
|
|
5058
5057
|
});
|
|
5059
5058
|
//#endregion
|
|
5060
5059
|
//#region src/components/ChartContainer.vue?vue&type=script&setup=true&lang.ts
|
|
5061
|
-
var _hoisted_1$
|
|
5062
|
-
var _hoisted_2$
|
|
5060
|
+
var _hoisted_1$49 = { class: "mint-chart" };
|
|
5061
|
+
var _hoisted_2$45 = {
|
|
5063
5062
|
key: 0,
|
|
5064
5063
|
class: "mint-chart__header"
|
|
5065
5064
|
};
|
|
5066
|
-
var _hoisted_3$
|
|
5065
|
+
var _hoisted_3$40 = {
|
|
5067
5066
|
key: 0,
|
|
5068
5067
|
class: "mint-chart__header-text"
|
|
5069
5068
|
};
|
|
5070
|
-
var _hoisted_4$
|
|
5069
|
+
var _hoisted_4$39 = {
|
|
5071
5070
|
key: 0,
|
|
5072
5071
|
class: "mint-chart__title"
|
|
5073
5072
|
};
|
|
5074
|
-
var _hoisted_5$
|
|
5073
|
+
var _hoisted_5$37 = {
|
|
5075
5074
|
key: 1,
|
|
5076
5075
|
class: "mint-chart__description"
|
|
5077
5076
|
};
|
|
5078
|
-
var _hoisted_6$
|
|
5077
|
+
var _hoisted_6$36 = {
|
|
5079
5078
|
key: 1,
|
|
5080
5079
|
class: "mint-chart__toolbar"
|
|
5081
5080
|
};
|
|
@@ -5108,8 +5107,8 @@ var ChartContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
5108
5107
|
setup(__props) {
|
|
5109
5108
|
/** Wraps a chart with header, toolbar slot, loading overlay, empty state, and legend slot. */
|
|
5110
5109
|
return (_ctx, _cache) => {
|
|
5111
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5112
|
-
__props.title || __props.description || _ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5110
|
+
return openBlock(), createElementBlock("div", _hoisted_1$49, [
|
|
5111
|
+
__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
5112
|
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
5113
|
title: __props.emptyMessage,
|
|
5115
5114
|
size: "sm",
|
|
@@ -5122,8 +5121,8 @@ var ChartContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
5122
5121
|
});
|
|
5123
5122
|
//#endregion
|
|
5124
5123
|
//#region src/components/GeneratedPlotlyResult.vue?vue&type=script&setup=true&lang.ts
|
|
5125
|
-
var _hoisted_1$
|
|
5126
|
-
var _hoisted_2$
|
|
5124
|
+
var _hoisted_1$48 = ["src"];
|
|
5125
|
+
var _hoisted_2$44 = {
|
|
5127
5126
|
key: 1,
|
|
5128
5127
|
class: "mint-generated-result__plotly-error",
|
|
5129
5128
|
role: "alert"
|
|
@@ -5178,7 +5177,7 @@ var GeneratedPlotlyResult_default = /* @__PURE__ */ _plugin_vue_export_helper_de
|
|
|
5178
5177
|
class: "mint-generated-result__image",
|
|
5179
5178
|
src: `data:${__props.fallback.media_type};base64,${__props.fallback.data}`,
|
|
5180
5179
|
alt: "Static Plotly chart fallback"
|
|
5181
|
-
}, null, 8, _hoisted_1$
|
|
5180
|
+
}, null, 8, _hoisted_1$48)) : failed.value ? (openBlock(), createElementBlock("p", _hoisted_2$44, " Unable to display this chart. ")) : createCommentVNode("", true), withDirectives(createElementVNode("div", {
|
|
5182
5181
|
ref_key: "chartElement",
|
|
5183
5182
|
ref: chartElement,
|
|
5184
5183
|
class: "mint-generated-result__plotly",
|
|
@@ -5191,20 +5190,20 @@ var GeneratedPlotlyResult_default = /* @__PURE__ */ _plugin_vue_export_helper_de
|
|
|
5191
5190
|
}), [["__scopeId", "data-v-3a33df40"]]);
|
|
5192
5191
|
//#endregion
|
|
5193
5192
|
//#region src/components/GeneratedResultRenderer.vue?vue&type=script&setup=true&lang.ts
|
|
5194
|
-
var _hoisted_1$
|
|
5193
|
+
var _hoisted_1$47 = {
|
|
5195
5194
|
class: "mint-generated-result",
|
|
5196
5195
|
"aria-live": "polite"
|
|
5197
5196
|
};
|
|
5198
|
-
var _hoisted_2$
|
|
5197
|
+
var _hoisted_2$43 = {
|
|
5199
5198
|
key: 0,
|
|
5200
5199
|
class: "mint-generated-result__text"
|
|
5201
5200
|
};
|
|
5202
|
-
var _hoisted_3$
|
|
5201
|
+
var _hoisted_3$39 = {
|
|
5203
5202
|
key: 1,
|
|
5204
5203
|
class: "mint-generated-result__json"
|
|
5205
5204
|
};
|
|
5206
|
-
var _hoisted_4$
|
|
5207
|
-
var _hoisted_5$
|
|
5205
|
+
var _hoisted_4$38 = ["src", "alt"];
|
|
5206
|
+
var _hoisted_5$36 = ["href", "download"];
|
|
5208
5207
|
//#endregion
|
|
5209
5208
|
//#region src/components/GeneratedResultRenderer.vue
|
|
5210
5209
|
var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -5230,7 +5229,7 @@ var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
5230
5229
|
return value.replace(/[_-]+/g, " ").replace(/^\w/, (character) => character.toUpperCase());
|
|
5231
5230
|
}
|
|
5232
5231
|
return (_ctx, _cache) => {
|
|
5233
|
-
return openBlock(), createElementBlock("article", _hoisted_1$
|
|
5232
|
+
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
5233
|
key: 2,
|
|
5235
5234
|
data: __props.result.rows,
|
|
5236
5235
|
columns: tableColumns.value,
|
|
@@ -5246,7 +5245,7 @@ var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
5246
5245
|
class: "mint-generated-result__image",
|
|
5247
5246
|
src: `data:${__props.result.media_type};base64,${__props.result.data}`,
|
|
5248
5247
|
alt: __props.result.alt
|
|
5249
|
-
}, null, 8, _hoisted_4$
|
|
5248
|
+
}, null, 8, _hoisted_4$38)]),
|
|
5250
5249
|
_: 1
|
|
5251
5250
|
})) : __props.result.kind === "plotly" ? (openBlock(), createBlock(GeneratedPlotlyResult_default, {
|
|
5252
5251
|
key: 4,
|
|
@@ -5257,22 +5256,22 @@ var GeneratedResultRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
5257
5256
|
class: "mint-generated-result__artifact",
|
|
5258
5257
|
href: artifactHref.value,
|
|
5259
5258
|
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$
|
|
5259
|
+
}, [createElementVNode("span", null, toDisplayString(__props.result.name), 1), createElementVNode("small", null, toDisplayString(__props.result.media_type), 1)], 8, _hoisted_5$36))]);
|
|
5261
5260
|
};
|
|
5262
5261
|
}
|
|
5263
5262
|
}), [["__scopeId", "data-v-148258e9"]]);
|
|
5264
5263
|
//#endregion
|
|
5265
5264
|
//#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$
|
|
5265
|
+
var _hoisted_1$46 = { class: "mint-jobs-tray" };
|
|
5266
|
+
var _hoisted_2$42 = ["aria-expanded"];
|
|
5267
|
+
var _hoisted_3$38 = { class: "mint-jobs-tray__trigger-label" };
|
|
5268
|
+
var _hoisted_4$37 = {
|
|
5270
5269
|
key: 0,
|
|
5271
5270
|
class: "mint-jobs-tray__count",
|
|
5272
5271
|
"aria-live": "polite"
|
|
5273
5272
|
};
|
|
5274
|
-
var _hoisted_5$
|
|
5275
|
-
var _hoisted_6$
|
|
5273
|
+
var _hoisted_5$35 = { class: "mint-jobs-tray__header" };
|
|
5274
|
+
var _hoisted_6$35 = { class: "mint-jobs-tray__subtitle" };
|
|
5276
5275
|
var _hoisted_7$30 = { class: "mint-jobs-tray__header-actions" };
|
|
5277
5276
|
var _hoisted_8$27 = ["disabled"];
|
|
5278
5277
|
var _hoisted_9$25 = {
|
|
@@ -5424,7 +5423,7 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5424
5423
|
return openBlock(), createBlock(Teleport, {
|
|
5425
5424
|
to: teleportTarget.value,
|
|
5426
5425
|
disabled: __props.teleportTo === false
|
|
5427
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
5426
|
+
}, [createElementVNode("div", _hoisted_1$46, [
|
|
5428
5427
|
createElementVNode("button", {
|
|
5429
5428
|
ref_key: "triggerRef",
|
|
5430
5429
|
ref: triggerRef,
|
|
@@ -5442,9 +5441,9 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5442
5441
|
stroke: "currentColor",
|
|
5443
5442
|
"aria-hidden": "true"
|
|
5444
5443
|
}, [..._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$
|
|
5444
|
+
createElementVNode("span", _hoisted_3$38, toDisplayString(unref(tray).featuredJob.value ? unref(jobStatusLabel)(unref(tray).featuredJob.value.status) : "Jobs"), 1),
|
|
5445
|
+
unref(tray).activeJobs.value.length > 0 ? (openBlock(), createElementBlock("span", _hoisted_4$37, toDisplayString(unref(tray).activeJobs.value.length), 1)) : createCommentVNode("", true)
|
|
5446
|
+
], 8, _hoisted_2$42),
|
|
5448
5447
|
createVNode(Transition, { name: "mint-jobs-tray-fade" }, {
|
|
5449
5448
|
default: withCtx(() => [unref(tray).isOpen.value ? (openBlock(), createElementBlock("div", {
|
|
5450
5449
|
key: 0,
|
|
@@ -5467,10 +5466,10 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5467
5466
|
tabindex: "-1",
|
|
5468
5467
|
onKeydown: onPanelKeydown
|
|
5469
5468
|
}, [
|
|
5470
|
-
createElementVNode("header", _hoisted_5$
|
|
5469
|
+
createElementVNode("header", _hoisted_5$35, [createElementVNode("div", null, [createElementVNode("h2", {
|
|
5471
5470
|
id: titleId,
|
|
5472
5471
|
class: "mint-jobs-tray__title"
|
|
5473
|
-
}, toDisplayString(__props.title), 1), createElementVNode("p", _hoisted_6$
|
|
5472
|
+
}, 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
5473
|
key: 0,
|
|
5475
5474
|
type: "button",
|
|
5476
5475
|
class: "mint-jobs-tray__icon-button",
|
|
@@ -5588,21 +5587,21 @@ var JobsStatusTray_default = /* @__PURE__ */ defineComponent({
|
|
|
5588
5587
|
});
|
|
5589
5588
|
//#endregion
|
|
5590
5589
|
//#region src/components/GeneratedPluginView.vue?vue&type=script&setup=true&lang.ts
|
|
5591
|
-
var _hoisted_1$
|
|
5592
|
-
var _hoisted_2$
|
|
5590
|
+
var _hoisted_1$45 = { class: "mint-generated-workspace" };
|
|
5591
|
+
var _hoisted_2$41 = {
|
|
5593
5592
|
key: 0,
|
|
5594
5593
|
class: "mint-generated-workspace__loading"
|
|
5595
5594
|
};
|
|
5596
|
-
var _hoisted_3$
|
|
5595
|
+
var _hoisted_3$37 = {
|
|
5597
5596
|
key: 1,
|
|
5598
5597
|
class: "mint-generated-workspace__header"
|
|
5599
5598
|
};
|
|
5600
|
-
var _hoisted_4$
|
|
5601
|
-
var _hoisted_5$
|
|
5599
|
+
var _hoisted_4$36 = { key: 0 };
|
|
5600
|
+
var _hoisted_5$34 = {
|
|
5602
5601
|
class: "mint-generated-workspace__resources",
|
|
5603
5602
|
"aria-label": "Job resource requirements"
|
|
5604
5603
|
};
|
|
5605
|
-
var _hoisted_6$
|
|
5604
|
+
var _hoisted_6$34 = { class: "mint-generated-workspace__result" };
|
|
5606
5605
|
//#endregion
|
|
5607
5606
|
//#region src/components/GeneratedPluginView.vue
|
|
5608
5607
|
var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -5668,7 +5667,7 @@ var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_defa
|
|
|
5668
5667
|
function resourceSummary(definition) {
|
|
5669
5668
|
if (definition.lifecycle === "service" || definition.profile?.kind === "service") return "Host service";
|
|
5670
5669
|
if (definition.lifecycle === "staged" || definition.profile?.kind === "staged") return "Staged upload";
|
|
5671
|
-
return
|
|
5670
|
+
return `Up to ${definition.cpu} CPU`;
|
|
5672
5671
|
}
|
|
5673
5672
|
onMounted(() => {
|
|
5674
5673
|
generated.initialize().catch(() => void 0);
|
|
@@ -5693,18 +5692,18 @@ var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_defa
|
|
|
5693
5692
|
"onUpdate:values": updateValues,
|
|
5694
5693
|
onFormSubmit: submitJob
|
|
5695
5694
|
}, {
|
|
5696
|
-
default: withCtx(() => [createElementVNode("main", _hoisted_1$
|
|
5695
|
+
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
5696
|
unref(generated).error.value ? (openBlock(), createBlock(AlertBox_default, {
|
|
5698
5697
|
key: 0,
|
|
5699
5698
|
type: "error",
|
|
5700
5699
|
message: unref(generated).error.value
|
|
5701
5700
|
}, null, 8, ["message"])) : createCommentVNode("", true),
|
|
5702
|
-
activeDefinition.value ? (openBlock(), createElementBlock("header", _hoisted_3$
|
|
5701
|
+
activeDefinition.value ? (openBlock(), createElementBlock("header", _hoisted_3$37, [createElementVNode("div", null, [
|
|
5703
5702
|
_cache[2] || (_cache[2] = createElementVNode("p", { class: "mint-generated-workspace__eyebrow" }, "Analysis result", -1)),
|
|
5704
5703
|
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$
|
|
5704
|
+
activeDefinition.value.description ? (openBlock(), createElementBlock("p", _hoisted_4$36, toDisplayString(activeDefinition.value.description), 1)) : createCommentVNode("", true)
|
|
5705
|
+
]), createElementVNode("div", _hoisted_5$34, [createElementVNode("span", null, toDisplayString(resourceSummary(activeDefinition.value)), 1)])])) : createCommentVNode("", true),
|
|
5706
|
+
createElementVNode("section", _hoisted_6$34, [currentResult.value ? (openBlock(), createBlock(GeneratedResultRenderer_default, {
|
|
5708
5707
|
key: 0,
|
|
5709
5708
|
result: currentResult.value
|
|
5710
5709
|
}, null, 8, ["result"])) : (openBlock(), createBlock(EmptyState_default, {
|
|
@@ -5733,15 +5732,15 @@ var GeneratedPluginView_default = /* @__PURE__ */ _plugin_vue_export_helper_defa
|
|
|
5733
5732
|
]);
|
|
5734
5733
|
};
|
|
5735
5734
|
}
|
|
5736
|
-
}), [["__scopeId", "data-v-
|
|
5735
|
+
}), [["__scopeId", "data-v-6219e939"]]);
|
|
5737
5736
|
//#endregion
|
|
5738
5737
|
//#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$
|
|
5738
|
+
var _hoisted_1$44 = { class: "mint-dose-calculator__field" };
|
|
5739
|
+
var _hoisted_2$40 = { class: "mint-dose-calculator__field-label" };
|
|
5740
|
+
var _hoisted_3$36 = { class: "mint-dose-calculator__field-row" };
|
|
5741
|
+
var _hoisted_4$35 = ["value", "disabled"];
|
|
5742
|
+
var _hoisted_5$33 = ["value", "disabled"];
|
|
5743
|
+
var _hoisted_6$33 = ["value"];
|
|
5745
5744
|
//#endregion
|
|
5746
5745
|
//#region src/components/DoseCalculatorVolumeField.vue
|
|
5747
5746
|
var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
@@ -5777,7 +5776,7 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
5777
5776
|
});
|
|
5778
5777
|
}
|
|
5779
5778
|
return (_ctx, _cache) => {
|
|
5780
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5779
|
+
return openBlock(), createElementBlock("div", _hoisted_1$44, [createElementVNode("label", _hoisted_2$40, toDisplayString(__props.label), 1), createElementVNode("div", _hoisted_3$36, [createElementVNode("input", {
|
|
5781
5780
|
type: "number",
|
|
5782
5781
|
value: __props.modelValue.value,
|
|
5783
5782
|
disabled: __props.disabled,
|
|
@@ -5785,7 +5784,7 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
5785
5784
|
min: "0",
|
|
5786
5785
|
step: "any",
|
|
5787
5786
|
onInput: handleValueInput
|
|
5788
|
-
}, null, 40, _hoisted_4$
|
|
5787
|
+
}, null, 40, _hoisted_4$35), createElementVNode("select", {
|
|
5789
5788
|
value: __props.modelValue.unit,
|
|
5790
5789
|
disabled: __props.disabled,
|
|
5791
5790
|
class: "mint-dose-calculator__select",
|
|
@@ -5794,27 +5793,27 @@ var DoseCalculatorVolumeField_default = /* @__PURE__ */ defineComponent({
|
|
|
5794
5793
|
return openBlock(), createElementBlock("option", {
|
|
5795
5794
|
key: unit,
|
|
5796
5795
|
value: unit
|
|
5797
|
-
}, toDisplayString(unit), 9, _hoisted_6$
|
|
5798
|
-
}), 128))], 40, _hoisted_5$
|
|
5796
|
+
}, toDisplayString(unit), 9, _hoisted_6$33);
|
|
5797
|
+
}), 128))], 40, _hoisted_5$33)])]);
|
|
5799
5798
|
};
|
|
5800
5799
|
}
|
|
5801
5800
|
});
|
|
5802
5801
|
//#endregion
|
|
5803
5802
|
//#region src/components/DoseCalculator.vue?vue&type=script&setup=true&lang.ts
|
|
5804
|
-
var _hoisted_1$
|
|
5803
|
+
var _hoisted_1$43 = {
|
|
5805
5804
|
key: 0,
|
|
5806
5805
|
class: "mint-dose-calculator__tabs",
|
|
5807
5806
|
role: "tablist"
|
|
5808
5807
|
};
|
|
5809
|
-
var _hoisted_2$
|
|
5810
|
-
var _hoisted_3$
|
|
5811
|
-
var _hoisted_4$
|
|
5812
|
-
var _hoisted_5$
|
|
5808
|
+
var _hoisted_2$39 = ["aria-selected"];
|
|
5809
|
+
var _hoisted_3$35 = ["aria-selected"];
|
|
5810
|
+
var _hoisted_4$34 = ["aria-selected"];
|
|
5811
|
+
var _hoisted_5$32 = {
|
|
5813
5812
|
key: 1,
|
|
5814
5813
|
class: "mint-dose-calculator__form",
|
|
5815
5814
|
role: "tabpanel"
|
|
5816
5815
|
};
|
|
5817
|
-
var _hoisted_6$
|
|
5816
|
+
var _hoisted_6$32 = { class: "mint-dose-calculator__field" };
|
|
5818
5817
|
var _hoisted_7$29 = { class: "mint-dose-calculator__field" };
|
|
5819
5818
|
var _hoisted_8$26 = {
|
|
5820
5819
|
key: 0,
|
|
@@ -5994,31 +5993,31 @@ var DoseCalculator_default = /* @__PURE__ */ defineComponent({
|
|
|
5994
5993
|
});
|
|
5995
5994
|
return (_ctx, _cache) => {
|
|
5996
5995
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-dose-calculator", __props.disabled ? "mint-dose-calculator--disabled" : ""]) }, [
|
|
5997
|
-
showTabs.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
5996
|
+
showTabs.value ? (openBlock(), createElementBlock("div", _hoisted_1$43, [
|
|
5998
5997
|
createElementVNode("button", {
|
|
5999
5998
|
type: "button",
|
|
6000
5999
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "dilution" ? "mint-dose-calculator__tab--active" : ""]),
|
|
6001
6000
|
role: "tab",
|
|
6002
6001
|
"aria-selected": activeMode.value === "dilution",
|
|
6003
6002
|
onClick: _cache[0] || (_cache[0] = ($event) => activeMode.value = "dilution")
|
|
6004
|
-
}, " Dilution ", 10, _hoisted_2$
|
|
6003
|
+
}, " Dilution ", 10, _hoisted_2$39),
|
|
6005
6004
|
createElementVNode("button", {
|
|
6006
6005
|
type: "button",
|
|
6007
6006
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "serial" ? "mint-dose-calculator__tab--active" : ""]),
|
|
6008
6007
|
role: "tab",
|
|
6009
6008
|
"aria-selected": activeMode.value === "serial",
|
|
6010
6009
|
onClick: _cache[1] || (_cache[1] = ($event) => activeMode.value = "serial")
|
|
6011
|
-
}, " Serial ", 10, _hoisted_3$
|
|
6010
|
+
}, " Serial ", 10, _hoisted_3$35),
|
|
6012
6011
|
createElementVNode("button", {
|
|
6013
6012
|
type: "button",
|
|
6014
6013
|
class: normalizeClass(["mint-dose-calculator__tab", activeMode.value === "conversion" ? "mint-dose-calculator__tab--active" : ""]),
|
|
6015
6014
|
role: "tab",
|
|
6016
6015
|
"aria-selected": activeMode.value === "conversion",
|
|
6017
6016
|
onClick: _cache[2] || (_cache[2] = ($event) => activeMode.value = "conversion")
|
|
6018
|
-
}, " Conversion ", 10, _hoisted_4$
|
|
6017
|
+
}, " Conversion ", 10, _hoisted_4$34)
|
|
6019
6018
|
])) : createCommentVNode("", true),
|
|
6020
|
-
activeMode.value === "dilution" ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6021
|
-
createElementVNode("div", _hoisted_6$
|
|
6019
|
+
activeMode.value === "dilution" ? (openBlock(), createElementBlock("div", _hoisted_5$32, [
|
|
6020
|
+
createElementVNode("div", _hoisted_6$32, [_cache[10] || (_cache[10] = createElementVNode("label", { class: "mint-dose-calculator__field-label" }, "Stock Concentration", -1)), createVNode(ConcentrationInput_default, {
|
|
6022
6021
|
modelValue: stockConcentration.value,
|
|
6023
6022
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => stockConcentration.value = $event),
|
|
6024
6023
|
disabled: __props.disabled,
|
|
@@ -6155,24 +6154,24 @@ function formatProtocolDuration(minutes) {
|
|
|
6155
6154
|
}
|
|
6156
6155
|
//#endregion
|
|
6157
6156
|
//#region src/components/ExperimentTimeline.vue?vue&type=script&setup=true&lang.ts
|
|
6158
|
-
var _hoisted_1$
|
|
6159
|
-
var _hoisted_2$
|
|
6157
|
+
var _hoisted_1$42 = ["aria-label"];
|
|
6158
|
+
var _hoisted_2$38 = [
|
|
6160
6159
|
"draggable",
|
|
6161
6160
|
"onDragstart",
|
|
6162
6161
|
"onDragover",
|
|
6163
6162
|
"onDrop"
|
|
6164
6163
|
];
|
|
6165
|
-
var _hoisted_3$
|
|
6164
|
+
var _hoisted_3$34 = {
|
|
6166
6165
|
key: 0,
|
|
6167
6166
|
class: "mint-timeline__connector"
|
|
6168
6167
|
};
|
|
6169
|
-
var _hoisted_4$
|
|
6170
|
-
var _hoisted_5$
|
|
6168
|
+
var _hoisted_4$33 = ["onClick"];
|
|
6169
|
+
var _hoisted_5$31 = {
|
|
6171
6170
|
fill: "none",
|
|
6172
6171
|
stroke: "currentColor",
|
|
6173
6172
|
viewBox: "0 0 24 24"
|
|
6174
6173
|
};
|
|
6175
|
-
var _hoisted_6$
|
|
6174
|
+
var _hoisted_6$31 = ["d"];
|
|
6176
6175
|
var _hoisted_7$28 = { class: "mint-timeline__content" };
|
|
6177
6176
|
var _hoisted_8$25 = { class: "mint-timeline__title-row" };
|
|
6178
6177
|
var _hoisted_9$23 = ["aria-label", "onClick"];
|
|
@@ -6374,7 +6373,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6374
6373
|
onDrop: ($event) => handleDrop($event, step),
|
|
6375
6374
|
onDragend: handleDragEnd
|
|
6376
6375
|
}, [
|
|
6377
|
-
index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6376
|
+
index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_3$34)) : createCommentVNode("", true),
|
|
6378
6377
|
createElementVNode("div", {
|
|
6379
6378
|
class: normalizeClass([
|
|
6380
6379
|
"mint-timeline__card",
|
|
@@ -6397,12 +6396,12 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6397
6396
|
backgroundColor: `${getStepColor(step)}20`,
|
|
6398
6397
|
color: getStepColor(step)
|
|
6399
6398
|
} : {})
|
|
6400
|
-
}, [(openBlock(), createElementBlock("svg", _hoisted_5$
|
|
6399
|
+
}, [(openBlock(), createElementBlock("svg", _hoisted_5$31, [createElementVNode("path", {
|
|
6401
6400
|
"stroke-linecap": "round",
|
|
6402
6401
|
"stroke-linejoin": "round",
|
|
6403
6402
|
"stroke-width": "2",
|
|
6404
6403
|
d: unref(PROTOCOL_STEP_TYPE_ICONS)[step.type]
|
|
6405
|
-
}, null, 8, _hoisted_6$
|
|
6404
|
+
}, null, 8, _hoisted_6$31)]))], 6),
|
|
6406
6405
|
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
6406
|
key: 0,
|
|
6408
6407
|
class: normalizeClass(["mint-timeline__duration", __props.size === "sm" ? "mint-timeline__duration--sm" : ""])
|
|
@@ -6468,7 +6467,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6468
6467
|
onClick: withModifiers(($event) => handleStatusChange(step, status), ["stop"])
|
|
6469
6468
|
}, toDisplayString(status.replace("_", " ")), 11, _hoisted_15$15);
|
|
6470
6469
|
}), 64))])) : createCommentVNode("", true)
|
|
6471
|
-
], 8, _hoisted_10$22)) : createCommentVNode("", true)], 14, _hoisted_4$
|
|
6470
|
+
], 8, _hoisted_10$22)) : createCommentVNode("", true)], 14, _hoisted_4$33),
|
|
6472
6471
|
__props.editable && __props.orientation === "vertical" ? (openBlock(), createElementBlock("button", {
|
|
6473
6472
|
key: 1,
|
|
6474
6473
|
type: "button",
|
|
@@ -6487,7 +6486,7 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6487
6486
|
})], -1)])], 8, _hoisted_16$13)) : createCommentVNode("", true),
|
|
6488
6487
|
__props.orientation === "vertical" && index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_17$13)) : createCommentVNode("", true),
|
|
6489
6488
|
__props.orientation === "horizontal" && index < sortedSteps.value.length - 1 ? (openBlock(), createElementBlock("div", _hoisted_18$13)) : createCommentVNode("", true)
|
|
6490
|
-
], 40, _hoisted_2$
|
|
6489
|
+
], 40, _hoisted_2$38);
|
|
6491
6490
|
}), 128)),
|
|
6492
6491
|
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
6492
|
key: 0,
|
|
@@ -6510,18 +6509,18 @@ var ExperimentTimeline_default = /* @__PURE__ */ defineComponent({
|
|
|
6510
6509
|
"stroke-width": "2",
|
|
6511
6510
|
d: "M12 4v16m8-8H4"
|
|
6512
6511
|
})], -1)), createElementVNode("span", { class: normalizeClass(`mint-timeline__add-end-text--${__props.size}`) }, "Add Step", 2)], 2)) : createCommentVNode("", true)
|
|
6513
|
-
], 10, _hoisted_1$
|
|
6512
|
+
], 10, _hoisted_1$42);
|
|
6514
6513
|
};
|
|
6515
6514
|
}
|
|
6516
6515
|
});
|
|
6517
6516
|
//#endregion
|
|
6518
6517
|
//#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$
|
|
6518
|
+
var _hoisted_1$41 = { class: "mint-well-edit-popup__header" };
|
|
6519
|
+
var _hoisted_2$37 = { class: "mint-well-edit-popup__header-left" };
|
|
6520
|
+
var _hoisted_3$33 = { class: "mint-well-edit-popup__well-id" };
|
|
6521
|
+
var _hoisted_4$32 = { class: "mint-well-edit-popup__body" };
|
|
6522
|
+
var _hoisted_5$30 = { key: 0 };
|
|
6523
|
+
var _hoisted_6$30 = { class: "mint-well-edit-popup__row" };
|
|
6525
6524
|
var _hoisted_7$27 = { key: 0 };
|
|
6526
6525
|
var _hoisted_8$24 = { class: "mint-well-edit-popup__type-grid" };
|
|
6527
6526
|
var _hoisted_9$22 = ["title", "onClick"];
|
|
@@ -6638,7 +6637,7 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
6638
6637
|
style: normalizeStyle(popupStyle.value),
|
|
6639
6638
|
onClick: _cache[5] || (_cache[5] = withModifiers(() => {}, ["stop"]))
|
|
6640
6639
|
}, [
|
|
6641
|
-
createElementVNode("div", _hoisted_1$
|
|
6640
|
+
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
6641
|
class: "mint-well-edit-popup__close",
|
|
6643
6642
|
onClick: close
|
|
6644
6643
|
}, [..._cache[7] || (_cache[7] = [createElementVNode("svg", {
|
|
@@ -6651,8 +6650,8 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
6651
6650
|
"stroke-linecap": "round",
|
|
6652
6651
|
"stroke-linejoin": "round"
|
|
6653
6652
|
}, [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$
|
|
6653
|
+
createElementVNode("div", _hoisted_4$32, [
|
|
6654
|
+
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
6655
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => formData.value.label = $event),
|
|
6657
6656
|
type: "text",
|
|
6658
6657
|
placeholder: "e.g., Sample_001",
|
|
@@ -6660,7 +6659,7 @@ var WellEditPopupInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
6660
6659
|
onKeydown: withKeys(save, ["enter"]),
|
|
6661
6660
|
autofocus: ""
|
|
6662
6661
|
}, null, 544), [[vModelText, formData.value.label]])])) : createCommentVNode("", true),
|
|
6663
|
-
createElementVNode("div", _hoisted_6$
|
|
6662
|
+
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
6663
|
return createElementVNode("button", {
|
|
6665
6664
|
key: btn.type,
|
|
6666
6665
|
title: btn.tooltip,
|
|
@@ -7337,12 +7336,12 @@ var DEFAULT_WELL_LEGEND_ITEMS = [
|
|
|
7337
7336
|
];
|
|
7338
7337
|
//#endregion
|
|
7339
7338
|
//#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$
|
|
7339
|
+
var _hoisted_1$40 = { class: "mint-well-plate__scroll" };
|
|
7340
|
+
var _hoisted_2$36 = { class: "mint-well-plate__content" };
|
|
7341
|
+
var _hoisted_3$32 = ["aria-label"];
|
|
7342
|
+
var _hoisted_4$31 = { key: 0 };
|
|
7343
|
+
var _hoisted_5$29 = ["colspan"];
|
|
7344
|
+
var _hoisted_6$29 = ["colspan"];
|
|
7346
7345
|
var _hoisted_7$26 = { key: 1 };
|
|
7347
7346
|
var _hoisted_8$23 = ["rowspan"];
|
|
7348
7347
|
var _hoisted_9$21 = {
|
|
@@ -7561,7 +7560,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7561
7560
|
ref: plateRef,
|
|
7562
7561
|
class: normalizeClass(["mint-well-plate", isFillMode.value ? "mint-well-plate--fill" : "mint-well-plate--inline"]),
|
|
7563
7562
|
style: normalizeStyle(containerStyle.value)
|
|
7564
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
7563
|
+
}, [createElementVNode("div", _hoisted_1$40, [createElementVNode("div", _hoisted_2$36, [
|
|
7565
7564
|
createElementVNode("table", {
|
|
7566
7565
|
ref_key: "tableRef",
|
|
7567
7566
|
ref: tableRef,
|
|
@@ -7570,7 +7569,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7570
7569
|
"aria-label": `${props.format}-well plate`,
|
|
7571
7570
|
style: normalizeStyle(tableStyle.value)
|
|
7572
7571
|
}, [
|
|
7573
|
-
hasColumnConditions.value ? (openBlock(), createElementBlock("thead", _hoisted_4$
|
|
7572
|
+
hasColumnConditions.value ? (openBlock(), createElementBlock("thead", _hoisted_4$31, [createElementVNode("tr", null, [
|
|
7574
7573
|
createElementVNode("th", { style: normalizeStyle({ width: sizeConfig.value.headerWidth }) }, null, 4),
|
|
7575
7574
|
hasRowConditions.value ? (openBlock(), createElementBlock("th", {
|
|
7576
7575
|
key: 0,
|
|
@@ -7586,10 +7585,10 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7586
7585
|
fontSize: sizeConfig.value.fontSize,
|
|
7587
7586
|
color: span.condition.color
|
|
7588
7587
|
})
|
|
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$
|
|
7588
|
+
}, [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
7589
|
key: 1,
|
|
7591
7590
|
colspan: span.colspan
|
|
7592
|
-
}, null, 8, _hoisted_6$
|
|
7591
|
+
}, null, 8, _hoisted_6$29))], 64);
|
|
7593
7592
|
}), 128))
|
|
7594
7593
|
])])) : createCommentVNode("", true),
|
|
7595
7594
|
props.showLabels ? (openBlock(), createElementBlock("thead", _hoisted_7$26, [createElementVNode("tr", null, [
|
|
@@ -7698,7 +7697,7 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7698
7697
|
}), 128))
|
|
7699
7698
|
]);
|
|
7700
7699
|
}), 128))])
|
|
7701
|
-
], 12, _hoisted_3$
|
|
7700
|
+
], 12, _hoisted_3$32),
|
|
7702
7701
|
props.heatmap?.enabled && props.heatmap.showLegend ? (openBlock(), createElementBlock("div", _hoisted_16$12, [
|
|
7703
7702
|
createElementVNode("span", _hoisted_17$12, toDisplayString(props.heatmap.min ?? 0), 1),
|
|
7704
7703
|
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 +7755,8 @@ var WellPlate_default = /* @__PURE__ */ defineComponent({
|
|
|
7756
7755
|
});
|
|
7757
7756
|
//#endregion
|
|
7758
7757
|
//#region src/components/SampleLegend.vue?vue&type=script&setup=true&lang.ts
|
|
7759
|
-
var _hoisted_1$
|
|
7760
|
-
var _hoisted_2$
|
|
7758
|
+
var _hoisted_1$39 = ["aria-pressed", "onClick"];
|
|
7759
|
+
var _hoisted_2$35 = ["aria-label", "onClick"];
|
|
7761
7760
|
//#endregion
|
|
7762
7761
|
//#region src/components/SampleLegend.vue
|
|
7763
7762
|
var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
@@ -7857,8 +7856,8 @@ var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
7857
7856
|
"stroke-linejoin": "round",
|
|
7858
7857
|
"stroke-width": "2",
|
|
7859
7858
|
d: "M6 18L18 6M6 6l12 12"
|
|
7860
|
-
})], -1)])], 8, _hoisted_2$
|
|
7861
|
-
], 10, _hoisted_1$
|
|
7859
|
+
})], -1)])], 8, _hoisted_2$35)) : createCommentVNode("", true)
|
|
7860
|
+
], 10, _hoisted_1$39);
|
|
7862
7861
|
}), 128)), __props.editable ? (openBlock(), createElementBlock("button", {
|
|
7863
7862
|
key: 0,
|
|
7864
7863
|
type: "button",
|
|
@@ -7881,15 +7880,15 @@ var SampleLegend_default = /* @__PURE__ */ defineComponent({
|
|
|
7881
7880
|
});
|
|
7882
7881
|
//#endregion
|
|
7883
7882
|
//#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$
|
|
7883
|
+
var _hoisted_1$38 = { class: "mint-plate-editor__toolbar" };
|
|
7884
|
+
var _hoisted_2$34 = { class: "mint-plate-editor__tabs" };
|
|
7885
|
+
var _hoisted_3$31 = ["onClick"];
|
|
7886
|
+
var _hoisted_4$30 = { class: "mint-plate-editor__tab-name" };
|
|
7887
|
+
var _hoisted_5$28 = {
|
|
7889
7888
|
key: 0,
|
|
7890
7889
|
class: "mint-plate-editor__tab-count"
|
|
7891
7890
|
};
|
|
7892
|
-
var _hoisted_6$
|
|
7891
|
+
var _hoisted_6$28 = ["aria-label", "onClick"];
|
|
7893
7892
|
var _hoisted_7$25 = { class: "mint-plate-editor__actions" };
|
|
7894
7893
|
var _hoisted_8$22 = ["disabled"];
|
|
7895
7894
|
var _hoisted_9$20 = ["disabled"];
|
|
@@ -7920,8 +7919,8 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7920
7919
|
const props = __props;
|
|
7921
7920
|
const emit = __emit;
|
|
7922
7921
|
return (_ctx, _cache) => {
|
|
7923
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
7924
|
-
createElementVNode("div", _hoisted_2$
|
|
7922
|
+
return openBlock(), createElementBlock("div", _hoisted_1$38, [
|
|
7923
|
+
createElementVNode("div", _hoisted_2$34, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.plates, (plate, index) => {
|
|
7925
7924
|
return openBlock(), createElementBlock("button", {
|
|
7926
7925
|
key: plate.id,
|
|
7927
7926
|
type: "button",
|
|
@@ -7932,8 +7931,8 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7932
7931
|
class: "mint-plate-editor__tab-slot",
|
|
7933
7932
|
style: normalizeStyle({ backgroundColor: __props.slotColorForPlate(plate.id, index) })
|
|
7934
7933
|
}, null, 4),
|
|
7935
|
-
createElementVNode("span", _hoisted_4$
|
|
7936
|
-
__props.plateWellCounts[plate.id] > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
7934
|
+
createElementVNode("span", _hoisted_4$30, toDisplayString(plate.name), 1),
|
|
7935
|
+
__props.plateWellCounts[plate.id] > 0 ? (openBlock(), createElementBlock("span", _hoisted_5$28, toDisplayString(__props.plateWellCounts[plate.id]), 1)) : createCommentVNode("", true),
|
|
7937
7936
|
props.plates.length > 1 ? (openBlock(), createElementBlock("button", {
|
|
7938
7937
|
key: 1,
|
|
7939
7938
|
type: "button",
|
|
@@ -7947,8 +7946,8 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
7947
7946
|
"stroke-width": "2",
|
|
7948
7947
|
"stroke-linecap": "round",
|
|
7949
7948
|
"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$
|
|
7949
|
+
}, [createElementVNode("path", { d: "M18 6 6 18" }), createElementVNode("path", { d: "m6 6 12 12" })], -1)])], 8, _hoisted_6$28)) : createCommentVNode("", true)
|
|
7950
|
+
], 10, _hoisted_3$31);
|
|
7952
7951
|
}), 128)), __props.canAddPlate ? (openBlock(), createElementBlock("button", {
|
|
7953
7952
|
key: 0,
|
|
7954
7953
|
type: "button",
|
|
@@ -8035,18 +8034,18 @@ var PlateMapEditorToolbarInternal_default = /* @__PURE__ */ defineComponent({
|
|
|
8035
8034
|
});
|
|
8036
8035
|
//#endregion
|
|
8037
8036
|
//#region src/components/PlateMapEditor.vue?vue&type=script&setup=true&lang.ts
|
|
8038
|
-
var _hoisted_1$
|
|
8039
|
-
var _hoisted_2$
|
|
8037
|
+
var _hoisted_1$37 = { class: "mint-plate-editor__main" };
|
|
8038
|
+
var _hoisted_2$33 = {
|
|
8040
8039
|
key: 2,
|
|
8041
8040
|
class: "mint-plate-editor__selection-bar"
|
|
8042
8041
|
};
|
|
8043
|
-
var _hoisted_3$
|
|
8044
|
-
var _hoisted_4$
|
|
8042
|
+
var _hoisted_3$30 = { class: "mint-plate-editor__selection-count" };
|
|
8043
|
+
var _hoisted_4$29 = {
|
|
8045
8044
|
key: 0,
|
|
8046
8045
|
class: "mint-plate-editor__sidebar"
|
|
8047
8046
|
};
|
|
8048
|
-
var _hoisted_5$
|
|
8049
|
-
var _hoisted_6$
|
|
8047
|
+
var _hoisted_5$27 = { class: "mint-plate-editor__sidebar-panel" };
|
|
8048
|
+
var _hoisted_6$27 = {
|
|
8050
8049
|
key: 0,
|
|
8051
8050
|
class: "mint-plate-editor__add-sample"
|
|
8052
8051
|
};
|
|
@@ -8239,7 +8238,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8239
8238
|
useEventListener(() => document, "keydown", handleKeyDown);
|
|
8240
8239
|
return (_ctx, _cache) => {
|
|
8241
8240
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-plate-editor", { "mint-plate-editor--with-sidebar": __props.showSidebar }]) }, [
|
|
8242
|
-
createElementVNode("div", _hoisted_1$
|
|
8241
|
+
createElementVNode("div", _hoisted_1$37, [
|
|
8243
8242
|
__props.showToolbar ? (openBlock(), createBlock(PlateMapEditorToolbarInternal_default, {
|
|
8244
8243
|
key: 0,
|
|
8245
8244
|
plates: unref(editor).plates.value,
|
|
@@ -8282,8 +8281,8 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8282
8281
|
"sample-colors",
|
|
8283
8282
|
"size"
|
|
8284
8283
|
])) : createCommentVNode("", true),
|
|
8285
|
-
unref(editor).selectedWells.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8286
|
-
createElementVNode("span", _hoisted_3$
|
|
8284
|
+
unref(editor).selectedWells.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$33, [
|
|
8285
|
+
createElementVNode("span", _hoisted_3$30, [createElementVNode("strong", null, toDisplayString(unref(editor).selectedWells.value.length), 1), _cache[8] || (_cache[8] = createTextVNode(" wells selected ", -1))]),
|
|
8287
8286
|
_cache[9] || (_cache[9] = createElementVNode("div", { class: "mint-plate-editor__spacer" }, null, -1)),
|
|
8288
8287
|
unref(editor).activeSampleId.value ? (openBlock(), createElementBlock("button", {
|
|
8289
8288
|
key: 0,
|
|
@@ -8299,7 +8298,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8299
8298
|
])) : createCommentVNode("", true),
|
|
8300
8299
|
_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
8300
|
]),
|
|
8302
|
-
__props.showSidebar ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
8301
|
+
__props.showSidebar ? (openBlock(), createElementBlock("div", _hoisted_4$29, [createElementVNode("div", _hoisted_5$27, [
|
|
8303
8302
|
_cache[11] || (_cache[11] = createElementVNode("h3", { class: "mint-plate-editor__sidebar-title" }, "Sample Types", -1)),
|
|
8304
8303
|
createVNode(SampleLegend_default, {
|
|
8305
8304
|
"model-value": unref(editor).activeSampleId.value,
|
|
@@ -8315,7 +8314,7 @@ var PlateMapEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
8315
8314
|
"editable",
|
|
8316
8315
|
"size"
|
|
8317
8316
|
]),
|
|
8318
|
-
__props.allowAddSamples ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
8317
|
+
__props.allowAddSamples ? (openBlock(), createElementBlock("div", _hoisted_6$27, [createElementVNode("div", _hoisted_7$24, [withDirectives(createElementVNode("input", {
|
|
8319
8318
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => newSampleName.value = $event),
|
|
8320
8319
|
type: "text",
|
|
8321
8320
|
placeholder: "New sample...",
|
|
@@ -8424,21 +8423,21 @@ function getReagentRowClasses(reagent, options) {
|
|
|
8424
8423
|
}
|
|
8425
8424
|
//#endregion
|
|
8426
8425
|
//#region src/components/ReagentList.vue?vue&type=script&setup=true&lang.ts
|
|
8427
|
-
var _hoisted_1$
|
|
8428
|
-
var _hoisted_2$
|
|
8429
|
-
var _hoisted_3$
|
|
8426
|
+
var _hoisted_1$36 = { class: "mint-reagent-list" };
|
|
8427
|
+
var _hoisted_2$32 = { class: "mint-reagent-list__header" };
|
|
8428
|
+
var _hoisted_3$29 = {
|
|
8430
8429
|
key: 0,
|
|
8431
8430
|
class: "mint-reagent-list__search"
|
|
8432
8431
|
};
|
|
8433
|
-
var _hoisted_4$
|
|
8432
|
+
var _hoisted_4$28 = {
|
|
8434
8433
|
key: 0,
|
|
8435
8434
|
class: "mint-reagent-list__table"
|
|
8436
8435
|
};
|
|
8437
|
-
var _hoisted_5$
|
|
8436
|
+
var _hoisted_5$26 = {
|
|
8438
8437
|
key: 0,
|
|
8439
8438
|
style: { "width": "24px" }
|
|
8440
8439
|
};
|
|
8441
|
-
var _hoisted_6$
|
|
8440
|
+
var _hoisted_6$26 = ["onClick"];
|
|
8442
8441
|
var _hoisted_7$23 = {
|
|
8443
8442
|
key: 0,
|
|
8444
8443
|
"stroke-linecap": "round",
|
|
@@ -8675,7 +8674,7 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
8675
8674
|
dragOverId.value = null;
|
|
8676
8675
|
}
|
|
8677
8676
|
return (_ctx, _cache) => {
|
|
8678
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8677
|
+
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
8678
|
class: "mint-reagent-list__search-icon",
|
|
8680
8679
|
fill: "none",
|
|
8681
8680
|
stroke: "currentColor",
|
|
@@ -8704,8 +8703,8 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
8704
8703
|
"stroke-linejoin": "round",
|
|
8705
8704
|
"stroke-width": "2",
|
|
8706
8705
|
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$
|
|
8706
|
+
})], -1), createTextVNode(" Add ", -1)])])) : createCommentVNode("", true)]), unref(filteredReagents).length > 0 ? (openBlock(), createElementBlock("table", _hoisted_4$28, [createElementVNode("thead", null, [createElementVNode("tr", null, [
|
|
8707
|
+
__props.sortable && !__props.readonly ? (openBlock(), createElementBlock("th", _hoisted_5$26)) : createCommentVNode("", true),
|
|
8709
8708
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (col) => {
|
|
8710
8709
|
return openBlock(), createElementBlock("th", {
|
|
8711
8710
|
key: col,
|
|
@@ -8717,7 +8716,7 @@ var ReagentList_default = /* @__PURE__ */ defineComponent({
|
|
|
8717
8716
|
fill: "none",
|
|
8718
8717
|
stroke: "currentColor",
|
|
8719
8718
|
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$
|
|
8719
|
+
}, [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
8720
|
}), 128)),
|
|
8722
8721
|
!__props.readonly ? (openBlock(), createElementBlock("th", _hoisted_9$18)) : createCommentVNode("", true)
|
|
8723
8722
|
])]), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(filteredReagents), (reagent) => {
|
|
@@ -8894,16 +8893,16 @@ function fieldRecipeSummary(input) {
|
|
|
8894
8893
|
}
|
|
8895
8894
|
//#endregion
|
|
8896
8895
|
//#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$
|
|
8896
|
+
var _hoisted_1$35 = { class: "sg-modal fr" };
|
|
8897
|
+
var _hoisted_2$31 = { class: "sg-head" };
|
|
8898
|
+
var _hoisted_3$28 = { class: "sg-head__sub" };
|
|
8899
|
+
var _hoisted_4$27 = ["aria-expanded"];
|
|
8900
|
+
var _hoisted_5$25 = {
|
|
8902
8901
|
key: 0,
|
|
8903
8902
|
class: "fr-csv-menu",
|
|
8904
8903
|
role: "menu"
|
|
8905
8904
|
};
|
|
8906
|
-
var _hoisted_6$
|
|
8905
|
+
var _hoisted_6$25 = [
|
|
8907
8906
|
"disabled",
|
|
8908
8907
|
"aria-disabled",
|
|
8909
8908
|
"title"
|
|
@@ -9179,14 +9178,14 @@ var SmartGroupFieldRecipe_default = /* @__PURE__ */ defineComponent({
|
|
|
9179
9178
|
});
|
|
9180
9179
|
}
|
|
9181
9180
|
return (_ctx, _cache) => {
|
|
9182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9183
|
-
createElementVNode("div", _hoisted_2$
|
|
9181
|
+
return openBlock(), createElementBlock("div", _hoisted_1$35, [
|
|
9182
|
+
createElementVNode("div", _hoisted_2$31, [
|
|
9184
9183
|
createVNode(Icon, {
|
|
9185
9184
|
d: ICON.bolt,
|
|
9186
9185
|
size: 18
|
|
9187
9186
|
}, null, 8, ["d"]),
|
|
9188
9187
|
_cache[11] || (_cache[11] = createElementVNode("span", { class: "sg-head__title" }, "Group samples", -1)),
|
|
9189
|
-
createElementVNode("span", _hoisted_3$
|
|
9188
|
+
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
9189
|
_cache[12] || (_cache[12] = createElementVNode("div", { class: "sg-head__spacer" }, null, -1)),
|
|
9191
9190
|
createElementVNode("div", {
|
|
9192
9191
|
ref_key: "csvMenuRoot",
|
|
@@ -9209,8 +9208,8 @@ var SmartGroupFieldRecipe_default = /* @__PURE__ */ defineComponent({
|
|
|
9209
9208
|
d: ICON.chev,
|
|
9210
9209
|
size: 13
|
|
9211
9210
|
}, null, 8, ["d"])
|
|
9212
|
-
], 8, _hoisted_4$
|
|
9213
|
-
unref(csvMenuOpen) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
9211
|
+
], 8, _hoisted_4$27),
|
|
9212
|
+
unref(csvMenuOpen) ? (openBlock(), createElementBlock("div", _hoisted_5$25, [
|
|
9214
9213
|
createElementVNode("button", {
|
|
9215
9214
|
type: "button",
|
|
9216
9215
|
class: "fr-csv-item",
|
|
@@ -9231,7 +9230,7 @@ var SmartGroupFieldRecipe_default = /* @__PURE__ */ defineComponent({
|
|
|
9231
9230
|
}, [createVNode(Icon, {
|
|
9232
9231
|
d: ICON.download,
|
|
9233
9232
|
size: 14
|
|
9234
|
-
}, null, 8, ["d"]), _cache[8] || (_cache[8] = createTextVNode(" Download template ", -1))], 8, _hoisted_6$
|
|
9233
|
+
}, null, 8, ["d"]), _cache[8] || (_cache[8] = createTextVNode(" Download template ", -1))], 8, _hoisted_6$25),
|
|
9235
9234
|
createElementVNode("button", {
|
|
9236
9235
|
type: "button",
|
|
9237
9236
|
class: "fr-csv-item",
|
|
@@ -9458,16 +9457,16 @@ function assignSamples(samples, selected, assignment) {
|
|
|
9458
9457
|
}
|
|
9459
9458
|
//#endregion
|
|
9460
9459
|
//#region src/components/SmartGroupManual.vue?vue&type=script&setup=true&lang.ts
|
|
9461
|
-
var _hoisted_1$
|
|
9462
|
-
var _hoisted_2$
|
|
9463
|
-
var _hoisted_3$
|
|
9460
|
+
var _hoisted_1$34 = { class: "sg-modal mg2" };
|
|
9461
|
+
var _hoisted_2$30 = { class: "sg-head" };
|
|
9462
|
+
var _hoisted_3$27 = {
|
|
9464
9463
|
class: "sg-mode",
|
|
9465
9464
|
role: "tablist",
|
|
9466
9465
|
"aria-label": "Grouping mode"
|
|
9467
9466
|
};
|
|
9468
|
-
var _hoisted_4$
|
|
9469
|
-
var _hoisted_5$
|
|
9470
|
-
var _hoisted_6$
|
|
9467
|
+
var _hoisted_4$26 = { class: "mg2-body" };
|
|
9468
|
+
var _hoisted_5$24 = { class: "mg2-find" };
|
|
9469
|
+
var _hoisted_6$24 = { class: "mg2-search" };
|
|
9471
9470
|
var _hoisted_7$21 = { class: "mg2-chips" };
|
|
9472
9471
|
var _hoisted_8$18 = ["onClick"];
|
|
9473
9472
|
var _hoisted_9$16 = { class: "mg2-chip__n" };
|
|
@@ -9728,8 +9727,8 @@ var SmartGroupManual_default = /* @__PURE__ */ defineComponent({
|
|
|
9728
9727
|
emit("done", { samples: samples.value });
|
|
9729
9728
|
}
|
|
9730
9729
|
return (_ctx, _cache) => {
|
|
9731
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
9732
|
-
createElementVNode("div", _hoisted_2$
|
|
9730
|
+
return openBlock(), createElementBlock("div", _hoisted_1$34, [
|
|
9731
|
+
createElementVNode("div", _hoisted_2$30, [
|
|
9733
9732
|
createVNode(Icon, {
|
|
9734
9733
|
d: ICON.layers,
|
|
9735
9734
|
size: 18
|
|
@@ -9737,7 +9736,7 @@ var SmartGroupManual_default = /* @__PURE__ */ defineComponent({
|
|
|
9737
9736
|
_cache[10] || (_cache[10] = createElementVNode("span", { class: "sg-head__title" }, "Group samples", -1)),
|
|
9738
9737
|
_cache[11] || (_cache[11] = createElementVNode("span", { class: "sg-head__sub" }, "· when names can’t be parsed automatically", -1)),
|
|
9739
9738
|
_cache[12] || (_cache[12] = createElementVNode("div", { class: "sg-head__spacer" }, null, -1)),
|
|
9740
|
-
createElementVNode("div", _hoisted_3$
|
|
9739
|
+
createElementVNode("div", _hoisted_3$27, [createElementVNode("button", {
|
|
9741
9740
|
type: "button",
|
|
9742
9741
|
class: "sg-mode__btn",
|
|
9743
9742
|
role: "tab",
|
|
@@ -9758,8 +9757,8 @@ var SmartGroupManual_default = /* @__PURE__ */ defineComponent({
|
|
|
9758
9757
|
size: 16
|
|
9759
9758
|
}, null, 8, ["d"])])
|
|
9760
9759
|
]),
|
|
9761
|
-
createElementVNode("div", _hoisted_4$
|
|
9762
|
-
createElementVNode("div", _hoisted_6$
|
|
9760
|
+
createElementVNode("div", _hoisted_4$26, [createElementVNode("div", _hoisted_5$24, [
|
|
9761
|
+
createElementVNode("div", _hoisted_6$24, [
|
|
9763
9762
|
createVNode(Icon, {
|
|
9764
9763
|
d: ICON.search,
|
|
9765
9764
|
size: 15
|
|
@@ -10332,9 +10331,9 @@ var AutoGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
10332
10331
|
});
|
|
10333
10332
|
//#endregion
|
|
10334
10333
|
//#region src/components/SampleSelectorSampleRow.vue?vue&type=script&setup=true&lang.ts
|
|
10335
|
-
var _hoisted_1$
|
|
10336
|
-
var _hoisted_2$
|
|
10337
|
-
var _hoisted_3$
|
|
10334
|
+
var _hoisted_1$33 = ["title", "aria-label"];
|
|
10335
|
+
var _hoisted_2$29 = ["checked", "aria-label"];
|
|
10336
|
+
var _hoisted_3$26 = { class: "mint-sample-selector__sample-name" };
|
|
10338
10337
|
//#endregion
|
|
10339
10338
|
//#region src/components/SampleSelectorSampleRow.vue
|
|
10340
10339
|
var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
@@ -10385,8 +10384,8 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
10385
10384
|
style: normalizeStyle(__props.accentColor ? { accentColor: __props.accentColor } : void 0),
|
|
10386
10385
|
"aria-label": `Select sample ${__props.sample}`,
|
|
10387
10386
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("toggle"))
|
|
10388
|
-
}, null, 46, _hoisted_2$
|
|
10389
|
-
createElementVNode("span", _hoisted_3$
|
|
10387
|
+
}, null, 46, _hoisted_2$29),
|
|
10388
|
+
createElementVNode("span", _hoisted_3$26, toDisplayString(__props.sample), 1),
|
|
10390
10389
|
__props.removable ? (openBlock(), createElementBlock("button", {
|
|
10391
10390
|
key: 0,
|
|
10392
10391
|
type: "button",
|
|
@@ -10405,7 +10404,7 @@ var SampleSelectorSampleRow_default = /* @__PURE__ */ defineComponent({
|
|
|
10405
10404
|
"stroke-width": "2",
|
|
10406
10405
|
d: "M20 12H4"
|
|
10407
10406
|
})], -1)])])) : createCommentVNode("", true)
|
|
10408
|
-
], 10, _hoisted_1$
|
|
10407
|
+
], 10, _hoisted_1$33);
|
|
10409
10408
|
};
|
|
10410
10409
|
}
|
|
10411
10410
|
});
|
|
@@ -10660,15 +10659,15 @@ function useSampleSelectorSelection(options) {
|
|
|
10660
10659
|
}
|
|
10661
10660
|
//#endregion
|
|
10662
10661
|
//#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$
|
|
10662
|
+
var _hoisted_1$32 = { class: "mint-sample-selector" };
|
|
10663
|
+
var _hoisted_2$28 = { class: "mint-sample-selector__select-all" };
|
|
10664
|
+
var _hoisted_3$25 = ["checked"];
|
|
10665
|
+
var _hoisted_4$25 = { class: "mint-sample-selector__select-all-count" };
|
|
10666
|
+
var _hoisted_5$23 = {
|
|
10668
10667
|
key: 0,
|
|
10669
10668
|
class: "mint-sample-selector__actions"
|
|
10670
10669
|
};
|
|
10671
|
-
var _hoisted_6$
|
|
10670
|
+
var _hoisted_6$23 = { class: "mint-sample-selector__actions-row" };
|
|
10672
10671
|
var _hoisted_7$20 = {
|
|
10673
10672
|
key: 0,
|
|
10674
10673
|
class: "mint-sample-selector__action-icon",
|
|
@@ -10913,18 +10912,18 @@ var SampleSelector_default = /* @__PURE__ */ defineComponent({
|
|
|
10913
10912
|
}
|
|
10914
10913
|
__expose({ handleSmartGroupApply });
|
|
10915
10914
|
return (_ctx, _cache) => {
|
|
10916
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10917
|
-
createElementVNode("label", _hoisted_2$
|
|
10915
|
+
return openBlock(), createElementBlock("div", _hoisted_1$32, [
|
|
10916
|
+
createElementVNode("label", _hoisted_2$28, [
|
|
10918
10917
|
createElementVNode("input", {
|
|
10919
10918
|
type: "checkbox",
|
|
10920
10919
|
checked: unref(isAllSelected),
|
|
10921
10920
|
onChange: _cache[0] || (_cache[0] = (...args) => unref(toggleSelectAll) && unref(toggleSelectAll)(...args)),
|
|
10922
10921
|
class: "mint-sample-selector__checkbox"
|
|
10923
|
-
}, null, 40, _hoisted_3$
|
|
10922
|
+
}, null, 40, _hoisted_3$25),
|
|
10924
10923
|
_cache[17] || (_cache[17] = createElementVNode("span", { class: "mint-sample-selector__select-all-label" }, "Select All", -1)),
|
|
10925
|
-
createElementVNode("span", _hoisted_4$
|
|
10924
|
+
createElementVNode("span", _hoisted_4$25, toDisplayString(resolvedSamples.value.length) + " samples", 1)
|
|
10926
10925
|
]),
|
|
10927
|
-
__props.enableGrouping ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
10926
|
+
__props.enableGrouping ? (openBlock(), createElementBlock("div", _hoisted_5$23, [createElementVNode("div", _hoisted_6$23, [createVNode(BaseButton_default, {
|
|
10928
10927
|
variant: __props.enableSmartGroup && groupingEnabled.value ? "primary" : "secondary",
|
|
10929
10928
|
size: "sm",
|
|
10930
10929
|
disabled: resolvedSamples.value.length === 0,
|
|
@@ -11590,21 +11589,21 @@ function formatEventTime(event) {
|
|
|
11590
11589
|
}
|
|
11591
11590
|
//#endregion
|
|
11592
11591
|
//#region src/components/ScheduleCalendar.vue?vue&type=script&setup=true&lang.ts
|
|
11593
|
-
var _hoisted_1$
|
|
11592
|
+
var _hoisted_1$31 = {
|
|
11594
11593
|
key: 0,
|
|
11595
11594
|
class: "mint-schedule__header"
|
|
11596
11595
|
};
|
|
11597
|
-
var _hoisted_2$
|
|
11596
|
+
var _hoisted_2$27 = {
|
|
11598
11597
|
key: 0,
|
|
11599
11598
|
class: "mint-schedule__nav"
|
|
11600
11599
|
};
|
|
11601
|
-
var _hoisted_3$
|
|
11602
|
-
var _hoisted_4$
|
|
11600
|
+
var _hoisted_3$24 = { class: "mint-schedule__title" };
|
|
11601
|
+
var _hoisted_4$24 = {
|
|
11603
11602
|
key: 1,
|
|
11604
11603
|
class: "mint-schedule__view-toggle"
|
|
11605
11604
|
};
|
|
11606
|
-
var _hoisted_5$
|
|
11607
|
-
var _hoisted_6$
|
|
11605
|
+
var _hoisted_5$22 = ["onClick"];
|
|
11606
|
+
var _hoisted_6$22 = {
|
|
11608
11607
|
key: 0,
|
|
11609
11608
|
class: "mint-schedule__day-headers"
|
|
11610
11609
|
};
|
|
@@ -11817,8 +11816,8 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11817
11816
|
class: "mint-schedule",
|
|
11818
11817
|
style: normalizeStyle({ "--slot-height": `${unref(SLOT_HEIGHT)}px` })
|
|
11819
11818
|
}, [
|
|
11820
|
-
__props.showNavigation || __props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
11821
|
-
__props.showNavigation ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
11819
|
+
__props.showNavigation || __props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_1$31, [
|
|
11820
|
+
__props.showNavigation ? (openBlock(), createElementBlock("div", _hoisted_2$27, [
|
|
11822
11821
|
createElementVNode("button", {
|
|
11823
11822
|
type: "button",
|
|
11824
11823
|
class: "mint-schedule__nav-btn",
|
|
@@ -11851,8 +11850,8 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11851
11850
|
onClick: _cache[2] || (_cache[2] = ($event) => navigate("today"))
|
|
11852
11851
|
}, " Today ")
|
|
11853
11852
|
])) : createCommentVNode("", true),
|
|
11854
|
-
createElementVNode("span", _hoisted_3$
|
|
11855
|
-
__props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
11853
|
+
createElementVNode("span", _hoisted_3$24, toDisplayString(unref(headerTitle)), 1),
|
|
11854
|
+
__props.showViewToggle ? (openBlock(), createElementBlock("div", _hoisted_4$24, [(openBlock(), createElementBlock(Fragment, null, renderList([
|
|
11856
11855
|
"day",
|
|
11857
11856
|
"week",
|
|
11858
11857
|
"month"
|
|
@@ -11862,10 +11861,10 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11862
11861
|
type: "button",
|
|
11863
11862
|
class: normalizeClass(["mint-schedule__view-btn", currentView.value === v ? "mint-schedule__view-btn--active" : ""]),
|
|
11864
11863
|
onClick: ($event) => setView(v)
|
|
11865
|
-
}, toDisplayString(v.charAt(0).toUpperCase() + v.slice(1)), 11, _hoisted_5$
|
|
11864
|
+
}, toDisplayString(v.charAt(0).toUpperCase() + v.slice(1)), 11, _hoisted_5$22);
|
|
11866
11865
|
}), 64))])) : createCommentVNode("", true)
|
|
11867
11866
|
])) : createCommentVNode("", true),
|
|
11868
|
-
currentView.value === "day" || currentView.value === "week" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [currentView.value === "week" ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
11867
|
+
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
11868
|
return openBlock(), createElementBlock("div", {
|
|
11870
11869
|
key: i,
|
|
11871
11870
|
class: normalizeClass(["mint-schedule__day-header", unref(isToday)(day) ? "mint-schedule__day-header--today" : ""])
|
|
@@ -11975,22 +11974,22 @@ var ScheduleCalendar_default = /* @__PURE__ */ defineComponent({
|
|
|
11975
11974
|
});
|
|
11976
11975
|
//#endregion
|
|
11977
11976
|
//#region src/components/ComponentBindingRenderer.vue?vue&type=script&setup=true&lang.ts
|
|
11978
|
-
var _hoisted_1$
|
|
11977
|
+
var _hoisted_1$30 = [
|
|
11979
11978
|
"data-component-binding-id",
|
|
11980
11979
|
"data-template-id",
|
|
11981
11980
|
"data-template-component"
|
|
11982
11981
|
];
|
|
11983
|
-
var _hoisted_2$
|
|
11982
|
+
var _hoisted_2$26 = {
|
|
11984
11983
|
key: 0,
|
|
11985
11984
|
class: "mint-component-binding-renderer__header"
|
|
11986
11985
|
};
|
|
11987
|
-
var _hoisted_3$
|
|
11988
|
-
var _hoisted_4$
|
|
11989
|
-
var _hoisted_5$
|
|
11986
|
+
var _hoisted_3$23 = { class: "mint-component-binding-renderer__title-group" };
|
|
11987
|
+
var _hoisted_4$23 = { class: "mint-component-binding-renderer__component" };
|
|
11988
|
+
var _hoisted_5$21 = {
|
|
11990
11989
|
key: 0,
|
|
11991
11990
|
class: "mint-component-binding-renderer__source"
|
|
11992
11991
|
};
|
|
11993
|
-
var _hoisted_6$
|
|
11992
|
+
var _hoisted_6$21 = {
|
|
11994
11993
|
key: 0,
|
|
11995
11994
|
class: "mint-component-binding-renderer__description"
|
|
11996
11995
|
};
|
|
@@ -12120,14 +12119,14 @@ var ComponentBindingRenderer_default = /* @__PURE__ */ _plugin_vue_export_helper
|
|
|
12120
12119
|
"data-component-binding-id": renderableBinding.id,
|
|
12121
12120
|
"data-template-id": renderableBinding.template_id,
|
|
12122
12121
|
"data-template-component": renderableBinding.component
|
|
12123
|
-
}, [__props.showHeaders ? (openBlock(), createElementBlock("header", _hoisted_2$
|
|
12122
|
+
}, [__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
12123
|
}), 128)), renderableBindings.value.length === 0 ? (openBlock(), createElementBlock("p", _hoisted_8$15, toDisplayString(__props.emptyText), 1)) : createCommentVNode("", true)], 2);
|
|
12125
12124
|
};
|
|
12126
12125
|
}
|
|
12127
12126
|
}), [["__scopeId", "data-v-93f5795f"]]);
|
|
12128
12127
|
//#endregion
|
|
12129
12128
|
//#region src/components/ControlWorkspaceView.vue?vue&type=script&setup=true&lang.ts
|
|
12130
|
-
var _hoisted_1$
|
|
12129
|
+
var _hoisted_1$29 = { class: "mint-control-workspace-view__content" };
|
|
12131
12130
|
//#endregion
|
|
12132
12131
|
//#region src/components/ControlWorkspaceView.vue
|
|
12133
12132
|
var ControlWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -12349,7 +12348,7 @@ var ControlWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_def
|
|
|
12349
12348
|
"form-disabled",
|
|
12350
12349
|
"form-readonly"
|
|
12351
12350
|
])], true)]),
|
|
12352
|
-
default: withCtx(() => [createElementVNode("main", _hoisted_1$
|
|
12351
|
+
default: withCtx(() => [createElementVNode("main", _hoisted_1$29, [renderSlot(_ctx.$slots, "default", {
|
|
12353
12352
|
workspace: resolvedWorkspace.value,
|
|
12354
12353
|
bindings: resolvedBindings.value,
|
|
12355
12354
|
values: resolvedWorkspace.value.values,
|
|
@@ -12386,7 +12385,7 @@ var ControlWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_def
|
|
|
12386
12385
|
}), [["__scopeId", "data-v-83e93e6c"]]);
|
|
12387
12386
|
//#endregion
|
|
12388
12387
|
//#region src/components/DoseDesignWorkspaceView.vue?vue&type=script&setup=true&lang.ts
|
|
12389
|
-
var _hoisted_1$
|
|
12388
|
+
var _hoisted_1$28 = { class: "mint-dose-design-workspace" };
|
|
12390
12389
|
//#endregion
|
|
12391
12390
|
//#region src/components/DoseDesignWorkspaceView.vue
|
|
12392
12391
|
var DoseDesignWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
@@ -12517,7 +12516,7 @@ var DoseDesignWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_helper_
|
|
|
12517
12516
|
onSubmit: _cache[2] || (_cache[2] = ($event) => emit("submit", $event)),
|
|
12518
12517
|
onCancel: _cache[3] || (_cache[3] = ($event) => emit("cancel"))
|
|
12519
12518
|
}, {
|
|
12520
|
-
default: withCtx((workspaceSlotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps(workspaceSlotProps))), () => [createElementVNode("div", _hoisted_1$
|
|
12519
|
+
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
12520
|
_: 3
|
|
12522
12521
|
}, 8, [
|
|
12523
12522
|
"model",
|
|
@@ -12575,11 +12574,11 @@ var AppContainer_default = /* @__PURE__ */ defineComponent({
|
|
|
12575
12574
|
});
|
|
12576
12575
|
//#endregion
|
|
12577
12576
|
//#region src/components/Divider.vue?vue&type=script&setup=true&lang.ts
|
|
12578
|
-
var _hoisted_1$
|
|
12577
|
+
var _hoisted_1$27 = {
|
|
12579
12578
|
key: 0,
|
|
12580
12579
|
class: "mint-divider__line"
|
|
12581
12580
|
};
|
|
12582
|
-
var _hoisted_2$
|
|
12581
|
+
var _hoisted_2$25 = { class: "mint-divider__label" };
|
|
12583
12582
|
//#endregion
|
|
12584
12583
|
//#region src/components/Divider.vue
|
|
12585
12584
|
var Divider_default = /* @__PURE__ */ defineComponent({
|
|
@@ -12615,8 +12614,8 @@ var Divider_default = /* @__PURE__ */ defineComponent({
|
|
|
12615
12614
|
role: "separator",
|
|
12616
12615
|
"aria-orientation": "horizontal"
|
|
12617
12616
|
}, [__props.label ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
12618
|
-
__props.align === "center" ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
12619
|
-
createElementVNode("span", _hoisted_2$
|
|
12617
|
+
__props.align === "center" ? (openBlock(), createElementBlock("span", _hoisted_1$27)) : createCommentVNode("", true),
|
|
12618
|
+
createElementVNode("span", _hoisted_2$25, toDisplayString(__props.label), 1),
|
|
12620
12619
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "mint-divider__line" }, null, -1))
|
|
12621
12620
|
], 64)) : createCommentVNode("", true)], 2));
|
|
12622
12621
|
};
|
|
@@ -12624,8 +12623,8 @@ var Divider_default = /* @__PURE__ */ defineComponent({
|
|
|
12624
12623
|
});
|
|
12625
12624
|
//#endregion
|
|
12626
12625
|
//#region src/components/StatusIndicator.vue?vue&type=script&setup=true&lang.ts
|
|
12627
|
-
var _hoisted_1$
|
|
12628
|
-
var _hoisted_2$
|
|
12626
|
+
var _hoisted_1$26 = { class: "mint-status" };
|
|
12627
|
+
var _hoisted_2$24 = {
|
|
12629
12628
|
key: 0,
|
|
12630
12629
|
class: "mint-status__label"
|
|
12631
12630
|
};
|
|
@@ -12650,42 +12649,42 @@ var StatusIndicator_default = /* @__PURE__ */ defineComponent({
|
|
|
12650
12649
|
color: props.color
|
|
12651
12650
|
} : {});
|
|
12652
12651
|
return (_ctx, _cache) => {
|
|
12653
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
12652
|
+
return openBlock(), createElementBlock("span", _hoisted_1$26, [createElementVNode("span", {
|
|
12654
12653
|
class: normalizeClass([
|
|
12655
12654
|
"mint-status__dot",
|
|
12656
12655
|
{ [`mint-status__dot--${__props.status}`]: !__props.color },
|
|
12657
12656
|
{ "mint-status__dot--pulse": __props.pulse }
|
|
12658
12657
|
]),
|
|
12659
12658
|
style: normalizeStyle(dotStyle.value)
|
|
12660
|
-
}, null, 6), __props.label ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
12659
|
+
}, null, 6), __props.label ? (openBlock(), createElementBlock("span", _hoisted_2$24, toDisplayString(__props.label), 1)) : createCommentVNode("", true)]);
|
|
12661
12660
|
};
|
|
12662
12661
|
}
|
|
12663
12662
|
});
|
|
12664
12663
|
//#endregion
|
|
12665
12664
|
//#region src/components/ProgressBar.vue?vue&type=script&setup=true&lang.ts
|
|
12666
|
-
var _hoisted_1$
|
|
12665
|
+
var _hoisted_1$25 = {
|
|
12667
12666
|
key: 0,
|
|
12668
12667
|
class: "mint-progress__header"
|
|
12669
12668
|
};
|
|
12670
|
-
var _hoisted_2$
|
|
12669
|
+
var _hoisted_2$23 = {
|
|
12671
12670
|
key: 0,
|
|
12672
12671
|
class: "mint-progress__label"
|
|
12673
12672
|
};
|
|
12674
|
-
var _hoisted_3$
|
|
12673
|
+
var _hoisted_3$22 = {
|
|
12675
12674
|
key: 1,
|
|
12676
12675
|
class: "mint-progress__value"
|
|
12677
12676
|
};
|
|
12678
|
-
var _hoisted_4$
|
|
12677
|
+
var _hoisted_4$22 = {
|
|
12679
12678
|
key: 2,
|
|
12680
12679
|
class: "mint-progress__value"
|
|
12681
12680
|
};
|
|
12682
|
-
var _hoisted_5$
|
|
12681
|
+
var _hoisted_5$20 = [
|
|
12683
12682
|
"aria-valuenow",
|
|
12684
12683
|
"aria-valuemin",
|
|
12685
12684
|
"aria-valuemax",
|
|
12686
12685
|
"aria-label"
|
|
12687
12686
|
];
|
|
12688
|
-
var _hoisted_6$
|
|
12687
|
+
var _hoisted_6$20 = [
|
|
12689
12688
|
"aria-valuenow",
|
|
12690
12689
|
"aria-valuemax",
|
|
12691
12690
|
"aria-label"
|
|
@@ -12727,10 +12726,10 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12727
12726
|
const segmentCount = computed(() => props.steps.length || 0);
|
|
12728
12727
|
return (_ctx, _cache) => {
|
|
12729
12728
|
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$
|
|
12729
|
+
__props.label || __props.showValue ? (openBlock(), createElementBlock("div", _hoisted_1$25, [
|
|
12730
|
+
__props.label ? (openBlock(), createElementBlock("span", _hoisted_2$23, toDisplayString(__props.label), 1)) : createCommentVNode("", true),
|
|
12731
|
+
__props.showValue && !__props.indeterminate && __props.variant === "rail" ? (openBlock(), createElementBlock("span", _hoisted_3$22, toDisplayString(clampedValue.value) + "%", 1)) : createCommentVNode("", true),
|
|
12732
|
+
__props.showValue && __props.variant === "segmented" && segmentCount.value ? (openBlock(), createElementBlock("span", _hoisted_4$22, toDisplayString(__props.currentStep) + " / " + toDisplayString(segmentCount.value), 1)) : createCommentVNode("", true)
|
|
12734
12733
|
])) : createCommentVNode("", true),
|
|
12735
12734
|
__props.variant === "rail" ? (openBlock(), createElementBlock("div", {
|
|
12736
12735
|
key: 1,
|
|
@@ -12747,7 +12746,7 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12747
12746
|
__props.indeterminate ? "mint-progress__bar--indeterminate" : ""
|
|
12748
12747
|
]),
|
|
12749
12748
|
style: normalizeStyle(barStyle.value)
|
|
12750
|
-
}, null, 6)], 10, _hoisted_5$
|
|
12749
|
+
}, null, 6)], 10, _hoisted_5$20)) : (openBlock(), createElementBlock("div", {
|
|
12751
12750
|
key: 2,
|
|
12752
12751
|
class: normalizeClass(["mint-progress__segments", `mint-progress__segments--${__props.size}`]),
|
|
12753
12752
|
role: "progressbar",
|
|
@@ -12764,7 +12763,7 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12764
12763
|
i === __props.currentStep ? `mint-progress__segment--active mint-progress__segment--${__props.color}` : ""
|
|
12765
12764
|
])
|
|
12766
12765
|
}, null, 2);
|
|
12767
|
-
}), 128))], 10, _hoisted_6$
|
|
12766
|
+
}), 128))], 10, _hoisted_6$20)),
|
|
12768
12767
|
__props.variant === "segmented" && __props.steps.length ? (openBlock(), createElementBlock("div", _hoisted_7$17, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.steps, (step, i) => {
|
|
12769
12768
|
return openBlock(), createElementBlock("span", {
|
|
12770
12769
|
key: i,
|
|
@@ -12781,13 +12780,13 @@ var ProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
12781
12780
|
});
|
|
12782
12781
|
//#endregion
|
|
12783
12782
|
//#region src/components/Avatar.vue?vue&type=script&setup=true&lang.ts
|
|
12784
|
-
var _hoisted_1$
|
|
12785
|
-
var _hoisted_2$
|
|
12786
|
-
var _hoisted_3$
|
|
12783
|
+
var _hoisted_1$24 = ["aria-label"];
|
|
12784
|
+
var _hoisted_2$22 = ["src", "alt"];
|
|
12785
|
+
var _hoisted_3$21 = {
|
|
12787
12786
|
key: 1,
|
|
12788
12787
|
class: "mint-avatar__initials"
|
|
12789
12788
|
};
|
|
12790
|
-
var _hoisted_4$
|
|
12789
|
+
var _hoisted_4$21 = {
|
|
12791
12790
|
key: 2,
|
|
12792
12791
|
class: "mint-avatar__fallback",
|
|
12793
12792
|
viewBox: "0 0 24 24",
|
|
@@ -12840,29 +12839,29 @@ var Avatar_default = /* @__PURE__ */ defineComponent({
|
|
|
12840
12839
|
src: __props.src,
|
|
12841
12840
|
alt: __props.alt || __props.name || "",
|
|
12842
12841
|
class: "mint-avatar__image"
|
|
12843
|
-
}, null, 8, _hoisted_2$
|
|
12842
|
+
}, 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
12843
|
key: 0,
|
|
12845
12844
|
class: normalizeClass(["mint-avatar__status", `mint-avatar__status--${__props.status}`]),
|
|
12846
12845
|
"aria-hidden": "true"
|
|
12847
|
-
}, null, 2)) : createCommentVNode("", true)], 10, _hoisted_1$
|
|
12846
|
+
}, null, 2)) : createCommentVNode("", true)], 10, _hoisted_1$24);
|
|
12848
12847
|
};
|
|
12849
12848
|
}
|
|
12850
12849
|
});
|
|
12851
12850
|
//#endregion
|
|
12852
12851
|
//#region src/components/Breadcrumb.vue?vue&type=script&setup=true&lang.ts
|
|
12853
|
-
var _hoisted_1$
|
|
12852
|
+
var _hoisted_1$23 = {
|
|
12854
12853
|
class: "mint-breadcrumb",
|
|
12855
12854
|
"aria-label": "Breadcrumb"
|
|
12856
12855
|
};
|
|
12857
|
-
var _hoisted_2$
|
|
12858
|
-
var _hoisted_3$
|
|
12859
|
-
var _hoisted_4$
|
|
12860
|
-
var _hoisted_5$
|
|
12856
|
+
var _hoisted_2$21 = { class: "mint-breadcrumb__list" };
|
|
12857
|
+
var _hoisted_3$20 = ["href"];
|
|
12858
|
+
var _hoisted_4$20 = ["onClick"];
|
|
12859
|
+
var _hoisted_5$19 = {
|
|
12861
12860
|
key: 2,
|
|
12862
12861
|
class: "mint-breadcrumb__current",
|
|
12863
12862
|
"aria-current": "page"
|
|
12864
12863
|
};
|
|
12865
|
-
var _hoisted_6$
|
|
12864
|
+
var _hoisted_6$19 = {
|
|
12866
12865
|
key: 0,
|
|
12867
12866
|
class: "mint-breadcrumb__separator",
|
|
12868
12867
|
"aria-hidden": "true"
|
|
@@ -12895,7 +12894,7 @@ var Breadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
|
12895
12894
|
if (!item.href) emit("navigate", item);
|
|
12896
12895
|
}
|
|
12897
12896
|
return (_ctx, _cache) => {
|
|
12898
|
-
return openBlock(), createElementBlock("nav", _hoisted_1$
|
|
12897
|
+
return openBlock(), createElementBlock("nav", _hoisted_1$23, [createElementVNode("ol", _hoisted_2$21, [(openBlock(true), createElementBlock(Fragment, null, renderList(normalizedItems.value, (item, index) => {
|
|
12899
12898
|
return openBlock(), createElementBlock("li", {
|
|
12900
12899
|
key: index,
|
|
12901
12900
|
class: "mint-breadcrumb__item"
|
|
@@ -12907,11 +12906,11 @@ var Breadcrumb_default = /* @__PURE__ */ defineComponent({
|
|
|
12907
12906
|
key: 0,
|
|
12908
12907
|
href: item.href,
|
|
12909
12908
|
class: "mint-breadcrumb__link"
|
|
12910
|
-
}, toDisplayString(item.label), 9, _hoisted_3$
|
|
12909
|
+
}, toDisplayString(item.label), 9, _hoisted_3$20)) : index !== normalizedItems.value.length - 1 ? (openBlock(), createElementBlock("button", {
|
|
12911
12910
|
key: 1,
|
|
12912
12911
|
class: "mint-breadcrumb__link",
|
|
12913
12912
|
onClick: ($event) => handleClick(item)
|
|
12914
|
-
}, toDisplayString(item.label), 9, _hoisted_4$
|
|
12913
|
+
}, 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
12914
|
}), 128))])]);
|
|
12916
12915
|
};
|
|
12917
12916
|
}
|
|
@@ -12972,18 +12971,18 @@ var BioTemplateRenderer_default = /* @__PURE__ */ defineComponent({
|
|
|
12972
12971
|
});
|
|
12973
12972
|
//#endregion
|
|
12974
12973
|
//#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$
|
|
12974
|
+
var _hoisted_1$22 = { class: "mint-bio-template-experiment-workspace" };
|
|
12975
|
+
var _hoisted_2$20 = { class: "mint-bio-template-experiment-workspace__toolbar" };
|
|
12976
|
+
var _hoisted_3$19 = { class: "mint-bio-template-experiment-workspace__actions" };
|
|
12977
|
+
var _hoisted_4$19 = {
|
|
12979
12978
|
key: 1,
|
|
12980
12979
|
class: "mint-bio-template-experiment-workspace__meta"
|
|
12981
12980
|
};
|
|
12982
|
-
var _hoisted_5$
|
|
12981
|
+
var _hoisted_5$18 = {
|
|
12983
12982
|
key: 2,
|
|
12984
12983
|
class: "mint-bio-template-experiment-workspace__templates"
|
|
12985
12984
|
};
|
|
12986
|
-
var _hoisted_6$
|
|
12985
|
+
var _hoisted_6$18 = { class: "mint-bio-template-experiment-workspace__template-id" };
|
|
12987
12986
|
var _hoisted_7$15 = { class: "mint-bio-template-experiment-workspace__template-version" };
|
|
12988
12987
|
var _hoisted_8$14 = { class: "mint-bio-template-experiment-workspace__meta" };
|
|
12989
12988
|
//#endregion
|
|
@@ -13085,14 +13084,14 @@ var BioTemplateExperimentWorkspaceView_default = /* @__PURE__ */ _plugin_vue_exp
|
|
|
13085
13084
|
emit("save");
|
|
13086
13085
|
}
|
|
13087
13086
|
return (_ctx, _cache) => {
|
|
13088
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13089
|
-
createElementVNode("div", _hoisted_2$
|
|
13087
|
+
return openBlock(), createElementBlock("div", _hoisted_1$22, [
|
|
13088
|
+
createElementVNode("div", _hoisted_2$20, [createVNode(AlertBox_default, {
|
|
13090
13089
|
type: "info",
|
|
13091
13090
|
class: "mint-bio-template-experiment-workspace__status"
|
|
13092
13091
|
}, {
|
|
13093
13092
|
default: withCtx(() => [createTextVNode(toDisplayString(statusMessage.value), 1)]),
|
|
13094
13093
|
_: 1
|
|
13095
|
-
}), createElementVNode("div", _hoisted_3$
|
|
13094
|
+
}), createElementVNode("div", _hoisted_3$19, [
|
|
13096
13095
|
createVNode(BaseButton_default, {
|
|
13097
13096
|
variant: "secondary",
|
|
13098
13097
|
loading: resolvedLoading.value,
|
|
@@ -13127,12 +13126,12 @@ var BioTemplateExperimentWorkspaceView_default = /* @__PURE__ */ _plugin_vue_exp
|
|
|
13127
13126
|
default: withCtx(() => [createTextVNode(toDisplayString(resolvedError.value), 1)]),
|
|
13128
13127
|
_: 1
|
|
13129
13128
|
})) : createCommentVNode("", true),
|
|
13130
|
-
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
13131
|
-
__props.showTemplateSummary ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
13129
|
+
__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),
|
|
13130
|
+
__props.showTemplateSummary ? (openBlock(), createElementBlock("div", _hoisted_5$18, [(openBlock(true), createElementBlock(Fragment, null, renderList(templateSummaries.value, (template) => {
|
|
13132
13131
|
return openBlock(), createElementBlock("div", {
|
|
13133
13132
|
key: template.id,
|
|
13134
13133
|
class: "mint-bio-template-experiment-workspace__template"
|
|
13135
|
-
}, [createElementVNode("p", _hoisted_6$
|
|
13134
|
+
}, [createElementVNode("p", _hoisted_6$18, toDisplayString(template.id), 1), createElementVNode("p", _hoisted_7$15, " v" + toDisplayString(template.version), 1)]);
|
|
13136
13135
|
}), 128))])) : createCommentVNode("", true),
|
|
13137
13136
|
renderSlot(_ctx.$slots, "default", {
|
|
13138
13137
|
target: __props.target,
|
|
@@ -13274,15 +13273,15 @@ var BioTemplatePackWorkspaceView_default = /* @__PURE__ */ defineComponent({
|
|
|
13274
13273
|
});
|
|
13275
13274
|
//#endregion
|
|
13276
13275
|
//#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$
|
|
13276
|
+
var _hoisted_1$21 = { class: "mint-bio-template-preset-workspace" };
|
|
13277
|
+
var _hoisted_2$19 = { class: "mint-bio-template-preset-workspace__toolbar" };
|
|
13278
|
+
var _hoisted_3$18 = { class: "mint-bio-template-preset-workspace__actions" };
|
|
13279
|
+
var _hoisted_4$18 = {
|
|
13281
13280
|
key: 1,
|
|
13282
13281
|
class: "mint-bio-template-preset-workspace__meta"
|
|
13283
13282
|
};
|
|
13284
|
-
var _hoisted_5$
|
|
13285
|
-
var _hoisted_6$
|
|
13283
|
+
var _hoisted_5$17 = { class: "mint-bio-template-preset-workspace__main" };
|
|
13284
|
+
var _hoisted_6$17 = { class: "mint-bio-template-preset-workspace__sidebar-subtitle" };
|
|
13286
13285
|
var _hoisted_7$14 = {
|
|
13287
13286
|
key: 2,
|
|
13288
13287
|
class: "mint-bio-template-preset-workspace__templates"
|
|
@@ -13425,14 +13424,14 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13425
13424
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
13426
13425
|
}
|
|
13427
13426
|
return (_ctx, _cache) => {
|
|
13428
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13429
|
-
createElementVNode("div", _hoisted_2$
|
|
13427
|
+
return openBlock(), createElementBlock("div", _hoisted_1$21, [
|
|
13428
|
+
createElementVNode("div", _hoisted_2$19, [createVNode(AlertBox_default, {
|
|
13430
13429
|
type: "info",
|
|
13431
13430
|
class: "mint-bio-template-preset-workspace__status"
|
|
13432
13431
|
}, {
|
|
13433
13432
|
default: withCtx(() => [createTextVNode(toDisplayString(label.value) + " preset saves to the current experiment design_data. ", 1)]),
|
|
13434
13433
|
_: 1
|
|
13435
|
-
}), createElementVNode("div", _hoisted_3$
|
|
13434
|
+
}), createElementVNode("div", _hoisted_3$18, [createVNode(BaseButton_default, {
|
|
13436
13435
|
variant: "secondary",
|
|
13437
13436
|
disabled: isSaving.value,
|
|
13438
13437
|
onClick: _cache[0] || (_cache[0] = ($event) => resolvedWorkspace.value.resetToDefaultCollection())
|
|
@@ -13455,8 +13454,8 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13455
13454
|
default: withCtx(() => [createTextVNode(toDisplayString(error.value), 1)]),
|
|
13456
13455
|
_: 1
|
|
13457
13456
|
})) : createCommentVNode("", true),
|
|
13458
|
-
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$
|
|
13459
|
-
createElementVNode("div", _hoisted_5$
|
|
13457
|
+
__props.showStatus ? (openBlock(), createElementBlock("p", _hoisted_4$18, " saved: " + toDisplayString(lastSavedAt.value?.toLocaleString() ?? "not saved"), 1)) : createCommentVNode("", true),
|
|
13458
|
+
createElementVNode("div", _hoisted_5$17, [createVNode(AppSidebar_default, mergeProps(resolvedWorkspace.value.sidebar, {
|
|
13460
13459
|
variant: __props.sidebarVariant,
|
|
13461
13460
|
floating: false,
|
|
13462
13461
|
width: __props.sidebarWidth,
|
|
@@ -13475,7 +13474,7 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13475
13474
|
"current-item-id",
|
|
13476
13475
|
"onSelect"
|
|
13477
13476
|
])) : createCommentVNode("", true),
|
|
13478
|
-
createElementVNode("p", _hoisted_6$
|
|
13477
|
+
createElementVNode("p", _hoisted_6$17, toDisplayString(presetId.value), 1)
|
|
13479
13478
|
]),
|
|
13480
13479
|
_: 1
|
|
13481
13480
|
}, 16, [
|
|
@@ -13509,21 +13508,21 @@ var BioTemplatePresetWorkspaceView_default = /* @__PURE__ */ _plugin_vue_export_
|
|
|
13509
13508
|
}), [["__scopeId", "data-v-0cb9aa98"]]);
|
|
13510
13509
|
//#endregion
|
|
13511
13510
|
//#region src/components/RackEditor.vue?vue&type=script&setup=true&lang.ts
|
|
13512
|
-
var _hoisted_1$
|
|
13513
|
-
var _hoisted_2$
|
|
13514
|
-
var _hoisted_3$
|
|
13511
|
+
var _hoisted_1$20 = { class: "mint-rack-editor__tabs" };
|
|
13512
|
+
var _hoisted_2$18 = { class: "mint-rack-editor__tabs-inner" };
|
|
13513
|
+
var _hoisted_3$17 = [
|
|
13515
13514
|
"draggable",
|
|
13516
13515
|
"onClick",
|
|
13517
13516
|
"onDragstart",
|
|
13518
13517
|
"onDragover",
|
|
13519
13518
|
"onDrop"
|
|
13520
13519
|
];
|
|
13521
|
-
var _hoisted_4$
|
|
13522
|
-
var _hoisted_5$
|
|
13520
|
+
var _hoisted_4$17 = ["onClick"];
|
|
13521
|
+
var _hoisted_5$16 = {
|
|
13523
13522
|
key: 0,
|
|
13524
13523
|
class: "mint-rack-editor__toolbar"
|
|
13525
13524
|
};
|
|
13526
|
-
var _hoisted_6$
|
|
13525
|
+
var _hoisted_6$16 = { class: "mint-rack-editor__toolbar-group" };
|
|
13527
13526
|
var _hoisted_7$13 = { class: "mint-rack-editor__toolbar-section" };
|
|
13528
13527
|
var _hoisted_8$12 = { class: "mint-rack-editor__format-btns" };
|
|
13529
13528
|
var _hoisted_9$12 = ["onClick"];
|
|
@@ -13741,7 +13740,7 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13741
13740
|
const activeRackWells = computed(() => editor.activeRack.value?.wells ?? {});
|
|
13742
13741
|
return (_ctx, _cache) => {
|
|
13743
13742
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-rack-editor", { "mint-rack-editor--readonly": __props.readonly }]) }, [
|
|
13744
|
-
createElementVNode("div", _hoisted_1$
|
|
13743
|
+
createElementVNode("div", _hoisted_1$20, [createElementVNode("div", _hoisted_2$18, [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(editor).racks.value, (rack) => {
|
|
13745
13744
|
return openBlock(), createElementBlock("button", {
|
|
13746
13745
|
key: rack.id,
|
|
13747
13746
|
draggable: __props.allowReorder && !__props.readonly,
|
|
@@ -13770,8 +13769,8 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13770
13769
|
key: 1,
|
|
13771
13770
|
class: "mint-rack-editor__tab-remove",
|
|
13772
13771
|
onClick: withModifiers(($event) => handleRemoveRack(rack.id), ["stop"])
|
|
13773
|
-
}, " × ", 8, _hoisted_4$
|
|
13774
|
-
], 42, _hoisted_3$
|
|
13772
|
+
}, " × ", 8, _hoisted_4$17)) : createCommentVNode("", true)
|
|
13773
|
+
], 42, _hoisted_3$17);
|
|
13775
13774
|
}), 128))]), unref(editor).racks.value.length < __props.maxRacks && !__props.readonly ? (openBlock(), createElementBlock("button", {
|
|
13776
13775
|
key: 0,
|
|
13777
13776
|
class: "mint-rack-editor__add-btn",
|
|
@@ -13786,8 +13785,8 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13786
13785
|
"stroke-linecap": "round",
|
|
13787
13786
|
"stroke-linejoin": "round"
|
|
13788
13787
|
}, [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$
|
|
13788
|
+
unref(editor).activeRack.value && !__props.readonly ? (openBlock(), createElementBlock("div", _hoisted_5$16, [
|
|
13789
|
+
createElementVNode("div", _hoisted_6$16, [
|
|
13791
13790
|
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
13791
|
return createElementVNode("button", {
|
|
13793
13792
|
key: opt.value,
|
|
@@ -13867,12 +13866,12 @@ var RackEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
13867
13866
|
});
|
|
13868
13867
|
//#endregion
|
|
13869
13868
|
//#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$
|
|
13869
|
+
var _hoisted_1$19 = { class: "mint-group-assigner" };
|
|
13870
|
+
var _hoisted_2$17 = { class: "mint-group-assigner__zones" };
|
|
13871
|
+
var _hoisted_3$16 = { class: "mint-group-assigner__zone-header" };
|
|
13872
|
+
var _hoisted_4$16 = { class: "mint-group-assigner__zone-label" };
|
|
13873
|
+
var _hoisted_5$15 = { class: "mint-group-assigner__zone-count" };
|
|
13874
|
+
var _hoisted_6$15 = { class: "mint-group-assigner__zone-content" };
|
|
13876
13875
|
var _hoisted_7$12 = ["onDragstart"];
|
|
13877
13876
|
var _hoisted_8$11 = { class: "mint-group-assigner__pill-name" };
|
|
13878
13877
|
var _hoisted_9$11 = { class: "mint-group-assigner__pill-count" };
|
|
@@ -13978,8 +13977,8 @@ var GroupAssigner_default = /* @__PURE__ */ defineComponent({
|
|
|
13978
13977
|
emit("update:group2", state.group2);
|
|
13979
13978
|
}
|
|
13980
13979
|
return (_ctx, _cache) => {
|
|
13981
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13982
|
-
createElementVNode("div", _hoisted_2$
|
|
13980
|
+
return openBlock(), createElementBlock("div", _hoisted_1$19, [
|
|
13981
|
+
createElementVNode("div", _hoisted_2$17, [createElementVNode("div", {
|
|
13983
13982
|
class: normalizeClass([
|
|
13984
13983
|
"mint-group-assigner__zone",
|
|
13985
13984
|
"mint-group-assigner__zone--1",
|
|
@@ -13989,7 +13988,7 @@ var GroupAssigner_default = /* @__PURE__ */ defineComponent({
|
|
|
13989
13988
|
onDragover: _cache[0] || (_cache[0] = ($event) => handleDragOver($event, "zone1")),
|
|
13990
13989
|
onDragleave: handleDragLeave,
|
|
13991
13990
|
onDrop: _cache[1] || (_cache[1] = ($event) => handleDrop($event, "zone1"))
|
|
13992
|
-
}, [createElementVNode("div", _hoisted_3$
|
|
13991
|
+
}, [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
13992
|
return openBlock(), createElementBlock("div", {
|
|
13994
13993
|
key: group.name,
|
|
13995
13994
|
class: "mint-group-assigner__pill",
|
|
@@ -14156,12 +14155,12 @@ var SmartGroupModal_default = /* @__PURE__ */ defineComponent({
|
|
|
14156
14155
|
});
|
|
14157
14156
|
//#endregion
|
|
14158
14157
|
//#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$
|
|
14158
|
+
var _hoisted_1$18 = { class: "mint-reagent-editor__section" };
|
|
14159
|
+
var _hoisted_2$16 = { class: "mint-reagent-editor__identity" };
|
|
14160
|
+
var _hoisted_3$15 = { class: "mint-reagent-editor__color-wrapper" };
|
|
14161
|
+
var _hoisted_4$15 = ["value"];
|
|
14162
|
+
var _hoisted_5$14 = ["value"];
|
|
14163
|
+
var _hoisted_6$14 = { class: "mint-reagent-editor__section" };
|
|
14165
14164
|
var _hoisted_7$11 = { class: "mint-reagent-editor__position-row" };
|
|
14166
14165
|
var _hoisted_8$10 = { class: "mint-reagent-editor__field mint-reagent-editor__field--flex" };
|
|
14167
14166
|
var _hoisted_9$10 = { class: "mint-reagent-editor__field mint-reagent-editor__field--flex" };
|
|
@@ -14365,13 +14364,13 @@ var ReagentEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
14365
14364
|
class: "mint-reagent-editor",
|
|
14366
14365
|
style: normalizeStyle({ "--reagent-color": __props.modelValue.color })
|
|
14367
14366
|
}, [
|
|
14368
|
-
createElementVNode("div", _hoisted_1$
|
|
14367
|
+
createElementVNode("div", _hoisted_1$18, [createElementVNode("div", _hoisted_2$16, [createElementVNode("label", _hoisted_3$15, [createElementVNode("input", {
|
|
14369
14368
|
type: "color",
|
|
14370
14369
|
value: __props.modelValue.color,
|
|
14371
14370
|
class: "mint-reagent-editor__color-input",
|
|
14372
14371
|
"aria-label": "Reagent color",
|
|
14373
14372
|
onInput: updateColor
|
|
14374
|
-
}, null, 40, _hoisted_4$
|
|
14373
|
+
}, null, 40, _hoisted_4$15), createElementVNode("span", {
|
|
14375
14374
|
class: "mint-reagent-editor__color-swatch",
|
|
14376
14375
|
style: normalizeStyle({ backgroundColor: __props.modelValue.color })
|
|
14377
14376
|
}, null, 4)]), createElementVNode("input", {
|
|
@@ -14382,8 +14381,8 @@ var ReagentEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
14382
14381
|
maxlength: "64",
|
|
14383
14382
|
"aria-label": "Reagent name",
|
|
14384
14383
|
onInput: updateName
|
|
14385
|
-
}, null, 40, _hoisted_5$
|
|
14386
|
-
createElementVNode("div", _hoisted_6$
|
|
14384
|
+
}, null, 40, _hoisted_5$14)])]),
|
|
14385
|
+
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
14386
|
"model-value": __props.modelValue.axis,
|
|
14388
14387
|
options: axisOptions,
|
|
14389
14388
|
size: "sm",
|
|
@@ -14533,7 +14532,7 @@ var ReagentEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
14533
14532
|
});
|
|
14534
14533
|
//#endregion
|
|
14535
14534
|
//#region src/components/SampleHierarchyTree.vue?vue&type=script&setup=true&lang.ts
|
|
14536
|
-
var _hoisted_1$
|
|
14535
|
+
var _hoisted_1$17 = {
|
|
14537
14536
|
key: 0,
|
|
14538
14537
|
class: "mint-sample-tree__empty"
|
|
14539
14538
|
};
|
|
@@ -14831,7 +14830,7 @@ var SampleHierarchyTree_default = /* @__PURE__ */ defineComponent({
|
|
|
14831
14830
|
return openBlock(), createElementBlock("div", {
|
|
14832
14831
|
class: normalizeClass(["mint-sample-tree", `mint-sample-tree--${__props.size}`]),
|
|
14833
14832
|
role: "tree"
|
|
14834
|
-
}, [__props.nodes.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14833
|
+
}, [__props.nodes.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_1$17, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
14835
14834
|
class: "mint-sample-tree__empty-icon",
|
|
14836
14835
|
fill: "none",
|
|
14837
14836
|
stroke: "currentColor",
|
|
@@ -14845,23 +14844,23 @@ var SampleHierarchyTree_default = /* @__PURE__ */ defineComponent({
|
|
|
14845
14844
|
});
|
|
14846
14845
|
//#endregion
|
|
14847
14846
|
//#region src/components/ProtocolStepParameterField.vue?vue&type=script&setup=true&lang.ts
|
|
14848
|
-
var _hoisted_1$
|
|
14849
|
-
var _hoisted_2$
|
|
14847
|
+
var _hoisted_1$16 = { class: "mint-protocol-editor__field" };
|
|
14848
|
+
var _hoisted_2$15 = {
|
|
14850
14849
|
key: 0,
|
|
14851
14850
|
class: "mint-protocol-editor__input-unit"
|
|
14852
14851
|
};
|
|
14853
|
-
var _hoisted_3$
|
|
14852
|
+
var _hoisted_3$14 = [
|
|
14854
14853
|
"value",
|
|
14855
14854
|
"min",
|
|
14856
14855
|
"max",
|
|
14857
14856
|
"placeholder"
|
|
14858
14857
|
];
|
|
14859
|
-
var _hoisted_4$
|
|
14858
|
+
var _hoisted_4$14 = {
|
|
14860
14859
|
key: 0,
|
|
14861
14860
|
class: "mint-protocol-editor__unit-suffix"
|
|
14862
14861
|
};
|
|
14863
|
-
var _hoisted_5$
|
|
14864
|
-
var _hoisted_6$
|
|
14862
|
+
var _hoisted_5$13 = ["value", "placeholder"];
|
|
14863
|
+
var _hoisted_6$13 = ["value"];
|
|
14865
14864
|
var _hoisted_7$10 = {
|
|
14866
14865
|
value: "",
|
|
14867
14866
|
disabled: ""
|
|
@@ -14902,9 +14901,9 @@ var ProtocolStepParameterField_default = /* @__PURE__ */ defineComponent({
|
|
|
14902
14901
|
emit("update:modelValue", value);
|
|
14903
14902
|
}
|
|
14904
14903
|
return (_ctx, _cache) => {
|
|
14905
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
14904
|
+
return openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
14906
14905
|
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$
|
|
14906
|
+
__props.parameter.type === "number" || __props.parameter.type === "temperature" || __props.parameter.type === "duration" ? (openBlock(), createElementBlock("div", _hoisted_2$15, [createElementVNode("input", {
|
|
14908
14907
|
type: "number",
|
|
14909
14908
|
value: scalarValue.value,
|
|
14910
14909
|
min: __props.parameter.min,
|
|
@@ -14912,14 +14911,14 @@ var ProtocolStepParameterField_default = /* @__PURE__ */ defineComponent({
|
|
|
14912
14911
|
placeholder: __props.parameter.placeholder || `Enter ${__props.parameter.label.toLowerCase()}`,
|
|
14913
14912
|
class: normalizeClass(["mint-protocol-editor__input", hasError.value ? "mint-protocol-editor__input--error" : ""]),
|
|
14914
14913
|
onInput: handleNumberInput
|
|
14915
|
-
}, null, 42, _hoisted_3$
|
|
14914
|
+
}, 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
14915
|
key: 1,
|
|
14917
14916
|
type: "text",
|
|
14918
14917
|
value: scalarValue.value,
|
|
14919
14918
|
placeholder: __props.parameter.placeholder || `Enter ${__props.parameter.label.toLowerCase()}`,
|
|
14920
14919
|
class: normalizeClass(["mint-protocol-editor__input", hasError.value ? "mint-protocol-editor__input--error" : ""]),
|
|
14921
14920
|
onInput: handleTextInput
|
|
14922
|
-
}, null, 42, _hoisted_5$
|
|
14921
|
+
}, null, 42, _hoisted_5$13)) : __props.parameter.type === "select" ? (openBlock(), createElementBlock("select", {
|
|
14923
14922
|
key: 2,
|
|
14924
14923
|
value: scalarValue.value,
|
|
14925
14924
|
class: normalizeClass(["mint-protocol-editor__select", hasError.value ? "mint-protocol-editor__input--error" : ""]),
|
|
@@ -14929,7 +14928,7 @@ var ProtocolStepParameterField_default = /* @__PURE__ */ defineComponent({
|
|
|
14929
14928
|
key: option.value,
|
|
14930
14929
|
value: option.value
|
|
14931
14930
|
}, toDisplayString(option.label), 9, _hoisted_8$9);
|
|
14932
|
-
}), 128))], 42, _hoisted_6$
|
|
14931
|
+
}), 128))], 42, _hoisted_6$13)) : __props.parameter.type === "concentration" ? (openBlock(), createBlock(ConcentrationInput_default, {
|
|
14933
14932
|
key: 3,
|
|
14934
14933
|
"model-value": concentrationValue.value,
|
|
14935
14934
|
error: hasError.value,
|
|
@@ -15002,12 +15001,12 @@ function buildCustomProtocolTemplate(template, fields, templateId = `custom-${Da
|
|
|
15002
15001
|
}
|
|
15003
15002
|
//#endregion
|
|
15004
15003
|
//#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$
|
|
15004
|
+
var _hoisted_1$15 = { class: "mint-protocol-editor" };
|
|
15005
|
+
var _hoisted_2$14 = { class: "mint-protocol-editor__header" };
|
|
15006
|
+
var _hoisted_3$13 = { class: "mint-protocol-editor__title" };
|
|
15007
|
+
var _hoisted_4$13 = { class: "mint-protocol-editor__form" };
|
|
15008
|
+
var _hoisted_5$12 = { class: "mint-protocol-editor__template-select" };
|
|
15009
|
+
var _hoisted_6$12 = {
|
|
15011
15010
|
key: 0,
|
|
15012
15011
|
class: "mint-protocol-editor__template-icon",
|
|
15013
15012
|
fill: "none",
|
|
@@ -15165,10 +15164,10 @@ var ProtocolStepEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
15165
15164
|
if (step) initFromStep(step);
|
|
15166
15165
|
});
|
|
15167
15166
|
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$
|
|
15167
|
+
return openBlock(), createElementBlock("div", _hoisted_1$15, [
|
|
15168
|
+
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)]),
|
|
15169
|
+
createElementVNode("div", _hoisted_4$13, [
|
|
15170
|
+
createElementVNode("div", _hoisted_5$12, [_cache[4] || (_cache[4] = createElementVNode("label", { class: "mint-protocol-editor__template-label" }, "Template", -1)), createElementVNode("div", {
|
|
15172
15171
|
ref_key: "templateDropdownRef",
|
|
15173
15172
|
ref: templateDropdownRef,
|
|
15174
15173
|
class: "mint-protocol-editor__template-dropdown"
|
|
@@ -15177,7 +15176,7 @@ var ProtocolStepEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
15177
15176
|
class: "mint-protocol-editor__template-btn",
|
|
15178
15177
|
onClick: _cache[0] || (_cache[0] = (...args) => unref(toggleTemplateDropdown) && unref(toggleTemplateDropdown)(...args))
|
|
15179
15178
|
}, [
|
|
15180
|
-
selectedTemplate.value ? (openBlock(), createElementBlock("svg", _hoisted_6$
|
|
15179
|
+
selectedTemplate.value ? (openBlock(), createElementBlock("svg", _hoisted_6$12, [createElementVNode("path", {
|
|
15181
15180
|
"stroke-linecap": "round",
|
|
15182
15181
|
"stroke-linejoin": "round",
|
|
15183
15182
|
"stroke-width": "2",
|
|
@@ -15283,15 +15282,15 @@ var ProtocolStepEditor_default = /* @__PURE__ */ defineComponent({
|
|
|
15283
15282
|
});
|
|
15284
15283
|
//#endregion
|
|
15285
15284
|
//#region src/components/ScientificNumber.vue?vue&type=script&setup=true&lang.ts
|
|
15286
|
-
var _hoisted_1$
|
|
15287
|
-
var _hoisted_2$
|
|
15285
|
+
var _hoisted_1$14 = { class: "mint-sci-number" };
|
|
15286
|
+
var _hoisted_2$13 = {
|
|
15288
15287
|
key: 0,
|
|
15289
15288
|
class: "mint-sci-number__plain"
|
|
15290
15289
|
};
|
|
15291
|
-
var _hoisted_3$
|
|
15292
|
-
var _hoisted_4$
|
|
15293
|
-
var _hoisted_5$
|
|
15294
|
-
var _hoisted_6$
|
|
15290
|
+
var _hoisted_3$12 = { class: "mint-sci-number__mantissa" };
|
|
15291
|
+
var _hoisted_4$12 = { class: "mint-sci-number__exponent" };
|
|
15292
|
+
var _hoisted_5$11 = { class: "mint-sci-number__plain" };
|
|
15293
|
+
var _hoisted_6$11 = {
|
|
15295
15294
|
key: 0,
|
|
15296
15295
|
class: "mint-sci-number__suffix"
|
|
15297
15296
|
};
|
|
@@ -15434,13 +15433,13 @@ var ScientificNumber_default = /* @__PURE__ */ defineComponent({
|
|
|
15434
15433
|
} catch {}
|
|
15435
15434
|
}
|
|
15436
15435
|
return (_ctx, _cache) => {
|
|
15437
|
-
return openBlock(), createElementBlock("span", _hoisted_1$
|
|
15438
|
-
specialDisplay.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
15439
|
-
createElementVNode("span", _hoisted_3$
|
|
15436
|
+
return openBlock(), createElementBlock("span", _hoisted_1$14, [
|
|
15437
|
+
specialDisplay.value ? (openBlock(), createElementBlock("span", _hoisted_2$13, toDisplayString(specialDisplay.value), 1)) : formatted.value.type === "scientific" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
15438
|
+
createElementVNode("span", _hoisted_3$12, toDisplayString(formatted.value.mantissa), 1),
|
|
15440
15439
|
_cache[0] || (_cache[0] = createElementVNode("span", { class: "mint-sci-number__times" }, "×", -1)),
|
|
15441
15440
|
_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$
|
|
15441
|
+
createElementVNode("span", _hoisted_4$12, toDisplayString(formatted.value.exponentStr), 1)
|
|
15442
|
+
], 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
15443
|
__props.unit ? (openBlock(), createElementBlock("span", _hoisted_8$7, toDisplayString(__props.unit), 1)) : createCommentVNode("", true),
|
|
15445
15444
|
__props.copyable ? (openBlock(), createElementBlock("button", {
|
|
15446
15445
|
key: 5,
|
|
@@ -15462,27 +15461,27 @@ var ScientificNumber_default = /* @__PURE__ */ defineComponent({
|
|
|
15462
15461
|
});
|
|
15463
15462
|
//#endregion
|
|
15464
15463
|
//#region src/components/ChemicalFormula.vue?vue&type=script&setup=true&lang.ts
|
|
15465
|
-
var _hoisted_1$
|
|
15464
|
+
var _hoisted_1$13 = {
|
|
15466
15465
|
key: 0,
|
|
15467
15466
|
class: "mint-chem-formula__element"
|
|
15468
15467
|
};
|
|
15469
|
-
var _hoisted_2$
|
|
15468
|
+
var _hoisted_2$12 = {
|
|
15470
15469
|
key: 1,
|
|
15471
15470
|
class: "mint-chem-formula__subscript"
|
|
15472
15471
|
};
|
|
15473
|
-
var _hoisted_3$
|
|
15472
|
+
var _hoisted_3$11 = {
|
|
15474
15473
|
key: 2,
|
|
15475
15474
|
class: "mint-chem-formula__superscript"
|
|
15476
15475
|
};
|
|
15477
|
-
var _hoisted_4$
|
|
15476
|
+
var _hoisted_4$11 = {
|
|
15478
15477
|
key: 3,
|
|
15479
15478
|
class: "mint-chem-formula__paren"
|
|
15480
15479
|
};
|
|
15481
|
-
var _hoisted_5$
|
|
15480
|
+
var _hoisted_5$10 = {
|
|
15482
15481
|
key: 4,
|
|
15483
15482
|
class: "mint-chem-formula__dot"
|
|
15484
15483
|
};
|
|
15485
|
-
var _hoisted_6$
|
|
15484
|
+
var _hoisted_6$10 = {
|
|
15486
15485
|
key: 5,
|
|
15487
15486
|
class: "mint-chem-formula__charge"
|
|
15488
15487
|
};
|
|
@@ -15506,7 +15505,7 @@ var ChemicalFormula_default = /* @__PURE__ */ defineComponent({
|
|
|
15506
15505
|
return (_ctx, _cache) => {
|
|
15507
15506
|
return openBlock(), createBlock(resolveDynamicComponent(__props.inline ? "span" : "div"), { class: normalizeClass(["mint-chem-formula", !__props.inline ? "mint-chem-formula--block" : ""]) }, {
|
|
15508
15507
|
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$
|
|
15508
|
+
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
15509
|
}), 128))]),
|
|
15511
15510
|
_: 1
|
|
15512
15511
|
}, 8, ["class"]);
|
|
@@ -15578,15 +15577,15 @@ function clamp(value, min, max) {
|
|
|
15578
15577
|
}
|
|
15579
15578
|
//#endregion
|
|
15580
15579
|
//#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$
|
|
15580
|
+
var _hoisted_1$12 = { class: "mint-sequence-progress" };
|
|
15581
|
+
var _hoisted_2$11 = { class: "mint-sequence-progress__header" };
|
|
15582
|
+
var _hoisted_3$10 = { class: "mint-sequence-progress__label" };
|
|
15583
|
+
var _hoisted_4$10 = { class: "mint-sequence-progress__percent" };
|
|
15584
|
+
var _hoisted_5$9 = {
|
|
15586
15585
|
key: 0,
|
|
15587
15586
|
class: "mint-sequence-progress__footer"
|
|
15588
15587
|
};
|
|
15589
|
-
var _hoisted_6$
|
|
15588
|
+
var _hoisted_6$9 = {
|
|
15590
15589
|
key: 0,
|
|
15591
15590
|
class: "mint-sequence-progress__remaining"
|
|
15592
15591
|
};
|
|
@@ -15625,27 +15624,27 @@ var SequenceProgressBar_default = /* @__PURE__ */ defineComponent({
|
|
|
15625
15624
|
return props.showRemaining && remainingLabel.value || props.showEta && etaLabel.value;
|
|
15626
15625
|
});
|
|
15627
15626
|
return (_ctx, _cache) => {
|
|
15628
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15629
|
-
createElementVNode("div", _hoisted_2$
|
|
15627
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
15628
|
+
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
15629
|
createVNode(ProgressBar_default, {
|
|
15631
15630
|
value: percent.value,
|
|
15632
15631
|
color: "info",
|
|
15633
15632
|
size: "sm",
|
|
15634
15633
|
"aria-label": "Sequence progress"
|
|
15635
15634
|
}, null, 8, ["value"]),
|
|
15636
|
-
hasFooter.value ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
15635
|
+
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
15636
|
]);
|
|
15638
15637
|
};
|
|
15639
15638
|
}
|
|
15640
15639
|
});
|
|
15641
15640
|
//#endregion
|
|
15642
15641
|
//#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$
|
|
15642
|
+
var _hoisted_1$11 = { class: "mint-instrument-alert-log" };
|
|
15643
|
+
var _hoisted_2$10 = { class: "mint-instrument-alert-log__header" };
|
|
15644
|
+
var _hoisted_3$9 = { class: "mint-instrument-alert-log__title" };
|
|
15645
|
+
var _hoisted_4$9 = { class: "mint-instrument-alert-log__filters" };
|
|
15646
|
+
var _hoisted_5$8 = { class: "mint-instrument-alert-log__filter-row" };
|
|
15647
|
+
var _hoisted_6$8 = ["onClick"];
|
|
15649
15648
|
var _hoisted_7$6 = { class: "mint-instrument-alert-log__filter-count" };
|
|
15650
15649
|
var _hoisted_8$6 = {
|
|
15651
15650
|
key: 0,
|
|
@@ -15778,9 +15777,9 @@ var InstrumentAlertLog_default = /* @__PURE__ */ defineComponent({
|
|
|
15778
15777
|
return alert.body?.detail ?? alert.message ?? alert.rule ?? "";
|
|
15779
15778
|
}
|
|
15780
15779
|
return (_ctx, _cache) => {
|
|
15781
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15782
|
-
createElementVNode("div", _hoisted_2$
|
|
15783
|
-
createElementVNode("div", _hoisted_4$
|
|
15780
|
+
return openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
15781
|
+
createElementVNode("div", _hoisted_2$10, [createElementVNode("span", _hoisted_3$9, toDisplayString(__props.title), 1)]),
|
|
15782
|
+
createElementVNode("div", _hoisted_4$9, [createElementVNode("div", _hoisted_5$8, [(openBlock(), createElementBlock(Fragment, null, renderList(levels, (level) => {
|
|
15784
15783
|
return createElementVNode("button", {
|
|
15785
15784
|
key: level,
|
|
15786
15785
|
type: "button",
|
|
@@ -15794,7 +15793,7 @@ var InstrumentAlertLog_default = /* @__PURE__ */ defineComponent({
|
|
|
15794
15793
|
}, null, 4),
|
|
15795
15794
|
createTextVNode(" " + toDisplayString(levelConfig[level].label) + " ", 1),
|
|
15796
15795
|
createElementVNode("span", _hoisted_7$6, toDisplayString(alertCounts.value[level]), 1)
|
|
15797
|
-
], 14, _hoisted_6$
|
|
15796
|
+
], 14, _hoisted_6$8);
|
|
15798
15797
|
}), 64))]), instruments.value.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_8$6, [(openBlock(true), createElementBlock(Fragment, null, renderList(instruments.value, (instrument) => {
|
|
15799
15798
|
return openBlock(), createElementBlock("button", {
|
|
15800
15799
|
key: instrument.name,
|
|
@@ -15835,7 +15834,7 @@ var InstrumentAlertLog_default = /* @__PURE__ */ defineComponent({
|
|
|
15835
15834
|
});
|
|
15836
15835
|
//#endregion
|
|
15837
15836
|
//#region src/components/InstrumentStateBadge.vue?vue&type=script&setup=true&lang.ts
|
|
15838
|
-
var _hoisted_1$
|
|
15837
|
+
var _hoisted_1$10 = {
|
|
15839
15838
|
key: 0,
|
|
15840
15839
|
class: "mint-instrument-state__dot"
|
|
15841
15840
|
};
|
|
@@ -15893,21 +15892,21 @@ var InstrumentStateBadge_default = /* @__PURE__ */ defineComponent({
|
|
|
15893
15892
|
`mint-instrument-state--${config.value.tone}`,
|
|
15894
15893
|
{ "mint-instrument-state--pulse": shouldPulse.value },
|
|
15895
15894
|
{ "mint-instrument-state--offline": normalizedState.value === "disconnected" }
|
|
15896
|
-
]]) }, [shouldPulse.value ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
15895
|
+
]]) }, [shouldPulse.value ? (openBlock(), createElementBlock("span", _hoisted_1$10)) : createCommentVNode("", true), createTextVNode(" " + toDisplayString(__props.label ?? config.value.label), 1)], 2);
|
|
15897
15896
|
};
|
|
15898
15897
|
}
|
|
15899
15898
|
});
|
|
15900
15899
|
//#endregion
|
|
15901
15900
|
//#region src/components/InstrumentStatusCard.vue?vue&type=script&setup=true&lang.ts
|
|
15902
|
-
var _hoisted_1$
|
|
15903
|
-
var _hoisted_2$
|
|
15904
|
-
var _hoisted_3$
|
|
15901
|
+
var _hoisted_1$9 = { class: "mint-instrument-card__header" };
|
|
15902
|
+
var _hoisted_2$9 = { class: "mint-instrument-card__name" };
|
|
15903
|
+
var _hoisted_3$8 = {
|
|
15905
15904
|
key: 0,
|
|
15906
15905
|
class: "mint-instrument-card__sample"
|
|
15907
15906
|
};
|
|
15908
|
-
var _hoisted_4$
|
|
15909
|
-
var _hoisted_5$
|
|
15910
|
-
var _hoisted_6$
|
|
15907
|
+
var _hoisted_4$8 = { class: "mint-instrument-card__sample-row" };
|
|
15908
|
+
var _hoisted_5$7 = { class: "mint-instrument-card__sample-name" };
|
|
15909
|
+
var _hoisted_6$7 = {
|
|
15911
15910
|
key: 0,
|
|
15912
15911
|
class: "mint-instrument-card__sample-vial"
|
|
15913
15912
|
};
|
|
@@ -16013,15 +16012,15 @@ var InstrumentStatusCard_default = /* @__PURE__ */ defineComponent({
|
|
|
16013
16012
|
return remaining !== null && remaining > 0;
|
|
16014
16013
|
}
|
|
16015
16014
|
return (_ctx, _cache) => {
|
|
16016
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-instrument-card", stateClass.value]) }, [createElementVNode("div", _hoisted_1$
|
|
16015
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-instrument-card", stateClass.value]) }, [createElementVNode("div", _hoisted_1$9, [
|
|
16017
16016
|
createElementVNode("span", { class: normalizeClass(["mint-instrument-card__dot", `mint-instrument-card__dot--${stateTone(__props.status.state)}`]) }, null, 2),
|
|
16018
|
-
createElementVNode("strong", _hoisted_2$
|
|
16017
|
+
createElementVNode("strong", _hoisted_2$9, toDisplayString(displayName.value), 1),
|
|
16019
16018
|
createVNode(InstrumentStateBadge_default, { state: __props.status.state }, null, 8, ["state"])
|
|
16020
16019
|
]), isRunning.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
16021
|
-
__props.status.current_sample ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
16020
|
+
__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
16021
|
_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$
|
|
16022
|
+
createElementVNode("span", _hoisted_5$7, toDisplayString(sampleLabel.value), 1),
|
|
16023
|
+
__props.status.current_sample.vial_position ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(__props.status.current_sample.vial_position), 1)) : createCommentVNode("", true)
|
|
16025
16024
|
])])) : createCommentVNode("", true),
|
|
16026
16025
|
__props.status.active_method ? (openBlock(), createElementBlock("span", {
|
|
16027
16026
|
key: 1,
|
|
@@ -16153,18 +16152,18 @@ function basenameFromWindowsPath(path) {
|
|
|
16153
16152
|
}
|
|
16154
16153
|
//#endregion
|
|
16155
16154
|
//#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$
|
|
16155
|
+
var _hoisted_1$8 = { class: "mint-lcms-sequence-table" };
|
|
16156
|
+
var _hoisted_2$8 = { class: "mint-lcms-sequence-table__scroller" };
|
|
16157
|
+
var _hoisted_3$7 = { class: "mint-lcms-sequence-table__table" };
|
|
16158
|
+
var _hoisted_4$7 = {
|
|
16160
16159
|
key: 0,
|
|
16161
16160
|
class: "mint-lcms-sequence-table__drag-header"
|
|
16162
16161
|
};
|
|
16163
|
-
var _hoisted_5$
|
|
16162
|
+
var _hoisted_5$6 = {
|
|
16164
16163
|
key: 1,
|
|
16165
16164
|
class: "mint-lcms-sequence-table__actions-header"
|
|
16166
16165
|
};
|
|
16167
|
-
var _hoisted_6$
|
|
16166
|
+
var _hoisted_6$6 = [
|
|
16168
16167
|
"draggable",
|
|
16169
16168
|
"onDragstart",
|
|
16170
16169
|
"onDragover",
|
|
@@ -16260,16 +16259,16 @@ var LcmsSequenceTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16260
16259
|
clearDragState();
|
|
16261
16260
|
}
|
|
16262
16261
|
return (_ctx, _cache) => {
|
|
16263
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16264
|
-
createElementVNode("div", _hoisted_2$
|
|
16265
|
-
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_4$
|
|
16262
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
16263
|
+
createElementVNode("div", _hoisted_2$8, [createElementVNode("table", _hoisted_3$7, [createElementVNode("thead", null, [createElementVNode("tr", null, [
|
|
16264
|
+
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_4$7)) : createCommentVNode("", true),
|
|
16266
16265
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
|
|
16267
16266
|
return openBlock(), createElementBlock("th", {
|
|
16268
16267
|
key: column.key,
|
|
16269
16268
|
class: normalizeClass(["mint-lcms-sequence-table__th", { "mint-lcms-sequence-table__th--right": column.align === "right" }])
|
|
16270
16269
|
}, toDisplayString(column.label), 3);
|
|
16271
16270
|
}), 128)),
|
|
16272
|
-
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_5$
|
|
16271
|
+
__props.editable ? (openBlock(), createElementBlock("th", _hoisted_5$6)) : createCommentVNode("", true)
|
|
16273
16272
|
])]), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(displayItems.value, (item, index) => {
|
|
16274
16273
|
return openBlock(), createElementBlock("tr", {
|
|
16275
16274
|
key: `${item.file_name}-${item.position}-${index}`,
|
|
@@ -16315,7 +16314,7 @@ var LcmsSequenceTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16315
16314
|
title: "Delete",
|
|
16316
16315
|
onClick: ($event) => emit("remove", index)
|
|
16317
16316
|
}, " x ", 8, _hoisted_11$4)])) : createCommentVNode("", true)
|
|
16318
|
-
], 42, _hoisted_6$
|
|
16317
|
+
], 42, _hoisted_6$6);
|
|
16319
16318
|
}), 128))])])]),
|
|
16320
16319
|
__props.items.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12$4, toDisplayString(__props.emptyMessage), 1)) : createCommentVNode("", true),
|
|
16321
16320
|
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 +16324,15 @@ var LcmsSequenceTable_default = /* @__PURE__ */ defineComponent({
|
|
|
16325
16324
|
});
|
|
16326
16325
|
//#endregion
|
|
16327
16326
|
//#region src/components/AuditTrail.vue?vue&type=script&setup=true&lang.ts
|
|
16328
|
-
var _hoisted_1$
|
|
16327
|
+
var _hoisted_1$7 = {
|
|
16329
16328
|
key: 0,
|
|
16330
16329
|
class: "mint-audit-trail__filters"
|
|
16331
16330
|
};
|
|
16332
|
-
var _hoisted_2$
|
|
16333
|
-
var _hoisted_3$
|
|
16334
|
-
var _hoisted_4$
|
|
16335
|
-
var _hoisted_5$
|
|
16336
|
-
var _hoisted_6$
|
|
16331
|
+
var _hoisted_2$7 = ["value"];
|
|
16332
|
+
var _hoisted_3$6 = ["value"];
|
|
16333
|
+
var _hoisted_4$6 = ["onClick"];
|
|
16334
|
+
var _hoisted_5$5 = { class: "mint-audit-trail__content" };
|
|
16335
|
+
var _hoisted_6$5 = { class: "mint-audit-trail__header" };
|
|
16337
16336
|
var _hoisted_7$3 = {
|
|
16338
16337
|
key: 0,
|
|
16339
16338
|
class: "mint-audit-trail__avatar"
|
|
@@ -16429,14 +16428,14 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16429
16428
|
}
|
|
16430
16429
|
return (_ctx, _cache) => {
|
|
16431
16430
|
return openBlock(), createElementBlock("div", { class: normalizeClass(["mint-audit-trail", `mint-audit-trail--${__props.size}`]) }, [
|
|
16432
|
-
__props.showFilters ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
16431
|
+
__props.showFilters ? (openBlock(), createElementBlock("div", _hoisted_1$7, [withDirectives(createElementVNode("select", {
|
|
16433
16432
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filterType.value = $event),
|
|
16434
16433
|
class: "mint-audit-trail__filter-select"
|
|
16435
16434
|
}, [_cache[2] || (_cache[2] = createElementVNode("option", { value: "" }, "All types", -1)), (openBlock(true), createElementBlock(Fragment, null, renderList(uniqueTypes.value, (t) => {
|
|
16436
16435
|
return openBlock(), createElementBlock("option", {
|
|
16437
16436
|
key: t,
|
|
16438
16437
|
value: t
|
|
16439
|
-
}, toDisplayString(t), 9, _hoisted_2$
|
|
16438
|
+
}, toDisplayString(t), 9, _hoisted_2$7);
|
|
16440
16439
|
}), 128))], 512), [[vModelSelect, filterType.value]]), withDirectives(createElementVNode("select", {
|
|
16441
16440
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => filterUser.value = $event),
|
|
16442
16441
|
class: "mint-audit-trail__filter-select"
|
|
@@ -16444,7 +16443,7 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16444
16443
|
return openBlock(), createElementBlock("option", {
|
|
16445
16444
|
key: u,
|
|
16446
16445
|
value: u
|
|
16447
|
-
}, toDisplayString(u), 9, _hoisted_3$
|
|
16446
|
+
}, toDisplayString(u), 9, _hoisted_3$6);
|
|
16448
16447
|
}), 128))], 512), [[vModelSelect, filterUser.value]])])) : createCommentVNode("", true),
|
|
16449
16448
|
sortedEntries.value.length ? (openBlock(), createElementBlock("div", {
|
|
16450
16449
|
key: 1,
|
|
@@ -16458,8 +16457,8 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16458
16457
|
key: entry.id,
|
|
16459
16458
|
class: normalizeClass(["mint-audit-trail__entry", `mint-audit-trail__entry--${entry.type}`]),
|
|
16460
16459
|
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$
|
|
16460
|
+
}, [renderSlot(_ctx.$slots, "entry", { entry }, () => [_cache[4] || (_cache[4] = createElementVNode("div", { class: "mint-audit-trail__dot" }, null, -1)), createElementVNode("div", _hoisted_5$5, [
|
|
16461
|
+
createElementVNode("div", _hoisted_6$5, [
|
|
16463
16462
|
entry.user ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(getInitials(entry.user)), 1)) : createCommentVNode("", true),
|
|
16464
16463
|
entry.user ? (openBlock(), createElementBlock("span", _hoisted_8$3, toDisplayString(entry.user), 1)) : createCommentVNode("", true),
|
|
16465
16464
|
createElementVNode("span", _hoisted_9$3, toDisplayString(formatTimestamp(entry.timestamp)), 1)
|
|
@@ -16472,7 +16471,7 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16472
16471
|
class: "mint-audit-trail__metadata-item"
|
|
16473
16472
|
}, [createElementVNode("span", _hoisted_13$3, toDisplayString(key) + ":", 1), createTextVNode(" " + toDisplayString(value), 1)]);
|
|
16474
16473
|
}), 128))])) : createCommentVNode("", true)
|
|
16475
|
-
])])], 10, _hoisted_4$
|
|
16474
|
+
])])], 10, _hoisted_4$6);
|
|
16476
16475
|
}), 128))], 4)) : createCommentVNode("", true),
|
|
16477
16476
|
!sortedEntries.value.length ? (openBlock(), createElementBlock("div", _hoisted_14$3, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(__props.emptyMessage), 1)])])) : createCommentVNode("", true)
|
|
16478
16477
|
], 2);
|
|
@@ -16481,15 +16480,15 @@ var AuditTrail_default = /* @__PURE__ */ defineComponent({
|
|
|
16481
16480
|
});
|
|
16482
16481
|
//#endregion
|
|
16483
16482
|
//#region src/components/BatchProgressList.vue?vue&type=script&setup=true&lang.ts
|
|
16484
|
-
var _hoisted_1$
|
|
16485
|
-
var _hoisted_2$
|
|
16483
|
+
var _hoisted_1$6 = { class: "mint-batch-progress" };
|
|
16484
|
+
var _hoisted_2$6 = {
|
|
16486
16485
|
key: 0,
|
|
16487
16486
|
class: "mint-batch-progress__header"
|
|
16488
16487
|
};
|
|
16489
|
-
var _hoisted_3$
|
|
16490
|
-
var _hoisted_4$
|
|
16491
|
-
var _hoisted_5$
|
|
16492
|
-
var _hoisted_6$
|
|
16488
|
+
var _hoisted_3$5 = { class: "mint-batch-progress__title" };
|
|
16489
|
+
var _hoisted_4$5 = { class: "mint-batch-progress__percent" };
|
|
16490
|
+
var _hoisted_5$4 = { class: "mint-batch-progress__overall" };
|
|
16491
|
+
var _hoisted_6$4 = { class: "mint-batch-progress__summary" };
|
|
16493
16492
|
var _hoisted_7$2 = {
|
|
16494
16493
|
key: 0,
|
|
16495
16494
|
class: "mint-batch-progress__summary-item mint-batch-progress__summary-item--completed"
|
|
@@ -16621,16 +16620,16 @@ var BatchProgressList_default = /* @__PURE__ */ defineComponent({
|
|
|
16621
16620
|
}
|
|
16622
16621
|
});
|
|
16623
16622
|
return (_ctx, _cache) => {
|
|
16624
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16625
|
-
__props.title ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16626
|
-
createElementVNode("div", _hoisted_5$
|
|
16623
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
16624
|
+
__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),
|
|
16625
|
+
createElementVNode("div", _hoisted_5$4, [createElementVNode("div", {
|
|
16627
16626
|
class: "mint-batch-progress__overall-bar",
|
|
16628
16627
|
style: normalizeStyle({ width: `${summary.value.percent}%` })
|
|
16629
16628
|
}, null, 4)]),
|
|
16630
16629
|
__props.showSummary ? renderSlot(_ctx.$slots, "summary", {
|
|
16631
16630
|
key: 1,
|
|
16632
16631
|
summary: summary.value
|
|
16633
|
-
}, () => [createElementVNode("div", _hoisted_6$
|
|
16632
|
+
}, () => [createElementVNode("div", _hoisted_6$4, [
|
|
16634
16633
|
summary.value.completed ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(summary.value.completed) + " completed ", 1)) : createCommentVNode("", true),
|
|
16635
16634
|
summary.value.processing ? (openBlock(), createElementBlock("span", _hoisted_8$2, toDisplayString(summary.value.processing) + " processing ", 1)) : createCommentVNode("", true),
|
|
16636
16635
|
summary.value.error ? (openBlock(), createElementBlock("span", _hoisted_9$2, toDisplayString(summary.value.error) + " failed ", 1)) : createCommentVNode("", true),
|
|
@@ -16702,12 +16701,12 @@ var BatchProgressList_default = /* @__PURE__ */ defineComponent({
|
|
|
16702
16701
|
});
|
|
16703
16702
|
//#endregion
|
|
16704
16703
|
//#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$
|
|
16704
|
+
var _hoisted_1$5 = { class: "mint-data-viewer" };
|
|
16705
|
+
var _hoisted_2$5 = { class: "mint-data-viewer__header" };
|
|
16706
|
+
var _hoisted_3$4 = { class: "mint-data-viewer__controls" };
|
|
16707
|
+
var _hoisted_4$4 = { class: "mint-data-viewer__actions" };
|
|
16708
|
+
var _hoisted_5$3 = { class: "mint-data-viewer__content" };
|
|
16709
|
+
var _hoisted_6$3 = {
|
|
16711
16710
|
key: 0,
|
|
16712
16711
|
class: "mint-data-viewer__loading"
|
|
16713
16712
|
};
|
|
@@ -16837,14 +16836,14 @@ var ExperimentDataViewer_default = /* @__PURE__ */ defineComponent({
|
|
|
16837
16836
|
emit("download-csv");
|
|
16838
16837
|
}
|
|
16839
16838
|
return (_ctx, _cache) => {
|
|
16840
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16839
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [createElementVNode("div", _hoisted_2$5, [createElementVNode("div", _hoisted_3$4, [createVNode(SegmentedControl_default, {
|
|
16841
16840
|
modelValue: viewMode.value,
|
|
16842
16841
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => viewMode.value = $event),
|
|
16843
16842
|
options: viewOptions.value,
|
|
16844
16843
|
variant: "card",
|
|
16845
16844
|
size: "sm",
|
|
16846
16845
|
"full-width": false
|
|
16847
|
-
}, null, 8, ["modelValue", "options"])]), createElementVNode("div", _hoisted_4$
|
|
16846
|
+
}, null, 8, ["modelValue", "options"])]), createElementVNode("div", _hoisted_4$4, [
|
|
16848
16847
|
__props.pluginRoutePrefix && __props.experimentId ? (openBlock(), createBlock(BaseButton_default, {
|
|
16849
16848
|
key: 0,
|
|
16850
16849
|
variant: "secondary",
|
|
@@ -16872,7 +16871,7 @@ var ExperimentDataViewer_default = /* @__PURE__ */ defineComponent({
|
|
|
16872
16871
|
default: withCtx(() => [..._cache[3] || (_cache[3] = [createTextVNode(" CSV ", -1)])]),
|
|
16873
16872
|
_: 1
|
|
16874
16873
|
})) : createCommentVNode("", true)
|
|
16875
|
-
])]), createElementVNode("div", _hoisted_5$
|
|
16874
|
+
])]), createElementVNode("div", _hoisted_5$3, [isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_6$3, [createElementVNode("div", _hoisted_7$1, [
|
|
16876
16875
|
createVNode(Skeleton_default, {
|
|
16877
16876
|
width: "40%",
|
|
16878
16877
|
height: "16px"
|
|
@@ -16956,10 +16955,10 @@ var ExperimentDataViewer_default = /* @__PURE__ */ defineComponent({
|
|
|
16956
16955
|
});
|
|
16957
16956
|
//#endregion
|
|
16958
16957
|
//#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$
|
|
16958
|
+
var _hoisted_1$4 = { class: "mint-time-range" };
|
|
16959
|
+
var _hoisted_2$4 = { class: "mint-time-range__start" };
|
|
16960
|
+
var _hoisted_3$3 = { class: "mint-time-range__separator" };
|
|
16961
|
+
var _hoisted_4$3 = { class: "mint-time-range__end" };
|
|
16963
16962
|
//#endregion
|
|
16964
16963
|
//#region src/components/TimeRangeInput.vue
|
|
16965
16964
|
var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
@@ -17029,8 +17028,8 @@ var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17029
17028
|
});
|
|
17030
17029
|
}
|
|
17031
17030
|
return (_ctx, _cache) => {
|
|
17032
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17033
|
-
createElementVNode("div", _hoisted_2$
|
|
17031
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
17032
|
+
createElementVNode("div", _hoisted_2$4, [createVNode(TimePicker_default, {
|
|
17034
17033
|
"model-value": startValue.value,
|
|
17035
17034
|
disabled: __props.disabled,
|
|
17036
17035
|
error: __props.error || isInvalid.value,
|
|
@@ -17051,11 +17050,11 @@ var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17051
17050
|
"step",
|
|
17052
17051
|
"format"
|
|
17053
17052
|
])]),
|
|
17054
|
-
createElementVNode("div", _hoisted_3$
|
|
17053
|
+
createElementVNode("div", _hoisted_3$3, [__props.showDuration && duration.value !== null ? (openBlock(), createElementBlock("span", {
|
|
17055
17054
|
key: 0,
|
|
17056
17055
|
class: normalizeClass(["mint-time-range__duration", isInvalid.value ? "mint-time-range__duration--error" : ""])
|
|
17057
17056
|
}, toDisplayString(durationLabel.value), 3)) : createCommentVNode("", true)]),
|
|
17058
|
-
createElementVNode("div", _hoisted_4$
|
|
17057
|
+
createElementVNode("div", _hoisted_4$3, [createVNode(TimePicker_default, {
|
|
17059
17058
|
"model-value": endValue.value,
|
|
17060
17059
|
disabled: __props.disabled,
|
|
17061
17060
|
error: __props.error || isInvalid.value,
|
|
@@ -17082,12 +17081,12 @@ var TimeRangeInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17082
17081
|
});
|
|
17083
17082
|
//#endregion
|
|
17084
17083
|
//#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$
|
|
17084
|
+
var _hoisted_1$3 = { class: "mint-resource-card__name" };
|
|
17085
|
+
var _hoisted_2$3 = { class: "mint-resource-card__content" };
|
|
17086
|
+
var _hoisted_3$2 = { class: "mint-resource-card__header" };
|
|
17087
|
+
var _hoisted_4$2 = { class: "mint-resource-card__image" };
|
|
17088
|
+
var _hoisted_5$2 = ["src", "alt"];
|
|
17089
|
+
var _hoisted_6$2 = {
|
|
17091
17090
|
key: 1,
|
|
17092
17091
|
class: "mint-resource-card__image-fallback"
|
|
17093
17092
|
};
|
|
@@ -17175,7 +17174,7 @@ var ResourceCard_default = /* @__PURE__ */ defineComponent({
|
|
|
17175
17174
|
onClick: handleClick
|
|
17176
17175
|
}, [
|
|
17177
17176
|
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$
|
|
17177
|
+
createElementVNode("span", _hoisted_1$3, toDisplayString(__props.name), 1),
|
|
17179
17178
|
createElementVNode("span", { class: normalizeClass(["mint-resource-card__status-label", `mint-resource-card__status-label--${__props.status}`]) }, toDisplayString(displayStatusLabel.value), 3),
|
|
17180
17179
|
renderSlot(_ctx.$slots, "action", {}, () => [__props.showBookAction ? (openBlock(), createElementBlock("button", {
|
|
17181
17180
|
key: 0,
|
|
@@ -17187,12 +17186,12 @@ var ResourceCard_default = /* @__PURE__ */ defineComponent({
|
|
|
17187
17186
|
key: 1,
|
|
17188
17187
|
class: normalizeClass(cardClasses.value),
|
|
17189
17188
|
onClick: handleClick
|
|
17190
|
-
}, [createElementVNode("div", _hoisted_2$
|
|
17191
|
-
createElementVNode("div", _hoisted_3$
|
|
17189
|
+
}, [createElementVNode("div", _hoisted_2$3, [
|
|
17190
|
+
createElementVNode("div", _hoisted_3$2, [createElementVNode("div", _hoisted_4$2, [renderSlot(_ctx.$slots, "image", {}, () => [__props.image ? (openBlock(), createElementBlock("img", {
|
|
17192
17191
|
key: 0,
|
|
17193
17192
|
src: __props.image,
|
|
17194
17193
|
alt: __props.name
|
|
17195
|
-
}, null, 8, _hoisted_5$
|
|
17194
|
+
}, null, 8, _hoisted_5$2)) : (openBlock(), createElementBlock("div", _hoisted_6$2, [..._cache[0] || (_cache[0] = [createElementVNode("svg", {
|
|
17196
17195
|
fill: "none",
|
|
17197
17196
|
stroke: "currentColor",
|
|
17198
17197
|
viewBox: "0 0 24 24"
|
|
@@ -17243,6 +17242,84 @@ var ResourceCard_default = /* @__PURE__ */ defineComponent({
|
|
|
17243
17242
|
}
|
|
17244
17243
|
});
|
|
17245
17244
|
//#endregion
|
|
17245
|
+
//#region src/components/SectionCard.vue?vue&type=script&setup=true&lang.ts
|
|
17246
|
+
var _hoisted_1$2 = {
|
|
17247
|
+
class: "mint-section-card__icon",
|
|
17248
|
+
viewBox: "0 0 24 24",
|
|
17249
|
+
fill: "none",
|
|
17250
|
+
stroke: "currentColor",
|
|
17251
|
+
"stroke-width": "2",
|
|
17252
|
+
"stroke-linecap": "round",
|
|
17253
|
+
"stroke-linejoin": "round",
|
|
17254
|
+
"aria-hidden": "true"
|
|
17255
|
+
};
|
|
17256
|
+
var _hoisted_2$2 = ["d"];
|
|
17257
|
+
var _hoisted_3$1 = {
|
|
17258
|
+
key: 1,
|
|
17259
|
+
class: "mint-section-card__count"
|
|
17260
|
+
};
|
|
17261
|
+
var _hoisted_4$1 = {
|
|
17262
|
+
key: 0,
|
|
17263
|
+
class: "mint-section-card__toolbar"
|
|
17264
|
+
};
|
|
17265
|
+
var _hoisted_5$1 = { class: "mint-section-card__body" };
|
|
17266
|
+
var _hoisted_6$1 = {
|
|
17267
|
+
key: 1,
|
|
17268
|
+
class: "mint-section-card__footer"
|
|
17269
|
+
};
|
|
17270
|
+
//#endregion
|
|
17271
|
+
//#region src/components/SectionCard.vue
|
|
17272
|
+
var SectionCard_default = /* @__PURE__ */ defineComponent({
|
|
17273
|
+
__name: "SectionCard",
|
|
17274
|
+
props: {
|
|
17275
|
+
title: {},
|
|
17276
|
+
count: { default: void 0 },
|
|
17277
|
+
icon: { default: void 0 },
|
|
17278
|
+
accent: { default: "primary" },
|
|
17279
|
+
uppercase: {
|
|
17280
|
+
type: Boolean,
|
|
17281
|
+
default: false
|
|
17282
|
+
},
|
|
17283
|
+
divider: { default: "strong" },
|
|
17284
|
+
fill: {
|
|
17285
|
+
type: Boolean,
|
|
17286
|
+
default: false
|
|
17287
|
+
}
|
|
17288
|
+
},
|
|
17289
|
+
setup(__props) {
|
|
17290
|
+
/** One-card page region from the MINT 1.1 card system: 12px radius, the
|
|
17291
|
+
* single --card-shadow token, a header strip (icon chip, title, mono count,
|
|
17292
|
+
* actions), and hairline-separated content — no card-in-card. */
|
|
17293
|
+
const props = __props;
|
|
17294
|
+
const iconPaths = computed(() => props.icon === void 0 ? [] : Array.isArray(props.icon) ? props.icon : [props.icon]);
|
|
17295
|
+
const headerClasses = computed(() => ["mint-section-card__header", props.divider === "light" ? "mint-section-card__header--divider-light" : ""]);
|
|
17296
|
+
const titleClasses = computed(() => ["mint-section-card__title", props.uppercase ? "mint-section-card__title--uppercase" : ""]);
|
|
17297
|
+
const cardClasses = computed(() => ["mint-section-card", props.fill ? "mint-section-card--fill" : ""]);
|
|
17298
|
+
return (_ctx, _cache) => {
|
|
17299
|
+
return openBlock(), createElementBlock("section", { class: normalizeClass(cardClasses.value) }, [
|
|
17300
|
+
createElementVNode("div", { class: normalizeClass(headerClasses.value) }, [
|
|
17301
|
+
iconPaths.value.length ? (openBlock(), createElementBlock("span", {
|
|
17302
|
+
key: 0,
|
|
17303
|
+
class: normalizeClass(["mint-section-card__icon-chip", `mint-section-card__icon-chip--${__props.accent}`])
|
|
17304
|
+
}, [(openBlock(), createElementBlock("svg", _hoisted_1$2, [(openBlock(true), createElementBlock(Fragment, null, renderList(iconPaths.value, (d, i) => {
|
|
17305
|
+
return openBlock(), createElementBlock("path", {
|
|
17306
|
+
key: i,
|
|
17307
|
+
d
|
|
17308
|
+
}, null, 8, _hoisted_2$2);
|
|
17309
|
+
}), 128))]))], 2)) : createCommentVNode("", true),
|
|
17310
|
+
createElementVNode("h2", { class: normalizeClass(titleClasses.value) }, toDisplayString(__props.title), 3),
|
|
17311
|
+
__props.count !== void 0 ? (openBlock(), createElementBlock("span", _hoisted_3$1, toDisplayString(__props.count), 1)) : createCommentVNode("", true),
|
|
17312
|
+
_cache[0] || (_cache[0] = createElementVNode("div", { class: "mint-section-card__spacer" }, null, -1)),
|
|
17313
|
+
renderSlot(_ctx.$slots, "actions")
|
|
17314
|
+
], 2),
|
|
17315
|
+
_ctx.$slots.toolbar ? (openBlock(), createElementBlock("div", _hoisted_4$1, [renderSlot(_ctx.$slots, "toolbar")])) : createCommentVNode("", true),
|
|
17316
|
+
createElementVNode("div", _hoisted_5$1, [renderSlot(_ctx.$slots, "default")]),
|
|
17317
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_6$1, [renderSlot(_ctx.$slots, "footer")])) : createCommentVNode("", true)
|
|
17318
|
+
], 2);
|
|
17319
|
+
};
|
|
17320
|
+
}
|
|
17321
|
+
});
|
|
17322
|
+
//#endregion
|
|
17246
17323
|
//#region src/components/ArtifactSaveDialog.vue?vue&type=script&setup=true&lang.ts
|
|
17247
17324
|
var _hoisted_1$1 = { class: "mint-artifact-save-dialog" };
|
|
17248
17325
|
var _hoisted_2$1 = {
|
|
@@ -17778,6 +17855,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
17778
17855
|
SampleSelector: () => SampleSelector_default,
|
|
17779
17856
|
ScheduleCalendar: () => ScheduleCalendar_default,
|
|
17780
17857
|
ScientificNumber: () => ScientificNumber_default,
|
|
17858
|
+
SectionCard: () => SectionCard_default,
|
|
17781
17859
|
SegmentedControl: () => SegmentedControl_default,
|
|
17782
17860
|
SequenceInput: () => SequenceInput_default,
|
|
17783
17861
|
SequenceProgressBar: () => SequenceProgressBar_default,
|
|
@@ -17797,6 +17875,6 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
17797
17875
|
WellPlate: () => WellPlate_default
|
|
17798
17876
|
});
|
|
17799
17877
|
//#endregion
|
|
17800
|
-
export {
|
|
17878
|
+
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
17879
|
|
|
17802
|
-
//# sourceMappingURL=components-
|
|
17880
|
+
//# sourceMappingURL=components-Ci_BTx00.js.map
|