@microsoft/agents-hosting-dialogs 1.0.0-ge4831811bf → 1.0.3-g444d99f704

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.
Files changed (101) hide show
  1. package/dist/src/agentStateSet.d.ts +30 -27
  2. package/dist/src/agentStateSet.js +30 -27
  3. package/dist/src/agentStateSet.js.map +1 -1
  4. package/dist/src/choices/findValues.d.ts +21 -12
  5. package/dist/src/choices/findValues.js +8 -5
  6. package/dist/src/choices/findValues.js.map +1 -1
  7. package/dist/src/componentDialog.d.ts +117 -95
  8. package/dist/src/componentDialog.js +106 -84
  9. package/dist/src/componentDialog.js.map +1 -1
  10. package/dist/src/dialog.d.ts +15 -10
  11. package/dist/src/dialog.js +15 -10
  12. package/dist/src/dialog.js.map +1 -1
  13. package/dist/src/dialogContainer.d.ts +5 -2
  14. package/dist/src/dialogContainer.js +5 -2
  15. package/dist/src/dialogContainer.js.map +1 -1
  16. package/dist/src/dialogContext.d.ts +30 -9
  17. package/dist/src/dialogContext.js +31 -11
  18. package/dist/src/dialogContext.js.map +1 -1
  19. package/dist/src/dialogInstance.d.ts +11 -11
  20. package/dist/src/dialogReason.d.ts +13 -13
  21. package/dist/src/dialogReason.js +13 -13
  22. package/dist/src/dialogReason.js.map +1 -1
  23. package/dist/src/dialogSet.d.ts +11 -6
  24. package/dist/src/dialogSet.js +9 -4
  25. package/dist/src/dialogSet.js.map +1 -1
  26. package/dist/src/dialogTurnResult.d.ts +1 -0
  27. package/dist/src/dialogTurnStateConstants.d.ts +1 -0
  28. package/dist/src/dialogTurnStateConstants.js +1 -0
  29. package/dist/src/dialogTurnStateConstants.js.map +1 -1
  30. package/dist/src/dialogTurnStatus.d.ts +1 -0
  31. package/dist/src/dialogTurnStatus.js +1 -0
  32. package/dist/src/dialogTurnStatus.js.map +1 -1
  33. package/dist/src/memory/dialogStateManager.d.ts +9 -4
  34. package/dist/src/memory/dialogStateManager.js +9 -4
  35. package/dist/src/memory/dialogStateManager.js.map +1 -1
  36. package/dist/src/prompts/activityPrompt.d.ts +4 -0
  37. package/dist/src/prompts/activityPrompt.js +4 -0
  38. package/dist/src/prompts/activityPrompt.js.map +1 -1
  39. package/dist/src/prompts/attachmentPrompt.d.ts +1 -0
  40. package/dist/src/prompts/attachmentPrompt.js +1 -0
  41. package/dist/src/prompts/attachmentPrompt.js.map +1 -1
  42. package/dist/src/prompts/choicePrompt.d.ts +4 -0
  43. package/dist/src/prompts/choicePrompt.js +1 -0
  44. package/dist/src/prompts/choicePrompt.js.map +1 -1
  45. package/dist/src/prompts/confirmPrompt.d.ts +4 -1
  46. package/dist/src/prompts/confirmPrompt.js +1 -0
  47. package/dist/src/prompts/confirmPrompt.js.map +1 -1
  48. package/dist/src/prompts/datetimePrompt.d.ts +1 -0
  49. package/dist/src/prompts/datetimePrompt.js +1 -0
  50. package/dist/src/prompts/datetimePrompt.js.map +1 -1
  51. package/dist/src/prompts/numberPrompt.d.ts +1 -0
  52. package/dist/src/prompts/numberPrompt.js +1 -0
  53. package/dist/src/prompts/numberPrompt.js.map +1 -1
  54. package/dist/src/prompts/prompt.d.ts +22 -6
  55. package/dist/src/prompts/prompt.js +8 -0
  56. package/dist/src/prompts/prompt.js.map +1 -1
  57. package/dist/src/prompts/promptCultureModels.d.ts +16 -1
  58. package/dist/src/prompts/promptCultureModels.js +4 -1
  59. package/dist/src/prompts/promptCultureModels.js.map +1 -1
  60. package/dist/src/prompts/textPrompt.d.ts +3 -0
  61. package/dist/src/prompts/textPrompt.js +3 -0
  62. package/dist/src/prompts/textPrompt.js.map +1 -1
  63. package/dist/src/recognizer.d.ts +3 -0
  64. package/dist/src/recognizer.js +1 -0
  65. package/dist/src/recognizer.js.map +1 -1
  66. package/dist/src/recognizerResult.d.ts +5 -4
  67. package/dist/src/recognizerResult.js +5 -4
  68. package/dist/src/recognizerResult.js.map +1 -1
  69. package/dist/src/stringUtils.d.ts +4 -3
  70. package/dist/src/stringUtils.js +4 -3
  71. package/dist/src/stringUtils.js.map +1 -1
  72. package/dist/src/waterfallDialog.d.ts +11 -4
  73. package/dist/src/waterfallDialog.js +11 -4
  74. package/dist/src/waterfallDialog.js.map +1 -1
  75. package/package.json +2 -2
  76. package/src/agentStateSet.ts +30 -27
  77. package/src/choices/findValues.ts +21 -12
  78. package/src/componentDialog.ts +127 -97
  79. package/src/dialog.ts +15 -10
  80. package/src/dialogContainer.ts +5 -2
  81. package/src/dialogContext.ts +37 -11
  82. package/src/dialogInstance.ts +11 -11
  83. package/src/dialogReason.ts +13 -13
  84. package/src/dialogSet.ts +11 -6
  85. package/src/dialogTurnResult.ts +1 -0
  86. package/src/dialogTurnStateConstants.ts +1 -0
  87. package/src/dialogTurnStatus.ts +1 -0
  88. package/src/memory/dialogStateManager.ts +9 -4
  89. package/src/prompts/activityPrompt.ts +4 -0
  90. package/src/prompts/attachmentPrompt.ts +1 -0
  91. package/src/prompts/choicePrompt.ts +4 -0
  92. package/src/prompts/confirmPrompt.ts +4 -1
  93. package/src/prompts/datetimePrompt.ts +1 -0
  94. package/src/prompts/numberPrompt.ts +1 -0
  95. package/src/prompts/prompt.ts +22 -6
  96. package/src/prompts/promptCultureModels.ts +16 -1
  97. package/src/prompts/textPrompt.ts +3 -0
  98. package/src/recognizer.ts +3 -0
  99. package/src/recognizerResult.ts +5 -4
  100. package/src/stringUtils.ts +4 -3
  101. package/src/waterfallDialog.ts +11 -4
@@ -47,8 +47,10 @@ export declare class DialogContext {
47
47
  * @param dialogs The `DialogSet` for which to create the dialog context.
48
48
  * @param contextOrDialogContext The `TurnContext` object for the current turn.
49
49
  * @param state The state object to use to read and write `DialogState` to storage.
50
+ *
50
51
  * @remarks
51
52
  * Passing in a `DialogContext` instance will clone the dialog context.
53
+ *
52
54
  */
53
55
  constructor(dialogs: DialogSet, contextOrDialogContext: TurnContext, state: DialogState);
54
56
  /**
@@ -57,8 +59,10 @@ export declare class DialogContext {
57
59
  * @param dialogs The `DialogSet` for which to create the dialog context.
58
60
  * @param contextOrDialogContext The `DialogContext` object for the current turn.
59
61
  * @param state The state object to use to read and write `DialogState` to storage.
62
+ *
60
63
  * @remarks
61
64
  * Passing in a `DialogContext` instance will clone the dialog context.
65
+ *
62
66
  */
63
67
  constructor(dialogs: DialogSet, contextOrDialogContext: DialogContext, state: DialogState);
64
68
  /**
@@ -80,16 +84,23 @@ export declare class DialogContext {
80
84
  * When it attempts to start a dialog, the dialog context searches for the {@link Dialog.id}
81
85
  * in its {@link DialogContext.dialogs}. If the dialog to start is not found
82
86
  * in this dialog context, it searches in its parent dialog context, and so on.
87
+ *
83
88
  */
84
89
  parent: DialogContext | undefined;
85
90
  /**
86
- * @returns Dialog context for child if the active dialog is a container.
87
- */
91
+ * Gets the dialog context for the child if the active dialog is a container.
92
+ *
93
+ * @returns Dialog context for child if the active dialog is a container.
94
+ */
88
95
  get child(): DialogContext | undefined;
89
96
  /**
90
- * @returns The state information for the dialog on the top of the dialog stack, or `undefined` if
91
- * the stack is empty.
92
- */
97
+ * Gets the state information for the dialog on the top of the dialog stack, or `undefined` if
98
+ * the stack is empty.
99
+ *
100
+ * @returns The state information for the dialog on the top of the dialog stack, or `undefined` if
101
+ * the stack is empty.
102
+ *
103
+ */
93
104
  get activeDialog(): DialogInstance | undefined;
94
105
  /**
95
106
  * Gets the {@link DialogStateManager} which manages view of all memory scopes.
@@ -100,8 +111,10 @@ export declare class DialogContext {
100
111
  */
101
112
  services: TurnContextStateCollection;
102
113
  /**
103
- * @returns The current dialog manager instance.
104
- */
114
+ * Gets the current dialog manager instance.
115
+ *
116
+ * @returns The current dialog manager instance.
117
+ */
105
118
  get dialogManager(): DialogManager;
106
119
  /**
107
120
  * Obtain the CultureInfo in DialogContext.
@@ -116,6 +129,7 @@ export declare class DialogContext {
116
129
  * @param dialogId ID of the dialog to start.
117
130
  * @param options Optional. Arguments to pass into the dialog when it starts.
118
131
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
132
+ *
119
133
  * @remarks
120
134
  * If there's already an active dialog on the stack, that dialog will be paused until
121
135
  * it is again the top dialog on the stack.
@@ -135,6 +149,7 @@ export declare class DialogContext {
135
149
  * @param eventName Optional. Name of a custom event to raise as dialogs are cancelled. This defaults to DialogEvents.cancelDialog.
136
150
  * @param eventValue Optional. Value to pass along with custom cancellation event.
137
151
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
152
+ *
138
153
  * @remarks
139
154
  * This calls each dialog's {@link Dialog.endDialog | endDialog method} before
140
155
  * removing the dialog from the stack.
@@ -150,6 +165,7 @@ export declare class DialogContext {
150
165
  *
151
166
  * @param dialogId ID of the dialog to search for.
152
167
  * @returns The dialog for the provided ID.
168
+ *
153
169
  * @remarks
154
170
  * If the dialog to start is not found in the {@link DialogSet} associated
155
171
  * with this dialog context, it attempts to find the dialog in its parent dialog context.
@@ -179,6 +195,7 @@ export declare class DialogContext {
179
195
  * the object with which to format the prompt dialog.
180
196
  * @param choices Optional. Array of choices for the user to choose from,
181
197
  * for use with a {@link ChoicePrompt}.
198
+ *
182
199
  * @remarks
183
200
  * This helper method formats the object to use as the `options` parameter, and then calls
184
201
  * {@link DialogContext.beginDialog} to start the specified prompt dialog.
@@ -190,6 +207,7 @@ export declare class DialogContext {
190
207
  * {@link DialogContext.continueDialog} method.
191
208
  *
192
209
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
210
+ *
193
211
  * @remarks
194
212
  * After the call completes, you can check the turn context's {@link @microsoft/agents-hosting.TurnContext.responded | TurnContext.responded}
195
213
  * property to determine if the dialog sent a reply to the user.
@@ -208,6 +226,7 @@ export declare class DialogContext {
208
226
  * on the stack, or if this was the last dialog on the stack, a parent dialog context or
209
227
  * the agent's turn handler.
210
228
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
229
+ *
211
230
  * @remarks
212
231
  * The _parent_ dialog is the next dialog on the dialog stack, if there is one. This method
213
232
  * calls the parent's {@link Dialog.resumeDialog} method,
@@ -230,6 +249,7 @@ export declare class DialogContext {
230
249
  * @param dialogId ID of the dialog to start.
231
250
  * @param options Optional. Arguments to pass into the new dialog when it starts.
232
251
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
252
+ *
233
253
  * @remarks
234
254
  * This is particularly useful for creating a loop or redirecting to another dialog.
235
255
  *
@@ -252,13 +272,14 @@ export declare class DialogContext {
252
272
  /**
253
273
  * Searches for a dialog with a given ID.
254
274
  *
255
- * @remarks
256
- * Emits a named event for the current dialog, or someone who started it, to handle.
257
275
  * @param name Name of the event to raise.
258
276
  * @param value Optional. Value to send along with the event.
259
277
  * @param bubble Optional. Flag to control whether the event should be bubbled to its parent if not handled locally. Defaults to a value of `true`.
260
278
  * @param fromLeaf Optional. Whether the event is emitted from a leaf node.
261
279
  * @returns `true` if the event was handled.
280
+ *
281
+ * @remarks
282
+ * Emits a named event for the current dialog, or someone who started it, to handle.
262
283
  */
263
284
  emitEvent(name: string, value?: any, bubble?: boolean, fromLeaf?: boolean): Promise<boolean>;
264
285
  /**
@@ -56,7 +56,10 @@ class DialogContext {
56
56
  * @param dialogs The `DialogSet` for which to create the dialog context.
57
57
  * @param contextOrDialogContext The `TurnContext` or `DialogContext` for the current turn.
58
58
  * @param state The state object to use to read and write `DialogState` to storage.
59
- * @remarks Passing in a `DialogContext` instance will clone the dialog context.
59
+ *
60
+ * @remarks
61
+ * Passing in a `DialogContext` instance will clone the dialog context.
62
+ *
60
63
  */
61
64
  constructor(dialogs, contextOrDialogContext, state) {
62
65
  /**
@@ -84,8 +87,10 @@ class DialogContext {
84
87
  this.state.setValue(memory_1.TurnPath.activity, this.context.activity);
85
88
  }
86
89
  /**
87
- * @returns Dialog context for child if the active dialog is a container.
88
- */
90
+ * Gets the dialog context for the child if the active dialog is a container.
91
+ *
92
+ * @returns Dialog context for child if the active dialog is a container.
93
+ */
89
94
  get child() {
90
95
  const instance = this.activeDialog;
91
96
  if (instance !== undefined) {
@@ -98,15 +103,21 @@ class DialogContext {
98
103
  return undefined;
99
104
  }
100
105
  /**
101
- * @returns The state information for the dialog on the top of the dialog stack, or `undefined` if
102
- * the stack is empty.
103
- */
106
+ * Gets the state information for the dialog on the top of the dialog stack, or `undefined` if
107
+ * the stack is empty.
108
+ *
109
+ * @returns The state information for the dialog on the top of the dialog stack, or `undefined` if
110
+ * the stack is empty.
111
+ *
112
+ */
104
113
  get activeDialog() {
105
114
  return this.stack.length > 0 ? this.stack[this.stack.length - 1] : undefined;
106
115
  }
107
116
  /**
108
- * @returns The current dialog manager instance.
109
- */
117
+ * Gets the current dialog manager instance.
118
+ *
119
+ * @returns The current dialog manager instance.
120
+ */
110
121
  get dialogManager() {
111
122
  return this.context.turnState.get(dialogTurnStateConstants_1.DialogTurnStateConstants.dialogManager);
112
123
  }
@@ -135,6 +146,7 @@ class DialogContext {
135
146
  * @param dialogId ID of the dialog to start.
136
147
  * @param options Optional. Arguments to pass into the dialog when it starts.
137
148
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
149
+ *
138
150
  * @remarks
139
151
  * If there's already an active dialog on the stack, that dialog will be paused until
140
152
  * it is again the top dialog on the stack.
@@ -168,6 +180,7 @@ class DialogContext {
168
180
  * @param eventName Optional. Name of a custom event to raise as dialogs are cancelled. This defaults to DialogEvents.cancelDialog.
169
181
  * @param eventValue Optional. Value to pass along with custom cancellation event.
170
182
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
183
+ *
171
184
  * @remarks
172
185
  * This calls each dialog's {@link Dialog.endDialog | endDialog method} before
173
186
  * removing the dialog from the stack.
@@ -212,6 +225,7 @@ class DialogContext {
212
225
  *
213
226
  * @param dialogId ID of the dialog to search for.
214
227
  * @returns The dialog for the provided ID.
228
+ *
215
229
  * @remarks
216
230
  * If the dialog to start is not found in the {@link DialogSet} associated
217
231
  * with this dialog context, it attempts to find the dialog in its parent dialog context.
@@ -233,7 +247,9 @@ class DialogContext {
233
247
  * @param choices Optional. Array of choices for the user to choose from,
234
248
  * for use with a {@link ChoicePrompt}.
235
249
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
236
- * @remarks This helper method formats the object to use as the `options` parameter, and then calls
250
+ *
251
+ * @remarks
252
+ * This helper method formats the object to use as the `options` parameter, and then calls
237
253
  * {@link DialogContext.beginDialog} to start the specified prompt dialog.
238
254
  *
239
255
  */
@@ -256,6 +272,7 @@ class DialogContext {
256
272
  * {@link DialogContext.continueDialog} method.
257
273
  *
258
274
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
275
+ *
259
276
  * @remarks
260
277
  * After the call completes, you can check the turn context's {@link @microsoft/agents-hosting.TurnContext.responded | TurnContext.responded}
261
278
  * property to determine if the dialog sent a reply to the user.
@@ -297,6 +314,7 @@ class DialogContext {
297
314
  * on the stack, or if this was the last dialog on the stack, a parent dialog context or
298
315
  * the agent's turn handler.
299
316
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
317
+ *
300
318
  * @remarks
301
319
  * The _parent_ dialog is the next dialog on the dialog stack, if there is one. This method
302
320
  * calls the parent's {@link Dialog.resumeDialog} method,
@@ -337,6 +355,7 @@ class DialogContext {
337
355
  * @param dialogId ID of the dialog to start.
338
356
  * @param options Optional. Arguments to pass into the new dialog when it starts.
339
357
  * @returns {Promise<DialogTurnResult>} a promise resolving to the dialog turn result.
358
+ *
340
359
  * @remarks
341
360
  * This is particularly useful for creating a loop or redirecting to another dialog.
342
361
  *
@@ -380,13 +399,14 @@ class DialogContext {
380
399
  /**
381
400
  * Searches for a dialog with a given ID.
382
401
  *
383
- * @remarks
384
- * Emits a named event for the current dialog, or someone who started it, to handle.
385
402
  * @param name Name of the event to raise.
386
403
  * @param value Optional. Value to send along with the event.
387
404
  * @param bubble Optional. Flag to control whether the event should be bubbled to its parent if not handled locally. Defaults to a value of `true`.
388
405
  * @param fromLeaf Optional. Whether the event is emitted from a leaf node.
389
406
  * @returns `true` if the event was handled.
407
+ *
408
+ * @remarks
409
+ * Emits a named event for the current dialog, or someone who started it, to handle.
390
410
  */
391
411
  async emitEvent(name, value, bubble = true, fromLeaf = false) {
392
412
  // Initialize event
@@ -1 +1 @@
1
- {"version":3,"file":"dialogContext.js","sourceRoot":"","sources":["../../src/dialogContext.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,8DAAmF;AAInF,qCAAuD;AACvD,uDAAmD;AACnD,iDAA6C;AAE7C,yEAAqE;AACrE,6DAAyD;AAEzD,iDAA6C;AAG7C,yDAAqD;AAIrD;;;;;;GAMG;AACH,MAAM,UAAU,GAAG,KAAK,EAAK,aAA4B,EAAE,OAAmB,EAAc,EAAE;IAC5F,IAAI,CAAC;QACH,OAAO,MAAM,OAAO,CAAA;IACtB,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,IAAI,GAAG,YAAY,uCAAkB,EAAE,CAAC;YACtC,MAAM,GAAG,CAAA;QACX,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,uCAAkB,CAAC,GAAY,EAAE,aAAa,CAAC,CAAA;QAC3D,CAAC;IACH,CAAC;AACH,CAAC,CAAA;AAED;;GAEG;AACH,MAAM,yBAAyB,GAAG,MAAM,CAAC,yBAAyB,CAAC,CAAA;AAmBnE;;;;;;;;;;;GAWG;AACH,MAAa,aAAa;IAuBxB;;;;;;;SAOK;IACL,YAAa,OAAkB,EAAE,sBAAmD,EAAE,KAAkB;QA2ExG;;aAEK;QACL,aAAQ,GAA+B,IAAI,2CAA0B,EAAE,CAAA;QA7ErE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAA;QACtB,IAAI,sBAAsB,YAAY,aAAa,EAAE,CAAC;YACpD,IAAI,CAAC,OAAO,GAAG,sBAAsB,CAAC,OAAO,CAAA;YAC7C,IAAI,CAAC,MAAM,GAAG,sBAAsB,CAAA;YACpC,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;gBACzB,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAA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A;gBACpC,CAAC;qBAAM,CAAC;oBACN,MAAK;gBACP,CAAC;YACH,CAAC;QACH,CAAC;QAED,kCAAkC;QAClC,+EAA+E;QAC/E,MAAM,QAAQ,GAAG,aAAa,CAAC,YAAY,CAAA;QAC3C,IAAI,QAAQ,KAAK,SAAS,EAAE,CAAC;YAC3B,MAAM,MAAM,GAAG,aAAa,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;YACpD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,OAAO,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,aAAa,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,CAAA;YAC3E,CAAC;QACH,CAAC;QAED,OAAO,KAAK,CAAA;IACd,CAAC;IAED;;;;SAIK;IACG,KAAK,CAAC,eAAe,CAAE,MAAoB,EAAE,MAAY;QAC/D,MAAM,QAAQ,GAAwB,IAAI,CAAC,YAAY,CAAA;QACvD,IAAI,QAAQ,EAAE,CAAC;YACb,gBAAgB;YAChB,MAAM,MAAM,GAAe,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;YACvD,IAAI,MAAM,EAAE,CAAC;gBACX,uBAAuB;gBACvB,MAAM,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAA;YAC1E,CAAC;YAED,uBAAuB;YACvB,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,CAAA;YAEhB,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,iBAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,CAAA;QAClD,CAAC;IACH,CAAC;CACF;AA3iBD,sCA2iBC"}
@@ -11,20 +11,20 @@
11
11
  */
12
12
  export interface DialogInstance<T = any> {
13
13
  /**
14
- * ID of this dialog
15
- *
16
- * @remarks
17
- * Dialog state is associated with a specific dialog set.
18
- * This ID is the the dialog's Dialog.id within that dialog set.
19
- *
20
- */
14
+ * ID of this dialog
15
+ *
16
+ * @remarks
17
+ * Dialog state is associated with a specific dialog set.
18
+ * This ID is the the dialog's Dialog.id within that dialog set.
19
+ *
20
+ */
21
21
  id: string;
22
22
  /**
23
- * The state information for this instance of this dialog.
24
- */
23
+ * The state information for this instance of this dialog.
24
+ */
25
25
  state: T;
26
26
  /**
27
- * Hash code used to detect that a dialog has changed since the curent instance was started.
28
- */
27
+ * Hash code used to detect that a dialog has changed since the current instance was started.
28
+ */
29
29
  version?: string;
30
30
  }
@@ -8,28 +8,28 @@
8
8
  */
9
9
  export declare enum DialogReason {
10
10
  /**
11
- * The dialog is being started from DialogContext.beginDialog or DialogContext.replaceDialog.
12
- */
11
+ * The dialog is being started from DialogContext.beginDialog or DialogContext.replaceDialog.
12
+ */
13
13
  beginCalled = "beginCalled",
14
14
  /**
15
- * The dialog is being continued from DialogContext.continueDialog.
16
- */
15
+ * The dialog is being continued from DialogContext.continueDialog.
16
+ */
17
17
  continueCalled = "continueCalled",
18
18
  /**
19
- * The dialog is being ended from DialogContext.endDialog.
20
- */
19
+ * The dialog is being ended from DialogContext.endDialog.
20
+ */
21
21
  endCalled = "endCalled",
22
22
  /**
23
- * The dialog is being ended from DialogContext.replaceDialog.
24
- */
23
+ * The dialog is being ended from DialogContext.replaceDialog.
24
+ */
25
25
  replaceCalled = "replaceCalled",
26
26
  /**
27
- * The dialog is being cancelled from DialogContext.cancelAllDialogs.
28
- */
27
+ * The dialog is being cancelled from DialogContext.cancelAllDialogs.
28
+ */
29
29
  cancelCalled = "cancelCalled",
30
30
  /**
31
- * A step in a WaterfallDialog is being called
32
- * because the previous step in the waterfall dialog called WaterfallStepContext.next.
33
- */
31
+ * A step in a WaterfallDialog is being called
32
+ * because the previous step in the waterfall dialog called WaterfallStepContext.next.
33
+ */
34
34
  nextCalled = "nextCalled"
35
35
  }
@@ -12,29 +12,29 @@ exports.DialogReason = void 0;
12
12
  var DialogReason;
13
13
  (function (DialogReason) {
14
14
  /**
15
- * The dialog is being started from DialogContext.beginDialog or DialogContext.replaceDialog.
16
- */
15
+ * The dialog is being started from DialogContext.beginDialog or DialogContext.replaceDialog.
16
+ */
17
17
  DialogReason["beginCalled"] = "beginCalled";
18
18
  /**
19
- * The dialog is being continued from DialogContext.continueDialog.
20
- */
19
+ * The dialog is being continued from DialogContext.continueDialog.
20
+ */
21
21
  DialogReason["continueCalled"] = "continueCalled";
22
22
  /**
23
- * The dialog is being ended from DialogContext.endDialog.
24
- */
23
+ * The dialog is being ended from DialogContext.endDialog.
24
+ */
25
25
  DialogReason["endCalled"] = "endCalled";
26
26
  /**
27
- * The dialog is being ended from DialogContext.replaceDialog.
28
- */
27
+ * The dialog is being ended from DialogContext.replaceDialog.
28
+ */
29
29
  DialogReason["replaceCalled"] = "replaceCalled";
30
30
  /**
31
- * The dialog is being cancelled from DialogContext.cancelAllDialogs.
32
- */
31
+ * The dialog is being cancelled from DialogContext.cancelAllDialogs.
32
+ */
33
33
  DialogReason["cancelCalled"] = "cancelCalled";
34
34
  /**
35
- * A step in a WaterfallDialog is being called
36
- * because the previous step in the waterfall dialog called WaterfallStepContext.next.
37
- */
35
+ * A step in a WaterfallDialog is being called
36
+ * because the previous step in the waterfall dialog called WaterfallStepContext.next.
37
+ */
38
38
  DialogReason["nextCalled"] = "nextCalled";
39
39
  })(DialogReason || (exports.DialogReason = DialogReason = {}));
40
40
  //# sourceMappingURL=dialogReason.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialogReason.js","sourceRoot":"","sources":["../../src/dialogReason.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,IAAY,YA+BX;AA/BD,WAAY,YAAY;IACtB;;WAEO;IACP,2CAA2B,CAAA;IAE3B;;WAEO;IACP,iDAAiC,CAAA;IAEjC;;WAEO;IACP,uCAAuB,CAAA;IAEvB;;WAEO;IACP,+CAA+B,CAAA;IAE/B;;WAEO;IACP,6CAA6B,CAAA;IAE7B;;;WAGO;IACP,yCAAyB,CAAA;AAC3B,CAAC,EA/BW,YAAY,4BAAZ,YAAY,QA+BvB"}
1
+ {"version":3,"file":"dialogReason.js","sourceRoot":"","sources":["../../src/dialogReason.ts"],"names":[],"mappings":";;;AAAA;;;;;;;GAOG;AACH,IAAY,YA+BX;AA/BD,WAAY,YAAY;IACtB;;OAEG;IACH,2CAA2B,CAAA;IAE3B;;OAEG;IACH,iDAAiC,CAAA;IAEjC;;OAEG;IACH,uCAAuB,CAAA;IAEvB;;OAEG;IACH,+CAA+B,CAAA;IAE/B;;OAEG;IACH,6CAA6B,CAAA;IAE7B;;;OAGG;IACH,yCAAyB,CAAA;AAC3B,CAAC,EA/BW,YAAY,4BAAZ,YAAY,QA+BvB"}
@@ -6,7 +6,7 @@ import { AgentStatePropertyAccessor, TurnContext } from '@microsoft/agents-hosti
6
6
  import { Dialog } from './dialog';
7
7
  import { DialogContext, DialogState } from './dialogContext';
8
8
  /**
9
- * @summary Interface for dialogs that have child dialog dependencies.
9
+ * Interface for dialogs that have child dialog dependencies.
10
10
  *
11
11
  * @remarks
12
12
  * Implement this interface on dialog classes that need to register child dialogs
@@ -32,7 +32,7 @@ import { DialogContext, DialogState } from './dialogContext';
32
32
  */
33
33
  export interface DialogDependencies {
34
34
  /**
35
- * @summary Returns an array of child dialogs that this dialog depends on.
35
+ * Returns an array of child dialogs that this dialog depends on.
36
36
  *
37
37
  *
38
38
  * @remarks
@@ -68,33 +68,37 @@ export declare class DialogSet {
68
68
  /**
69
69
  * Creates a new DialogSet instance.
70
70
  *
71
+ * @param dialogState (Optional) state property used to persist the sets dialog stack.
72
+ *
71
73
  * @remarks
72
74
  * If the `dialogState` parameter is not passed in, calls to `createContext`
73
75
  * will return an error. You will need to create a {@link DialogContext} for the set manually and
74
76
  * pass in your own state object for persisting the sets dialog stack:
75
77
  *
76
- * @param dialogState (Optional) state property used to persist the sets dialog stack.
77
78
  */
78
79
  constructor(dialogState?: AgentStatePropertyAccessor<DialogState>);
79
80
  /**
80
81
  * Returns a 32-bit hash of the all the `Dialog.version` values in the set.
81
82
  *
82
83
  * @returns A version that will change when any of the child dialogs version changes.
84
+ *
83
85
  * @remarks
84
86
  * This hash is persisted to state storage and used to detect changes to a dialog set.
87
+ *
85
88
  */
86
89
  getVersion(): string;
87
90
  /**
88
91
  * Adds a new dialog or prompt to the set.
89
92
  *
93
+ * @param dialog The dialog or prompt to add.
94
+ * If a telemetryClient is present on the dialog set, it will be added to each dialog.
95
+ * @returns The dialog set after the operation is complete.
96
+ *
90
97
  * @remarks
91
98
  * If the {@link Dialog.id} being added already exists in the set, the dialogs id will be updated to
92
99
  * include a suffix which makes it unique. So adding 2 dialogs named "duplicate" to the set
93
100
  * would result in the first one having an id of "duplicate" and the second one having an id
94
101
  * of "duplicate2".
95
- * @param dialog The dialog or prompt to add.
96
- * If a telemetryClient is present on the dialog set, it will be added to each dialog.
97
- * @returns The dialog set after the operation is complete.
98
102
  */
99
103
  add<T extends Dialog>(dialog: T): this;
100
104
  /**
@@ -106,6 +110,7 @@ export declare class DialogSet {
106
110
  createContext(context: TurnContext): Promise<DialogContext>;
107
111
  /**
108
112
  * Finds a dialog that was previously added to the set using add.
113
+ *
109
114
  * @param dialogId ID of the dialog or prompt to lookup.
110
115
  * @returns The dialog if found; otherwise undefined.
111
116
  */
@@ -20,12 +20,13 @@ class DialogSet {
20
20
  /**
21
21
  * Creates a new DialogSet instance.
22
22
  *
23
+ * @param dialogState (Optional) state property used to persist the sets dialog stack.
24
+ *
23
25
  * @remarks
24
26
  * If the `dialogState` parameter is not passed in, calls to `createContext`
25
27
  * will return an error. You will need to create a {@link DialogContext} for the set manually and
26
28
  * pass in your own state object for persisting the sets dialog stack:
27
29
  *
28
- * @param dialogState (Optional) state property used to persist the sets dialog stack.
29
30
  */
30
31
  constructor(dialogState) {
31
32
  this.dialogs = {};
@@ -35,8 +36,10 @@ class DialogSet {
35
36
  * Returns a 32-bit hash of the all the `Dialog.version` values in the set.
36
37
  *
37
38
  * @returns A version that will change when any of the child dialogs version changes.
39
+ *
38
40
  * @remarks
39
41
  * This hash is persisted to state storage and used to detect changes to a dialog set.
42
+ *
40
43
  */
41
44
  getVersion() {
42
45
  if (!this._version) {
@@ -54,14 +57,15 @@ class DialogSet {
54
57
  /**
55
58
  * Adds a new dialog or prompt to the set.
56
59
  *
60
+ * @param dialog The dialog or prompt to add.
61
+ * If a telemetryClient is present on the dialog set, it will be added to each dialog.
62
+ * @returns The dialog set after the operation is complete.
63
+ *
57
64
  * @remarks
58
65
  * If the {@link Dialog.id} being added already exists in the set, the dialogs id will be updated to
59
66
  * include a suffix which makes it unique. So adding 2 dialogs named "duplicate" to the set
60
67
  * would result in the first one having an id of "duplicate" and the second one having an id
61
68
  * of "duplicate2".
62
- * @param dialog The dialog or prompt to add.
63
- * If a telemetryClient is present on the dialog set, it will be added to each dialog.
64
- * @returns The dialog set after the operation is complete.
65
69
  */
66
70
  add(dialog) {
67
71
  if (!(dialog instanceof dialog_1.Dialog)) {
@@ -115,6 +119,7 @@ class DialogSet {
115
119
  }
116
120
  /**
117
121
  * Finds a dialog that was previously added to the set using add.
122
+ *
118
123
  * @param dialogId ID of the dialog or prompt to lookup.
119
124
  * @returns The dialog if found; otherwise undefined.
120
125
  */
@@ -1 +1 @@
1
- {"version":3,"file":"dialogSet.js","sourceRoot":"","sources":["../../src/dialogSet.ts"],"names":[],"mappings":";;;AASA,qCAAiC;AACjC,mDAA4D;AAC5D,+CAA2C;AA+C3C;;;;;;;;;;;GAWG;AACH,MAAa,SAAS;IAKpB;;;;;;;;;SASK;IACL,YAAa,WAAqD;QAdjD,YAAO,GAA6B,EAAE,CAAA;QAerD,IAAI,CAAC,WAAW,GAAG,WAAW,CAAA;IAChC,CAAC;IAED;;;;;;SAMK;IACL,UAAU;QACR,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnB,IAAI,QAAQ,GAAG,EAAE,CAAA;YACjB,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,OAAO,E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,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAC1G,CAAC;IAED;;;;SAIK;IACL,UAAU;QACR,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;IACpC,CAAC;CACF;AAxID,8BAwIC"}
@@ -24,6 +24,7 @@ export interface DialogTurnResult<T = any> {
24
24
  * the stack is now empty,
25
25
  * the last dialog on the stack completed normally,
26
26
  * and the last dialog returned a result to the dialog context.
27
+ *
27
28
  */
28
29
  result?: T;
29
30
  /**
@@ -8,6 +8,7 @@
8
8
  * @remarks
9
9
  * These constants are used as keys to store and retrieve specific state information
10
10
  * during the execution of a dialog turn.
11
+ *
11
12
  */
12
13
  export declare class DialogTurnStateConstants {
13
14
  /**
@@ -11,6 +11,7 @@ exports.DialogTurnStateConstants = void 0;
11
11
  * @remarks
12
12
  * These constants are used as keys to store and retrieve specific state information
13
13
  * during the execution of a dialog turn.
14
+ *
14
15
  */
15
16
  class DialogTurnStateConstants {
16
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dialogTurnStateConstants.js","sourceRoot":"","sources":["../../src/dialogTurnStateConstants.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;;;GAMG;AACH,MAAa,wBAAwB;;AAArC,4DAeC;AAdC;;GAEG;AACI,sCAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AAE9C;;GAEG;AACI,sCAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AAE9C;;GAEG;AACI,qCAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAA"}
1
+ {"version":3,"file":"dialogTurnStateConstants.js","sourceRoot":"","sources":["../../src/dialogTurnStateConstants.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;;;;GAOG;AACH,MAAa,wBAAwB;;AAArC,4DAeC;AAdC;;GAEG;AACI,sCAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AAE9C;;GAEG;AACI,sCAAa,GAAG,MAAM,CAAC,eAAe,CAAC,CAAA;AAE9C;;GAEG;AACI,qCAAY,GAAG,MAAM,CAAC,cAAc,CAAC,CAAA"}
@@ -9,6 +9,7 @@ export declare enum DialogTurnStatus {
9
9
  *
10
10
  * @remarks
11
11
  * Indicates that the dialog stack was initially empty when the operation was attempted.
12
+ *
12
13
  */
13
14
  empty = "empty",
14
15
  /**
@@ -13,6 +13,7 @@ var DialogTurnStatus;
13
13
  *
14
14
  * @remarks
15
15
  * Indicates that the dialog stack was initially empty when the operation was attempted.
16
+ *
16
17
  */
17
18
  DialogTurnStatus["empty"] = "empty";
18
19
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"dialogTurnStatus.js","sourceRoot":"","sources":["../../src/dialogTurnStatus.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,gBAgCX;AAhCD,WAAY,gBAAgB;IAC1B;;;;;SAKK;IACL,mCAAe,CAAA;IAEf;;SAEK;IACL,uCAAmB,CAAA;IAEnB;;;;;;SAMK;IACL,yCAAqB,CAAA;IAErB;;SAEK;IACL,2CAAuB,CAAA;IAEvB;;SAEK;IACL,uDAAmC,CAAA;AACrC,CAAC,EAhCW,gBAAgB,gCAAhB,gBAAgB,QAgC3B"}
1
+ {"version":3,"file":"dialogTurnStatus.js","sourceRoot":"","sources":["../../src/dialogTurnStatus.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,IAAY,gBAiCX;AAjCD,WAAY,gBAAgB;IAC1B;;;;;;SAMK;IACL,mCAAe,CAAA;IAEf;;SAEK;IACL,uCAAmB,CAAA;IAEnB;;;;;;SAMK;IACL,yCAAqB,CAAA;IAErB;;SAEK;IACL,2CAAuB,CAAA;IAEvB;;SAEK;IACL,uDAAmC,CAAA;AACrC,CAAC,EAjCW,gBAAgB,gCAAhB,gBAAgB,QAiC3B"}