@globalpayments-private/gpds-pattern-web-angular 0.1.42 → 0.1.43
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.
- package/dist/directives/index.d.ts +1 -1
- package/dist/directives/index.js +6 -8
- package/dist/directives/proxies.d.ts +63 -148
- package/dist/directives/proxies.js +87 -184
- package/package.json +3 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './proxies';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.UdsPatternAdmin | typeof d.UdsPatternDashboard | typeof d.UdsPatternList | typeof d.UdsPatternLogin | typeof d.UdsPatternRecordForm | typeof d.UdsPatternRecordShow)[];
|
package/dist/directives/index.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as d from './proxies';
|
|
2
2
|
export const DIRECTIVES = [
|
|
3
|
-
d.
|
|
4
|
-
d.
|
|
5
|
-
d.
|
|
6
|
-
d.
|
|
7
|
-
d.
|
|
8
|
-
d.
|
|
9
|
-
d.UdsPatternLoginCard,
|
|
10
|
-
d.UdsPatternLoginPage
|
|
3
|
+
d.UdsPatternAdmin,
|
|
4
|
+
d.UdsPatternDashboard,
|
|
5
|
+
d.UdsPatternList,
|
|
6
|
+
d.UdsPatternLogin,
|
|
7
|
+
d.UdsPatternRecordForm,
|
|
8
|
+
d.UdsPatternRecordShow
|
|
11
9
|
];
|
|
@@ -1,192 +1,107 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
2
|
import type { Components } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class UdsPatternAdmin {
|
|
4
4
|
protected z: NgZone;
|
|
5
|
-
protected el:
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
protected el: HTMLUdsPatternAdminElement;
|
|
6
|
+
udsRouteChange: EventEmitter<UdsPatternAdminCustomEvent<IUdsPatternAdminRouteChange>>;
|
|
7
|
+
udsLogin: EventEmitter<UdsPatternAdminCustomEvent<IUdsPatternAdminAdminUser>>;
|
|
8
|
+
udsLogout: EventEmitter<UdsPatternAdminCustomEvent<void>>;
|
|
8
9
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
9
10
|
}
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
13
|
-
export declare interface
|
|
11
|
+
import type { UdsPatternAdminCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
12
|
+
import type { RouteChange as IUdsPatternAdminRouteChange } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
13
|
+
import type { AdminUser as IUdsPatternAdminAdminUser } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
14
|
+
export declare interface UdsPatternAdmin extends Components.UdsPatternAdmin {
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* The route changed. For `dashboard` and `custom` routes, render the page into the default slot.
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
+
udsRouteChange: EventEmitter<UdsPatternAdminCustomEvent<IUdsPatternAdminRouteChange>>;
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
+
* A user signed in.
|
|
20
21
|
*/
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
export declare class GpPatternList {
|
|
24
|
-
protected z: NgZone;
|
|
25
|
-
protected el: HTMLGpPatternListElement;
|
|
26
|
-
gpListRowClick: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListRowClickDetail<import("@globalpayments-private/gpds-pattern-web/dist/types/providers/data-provider.js").UdsRecord>>>;
|
|
27
|
-
gpListCreate: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListCreateDetail>>;
|
|
28
|
-
gpListError: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListErrorDetail>>;
|
|
29
|
-
gpListSelectionChange: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListSelectionChangeDetail>>;
|
|
30
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
31
|
-
}
|
|
32
|
-
import type { GpPatternListCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
33
|
-
import type { UdsListRowClickDetail as IGpPatternListUdsListRowClickDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
34
|
-
import type { UdsListCreateDetail as IGpPatternListUdsListCreateDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
35
|
-
import type { UdsListErrorDetail as IGpPatternListUdsListErrorDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
36
|
-
import type { UdsListSelectionChangeDetail as IGpPatternListUdsListSelectionChangeDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
37
|
-
export declare interface GpPatternList extends Components.GpPatternList {
|
|
38
|
-
/**
|
|
39
|
-
* Emitted when a row is activated. The pattern does not navigate on its own.
|
|
40
|
-
*/
|
|
41
|
-
gpListRowClick: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListRowClickDetail>>;
|
|
42
|
-
/**
|
|
43
|
-
* Emitted when the create action is used.
|
|
44
|
-
*/
|
|
45
|
-
gpListCreate: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListCreateDetail>>;
|
|
46
|
-
/**
|
|
47
|
-
* Emitted when a read fails, after the list has displayed the failure.
|
|
48
|
-
*/
|
|
49
|
-
gpListError: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListErrorDetail>>;
|
|
50
|
-
/**
|
|
51
|
-
* Emitted whenever the selected rows change.
|
|
52
|
-
*/
|
|
53
|
-
gpListSelectionChange: EventEmitter<GpPatternListCustomEvent<IGpPatternListUdsListSelectionChangeDetail>>;
|
|
54
|
-
}
|
|
55
|
-
export declare class GpPatternRecord {
|
|
56
|
-
protected z: NgZone;
|
|
57
|
-
protected el: HTMLGpPatternRecordElement;
|
|
58
|
-
gpRecordSave: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordSaveDetail>>;
|
|
59
|
-
gpRecordDelete: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordDeleteDetail>>;
|
|
60
|
-
gpRecordCancel: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordCancelDetail>>;
|
|
61
|
-
gpRecordDirtyChange: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordDirtyChangeDetail>>;
|
|
62
|
-
gpRecordError: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordErrorDetail>>;
|
|
63
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
64
|
-
}
|
|
65
|
-
import type { GpPatternRecordCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
66
|
-
import type { UdsRecordSaveDetail as IGpPatternRecordUdsRecordSaveDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
67
|
-
import type { UdsRecordDeleteDetail as IGpPatternRecordUdsRecordDeleteDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
68
|
-
import type { UdsRecordCancelDetail as IGpPatternRecordUdsRecordCancelDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
69
|
-
import type { UdsRecordDirtyChangeDetail as IGpPatternRecordUdsRecordDirtyChangeDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
70
|
-
import type { UdsRecordErrorDetail as IGpPatternRecordUdsRecordErrorDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
71
|
-
export declare interface GpPatternRecord extends Components.GpPatternRecord {
|
|
22
|
+
udsLogin: EventEmitter<UdsPatternAdminCustomEvent<IUdsPatternAdminAdminUser>>;
|
|
72
23
|
/**
|
|
73
|
-
*
|
|
24
|
+
* The user signed out.
|
|
74
25
|
*/
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Emitted after a delete the pattern has already applied.
|
|
78
|
-
*/
|
|
79
|
-
gpRecordDelete: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordDeleteDetail>>;
|
|
80
|
-
/**
|
|
81
|
-
* Emitted when the user leaves without saving. The pattern does not navigate.
|
|
82
|
-
*/
|
|
83
|
-
gpRecordCancel: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordCancelDetail>>;
|
|
84
|
-
/**
|
|
85
|
-
* Emitted when the form becomes dirty or clean — on the transition only.
|
|
86
|
-
|
|
87
|
-
The seam for a host that wants a browser-level unsaved-changes guard. The
|
|
88
|
-
pattern does not install a `beforeunload` handler itself; see ADR 0010.
|
|
89
|
-
*/
|
|
90
|
-
gpRecordDirtyChange: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordDirtyChangeDetail>>;
|
|
91
|
-
/**
|
|
92
|
-
* Emitted when a read or a write fails, after the pattern has displayed it.
|
|
93
|
-
*/
|
|
94
|
-
gpRecordError: EventEmitter<GpPatternRecordCustomEvent<IGpPatternRecordUdsRecordErrorDetail>>;
|
|
26
|
+
udsLogout: EventEmitter<UdsPatternAdminCustomEvent<void>>;
|
|
95
27
|
}
|
|
96
|
-
export declare class
|
|
28
|
+
export declare class UdsPatternDashboard {
|
|
97
29
|
protected z: NgZone;
|
|
98
|
-
protected el:
|
|
99
|
-
|
|
30
|
+
protected el: HTMLUdsPatternDashboardElement;
|
|
31
|
+
udsDashboardDrill: EventEmitter<UdsPatternDashboardCustomEvent<IUdsPatternDashboardUdsDashboardDrillContext>>;
|
|
100
32
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
101
33
|
}
|
|
102
|
-
import type {
|
|
103
|
-
import type {
|
|
104
|
-
export declare interface
|
|
34
|
+
import type { UdsPatternDashboardCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
35
|
+
import type { UdsDashboardDrillContext as IUdsPatternDashboardUdsDashboardDrillContext } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
36
|
+
export declare interface UdsPatternDashboard extends Components.UdsPatternDashboard {
|
|
105
37
|
/**
|
|
106
|
-
*
|
|
38
|
+
* A widget, one of its points or one of its series was activated (always fires, before any navigation).
|
|
107
39
|
*/
|
|
108
|
-
|
|
40
|
+
udsDashboardDrill: EventEmitter<UdsPatternDashboardCustomEvent<IUdsPatternDashboardUdsDashboardDrillContext>>;
|
|
109
41
|
}
|
|
110
|
-
export declare class
|
|
42
|
+
export declare class UdsPatternList {
|
|
111
43
|
protected z: NgZone;
|
|
112
|
-
protected el:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
gpWizardError: EventEmitter<GpPatternWizardCustomEvent<IGpPatternWizardUdsWizardErrorDetail>>;
|
|
116
|
-
gpWizardValuesChange: EventEmitter<GpPatternWizardCustomEvent<IGpPatternWizardUdsWizardValuesChangeDetail>>;
|
|
44
|
+
protected el: HTMLUdsPatternListElement;
|
|
45
|
+
udsListRowClick: EventEmitter<UdsPatternListCustomEvent<IUdsPatternListRaRecord>>;
|
|
46
|
+
udsListSelectionChange: EventEmitter<UdsPatternListCustomEvent<IUdsPatternListIdentifier[]>>;
|
|
117
47
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
118
48
|
}
|
|
119
|
-
import type {
|
|
120
|
-
import type {
|
|
121
|
-
import type {
|
|
122
|
-
|
|
123
|
-
import type { UdsWizardValuesChangeDetail as IGpPatternWizardUdsWizardValuesChangeDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
124
|
-
export declare interface GpPatternWizard extends Components.GpPatternWizard {
|
|
49
|
+
import type { UdsPatternListCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
50
|
+
import type { RaRecord as IUdsPatternListRaRecord } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
51
|
+
import type { Identifier as IUdsPatternListIdentifier } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
52
|
+
export declare interface UdsPatternList extends Components.UdsPatternList {
|
|
125
53
|
/**
|
|
126
|
-
*
|
|
54
|
+
* A row was activated (always fires, before any navigation).
|
|
127
55
|
*/
|
|
128
|
-
|
|
56
|
+
udsListRowClick: EventEmitter<UdsPatternListCustomEvent<IUdsPatternListRaRecord>>;
|
|
129
57
|
/**
|
|
130
|
-
*
|
|
58
|
+
* The selected record ids changed.
|
|
131
59
|
*/
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* Emitted when validation blocks a move, or the submit fails.
|
|
135
|
-
*/
|
|
136
|
-
gpWizardError: EventEmitter<GpPatternWizardCustomEvent<IGpPatternWizardUdsWizardErrorDetail>>;
|
|
137
|
-
/**
|
|
138
|
-
* Emitted whenever the collected answers change.
|
|
139
|
-
*/
|
|
140
|
-
gpWizardValuesChange: EventEmitter<GpPatternWizardCustomEvent<IGpPatternWizardUdsWizardValuesChangeDetail>>;
|
|
60
|
+
udsListSelectionChange: EventEmitter<UdsPatternListCustomEvent<IUdsPatternListIdentifier[]>>;
|
|
141
61
|
}
|
|
142
|
-
export declare class
|
|
62
|
+
export declare class UdsPatternLogin {
|
|
143
63
|
protected z: NgZone;
|
|
144
|
-
protected el:
|
|
64
|
+
protected el: HTMLUdsPatternLoginElement;
|
|
65
|
+
udsLoginSuccess: EventEmitter<UdsPatternLoginCustomEvent<IUdsPatternAdminAdminUser>>;
|
|
145
66
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
146
67
|
}
|
|
147
|
-
|
|
68
|
+
import type { UdsPatternLoginCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
69
|
+
import type { AdminUser as IUdsPatternLoginAdminUser } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
70
|
+
export declare interface UdsPatternLogin extends Components.UdsPatternLogin {
|
|
71
|
+
/**
|
|
72
|
+
* Signed in: the user the provider returned.
|
|
73
|
+
*/
|
|
74
|
+
udsLoginSuccess: EventEmitter<UdsPatternLoginCustomEvent<IUdsPatternLoginAdminUser>>;
|
|
148
75
|
}
|
|
149
|
-
export declare class
|
|
76
|
+
export declare class UdsPatternRecordForm {
|
|
150
77
|
protected z: NgZone;
|
|
151
|
-
protected el:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
udsLoginStepChange: EventEmitter<UdsPatternLoginCardCustomEvent<IUdsPatternLoginCardUdsLoginStepChangeDetail>>;
|
|
156
|
-
udsLoginError: EventEmitter<UdsPatternLoginCardCustomEvent<IUdsPatternLoginCardUdsLoginErrorDetail>>;
|
|
157
|
-
udsLoginAction: EventEmitter<UdsPatternLoginCardCustomEvent<IUdsPatternLoginCardUdsLoginActionDetail>>;
|
|
78
|
+
protected el: HTMLUdsPatternRecordFormElement;
|
|
79
|
+
udsRecordSave: EventEmitter<UdsPatternRecordFormCustomEvent<IUdsPatternListRaRecord>>;
|
|
80
|
+
udsRecordDelete: EventEmitter<UdsPatternRecordFormCustomEvent<IUdsPatternListIdentifier>>;
|
|
81
|
+
udsRecordCancel: EventEmitter<UdsPatternRecordFormCustomEvent<void>>;
|
|
158
82
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
159
83
|
}
|
|
160
|
-
import type {
|
|
161
|
-
import type {
|
|
162
|
-
import type {
|
|
163
|
-
|
|
164
|
-
import type { UdsLoginActionDetail as IUdsPatternLoginCardUdsLoginActionDetail } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
165
|
-
export declare interface UdsPatternLoginCard extends Components.UdsPatternLoginCard {
|
|
166
|
-
/**
|
|
167
|
-
* Emitted once the provider reports successful authentication.
|
|
168
|
-
*/
|
|
169
|
-
udsLoginSuccess: EventEmitter<UdsPatternLoginCardCustomEvent<{
|
|
170
|
-
session?: IUdsPatternLoginCardUdsSession;
|
|
171
|
-
}>>;
|
|
84
|
+
import type { UdsPatternRecordFormCustomEvent } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
85
|
+
import type { RaRecord as IUdsPatternRecordFormRaRecord } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
86
|
+
import type { Identifier as IUdsPatternRecordFormIdentifier } from '@globalpayments-private/gpds-pattern-web/dist/components';
|
|
87
|
+
export declare interface UdsPatternRecordForm extends Components.UdsPatternRecordForm {
|
|
172
88
|
/**
|
|
173
|
-
*
|
|
89
|
+
* Saved: the created or updated record.
|
|
174
90
|
*/
|
|
175
|
-
|
|
91
|
+
udsRecordSave: EventEmitter<UdsPatternRecordFormCustomEvent<IUdsPatternRecordFormRaRecord>>;
|
|
176
92
|
/**
|
|
177
|
-
*
|
|
93
|
+
* Deleted: the id of the record.
|
|
178
94
|
*/
|
|
179
|
-
|
|
95
|
+
udsRecordDelete: EventEmitter<UdsPatternRecordFormCustomEvent<IUdsPatternRecordFormIdentifier>>;
|
|
180
96
|
/**
|
|
181
|
-
*
|
|
182
|
-
In-workflow navigation is handled internally and is not reported here.
|
|
97
|
+
* The user cancelled.
|
|
183
98
|
*/
|
|
184
|
-
|
|
99
|
+
udsRecordCancel: EventEmitter<UdsPatternRecordFormCustomEvent<void>>;
|
|
185
100
|
}
|
|
186
|
-
export declare class
|
|
101
|
+
export declare class UdsPatternRecordShow {
|
|
187
102
|
protected z: NgZone;
|
|
188
|
-
protected el:
|
|
103
|
+
protected el: HTMLUdsPatternRecordShowElement;
|
|
189
104
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
190
105
|
}
|
|
191
|
-
export declare interface
|
|
106
|
+
export declare interface UdsPatternRecordShow extends Components.UdsPatternRecordShow {
|
|
192
107
|
}
|
|
@@ -11,19 +11,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
/* auto-generated angular directive proxies */
|
|
12
12
|
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, EventEmitter, Output, NgZone } from '@angular/core';
|
|
13
13
|
import { ProxyCmp } from './angular-component-lib/utils';
|
|
14
|
-
import { defineCustomElement as
|
|
15
|
-
import { defineCustomElement as
|
|
16
|
-
import { defineCustomElement as
|
|
17
|
-
import { defineCustomElement as
|
|
18
|
-
import { defineCustomElement as
|
|
19
|
-
import { defineCustomElement as
|
|
20
|
-
|
|
21
|
-
import { defineCustomElement as defineUdsPatternLoginPage } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-login-page.js';
|
|
22
|
-
let GpAdmin = class GpAdmin {
|
|
14
|
+
import { defineCustomElement as defineUdsPatternAdmin } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-admin.js';
|
|
15
|
+
import { defineCustomElement as defineUdsPatternDashboard } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-dashboard.js';
|
|
16
|
+
import { defineCustomElement as defineUdsPatternList } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-list.js';
|
|
17
|
+
import { defineCustomElement as defineUdsPatternLogin } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-login.js';
|
|
18
|
+
import { defineCustomElement as defineUdsPatternRecordForm } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-record-form.js';
|
|
19
|
+
import { defineCustomElement as defineUdsPatternRecordShow } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-record-show.js';
|
|
20
|
+
let UdsPatternAdmin = class UdsPatternAdmin {
|
|
23
21
|
constructor(c, r, z) {
|
|
24
22
|
this.z = z;
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
23
|
+
this.udsRouteChange = new EventEmitter();
|
|
24
|
+
this.udsLogin = new EventEmitter();
|
|
25
|
+
this.udsLogout = new EventEmitter();
|
|
27
26
|
c.detach();
|
|
28
27
|
this.el = r.nativeElement;
|
|
29
28
|
}
|
|
@@ -31,125 +30,35 @@ let GpAdmin = class GpAdmin {
|
|
|
31
30
|
__decorate([
|
|
32
31
|
Output(),
|
|
33
32
|
__metadata("design:type", Object)
|
|
34
|
-
],
|
|
33
|
+
], UdsPatternAdmin.prototype, "udsRouteChange", void 0);
|
|
35
34
|
__decorate([
|
|
36
35
|
Output(),
|
|
37
36
|
__metadata("design:type", Object)
|
|
38
|
-
],
|
|
39
|
-
GpAdmin = __decorate([
|
|
40
|
-
ProxyCmp({
|
|
41
|
-
defineCustomElementFn: defineGpAdmin,
|
|
42
|
-
inputs: ['config', 'hasDashboard'],
|
|
43
|
-
methods: ['navigate', 'currentRoute', 'signOut']
|
|
44
|
-
}),
|
|
45
|
-
Component({
|
|
46
|
-
selector: 'gp-admin',
|
|
47
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
48
|
-
template: '<ng-content></ng-content>',
|
|
49
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
50
|
-
inputs: ['config', 'hasDashboard'],
|
|
51
|
-
outputs: ['gpAdminRouteChange', 'gpAdminSignOut'],
|
|
52
|
-
}),
|
|
53
|
-
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
54
|
-
], GpAdmin);
|
|
55
|
-
export { GpAdmin };
|
|
56
|
-
let GpPatternList = class GpPatternList {
|
|
57
|
-
constructor(c, r, z) {
|
|
58
|
-
this.z = z;
|
|
59
|
-
this.gpListRowClick = new EventEmitter();
|
|
60
|
-
this.gpListCreate = new EventEmitter();
|
|
61
|
-
this.gpListError = new EventEmitter();
|
|
62
|
-
this.gpListSelectionChange = new EventEmitter();
|
|
63
|
-
c.detach();
|
|
64
|
-
this.el = r.nativeElement;
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
__decorate([
|
|
68
|
-
Output(),
|
|
69
|
-
__metadata("design:type", Object)
|
|
70
|
-
], GpPatternList.prototype, "gpListRowClick", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
Output(),
|
|
73
|
-
__metadata("design:type", Object)
|
|
74
|
-
], GpPatternList.prototype, "gpListCreate", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
Output(),
|
|
77
|
-
__metadata("design:type", Object)
|
|
78
|
-
], GpPatternList.prototype, "gpListError", void 0);
|
|
79
|
-
__decorate([
|
|
80
|
-
Output(),
|
|
81
|
-
__metadata("design:type", Object)
|
|
82
|
-
], GpPatternList.prototype, "gpListSelectionChange", void 0);
|
|
83
|
-
GpPatternList = __decorate([
|
|
84
|
-
ProxyCmp({
|
|
85
|
-
defineCustomElementFn: defineGpPatternList,
|
|
86
|
-
inputs: ['config', 'heading', 'paramPrefix', 'perPage', 'resource', 'undoWindowMs'],
|
|
87
|
-
methods: ['refresh', 'flush', 'updateSelected']
|
|
88
|
-
}),
|
|
89
|
-
Component({
|
|
90
|
-
selector: 'gp-pattern-list',
|
|
91
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
92
|
-
template: '<ng-content></ng-content>',
|
|
93
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
94
|
-
inputs: ['config', 'heading', 'paramPrefix', 'perPage', { name: 'resource', required: true }, 'undoWindowMs'],
|
|
95
|
-
outputs: ['gpListRowClick', 'gpListCreate', 'gpListError', 'gpListSelectionChange'],
|
|
96
|
-
}),
|
|
97
|
-
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
98
|
-
], GpPatternList);
|
|
99
|
-
export { GpPatternList };
|
|
100
|
-
let GpPatternRecord = class GpPatternRecord {
|
|
101
|
-
constructor(c, r, z) {
|
|
102
|
-
this.z = z;
|
|
103
|
-
this.gpRecordSave = new EventEmitter();
|
|
104
|
-
this.gpRecordDelete = new EventEmitter();
|
|
105
|
-
this.gpRecordCancel = new EventEmitter();
|
|
106
|
-
this.gpRecordDirtyChange = new EventEmitter();
|
|
107
|
-
this.gpRecordError = new EventEmitter();
|
|
108
|
-
c.detach();
|
|
109
|
-
this.el = r.nativeElement;
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
__decorate([
|
|
113
|
-
Output(),
|
|
114
|
-
__metadata("design:type", Object)
|
|
115
|
-
], GpPatternRecord.prototype, "gpRecordSave", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
Output(),
|
|
118
|
-
__metadata("design:type", Object)
|
|
119
|
-
], GpPatternRecord.prototype, "gpRecordDelete", void 0);
|
|
120
|
-
__decorate([
|
|
121
|
-
Output(),
|
|
122
|
-
__metadata("design:type", Object)
|
|
123
|
-
], GpPatternRecord.prototype, "gpRecordCancel", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
Output(),
|
|
126
|
-
__metadata("design:type", Object)
|
|
127
|
-
], GpPatternRecord.prototype, "gpRecordDirtyChange", void 0);
|
|
37
|
+
], UdsPatternAdmin.prototype, "udsLogin", void 0);
|
|
128
38
|
__decorate([
|
|
129
39
|
Output(),
|
|
130
40
|
__metadata("design:type", Object)
|
|
131
|
-
],
|
|
132
|
-
|
|
41
|
+
], UdsPatternAdmin.prototype, "udsLogout", void 0);
|
|
42
|
+
UdsPatternAdmin = __decorate([
|
|
133
43
|
ProxyCmp({
|
|
134
|
-
defineCustomElementFn:
|
|
135
|
-
inputs: ['config', '
|
|
136
|
-
methods: ['refresh', 'flush', 'getMode']
|
|
44
|
+
defineCustomElementFn: defineUdsPatternAdmin,
|
|
45
|
+
inputs: ['appTitle', 'config', 'dashboard', 'defaultTheme', 'loginHeroImage', 'notifications', 'theme']
|
|
137
46
|
}),
|
|
138
47
|
Component({
|
|
139
|
-
selector: '
|
|
48
|
+
selector: 'uds-pattern-admin',
|
|
140
49
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
141
50
|
template: '<ng-content></ng-content>',
|
|
142
51
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
143
|
-
inputs: ['
|
|
144
|
-
outputs: ['
|
|
52
|
+
inputs: ['appTitle', 'config', 'dashboard', 'defaultTheme', 'loginHeroImage', 'notifications', 'theme'],
|
|
53
|
+
outputs: ['udsRouteChange', 'udsLogin', 'udsLogout'],
|
|
145
54
|
}),
|
|
146
55
|
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
147
|
-
],
|
|
148
|
-
export {
|
|
149
|
-
let
|
|
56
|
+
], UdsPatternAdmin);
|
|
57
|
+
export { UdsPatternAdmin };
|
|
58
|
+
let UdsPatternDashboard = class UdsPatternDashboard {
|
|
150
59
|
constructor(c, r, z) {
|
|
151
60
|
this.z = z;
|
|
152
|
-
this.
|
|
61
|
+
this.udsDashboardDrill = new EventEmitter();
|
|
153
62
|
c.detach();
|
|
154
63
|
this.el = r.nativeElement;
|
|
155
64
|
}
|
|
@@ -157,30 +66,29 @@ let GpPatternReferenceInput = class GpPatternReferenceInput {
|
|
|
157
66
|
__decorate([
|
|
158
67
|
Output(),
|
|
159
68
|
__metadata("design:type", Object)
|
|
160
|
-
],
|
|
161
|
-
|
|
69
|
+
], UdsPatternDashboard.prototype, "udsDashboardDrill", void 0);
|
|
70
|
+
UdsPatternDashboard = __decorate([
|
|
162
71
|
ProxyCmp({
|
|
163
|
-
defineCustomElementFn:
|
|
164
|
-
inputs: ['config', '
|
|
72
|
+
defineCustomElementFn: defineUdsPatternDashboard,
|
|
73
|
+
inputs: ['config', 'description', 'embedded', 'heading'],
|
|
74
|
+
methods: ['refresh']
|
|
165
75
|
}),
|
|
166
76
|
Component({
|
|
167
|
-
selector: '
|
|
77
|
+
selector: 'uds-pattern-dashboard',
|
|
168
78
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
169
79
|
template: '<ng-content></ng-content>',
|
|
170
80
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
171
|
-
inputs: ['config', '
|
|
172
|
-
outputs: ['
|
|
81
|
+
inputs: ['config', 'description', 'embedded', 'heading'],
|
|
82
|
+
outputs: ['udsDashboardDrill'],
|
|
173
83
|
}),
|
|
174
84
|
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
175
|
-
],
|
|
176
|
-
export {
|
|
177
|
-
let
|
|
85
|
+
], UdsPatternDashboard);
|
|
86
|
+
export { UdsPatternDashboard };
|
|
87
|
+
let UdsPatternList = class UdsPatternList {
|
|
178
88
|
constructor(c, r, z) {
|
|
179
89
|
this.z = z;
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
182
|
-
this.gpWizardError = new EventEmitter();
|
|
183
|
-
this.gpWizardValuesChange = new EventEmitter();
|
|
90
|
+
this.udsListRowClick = new EventEmitter();
|
|
91
|
+
this.udsListSelectionChange = new EventEmitter();
|
|
184
92
|
c.detach();
|
|
185
93
|
this.el = r.nativeElement;
|
|
186
94
|
}
|
|
@@ -188,65 +96,63 @@ let GpPatternWizard = class GpPatternWizard {
|
|
|
188
96
|
__decorate([
|
|
189
97
|
Output(),
|
|
190
98
|
__metadata("design:type", Object)
|
|
191
|
-
],
|
|
99
|
+
], UdsPatternList.prototype, "udsListRowClick", void 0);
|
|
192
100
|
__decorate([
|
|
193
101
|
Output(),
|
|
194
102
|
__metadata("design:type", Object)
|
|
195
|
-
],
|
|
196
|
-
__decorate([
|
|
197
|
-
Output(),
|
|
198
|
-
__metadata("design:type", Object)
|
|
199
|
-
], GpPatternWizard.prototype, "gpWizardError", void 0);
|
|
200
|
-
__decorate([
|
|
201
|
-
Output(),
|
|
202
|
-
__metadata("design:type", Object)
|
|
203
|
-
], GpPatternWizard.prototype, "gpWizardValuesChange", void 0);
|
|
204
|
-
GpPatternWizard = __decorate([
|
|
103
|
+
], UdsPatternList.prototype, "udsListSelectionChange", void 0);
|
|
104
|
+
UdsPatternList = __decorate([
|
|
205
105
|
ProxyCmp({
|
|
206
|
-
defineCustomElementFn:
|
|
207
|
-
inputs: ['config', '
|
|
208
|
-
methods: ['
|
|
106
|
+
defineCustomElementFn: defineUdsPatternList,
|
|
107
|
+
inputs: ['config', 'description', 'embedded', 'heading', 'perPage', 'resource', 'rowClick'],
|
|
108
|
+
methods: ['refresh']
|
|
209
109
|
}),
|
|
210
110
|
Component({
|
|
211
|
-
selector: '
|
|
111
|
+
selector: 'uds-pattern-list',
|
|
212
112
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
213
113
|
template: '<ng-content></ng-content>',
|
|
214
114
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
215
|
-
inputs: ['config', '
|
|
216
|
-
outputs: ['
|
|
115
|
+
inputs: ['config', 'description', 'embedded', 'heading', 'perPage', { name: 'resource', required: true }, 'rowClick'],
|
|
116
|
+
outputs: ['udsListRowClick', 'udsListSelectionChange'],
|
|
217
117
|
}),
|
|
218
118
|
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
219
|
-
],
|
|
220
|
-
export {
|
|
221
|
-
let
|
|
119
|
+
], UdsPatternList);
|
|
120
|
+
export { UdsPatternList };
|
|
121
|
+
let UdsPatternLogin = class UdsPatternLogin {
|
|
222
122
|
constructor(c, r, z) {
|
|
223
123
|
this.z = z;
|
|
124
|
+
this.udsLoginSuccess = new EventEmitter();
|
|
224
125
|
c.detach();
|
|
225
126
|
this.el = r.nativeElement;
|
|
226
127
|
}
|
|
227
128
|
};
|
|
228
|
-
|
|
129
|
+
__decorate([
|
|
130
|
+
Output(),
|
|
131
|
+
__metadata("design:type", Object)
|
|
132
|
+
], UdsPatternLogin.prototype, "udsLoginSuccess", void 0);
|
|
133
|
+
UdsPatternLogin = __decorate([
|
|
229
134
|
ProxyCmp({
|
|
230
|
-
defineCustomElementFn:
|
|
231
|
-
inputs: ['config', '
|
|
135
|
+
defineCustomElementFn: defineUdsPatternLogin,
|
|
136
|
+
inputs: ['config', 'heroImage'],
|
|
137
|
+
methods: ['reset']
|
|
232
138
|
}),
|
|
233
139
|
Component({
|
|
234
|
-
selector: '
|
|
140
|
+
selector: 'uds-pattern-login',
|
|
235
141
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
236
142
|
template: '<ng-content></ng-content>',
|
|
237
143
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
238
|
-
inputs: ['config', '
|
|
144
|
+
inputs: ['config', 'heroImage'],
|
|
145
|
+
outputs: ['udsLoginSuccess'],
|
|
239
146
|
}),
|
|
240
147
|
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
241
|
-
],
|
|
242
|
-
export {
|
|
243
|
-
let
|
|
148
|
+
], UdsPatternLogin);
|
|
149
|
+
export { UdsPatternLogin };
|
|
150
|
+
let UdsPatternRecordForm = class UdsPatternRecordForm {
|
|
244
151
|
constructor(c, r, z) {
|
|
245
152
|
this.z = z;
|
|
246
|
-
this.
|
|
247
|
-
this.
|
|
248
|
-
this.
|
|
249
|
-
this.udsLoginAction = new EventEmitter();
|
|
153
|
+
this.udsRecordSave = new EventEmitter();
|
|
154
|
+
this.udsRecordDelete = new EventEmitter();
|
|
155
|
+
this.udsRecordCancel = new EventEmitter();
|
|
250
156
|
c.detach();
|
|
251
157
|
this.el = r.nativeElement;
|
|
252
158
|
}
|
|
@@ -254,55 +160,52 @@ let UdsPatternLoginCard = class UdsPatternLoginCard {
|
|
|
254
160
|
__decorate([
|
|
255
161
|
Output(),
|
|
256
162
|
__metadata("design:type", Object)
|
|
257
|
-
],
|
|
163
|
+
], UdsPatternRecordForm.prototype, "udsRecordSave", void 0);
|
|
258
164
|
__decorate([
|
|
259
165
|
Output(),
|
|
260
166
|
__metadata("design:type", Object)
|
|
261
|
-
],
|
|
167
|
+
], UdsPatternRecordForm.prototype, "udsRecordDelete", void 0);
|
|
262
168
|
__decorate([
|
|
263
169
|
Output(),
|
|
264
170
|
__metadata("design:type", Object)
|
|
265
|
-
],
|
|
266
|
-
__decorate([
|
|
267
|
-
Output(),
|
|
268
|
-
__metadata("design:type", Object)
|
|
269
|
-
], UdsPatternLoginCard.prototype, "udsLoginAction", void 0);
|
|
270
|
-
UdsPatternLoginCard = __decorate([
|
|
171
|
+
], UdsPatternRecordForm.prototype, "udsRecordCancel", void 0);
|
|
172
|
+
UdsPatternRecordForm = __decorate([
|
|
271
173
|
ProxyCmp({
|
|
272
|
-
defineCustomElementFn:
|
|
273
|
-
inputs: ['config', '
|
|
274
|
-
methods: ['
|
|
174
|
+
defineCustomElementFn: defineUdsPatternRecordForm,
|
|
175
|
+
inputs: ['config', 'mode', 'recordId', 'redirect', 'resource'],
|
|
176
|
+
methods: ['refresh']
|
|
275
177
|
}),
|
|
276
178
|
Component({
|
|
277
|
-
selector: 'uds-pattern-
|
|
179
|
+
selector: 'uds-pattern-record-form',
|
|
278
180
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
279
181
|
template: '<ng-content></ng-content>',
|
|
280
182
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
281
|
-
inputs: ['config', '
|
|
282
|
-
outputs: ['
|
|
183
|
+
inputs: ['config', 'mode', 'recordId', 'redirect', { name: 'resource', required: true }],
|
|
184
|
+
outputs: ['udsRecordSave', 'udsRecordDelete', 'udsRecordCancel'],
|
|
283
185
|
}),
|
|
284
186
|
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
285
|
-
],
|
|
286
|
-
export {
|
|
287
|
-
let
|
|
187
|
+
], UdsPatternRecordForm);
|
|
188
|
+
export { UdsPatternRecordForm };
|
|
189
|
+
let UdsPatternRecordShow = class UdsPatternRecordShow {
|
|
288
190
|
constructor(c, r, z) {
|
|
289
191
|
this.z = z;
|
|
290
192
|
c.detach();
|
|
291
193
|
this.el = r.nativeElement;
|
|
292
194
|
}
|
|
293
195
|
};
|
|
294
|
-
|
|
196
|
+
UdsPatternRecordShow = __decorate([
|
|
295
197
|
ProxyCmp({
|
|
296
|
-
defineCustomElementFn:
|
|
297
|
-
inputs: ['
|
|
198
|
+
defineCustomElementFn: defineUdsPatternRecordShow,
|
|
199
|
+
inputs: ['config', 'recordId', 'resource'],
|
|
200
|
+
methods: ['refresh']
|
|
298
201
|
}),
|
|
299
202
|
Component({
|
|
300
|
-
selector: 'uds-pattern-
|
|
203
|
+
selector: 'uds-pattern-record-show',
|
|
301
204
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
302
205
|
template: '<ng-content></ng-content>',
|
|
303
206
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
304
|
-
inputs: ['
|
|
207
|
+
inputs: ['config', 'recordId', { name: 'resource', required: true }],
|
|
305
208
|
}),
|
|
306
209
|
__metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
|
|
307
|
-
],
|
|
308
|
-
export {
|
|
210
|
+
], UdsPatternRecordShow);
|
|
211
|
+
export { UdsPatternRecordShow };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@globalpayments-private/gpds-pattern-web-angular",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.43",
|
|
4
4
|
"description": "Angular bindings for GPDS pattern library for Web — standalone component wrappers.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"dist/"
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "tsc -p tsconfig.json",
|
|
35
|
+
"build": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
|
|
36
36
|
"prepack": "npm run build"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"@angular/core": ">=19",
|
|
40
|
-
"@globalpayments-private/gpds-pattern-web": "0.1.
|
|
40
|
+
"@globalpayments-private/gpds-pattern-web": "0.1.43"
|
|
41
41
|
}
|
|
42
42
|
}
|