@veltra/desktop 1.0.1 → 1.0.3

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;
@@ -15,12 +15,12 @@ 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
+ text: boolean;
20
21
  loading: boolean;
21
22
  circle: boolean;
22
23
  inDropdown: boolean;
23
- text: boolean;
24
24
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
@@ -4,24 +4,24 @@ import * as _$vue from "vue";
4
4
  //#region src/components/cascade/cascade.vue.d.ts
5
5
  declare const __VLS_export: _$vue.DefineComponent<CascadeProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
6
6
  "update:modelValue": (value?: string | string[] | undefined) => any;
7
- clear: () => any;
8
7
  change: (...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any;
8
+ clear: () => any;
9
9
  }, string, _$vue.PublicProps, Readonly<CascadeProps> & Readonly<{
10
10
  "onUpdate:modelValue"?: ((value?: string | string[] | undefined) => any) | undefined;
11
- onClear?: (() => any) | undefined;
12
11
  onChange?: ((...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any) | undefined;
12
+ onClear?: (() => any) | undefined;
13
13
  }>, {
14
- placeholder: string;
15
- clearable: boolean;
16
- disabled: boolean;
17
- readonly: boolean;
18
- data: Record<string, any>[];
14
+ separator: string;
19
15
  labelKey: string;
20
16
  valueKey: string;
21
- separator: string;
17
+ placeholder: string;
18
+ clearable: boolean;
22
19
  childrenKey: string;
20
+ data: Record<string, any>[];
23
21
  filterable: boolean;
24
22
  visibilityLimit: number;
23
+ disabled: boolean;
24
+ readonly: boolean;
25
25
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
26
26
  declare const _default: typeof __VLS_export;
27
27
  //#endregion
@@ -20,9 +20,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
20
20
  "onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
21
21
  onChange?: ((checked: boolean) => any) | undefined;
22
22
  }>, {
23
- type: _$_veltra_utils0.ColorType;
24
23
  disabled: boolean;
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>;
@@ -14,10 +14,10 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
14
14
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
16
16
  }>, {
17
- disabled: boolean;
18
- readonly: boolean;
19
17
  labelKey: string;
20
18
  valueKey: string;
19
+ disabled: boolean;
20
+ readonly: boolean;
21
21
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  //#endregion
@@ -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,10 +8,10 @@ declare const __VLS_export: _$vue.DefineComponent<DatePickerProps, {}, {}, {}, {
8
8
  "onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
9
9
  }>, {
10
10
  placeholder: string;
11
- type: "date" | "month" | "year";
12
11
  clearable: boolean;
13
12
  disabled: boolean;
14
13
  readonly: boolean;
14
+ type: "date" | "month" | "year";
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  //#endregion
@@ -8,10 +8,10 @@ declare const __VLS_export: _$vue.DefineComponent<DateRangePickerProps, {}, {},
8
8
  "onUpdate:modelValue"?: ((value?: [string, string] | undefined) => any) | undefined;
9
9
  }>, {
10
10
  placeholder: [string, string];
11
- type: "date" | "month" | "year";
12
11
  clearable: boolean;
13
12
  disabled: boolean;
14
13
  readonly: boolean;
14
+ type: "date" | "month" | "year";
15
15
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  //#endregion
@@ -10,8 +10,8 @@ declare const __VLS_export: _$vue.DefineComponent<GridInputProps, _$_veltra_util
10
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
11
11
  onInput?: ((value: string) => any) | undefined;
12
12
  }>, {
13
- length: number;
14
13
  separator: string;
14
+ length: number;
15
15
  zero: false;
16
16
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: typeof __VLS_export;
@@ -17,8 +17,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
17
17
  "update:modelValue": (value: string | undefined) => any;
18
18
  } & {
19
19
  "update:modelValue": (value: string) => any;
20
- clear: () => any;
21
20
  change: (value: string) => any;
21
+ clear: () => any;
22
22
  "suffix:click": (value?: string | undefined) => any;
23
23
  "prefix:click": (value?: string | undefined) => any;
24
24
  focus: (value?: string | undefined) => any;
@@ -26,8 +26,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
26
26
  "native:input": (ev: Event) => any;
27
27
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
28
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
29
- onClear?: (() => any) | undefined;
30
29
  onChange?: ((value: string) => any) | undefined;
30
+ onClear?: (() => any) | undefined;
31
31
  "onSuffix:click"?: ((value?: string | undefined) => any) | undefined;
32
32
  "onPrefix:click"?: ((value?: string | undefined) => any) | undefined;
33
33
  onFocus?: ((value?: string | undefined) => any) | undefined;
@@ -28,13 +28,13 @@ 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
+ labelKey: string;
32
+ valueKey: string;
31
33
  placeholder: string;
32
34
  clearable: boolean;
35
+ visibilityLimit: number;
33
36
  disabled: boolean;
34
37
  readonly: boolean;
35
- labelKey: string;
36
- valueKey: string;
37
- visibilityLimit: number;
38
38
  minWidth: string;
39
39
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
40
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -15,21 +15,21 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
15
15
  "update:modelValue": (value: (string | number)[]) => any;
16
16
  } & {
17
17
  "update:modelValue": (value: any[]) => any;
18
- clear: () => any;
19
18
  change: (checked: Record<string, any>[]) => any;
19
+ clear: () => any;
20
20
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
21
  "onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
22
- onClear?: (() => any) | undefined;
23
22
  onChange?: ((checked: Record<string, any>[]) => any) | undefined;
23
+ onClear?: (() => any) | undefined;
24
24
  }>, {
25
- placeholder: string;
26
- clearable: boolean;
27
- disabled: boolean;
28
- readonly: boolean;
29
25
  labelKey: string;
30
26
  valueKey: string;
27
+ placeholder: string;
28
+ clearable: boolean;
31
29
  filterable: boolean;
32
30
  visibilityLimit: number;
31
+ disabled: boolean;
32
+ readonly: boolean;
33
33
  minWidth: string;
34
34
  expandAll: boolean;
35
35
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -24,10 +24,10 @@ 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
+ separator: string;
27
28
  clearable: boolean;
28
29
  disabled: boolean;
29
30
  readonly: boolean;
30
- separator: string;
31
31
  startPlaceholder: string;
32
32
  endPlaceholder: string;
33
33
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -16,10 +16,10 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
16
16
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
17
17
  onChange?: ((item: Record<string, any>) => any) | undefined;
18
18
  }>, {
19
- disabled: boolean;
20
- readonly: boolean;
21
19
  labelKey: string;
22
20
  valueKey: string;
21
+ disabled: boolean;
22
+ readonly: boolean;
23
23
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
24
24
  declare const _default: typeof __VLS_export;
25
25
  //#endregion
@@ -13,9 +13,9 @@ declare const __VLS_export: _$vue.DefineComponent<RichTextEditorProps & {
13
13
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
14
  }>, {
15
15
  placeholder: string;
16
- format: RichTextFormat;
17
16
  disabled: boolean;
18
17
  readonly: boolean;
18
+ format: RichTextFormat;
19
19
  toolbar: ToolbarItem[];
20
20
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
21
21
  //#endregion
@@ -26,12 +26,12 @@ 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
+ labelKey: string;
30
+ valueKey: string;
29
31
  placeholder: string;
30
32
  clearable: boolean;
31
33
  disabled: boolean;
32
34
  readonly: boolean;
33
- labelKey: string;
34
- valueKey: string;
35
35
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
36
36
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
37
37
  declare const _default: typeof __VLS_export;
@@ -17,15 +17,15 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
17
17
  "update:modelValue": (value: string | undefined) => any;
18
18
  } & {
19
19
  "update:modelValue": (value: string | number) => any;
20
- delete: (item: TabItem, index: number) => any;
21
20
  create: () => any;
21
+ delete: (item: TabItem, index: number) => any;
22
22
  click: (item: TabItem, index: number) => 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
26
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
27
- onDelete?: ((item: TabItem, index: number) => any) | undefined;
28
27
  onCreate?: (() => any) | undefined;
28
+ onDelete?: ((item: TabItem, index: number) => any) | undefined;
29
29
  onClick?: ((item: TabItem, index: number) => any) | undefined;
30
30
  "onUpdate:items"?: ((items: TabItem[]) => any) | undefined;
31
31
  "onUpdate:active"?: ((active: string | number) => any) | undefined;
@@ -11,14 +11,14 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
11
11
  "update:modelValue": (value: string | undefined) => any;
12
12
  } & {
13
13
  "update:modelValue": (value: string) => any;
14
- clear: () => any;
15
14
  change: (value: string) => any;
15
+ clear: () => any;
16
16
  focus: () => any;
17
17
  blur: () => any;
18
18
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
19
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
- onClear?: (() => any) | undefined;
21
20
  onChange?: ((value: string) => any) | undefined;
21
+ onClear?: (() => any) | undefined;
22
22
  onFocus?: (() => any) | undefined;
23
23
  onBlur?: (() => any) | undefined;
24
24
  }>, {
@@ -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,10 +21,10 @@ 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;
27
26
  childrenKey: string;
27
+ data: Record<string, any>[];
28
28
  expandOnClickNode: boolean;
29
29
  checkStrictly: boolean;
30
30
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -15,22 +15,22 @@ 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 | number | undefined) => any;
17
17
  } & {
18
- clear: () => any;
19
18
  change: (value?: string | number | undefined, selectedData?: Record<string, any> | undefined) => any;
19
+ clear: () => any;
20
20
  "update:text": (text?: string | undefined) => any;
21
21
  }, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
22
  "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
23
- onClear?: (() => any) | undefined;
24
23
  onChange?: ((value?: string | number | undefined, selectedData?: Record<string, any> | undefined) => any) | undefined;
24
+ onClear?: (() => any) | undefined;
25
25
  "onUpdate:text"?: ((text?: string | undefined) => any) | undefined;
26
26
  }>, {
27
+ labelKey: string;
28
+ valueKey: string;
27
29
  placeholder: string;
28
30
  clearable: boolean;
31
+ filterable: boolean;
29
32
  disabled: boolean;
30
33
  readonly: boolean;
31
- labelKey: string;
32
- valueKey: string;
33
- filterable: boolean;
34
34
  minWidth: string;
35
35
  expandAll: boolean;
36
36
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltra/desktop",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -13,17 +13,14 @@
13
13
  "exports": {
14
14
  ".": {
15
15
  "types": "./dist/index.d.ts",
16
- "development": "./src/index.ts",
17
16
  "import": "./dist/index.js"
18
17
  },
19
18
  "./components/*/style.ts": {
20
19
  "types": "./dist/components/*/style.d.ts",
21
- "development": "./src/components/*/style.ts",
22
20
  "import": "./dist/components/*/style.js"
23
21
  },
24
22
  "./*": {
25
23
  "types": "./dist/*.d.ts",
26
- "development": "./src/*",
27
24
  "import": "./dist/*.js"
28
25
  }
29
26
  },
@@ -47,11 +44,11 @@
47
44
  "@lexical/rich-text": "^0.42.0",
48
45
  "@lexical/selection": "^0.42.0",
49
46
  "@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:*",
47
+ "@veltra/compositions": "1.0.3",
48
+ "@veltra/directives": "1.0.3",
49
+ "@veltra/icons": "1.0.3",
50
+ "@veltra/styles": "1.0.3",
51
+ "@veltra/utils": "1.0.3",
55
52
  "codemirror": "^6.0.2",
56
53
  "lexical": "^0.42.0"
57
54
  },
@@ -64,11 +61,11 @@
64
61
  "vue-tsc": "^3.2.6"
65
62
  },
66
63
  "peerDependencies": {
67
- "@veltra/compositions": "workspace:*",
68
- "@veltra/directives": "workspace:*",
69
- "@veltra/icons": "workspace:*",
70
- "@veltra/styles": "workspace:*",
71
- "@veltra/utils": "workspace:*",
64
+ "@veltra/compositions": "1.0.3",
65
+ "@veltra/directives": "1.0.3",
66
+ "@veltra/icons": "1.0.3",
67
+ "@veltra/styles": "1.0.3",
68
+ "@veltra/utils": "1.0.3",
72
69
  "vue": "^3.5.0"
73
70
  }
74
71
  }