@webitel/ui-sdk 25.8.17 → 25.8.19
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.
- package/dist/img/sprite/index.js +1 -1
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +6306 -5693
- package/dist/ui-sdk.umd.cjs +104 -104
- package/package.json +3 -3
- package/src/components/wt-button/wt-button.vue +66 -236
- package/src/components/wt-chip/wt-chip.scss +1 -0
- package/src/components/wt-navigation-bar/wt-navigation-bar.vue +14 -12
- package/src/css/main.scss +0 -8
- package/src/enums/ButtonColor/ButtonColor.ts +1 -0
- package/src/enums/WebitelApplications/AdminSections.js +1 -0
- package/src/modules/AgentStatusSelect/api/pause-cause.js +4 -3
- package/src/plugins/primevue/primevue.plugin.js +1 -1
- package/src/plugins/primevue/theme/components/button/button.js +4 -98
- package/src/plugins/primevue/theme/components/popover/popover.js +4 -7
- package/src/plugins/primevue/theme/components/tooltip/tooltip.js +4 -5
- package/src/plugins/primevue/theme/webitel-theme.js +1 -1
- package/types/components/wt-button/wt-button.vue.d.ts +56 -104
- package/types/components/wt-popover/wt-popover.vue.d.ts +4 -4
- package/types/components/wt-rounded-action/wt-rounded-action.vue.d.ts +2 -2
- package/types/components/wt-slider/wt-slider.vue.d.ts +2 -2
- package/types/enums/ButtonColor/ButtonColor.d.ts +1 -0
- package/types/plugins/primevue/theme/components/button/button.d.ts +515 -135
- package/types/plugins/primevue/theme/components/popover/popover.d.ts +20 -9
- package/types/plugins/primevue/theme/components/tooltip/tooltip.d.ts +22 -7
- package/src/plugins/primevue/theme/semantic/color-scheme/color-schema.js +0 -16
- package/src/plugins/primevue/theme/semantic/color-scheme/dark-color.js +0 -198
- package/src/plugins/primevue/theme/semantic/color-scheme/light-color.js +0 -198
- package/src/plugins/primevue/theme/semantic/color-scheme/palette.js +0 -516
- package/src/plugins/primevue/theme/semantic/semantic.js +0 -7
- package/types/plugins/primevue/theme/semantic/color-scheme/color-schema.d.ts +0 -1189
- package/types/plugins/primevue/theme/semantic/color-scheme/dark-color.d.ts +0 -162
- package/types/plugins/primevue/theme/semantic/color-scheme/light-color.d.ts +0 -162
- package/types/plugins/primevue/theme/semantic/color-scheme/palette.d.ts +0 -435
- package/types/plugins/primevue/theme/semantic/semantic.d.ts +0 -5
|
@@ -1,113 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*/
|
|
37
|
-
widthByContent: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
default: boolean;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
|
|
43
|
-
*/
|
|
44
|
-
containsIcon: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
description: string;
|
|
48
|
-
};
|
|
49
|
-
}>, {}, {
|
|
50
|
-
showLoader: boolean;
|
|
51
|
-
}, {
|
|
52
|
-
colorClass(): string;
|
|
53
|
-
loaderColor(): "on-dark";
|
|
54
|
-
}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
|
-
/**
|
|
56
|
-
* @values 'primary', 'secondary', 'success', 'error', 'transfer', 'job', 'info'
|
|
57
|
-
* @example <wt-button color="success"></wt-button>
|
|
58
|
-
*/
|
|
59
|
-
color: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
disabled: {
|
|
64
|
-
type: BooleanConstructor;
|
|
65
|
-
default: boolean;
|
|
66
|
-
};
|
|
67
|
-
loading: {
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
71
|
-
/**
|
|
72
|
-
* @values 'sm', 'md'
|
|
73
|
-
* @example <wt-button size="sm"></wt-button>
|
|
74
|
-
*/
|
|
75
|
-
size: {
|
|
76
|
-
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
|
-
options: string[];
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Stretches button to all available width
|
|
82
|
-
*/
|
|
83
|
-
wide: {
|
|
84
|
-
type: BooleanConstructor;
|
|
85
|
-
default: boolean;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Shrinks button to content width
|
|
89
|
-
*/
|
|
90
|
-
widthByContent: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* sets wt-button line-height to 0 to prevent height changing: [stack overflow](https://stackoverflow.com/a/11126701)
|
|
96
|
-
*/
|
|
97
|
-
containsIcon: {
|
|
98
|
-
type: BooleanConstructor;
|
|
99
|
-
default: boolean;
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
}>> & Readonly<{
|
|
1
|
+
import type { ButtonProps } from 'primevue';
|
|
2
|
+
import { ButtonColor, ComponentSize } from '../../enums';
|
|
3
|
+
declare const primevueSizeMap: {
|
|
4
|
+
sm: string;
|
|
5
|
+
md: string;
|
|
6
|
+
};
|
|
7
|
+
interface WtButtonProps extends /* @vue-ignore */ ButtonProps {
|
|
8
|
+
color?: ButtonColor;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
size?: ComponentSize;
|
|
12
|
+
wide?: boolean;
|
|
13
|
+
widthByContent?: boolean;
|
|
14
|
+
containsIcon?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const emit: (event: "click", ...args: any[]) => void;
|
|
17
|
+
declare const attrs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
declare const showLoader: import("vue").Ref<boolean, boolean>;
|
|
21
|
+
declare const loaderColor: import("vue").ComputedRef<string>;
|
|
22
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
23
|
+
declare var __VLS_14: {};
|
|
24
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
25
|
+
default?: (props: typeof __VLS_14) => any;
|
|
26
|
+
}>;
|
|
27
|
+
declare const __VLS_self: import("vue").DefineComponent<WtButtonProps, {
|
|
28
|
+
primevueSizeMap: typeof primevueSizeMap;
|
|
29
|
+
emit: typeof emit;
|
|
30
|
+
attrs: typeof attrs;
|
|
31
|
+
showLoader: typeof showLoader;
|
|
32
|
+
loaderColor: typeof loaderColor;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
click: (...args: any[]) => void;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<WtButtonProps> & Readonly<{
|
|
103
36
|
onClick?: (...args: any[]) => any;
|
|
104
37
|
}>, {
|
|
105
|
-
color:
|
|
106
|
-
size:
|
|
38
|
+
color: ButtonColor;
|
|
39
|
+
size: ComponentSize;
|
|
107
40
|
disabled: boolean;
|
|
108
41
|
wide: boolean;
|
|
109
42
|
loading: boolean;
|
|
110
43
|
widthByContent: boolean;
|
|
111
44
|
containsIcon: boolean;
|
|
112
45
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
|
+
declare const __VLS_component: import("vue").DefineComponent<WtButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
click: (...args: any[]) => void;
|
|
48
|
+
}, string, import("vue").PublicProps, Readonly<WtButtonProps> & Readonly<{
|
|
49
|
+
onClick?: (...args: any[]) => any;
|
|
50
|
+
}>, {
|
|
51
|
+
color: ButtonColor;
|
|
52
|
+
size: ComponentSize;
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
wide: boolean;
|
|
55
|
+
loading: boolean;
|
|
56
|
+
widthByContent: boolean;
|
|
57
|
+
containsIcon: boolean;
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
113
60
|
export default _default;
|
|
61
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -19,12 +19,12 @@ declare const __VLS_self: import("vue").DefineComponent<PopoverProps, {
|
|
|
19
19
|
onShow?: () => any;
|
|
20
20
|
}>, {
|
|
21
21
|
dt: import("@primevue/core").DesignToken<any>;
|
|
22
|
+
pt: any;
|
|
23
|
+
ptOptions: import("primevue/passthrough").PassThroughOptions;
|
|
22
24
|
appendTo: import("@primevue/core").HintedString<"body" | "self"> | undefined | HTMLElement;
|
|
23
25
|
baseZIndex: number;
|
|
24
26
|
autoZIndex: boolean;
|
|
25
27
|
breakpoints: import("primevue").PopoverBreakpoints;
|
|
26
|
-
pt: any;
|
|
27
|
-
ptOptions: import("primevue/passthrough").PassThroughOptions;
|
|
28
28
|
closeOnEscape: boolean | undefined;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {
|
|
@@ -39,12 +39,12 @@ declare const __VLS_component: import("vue").DefineComponent<PopoverProps, {
|
|
|
39
39
|
onShow?: () => any;
|
|
40
40
|
}>, {
|
|
41
41
|
dt: import("@primevue/core").DesignToken<any>;
|
|
42
|
+
pt: any;
|
|
43
|
+
ptOptions: import("primevue/passthrough").PassThroughOptions;
|
|
42
44
|
appendTo: import("@primevue/core").HintedString<"body" | "self"> | undefined | HTMLElement;
|
|
43
45
|
baseZIndex: number;
|
|
44
46
|
autoZIndex: boolean;
|
|
45
47
|
breakpoints: import("primevue").PopoverBreakpoints;
|
|
46
|
-
pt: any;
|
|
47
|
-
ptOptions: import("primevue/passthrough").PassThroughOptions;
|
|
48
48
|
closeOnEscape: boolean | undefined;
|
|
49
49
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
50
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -7,8 +7,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
7
7
|
disabled: boolean;
|
|
8
8
|
wide: boolean;
|
|
9
9
|
loading: boolean;
|
|
10
|
-
iconPrefix: string;
|
|
11
10
|
rounded: boolean;
|
|
11
|
+
iconPrefix: string;
|
|
12
12
|
$props: {
|
|
13
13
|
readonly color?: string;
|
|
14
14
|
readonly icon?: string;
|
|
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
17
17
|
readonly disabled?: boolean;
|
|
18
18
|
readonly wide?: boolean;
|
|
19
19
|
readonly loading?: boolean;
|
|
20
|
-
readonly iconPrefix?: string;
|
|
21
20
|
readonly rounded?: boolean;
|
|
21
|
+
readonly iconPrefix?: string;
|
|
22
22
|
};
|
|
23
23
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
24
|
export default _default;
|
|
@@ -66,10 +66,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
}>, {
|
|
67
67
|
value: number;
|
|
68
68
|
disabled: boolean;
|
|
69
|
+
step: number;
|
|
70
|
+
vertical: boolean;
|
|
69
71
|
height: number;
|
|
70
72
|
max: number;
|
|
71
73
|
min: number;
|
|
72
|
-
vertical: boolean;
|
|
73
|
-
step: number;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
75
|
export default _default;
|