@webitel/ui-sdk 25.8.73 → 25.10.1
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/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +8 -3
- package/dist/ui-sdk.umd.cjs +39 -39
- package/package.json +1 -1
- package/src/components/on-demand/wt-display-chip-items/wt-display-chip-items.vue +21 -21
- package/src/components/wt-context-menu/wt-context-menu.vue +5 -0
- package/src/components/wt-popover/wt-popover.vue +0 -1
- package/src/plugins/primevue/primevue.scss +1 -0
- package/src/plugins/primevue/theme/components/popover/popover.scss +5 -0
- package/types/components/wt-context-menu/wt-context-menu.vue.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-sdk",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.10.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && npm run build && (npm run build:types || true) && (npm run lint:fix || true) && npm run publish-lib",
|
|
@@ -6,28 +6,28 @@
|
|
|
6
6
|
{{ displayText(firstItemName) }}
|
|
7
7
|
</slot>
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
9
|
+
<wt-popover>
|
|
10
|
+
<template #activator="{ toggle }">
|
|
11
|
+
<slot name="activator" :toggle="toggle">
|
|
12
|
+
<div v-if="displayList.length" @click="toggle">
|
|
13
|
+
<wt-chip>
|
|
14
|
+
+{{ displayList.length }}
|
|
15
|
+
</wt-chip>
|
|
16
|
+
</div>
|
|
17
|
+
</slot>
|
|
18
|
+
</template>
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
<template #default>
|
|
21
|
+
<slot name="items" :items="displayList">
|
|
22
|
+
<div
|
|
23
|
+
v-for="({ name, id }) of displayList"
|
|
24
|
+
:key="id"
|
|
25
|
+
>
|
|
26
|
+
{{ name }}
|
|
27
|
+
</div>
|
|
28
|
+
</slot>
|
|
29
|
+
</template>
|
|
30
|
+
</wt-popover>
|
|
31
31
|
</div>
|
|
32
32
|
</template>
|
|
33
33
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
<wt-popover
|
|
4
4
|
:visible="visible"
|
|
5
5
|
:disabled="disabled"
|
|
6
|
+
:pt="pt"
|
|
6
7
|
unstyled
|
|
7
8
|
placement="bottom-end"
|
|
8
9
|
class="wt-context-menu__floating-wrapper"
|
|
@@ -71,6 +72,10 @@ const props = defineProps({
|
|
|
71
72
|
type: Boolean,
|
|
72
73
|
default: false,
|
|
73
74
|
},
|
|
75
|
+
pt: {
|
|
76
|
+
type: Object,
|
|
77
|
+
default: () => null,
|
|
78
|
+
},
|
|
74
79
|
tooltipTriggers: {
|
|
75
80
|
type: Array,
|
|
76
81
|
default: () => ['click', 'touch'],
|
|
@@ -12,6 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
12
12
|
width: string;
|
|
13
13
|
minWidth: string;
|
|
14
14
|
maxWidth: string;
|
|
15
|
+
pt?: Record<string, any>;
|
|
15
16
|
$props: {
|
|
16
17
|
readonly options?: unknown[];
|
|
17
18
|
readonly disabled?: boolean;
|
|
@@ -20,6 +21,7 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
|
20
21
|
readonly width?: string;
|
|
21
22
|
readonly minWidth?: string;
|
|
22
23
|
readonly maxWidth?: string;
|
|
24
|
+
readonly pt?: Record<string, any>;
|
|
23
25
|
};
|
|
24
26
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
27
|
type __VLS_Slots = {
|