sprof 1.0.6 → 1.0.8
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,6 +4,11 @@ export type EditableKind = 'text' | 'number' | 'date' | 'select' | 'enum' | 'tog
|
|
|
4
4
|
interface Props {
|
|
5
5
|
/** Текущее значение клетки (для отображения и как черновик). */
|
|
6
6
|
modelValue?: string | number | boolean | null;
|
|
7
|
+
/**
|
|
8
|
+
* Что показать в клетке, если `modelValue` — не человекочитаемое значение
|
|
9
|
+
* (напр. id связи, а показать надо подпись). На редактор не влияет.
|
|
10
|
+
*/
|
|
11
|
+
displayValue?: string | null;
|
|
7
12
|
/** Тип редактора. */
|
|
8
13
|
kind: EditableKind;
|
|
9
14
|
/** Подпись поля — заголовок окна. */
|
|
@@ -40,6 +45,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
40
45
|
min: number;
|
|
41
46
|
step: number;
|
|
42
47
|
saving: boolean;
|
|
48
|
+
displayValue: string | null;
|
|
43
49
|
editable: boolean;
|
|
44
50
|
emptyText: string;
|
|
45
51
|
unit: string;
|