@morscherlab/mint-sdk 1.5.0-beta.15 → 1.5.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AlertBox-Cai0w7gF.js → AlertBox-BPiQwSlr.js} +2 -2
- package/dist/{AlertBox-Cai0w7gF.js.map → AlertBox-BPiQwSlr.js.map} +1 -1
- package/dist/{AppSidebar-B1g280Wq.js → AppSidebar-avUHlogX.js} +7 -7
- package/dist/{AppSidebar-B1g280Wq.js.map → AppSidebar-avUHlogX.js.map} +1 -1
- package/dist/{ExperimentPopover-DYy_s0kI.js → ExperimentPopover-DLRfd0ab.js} +2 -2
- package/dist/{ExperimentPopover-DYy_s0kI.js.map → ExperimentPopover-DLRfd0ab.js.map} +1 -1
- package/dist/{ExperimentSelectorModal-Bfh5bdkv.js → ExperimentSelectorModal-Brsf71MN.js} +4 -4
- package/dist/{ExperimentSelectorModal-Bfh5bdkv.js.map → ExperimentSelectorModal-Brsf71MN.js.map} +1 -1
- package/dist/{useRealtime-BLQEjbuq.js → JobsStatusTray-DWd8Hpmr.js} +4 -125
- package/dist/JobsStatusTray-DWd8Hpmr.js.map +1 -0
- package/dist/{SegmentedControl-B8KgyOjd.js → SegmentedControl-CEZbeh_h.js} +2 -2
- package/dist/{SegmentedControl-B8KgyOjd.js.map → SegmentedControl-CEZbeh_h.js.map} +1 -1
- package/dist/{SettingsModal-CeaQHyot.js → SettingsModal-kBAf-THw.js} +8 -8
- package/dist/{SettingsModal-CeaQHyot.js.map → SettingsModal-kBAf-THw.js.map} +1 -1
- package/dist/components/internal/AutoGroupModalInternal.adapter.d.ts +0 -10
- package/dist/composables/useRealtime.d.ts +19 -3
- package/dist/{controlSchemaModel-BtFNZj8t.js → controlSchemaModel-CORuwx9Z.js} +2 -2
- package/dist/{controlSchemaModel-BtFNZj8t.js.map → controlSchemaModel-CORuwx9Z.js.map} +1 -1
- package/dist/{data-CJztFns8.js → data-de4y8LO7.js} +12 -11
- package/dist/{data-CJztFns8.js.map → data-de4y8LO7.js.map} +1 -1
- package/dist/data.js +7 -7
- package/dist/{experiment-DyO54FQB.js → experiment-CNMuOEGc.js} +6 -3
- package/dist/experiment-CNMuOEGc.js.map +1 -0
- package/dist/host.d.ts +1 -0
- package/dist/host.js +2 -2
- package/dist/host.js.map +1 -1
- package/dist/index.js +14 -14
- package/dist/{install-rcT3eXD7.js → install-C6A34A9P.js} +12 -12
- package/dist/{install-rcT3eXD7.js.map → install-C6A34A9P.js.map} +1 -1
- package/dist/install.js +1 -1
- package/dist/{lab-BYhb_cJI.js → lab-CGnCGPf6.js} +9 -9
- package/dist/lab-CGnCGPf6.js.map +1 -0
- package/dist/lab.js +4 -4
- package/dist/{records-GtiVMlTQ.js → records-TEeD11BZ.js} +2 -2
- package/dist/{records-GtiVMlTQ.js.map → records-TEeD11BZ.js.map} +1 -1
- package/dist/{runtime-7_LcVjuP.js → runtime-CmgnbmnZ.js} +12 -14
- package/dist/{runtime-7_LcVjuP.js.map → runtime-CmgnbmnZ.js.map} +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +7 -7
- package/dist/{shell-DnCwE5hq.js → shell-CHecDOIP.js} +4 -4
- package/dist/{shell-DnCwE5hq.js.map → shell-CHecDOIP.js.map} +1 -1
- package/dist/shell.js +4 -4
- package/dist/stores/index.js +2 -2
- package/dist/{useExperimentSamples-CpNXvpUn.js → useExperimentSamples-s2QY9Wn_.js} +4 -4
- package/dist/{useExperimentSamples-CpNXvpUn.js.map → useExperimentSamples-s2QY9Wn_.js.map} +1 -1
- package/dist/{useListReorder-Bp4EAI2w.js → useListReorder-CNAbJi9S.js} +4 -4
- package/dist/{useListReorder-Bp4EAI2w.js.map → useListReorder-CNAbJi9S.js.map} +1 -1
- package/dist/{useRackEditor-i2bdPUFf.js → useRackEditor-ldrpkIIQ.js} +8 -8
- package/dist/{useRackEditor-i2bdPUFf.js.map → useRackEditor-ldrpkIIQ.js.map} +1 -1
- package/dist/useRealtime-t7Qg2a5h.js +216 -0
- package/dist/useRealtime-t7Qg2a5h.js.map +1 -0
- package/dist/{useRequest-CXyPw3eh.js → useRequest-CcgNnT2V.js} +2 -2
- package/dist/{useRequest-CXyPw3eh.js.map → useRequest-CcgNnT2V.js.map} +1 -1
- package/package.json +1 -1
- package/src/__tests__/components/AutoGroupModal.adapter.test.ts +0 -31
- package/src/__tests__/composables/usePresence.test.ts +21 -0
- package/src/__tests__/composables/useRealtime.test.ts +194 -1
- package/src/components/internal/AutoGroupModalInternal.adapter.ts +0 -25
- package/src/composables/useApi.ts +5 -1
- package/src/composables/usePresence.ts +4 -4
- package/src/composables/useRealtime.ts +59 -6
- package/src/composables/useVersionedSave.ts +2 -1
- package/src/host.ts +1 -0
- package/src/runtime.ts +1 -0
- package/dist/auth-SliLnFre.js +0 -65
- package/dist/auth-SliLnFre.js.map +0 -1
- package/dist/experiment-DyO54FQB.js.map +0 -1
- package/dist/lab-BYhb_cJI.js.map +0 -1
- package/dist/useRealtime-BLQEjbuq.js.map +0 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { i as useEventListener, o as __exportAll, t as useDropdownState } from "./useDropdownState-CcBzUYZ6.js";
|
|
2
|
-
import { i as AuthenticationRequiredError, o as useApi } from "./experiment-
|
|
3
|
-
import { R as EmptyState_default, d as isActiveJobStatus, f as isTerminalJobStatus, g as resolveJobCapabilities, h as normalizeJobState, m as normalizeJobPercent, o as resolveCurrentPluginId, p as jobStatusLabel, t as isRecord, v as useAppExperiment } from "./records-
|
|
4
|
-
import { A as useJobsEndpoint, D as _plugin_vue_export_helper_default, E as GeneratedPathInput_default, M as usePlatform, O as GENERATED_JOBS_API_KEY, R as definePluginWorkspaceView, _ as getTypeDefault, g as getFieldRegistryEntry, h as replaceRecord, k as createGeneratedAnalysisTransport } from "./useListReorder-
|
|
5
|
-
import { r as LoadingSpinner_default, t as AlertBox_default } from "./AlertBox-
|
|
6
|
-
import { D as SectionCard_default, O as DataFrame_default, T as WellPlate_default, a as GeneratedPlotlyResult_default, b as PlateEditor_default, c as downloadEndpoint, d as useEventStream, f as useSettingsEndpoint, i as GeneratedResultRenderer_default, l as pluginFormDataFromPayload, m as resolvePluginBaseUrl, n as ScheduleCalendar_default, o as createClient, p as buildEndpointUrl, t as useRackEditor, u as uploadEndpoint, v as DoseCalculator_default } from "./useRackEditor-
|
|
7
|
-
import { A as controlValuesToComponentBindings, C as warnDeprecatedOnce, D as getControlDefaults, E as defineControls, I as getDefaultControlView, M as controlValuesToComponentProps, N as controlsTo, O as useControlSchema, S as AppLayout_default, T as defineControlComponentBindings, d as useForm, f as AppTopBar_default, j as controlValuesToComponentBindingsById, k as controlBindings, l as useFormBuilder, p as providePluginIdentity, t as AppSidebar_default, u as evaluateCondition, w as usePluginWorkspace } from "./AppSidebar-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
2
|
+
import { i as AuthenticationRequiredError, o as useApi } from "./experiment-CNMuOEGc.js";
|
|
3
|
+
import { R as EmptyState_default, d as isActiveJobStatus, f as isTerminalJobStatus, g as resolveJobCapabilities, h as normalizeJobState, m as normalizeJobPercent, o as resolveCurrentPluginId, p as jobStatusLabel, t as isRecord, v as useAppExperiment } from "./records-TEeD11BZ.js";
|
|
4
|
+
import { A as useJobsEndpoint, D as _plugin_vue_export_helper_default, E as GeneratedPathInput_default, M as usePlatform, O as GENERATED_JOBS_API_KEY, R as definePluginWorkspaceView, _ as getTypeDefault, g as getFieldRegistryEntry, h as replaceRecord, k as createGeneratedAnalysisTransport } from "./useListReorder-CNAbJi9S.js";
|
|
5
|
+
import { r as LoadingSpinner_default, t as AlertBox_default } from "./AlertBox-BPiQwSlr.js";
|
|
6
|
+
import { D as SectionCard_default, O as DataFrame_default, T as WellPlate_default, a as GeneratedPlotlyResult_default, b as PlateEditor_default, c as downloadEndpoint, d as useEventStream, f as useSettingsEndpoint, i as GeneratedResultRenderer_default, l as pluginFormDataFromPayload, m as resolvePluginBaseUrl, n as ScheduleCalendar_default, o as createClient, p as buildEndpointUrl, t as useRackEditor, u as uploadEndpoint, v as DoseCalculator_default } from "./useRackEditor-ldrpkIIQ.js";
|
|
7
|
+
import { A as controlValuesToComponentBindings, C as warnDeprecatedOnce, D as getControlDefaults, E as defineControls, I as getDefaultControlView, M as controlValuesToComponentProps, N as controlsTo, O as useControlSchema, S as AppLayout_default, T as defineControlComponentBindings, d as useForm, f as AppTopBar_default, j as controlValuesToComponentBindingsById, k as controlBindings, l as useFormBuilder, p as providePluginIdentity, t as AppSidebar_default, u as evaluateCondition, w as usePluginWorkspace } from "./AppSidebar-avUHlogX.js";
|
|
8
|
+
import { i as useRealtime, r as subscribeRealtime, t as currentPresence } from "./useRealtime-t7Qg2a5h.js";
|
|
9
|
+
import { n as isControlModelBinding } from "./controlSchemaModel-CORuwx9Z.js";
|
|
10
|
+
import { t as JobsStatusTray_default } from "./JobsStatusTray-DWd8Hpmr.js";
|
|
10
11
|
import { Fragment, Teleport, TransitionGroup, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentScope, guardReactiveProps, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, readonly, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toValue, unref, useId, useSlots, useTemplateRef, watch, withCtx, withModifiers } from "vue";
|
|
11
12
|
import { ChartColumn, Eye, FlaskConical, Pencil, RefreshCw } from "lucide-vue-next";
|
|
12
13
|
//#region src/composables/useToast.ts
|
|
@@ -1677,8 +1678,7 @@ function usePresence(topic, activity) {
|
|
|
1677
1678
|
count.value = event?.count ?? 0;
|
|
1678
1679
|
}
|
|
1679
1680
|
const realtime = subscribeRealtime(() => [toValue(topic)], (event) => {
|
|
1680
|
-
if (event.type === "
|
|
1681
|
-
else if (event.type === "presence.changed" && event.topic === toValue(topic)) show(event);
|
|
1681
|
+
if (event.type === "presence.changed" && event.topic === toValue(topic)) show(event);
|
|
1682
1682
|
}, true);
|
|
1683
1683
|
function load() {
|
|
1684
1684
|
const current = currentPresence(toValue(topic));
|
|
@@ -1687,9 +1687,7 @@ function usePresence(topic, activity) {
|
|
|
1687
1687
|
}
|
|
1688
1688
|
load();
|
|
1689
1689
|
const stopTopic = watch(() => toValue(topic), load);
|
|
1690
|
-
const stopConnected = watch(realtime.connected, (open) => {
|
|
1691
|
-
if (!open) show(void 0);
|
|
1692
|
-
});
|
|
1690
|
+
const stopConnected = watch(realtime.connected, (open) => open ? report() : show(void 0), { flush: "sync" });
|
|
1693
1691
|
const stopActivity = watch(() => toValue(activity), () => {
|
|
1694
1692
|
if (realtime.connected.value) report();
|
|
1695
1693
|
});
|
|
@@ -1921,4 +1919,4 @@ var runtime_exports = /* @__PURE__ */ __exportAll({
|
|
|
1921
1919
|
//#endregion
|
|
1922
1920
|
export { useToast as _, ComponentBindingRenderer_default as a, generatedJobFormSchema as c, PluginWorkspaceView_default as d, AppContainer_default as f, AppToastContainer_default as g, useJobCenter as h, RuntimeUpdateNotice_default as i, normalizeGeneratedJobInput as l, combinePluginJobSources as m, PresenceAvatars_default as n, GeneratedPluginView_default as o, useControlWorkspace as p, usePresence as r, generatedJobDefaults as s, runtime_exports as t, Avatar_default as u };
|
|
1923
1921
|
|
|
1924
|
-
//# sourceMappingURL=runtime-
|
|
1922
|
+
//# sourceMappingURL=runtime-CmgnbmnZ.js.map
|