@webitel/ui-sdk 23.9.1 → 23.9.3
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.common.js +8 -1
- package/dist/ui-sdk.common.js.map +1 -1
- package/dist/ui-sdk.umd.js +8 -1
- package/dist/ui-sdk.umd.js.map +1 -1
- package/dist/ui-sdk.umd.min.js +1 -1
- package/dist/ui-sdk.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/wt-select/mixins/multiselectMixin.js +9 -1
- package/src/locale/en/en.js +1 -0
- package/src/locale/ru/ru.js +1 -0
- package/src/locale/ua/ua.js +1 -0
- package/src/modules/AuditForm/components/audit-form-question-read-wrapper.vue +10 -0
package/package.json
CHANGED
|
@@ -144,8 +144,16 @@ export default {
|
|
|
144
144
|
tag() {},
|
|
145
145
|
},
|
|
146
146
|
|
|
147
|
+
watch: {
|
|
148
|
+
disabled() {
|
|
149
|
+
// load options if becomes enabled
|
|
150
|
+
if (!this.disabled) this.fetchOptions();
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
|
|
147
154
|
created() {
|
|
148
|
-
|
|
155
|
+
// load options only if not disabled
|
|
156
|
+
if (!this.disabled) this.fetchOptions();
|
|
149
157
|
this.fetchOptions = debounce(this.fetchOptions, 500);
|
|
150
158
|
},
|
|
151
159
|
};
|
package/src/locale/en/en.js
CHANGED
package/src/locale/ru/ru.js
CHANGED
package/src/locale/ua/ua.js
CHANGED
|
@@ -30,6 +30,11 @@
|
|
|
30
30
|
mode="read"
|
|
31
31
|
@change:result="!readonly && emit('change:result', $event)"
|
|
32
32
|
></component>
|
|
33
|
+
<div
|
|
34
|
+
v-show="isResult"
|
|
35
|
+
class="audit-form-question--clear"
|
|
36
|
+
@click="emit('change:result', {})"
|
|
37
|
+
>{{ $t('webitelUI.auditForm.clearSelection') }}</div>
|
|
33
38
|
</section>
|
|
34
39
|
</article>
|
|
35
40
|
</template>
|
|
@@ -119,4 +124,9 @@ const isResult = computed(() => !isEmpty(props.result));
|
|
|
119
124
|
}
|
|
120
125
|
}
|
|
121
126
|
}
|
|
127
|
+
.audit-form-question--clear {
|
|
128
|
+
margin-top: var(--spacing-sm);;
|
|
129
|
+
cursor: pointer;
|
|
130
|
+
color: var(--link-color);
|
|
131
|
+
}
|
|
122
132
|
</style>
|