@telia-ace/widget-conversation 1.0.12 → 1.0.13

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 (131) hide show
  1. package/{lib-esm → dist}/agent.d.ts +0 -0
  2. package/{lib-esm → dist}/conversation-controller.d.ts +0 -0
  3. package/{lib-esm → dist}/conversation-form-adapter.d.ts +0 -0
  4. package/{lib-esm → dist}/conversation-platform.d.ts +0 -0
  5. package/{lib-esm → dist}/conversation-provider.d.ts +0 -0
  6. package/dist/conversation.js +1357 -0
  7. package/dist/conversation.js.map +1 -0
  8. package/{lib-esm → dist}/index.d.ts +0 -0
  9. package/dist/index.js +867 -0
  10. package/dist/index.js.map +1 -0
  11. package/{lib-esm → dist}/resolve-entity-value.d.ts +0 -0
  12. package/dist/return-button.js +174 -0
  13. package/dist/return-button.js.map +1 -0
  14. package/{lib-esm → dist}/types.d.ts +0 -0
  15. package/{lib-esm → dist}/ui/conversation/conversation-component.d.ts +0 -0
  16. package/{lib-esm → dist}/ui/conversation/conversation-content.d.ts +0 -0
  17. package/{lib-esm → dist}/ui/conversation/conversation-input.d.ts +0 -0
  18. package/{lib-esm → dist}/ui/conversation/conversation-loader.d.ts +0 -0
  19. package/{lib-esm → dist}/ui/conversation/conversation-message.d.ts +0 -0
  20. package/{lib-esm → dist}/ui/conversation/conversation-styles.d.ts +0 -0
  21. package/{lib-esm → dist}/ui/conversation/conversation.d.ts +0 -0
  22. package/{lib-esm → dist}/ui/conversation/index.d.ts +0 -0
  23. package/{lib-esm → dist}/ui/conversation/message-types/agent.d.ts +0 -0
  24. package/{lib-esm → dist}/ui/conversation/message-types/custom-message-list-item.d.ts +0 -0
  25. package/{lib-esm → dist}/ui/conversation/message-types/custom.d.ts +0 -0
  26. package/{lib-esm → dist}/ui/conversation/message-types/index.d.ts +0 -0
  27. package/{lib-esm → dist}/ui/conversation/message-types/system.d.ts +0 -0
  28. package/{lib-esm → dist}/ui/conversation/message-types/timestamp.d.ts +0 -0
  29. package/{lib-esm → dist}/ui/conversation/message-types/user.d.ts +0 -0
  30. package/{lib-esm → dist}/ui/index.d.ts +0 -0
  31. package/{lib-esm → dist}/ui/return-button/index.d.ts +0 -0
  32. package/{lib-esm → dist}/ui/return-button/return-button-component.d.ts +0 -0
  33. package/{lib-esm → dist}/ui/return-button/return-button.d.ts +0 -0
  34. package/{lib-esm → dist}/user.d.ts +0 -0
  35. package/{lib-esm → dist}/utils/custom-message.d.ts +0 -0
  36. package/{lib-esm → dist}/utils/index.d.ts +0 -0
  37. package/{lib-esm → dist}/utils/open-chat-widget.d.ts +0 -0
  38. package/package.json +14 -15
  39. package/lib/agent.d.ts +0 -17
  40. package/lib/agent.js +0 -37
  41. package/lib/conversation-controller.d.ts +0 -88
  42. package/lib/conversation-controller.js +0 -318
  43. package/lib/conversation-form-adapter.d.ts +0 -7
  44. package/lib/conversation-form-adapter.js +0 -88
  45. package/lib/conversation-platform.d.ts +0 -49
  46. package/lib/conversation-platform.js +0 -295
  47. package/lib/conversation-provider.d.ts +0 -22
  48. package/lib/conversation-provider.js +0 -73
  49. package/lib/index.d.ts +0 -9
  50. package/lib/index.js +0 -17
  51. package/lib/resolve-entity-value.d.ts +0 -10
  52. package/lib/resolve-entity-value.js +0 -22
  53. package/lib/types.d.ts +0 -110
  54. package/lib/types.js +0 -19
  55. package/lib/ui/conversation/conversation-component.d.ts +0 -37
  56. package/lib/ui/conversation/conversation-component.js +0 -152
  57. package/lib/ui/conversation/conversation-content.d.ts +0 -11
  58. package/lib/ui/conversation/conversation-content.js +0 -240
  59. package/lib/ui/conversation/conversation-input.d.ts +0 -6
  60. package/lib/ui/conversation/conversation-input.js +0 -163
  61. package/lib/ui/conversation/conversation-loader.d.ts +0 -8
  62. package/lib/ui/conversation/conversation-loader.js +0 -18
  63. package/lib/ui/conversation/conversation-message.d.ts +0 -7
  64. package/lib/ui/conversation/conversation-message.js +0 -141
  65. package/lib/ui/conversation/conversation-styles.d.ts +0 -11
  66. package/lib/ui/conversation/conversation-styles.js +0 -65
  67. package/lib/ui/conversation/conversation.d.ts +0 -6
  68. package/lib/ui/conversation/conversation.js +0 -139
  69. package/lib/ui/conversation/index.d.ts +0 -2
  70. package/lib/ui/conversation/index.js +0 -7
  71. package/lib/ui/conversation/message-types/agent.d.ts +0 -11
  72. package/lib/ui/conversation/message-types/agent.js +0 -54
  73. package/lib/ui/conversation/message-types/custom-message-list-item.d.ts +0 -9
  74. package/lib/ui/conversation/message-types/custom-message-list-item.js +0 -27
  75. package/lib/ui/conversation/message-types/custom.d.ts +0 -9
  76. package/lib/ui/conversation/message-types/custom.js +0 -50
  77. package/lib/ui/conversation/message-types/index.d.ts +0 -5
  78. package/lib/ui/conversation/message-types/index.js +0 -16
  79. package/lib/ui/conversation/message-types/system.d.ts +0 -12
  80. package/lib/ui/conversation/message-types/system.js +0 -26
  81. package/lib/ui/conversation/message-types/timestamp.d.ts +0 -8
  82. package/lib/ui/conversation/message-types/timestamp.js +0 -36
  83. package/lib/ui/conversation/message-types/user.d.ts +0 -8
  84. package/lib/ui/conversation/message-types/user.js +0 -24
  85. package/lib/ui/index.d.ts +0 -2
  86. package/lib/ui/index.js +0 -10
  87. package/lib/ui/return-button/index.d.ts +0 -2
  88. package/lib/ui/return-button/index.js +0 -7
  89. package/lib/ui/return-button/return-button-component.d.ts +0 -19
  90. package/lib/ui/return-button/return-button-component.js +0 -70
  91. package/lib/ui/return-button/return-button.d.ts +0 -6
  92. package/lib/ui/return-button/return-button.js +0 -82
  93. package/lib/user.d.ts +0 -7
  94. package/lib/user.js +0 -16
  95. package/lib/utils/custom-message.d.ts +0 -3
  96. package/lib/utils/custom-message.js +0 -56
  97. package/lib/utils/index.d.ts +0 -1
  98. package/lib/utils/index.js +0 -7
  99. package/lib/utils/open-chat-widget.d.ts +0 -4
  100. package/lib/utils/open-chat-widget.js +0 -148
  101. package/lib-esm/agent.js +0 -34
  102. package/lib-esm/conversation-controller.js +0 -314
  103. package/lib-esm/conversation-form-adapter.js +0 -85
  104. package/lib-esm/conversation-platform.js +0 -292
  105. package/lib-esm/conversation-provider.js +0 -70
  106. package/lib-esm/index.js +0 -6
  107. package/lib-esm/resolve-entity-value.js +0 -18
  108. package/lib-esm/types.js +0 -16
  109. package/lib-esm/ui/conversation/conversation-component.js +0 -127
  110. package/lib-esm/ui/conversation/conversation-content.js +0 -212
  111. package/lib-esm/ui/conversation/conversation-input.js +0 -138
  112. package/lib-esm/ui/conversation/conversation-loader.js +0 -13
  113. package/lib-esm/ui/conversation/conversation-message.js +0 -113
  114. package/lib-esm/ui/conversation/conversation-styles.js +0 -39
  115. package/lib-esm/ui/conversation/conversation.js +0 -111
  116. package/lib-esm/ui/conversation/index.js +0 -2
  117. package/lib-esm/ui/conversation/message-types/agent.js +0 -25
  118. package/lib-esm/ui/conversation/message-types/custom-message-list-item.js +0 -22
  119. package/lib-esm/ui/conversation/message-types/custom.js +0 -25
  120. package/lib-esm/ui/conversation/message-types/index.js +0 -5
  121. package/lib-esm/ui/conversation/message-types/system.js +0 -20
  122. package/lib-esm/ui/conversation/message-types/timestamp.js +0 -31
  123. package/lib-esm/ui/conversation/message-types/user.js +0 -19
  124. package/lib-esm/ui/index.js +0 -2
  125. package/lib-esm/ui/return-button/index.js +0 -2
  126. package/lib-esm/ui/return-button/return-button-component.js +0 -44
  127. package/lib-esm/ui/return-button/return-button.js +0 -54
  128. package/lib-esm/user.js +0 -13
  129. package/lib-esm/utils/custom-message.js +0 -52
  130. package/lib-esm/utils/index.js +0 -1
  131. package/lib-esm/utils/open-chat-widget.js +0 -142
@@ -1,314 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __rest = (this && this.__rest) || function (s, e) {
13
- var t = {};
14
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
- t[p] = s[p];
16
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
- t[p[i]] = s[p[i]];
20
- }
21
- return t;
22
- };
23
- import { FormBuilder } from '@telia-ace/widget-forms';
24
- import { uuid } from '@telia-ace/widget-utilities';
25
- import { ConversationProvider } from './conversation-provider';
26
- import { User } from './user';
27
- var ConversationEntry = /** @class */ (function () {
28
- function ConversationEntry(writer) {
29
- this.writer = writer;
30
- }
31
- ConversationEntry.prototype.update = function (content) {
32
- var normalized = this.getNormalizedSettings(content);
33
- // const normalized = typeof content === 'string' ? { body: content } : content;
34
- this.writer(normalized);
35
- };
36
- ConversationEntry.prototype.remove = function () {
37
- this.writer(null);
38
- };
39
- ConversationEntry.prototype.getNormalizedSettings = function (content) {
40
- if (typeof content === 'string')
41
- return { body: content };
42
- else if (content.length > -1 && typeof content === 'object')
43
- return { items: content };
44
- else
45
- return content;
46
- };
47
- return ConversationEntry;
48
- }());
49
- export { ConversationEntry };
50
- export var ConversationMessageType;
51
- (function (ConversationMessageType) {
52
- ConversationMessageType["User"] = "user";
53
- ConversationMessageType["Agent"] = "agent";
54
- ConversationMessageType["System"] = "system";
55
- })(ConversationMessageType || (ConversationMessageType = {}));
56
- export var getNormalizedMessageSettings = function (settings) {
57
- var content;
58
- var key = uuid();
59
- var timestamp = Date.now();
60
- if (Array.isArray(settings) && settings.length > -1) {
61
- if (typeof settings[0] === 'string') {
62
- content = { items: [settings] };
63
- }
64
- else {
65
- content = { items: settings };
66
- }
67
- }
68
- else if (typeof settings === 'string') {
69
- content = { body: settings };
70
- }
71
- else {
72
- settings = settings || {};
73
- if (settings.type) {
74
- content = __assign({}, settings);
75
- }
76
- else {
77
- content = {
78
- body: settings.body,
79
- actions: settings.actions,
80
- title: settings.title,
81
- };
82
- if (settings.key) {
83
- key = settings.key;
84
- }
85
- if (settings.timestamp) {
86
- timestamp = settings.timestamp;
87
- }
88
- if (settings.form) {
89
- var builder = FormBuilder.create(key);
90
- settings.form(builder);
91
- var builtForm = builder.get();
92
- content.form = builtForm;
93
- }
94
- if (settings.timestamp === null) {
95
- timestamp = null;
96
- }
97
- }
98
- }
99
- return { content: content, key: key, timestamp: timestamp };
100
- };
101
- var removeTypingState = function (typingActors, sender) {
102
- if (!sender) {
103
- return;
104
- }
105
- var senderString = JSON.stringify(sender);
106
- var indexToRemove = typingActors.findIndex(function (item) {
107
- return senderString === JSON.stringify(item);
108
- });
109
- if (indexToRemove > -1) {
110
- return typingActors.splice(indexToRemove, 1);
111
- }
112
- };
113
- /**
114
- * Manages the stream of messages inside a `ConversationComponent` and provides external read-write
115
- * access to it as well as exposing emitted actions.
116
- */
117
- var ConversationController = /** @class */ (function () {
118
- function ConversationController(container, id) {
119
- var _this = this;
120
- this.container = container;
121
- this.id = id;
122
- this.formHandlers = {};
123
- /**
124
- * Represents the current end user.
125
- */
126
- this.user = new User(this);
127
- this.providers = [];
128
- this.active = false;
129
- this.registeredProviders = [];
130
- this.loaders = 0;
131
- this.componentMounted = false;
132
- this.messages = [];
133
- this.typingActors = [];
134
- this.print = function (settings) {
135
- var normalized = getNormalizedMessageSettings(settings);
136
- return _this.createEntry(normalized.key, normalized.content, ConversationMessageType.System, undefined, normalized.timestamp);
137
- };
138
- var widget = container.get('$widget');
139
- this.events = widget.events.createChild(this);
140
- }
141
- ConversationController.prototype.setProviders = function (providers) {
142
- var _this = this;
143
- var removed = [];
144
- var added = [];
145
- // remove
146
- this.providers
147
- .reduce(function (acc, provider) {
148
- if (providers.indexOf(provider) === -1) {
149
- acc.push(provider);
150
- }
151
- return acc;
152
- }, [])
153
- .forEach(function (providerToRemove) {
154
- var indexToRemove = _this.providers.indexOf(providerToRemove);
155
- if (indexToRemove > -1) {
156
- removed.push(providerToRemove);
157
- _this.providers.splice(indexToRemove, 1);
158
- }
159
- });
160
- // add
161
- providers.forEach(function (provider) {
162
- if (_this.providers.indexOf(provider) === -1) {
163
- added.push(provider);
164
- _this.providers.push(provider);
165
- }
166
- });
167
- if (added.length || removed.length) {
168
- this.events.dispatch('conversation:providers-changed', { added: added, removed: removed });
169
- }
170
- };
171
- ConversationController.prototype.createProvider = function (name) {
172
- var index = this.providerIndex(name);
173
- if (index > -1) {
174
- return this.registeredProviders[index];
175
- }
176
- var provider = ConversationProvider.create(name, this.container, this);
177
- this.registeredProviders.push(provider);
178
- return provider;
179
- };
180
- ConversationController.prototype.providerIndex = function (name) {
181
- return this.registeredProviders.findIndex(function (p) { return p.name === name; });
182
- };
183
- ConversationController.prototype.dispose = function () {
184
- this.registeredProviders.forEach(function (provider) { return provider.dispose(); });
185
- this.messages = [];
186
- this.events.dispatch('conversation:controller-disposed', this);
187
- this.active = false;
188
- };
189
- ConversationController.prototype.onDispose = function (fn) {
190
- return this.events.subscribe('conversation:controller-disposed', fn);
191
- };
192
- ConversationController.prototype.onStarted = function (fn) {
193
- return this.events.subscribe('conversation:started', fn);
194
- };
195
- ConversationController.prototype.disposeProvider = function (target) {
196
- var index = this.providerIndex(target.name);
197
- index > -1 && this.registeredProviders.splice(index, 1);
198
- this.events.dispatch('conversation:providers-changed', { removed: [target.name] });
199
- if (!this.registeredProviders.length) {
200
- this.dispose();
201
- }
202
- };
203
- ConversationController.prototype.onProvidersChange = function (fn) {
204
- return this.events.subscribe('conversation:providers-changed', fn);
205
- };
206
- ConversationController.prototype.setComponentMountedState = function (mounted) {
207
- if (this.componentMounted === mounted) {
208
- return;
209
- }
210
- this.componentMounted = mounted;
211
- if (mounted) {
212
- this.events.dispatch('conversation:unread-message', false);
213
- this.events.dispatch('conversation:started', true);
214
- this.active = true;
215
- }
216
- this.events.dispatch('conversation:component-mount-changed', mounted);
217
- };
218
- ConversationController.prototype.getComponentMountedState = function () {
219
- return this.componentMounted;
220
- };
221
- ConversationController.prototype.onUnreadMessage = function (fn) {
222
- return this.events.subscribe('conversation:unread-message', fn);
223
- };
224
- ConversationController.prototype.createEntry = function (key, content, type, sender, timestamp) {
225
- var _this = this;
226
- var message = {
227
- key: key,
228
- content: content,
229
- type: type,
230
- sender: sender || null,
231
- timestamp: timestamp || timestamp === null ? timestamp : Date.now(),
232
- };
233
- this.messages.push(message);
234
- message.type === ConversationMessageType.Agent &&
235
- removeTypingState(this.typingActors, sender);
236
- var entry = new ConversationEntry(function (updated) {
237
- if (updated !== null) {
238
- var _a = updated.timestamp, updatedTimestamp = _a === void 0 ? undefined : _a, content_1 = __rest(updated, ["timestamp"]);
239
- message.content = content_1;
240
- if (updatedTimestamp) {
241
- message.timestamp = updatedTimestamp;
242
- }
243
- }
244
- else {
245
- var indexToRemove = _this.messages.indexOf(message);
246
- message.content = null;
247
- if (indexToRemove > -1) {
248
- _this.messages.splice(indexToRemove, 1);
249
- }
250
- }
251
- _this.events.dispatch('conversation:message-updated', { message: message });
252
- _this.update();
253
- });
254
- this.events.dispatch('conversation:message-created', { message: message });
255
- this.update();
256
- if (!this.componentMounted) {
257
- this.events.dispatch('conversation:unread-message', true);
258
- }
259
- return entry;
260
- };
261
- ConversationController.prototype.update = function () {
262
- this.events.dispatch('conversation:updated', {
263
- messages: this.messages,
264
- loading: this.loaders > 0,
265
- typingActors: this.typingActors,
266
- });
267
- };
268
- ConversationController.prototype.getMessageStream = function () {
269
- return {
270
- messages: this.messages,
271
- loading: this.loaders > 0,
272
- typingActors: this.typingActors,
273
- };
274
- };
275
- ConversationController.prototype.setTypingState = function (sender, type) {
276
- var _this = this;
277
- if (this.typingActors.indexOf(sender) === -1) {
278
- this.typingActors.push(sender);
279
- this.update();
280
- }
281
- return function () {
282
- removeTypingState(_this.typingActors, sender);
283
- _this.update();
284
- };
285
- };
286
- /**
287
- * Displays a loader in the conversation.
288
- */
289
- ConversationController.prototype.loader = function () {
290
- var _this = this;
291
- this.loaders = this.loaders + 1;
292
- var dismissed = false;
293
- if (this.loaders === 1) {
294
- this.update();
295
- }
296
- return function () {
297
- if (!dismissed) {
298
- dismissed = true;
299
- _this.loaders = _this.loaders - 1;
300
- if (_this.loaders === 0) {
301
- _this.update();
302
- }
303
- }
304
- };
305
- };
306
- ConversationController.prototype.submitForm = function (key, handler) {
307
- this.formHandlers[key] = __assign(__assign({}, this.formHandlers[key]), { submit: handler });
308
- };
309
- ConversationController.prototype.validateForm = function (key, handler) {
310
- this.formHandlers[key] = __assign(__assign({}, this.formHandlers[key]), { validate: handler });
311
- };
312
- return ConversationController;
313
- }());
314
- export { ConversationController };
@@ -1,85 +0,0 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- var __generator = (this && this.__generator) || function (thisArg, body) {
11
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
12
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
13
- function verb(n) { return function (v) { return step([n, v]); }; }
14
- function step(op) {
15
- if (f) throw new TypeError("Generator is already executing.");
16
- while (_) try {
17
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
- if (y = 0, t) op = [op[0] & 2, t.value];
19
- switch (op[0]) {
20
- case 0: case 1: t = op; break;
21
- case 4: _.label++; return { value: op[1], done: false };
22
- case 5: _.label++; y = op[1]; op = [0]; continue;
23
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
24
- default:
25
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
26
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
27
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
28
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
29
- if (t[2]) _.ops.pop();
30
- _.trys.pop(); continue;
31
- }
32
- op = body.call(thisArg, _);
33
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
34
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
35
- }
36
- };
37
- var ConversationFormAdapter /*implements Adapter*/ = /** @class */ (function () {
38
- function ConversationFormAdapter(platform) {
39
- var _this = this;
40
- this.platform = platform;
41
- this.submit = function (invoke /*InvokeAdapterDelegate*/, cancel /*CancelAdapterDelegate*/) {
42
- return function (contactMethod) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
43
- return [2 /*return*/];
44
- }); }); };
45
- };
46
- // this.platform.container
47
- // .getAsync('data')
48
- // .then((dataSource: any/* DataSource */) =>
49
- // dataSource
50
- // .read()
51
- // .then((entries: any) => {
52
- // const { entryId } = contactMethod;
53
- // const entry = entries.find((e: any) => e.id === entryId);
54
- // if (entry) {
55
- // const { submit, validate } = this.platform.formHandlers[entry.content.key];
56
- // const { values } = { values: {} }/*extractFormValues(contactMethod.body.form)*/;
57
- // if (validate) {
58
- // return validate(values)
59
- // .then((result) => {
60
- // const { valid, errors } = result;
61
- // if (valid) {
62
- // return submit(values)
63
- // .then(() => {
64
- // this.updateContactMethod(contactMethod);
65
- // return {};
66
- // });
67
- // }
68
- // this.updateContactMethod(contactMethod, errors);
69
- // return {};
70
- // });
71
- // }
72
- // return submit(values)
73
- // .then(() => {
74
- // this.updateContactMethod(contactMethod);
75
- // return {};
76
- // });
77
- // }
78
- // return {};
79
- // }),
80
- // )
81
- this.updateContactMethod = function (contactMethod, errors) { };
82
- }
83
- return ConversationFormAdapter;
84
- }());
85
- export { ConversationFormAdapter };