@globalpayments-private/gpds-pattern-web-angular 0.1.1-pr.74.g865c0fe → 0.1.1-pr.75.g57a4e2d

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,2 +1,2 @@
1
1
  import * as d from './proxies';
2
- export declare const DIRECTIVES: (typeof d.UdsPatternAdmin | typeof d.UdsPatternDashboard | typeof d.UdsPatternList | typeof d.UdsPatternLogin | typeof d.UdsPatternRecordForm | typeof d.UdsPatternRecordShow)[];
2
+ export declare const DIRECTIVES: (typeof d.UdsPatternAdmin | typeof d.UdsPatternDashboard | typeof d.UdsPatternList | typeof d.UdsPatternLogin | typeof d.UdsPatternRecordForm | typeof d.UdsPatternRecordShow | typeof d.UdsPatternResource | typeof d.UdsPatternRoute)[];
@@ -5,5 +5,7 @@ export const DIRECTIVES = [
5
5
  d.UdsPatternList,
6
6
  d.UdsPatternLogin,
7
7
  d.UdsPatternRecordForm,
8
- d.UdsPatternRecordShow
8
+ d.UdsPatternRecordShow,
9
+ d.UdsPatternResource,
10
+ d.UdsPatternRoute
9
11
  ];
@@ -13,7 +13,7 @@ import type { RouteChange as IUdsPatternAdminRouteChange } from '@globalpayments
13
13
  import type { AdminUser as IUdsPatternAdminAdminUser } from '@globalpayments-private/gpds-pattern-web/dist/components';
14
14
  export declare interface UdsPatternAdmin extends Components.UdsPatternAdmin {
15
15
  /**
16
- * The route changed. For `dashboard` and `custom` routes, render the page into the default slot.
16
+ * The route changed. For `dashboard` and `custom` routes, the matching `uds-pattern-route` shows its content.
17
17
  */
18
18
  udsRouteChange: EventEmitter<UdsPatternAdminCustomEvent<IUdsPatternAdminRouteChange>>;
19
19
  /**
@@ -105,3 +105,17 @@ export declare class UdsPatternRecordShow {
105
105
  }
106
106
  export declare interface UdsPatternRecordShow extends Components.UdsPatternRecordShow {
107
107
  }
108
+ export declare class UdsPatternResource {
109
+ protected z: NgZone;
110
+ protected el: HTMLUdsPatternResourceElement;
111
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
112
+ }
113
+ export declare interface UdsPatternResource extends Components.UdsPatternResource {
114
+ }
115
+ export declare class UdsPatternRoute {
116
+ protected z: NgZone;
117
+ protected el: HTMLUdsPatternRouteElement;
118
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
119
+ }
120
+ export declare interface UdsPatternRoute extends Components.UdsPatternRoute {
121
+ }
@@ -17,6 +17,8 @@ import { defineCustomElement as defineUdsPatternList } from '@globalpayments-pri
17
17
  import { defineCustomElement as defineUdsPatternLogin } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-login.js';
18
18
  import { defineCustomElement as defineUdsPatternRecordForm } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-record-form.js';
19
19
  import { defineCustomElement as defineUdsPatternRecordShow } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-record-show.js';
20
+ import { defineCustomElement as defineUdsPatternResource } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-resource.js';
21
+ import { defineCustomElement as defineUdsPatternRoute } from '@globalpayments-private/gpds-pattern-web/dist/components/uds-pattern-route.js';
20
22
  let UdsPatternAdmin = class UdsPatternAdmin {
21
23
  constructor(c, r, z) {
22
24
  this.z = z;
@@ -42,14 +44,14 @@ __decorate([
42
44
  UdsPatternAdmin = __decorate([
43
45
  ProxyCmp({
44
46
  defineCustomElementFn: defineUdsPatternAdmin,
45
- inputs: ['appTitle', 'config', 'dashboard', 'defaultTheme', 'loginHeroImage', 'notifications', 'theme']
47
+ inputs: ['appTitle', 'config', 'defaultTheme', 'loginHeroImage', 'notifications', 'theme']
46
48
  }),
47
49
  Component({
48
50
  selector: 'uds-pattern-admin',
49
51
  changeDetection: ChangeDetectionStrategy.OnPush,
50
52
  template: '<ng-content></ng-content>',
51
53
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
52
- inputs: ['appTitle', 'config', 'dashboard', 'defaultTheme', 'loginHeroImage', 'notifications', 'theme'],
54
+ inputs: ['appTitle', 'config', 'defaultTheme', 'loginHeroImage', 'notifications', 'theme'],
53
55
  outputs: ['udsRouteChange', 'udsLogin', 'udsLogout'],
54
56
  }),
55
57
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
@@ -209,3 +211,47 @@ UdsPatternRecordShow = __decorate([
209
211
  __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
210
212
  ], UdsPatternRecordShow);
211
213
  export { UdsPatternRecordShow };
214
+ let UdsPatternResource = class UdsPatternResource {
215
+ constructor(c, r, z) {
216
+ this.z = z;
217
+ c.detach();
218
+ this.el = r.nativeElement;
219
+ }
220
+ };
221
+ UdsPatternResource = __decorate([
222
+ ProxyCmp({
223
+ defineCustomElementFn: defineUdsPatternResource,
224
+ inputs: ['config', 'name']
225
+ }),
226
+ Component({
227
+ selector: 'uds-pattern-resource',
228
+ changeDetection: ChangeDetectionStrategy.OnPush,
229
+ template: '<ng-content></ng-content>',
230
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
231
+ inputs: ['config', { name: 'name', required: true }],
232
+ }),
233
+ __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
234
+ ], UdsPatternResource);
235
+ export { UdsPatternResource };
236
+ let UdsPatternRoute = class UdsPatternRoute {
237
+ constructor(c, r, z) {
238
+ this.z = z;
239
+ c.detach();
240
+ this.el = r.nativeElement;
241
+ }
242
+ };
243
+ UdsPatternRoute = __decorate([
244
+ ProxyCmp({
245
+ defineCustomElementFn: defineUdsPatternRoute,
246
+ inputs: ['dashboard', 'menuGroup', 'menuIcon', 'menuLabel', 'noLayout', 'path']
247
+ }),
248
+ Component({
249
+ selector: 'uds-pattern-route',
250
+ changeDetection: ChangeDetectionStrategy.OnPush,
251
+ template: '<ng-content></ng-content>',
252
+ // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
253
+ inputs: ['dashboard', 'menuGroup', 'menuIcon', 'menuLabel', 'noLayout', { name: 'path', required: true }],
254
+ }),
255
+ __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
256
+ ], UdsPatternRoute);
257
+ export { UdsPatternRoute };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@globalpayments-private/gpds-pattern-web-angular",
3
- "version": "0.1.1-pr.74.g865c0fe",
3
+ "version": "0.1.1-pr.75.g57a4e2d",
4
4
  "description": "Angular bindings for GPDS pattern library for Web — standalone component wrappers.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -37,6 +37,6 @@
37
37
  },
38
38
  "peerDependencies": {
39
39
  "@angular/core": ">=19",
40
- "@globalpayments-private/gpds-pattern-web": "0.1.1-pr.74.g865c0fe"
40
+ "@globalpayments-private/gpds-pattern-web": "0.1.1-pr.75.g57a4e2d"
41
41
  }
42
42
  }