@bnsights/bbsf-utilities 1.0.56 → 1.0.57
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/README.md +6 -1
- package/bnsights-bbsf-utilities-1.0.57.tgz +0 -0
- package/esm2022/lib/shared/models/speech-language.mjs +1 -22
- package/fesm2022/bnsights-bbsf-utilities.mjs +0 -21
- package/fesm2022/bnsights-bbsf-utilities.mjs.map +1 -1
- package/lib/shared/models/speech-language.d.ts +2 -4
- package/package.json +1 -1
- package/bnsights-bbsf-utilities-1.0.56.tgz +0 -0
package/README.md
CHANGED
|
@@ -5,8 +5,13 @@ BBSF Utilities package is part of BBSF 3 packages. It has all the common service
|
|
|
5
5
|
For more info please visit [BBSF Controls documenation](https://bbsfadmin.bnsights.com/controls) or [BBSF documentation](https://bnsightsprojects.visualstudio.com/BBSF%203/_wiki/wikis/BBSF-3.wiki/65/BBSF-Documentation)
|
|
6
6
|
|
|
7
7
|
# Change Log
|
|
8
|
+
## 1.0.57 / 8-8-2024
|
|
9
|
+
===================
|
|
10
|
+
-Update speech language model
|
|
11
|
+
|
|
8
12
|
## 1.0.56 / 4-8-2024
|
|
9
|
-
|
|
13
|
+
===================
|
|
14
|
+
-Added SpeechRecognitionService
|
|
10
15
|
|
|
11
16
|
## 1.0.55 / 3-6-2024
|
|
12
17
|
===================
|
|
Binary file
|
|
@@ -1,24 +1,3 @@
|
|
|
1
1
|
export class LanguageDTO {
|
|
2
|
-
constructor(displayName, dialect, en, ar, nativeName, detectedLanguage, searching, elevating, translating, generatingAnswersForYou, isRTL = false) {
|
|
3
|
-
this.displayName = displayName;
|
|
4
|
-
this.dialect = dialect;
|
|
5
|
-
this.englishName = en;
|
|
6
|
-
this.arabicName = ar;
|
|
7
|
-
this.nativeName = nativeName;
|
|
8
|
-
this.detected = detectedLanguage;
|
|
9
|
-
this.searching = searching;
|
|
10
|
-
this.elevating = elevating;
|
|
11
|
-
this.translating = translating;
|
|
12
|
-
this.generatingAnswersForYou = generatingAnswersForYou;
|
|
13
|
-
this.isRTL = isRTL;
|
|
14
|
-
}
|
|
15
|
-
get name() {
|
|
16
|
-
return this.isCurrentCultureEnglish()
|
|
17
|
-
? `${this.englishName} [${this.nativeName}]`
|
|
18
|
-
: `${this.arabicName} [${this.nativeName}]`;
|
|
19
|
-
}
|
|
20
|
-
isCurrentCultureEnglish() {
|
|
21
|
-
return localStorage.getItem('language');
|
|
22
|
-
}
|
|
23
2
|
}
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BlZWNoLWxhbmd1YWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYmJzZi11dGlsaXRpZXMvc3JjL2xpYi9zaGFyZWQvbW9kZWxzL3NwZWVjaC1sYW5ndWFnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sV0FBVztDQWF2QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBMYW5ndWFnZURUTyB7XHJcbiAgbmFtZTogc3RyaW5nO1xyXG4gIHByZWZpeDogc3RyaW5nO1xyXG4gIGRpYWxlY3Q6IHN0cmluZztcclxuICBlbmdsaXNoTmFtZTogc3RyaW5nO1xyXG4gIGFyYWJpY05hbWU6IHN0cmluZztcclxuICBuYXRpdmVOYW1lOiBzdHJpbmc7XHJcbiAgZGV0ZWN0ZWQ6IHN0cmluZztcclxuICBzZWFyY2hpbmc6IHN0cmluZztcclxuICBlbGV2YXRpbmc6IHN0cmluZztcclxuICB0cmFuc2xhdGluZzogc3RyaW5nO1xyXG4gIGdlbmVyYXRpbmdBbnN3ZXJzRm9yWW91OiBzdHJpbmc7XHJcbiAgaXNSVEw6IGJvb2xlYW47XHJcbn1cclxuIl19
|
|
@@ -123,27 +123,6 @@ class DocumentOptionsModel {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
class LanguageDTO {
|
|
126
|
-
constructor(displayName, dialect, en, ar, nativeName, detectedLanguage, searching, elevating, translating, generatingAnswersForYou, isRTL = false) {
|
|
127
|
-
this.displayName = displayName;
|
|
128
|
-
this.dialect = dialect;
|
|
129
|
-
this.englishName = en;
|
|
130
|
-
this.arabicName = ar;
|
|
131
|
-
this.nativeName = nativeName;
|
|
132
|
-
this.detected = detectedLanguage;
|
|
133
|
-
this.searching = searching;
|
|
134
|
-
this.elevating = elevating;
|
|
135
|
-
this.translating = translating;
|
|
136
|
-
this.generatingAnswersForYou = generatingAnswersForYou;
|
|
137
|
-
this.isRTL = isRTL;
|
|
138
|
-
}
|
|
139
|
-
get name() {
|
|
140
|
-
return this.isCurrentCultureEnglish()
|
|
141
|
-
? `${this.englishName} [${this.nativeName}]`
|
|
142
|
-
: `${this.arabicName} [${this.nativeName}]`;
|
|
143
|
-
}
|
|
144
|
-
isCurrentCultureEnglish() {
|
|
145
|
-
return localStorage.getItem('language');
|
|
146
|
-
}
|
|
147
126
|
}
|
|
148
127
|
|
|
149
128
|
class ControlValidationService {
|