@webitel/ui-sdk 24.12.142 → 24.12.144
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/CHANGELOG.md +12 -0
- package/dist/ui-sdk.css +1 -1
- package/dist/ui-sdk.js +20 -4
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/wt-empty/wt-empty.vue +18 -0
- package/src/locale/en/en.js +1 -1
- package/src/locale/ru/ru.js +1 -1
- package/src/locale/ua/ua.js +1 -1
package/package.json
CHANGED
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
<wt-button
|
|
99
99
|
v-if="primaryActionText"
|
|
100
100
|
:size="buttonSize"
|
|
101
|
+
:disabled="disabledPrimaryAction"
|
|
101
102
|
color="primary"
|
|
102
103
|
@click="() => onPrimaryClick()"
|
|
103
104
|
>
|
|
@@ -115,6 +116,7 @@
|
|
|
115
116
|
<wt-button
|
|
116
117
|
v-if="secondaryActionText"
|
|
117
118
|
:size="buttonSize"
|
|
119
|
+
:disabled="disabledSecondaryAction"
|
|
118
120
|
color="secondary"
|
|
119
121
|
@click="() => onSecondaryClick()"
|
|
120
122
|
>
|
|
@@ -183,6 +185,22 @@ const props = defineProps({
|
|
|
183
185
|
type: [String, null],
|
|
184
186
|
default: '',
|
|
185
187
|
},
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* disable primary action button while still showing its text. useful for access control
|
|
191
|
+
*/
|
|
192
|
+
disabledPrimaryAction: {
|
|
193
|
+
type: Boolean,
|
|
194
|
+
default: false,
|
|
195
|
+
},
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* disable primary action button while still showing its text. useful for access control
|
|
199
|
+
*/
|
|
200
|
+
disabledSecondaryAction: {
|
|
201
|
+
type: Boolean,
|
|
202
|
+
default: false,
|
|
203
|
+
},
|
|
186
204
|
});
|
|
187
205
|
|
|
188
206
|
const emit = defineEmits([
|
package/src/locale/en/en.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
package/src/locale/ua/ua.js
CHANGED