@blackbaud/skyux-lib-addin-client 4.0.2 → 6.0.0

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.
@@ -1,253 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs'), require('@angular/core'), require('@blackbaud/sky-addin-client')) :
3
- typeof define === 'function' && define.amd ? define('@blackbaud/skyux-lib-addin-client', ['exports', 'rxjs', '@angular/core', '@blackbaud/sky-addin-client'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.blackbaud = global.blackbaud || {}, global.blackbaud["skyux-lib-addin-client"] = {}), global.rxjs, global.ng.core, global.skyAddinClient));
5
- })(this, (function (exports, rxjs, i0, skyAddinClient) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
-
27
- /**
28
- * Contains data for an add-in event and allows you to indicate that an event
29
- * has been processed
30
- */
31
- var AddinEvent = /** @class */ (function () {
32
- function AddinEvent() {
33
- }
34
- return AddinEvent;
35
- }());
36
-
37
- /**
38
- * Allows you to process events from an event handler.
39
- */
40
- var AddinEventHandlerInstance = /** @class */ (function () {
41
- function AddinEventHandlerInstance() {
42
- }
43
- return AddinEventHandlerInstance;
44
- }());
45
-
46
- var AddinClientService = /** @class */ (function () {
47
- function AddinClientService() {
48
- var _this = this;
49
- // Init args
50
- this._args = new rxjs.AsyncSubject();
51
- this.args = this._args.asObservable();
52
- // Addin Client Events
53
- /**
54
- * Event emitted for button add-ins indicating that the button was clicked.
55
- */
56
- this.buttonClick = new i0.EventEmitter(true);
57
- /**
58
- * Event emitted for add-ins when context information has been updated
59
- */
60
- this.updateContext = new i0.EventEmitter();
61
- /**
62
- * Event emitted for flyout add-ins indicating that the next button was clicked.
63
- */
64
- this.flyoutNextClick = new i0.EventEmitter(true);
65
- /**
66
- * Event emitted for flyout add-ins indicating that the previous button was clicked.
67
- */
68
- this.flyoutPreviousClick = new i0.EventEmitter(true);
69
- /**
70
- * Event emitted for tile add-ins indicating that the help button was clicked.
71
- */
72
- this.helpClick = new i0.EventEmitter(true);
73
- /**
74
- * Event emitted for tile add-ins indicating that the settings button was clicked.
75
- */
76
- this.settingsClick = new i0.EventEmitter(true);
77
- this.addinClient = new skyAddinClient.AddinClient({
78
- callbacks: {
79
- init: function (args) {
80
- _this._args.next(args);
81
- _this._args.complete();
82
- },
83
- buttonClick: function () {
84
- _this.buttonClick.emit();
85
- },
86
- flyoutNextClick: function () {
87
- _this.flyoutNextClick.emit();
88
- },
89
- flyoutPreviousClick: function () {
90
- _this.flyoutPreviousClick.emit();
91
- },
92
- helpClick: function () {
93
- _this.helpClick.emit();
94
- },
95
- settingsClick: function () {
96
- _this.settingsClick.emit();
97
- },
98
- updateContext: function (context) {
99
- _this.updateContext.emit(context);
100
- }
101
- }
102
- });
103
- }
104
- /**
105
- * Informs the host to close this modal add-in.
106
- * Should only be used from within the modal add-in and not the parent add-in.
107
- * @param args Arguments to provide a context object back to the parent add-in.
108
- */
109
- AddinClientService.prototype.closeModal = function (args) {
110
- this.addinClient.closeModal(args);
111
- };
112
- /**
113
- * Requests the host page to launch a modal add-in.
114
- * @param args Arguments for launching the modal.
115
- * @returns Returns an observable that will publish a value when the modal add-in is closed.
116
- * Observables will publish values with context data passed from the modal add-in's closeModal call.
117
- */
118
- AddinClientService.prototype.showModal = function (args) {
119
- var modalReturn = this.addinClient.showModal(args);
120
- return rxjs.from(modalReturn.modalClosed);
121
- };
122
- /**
123
- * Cleans up the AddinClient, releasing all resources.
124
- */
125
- AddinClientService.prototype.destroy = function () {
126
- this.addinClient.destroy();
127
- };
128
- /**
129
- * Requests the host page to navigate.
130
- * @param args Arguments describing the navigation request.
131
- */
132
- AddinClientService.prototype.navigate = function (args) {
133
- this.addinClient.navigate(args);
134
- };
135
- /**
136
- * Informs the host to open the help tab with the specified help key.
137
- * @param args Arguments for launching the help tab.
138
- */
139
- AddinClientService.prototype.openHelp = function (args) {
140
- this.addinClient.openHelp(args);
141
- };
142
- /**
143
- * Requests a user identity token for the current user.
144
- * @returns Returns an observable which will publish the token value.
145
- */
146
- AddinClientService.prototype.getUserIdentityToken = function () {
147
- return rxjs.from(this.addinClient.getUserIdentityToken());
148
- };
149
- /**
150
- * @deprecated Use getUserIdentityToken
151
- */
152
- AddinClientService.prototype.getAuthToken = function () {
153
- return rxjs.from(this.addinClient.getUserIdentityToken());
154
- };
155
- /**
156
- * Informs the host to show a toast message.
157
- * @param args Arguments for showing a toast.
158
- */
159
- AddinClientService.prototype.showToast = function (args) {
160
- this.addinClient.showToast(args);
161
- };
162
- /**
163
- * Requests the host page to launch a flyout add-in.
164
- * @param args Arguments for launching the flyout.
165
- * @returns Returns an observable that will notify when the flyout add-in is closed.
166
- */
167
- AddinClientService.prototype.showFlyout = function (args) {
168
- var flyoutReturn = this.addinClient.showFlyout(args);
169
- return rxjs.from(flyoutReturn.flyoutClosed);
170
- };
171
- /**
172
- * Requests the host page to close the flyout add-in.
173
- */
174
- AddinClientService.prototype.closeFlyout = function () {
175
- this.addinClient.closeFlyout();
176
- };
177
- /**
178
- * Requests the host page to show a confirm dialog.
179
- * @param args Arguments for showing a confirm dialog.
180
- * @returns Returns an observable which will publish the confirm action value.
181
- */
182
- AddinClientService.prototype.showConfirm = function (args) {
183
- return rxjs.from(this.addinClient.showConfirm(args));
184
- };
185
- /**
186
- * Informs the host to show an error dialog.
187
- * @param args Arguments for showing an error dialog.
188
- */
189
- AddinClientService.prototype.showError = function (args) {
190
- this.addinClient.showError(args);
191
- };
192
- /**
193
- * Requests the host page to show a page blocking wait indicator.
194
- */
195
- AddinClientService.prototype.showWait = function () {
196
- this.addinClient.showWait();
197
- };
198
- /**
199
- * Requests the host page to hide a page blocking wait indicator.
200
- */
201
- AddinClientService.prototype.hideWait = function () {
202
- this.addinClient.hideWait();
203
- };
204
- /**
205
- * Registers an event handler for the provided event type.
206
- * @param eventType The event type to register.
207
- * @returns AddinEventHandlerInstance
208
- */
209
- AddinClientService.prototype.addEventHandler = function (eventType) {
210
- var eventHandlerInstance = new AddinEventHandlerInstance();
211
- eventHandlerInstance.addinEvent = new i0.EventEmitter();
212
- var eventCallback = function (context, done) {
213
- eventHandlerInstance.addinEvent.emit({
214
- context: context,
215
- done: done
216
- });
217
- };
218
- this.addinClient.addEventHandler(eventType, eventCallback);
219
- return eventHandlerInstance;
220
- };
221
- /**
222
- * Sends an event to be handled by the host page.
223
- * Supported for Blackbaud internal only
224
- * @param args The event arguments to be sent to the host page.
225
- * @returns Returns an observable which will complete when the add-in host page receives the
226
- * message. The request will fail if a subsequent event occurs, for the same event type, within
227
- * 200 milliseconds. A failure can also occur if an event type is not one of the supported types
228
- * from the host page.
229
- * @see AddinClientInitArgs#supportedEventTypes
230
- */
231
- AddinClientService.prototype.sendEvent = function (args) {
232
- return rxjs.from(this.addinClient.sendEvent(args));
233
- };
234
- return AddinClientService;
235
- }());
236
- AddinClientService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: AddinClientService, deps: [], target: i0__namespace.ɵɵFactoryTarget.Injectable });
237
- AddinClientService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: AddinClientService });
238
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.12", ngImport: i0__namespace, type: AddinClientService, decorators: [{
239
- type: i0.Injectable
240
- }], ctorParameters: function () { return []; } });
241
-
242
- /**
243
- * Generated bundle index. Do not edit.
244
- */
245
-
246
- exports.AddinClientService = AddinClientService;
247
- exports.AddinEvent = AddinEvent;
248
- exports.AddinEventHandlerInstance = AddinEventHandlerInstance;
249
-
250
- Object.defineProperty(exports, '__esModule', { value: true });
251
-
252
- }));
253
- //# sourceMappingURL=blackbaud-skyux-lib-addin-client.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blackbaud-skyux-lib-addin-client.umd.js","sources":["../../../projects/addin-client/src/src/events/addin-event.ts","../../../projects/addin-client/src/src/events/addin-event-handler-instance.ts","../../../projects/addin-client/src/src/addin-client.service.ts","../../../projects/addin-client/src/blackbaud-skyux-lib-addin-client.ts"],"sourcesContent":["/**\n * Contains data for an add-in event and allows you to indicate that an event\n * has been processed\n */\nexport class AddinEvent {\n\n /**\n * The data that an add-in event has returned.\n */\n public context: any;\n\n /**\n * A function to call indicating that the add-in event is processed.\n */\n public done?: () => void;\n}\n","import {\n EventEmitter\n} from '@angular/core';\n\nimport {\n AddinEvent\n} from './addin-event';\n\n/**\n * Allows you to process events from an event handler.\n */\nexport class AddinEventHandlerInstance {\n\n /**\n * An event that emits when a new add-in event has occurred.\n */\n public addinEvent: EventEmitter<AddinEvent>;\n}\n","import {\n AsyncSubject,\n Observable,\n from\n} from 'rxjs';\n\nimport {\n Injectable,\n EventEmitter\n} from '@angular/core';\n\nimport {\n AddinClient,\n AddinClientInitArgs,\n AddinClientCloseModalArgs,\n AddinClientShowModalArgs,\n AddinClientShowModalResult,\n AddinClientNavigateArgs,\n AddinClientOpenHelpArgs,\n AddinClientShowToastArgs,\n AddinClientShowFlyoutArgs,\n AddinClientShowFlyoutResult,\n AddinClientShowConfirmArgs,\n AddinClientShowErrorArgs,\n AddinEventCallback,\n AddinClientEventArgs\n} from '@blackbaud/sky-addin-client';\n\nimport {\n AddinEvent,\n AddinEventHandlerInstance\n} from './events';\n\n@Injectable()\nexport class AddinClientService {\n public readonly addinClient: AddinClient;\n\n // Init args\n private _args: AsyncSubject<AddinClientInitArgs> = new AsyncSubject<AddinClientInitArgs>();\n public args: Observable<AddinClientInitArgs> = this._args.asObservable();\n\n // Addin Client Events\n /**\n * Event emitted for button add-ins indicating that the button was clicked.\n */\n public buttonClick: EventEmitter<any> = new EventEmitter(true);\n\n /**\n * Event emitted for add-ins when context information has been updated\n */\n public updateContext: EventEmitter<any> = new EventEmitter();\n\n /**\n * Event emitted for flyout add-ins indicating that the next button was clicked.\n */\n public flyoutNextClick: EventEmitter<any> = new EventEmitter(true);\n\n /**\n * Event emitted for flyout add-ins indicating that the previous button was clicked.\n */\n public flyoutPreviousClick: EventEmitter<any> = new EventEmitter(true);\n\n /**\n * Event emitted for tile add-ins indicating that the help button was clicked.\n */\n public helpClick: EventEmitter<any> = new EventEmitter(true);\n\n /**\n * Event emitted for tile add-ins indicating that the settings button was clicked.\n */\n public settingsClick: EventEmitter<any> = new EventEmitter(true);\n\n constructor() {\n this.addinClient = new AddinClient({\n callbacks: {\n init: (args: AddinClientInitArgs) => {\n this._args.next(args);\n this._args.complete();\n },\n buttonClick: () => {\n this.buttonClick.emit();\n },\n flyoutNextClick: () => {\n this.flyoutNextClick.emit();\n },\n flyoutPreviousClick: () => {\n this.flyoutPreviousClick.emit();\n },\n helpClick: () => {\n this.helpClick.emit();\n },\n settingsClick: () => {\n this.settingsClick.emit();\n },\n updateContext: (context: any) => {\n this.updateContext.emit(context);\n }\n }\n });\n }\n\n /**\n * Informs the host to close this modal add-in.\n * Should only be used from within the modal add-in and not the parent add-in.\n * @param args Arguments to provide a context object back to the parent add-in.\n */\n public closeModal(args: AddinClientCloseModalArgs): void {\n this.addinClient.closeModal(args);\n }\n\n /**\n * Requests the host page to launch a modal add-in.\n * @param args Arguments for launching the modal.\n * @returns Returns an observable that will publish a value when the modal add-in is closed.\n * Observables will publish values with context data passed from the modal add-in's closeModal call.\n */\n public showModal(args: AddinClientShowModalArgs): Observable<any> {\n let modalReturn: AddinClientShowModalResult = this.addinClient.showModal(args);\n return from(modalReturn.modalClosed);\n }\n\n /**\n * Cleans up the AddinClient, releasing all resources.\n */\n public destroy(): void {\n this.addinClient.destroy();\n }\n\n /**\n * Requests the host page to navigate.\n * @param args Arguments describing the navigation request.\n */\n public navigate(args: AddinClientNavigateArgs): void {\n this.addinClient.navigate(args);\n }\n\n /**\n * Informs the host to open the help tab with the specified help key.\n * @param args Arguments for launching the help tab.\n */\n public openHelp(args: AddinClientOpenHelpArgs): void {\n this.addinClient.openHelp(args);\n }\n\n /**\n * Requests a user identity token for the current user.\n * @returns Returns an observable which will publish the token value.\n */\n public getUserIdentityToken(): Observable<string> {\n return from(this.addinClient.getUserIdentityToken());\n }\n\n /**\n * @deprecated Use getUserIdentityToken\n */\n public getAuthToken(): Observable<string> {\n return from(this.addinClient.getUserIdentityToken());\n }\n\n /**\n * Informs the host to show a toast message.\n * @param args Arguments for showing a toast.\n */\n public showToast(args: AddinClientShowToastArgs): void {\n this.addinClient.showToast(args);\n }\n\n /**\n * Requests the host page to launch a flyout add-in.\n * @param args Arguments for launching the flyout.\n * @returns Returns an observable that will notify when the flyout add-in is closed.\n */\n public showFlyout(args: AddinClientShowFlyoutArgs): Observable<void> {\n const flyoutReturn: AddinClientShowFlyoutResult = this.addinClient.showFlyout(args);\n return from(flyoutReturn.flyoutClosed);\n }\n\n /**\n * Requests the host page to close the flyout add-in.\n */\n public closeFlyout(): void {\n this.addinClient.closeFlyout();\n }\n\n /**\n * Requests the host page to show a confirm dialog.\n * @param args Arguments for showing a confirm dialog.\n * @returns Returns an observable which will publish the confirm action value.\n */\n public showConfirm(args: AddinClientShowConfirmArgs): Observable<string> {\n return from(this.addinClient.showConfirm(args));\n }\n\n /**\n * Informs the host to show an error dialog.\n * @param args Arguments for showing an error dialog.\n */\n public showError(args: AddinClientShowErrorArgs): void {\n this.addinClient.showError(args);\n }\n\n /**\n * Requests the host page to show a page blocking wait indicator.\n */\n public showWait(): void {\n this.addinClient.showWait();\n }\n\n /**\n * Requests the host page to hide a page blocking wait indicator.\n */\n public hideWait(): void {\n this.addinClient.hideWait();\n }\n\n /**\n * Registers an event handler for the provided event type.\n * @param eventType The event type to register.\n * @returns AddinEventHandlerInstance\n */\n public addEventHandler(eventType: string): AddinEventHandlerInstance {\n let eventHandlerInstance = new AddinEventHandlerInstance();\n eventHandlerInstance.addinEvent = new EventEmitter<AddinEvent>();\n\n const eventCallback: AddinEventCallback = (context, done) => {\n eventHandlerInstance.addinEvent.emit({\n context,\n done\n });\n };\n this.addinClient.addEventHandler(eventType, eventCallback);\n\n return eventHandlerInstance;\n }\n\n /**\n * Sends an event to be handled by the host page.\n * Supported for Blackbaud internal only\n * @param args The event arguments to be sent to the host page.\n * @returns Returns an observable which will complete when the add-in host page receives the\n * message. The request will fail if a subsequent event occurs, for the same event type, within\n * 200 milliseconds. A failure can also occur if an event type is not one of the supported types\n * from the host page.\n * @see AddinClientInitArgs#supportedEventTypes\n */\n public sendEvent(args: AddinClientEventArgs): Observable<void> {\n return from(this.addinClient.sendEvent(args));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["AsyncSubject","EventEmitter","AddinClient","from","Injectable"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;;;;;QAIA;SAWC;yBAAA;KAAA;;ICPD;;;;QAGA;SAMC;wCAAA;KAAA;;;QCuDC;YAAA,iBA2BC;;YA7DO,UAAK,GAAsC,IAAIA,iBAAY,EAAuB,CAAC;YACpF,SAAI,GAAoC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;;;;;YAMlE,gBAAW,GAAsB,IAAIC,eAAY,CAAC,IAAI,CAAC,CAAC;;;;YAKxD,kBAAa,GAAsB,IAAIA,eAAY,EAAE,CAAC;;;;YAKtD,oBAAe,GAAsB,IAAIA,eAAY,CAAC,IAAI,CAAC,CAAC;;;;YAK5D,wBAAmB,GAAsB,IAAIA,eAAY,CAAC,IAAI,CAAC,CAAC;;;;YAKhE,cAAS,GAAsB,I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