@jaak.ai/stamps 1.0.0-beta.1

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 (122) hide show
  1. package/README.md +385 -0
  2. package/dist/cjs/document-detector_19.cjs.entry.js +8540 -0
  3. package/dist/cjs/index-5e4e5e7d.js +1685 -0
  4. package/dist/cjs/index.cjs.js +2 -0
  5. package/dist/cjs/loader.cjs.js +22 -0
  6. package/dist/cjs/mb-tooltip.cjs.entry.js +26 -0
  7. package/dist/cjs/stamps.cjs.js +23 -0
  8. package/dist/collection/collection-manifest.json +31 -0
  9. package/dist/collection/components/document-detector/document-detector.css +154 -0
  10. package/dist/collection/components/document-detector/document-detector.js +416 -0
  11. package/dist/collection/components/shared/mb-api-process-status/mb-api-process-status.css +360 -0
  12. package/dist/collection/components/shared/mb-api-process-status/mb-api-process-status.js +124 -0
  13. package/dist/collection/components/shared/mb-button/mb-button.css +95 -0
  14. package/dist/collection/components/shared/mb-button/mb-button.js +201 -0
  15. package/dist/collection/components/shared/mb-button-classic/mb-button-classic.css +100 -0
  16. package/dist/collection/components/shared/mb-button-classic/mb-button-classic.js +130 -0
  17. package/dist/collection/components/shared/mb-camera-experience/mb-camera-experience.css +740 -0
  18. package/dist/collection/components/shared/mb-camera-experience/mb-camera-experience.js +827 -0
  19. package/dist/collection/components/shared/mb-camera-experience/mb-camera-experience.utils.js +55 -0
  20. package/dist/collection/components/shared/mb-camera-selection/mb-camera-selection.css +124 -0
  21. package/dist/collection/components/shared/mb-camera-selection/mb-camera-selection.js +194 -0
  22. package/dist/collection/components/shared/mb-camera-toolbar/mb-camera-toolbar.css +80 -0
  23. package/dist/collection/components/shared/mb-camera-toolbar/mb-camera-toolbar.js +275 -0
  24. package/dist/collection/components/shared/mb-completed/mb-completed.css +17 -0
  25. package/dist/collection/components/shared/mb-completed/mb-completed.js +48 -0
  26. package/dist/collection/components/shared/mb-component/mb-component.css +321 -0
  27. package/dist/collection/components/shared/mb-component/mb-component.js +2269 -0
  28. package/dist/collection/components/shared/mb-component/mb-component.utils.js +14 -0
  29. package/dist/collection/components/shared/mb-container/mb-container.css +7 -0
  30. package/dist/collection/components/shared/mb-container/mb-container.js +23 -0
  31. package/dist/collection/components/shared/mb-feedback/mb-feedback.css +36 -0
  32. package/dist/collection/components/shared/mb-feedback/mb-feedback.js +91 -0
  33. package/dist/collection/components/shared/mb-feedback/mb-feedback.utils.js +11 -0
  34. package/dist/collection/components/shared/mb-help/mb-help.css +191 -0
  35. package/dist/collection/components/shared/mb-help/mb-help.js +409 -0
  36. package/dist/collection/components/shared/mb-help/mb-help.model.js +5 -0
  37. package/dist/collection/components/shared/mb-image-box/mb-image-box.css +78 -0
  38. package/dist/collection/components/shared/mb-image-box/mb-image-box.js +150 -0
  39. package/dist/collection/components/shared/mb-modal/mb-modal.css +106 -0
  40. package/dist/collection/components/shared/mb-modal/mb-modal.js +239 -0
  41. package/dist/collection/components/shared/mb-overlay/mb-overlay.css +46 -0
  42. package/dist/collection/components/shared/mb-overlay/mb-overlay.js +76 -0
  43. package/dist/collection/components/shared/mb-progress-tracker/mb-progress-tracker.css +24 -0
  44. package/dist/collection/components/shared/mb-progress-tracker/mb-progress-tracker.js +80 -0
  45. package/dist/collection/components/shared/mb-screen/mb-screen.css +19 -0
  46. package/dist/collection/components/shared/mb-screen/mb-screen.js +48 -0
  47. package/dist/collection/components/shared/mb-spinner/mb-spinner.css +30 -0
  48. package/dist/collection/components/shared/mb-spinner/mb-spinner.js +67 -0
  49. package/dist/collection/components/shared/mb-tooltip/mb-tooltip.css +62 -0
  50. package/dist/collection/components/shared/mb-tooltip/mb-tooltip.js +150 -0
  51. package/dist/collection/components/shared/mb-tooltip-advanced/mb-tooltip-advanced.css +91 -0
  52. package/dist/collection/components/shared/mb-tooltip-advanced/mb-tooltip-advanced.js +96 -0
  53. package/dist/collection/index.js +1 -0
  54. package/dist/collection/utils/data-structures.js +189 -0
  55. package/dist/collection/utils/device.helpers.js +37 -0
  56. package/dist/collection/utils/error-structures.js +47 -0
  57. package/dist/collection/utils/generic.helpers.js +82 -0
  58. package/dist/collection/utils/sdk.service.js +943 -0
  59. package/dist/collection/utils/state-lifter.js +3 -0
  60. package/dist/collection/utils/status.document-detector.js +15 -0
  61. package/dist/collection/utils/translation.service.js +97 -0
  62. package/dist/esm/document-detector_19.entry.js +8518 -0
  63. package/dist/esm/index-dc740acb.js +1656 -0
  64. package/dist/esm/index.js +1 -0
  65. package/dist/esm/loader.js +18 -0
  66. package/dist/esm/mb-tooltip.entry.js +22 -0
  67. package/dist/esm/polyfills/core-js.js +11 -0
  68. package/dist/esm/polyfills/css-shim.js +1 -0
  69. package/dist/esm/polyfills/dom.js +79 -0
  70. package/dist/esm/polyfills/es5-html-element.js +1 -0
  71. package/dist/esm/polyfills/index.js +34 -0
  72. package/dist/esm/polyfills/system.js +6 -0
  73. package/dist/esm/stamps.js +18 -0
  74. package/dist/index.cjs.js +1 -0
  75. package/dist/index.js +1 -0
  76. package/dist/stamps/index.esm.js +0 -0
  77. package/dist/stamps/p-66d9fb33.entry.js +9 -0
  78. package/dist/stamps/p-7f07a434.js +2 -0
  79. package/dist/stamps/p-ec3f5972.entry.js +1 -0
  80. package/dist/stamps/stamps.esm.js +1 -0
  81. package/dist/types/components/document-detector/document-detector.d.ts +86 -0
  82. package/dist/types/components/shared/mb-api-process-status/mb-api-process-status.d.ts +30 -0
  83. package/dist/types/components/shared/mb-button/mb-button.d.ts +41 -0
  84. package/dist/types/components/shared/mb-button-classic/mb-button-classic.d.ts +27 -0
  85. package/dist/types/components/shared/mb-camera-experience/mb-camera-experience.d.ts +141 -0
  86. package/dist/types/components/shared/mb-camera-experience/mb-camera-experience.utils.d.ts +3 -0
  87. package/dist/types/components/shared/mb-camera-selection/mb-camera-selection.d.ts +33 -0
  88. package/dist/types/components/shared/mb-camera-toolbar/mb-camera-toolbar.d.ts +54 -0
  89. package/dist/types/components/shared/mb-completed/mb-completed.d.ts +12 -0
  90. package/dist/types/components/shared/mb-component/mb-component.d.ts +308 -0
  91. package/dist/types/components/shared/mb-component/mb-component.utils.d.ts +3 -0
  92. package/dist/types/components/shared/mb-container/mb-container.d.ts +8 -0
  93. package/dist/types/components/shared/mb-feedback/mb-feedback.d.ts +19 -0
  94. package/dist/types/components/shared/mb-feedback/mb-feedback.utils.d.ts +2 -0
  95. package/dist/types/components/shared/mb-help/mb-help.d.ts +66 -0
  96. package/dist/types/components/shared/mb-help/mb-help.model.d.ts +9 -0
  97. package/dist/types/components/shared/mb-image-box/mb-image-box.d.ts +35 -0
  98. package/dist/types/components/shared/mb-modal/mb-modal.d.ts +53 -0
  99. package/dist/types/components/shared/mb-overlay/mb-overlay.d.ts +17 -0
  100. package/dist/types/components/shared/mb-progress-tracker/mb-progress-tracker.d.ts +19 -0
  101. package/dist/types/components/shared/mb-screen/mb-screen.d.ts +12 -0
  102. package/dist/types/components/shared/mb-spinner/mb-spinner.d.ts +16 -0
  103. package/dist/types/components/shared/mb-tooltip/mb-tooltip.d.ts +10 -0
  104. package/dist/types/components/shared/mb-tooltip-advanced/mb-tooltip-advanced.d.ts +7 -0
  105. package/dist/types/components.d.ts +1382 -0
  106. package/dist/types/index.d.ts +1 -0
  107. package/dist/types/stencil-public-runtime.d.ts +1637 -0
  108. package/dist/types/utils/data-structures.d.ts +264 -0
  109. package/dist/types/utils/device.helpers.d.ts +7 -0
  110. package/dist/types/utils/error-structures.d.ts +44 -0
  111. package/dist/types/utils/generic.helpers.d.ts +21 -0
  112. package/dist/types/utils/sdk.service.d.ts +52 -0
  113. package/dist/types/utils/state-lifter.d.ts +3 -0
  114. package/dist/types/utils/status.document-detector.d.ts +14 -0
  115. package/dist/types/utils/translation.service.d.ts +77 -0
  116. package/loader/cdn.js +3 -0
  117. package/loader/index.cjs.js +3 -0
  118. package/loader/index.d.ts +21 -0
  119. package/loader/index.es2017.js +3 -0
  120. package/loader/index.js +4 -0
  121. package/loader/package.json +11 -0
  122. package/package.json +63 -0
@@ -0,0 +1,416 @@
1
+ import { Host, h, } from "@stencil/core";
2
+ import { SdkService } from "../../utils/sdk.service";
3
+ import { TranslationService } from "../../utils/translation.service";
4
+ import * as GenericHelpers from "../../utils/generic.helpers";
5
+ import { StatusDocumentDetector } from "../../utils/status.document-detector";
6
+ export class DocumentDetector {
7
+ constructor() {
8
+ this.blocked = false;
9
+ this.allowHelloMessage = false;
10
+ this.engineLocation = "https://storage.googleapis.com/jaak-storage/models/web/document-detector/v2.0.0";
11
+ this.workerLocation = "https://storage.googleapis.com/jaak-storage/models/web/document-detector/v2.0.0/BlinkIDWasmSDK.worker.min.js";
12
+ this.wasmType = "ADVANCE";
13
+ this.blinkIdVariant = "lightweight";
14
+ this.recognizers = ['BlinkIdMultiSideRecognizer'];
15
+ this.recognizerOptions = {
16
+ BlinkIdMultiSideRecognizer: {
17
+ returnEncodedFullDocumentImage: true,
18
+ returnEncodedFaceImage: true,
19
+ returnEncodedSignatureImage: true,
20
+ fullDocumentImageExtensionFactors: {
21
+ upFactor: 0.1,
22
+ downFactor: 0.1,
23
+ leftFactor: 0.1,
24
+ rightFactor: 0.1
25
+ },
26
+ fullDocumentImageDpi: 300
27
+ }
28
+ };
29
+ this.recognitionPauseTimeout = 3800;
30
+ this.cameraExperienceStateDurations = null;
31
+ this.enableDrag = false;
32
+ this.hideFeedback = true;
33
+ this.hideLoadingAndErrorUi = false;
34
+ this.scanFromCamera = true;
35
+ this.scanFromImage = false;
36
+ this.thoroughScanFromImage = false;
37
+ this.galleryOverlayType = "INLINE";
38
+ this.galleryDropType = "INLINE";
39
+ this.showActionLabels = false;
40
+ this.showModalWindows = false;
41
+ this.showCameraFeedbackBarcodeMessage = false;
42
+ this.cameraId = null;
43
+ this.allowHelpScreensFab = false;
44
+ this.allowHelpScreensOnboarding = false;
45
+ this.allowHelpScreensOnboardingPerpetuity = false;
46
+ this.helpScreensTooltipPauseTimeout = 15000;
47
+ this.pingProxyUrl = null;
48
+ this.fatalError = {
49
+ emit: (data) => {
50
+ this.status.emit(StatusDocumentDetector.ERROR);
51
+ return undefined;
52
+ }
53
+ };
54
+ this.ready = {
55
+ emit: (data) => {
56
+ this.status.emit(StatusDocumentDetector.INITIALIZING);
57
+ return undefined;
58
+ }
59
+ };
60
+ this.scanError = {
61
+ emit: (data) => {
62
+ this.status.emit(StatusDocumentDetector.ERROR);
63
+ return undefined;
64
+ }
65
+ };
66
+ this.scanSuccess = {
67
+ emit: (data) => {
68
+ this.results.emit(data?.data?.data);
69
+ this.status.emit(StatusDocumentDetector.RESULTS_SUCCESS);
70
+ return undefined;
71
+ }
72
+ };
73
+ this.feedback = {
74
+ emit: (data) => {
75
+ console.log(data);
76
+ return undefined;
77
+ }
78
+ };
79
+ this.cameraScanStarted = {
80
+ emit: () => {
81
+ this.status.emit(StatusDocumentDetector.RECORDING);
82
+ return undefined;
83
+ }
84
+ };
85
+ this.imageScanStarted = {
86
+ emit: () => {
87
+ this.status.emit(StatusDocumentDetector.RUNNING);
88
+ return undefined;
89
+ }
90
+ };
91
+ this.scanAborted = {
92
+ emit: () => {
93
+ this.status.emit(StatusDocumentDetector.DETECTION_FAILED);
94
+ return undefined;
95
+ }
96
+ };
97
+ this.restart = false;
98
+ this.licenseKey = undefined;
99
+ this.config = undefined;
100
+ }
101
+ configHandler(newConfig) {
102
+ if (newConfig && newConfig.key) {
103
+ this.licenseKey = newConfig.key;
104
+ }
105
+ }
106
+ async setUiState(state) {
107
+ this.mbComponentEl.setUiState(state);
108
+ }
109
+ async startCameraScan() {
110
+ this.mbComponentEl.startCameraScan();
111
+ }
112
+ async startImageScan(file) {
113
+ this.mbComponentEl.startImageScan(file);
114
+ }
115
+ async startMultiSideImageScan(firstFile, secondFile) {
116
+ this.mbComponentEl.startMultiSideImageScan(firstFile, secondFile);
117
+ }
118
+ async setUiMessage(state, message) {
119
+ this.feedbackEl.show({ state, message });
120
+ }
121
+ async getProductIntegrationInfo() {
122
+ return this.sdkService?.getProductIntegrationInfo();
123
+ }
124
+ async restartComponent() {
125
+ this.sdkService?.delete();
126
+ this.init();
127
+ this.restart = true;
128
+ setTimeout(() => {
129
+ this.restart = false;
130
+ setTimeout(() => {
131
+ this.startCameraScan();
132
+ }, 300);
133
+ }, 100);
134
+ }
135
+ componentWillLoad() {
136
+ if (this.config && this.config.key) {
137
+ this.licenseKey = this.config.key;
138
+ }
139
+ this.init();
140
+ }
141
+ componentWillUpdate() {
142
+ if (this.blocked) {
143
+ return;
144
+ }
145
+ if (this.config && this.config.key) {
146
+ this.licenseKey = this.config.key;
147
+ }
148
+ this.sdkService?.delete();
149
+ this.init();
150
+ }
151
+ disconnectedCallback() {
152
+ this.sdkService?.delete();
153
+ }
154
+ init() {
155
+ const rawRecognizers = GenericHelpers.stringToArray(this.rawRecognizers);
156
+ this.finalRecognizers = this.recognizers
157
+ ? this.recognizers
158
+ : rawRecognizers;
159
+ const rawTranslations = GenericHelpers.stringToObject(this.rawTranslations);
160
+ this.finalTranslations = this.translations
161
+ ? this.translations
162
+ : rawTranslations;
163
+ this.translationService = new TranslationService(this.finalTranslations || {});
164
+ this.sdkService = new SdkService();
165
+ }
166
+ render() {
167
+ return (h(Host, null, h("mb-container", null, !this.restart && (h("mb-component", { dir: this.hostEl.getAttribute("dir"), ref: (el) => (this.mbComponentEl = el), allowHelloMessage: this.allowHelloMessage, recognitionPauseTimeout: this.recognitionPauseTimeout, cameraExperienceStateDurations: this.cameraExperienceStateDurations, engineLocation: this.engineLocation, workerLocation: this.workerLocation, licenseKey: this.licenseKey, wasmType: this.wasmType, blinkIdVariant: this.blinkIdVariant, recognizers: this.finalRecognizers, recognizerOptions: this.recognizerOptions, recognitionTimeout: this.recognitionTimeout, enableDrag: this.enableDrag, hideLoadingAndErrorUi: this.hideLoadingAndErrorUi, scanFromCamera: this.scanFromCamera, scanFromImage: this.scanFromImage, thoroughScanFromImage: this.thoroughScanFromImage, galleryOverlayType: this.galleryOverlayType, galleryDropType: this.galleryDropType, showActionLabels: this.showActionLabels, showModalWindows: this.showModalWindows, showCameraFeedbackBarcodeMessage: this.showCameraFeedbackBarcodeMessage, iconCameraDefault: this.iconCameraDefault, iconCameraActive: this.iconCameraActive, iconGalleryDefault: this.iconGalleryDefault, iconGalleryActive: this.iconGalleryActive, iconInvalidFormat: this.iconInvalidFormat, iconSpinnerScreenLoading: this.iconSpinnerScreenLoading, iconSpinnerFromGalleryExperience: this.iconSpinnerFromGalleryExperience, iconGalleryScanningCompleted: this.iconGalleryScanningCompleted, sdkService: this.sdkService, translationService: this.translationService, cameraId: this.cameraId, allowHelpScreens: false, pingProxyUrl: this.pingProxyUrl, allowHelpScreensFab: this.allowHelpScreensFab, allowHelpScreensOnboarding: this.allowHelpScreensOnboarding, allowHelpScreensOnboardingPerpetuity: this.allowHelpScreensOnboardingPerpetuity, helpScreensTooltipPauseTimeout: this.helpScreensTooltipPauseTimeout, onBlock: (ev) => {
168
+ this.blocked = ev.detail;
169
+ }, onFeedback: (ev) => {
170
+ this.feedbackEl.show(ev.detail);
171
+ this.feedback.emit(ev.detail);
172
+ }, onScanSuccess: (ev) => this.scanSuccess.emit(ev.detail), onReady: (ev) => this.ready.emit(ev.detail), onCameraScanStarted: (ev) => this.cameraScanStarted.emit(ev.detail), onImageScanStarted: (ev) => this.imageScanStarted.emit(ev.detail), onScanError: (ev) => this.scanError.emit(ev.detail), onScanAborted: (ev) => this.scanAborted.emit(ev.detail) })), h("mb-feedback", { dir: this.hostEl.getAttribute("dir"), visible: !this.hideFeedback, ref: (el) => (this.feedbackEl = el) }))));
173
+ }
174
+ static get is() { return "document-detector"; }
175
+ static get encapsulation() { return "shadow"; }
176
+ static get originalStyleUrls() {
177
+ return {
178
+ "$": ["document-detector.scss"]
179
+ };
180
+ }
181
+ static get styleUrls() {
182
+ return {
183
+ "$": ["document-detector.css"]
184
+ };
185
+ }
186
+ static get properties() {
187
+ return {
188
+ "licenseKey": {
189
+ "type": "string",
190
+ "mutable": true,
191
+ "complexType": {
192
+ "original": "string",
193
+ "resolved": "string",
194
+ "references": {}
195
+ },
196
+ "required": false,
197
+ "optional": false,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": ""
201
+ },
202
+ "attribute": "license-key",
203
+ "reflect": false
204
+ },
205
+ "config": {
206
+ "type": "unknown",
207
+ "mutable": true,
208
+ "complexType": {
209
+ "original": "{\n key: string;\n }",
210
+ "resolved": "{ key: string; }",
211
+ "references": {}
212
+ },
213
+ "required": false,
214
+ "optional": false,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": ""
218
+ }
219
+ }
220
+ };
221
+ }
222
+ static get states() {
223
+ return {
224
+ "restart": {}
225
+ };
226
+ }
227
+ static get events() {
228
+ return [{
229
+ "method": "results",
230
+ "name": "results",
231
+ "bubbles": true,
232
+ "cancelable": true,
233
+ "composed": true,
234
+ "docs": {
235
+ "tags": [],
236
+ "text": ""
237
+ },
238
+ "complexType": {
239
+ "original": "any",
240
+ "resolved": "any",
241
+ "references": {}
242
+ }
243
+ }, {
244
+ "method": "status",
245
+ "name": "status",
246
+ "bubbles": true,
247
+ "cancelable": true,
248
+ "composed": true,
249
+ "docs": {
250
+ "tags": [],
251
+ "text": ""
252
+ },
253
+ "complexType": {
254
+ "original": "StatusDocumentDetector",
255
+ "resolved": "StatusDocumentDetector.BACK_SIDE_DETECTION | StatusDocumentDetector.CHANGE_SIDE | StatusDocumentDetector.DETECTION_FAILED | StatusDocumentDetector.DOCUMENT_DETECTED | StatusDocumentDetector.DOCUMENT_NOT_FOUND | StatusDocumentDetector.ERROR | StatusDocumentDetector.FRONT_SIDE_DETECTION | StatusDocumentDetector.INITIALIZING | StatusDocumentDetector.RECORDING | StatusDocumentDetector.RESULTS_EMPTY | StatusDocumentDetector.RESULTS_SUCCESS | StatusDocumentDetector.RUNNING",
256
+ "references": {
257
+ "StatusDocumentDetector": {
258
+ "location": "import",
259
+ "path": "../../utils/status.document-detector"
260
+ }
261
+ }
262
+ }
263
+ }];
264
+ }
265
+ static get methods() {
266
+ return {
267
+ "setUiState": {
268
+ "complexType": {
269
+ "signature": "(state: \"ERROR\" | \"LOADING\" | \"NONE\" | \"SUCCESS\") => Promise<void>",
270
+ "parameters": [{
271
+ "tags": [],
272
+ "text": ""
273
+ }],
274
+ "references": {
275
+ "Promise": {
276
+ "location": "global"
277
+ }
278
+ },
279
+ "return": "Promise<void>"
280
+ },
281
+ "docs": {
282
+ "text": "",
283
+ "tags": []
284
+ }
285
+ },
286
+ "startCameraScan": {
287
+ "complexType": {
288
+ "signature": "() => Promise<void>",
289
+ "parameters": [],
290
+ "references": {
291
+ "Promise": {
292
+ "location": "global"
293
+ }
294
+ },
295
+ "return": "Promise<void>"
296
+ },
297
+ "docs": {
298
+ "text": "",
299
+ "tags": []
300
+ }
301
+ },
302
+ "startImageScan": {
303
+ "complexType": {
304
+ "signature": "(file: File) => Promise<void>",
305
+ "parameters": [{
306
+ "tags": [],
307
+ "text": ""
308
+ }],
309
+ "references": {
310
+ "Promise": {
311
+ "location": "global"
312
+ },
313
+ "File": {
314
+ "location": "global"
315
+ }
316
+ },
317
+ "return": "Promise<void>"
318
+ },
319
+ "docs": {
320
+ "text": "",
321
+ "tags": []
322
+ }
323
+ },
324
+ "startMultiSideImageScan": {
325
+ "complexType": {
326
+ "signature": "(firstFile: File, secondFile: File) => Promise<void>",
327
+ "parameters": [{
328
+ "tags": [],
329
+ "text": ""
330
+ }, {
331
+ "tags": [],
332
+ "text": ""
333
+ }],
334
+ "references": {
335
+ "Promise": {
336
+ "location": "global"
337
+ },
338
+ "File": {
339
+ "location": "global"
340
+ }
341
+ },
342
+ "return": "Promise<void>"
343
+ },
344
+ "docs": {
345
+ "text": "",
346
+ "tags": []
347
+ }
348
+ },
349
+ "setUiMessage": {
350
+ "complexType": {
351
+ "signature": "(state: \"FEEDBACK_ERROR\" | \"FEEDBACK_INFO\" | \"FEEDBACK_OK\", message: string) => Promise<void>",
352
+ "parameters": [{
353
+ "tags": [],
354
+ "text": ""
355
+ }, {
356
+ "tags": [],
357
+ "text": ""
358
+ }],
359
+ "references": {
360
+ "Promise": {
361
+ "location": "global"
362
+ }
363
+ },
364
+ "return": "Promise<void>"
365
+ },
366
+ "docs": {
367
+ "text": "",
368
+ "tags": []
369
+ }
370
+ },
371
+ "getProductIntegrationInfo": {
372
+ "complexType": {
373
+ "signature": "() => Promise<ProductIntegrationInfo>",
374
+ "parameters": [],
375
+ "references": {
376
+ "Promise": {
377
+ "location": "global"
378
+ },
379
+ "ProductIntegrationInfo": {
380
+ "location": "import",
381
+ "path": "../../utils/data-structures"
382
+ }
383
+ },
384
+ "return": "Promise<ProductIntegrationInfo>"
385
+ },
386
+ "docs": {
387
+ "text": "",
388
+ "tags": []
389
+ }
390
+ },
391
+ "restartComponent": {
392
+ "complexType": {
393
+ "signature": "() => Promise<void>",
394
+ "parameters": [],
395
+ "references": {
396
+ "Promise": {
397
+ "location": "global"
398
+ }
399
+ },
400
+ "return": "Promise<void>"
401
+ },
402
+ "docs": {
403
+ "text": "",
404
+ "tags": []
405
+ }
406
+ }
407
+ };
408
+ }
409
+ static get elementRef() { return "hostEl"; }
410
+ static get watchers() {
411
+ return [{
412
+ "propName": "config",
413
+ "methodName": "configHandler"
414
+ }];
415
+ }
416
+ }