@milaboratories/uikit 1.2.29 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -98,11 +98,11 @@ declare const _default: import("vue").DefineComponent<{
98
98
  }> | undefined) => any) | undefined;
99
99
  }>, {
100
100
  error: string;
101
+ required: boolean;
101
102
  label: string;
102
103
  disabled: boolean;
103
104
  helper: string;
104
105
  clearable: boolean;
105
- required: boolean;
106
106
  placeholder: string;
107
107
  optionSize: "small" | "medium";
108
108
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -56,6 +56,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
56
56
  * If `true`, only the file name is displayed, not the full path to it.
57
57
  */
58
58
  showFilenameOnly?: boolean;
59
+ /**
60
+ * Remove rounded border and change styles
61
+ */
62
+ cellStyle?: boolean;
59
63
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
60
64
  "update:modelValue": (value: ImportFileHandle | undefined) => any;
61
65
  }, string, import("vue").PublicProps, Readonly<{
@@ -103,6 +107,10 @@ declare const __VLS_component: import("vue").DefineComponent<{
103
107
  * If `true`, only the file name is displayed, not the full path to it.
104
108
  */
105
109
  showFilenameOnly?: boolean;
110
+ /**
111
+ * Remove rounded border and change styles
112
+ */
113
+ cellStyle?: boolean;
106
114
  }> & Readonly<{
107
115
  "onUpdate:modelValue"?: ((value: ImportFileHandle | undefined) => any) | undefined;
108
116
  }>, {
@@ -113,6 +121,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
113
121
  placeholder: string;
114
122
  extensions: string[];
115
123
  fileDialogTitle: string;
124
+ cellStyle: boolean;
116
125
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
117
126
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
118
127
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import './pl-log-view.scss';
2
- import type { ValueOrErrors } from '@platforma-sdk/model';
2
+ import type { AnyLogHandle, Platforma, ValueOrErrors } from '@platforma-sdk/model';
3
3
  /**
4
4
  * Log Viewer Component
5
5
  */
@@ -8,6 +8,14 @@ declare const _default: import("vue").DefineComponent<{
8
8
  * String contents
9
9
  */
10
10
  value?: string;
11
+ /**
12
+ * AnyLogHandle
13
+ */
14
+ logHandle?: AnyLogHandle;
15
+ /**
16
+ * Custom progress prefix (to filter logHandle results)
17
+ */
18
+ progressPrefix?: string;
11
19
  /**
12
20
  * String contents
13
21
  */
@@ -16,11 +24,23 @@ declare const _default: import("vue").DefineComponent<{
16
24
  * Block output (Note: error and value take precedence over output property)
17
25
  */
18
26
  output?: ValueOrErrors<unknown>;
27
+ /**
28
+ * @TODO
29
+ */
30
+ mockPlatforma?: Platforma;
19
31
  }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
20
32
  /**
21
33
  * String contents
22
34
  */
23
35
  value?: string;
36
+ /**
37
+ * AnyLogHandle
38
+ */
39
+ logHandle?: AnyLogHandle;
40
+ /**
41
+ * Custom progress prefix (to filter logHandle results)
42
+ */
43
+ progressPrefix?: string;
24
44
  /**
25
45
  * String contents
26
46
  */
@@ -29,5 +49,9 @@ declare const _default: import("vue").DefineComponent<{
29
49
  * Block output (Note: error and value take precedence over output property)
30
50
  */
31
51
  output?: ValueOrErrors<unknown>;
52
+ /**
53
+ * @TODO
54
+ */
55
+ mockPlatforma?: Platforma;
32
56
  }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
33
57
  export default _default;
@@ -0,0 +1,15 @@
1
+ import { type Reactive } from 'vue';
2
+ import type { AnyLogHandle, Platforma } from '@platforma-sdk/model';
3
+ type LogState = {
4
+ logHandle: AnyLogHandle;
5
+ lines: string;
6
+ lastOffset: number;
7
+ finished: boolean;
8
+ error: unknown;
9
+ };
10
+ export declare function useLogHandle(props: Reactive<{
11
+ logHandle: AnyLogHandle | undefined;
12
+ mockPlatforma?: Platforma;
13
+ progressPrefix?: string;
14
+ }>): import("vue").Ref<LogState | undefined, LogState | undefined>;
15
+ export {};
@@ -55,10 +55,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
55
55
  }> & Readonly<{
56
56
  "onTooltip:close"?: ((...args: any[]) => any) | undefined;
57
57
  }>, {
58
+ position: "top-left" | "left" | "right" | "top";
58
59
  gap: number;
59
60
  openDelay: number;
60
61
  closeDelay: number;
61
- position: "top-left" | "left" | "right" | "top";
62
62
  element: "div" | "span" | "a" | "p" | "h1" | "h2" | "h3";
63
63
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
64
64
  default?(_: {}): any;
@@ -0,0 +1 @@
1
+ export declare const maskIcons16: readonly ["add", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "cell-type-num", "cell-type-txt", "checkmark", "chevron-down", "chevron-first", "chevron-last", "chevron-left", "chevron-right", "chevron-up", "clear", "clipboard-copied", "clipboard", "close", "comp", "compare", "copy", "data-dimentions", "delete", "drag-dots", "edit", "error", "export", "filter-2", "filter", "help", "import", "info", "link-arrow", "link", "loading", "lock", "maximize", "minimize", "minus", "more-horizontal", "open", "pause", "play", "required", "restart", "settings-2", "sort", "sorter", "stop", "success", "warning", "x-axis", "y-axis", "zip"];
@@ -0,0 +1 @@
1
+ export declare const maskIcons24: readonly ["add-layer", "add", "annotate", "annotation", "area", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "axes", "bar-error", "bar-trend", "bar", "bindot", "box-dot", "boxplot-1", "boxplot-binned", "boxplot-jitter", "boxplot-notched", "boxplot", "bubble", "canvas", "checkbox", "checkmark", "chevron-down", "chevron-left", "chevron-right", "chevron-sort", "chevron-up", "clipboard-copied", "clipboard", "close", "cloud-down", "cloud-offline", "cloud-online", "cloud-up", "code-2", "code", "color", "columns", "connected-points", "copy", "cpu", "cross-bars", "dark-mode", "delete", "dendrogram-X-1", "dendrogram-X", "dendrogram-Y-1", "dendrogram-Y", "dna", "download-files", "duplicate", "edit", "error-bar", "error", "expand-left", "expand-right", "export-2", "export", "external-link", "fill-color", "filter-on", "filter", "filters-gate", "fire-tips", "folder-parent", "frame-type", "generate", "graph", "heatmap", "help", "hide", "import-2", "import-download", "info-circle-outline", "jitter", "layers", "learn", "legend", "light-mode", "line-binned", "line-error", "line-jitter", "line", "linetype", "link-disabled", "link", "loading", "local", "logout", "menu", "minus", "more-horizontal", "outlier-shape", "paper-clip", "pin", "position", "progress-2", "progress", "publications", "radio-btn", "restart", "reverse", "rotation", "save", "search", "server-2", "settings-2", "show", "sina", "skatterplot", "social-media", "sort", "stacked-bar", "statistics", "strip-plot", "stroke-non", "stroke", "success", "table-upload", "table", "template", "title-position", "upload-files", "venn", "violin-binned", "violin-jitter", "violin", "warning", "wetlab", "zoom-in"];
@@ -1,5 +1,7 @@
1
1
  import type { ImportFileHandle, Platforma, StorageHandle, Ref as ModelRef } from '@platforma-sdk/model';
2
2
  import type { Ref, ComputedRef } from 'vue';
3
+ import { maskIcons16 } from './generated/icons-16';
4
+ import { maskIcons24 } from './generated/icons-24';
3
5
  export type Size = 'small' | 'medium' | 'large';
4
6
  export type MaybeRef<T> = T | Ref<T>;
5
7
  export type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
@@ -46,9 +48,8 @@ export type RefOption = {
46
48
  readonly ref: ModelRef;
47
49
  };
48
50
  export type ListOptionType<Type> = Type extends ListOption<infer X>[] ? X : never;
49
- export declare const maskIcons16: readonly ["checkmark", "import", "clear", "chevron-right", "add", "play", "loading", "arrow-right", "clipboard", "link", "comp", "close", "restart", "stop", "settings-2"];
51
+ export { maskIcons16, maskIcons24 };
50
52
  export type MaskIconName16 = (typeof maskIcons16)[number];
51
- export declare const maskIcons24: string[];
52
53
  export type MaskIconName24 = (typeof maskIcons24)[number];
53
54
  export type SliderMode = 'input' | 'text';
54
55
  export type ImportedFiles = {