@sumit_yewale/angular 1.1.18

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.
@@ -0,0 +1,420 @@
1
+ import { SecurityContext, Component, ViewChild, Input, NgModule } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import { generateUuid, buildImportUrl, classifyStructuredMessage, buildInitPayload } from '@sumit_yewale/adapter-core';
4
+
5
+ /**
6
+ * @fileoverview added by tsickle
7
+ * Generated from: utlis/insertCSS.ts
8
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9
+ */
10
+ /** @type {?} */
11
+ var styleElement;
12
+ /** @type {?} */
13
+ var GLOBAL_CSS = "\n.csvbox-holder {\n z-index: 2147483647;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: none;\n}\n.csvbox-holder iframe {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0px;\n left: 0px;\n}\n";
14
+ /** @type {?} */
15
+ var insertCSS = (/**
16
+ * @return {?}
17
+ */
18
+ function () {
19
+ if (styleElement) {
20
+ return;
21
+ }
22
+ styleElement = document.createElement('style');
23
+ styleElement.setAttribute('type', 'text/css');
24
+ /** @type {?} */
25
+ var head = document.querySelector('head');
26
+ if (head) {
27
+ head.appendChild(styleElement);
28
+ }
29
+ styleElement.textContent = GLOBAL_CSS;
30
+ });
31
+
32
+ /**
33
+ * @fileoverview added by tsickle
34
+ * Generated from: lib/csvbox-button.component.ts
35
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
36
+ */
37
+ /** @type {?} */
38
+ var appVersion = '1.1.16';
39
+ var CSVBoxButtonComponent = /** @class */ (function () {
40
+ function CSVBoxButtonComponent(sanitizer) {
41
+ this.sanitizer = sanitizer;
42
+ this.isModalShown = false;
43
+ this.licenseKey = null;
44
+ this.uuid = null;
45
+ this.customDomain = null;
46
+ this.dataLocation = null;
47
+ this.language = null;
48
+ this.theme = null;
49
+ this.isIframeLoaded = false;
50
+ this.openModalOnIframeLoad = false;
51
+ this.lazy = false;
52
+ this.iframe = null;
53
+ this.disabled = true;
54
+ }
55
+ /**
56
+ * @return {?}
57
+ */
58
+ CSVBoxButtonComponent.prototype.ngOnInit = /**
59
+ * @return {?}
60
+ */
61
+ function () {
62
+ this.uuid = generateUuid();
63
+ /** @type {?} */
64
+ var iframeUrl = buildImportUrl({
65
+ licenseKey: this.licenseKey,
66
+ customDomain: this.customDomain,
67
+ dataLocation: this.dataLocation,
68
+ language: this.language,
69
+ theme: this.theme,
70
+ environment: this.environment
71
+ }, "angular", appVersion);
72
+ this.safeUrl = this.sanitizer.sanitize(SecurityContext.RESOURCE_URL, this.sanitizer.bypassSecurityTrustResourceUrl(iframeUrl));
73
+ };
74
+ /**
75
+ * @param {?} changes
76
+ * @return {?}
77
+ */
78
+ CSVBoxButtonComponent.prototype.ngOnChanges = /**
79
+ * @param {?} changes
80
+ * @return {?}
81
+ */
82
+ function (changes) {
83
+ if (changes["user"] && changes['user'].currentValue != changes['user'].previousValue) {
84
+ this.updateUserVariabe(changes['user'].currentValue);
85
+ }
86
+ };
87
+ /**
88
+ * @param {?} data
89
+ * @return {?}
90
+ */
91
+ CSVBoxButtonComponent.prototype.updateUserVariabe = /**
92
+ * @param {?} data
93
+ * @return {?}
94
+ */
95
+ function (data) {
96
+ this.user = data;
97
+ if (this.iframe && this.iframe.contentWindow) {
98
+ this.iframe.contentWindow.postMessage({
99
+ "customer": data
100
+ }, "*");
101
+ }
102
+ };
103
+ /**
104
+ * @return {?}
105
+ */
106
+ CSVBoxButtonComponent.prototype.ngAfterContentInit = /**
107
+ * @return {?}
108
+ */
109
+ function () {
110
+ var _this = this;
111
+ window.addEventListener("message", (/**
112
+ * @param {?} event
113
+ * @return {?}
114
+ */
115
+ function (event) {
116
+ /** @type {?} */
117
+ var message = classifyStructuredMessage(event.data, (/** @type {?} */ (_this.uuid)));
118
+ if (!message) {
119
+ return;
120
+ }
121
+ if (message.type === "data-on-submit") {
122
+ if (_this.onSubmit)
123
+ _this.onSubmit(message.metadata);
124
+ if (_this.isSubmitted)
125
+ _this.isSubmitted(message.metadata);
126
+ if (_this.submitted)
127
+ _this.submitted(message.metadata);
128
+ }
129
+ else if (message.type === "data-push-status") {
130
+ if (!message.success) {
131
+ delete message.metadata["unique_token"];
132
+ }
133
+ if (_this.onImport)
134
+ _this.onImport(message.success, message.metadata);
135
+ if (_this.isImported)
136
+ _this.isImported(message.success, message.metadata);
137
+ if (_this.imported)
138
+ _this.imported(message.success, message.metadata);
139
+ }
140
+ else if (message.type === "csvbox-modal-hidden") {
141
+ _this.handleModalClosed();
142
+ }
143
+ else if (message.type === "csvbox-upload-successful") {
144
+ if (_this.onImport)
145
+ _this.onImport(true);
146
+ if (_this.isImported)
147
+ _this.isImported(true);
148
+ if (_this.imported)
149
+ _this.imported(true);
150
+ }
151
+ else if (message.type === "csvbox-upload-failed") {
152
+ if (_this.onImport)
153
+ _this.onImport(false);
154
+ if (_this.isImported)
155
+ _this.isImported(false);
156
+ if (_this.imported)
157
+ _this.imported(false);
158
+ }
159
+ }), false);
160
+ if (this.lazy) {
161
+ this.disabled = false;
162
+ }
163
+ else {
164
+ this.disabled = true;
165
+ this.initImporter();
166
+ }
167
+ };
168
+ /**
169
+ * @return {?}
170
+ */
171
+ CSVBoxButtonComponent.prototype.handleModalClosed = /**
172
+ * @return {?}
173
+ */
174
+ function () {
175
+ if (this.holder)
176
+ this.holder.style.display = 'none';
177
+ this.isModalShown = false;
178
+ this.isIframeLoaded = false;
179
+ this.openModalOnIframeLoad = false;
180
+ if (this.holder)
181
+ this.holder.remove();
182
+ this.holder = null;
183
+ this.iframe = null;
184
+ if (this.onClose)
185
+ this.onClose();
186
+ if (this.isClosed)
187
+ this.isClosed();
188
+ if (this.closed)
189
+ this.closed();
190
+ };
191
+ /**
192
+ * @return {?}
193
+ */
194
+ CSVBoxButtonComponent.prototype.initImporter = /**
195
+ * @return {?}
196
+ */
197
+ function () {
198
+ if (this.loadStarted)
199
+ this.loadStarted();
200
+ this.uuid = generateUuid();
201
+ insertCSS();
202
+ /** @type {?} */
203
+ var iframe = document.createElement("iframe");
204
+ this.iframe = iframe;
205
+ iframe.setAttribute("src", this.safeUrl);
206
+ iframe.frameBorder = "0";
207
+ /** @type {?} */
208
+ var self = this;
209
+ iframe.onload = (/**
210
+ * @return {?}
211
+ */
212
+ function () {
213
+ if (self.onReady)
214
+ self.onReady();
215
+ if (self.isReady)
216
+ self.isReady();
217
+ if (self.importerReady)
218
+ self.importerReady();
219
+ self.disabled = false;
220
+ self.isIframeLoaded = true;
221
+ if (self.iframe && self.iframe.contentWindow) {
222
+ self.iframe.contentWindow.postMessage(buildInitPayload(self.user, self.dynamicColumns, self.options, (/** @type {?} */ (self.uuid))), "*");
223
+ }
224
+ if (self.openModalOnIframeLoad) {
225
+ self.openModal();
226
+ }
227
+ });
228
+ this.holder = document.createElement('div');
229
+ this.holder.classList.add('csvbox-holder');
230
+ this.holder.setAttribute('id', "csvbox-embed-" + this.uuid);
231
+ this.holder.appendChild(iframe);
232
+ document.body.insertAdjacentElement('beforeend', this.holder);
233
+ };
234
+ /**
235
+ * @return {?}
236
+ */
237
+ CSVBoxButtonComponent.prototype.openModal = /**
238
+ * @return {?}
239
+ */
240
+ function () {
241
+ if (!this.iframe) {
242
+ this.openModalOnIframeLoad = true;
243
+ this.initImporter();
244
+ return;
245
+ }
246
+ if (!this.isModalShown) {
247
+ if (this.isIframeLoaded) {
248
+ this.isModalShown = true;
249
+ if (this.holder)
250
+ this.holder.style.display = 'block';
251
+ if (this.iframe && this.iframe.contentWindow) {
252
+ this.iframe.contentWindow.postMessage('openModal', '*');
253
+ }
254
+ }
255
+ else {
256
+ this.openModalOnIframeLoad = true;
257
+ }
258
+ }
259
+ };
260
+ CSVBoxButtonComponent.decorators = [
261
+ { type: Component, args: [{
262
+ selector: 'csvbox-button',
263
+ template: "\n <div>\n <button [disabled]=\"disabled\" #initiator (click)=\"openModal()\" [attr.data-csvbox-token]=\"uuid\">\n <ng-content></ng-content>\n </button>\n </div>\n "
264
+ }] }
265
+ ];
266
+ /** @nocollapse */
267
+ CSVBoxButtonComponent.ctorParameters = function () { return [
268
+ { type: DomSanitizer }
269
+ ]; };
270
+ CSVBoxButtonComponent.propDecorators = {
271
+ initiator: [{ type: ViewChild, args: ['initiator', { static: false },] }],
272
+ onImport: [{ type: Input }],
273
+ onReady: [{ type: Input }],
274
+ onClose: [{ type: Input }],
275
+ onSubmit: [{ type: Input }],
276
+ isImported: [{ type: Input }],
277
+ isReady: [{ type: Input }],
278
+ isClosed: [{ type: Input }],
279
+ isSubmitted: [{ type: Input }],
280
+ importerReady: [{ type: Input }],
281
+ closed: [{ type: Input }],
282
+ submitted: [{ type: Input }],
283
+ imported: [{ type: Input }],
284
+ loadStarted: [{ type: Input }],
285
+ user: [{ type: Input }],
286
+ dynamicColumns: [{ type: Input }],
287
+ licenseKey: [{ type: Input }],
288
+ options: [{ type: Input }],
289
+ uuid: [{ type: Input }],
290
+ customDomain: [{ type: Input }],
291
+ dataLocation: [{ type: Input }],
292
+ language: [{ type: Input }],
293
+ environment: [{ type: Input }],
294
+ theme: [{ type: Input }],
295
+ isIframeLoaded: [{ type: Input }],
296
+ openModalOnIframeLoad: [{ type: Input }],
297
+ lazy: [{ type: Input }],
298
+ disabled: [{ type: Input }]
299
+ };
300
+ return CSVBoxButtonComponent;
301
+ }());
302
+ if (false) {
303
+ /** @type {?} */
304
+ CSVBoxButtonComponent.prototype.isModalShown;
305
+ /** @type {?} */
306
+ CSVBoxButtonComponent.prototype.initiator;
307
+ /** @type {?} */
308
+ CSVBoxButtonComponent.prototype.onImport;
309
+ /** @type {?} */
310
+ CSVBoxButtonComponent.prototype.onReady;
311
+ /** @type {?} */
312
+ CSVBoxButtonComponent.prototype.onClose;
313
+ /** @type {?} */
314
+ CSVBoxButtonComponent.prototype.onSubmit;
315
+ /** @type {?} */
316
+ CSVBoxButtonComponent.prototype.isImported;
317
+ /** @type {?} */
318
+ CSVBoxButtonComponent.prototype.isReady;
319
+ /** @type {?} */
320
+ CSVBoxButtonComponent.prototype.isClosed;
321
+ /** @type {?} */
322
+ CSVBoxButtonComponent.prototype.isSubmitted;
323
+ /** @type {?} */
324
+ CSVBoxButtonComponent.prototype.importerReady;
325
+ /** @type {?} */
326
+ CSVBoxButtonComponent.prototype.closed;
327
+ /** @type {?} */
328
+ CSVBoxButtonComponent.prototype.submitted;
329
+ /** @type {?} */
330
+ CSVBoxButtonComponent.prototype.imported;
331
+ /** @type {?} */
332
+ CSVBoxButtonComponent.prototype.loadStarted;
333
+ /** @type {?} */
334
+ CSVBoxButtonComponent.prototype.user;
335
+ /** @type {?} */
336
+ CSVBoxButtonComponent.prototype.dynamicColumns;
337
+ /** @type {?} */
338
+ CSVBoxButtonComponent.prototype.licenseKey;
339
+ /** @type {?} */
340
+ CSVBoxButtonComponent.prototype.options;
341
+ /** @type {?} */
342
+ CSVBoxButtonComponent.prototype.uuid;
343
+ /** @type {?} */
344
+ CSVBoxButtonComponent.prototype.customDomain;
345
+ /** @type {?} */
346
+ CSVBoxButtonComponent.prototype.dataLocation;
347
+ /** @type {?} */
348
+ CSVBoxButtonComponent.prototype.language;
349
+ /** @type {?} */
350
+ CSVBoxButtonComponent.prototype.environment;
351
+ /** @type {?} */
352
+ CSVBoxButtonComponent.prototype.theme;
353
+ /** @type {?} */
354
+ CSVBoxButtonComponent.prototype.isIframeLoaded;
355
+ /** @type {?} */
356
+ CSVBoxButtonComponent.prototype.openModalOnIframeLoad;
357
+ /** @type {?} */
358
+ CSVBoxButtonComponent.prototype.lazy;
359
+ /** @type {?} */
360
+ CSVBoxButtonComponent.prototype.safeUrl;
361
+ /** @type {?} */
362
+ CSVBoxButtonComponent.prototype.iframe;
363
+ /** @type {?} */
364
+ CSVBoxButtonComponent.prototype.disabled;
365
+ /** @type {?} */
366
+ CSVBoxButtonComponent.prototype.holder;
367
+ /** @type {?} */
368
+ CSVBoxButtonComponent.prototype.sanitizer;
369
+ }
370
+
371
+ /**
372
+ * @fileoverview added by tsickle
373
+ * Generated from: lib/csvbox-angular.module.ts
374
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
375
+ */
376
+ var CSVBoxAngularModule = /** @class */ (function () {
377
+ function CSVBoxAngularModule() {
378
+ }
379
+ CSVBoxAngularModule.decorators = [
380
+ { type: NgModule, args: [{
381
+ declarations: [
382
+ CSVBoxButtonComponent
383
+ ],
384
+ imports: [],
385
+ exports: [
386
+ CSVBoxButtonComponent
387
+ ]
388
+ },] }
389
+ ];
390
+ return CSVBoxAngularModule;
391
+ }());
392
+
393
+ /**
394
+ * @fileoverview added by tsickle
395
+ * Generated from: lib/interfaces/interface.ts
396
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
397
+ */
398
+ /**
399
+ * @record
400
+ */
401
+ function CSVBoxMethods() { }
402
+ if (false) {
403
+ /** @type {?|undefined} */
404
+ CSVBoxMethods.prototype.onData;
405
+ }
406
+
407
+ /**
408
+ * @fileoverview added by tsickle
409
+ * Generated from: public-api.ts
410
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
411
+ */
412
+
413
+ /**
414
+ * @fileoverview added by tsickle
415
+ * Generated from: sumit_yewale-angular.ts
416
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
417
+ */
418
+
419
+ export { CSVBoxAngularModule, CSVBoxButtonComponent };
420
+ //# sourceMappingURL=sumit_yewale-angular.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sumit_yewale-angular.js","sources":["ng://@sumit_yewale/angular/utlis/insertCSS.ts","ng://@sumit_yewale/angular/lib/csvbox-button.component.ts","ng://@sumit_yewale/angular/lib/csvbox-angular.module.ts","ng://@sumit_yewale/angular/lib/interfaces/interface.ts"],"sourcesContent":["let styleElement: HTMLStyleElement\n\nconst GLOBAL_CSS = `\n.csvbox-holder {\n z-index: 2147483647;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: none;\n}\n.csvbox-holder iframe {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0px;\n left: 0px;\n}\n`\n\nexport const insertCSS = (): void => {\n if (styleElement) {\n return\n }\n\n styleElement = document.createElement('style')\n styleElement.setAttribute('type', 'text/css')\n const head = document.querySelector('head');\n if (head) {\n head.appendChild(styleElement);\n }\n\n styleElement.textContent = GLOBAL_CSS\n}\n","import {\n Component,\n OnInit,\n ViewChild,\n Input,\n OnChanges,\n SimpleChanges,\n SecurityContext,\n AfterContentInit\n} from '@angular/core';\n\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\nimport { insertCSS } from '../utlis/insertCSS';\nimport { buildImportUrl, generateUuid, buildInitPayload, classifyStructuredMessage } from '@sumit_yewale/adapter-core';\n\nconst appVersion = '1.1.16';\n\n@Component({\n selector: 'csvbox-button',\n template: `\n <div>\n <button [disabled]=\"disabled\" #initiator (click)=\"openModal()\" [attr.data-csvbox-token]=\"uuid\">\n <ng-content></ng-content>\n </button>\n </div>\n `\n})\n\nexport class CSVBoxButtonComponent implements OnInit, OnChanges, AfterContentInit {\n\n isModalShown = false;\n\n @ViewChild('initiator', {static: false}) initiator: any;\n @Input() onImport?: Function;\n @Input() onReady?: Function;\n @Input() onClose?: Function;\n @Input() onSubmit?: Function;\n\n @Input() isImported?: Function;\n @Input() isReady?: Function;\n @Input() isClosed?: Function;\n @Input() isSubmitted?: Function;\n\n @Input() importerReady?: Function;\n @Input() closed?: Function;\n @Input() submitted?: Function;\n @Input() imported?: Function;\n @Input() loadStarted?: Function;\n\n @Input() user?: object;\n @Input() dynamicColumns?: object;\n @Input() licenseKey: string | null = null;\n @Input() options?: object;\n @Input() uuid: string | null = null;\n @Input() customDomain: string | null = null;\n @Input() dataLocation: string | null = null;\n @Input() language: string | null = null;\n @Input() environment?: object;\n\n @Input() theme: string | null = null;\n\n @Input() isIframeLoaded: boolean = false;\n @Input() openModalOnIframeLoad: boolean = false;\n\n @Input() lazy: boolean = false;\n\n safeUrl: any;\n\n iframe: HTMLIFrameElement | null = null;\n\n @Input() disabled: boolean = true;\n\n constructor(public sanitizer:DomSanitizer) {}\n\n holder: any;\n\n ngOnInit(): void {\n this.uuid = generateUuid();\n let iframeUrl = buildImportUrl(\n {\n licenseKey: this.licenseKey,\n customDomain: this.customDomain,\n dataLocation: this.dataLocation,\n language: this.language,\n theme: this.theme,\n environment: this.environment\n },\n \"angular\",\n appVersion\n );\n this.safeUrl = this.sanitizer.sanitize(SecurityContext.RESOURCE_URL, this.sanitizer.bypassSecurityTrustResourceUrl(iframeUrl));\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if(changes[\"user\"] && changes['user'].currentValue != changes['user'].previousValue) {\n this.updateUserVariabe(changes['user'].currentValue);\n }\n }\n\n updateUserVariabe(data: any): void {\n this.user = data;\n if (this.iframe && this.iframe.contentWindow) {\n this.iframe.contentWindow.postMessage({\n \"customer\" : data\n }, \"*\");\n }\n }\n\n ngAfterContentInit(): void {\n window.addEventListener(\"message\", (event) => {\n let message = classifyStructuredMessage(event.data, this.uuid!);\n if (!message) {\n return;\n }\n\n if (message.type === \"data-on-submit\") {\n if (this.onSubmit) this.onSubmit(message.metadata);\n if (this.isSubmitted) this.isSubmitted(message.metadata);\n if (this.submitted) this.submitted(message.metadata);\n } else if (message.type === \"data-push-status\") {\n if (!message.success) {\n delete message.metadata[\"unique_token\"];\n }\n if (this.onImport) this.onImport(message.success, message.metadata);\n if (this.isImported) this.isImported(message.success, message.metadata);\n if (this.imported) this.imported(message.success, message.metadata);\n } else if (message.type === \"csvbox-modal-hidden\") {\n this.handleModalClosed();\n } else if (message.type === \"csvbox-upload-successful\") {\n if (this.onImport) this.onImport(true);\n if (this.isImported) this.isImported(true);\n if (this.imported) this.imported(true);\n } else if (message.type === \"csvbox-upload-failed\") {\n if (this.onImport) this.onImport(false);\n if (this.isImported) this.isImported(false);\n if (this.imported) this.imported(false);\n }\n }, false);\n\n if(this.lazy) {\n this.disabled = false;\n } else {\n this.disabled = true;\n this.initImporter();\n }\n }\n\n handleModalClosed(): void {\n if (this.holder) this.holder.style.display = 'none';\n this.isModalShown = false;\n this.isIframeLoaded = false;\n this.openModalOnIframeLoad = false;\n if (this.holder) this.holder.remove();\n this.holder = null;\n this.iframe = null;\n if (this.onClose) this.onClose();\n if (this.isClosed) this.isClosed();\n if (this.closed) this.closed();\n }\n\n initImporter() {\n if (this.loadStarted) this.loadStarted();\n\n this.uuid = generateUuid();\n\n insertCSS();\n\n let iframe = document.createElement(\"iframe\");\n this.iframe = iframe;\n iframe.setAttribute(\"src\", this.safeUrl);\n iframe.frameBorder = \"0\";\n\n let self = this;\n iframe.onload = function () {\n if (self.onReady) self.onReady();\n if (self.isReady) self.isReady();\n if (self.importerReady) self.importerReady();\n\n self.disabled = false;\n self.isIframeLoaded = true;\n if (self.iframe && self.iframe.contentWindow) {\n self.iframe.contentWindow.postMessage(buildInitPayload(self.user, self.dynamicColumns, self.options, self.uuid!), \"*\");\n }\n if(self.openModalOnIframeLoad) {\n self.openModal();\n }\n }\n\n this.holder = document.createElement('div');\n this.holder.classList.add('csvbox-holder');\n this.holder.setAttribute('id', `csvbox-embed-${this.uuid}`);\n this.holder.appendChild(iframe);\n\n document.body.insertAdjacentElement(\n 'beforeend', this.holder\n );\n }\n\n openModal(): void {\n if(!this.iframe) {\n this.openModalOnIframeLoad = true;\n this.initImporter();\n return;\n }\n if(!this.isModalShown) {\n if(this.isIframeLoaded) {\n this.isModalShown = true;\n if(this.holder) this.holder.style.display = 'block';\n if(this.iframe && this.iframe.contentWindow) {\n this.iframe.contentWindow.postMessage('openModal', '*');\n }\n } else {\n this.openModalOnIframeLoad = true;\n }\n }\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { CSVBoxButtonComponent } from './csvbox-button.component';\n\n\n\n@NgModule({\n declarations: [\n CSVBoxButtonComponent\n ],\n imports: [\n ],\n exports: [\n CSVBoxButtonComponent\n ]\n})\nexport class CSVBoxAngularModule { }\n","export interface CSVBoxMethods {\n onData?: (result:boolean, data:any) => void;\n}\n"],"names":[],"mappings":";;;;;;;;;;IAAI,YAA8B;;IAE5B,UAAU,GAAG,wPAiBlB;;AAED,IAAa,SAAS;;;AAAG;IACvB,IAAI,YAAY,EAAE;QAChB,OAAM;KACP;IAED,YAAY,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;IAC9C,YAAY,CAAC,YAAY,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;;QACvC,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC;IAC3C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAChC;IAED,YAAY,CAAC,WAAW,GAAG,UAAU,CAAA;CACtC,CAAA;;;;;;;AClCD;IAeM,UAAU,GAAG,QAAQ;AAE3B;IAuDE,+BAAmB,SAAsB;QAAtB,cAAS,GAAT,SAAS,CAAa;QA1CzC,iBAAY,GAAG,KAAK,CAAC;QAqBZ,eAAU,GAAkB,IAAI,CAAC;QAEjC,SAAI,GAAkB,IAAI,CAAC;QAC3B,iBAAY,GAAkB,IAAI,CAAC;QACnC,iBAAY,GAAkB,IAAI,CAAC;QACnC,aAAQ,GAAkB,IAAI,CAAC;QAG/B,UAAK,GAAkB,IAAI,CAAC;QAE5B,mBAAc,GAAY,KAAK,CAAC;QAChC,0BAAqB,GAAY,KAAK,CAAC;QAEvC,SAAI,GAAY,KAAK,CAAC;QAI/B,WAAM,GAA6B,IAAI,CAAC;QAE/B,aAAQ,GAAY,IAAI,CAAC;KAEW;;;;IAI7C,wCAAQ;;;IAAR;QACE,IAAI,CAAC,IAAI,GAAG,YAAY,EA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K;8BACL,KAAK;wBAEL,KAAK;iCAEL,KAAK;wCACL,KAAK;uBAEL,KAAK;2BAML,KAAK;;IAmJR,4BAAC;CAxMD,IAwMC;;;IA3LC,6CAAqB;;IAErB,0CAAwD;;IACxD,yCAA6B;;IAC7B,wCAA4B;;IAC5B,wCAA4B;;IAC5B,yCAA6B;;IAE7B,2CAA+B;;IAC/B,wCAA4B;;IAC5B,yCAA6B;;IAC7B,4CAAgC;;IAEhC,8CAAkC;;IAClC,uCAA2B;;IAC3B,0CAA8B;;IAC9B,yCAA6B;;IAC7B,4CAAgC;;IAEhC,qCAAuB;;IACvB,+CAAiC;;IACjC,2CAA0C;;IAC1C,wCAA0B;;IAC1B,qCAAoC;;IACpC,6CAA4C;;IAC5C,6CAA4C;;IAC5C,yCAAwC;;IACxC,4CAA8B;;IAE9B,sCAAqC;;IAErC,+CAAyC;;IACzC,sDAAgD;;IAEhD,qCAA+B;;IAE/B,wCAAa;;IAEb,uCAAwC;;IAExC,yCAAkC;;IAIlC,uCAAY;;IAFA,0CAA6B;;;;;;;;ACxE3C;IAKA;KAUoC;;gBAVnC,QAAQ,SAAC;oBACR,YAAY,EAAE;wBACZ,qBAAqB;qBACtB;oBACD,OAAO,EAAE,EACR;oBACD,OAAO,EAAE;wBACP,qBAAqB;qBACtB;iBACF;;IACkC,0BAAC;CAVpC;;;;;;;;;;ACLA,4BAEC;;;IADC,+BAA4C;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare class CSVBoxAngularModule {
2
+ }
@@ -0,0 +1,45 @@
1
+ import { OnInit, OnChanges, SimpleChanges, AfterContentInit } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ export declare class CSVBoxButtonComponent implements OnInit, OnChanges, AfterContentInit {
4
+ sanitizer: DomSanitizer;
5
+ isModalShown: boolean;
6
+ initiator: any;
7
+ onImport?: Function;
8
+ onReady?: Function;
9
+ onClose?: Function;
10
+ onSubmit?: Function;
11
+ isImported?: Function;
12
+ isReady?: Function;
13
+ isClosed?: Function;
14
+ isSubmitted?: Function;
15
+ importerReady?: Function;
16
+ closed?: Function;
17
+ submitted?: Function;
18
+ imported?: Function;
19
+ loadStarted?: Function;
20
+ user?: object;
21
+ dynamicColumns?: object;
22
+ licenseKey: string | null;
23
+ options?: object;
24
+ uuid: string | null;
25
+ customDomain: string | null;
26
+ dataLocation: string | null;
27
+ language: string | null;
28
+ environment?: object;
29
+ theme: string | null;
30
+ isIframeLoaded: boolean;
31
+ openModalOnIframeLoad: boolean;
32
+ lazy: boolean;
33
+ safeUrl: any;
34
+ iframe: HTMLIFrameElement | null;
35
+ disabled: boolean;
36
+ constructor(sanitizer: DomSanitizer);
37
+ holder: any;
38
+ ngOnInit(): void;
39
+ ngOnChanges(changes: SimpleChanges): void;
40
+ updateUserVariabe(data: any): void;
41
+ ngAfterContentInit(): void;
42
+ handleModalClosed(): void;
43
+ initImporter(): void;
44
+ openModal(): void;
45
+ }
@@ -0,0 +1,3 @@
1
+ export interface CSVBoxMethods {
2
+ onData?: (result: boolean, data: any) => void;
3
+ }
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@sumit_yewale/angular",
3
+ "version": "1.1.18",
4
+ "description": "Angular adapter for csvbox.io",
5
+ "author": "csvbox-io",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/csvbox-io/angular-adapter.git"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "peerDependencies": {
15
+ "@angular/core": ">=8.0.0 <14.0.0",
16
+ "@angular/common": ">=8.0.0 <14.0.0"
17
+ },
18
+ "dependencies": {
19
+ "tslib": "^2.0.0",
20
+ "@sumit_yewale/adapter-core": "^0.0.1"
21
+ },
22
+ "keywords": [
23
+ "csv",
24
+ "importer",
25
+ "uploader",
26
+ "csvbox",
27
+ "parser",
28
+ "csv-parse",
29
+ "excel",
30
+ "xls",
31
+ "csv import",
32
+ "csv upload",
33
+ "spreadsheet import",
34
+ "angular csv",
35
+ "csv parse",
36
+ "csv to json"
37
+ ],
38
+ "bugs": {
39
+ "url": "https://github.com/csvbox-io/angular-adapter/issues"
40
+ },
41
+ "homepage": "https://github.com/csvbox-io/angular-adapter#readme",
42
+ "directories": {
43
+ "example": "example"
44
+ },
45
+ "main": "bundles/sumit_yewale-angular.umd.js",
46
+ "module": "fesm5/sumit_yewale-angular.js",
47
+ "es2015": "fesm2015/sumit_yewale-angular.js",
48
+ "esm5": "esm5/sumit_yewale-angular.js",
49
+ "esm2015": "esm2015/sumit_yewale-angular.js",
50
+ "fesm5": "fesm5/sumit_yewale-angular.js",
51
+ "fesm2015": "fesm2015/sumit_yewale-angular.js",
52
+ "typings": "sumit_yewale-angular.d.ts",
53
+ "metadata": "sumit_yewale-angular.metadata.json",
54
+ "sideEffects": false
55
+ }
@@ -0,0 +1,3 @@
1
+ export * from './lib/csvbox-button.component';
2
+ export * from './lib/csvbox-angular.module';
3
+ export * from './lib/interfaces/interface';
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"CSVBoxButtonComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":17,"character":1},"arguments":[{"selector":"csvbox-button","template":"\n <div>\n <button [disabled]=\"disabled\" #initiator (click)=\"openModal()\" [attr.data-csvbox-token]=\"uuid\">\n <ng-content></ng-content>\n </button>\n </div>\n "}]}],"members":{"initiator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":32,"character":3},"arguments":["initiator",{"static":false}]}]}],"onImport":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"onReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"onClose":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"onSubmit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"isImported":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":38,"character":3}}]}],"isReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":39,"character":3}}]}],"isClosed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3}}]}],"isSubmitted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"importerReady":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"closed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"submitted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"imported":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"loadStarted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":47,"character":3}}]}],"user":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":49,"character":3}}]}],"dynamicColumns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":50,"character":3}}]}],"licenseKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":51,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":3}}]}],"uuid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":53,"character":3}}]}],"customDomain":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":54,"character":3}}]}],"dataLocation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":55,"character":3}}]}],"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":3}}]}],"environment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":57,"character":3}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":59,"character":3}}]}],"isIframeLoaded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":61,"character":3}}]}],"openModalOnIframeLoad":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":62,"character":3}}]}],"lazy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":70,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DomSanitizer","line":72,"character":31}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"updateUserVariabe":[{"__symbolic":"method"}],"ngAfterContentInit":[{"__symbolic":"method"}],"handleModalClosed":[{"__symbolic":"method"}],"initImporter":[{"__symbolic":"method"}],"openModal":[{"__symbolic":"method"}]}},"CSVBoxAngularModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"CSVBoxButtonComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"CSVBoxButtonComponent"}]}]}],"members":{}},"CSVBoxMethods":{"__symbolic":"interface"}},"origins":{"CSVBoxButtonComponent":"./lib/csvbox-button.component","CSVBoxAngularModule":"./lib/csvbox-angular.module","CSVBoxMethods":"./lib/interfaces/interface"},"importAs":"@sumit_yewale/angular"}
@@ -0,0 +1 @@
1
+ export declare const insertCSS: () => void;