@webitel/ui-sdk 25.12.18 → 25.12.20
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/{install-C2KuD-Ju.js → install-BP2NAmPh.js} +10551 -10354
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +1 -1
- package/dist/ui-sdk.umd.cjs +289 -202
- package/dist/{vidstack-Bq6c3Bam-D0_vMVk3.js → vidstack-Bq6c3Bam-By-h4pxt.js} +2 -2
- package/dist/{vidstack-D2pY00kU-Cj-oWuMs.js → vidstack-D2pY00kU-Bml6Onhh.js} +2 -2
- package/dist/{vidstack-DDXt6fpN-DtxbXJ1d.js → vidstack-DDXt6fpN-wE95AmjG.js} +1 -1
- package/dist/{vidstack-D_-9AA6_-2RK8pK0l.js → vidstack-D_-9AA6_-DUm8Om9e.js} +1 -1
- package/dist/{vidstack-DqAw8m9J-C_yO4Cr1.js → vidstack-DqAw8m9J-8srXyTV9.js} +1 -1
- package/dist/{vidstack-audio-x_O2AIXV.js → vidstack-audio-D5ANgRcP.js} +2 -2
- package/dist/{vidstack-dash-CpZTFlFb.js → vidstack-dash-BMiYKP1Z.js} +3 -3
- package/dist/{vidstack-google-cast-B_GLL5iJ.js → vidstack-google-cast-B3NCt1Ok.js} +3 -3
- package/dist/{vidstack-hls-CtdEJskL.js → vidstack-hls-C8jJrINk.js} +3 -3
- package/dist/{vidstack-video-CGOgyd6M.js → vidstack-video-DLp9G-KP.js} +2 -2
- package/dist/{vidstack-vimeo-Bxcv38Va.js → vidstack-vimeo-W-AYa33h.js} +3 -3
- package/dist/{vidstack-youtube-B1oVxXZD.js → vidstack-youtube-nAAnRjgH.js} +2 -2
- package/package.json +2 -2
- package/src/components/wt-textarea/wt-textarea.vue +109 -198
- package/src/modules/AgentStatusSelect/components/_internals/wt-cc-pause-cause-popup.vue +1 -2
- package/src/modules/AuditForm/components/audit-form.vue +2 -2
- package/src/modules/Userinfo/v2/stores/settingsStore.ts +9 -4
- package/src/plugins/primevue/primevue.plugin.js +3 -1
- package/src/plugins/primevue/theme/components/components.js +2 -0
- package/src/plugins/primevue/theme/components/textarea/textarea.js +14 -0
- package/types/components/wt-textarea/wt-textarea.vue.d.ts +96 -185
- package/types/plugins/primevue/theme/components/components.d.ts +2 -0
- package/types/plugins/primevue/theme/components/textarea/textarea.d.ts +74 -0
|
@@ -1,213 +1,124 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* Current textarea value (`v-model`)
|
|
4
|
-
*/
|
|
5
|
-
value: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
1
|
+
import type { TextareaProps } from 'primevue/textarea';
|
|
2
|
+
interface Props extends /* @vue-ignore */ TextareaProps {
|
|
9
3
|
/**
|
|
10
4
|
* textarea label
|
|
11
5
|
*/
|
|
12
|
-
label
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
6
|
+
label?: string;
|
|
16
7
|
/**
|
|
17
8
|
* textarea placeholder
|
|
18
9
|
*/
|
|
19
|
-
placeholder
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
};
|
|
10
|
+
placeholder?: string;
|
|
22
11
|
/**
|
|
23
|
-
* Native textarea
|
|
12
|
+
* Native textarea readonly attribute
|
|
24
13
|
*/
|
|
25
|
-
readonly
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
description: string;
|
|
29
|
-
};
|
|
14
|
+
readonly?: boolean;
|
|
30
15
|
/**
|
|
31
16
|
* Native textarea disabled attribute
|
|
32
17
|
*/
|
|
33
|
-
disabled
|
|
34
|
-
|
|
35
|
-
default: boolean;
|
|
36
|
-
description: string;
|
|
37
|
-
};
|
|
38
|
-
required: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
required?: boolean;
|
|
42
20
|
/**
|
|
43
21
|
* textarea name
|
|
44
22
|
*/
|
|
45
|
-
name
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
23
|
+
name?: string;
|
|
49
24
|
/**
|
|
50
25
|
* Number of rows in textarea
|
|
51
26
|
*/
|
|
52
|
-
rows
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
labelProps: {
|
|
58
|
-
type: ObjectConstructor;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
autoresize: {
|
|
62
|
-
type: BooleanConstructor;
|
|
63
|
-
default: boolean;
|
|
64
|
-
description: string;
|
|
65
|
-
};
|
|
66
|
-
}>, {}, {}, {
|
|
67
|
-
listeners(): {
|
|
68
|
-
input: (event: any) => void;
|
|
69
|
-
keypress: (event: any) => void;
|
|
70
|
-
apply(this: Function, thisArg: any, argArray?: any): any;
|
|
71
|
-
call(this: Function, thisArg: any, ...argArray: any[]): any;
|
|
72
|
-
bind(this: Function, thisArg: any, ...argArray: any[]): any;
|
|
73
|
-
toString(): string;
|
|
74
|
-
prototype: any;
|
|
75
|
-
length: number;
|
|
76
|
-
arguments: any;
|
|
77
|
-
caller: Function;
|
|
27
|
+
rows?: number;
|
|
28
|
+
labelProps?: Record<string, any>;
|
|
29
|
+
autoresize?: boolean;
|
|
30
|
+
v?: any;
|
|
31
|
+
customValidators?: Array<{
|
|
78
32
|
name: string;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
* textarea name
|
|
145
|
-
*/
|
|
146
|
-
name: {
|
|
147
|
-
type: StringConstructor;
|
|
148
|
-
default: string;
|
|
149
|
-
};
|
|
150
|
-
/**
|
|
151
|
-
* Number of rows in textarea
|
|
152
|
-
*/
|
|
153
|
-
rows: {
|
|
154
|
-
type: NumberConstructor;
|
|
155
|
-
default: number;
|
|
156
|
-
description: string;
|
|
157
|
-
};
|
|
158
|
-
labelProps: {
|
|
159
|
-
type: ObjectConstructor;
|
|
160
|
-
description: string;
|
|
161
|
-
};
|
|
162
|
-
autoresize: {
|
|
163
|
-
type: BooleanConstructor;
|
|
164
|
-
default: boolean;
|
|
165
|
-
description: string;
|
|
166
|
-
};
|
|
167
|
-
}>> & Readonly<{
|
|
168
|
-
onInput?: (...args: any[]) => any;
|
|
33
|
+
text: string;
|
|
34
|
+
}>;
|
|
35
|
+
}
|
|
36
|
+
type __VLS_Props = Props;
|
|
37
|
+
declare const model: import("vue").ModelRef<string, string, string, string>;
|
|
38
|
+
declare const emit: (event: "enter" | "blur" | "keydown" | "paste", ...args: any[]) => void;
|
|
39
|
+
declare const isScrollHidden: import("vue").Ref<boolean, boolean>;
|
|
40
|
+
declare const isValidation: import("vue").ComputedRef<boolean>, invalid: import("vue").ComputedRef<boolean>, validationText: import("vue").ComputedRef<string>;
|
|
41
|
+
declare const handleKeypress: (event: KeyboardEvent) => void;
|
|
42
|
+
declare const handleInput: () => void;
|
|
43
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
44
|
+
modelValue?: string;
|
|
45
|
+
};
|
|
46
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
47
|
+
declare var __VLS_5: {
|
|
48
|
+
label: string;
|
|
49
|
+
};
|
|
50
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
51
|
+
label?: (props: typeof __VLS_5) => any;
|
|
52
|
+
}>;
|
|
53
|
+
declare const __VLS_self: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
54
|
+
model: typeof model;
|
|
55
|
+
emit: typeof emit;
|
|
56
|
+
isScrollHidden: typeof isScrollHidden;
|
|
57
|
+
isValidation: typeof isValidation;
|
|
58
|
+
invalid: typeof invalid;
|
|
59
|
+
validationText: typeof validationText;
|
|
60
|
+
handleKeypress: typeof handleKeypress;
|
|
61
|
+
handleInput: typeof handleInput;
|
|
62
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
|
+
enter: (...args: any[]) => void;
|
|
64
|
+
blur: (...args: any[]) => void;
|
|
65
|
+
keydown: (...args: any[]) => void;
|
|
66
|
+
paste: (...args: any[]) => void;
|
|
67
|
+
"update:modelValue": (value: string) => void;
|
|
68
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
69
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
70
|
+
onEnter?: (...args: any[]) => any;
|
|
71
|
+
onBlur?: (...args: any[]) => any;
|
|
72
|
+
onKeydown?: (...args: any[]) => any;
|
|
73
|
+
onPaste?: (...args: any[]) => any;
|
|
74
|
+
}>, {
|
|
75
|
+
disabled: boolean;
|
|
76
|
+
required: boolean;
|
|
77
|
+
name: string;
|
|
78
|
+
label: string;
|
|
79
|
+
v: any;
|
|
80
|
+
placeholder: string;
|
|
81
|
+
labelProps: Record<string, any>;
|
|
82
|
+
customValidators: Array<{
|
|
83
|
+
name: string;
|
|
84
|
+
text: string;
|
|
85
|
+
}>;
|
|
86
|
+
readonly: boolean;
|
|
87
|
+
rows: number;
|
|
88
|
+
autoresize: boolean;
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
91
|
+
enter: (...args: any[]) => void;
|
|
92
|
+
blur: (...args: any[]) => void;
|
|
93
|
+
keydown: (...args: any[]) => void;
|
|
94
|
+
paste: (...args: any[]) => void;
|
|
95
|
+
"update:modelValue": (value: string) => void;
|
|
96
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
97
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
169
98
|
onEnter?: (...args: any[]) => any;
|
|
99
|
+
onBlur?: (...args: any[]) => any;
|
|
100
|
+
onKeydown?: (...args: any[]) => any;
|
|
101
|
+
onPaste?: (...args: any[]) => any;
|
|
170
102
|
}>, {
|
|
171
103
|
disabled: boolean;
|
|
172
|
-
value: string;
|
|
173
104
|
required: boolean;
|
|
174
105
|
name: string;
|
|
175
106
|
label: string;
|
|
107
|
+
v: any;
|
|
108
|
+
placeholder: string;
|
|
109
|
+
labelProps: Record<string, any>;
|
|
110
|
+
customValidators: Array<{
|
|
111
|
+
name: string;
|
|
112
|
+
text: string;
|
|
113
|
+
}>;
|
|
176
114
|
readonly: boolean;
|
|
177
115
|
rows: number;
|
|
178
116
|
autoresize: boolean;
|
|
179
|
-
}, {}, {
|
|
180
|
-
|
|
181
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
182
|
-
disabled?: boolean;
|
|
183
|
-
invalid?: boolean;
|
|
184
|
-
required?: boolean;
|
|
185
|
-
hint?: string;
|
|
186
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
187
|
-
P: {};
|
|
188
|
-
B: {};
|
|
189
|
-
D: {};
|
|
190
|
-
C: {};
|
|
191
|
-
M: {};
|
|
192
|
-
Defaults: {};
|
|
193
|
-
}, Readonly<{
|
|
194
|
-
disabled?: boolean;
|
|
195
|
-
invalid?: boolean;
|
|
196
|
-
required?: boolean;
|
|
197
|
-
hint?: string;
|
|
198
|
-
}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
199
|
-
__isFragment?: never;
|
|
200
|
-
__isTeleport?: never;
|
|
201
|
-
__isSuspense?: never;
|
|
202
|
-
} & import("vue").ComponentOptionsBase<Readonly<{
|
|
203
|
-
disabled?: boolean;
|
|
204
|
-
invalid?: boolean;
|
|
205
|
-
required?: boolean;
|
|
206
|
-
hint?: string;
|
|
207
|
-
}> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
208
|
-
$slots: {
|
|
209
|
-
default?: (props: {}) => any;
|
|
210
|
-
};
|
|
211
|
-
});
|
|
212
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
213
119
|
export default _default;
|
|
120
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
121
|
+
new (): {
|
|
122
|
+
$slots: S;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
@@ -6,6 +6,7 @@ declare namespace components {
|
|
|
6
6
|
export { button };
|
|
7
7
|
export { chip };
|
|
8
8
|
export { checkbox };
|
|
9
|
+
export { textarea };
|
|
9
10
|
export { switcher as toggleswitch };
|
|
10
11
|
export { divider };
|
|
11
12
|
export { image };
|
|
@@ -24,6 +25,7 @@ import breadcrumb from './breadcrumb/breadcrumb.js';
|
|
|
24
25
|
import button from './button/button.js';
|
|
25
26
|
import chip from './chip/chip.js';
|
|
26
27
|
import checkbox from './checkbox/checkbox.js';
|
|
28
|
+
import textarea from './textarea/textarea.js';
|
|
27
29
|
import switcher from './switcher/switcher.js';
|
|
28
30
|
import divider from './divider/divider.js';
|
|
29
31
|
import image from './image/image.js';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export default textarea;
|
|
2
|
+
declare const textarea: {
|
|
3
|
+
colorScheme: {
|
|
4
|
+
light: {
|
|
5
|
+
root: {
|
|
6
|
+
background: string;
|
|
7
|
+
disabledBackground: string;
|
|
8
|
+
filledBackground: string;
|
|
9
|
+
filledHoverBackground: string;
|
|
10
|
+
filledFocusBackground: string;
|
|
11
|
+
borderColor: string;
|
|
12
|
+
hoverBorderColor: string;
|
|
13
|
+
focusBorderColor: string;
|
|
14
|
+
invalidBorderColor: string;
|
|
15
|
+
color: string;
|
|
16
|
+
disabledColor: string;
|
|
17
|
+
placeholderColor: string;
|
|
18
|
+
invalidPlaceholderColor: string;
|
|
19
|
+
shadow: string;
|
|
20
|
+
focusRing: {
|
|
21
|
+
color: string;
|
|
22
|
+
shadow: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
dark: {
|
|
27
|
+
root: {
|
|
28
|
+
background: string;
|
|
29
|
+
disabledBackground: string;
|
|
30
|
+
filledBackground: string;
|
|
31
|
+
filledHoverBackground: string;
|
|
32
|
+
filledFocusBackground: string;
|
|
33
|
+
borderColor: string;
|
|
34
|
+
hoverBorderColor: string;
|
|
35
|
+
focusBorderColor: string;
|
|
36
|
+
invalidBorderColor: string;
|
|
37
|
+
color: string;
|
|
38
|
+
disabledColor: string;
|
|
39
|
+
placeholderColor: string;
|
|
40
|
+
invalidPlaceholderColor: string;
|
|
41
|
+
shadow: string;
|
|
42
|
+
focusRing: {
|
|
43
|
+
color: string;
|
|
44
|
+
shadow: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
css: ({ dt }: {
|
|
50
|
+
dt: any;
|
|
51
|
+
}) => string;
|
|
52
|
+
root: {
|
|
53
|
+
paddingX: string;
|
|
54
|
+
paddingY: string;
|
|
55
|
+
borderRadius: string;
|
|
56
|
+
minHeight: string;
|
|
57
|
+
focusRing: {
|
|
58
|
+
width: string;
|
|
59
|
+
style: string;
|
|
60
|
+
offset: string;
|
|
61
|
+
};
|
|
62
|
+
transitionDuration: string;
|
|
63
|
+
sm: {
|
|
64
|
+
fontSize: string;
|
|
65
|
+
paddingX: string;
|
|
66
|
+
paddingY: string;
|
|
67
|
+
};
|
|
68
|
+
lg: {
|
|
69
|
+
fontSize: string;
|
|
70
|
+
paddingX: string;
|
|
71
|
+
paddingY: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|