@veltra/desktop 1.0.1 → 1.0.2

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.
@@ -7,9 +7,9 @@ type __VLS_Slots = {
7
7
  default?: () => VNode[];
8
8
  };
9
9
  declare const __VLS_base: _$vue.DefineComponent<ActionGroupProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ActionGroupProps> & Readonly<{}>, {
10
+ max: number;
10
11
  loading: boolean;
11
12
  circle: boolean;
12
- max: number;
13
13
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
@@ -24,9 +24,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
24
24
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
25
25
  onSelect?: ((value: string) => any) | undefined;
26
26
  }>, {
27
+ disabled: boolean;
27
28
  placeholder: string;
28
29
  clearable: boolean;
29
- disabled: boolean;
30
30
  readonly: boolean;
31
31
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
32
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -11,8 +11,8 @@ declare const __VLS_base: _$vue.DefineComponent<ButtonProps, _ButtonExposed, {},
11
11
  }, string, _$vue.PublicProps, Readonly<ButtonProps> & Readonly<{
12
12
  onClick?: ((e: MouseEvent) => any) | undefined;
13
13
  }>, {
14
- disabled: boolean;
15
14
  loadingIcon: _$vue.Component;
15
+ disabled: boolean;
16
16
  iconPosition: "left" | "right";
17
17
  propagate: boolean;
18
18
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -3,21 +3,21 @@ import * as _$vue from "vue";
3
3
 
4
4
  //#region src/components/cascade/cascade.vue.d.ts
5
5
  declare const __VLS_export: _$vue.DefineComponent<CascadeProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
6
- "update:modelValue": (value?: string | string[] | undefined) => any;
7
6
  clear: () => any;
7
+ "update:modelValue": (value?: string | string[] | undefined) => any;
8
8
  change: (...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any;
9
9
  }, string, _$vue.PublicProps, Readonly<CascadeProps> & Readonly<{
10
- "onUpdate:modelValue"?: ((value?: string | string[] | undefined) => any) | undefined;
11
10
  onClear?: (() => any) | undefined;
11
+ "onUpdate:modelValue"?: ((value?: string | string[] | undefined) => 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
+ disabled: boolean;
14
15
  placeholder: string;
15
16
  clearable: boolean;
16
- disabled: boolean;
17
17
  readonly: boolean;
18
- data: Record<string, any>[];
19
18
  labelKey: string;
20
19
  valueKey: string;
20
+ data: Record<string, any>[];
21
21
  separator: string;
22
22
  childrenKey: string;
23
23
  filterable: boolean;
@@ -7,10 +7,10 @@ declare const __VLS_export: _$vue.DefineComponent<DatePickerProps, {}, {}, {}, {
7
7
  }, string, _$vue.PublicProps, Readonly<DatePickerProps> & Readonly<{
8
8
  "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
9
9
  }>, {
10
- placeholder: string;
11
10
  type: "date" | "month" | "year";
12
- clearable: boolean;
13
11
  disabled: boolean;
12
+ placeholder: string;
13
+ clearable: boolean;
14
14
  readonly: boolean;
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
@@ -7,10 +7,10 @@ declare const __VLS_export: _$vue.DefineComponent<DateRangePickerProps, {}, {},
7
7
  }, string, _$vue.PublicProps, Readonly<DateRangePickerProps> & Readonly<{
8
8
  "onUpdate:modelValue"?: ((value?: [string, string] | undefined) => any) | undefined;
9
9
  }>, {
10
- placeholder: [string, string];
11
10
  type: "date" | "month" | "year";
12
- clearable: boolean;
13
11
  disabled: boolean;
12
+ placeholder: [string, string];
13
+ clearable: boolean;
14
14
  readonly: boolean;
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
@@ -16,8 +16,8 @@ type __VLS_Slots = {} & {
16
16
  declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
17
17
  "update:modelValue": (value: string | undefined) => any;
18
18
  } & {
19
- "update:modelValue": (value: string) => any;
20
19
  clear: () => any;
20
+ "update:modelValue": (value: string) => any;
21
21
  change: (value: string) => any;
22
22
  "suffix:click": (value?: string | undefined) => any;
23
23
  "prefix:click": (value?: string | undefined) => any;
@@ -25,8 +25,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
25
25
  blur: (value?: string | undefined) => any;
26
26
  "native:input": (ev: Event) => any;
27
27
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
28
  onClear?: (() => any) | undefined;
29
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
30
30
  onChange?: ((value: string) => any) | undefined;
31
31
  "onSuffix:click"?: ((value?: string | undefined) => any) | undefined;
32
32
  "onPrefix:click"?: ((value?: string | undefined) => any) | undefined;
@@ -34,9 +34,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
34
34
  onBlur?: ((value?: string | undefined) => any) | undefined;
35
35
  "onNative:input"?: ((ev: Event) => any) | undefined;
36
36
  }>, {
37
+ disabled: boolean;
37
38
  placeholder: string;
38
39
  clearable: boolean;
39
- disabled: boolean;
40
40
  readonly: boolean;
41
41
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
42
42
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -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
+ disabled: boolean;
31
32
  placeholder: string;
32
33
  clearable: boolean;
33
- disabled: boolean;
34
34
  readonly: boolean;
35
35
  labelKey: string;
36
36
  valueKey: string;
@@ -14,17 +14,17 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
14
14
  declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
15
15
  "update:modelValue": (value: (string | number)[]) => any;
16
16
  } & {
17
- "update:modelValue": (value: any[]) => any;
18
17
  clear: () => any;
18
+ "update:modelValue": (value: any[]) => any;
19
19
  change: (checked: Record<string, any>[]) => any;
20
20
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
- "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
22
21
  onClear?: (() => any) | undefined;
22
+ "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
23
23
  onChange?: ((checked: Record<string, any>[]) => any) | undefined;
24
24
  }>, {
25
+ disabled: boolean;
25
26
  placeholder: string;
26
27
  clearable: boolean;
27
- disabled: boolean;
28
28
  readonly: boolean;
29
29
  labelKey: string;
30
30
  valueKey: string;
@@ -20,9 +20,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
20
20
  "onUpdate:modelValue"?: ((value?: number | undefined) => any) | undefined;
21
21
  onChange?: ((value?: number | undefined) => any) | undefined;
22
22
  }>, {
23
+ disabled: boolean;
23
24
  placeholder: string;
24
25
  clearable: boolean;
25
- disabled: boolean;
26
26
  readonly: boolean;
27
27
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
28
28
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -24,8 +24,8 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
24
24
  "onUpdate:start"?: ((value: number | undefined) => any) | undefined;
25
25
  "onUpdate:end"?: ((value: number | undefined) => any) | undefined;
26
26
  }>, {
27
- clearable: boolean;
28
27
  disabled: boolean;
28
+ clearable: boolean;
29
29
  readonly: boolean;
30
30
  separator: string;
31
31
  startPlaceholder: string;
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
15
15
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
17
17
  }>, {
18
- clearable: boolean;
19
18
  disabled: boolean;
19
+ clearable: boolean;
20
20
  readonly: boolean;
21
21
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -22,9 +22,9 @@ declare const __VLS_base: _$vue.DefineComponent<ProgressNodesProps, {}, {}, {},
22
22
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
23
23
  onClick?: ((node: Record<string, any>, index: number) => any) | undefined;
24
24
  }>, {
25
+ colorType: _$_veltra_utils0.ColorType;
25
26
  labelKey: string;
26
27
  valueKey: string;
27
- colorType: _$_veltra_utils0.ColorType;
28
28
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
30
  declare const _default: typeof __VLS_export;
@@ -12,10 +12,10 @@ declare const __VLS_export: _$vue.DefineComponent<RichTextEditorProps & {
12
12
  }> & Readonly<{
13
13
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
14
  }>, {
15
- placeholder: string;
16
- format: RichTextFormat;
17
15
  disabled: boolean;
16
+ placeholder: string;
18
17
  readonly: boolean;
18
+ format: RichTextFormat;
19
19
  toolbar: ToolbarItem[];
20
20
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
21
21
  //#endregion
@@ -26,9 +26,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
26
26
  "onUpdate:text"?: ((value: any) => any) | undefined;
27
27
  "onUpdate:label"?: ((label?: string | undefined) => any) | undefined;
28
28
  }>, {
29
+ disabled: boolean;
29
30
  placeholder: string;
30
31
  clearable: boolean;
31
- disabled: boolean;
32
32
  readonly: boolean;
33
33
  labelKey: string;
34
34
  valueKey: string;
@@ -16,17 +16,17 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
16
16
  declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
17
17
  "update:modelValue": (value: string | undefined) => any;
18
18
  } & {
19
- "update:modelValue": (value: string | number) => any;
20
19
  delete: (item: TabItem, index: number) => any;
21
- create: () => any;
20
+ "update:modelValue": (value: string | number) => any;
22
21
  click: (item: TabItem, index: number) => any;
22
+ create: () => any;
23
23
  "update:items": (items: TabItem[]) => any;
24
24
  "update:active": (active: string | number) => any;
25
25
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
27
26
  onDelete?: ((item: TabItem, index: number) => any) | undefined;
28
- onCreate?: (() => any) | undefined;
27
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
29
28
  onClick?: ((item: TabItem, index: number) => any) | undefined;
29
+ onCreate?: (() => any) | undefined;
30
30
  "onUpdate:items"?: ((items: TabItem[]) => any) | undefined;
31
31
  "onUpdate:active"?: ((active: string | number) => any) | undefined;
32
32
  }>, {
@@ -10,21 +10,21 @@ 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;
14
13
  clear: () => any;
14
+ "update:modelValue": (value: string) => any;
15
15
  change: (value: string) => any;
16
16
  focus: () => any;
17
17
  blur: () => any;
18
18
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
19
  onClear?: (() => any) | undefined;
20
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
21
21
  onChange?: ((value: string) => any) | undefined;
22
22
  onFocus?: (() => any) | undefined;
23
23
  onBlur?: (() => any) | undefined;
24
24
  }>, {
25
+ disabled: boolean;
25
26
  placeholder: string;
26
27
  clearable: boolean;
27
- disabled: boolean;
28
28
  readonly: boolean;
29
29
  resize: boolean;
30
30
  autosize: boolean;
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<TipProps, {}, {}, {}, {}, _$vue.
15
15
  trigger: "hover" | "click";
16
16
  contentTag: string;
17
17
  visible: boolean;
18
- alignment: TipAlign;
19
18
  content: string;
19
+ alignment: TipAlign;
20
20
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
@@ -21,9 +21,9 @@ 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>[];
25
24
  labelKey: string;
26
25
  valueKey: string;
26
+ data: Record<string, any>[];
27
27
  childrenKey: string;
28
28
  expandOnClickNode: boolean;
29
29
  checkStrictly: boolean;
@@ -19,14 +19,14 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
19
19
  change: (value?: string | number | undefined, selectedData?: Record<string, any> | undefined) => any;
20
20
  "update:text": (text?: string | undefined) => any;
21
21
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
- "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
23
22
  onClear?: (() => any) | undefined;
23
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
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
+ disabled: boolean;
27
28
  placeholder: string;
28
29
  clearable: boolean;
29
- disabled: boolean;
30
30
  readonly: 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.0.1",
3
+ "version": "1.0.2",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -47,11 +47,11 @@
47
47
  "@lexical/rich-text": "^0.42.0",
48
48
  "@lexical/selection": "^0.42.0",
49
49
  "@lexical/utils": "^0.42.0",
50
- "@veltra/compositions": "workspace:*",
51
- "@veltra/directives": "workspace:*",
52
- "@veltra/icons": "workspace:*",
53
- "@veltra/styles": "workspace:*",
54
- "@veltra/utils": "workspace:*",
50
+ "@veltra/compositions": "1.0.2",
51
+ "@veltra/directives": "1.0.2",
52
+ "@veltra/icons": "1.0.2",
53
+ "@veltra/styles": "1.0.2",
54
+ "@veltra/utils": "1.0.2",
55
55
  "codemirror": "^6.0.2",
56
56
  "lexical": "^0.42.0"
57
57
  },
@@ -64,11 +64,11 @@
64
64
  "vue-tsc": "^3.2.6"
65
65
  },
66
66
  "peerDependencies": {
67
- "@veltra/compositions": "workspace:*",
68
- "@veltra/directives": "workspace:*",
69
- "@veltra/icons": "workspace:*",
70
- "@veltra/styles": "workspace:*",
71
- "@veltra/utils": "workspace:*",
67
+ "@veltra/compositions": "1.0.2",
68
+ "@veltra/directives": "1.0.2",
69
+ "@veltra/icons": "1.0.2",
70
+ "@veltra/styles": "1.0.2",
71
+ "@veltra/utils": "1.0.2",
72
72
  "vue": "^3.5.0"
73
73
  }
74
74
  }