@veltra/desktop 1.1.11 → 1.1.12

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.
@@ -8,11 +8,11 @@ type __VLS_Slots = {
8
8
  default?: () => VNode[];
9
9
  };
10
10
  declare const __VLS_base: _$vue.DefineComponent<ActionGroupProps, _ActionGroupExposed, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ActionGroupProps> & Readonly<{}>, {
11
- type: _$_veltra_utils0.ColorType;
12
11
  size: "small" | "default" | "large";
12
+ type: _$_veltra_utils0.ColorType;
13
13
  text: boolean;
14
- max: number;
15
14
  circle: boolean;
15
+ max: number;
16
16
  loading: boolean;
17
17
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<ActionProps, {}, {}, {}, {}, _$v
15
15
  }, string, _$vue.PublicProps, Readonly<ActionProps> & Readonly<{
16
16
  onRun?: (() => any) | undefined;
17
17
  }>, {
18
- type: ButtonType;
19
18
  size: _$_veltra_utils0.ComponentSize;
19
+ type: ButtonType;
20
20
  text: boolean;
21
21
  circle: boolean;
22
22
  loading: boolean;
@@ -11,12 +11,12 @@ declare const __VLS_export: _$vue.DefineComponent<CascadeProps, {}, {}, {}, {},
11
11
  onClear?: (() => any) | undefined;
12
12
  onChange?: ((...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any) | undefined;
13
13
  }>, {
14
+ data: Record<string, any>[];
14
15
  disabled: boolean;
15
16
  readonly: boolean;
16
17
  labelKey: string;
17
18
  valueKey: string;
18
19
  childrenKey: string;
19
- data: Record<string, any>[];
20
20
  placeholder: string;
21
21
  clearable: boolean;
22
22
  filterable: boolean;
@@ -21,8 +21,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
21
21
  onChange?: ((checked: boolean) => any) | undefined;
22
22
  }>, {
23
23
  disabled: boolean;
24
- type: _$_veltra_utils0.ColorType;
25
24
  readonly: boolean;
25
+ type: _$_veltra_utils0.ColorType;
26
26
  round: boolean;
27
27
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -46,7 +46,7 @@
46
46
  cursor: pointer;
47
47
  font-weight: 500;
48
48
  letter-spacing: 0.01em;
49
- color: var(--u-text-color-title);
49
+ color: var(--u-collapse-title-color, var(--u-text-color-main));
50
50
  user-select: none;
51
51
  outline: none;
52
52
  transition: color 0.18s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
@@ -94,7 +94,7 @@
94
94
  }
95
95
  .u-collapse--small .u-collapse__header {
96
96
  padding: calc(var(--u-gap-small) - 2px) var(--u-gap-small);
97
- font-size: var(--u-font-size-title-small);
97
+ font-size: var(--u-font-size-main-small);
98
98
  }
99
99
  .u-collapse--small .u-collapse__content {
100
100
  font-size: var(--u-font-size-main-small);
@@ -111,7 +111,7 @@
111
111
  }
112
112
  .u-collapse--default .u-collapse__header {
113
113
  padding: calc(var(--u-gap-default) - 2px) var(--u-gap-default);
114
- font-size: var(--u-font-size-title-default);
114
+ font-size: var(--u-font-size-main-default);
115
115
  }
116
116
  .u-collapse--default .u-collapse__content {
117
117
  font-size: var(--u-font-size-main-default);
@@ -128,7 +128,7 @@
128
128
  }
129
129
  .u-collapse--large .u-collapse__header {
130
130
  padding: calc(var(--u-gap-large) - 2px) var(--u-gap-large);
131
- font-size: var(--u-font-size-title-large);
131
+ font-size: var(--u-font-size-main-large);
132
132
  }
133
133
  .u-collapse--large .u-collapse__content {
134
134
  font-size: var(--u-font-size-main-large);
@@ -11,8 +11,8 @@ declare const __VLS_export: _$vue.DefineComponent<DatePanelProps, {}, {}, {}, {}
11
11
  "onSelect:range-date"?: ((rangeDate?: [_$_cat_kit_core0.Dater, _$_cat_kit_core0.Dater] | undefined) => any) | undefined;
12
12
  "onSelect:date"?: ((date: _$_cat_kit_core0.Dater) => any) | undefined;
13
13
  }>, {
14
- type: "date" | "month" | "year";
15
14
  size: _$_veltra_utils0.ComponentSize;
15
+ type: "date" | "month" | "year";
16
16
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  //#endregion
@@ -8,8 +8,8 @@ declare const __VLS_export: _$vue.DefineComponent<DatePickerProps, {}, {}, {}, {
8
8
  "onUpdate:modelValue"?: ((value?: string | number | Date | undefined) => any) | undefined;
9
9
  }>, {
10
10
  disabled: boolean;
11
- type: "date" | "month" | "year";
12
11
  readonly: boolean;
12
+ type: "date" | "month" | "year";
13
13
  placeholder: string;
14
14
  clearable: boolean;
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -8,8 +8,8 @@ declare const __VLS_export: _$vue.DefineComponent<DateRangePickerProps, {}, {},
8
8
  "onUpdate:modelValue"?: ((value?: [string, string] | undefined) => any) | undefined;
9
9
  }>, {
10
10
  disabled: boolean;
11
- type: "date" | "month" | "year";
12
11
  readonly: boolean;
12
+ type: "date" | "month" | "year";
13
13
  placeholder: [string, string];
14
14
  clearable: boolean;
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -14,12 +14,12 @@ type __VLS_Slots = {} & {
14
14
  declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: boolean) => any;
16
16
  } & {
17
- close: () => any;
18
17
  "update:modelValue": (value: boolean) => any;
18
+ close: () => any;
19
19
  closed: () => any;
20
20
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
- onClose?: (() => any) | undefined;
22
21
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
22
+ onClose?: (() => any) | undefined;
23
23
  onClosed?: (() => any) | undefined;
24
24
  }>, {
25
25
  direction: DrawerDirection;
@@ -28,8 +28,8 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, _FileViewer
28
28
  }) => any) | undefined;
29
29
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
30
30
  }>, {
31
- open: boolean;
32
31
  modelValue: string;
32
+ open: boolean;
33
33
  sidebarWidth: string | number | false;
34
34
  sheetMaxRows: number;
35
35
  downloadable: boolean;
@@ -28,9 +28,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
28
28
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
29
29
  onChange?: ((options: Record<string, any>[]) => any) | undefined;
30
30
  }>, {
31
- minWidth: string;
32
31
  disabled: boolean;
33
32
  readonly: boolean;
33
+ minWidth: string;
34
34
  labelKey: string;
35
35
  valueKey: string;
36
36
  placeholder: string;
@@ -22,9 +22,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
22
22
  onClear?: (() => any) | undefined;
23
23
  onChange?: ((checked: Record<string, any>[]) => any) | undefined;
24
24
  }>, {
25
- minWidth: string;
26
25
  disabled: boolean;
27
26
  readonly: boolean;
27
+ minWidth: string;
28
28
  expandAll: boolean;
29
29
  labelKey: string;
30
30
  valueKey: string;
@@ -16,11 +16,11 @@ type __VLS_Slots = {} & {
16
16
  default?: (props: typeof __VLS_3) => any;
17
17
  };
18
18
  declare const __VLS_base: _$vue.DefineComponent<ProgressNodesProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
19
- click: (node: Record<string, any>, index: number) => any;
20
19
  "update:modelValue": (value: string | number) => any;
20
+ click: (node: Record<string, any>, index: number) => any;
21
21
  }, string, _$vue.PublicProps, Readonly<ProgressNodesProps> & Readonly<{
22
- onClick?: ((node: Record<string, any>, index: number) => any) | undefined;
23
22
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
23
+ onClick?: ((node: Record<string, any>, index: number) => any) | undefined;
24
24
  }>, {
25
25
  labelKey: string;
26
26
  valueKey: string;
@@ -15,13 +15,13 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
15
15
  declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: string | undefined) => any;
17
17
  } & {
18
+ "update:modelValue": (value: string) => any;
18
19
  close: (item: TabItem, index: number) => any;
19
20
  click: (item: TabItem, index: number) => any;
20
- "update:modelValue": (value: string) => any;
21
21
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
22
23
  onClose?: ((item: TabItem, index: number) => any) | undefined;
23
24
  onClick?: ((item: TabItem, index: number) => any) | undefined;
24
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
25
  }>, {
26
26
  closable: boolean;
27
27
  block: boolean;
@@ -14,13 +14,13 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_2>]?: (props: typeof __
14
14
  declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: string | undefined) => any;
16
16
  } & {
17
+ "update:modelValue": (value: string) => any;
17
18
  close: (item: TabItem, index: number) => any;
18
19
  click: (item: TabItem, index: number) => any;
19
- "update:modelValue": (value: string) => any;
20
20
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
22
  onClose?: ((item: TabItem, index: number) => any) | undefined;
22
23
  onClick?: ((item: TabItem, index: number) => any) | undefined;
23
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
24
24
  }>, {
25
25
  closable: boolean;
26
26
  rounded: boolean;
@@ -10,13 +10,13 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
10
  declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
11
11
  "update:modelValue": (value: string | undefined) => any;
12
12
  } & {
13
+ "update:modelValue": (value: string) => any;
13
14
  close: (item: TabItem, index: number) => any;
14
15
  click: (item: TabItem, index: number) => any;
15
- "update:modelValue": (value: string) => any;
16
16
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
18
  onClose?: ((item: TabItem, index: number) => any) | undefined;
18
19
  onClick?: ((item: TabItem, index: number) => any) | undefined;
19
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
20
  }>, {
21
21
  closable: boolean;
22
22
  block: boolean;
@@ -21,11 +21,11 @@ declare const __VLS_base: _$vue.DefineComponent<TreeProps, _TreeExposed, {}, {},
21
21
  "onNode-contextmenu"?: ((event: MouseEvent, node: TreeNode<Record<string, any>>) => any) | undefined;
22
22
  "onSelected-synced"?: ((selected?: Record<string, any> | undefined) => any) | undefined;
23
23
  }>, {
24
+ data: Record<string, any>[];
24
25
  expandOnClickNode: boolean;
25
26
  labelKey: string;
26
27
  valueKey: string;
27
28
  childrenKey: string;
28
- data: Record<string, any>[];
29
29
  checkStrictly: boolean;
30
30
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
31
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -24,9 +24,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
24
24
  onChange?: ((value?: string | number | undefined, selectedData?: Record<string, any> | undefined) => any) | undefined;
25
25
  "onUpdate:text"?: ((text?: string | undefined) => any) | undefined;
26
26
  }>, {
27
- minWidth: string;
28
27
  disabled: boolean;
29
28
  readonly: boolean;
29
+ minWidth: string;
30
30
  expandAll: boolean;
31
31
  labelKey: string;
32
32
  valueKey: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltra/desktop",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -61,22 +61,22 @@
61
61
  "@lexical/rich-text": "^0.43.0",
62
62
  "@lexical/selection": "^0.43.0",
63
63
  "@lexical/utils": "^0.43.0",
64
- "@veltra/compositions": "1.1.11",
65
- "@veltra/directives": "1.1.11",
66
- "@veltra/icons": "1.1.11",
67
- "@veltra/styles": "1.1.11",
68
- "@veltra/utils": "1.1.11",
64
+ "@veltra/compositions": "1.1.12",
65
+ "@veltra/directives": "1.1.12",
66
+ "@veltra/icons": "1.1.12",
67
+ "@veltra/styles": "1.1.12",
68
+ "@veltra/utils": "1.1.12",
69
69
  "@visactor/vtable": "^1.26.0",
70
70
  "codemirror": "^6.0.2",
71
71
  "docx-preview": "^0.3.7",
72
72
  "lexical": "^0.43.0"
73
73
  },
74
74
  "peerDependencies": {
75
- "@veltra/compositions": "1.1.11",
76
- "@veltra/directives": "1.1.11",
77
- "@veltra/icons": "1.1.11",
78
- "@veltra/styles": "1.1.11",
79
- "@veltra/utils": "1.1.11",
75
+ "@veltra/compositions": "1.1.12",
76
+ "@veltra/directives": "1.1.12",
77
+ "@veltra/icons": "1.1.12",
78
+ "@veltra/styles": "1.1.12",
79
+ "@veltra/utils": "1.1.12",
80
80
  "vue": "^3.5.33"
81
81
  }
82
82
  }
@@ -60,7 +60,7 @@ $transition-normal: 0.24s $ease;
60
60
  cursor: pointer;
61
61
  font-weight: 500;
62
62
  letter-spacing: 0.01em;
63
- color: fn.use-var(text-color, title);
63
+ color: fn.component-var(collapse, title-color, fn.use-var(text-color, main));
64
64
  user-select: none;
65
65
  outline: none;
66
66
  transition:
@@ -125,7 +125,7 @@ $transition-normal: 0.24s $ease;
125
125
 
126
126
  @include m.bem($root-name, header) {
127
127
  padding: calc(fn.use-var(gap, $size) - 2px) fn.use-var(gap, $size);
128
- font-size: fn.use-var(font-size-title, $size);
128
+ font-size: fn.use-var(font-size-main, $size);
129
129
  }
130
130
 
131
131
  @include m.bem($root-name, content) {