File tree 5 files changed +26
-26
lines changed
5 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -471,13 +471,13 @@ var Library = (function (_super) {
471
471
Library . prototype . logPrefix = function ( ) {
472
472
return 'Library("' + this . name + '")' ;
473
473
} ;
474
+ Library . RouteTypes = {
475
+ GlobalAction : 'GlobalAction' ,
476
+ StackAction : 'StackAction' ,
477
+ ActiveDialog : 'ActiveDialog'
478
+ } ;
474
479
return Library ;
475
480
} ( events_1 . EventEmitter ) ) ;
476
- Library . RouteTypes = {
477
- GlobalAction : 'GlobalAction' ,
478
- StackAction : 'StackAction' ,
479
- ActiveDialog : 'ActiveDialog'
480
- } ;
481
481
exports . Library = Library ;
482
482
exports . systemLib = new Library ( consts . Library . system ) ;
483
483
exports . systemLib . localePath ( path . join ( __dirname , '../locale/' ) ) ;
Original file line number Diff line number Diff line change @@ -249,19 +249,19 @@ var LegacyPrompts = (function (_super) {
249
249
}
250
250
}
251
251
} ;
252
+ LegacyPrompts . options = {
253
+ recognizer : new SimplePromptRecognizer ( ) ,
254
+ promptAfterAction : true
255
+ } ;
256
+ LegacyPrompts . defaultRetryPrompt = {
257
+ text : "default_text" ,
258
+ number : "default_number" ,
259
+ confirm : "default_confirm" ,
260
+ choice : "default_choice" ,
261
+ time : "default_time" ,
262
+ attachment : "default_file"
263
+ } ;
252
264
return LegacyPrompts ;
253
265
} ( Dialog_1 . Dialog ) ) ;
254
- LegacyPrompts . options = {
255
- recognizer : new SimplePromptRecognizer ( ) ,
256
- promptAfterAction : true
257
- } ;
258
- LegacyPrompts . defaultRetryPrompt = {
259
- text : "default_text" ,
260
- number : "default_number" ,
261
- confirm : "default_confirm" ,
262
- choice : "default_choice" ,
263
- time : "default_time" ,
264
- attachment : "default_file"
265
- } ;
266
266
exports . LegacyPrompts = LegacyPrompts ;
267
267
Library_1 . systemLib . dialog ( 'BotBuilder:Prompts' , new LegacyPrompts ( ) ) ;
Original file line number Diff line number Diff line change @@ -211,11 +211,11 @@ var EntityRecognizer = (function () {
211
211
return [ choices . toString ( ) ] ;
212
212
}
213
213
} ;
214
+ EntityRecognizer . dateExp = / ^ \d { 4 } - \d { 2 } - \d { 2 } / i;
215
+ EntityRecognizer . yesExp = / ^ ( 1 | y | y e s | y e p | s u r e | o k | t r u e ) ( \W | $ ) / i;
216
+ EntityRecognizer . noExp = / ^ ( 2 | n | n o | n o p e | n o t | f a l s e ) ( \W | $ ) / i;
217
+ EntityRecognizer . numberExp = / [ + - ] ? (?: \d + \. ? \d * | \d * \. ? \d + ) / ;
218
+ EntityRecognizer . ordinalWords = 'first|second|third|fourth|fifth|sixth|seventh|eigth|ninth|tenth' ;
214
219
return EntityRecognizer ;
215
220
} ( ) ) ;
216
- EntityRecognizer . dateExp = / ^ \d { 4 } - \d { 2 } - \d { 2 } / i;
217
- EntityRecognizer . yesExp = / ^ ( 1 | y | y e s | y e p | s u r e | o k | t r u e ) ( \W | $ ) / i;
218
- EntityRecognizer . noExp = / ^ ( 2 | n | n o | n o p e | n o t | f a l s e ) ( \W | $ ) / i;
219
- EntityRecognizer . numberExp = / [ + - ] ? (?: \d + \. ? \d * | \d * \. ? \d + ) / ;
220
- EntityRecognizer . ordinalWords = 'first|second|third|fourth|fifth|sixth|seventh|eigth|ninth|tenth' ;
221
221
exports . EntityRecognizer = EntityRecognizer ;
Original file line number Diff line number Diff line change @@ -263,11 +263,11 @@ var PromptRecognizers = (function () {
263
263
if ( min === void 0 ) { min = 0.5 ; }
264
264
return Math . min ( min + ( entity . length / utterance . length ) , max ) ;
265
265
} ;
266
+ PromptRecognizers . numOrdinals = { } ;
267
+ PromptRecognizers . expCache = { } ;
268
+ PromptRecognizers . choiceCache = { } ;
266
269
return PromptRecognizers ;
267
270
} ( ) ) ;
268
- PromptRecognizers . numOrdinals = { } ;
269
- PromptRecognizers . expCache = { } ;
270
- PromptRecognizers . choiceCache = { } ;
271
271
exports . PromptRecognizers = PromptRecognizers ;
272
272
function matchAll ( exp , text ) {
273
273
exp . lastIndex = 0 ;
Original file line number Diff line number Diff line change 2
2
"name" : " botbuilder" ,
3
3
"author" : " Microsoft Corp." ,
4
4
"description" : " Bot Builder is a dialog system for building rich bots on virtually any platform." ,
5
- "version" : " 3.10.5 " ,
5
+ "version" : " 3.11.0 " ,
6
6
"license" : " MIT" ,
7
7
"keywords" : [
8
8
" botbuilder" ,
You can’t perform that action at this time.
0 commit comments