cleek 2.4.37 → 2.4.40

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.
@@ -1,17 +1,18 @@
1
+ import { Icon, IconPack, Size } from '../types/cleek-options';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
3
+ size?: Size | undefined;
3
4
  color?: string | undefined;
4
5
  textColor?: string | undefined;
5
- icon?: string | undefined;
6
- iconPack?: "font-awesome" | "feather" | undefined;
6
+ icon?: Icon | undefined;
7
+ iconPack?: IconPack | undefined;
7
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
9
  click: (event: Event) => void;
9
10
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
11
+ size?: Size | undefined;
11
12
  color?: string | undefined;
12
13
  textColor?: string | undefined;
13
- icon?: string | undefined;
14
- iconPack?: "font-awesome" | "feather" | undefined;
14
+ icon?: Icon | undefined;
15
+ iconPack?: IconPack | undefined;
15
16
  }>>> & {
16
17
  onClick?: ((event: Event) => any) | undefined;
17
18
  }, {}>;
@@ -1,29 +1,24 @@
1
+ import type { Icon, IconPack } from '../types/cleek-options';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- icon: string | [string, string];
3
+ icon: Icon;
4
+ iconPack?: IconPack | undefined;
3
5
  color?: string | undefined;
4
- iconPack?: string | undefined;
5
6
  size?: string | undefined;
6
- rotation?: string | undefined;
7
7
  flip?: "both" | "horizontal" | "vertical" | undefined;
8
- pull?: "left" | "right" | undefined;
8
+ fixedWidth?: string | undefined;
9
+ rotation?: 90 | 180 | 270 | "90" | "180" | "270" | undefined;
9
10
  spin?: boolean | undefined;
10
11
  pulse?: boolean | undefined;
11
- inverse?: boolean | undefined;
12
- fixedWidth?: boolean | undefined;
13
- swapOpacity?: boolean | undefined;
14
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
15
- icon: string | [string, string];
13
+ icon: Icon;
14
+ iconPack?: IconPack | undefined;
16
15
  color?: string | undefined;
17
- iconPack?: string | undefined;
18
16
  size?: string | undefined;
19
- rotation?: string | undefined;
20
17
  flip?: "both" | "horizontal" | "vertical" | undefined;
21
- pull?: "left" | "right" | undefined;
18
+ fixedWidth?: string | undefined;
19
+ rotation?: 90 | 180 | 270 | "90" | "180" | "270" | undefined;
22
20
  spin?: boolean | undefined;
23
21
  pulse?: boolean | undefined;
24
- inverse?: boolean | undefined;
25
- fixedWidth?: boolean | undefined;
26
- swapOpacity?: boolean | undefined;
27
22
  }>>> & {
28
23
  onClick?: ((...args: any[]) => any) | undefined;
29
24
  }, {}>;
@@ -1,31 +1,30 @@
1
+ import type { Color, Size } from '../types/cleek-options';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
3
  src: string;
3
- failImgSrc?: string | undefined;
4
4
  alt?: string | undefined;
5
- size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
5
+ size?: Size | undefined;
6
6
  sizeAbsolute?: string | undefined;
7
7
  width?: string | undefined;
8
8
  height?: string | undefined;
9
9
  zoom: boolean;
10
10
  zoomTitle: string;
11
11
  hasBorder?: boolean | undefined;
12
- radius?: string | undefined;
13
- borderColor: string;
12
+ borderColor: Color;
14
13
  rounded?: boolean | undefined;
14
+ radius?: string | undefined;
15
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
16
  src: string;
17
- failImgSrc?: string | undefined;
18
17
  alt?: string | undefined;
19
- size?: "s" | "m" | "xs" | "l" | "xl" | undefined;
18
+ size?: Size | undefined;
20
19
  sizeAbsolute?: string | undefined;
21
20
  width?: string | undefined;
22
21
  height?: string | undefined;
23
22
  zoom: boolean;
24
23
  zoomTitle: string;
25
24
  hasBorder?: boolean | undefined;
26
- radius?: string | undefined;
27
- borderColor: string;
25
+ borderColor: Color;
28
26
  rounded?: boolean | undefined;
27
+ radius?: string | undefined;
29
28
  }>>>, {}>;
30
29
  export default _default;
31
30
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,11 +1,12 @@
1
+ import { Align } from '../types/cleek-options';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
3
  for: string;
3
- align: string;
4
- size: 's' | 'm' | 'l' | 'xl';
4
+ align: Align;
5
+ size?: "s" | "m" | "l" | "xl" | undefined;
5
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
7
  for: string;
7
- align: string;
8
- size: 's' | 'm' | 'l' | 'xl';
8
+ align: Align;
9
+ size?: "s" | "m" | "l" | "xl" | undefined;
9
10
  }>>>, {}>;
10
11
  export default _default;
11
12
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,9 +1,9 @@
1
1
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- padding: string;
3
- position: string;
2
+ padding?: string | undefined;
3
+ position?: string | undefined;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- padding: string;
6
- position: string;
5
+ padding?: string | undefined;
6
+ position?: string | undefined;
7
7
  }>>>, {}>;
8
8
  export default _default;
9
9
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -14,8 +14,8 @@ declare const _default: {
14
14
  color?: string | undefined;
15
15
  duration?: number | undefined;
16
16
  }): void;
17
- notifySuccess(text?: string, title?: string): void;
18
- notifyError(text?: string, title?: string): void;
19
- notifyWarning(text?: string, title?: string): void;
17
+ notifySuccess(text: string, title?: string): void;
18
+ notifyError(text: string, title?: string): void;
19
+ notifyWarning(text: string, title?: string): void;
20
20
  };
21
21
  export default _default;
@@ -1,9 +1,10 @@
1
+ import type { Ref } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{}, {
2
- title: import("vue").Ref<string>;
3
- msg: import("vue").Ref<string>;
4
- acceptText: import("vue").Ref<string>;
5
- cancelText: import("vue").Ref<string>;
6
- responseSuccess: import("vue").Ref<() => void>;
7
- responseFailure: import("vue").Ref<() => void>;
3
+ title: Ref<string>;
4
+ msg: Ref<string>;
5
+ acceptText: Ref<string>;
6
+ cancelText: Ref<string>;
7
+ responseSuccess: Ref<() => void>;
8
+ responseFailure: Ref<() => void>;
8
9
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
9
10
  export default _default;
@@ -1,8 +1,9 @@
1
+ import type { Ref } from 'vue';
1
2
  declare const _default: import("vue").DefineComponent<{}, {
2
- title: import("vue").Ref<string>;
3
- text: import("vue").Ref<string>;
4
- color: import("vue").Ref<string>;
5
- duration: import("vue").Ref<number>;
6
- closeCallback: import("vue").Ref<() => void>;
3
+ title: Ref<string>;
4
+ text: Ref<string>;
5
+ color: Ref<string>;
6
+ duration: Ref<number>;
7
+ closeCallback: Ref<() => void>;
7
8
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
8
9
  export default _default;
@@ -6,12 +6,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
6
6
  acceptButton?: boolean | undefined;
7
7
  acceptBtnText?: string | undefined;
8
8
  acceptBtnType?: ButtonType | undefined;
9
- cancelButton?: boolean | undefined;
10
9
  cancelBtnText?: string | undefined;
11
10
  cancelBtnType?: ButtonType | undefined;
12
- notClose?: boolean | undefined;
13
11
  notCloseBtn?: boolean | undefined;
14
12
  notCloseByBg?: boolean | undefined;
13
+ notClose?: boolean | undefined;
15
14
  preventCloseOnCancel?: boolean | undefined;
16
15
  width?: number | undefined;
17
16
  maxWidth?: number | undefined;
@@ -33,12 +32,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
33
32
  acceptButton?: boolean | undefined;
34
33
  acceptBtnText?: string | undefined;
35
34
  acceptBtnType?: ButtonType | undefined;
36
- cancelButton?: boolean | undefined;
37
35
  cancelBtnText?: string | undefined;
38
36
  cancelBtnType?: ButtonType | undefined;
39
- notClose?: boolean | undefined;
40
37
  notCloseBtn?: boolean | undefined;
41
38
  notCloseByBg?: boolean | undefined;
39
+ notClose?: boolean | undefined;
42
40
  preventCloseOnCancel?: boolean | undefined;
43
41
  width?: number | undefined;
44
42
  maxWidth?: number | undefined;
@@ -13,10 +13,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
13
13
  notClearable?: boolean | undefined;
14
14
  clearValue?: any;
15
15
  searchable?: string | boolean | undefined;
16
- minWidth?: string | undefined;
17
16
  width?: string | undefined;
18
- noBorder?: boolean | undefined;
17
+ minWidth?: string | undefined;
19
18
  layout?: Layout | undefined;
19
+ noBorder?: boolean | undefined;
20
20
  borderColor?: string | undefined;
21
21
  bgTransparent?: boolean | undefined;
22
22
  disabled?: boolean | undefined;
@@ -50,10 +50,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
50
50
  notClearable?: boolean | undefined;
51
51
  clearValue?: any;
52
52
  searchable?: string | boolean | undefined;
53
- minWidth?: string | undefined;
54
53
  width?: string | undefined;
55
- noBorder?: boolean | undefined;
54
+ minWidth?: string | undefined;
56
55
  layout?: Layout | undefined;
56
+ noBorder?: boolean | undefined;
57
57
  borderColor?: string | undefined;
58
58
  bgTransparent?: boolean | undefined;
59
59
  disabled?: boolean | undefined;
@@ -1,11 +1,12 @@
1
+ import { Icon, IconPack, Size } from '../types/cleek-options';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
3
  modelValue: boolean | 0 | 1;
3
4
  disabled?: boolean | undefined;
4
5
  outlined?: boolean | undefined;
5
6
  squared?: boolean | undefined;
6
- size?: string | undefined;
7
- icon?: string | [string, string] | undefined;
8
- iconPack?: string | undefined;
7
+ size?: Size | undefined;
8
+ icon?: Icon | undefined;
9
+ iconPack?: IconPack | undefined;
9
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
11
  "update:modelValue": (value: boolean | 0 | 1) => void;
11
12
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -13,9 +14,9 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
13
14
  disabled?: boolean | undefined;
14
15
  outlined?: boolean | undefined;
15
16
  squared?: boolean | undefined;
16
- size?: string | undefined;
17
- icon?: string | [string, string] | undefined;
18
- iconPack?: string | undefined;
17
+ size?: Size | undefined;
18
+ icon?: Icon | undefined;
19
+ iconPack?: IconPack | undefined;
19
20
  }>>> & {
20
21
  "onUpdate:modelValue"?: ((value: boolean | 0 | 1) => any) | undefined;
21
22
  }, {}>;
@@ -1,3 +1,4 @@
1
+ import { Align, Layout } from '../../../types/cleek-options';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
3
  currentPage: number;
3
4
  align: Align;
@@ -5,6 +5,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
5
5
  labelAlign?: Align | undefined;
6
6
  layout?: Layout | undefined;
7
7
  borderColor?: string | undefined;
8
+ placeholder?: string | undefined;
9
+ disabled?: boolean | undefined;
10
+ preventResize?: boolean | undefined;
11
+ resize?: "horizontal" | "vertical" | undefined;
8
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
13
  "update:modelValue": (value: string) => void;
10
14
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
@@ -13,6 +17,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
13
17
  labelAlign?: Align | undefined;
14
18
  layout?: Layout | undefined;
15
19
  borderColor?: string | undefined;
20
+ placeholder?: string | undefined;
21
+ disabled?: boolean | undefined;
22
+ preventResize?: boolean | undefined;
23
+ resize?: "horizontal" | "vertical" | undefined;
16
24
  }>>> & {
17
25
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
26
  }, {}>;