@ukho/admiralty-angular 2.0.0-next.0 → 2.0.0-next.10

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.
@@ -71,7 +71,7 @@ export declare class AdmiraltyCheckbox {
71
71
  protected el: HTMLElement;
72
72
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
73
73
  static ɵfac: i0.ɵɵFactoryDeclaration<AdmiraltyCheckbox, never>;
74
- static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyCheckbox, "admiralty-checkbox", never, { "checkboxRight": { "alias": "checkboxRight"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
74
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyCheckbox, "admiralty-checkbox", never, { "checkboxRight": { "alias": "checkboxRight"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelHidden": { "alias": "labelHidden"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "name": { "alias": "name"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, ["*"], false, never>;
75
75
  }
76
76
  export declare interface AdmiraltyCheckbox extends Components.AdmiraltyCheckbox {
77
77
  /**
@@ -81,11 +81,11 @@ export declare interface AdmiraltyCheckbox extends Components.AdmiraltyCheckbox
81
81
  /**
82
82
  * Event is fired when the form control gains focus @event checkboxFocus
83
83
  */
84
- checkboxFocus: EventEmitter<CustomEvent<any>>;
84
+ checkboxFocus: EventEmitter<CustomEvent<FocusEvent>>;
85
85
  /**
86
86
  * Event is fired when the form control loses focus @event checkboxBlur
87
87
  */
88
- checkboxBlur: EventEmitter<CustomEvent<any>>;
88
+ checkboxBlur: EventEmitter<CustomEvent<FocusEvent>>;
89
89
  }
90
90
  export declare class AdmiraltyColourBlock {
91
91
  protected z: NgZone;
@@ -105,10 +105,19 @@ export declare class AdmiraltyDialogue {
105
105
  protected el: HTMLElement;
106
106
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
107
107
  static ɵfac: i0.ɵɵFactoryDeclaration<AdmiraltyDialogue, never>;
108
- static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyDialogue, "admiralty-dialogue", never, { "heading": { "alias": "heading"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
108
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyDialogue, "admiralty-dialogue", never, { "heading": { "alias": "heading"; "required": false; }; "sectionRole": { "alias": "sectionRole"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], false, never>;
109
109
  }
110
110
  export declare interface AdmiraltyDialogue extends Components.AdmiraltyDialogue {
111
111
  }
112
+ export declare class AdmiraltyErrorSummary {
113
+ protected z: NgZone;
114
+ protected el: HTMLElement;
115
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
116
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdmiraltyErrorSummary, never>;
117
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyErrorSummary, "admiralty-error-summary", never, { "heading": { "alias": "heading"; "required": false; }; }, {}, never, ["*"], false, never>;
118
+ }
119
+ export declare interface AdmiraltyErrorSummary extends Components.AdmiraltyErrorSummary {
120
+ }
112
121
  export declare class AdmiraltyExpansion {
113
122
  protected z: NgZone;
114
123
  protected el: HTMLElement;
@@ -238,11 +247,11 @@ export declare class AdmiraltyHeaderSubMenuItem {
238
247
  protected el: HTMLElement;
239
248
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
240
249
  static ɵfac: i0.ɵɵFactoryDeclaration<AdmiraltyHeaderSubMenuItem, never>;
241
- static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyHeaderSubMenuItem, "admiralty-header-sub-menu-item", never, { "menuTitle": { "alias": "menuTitle"; "required": false; }; }, {}, never, ["*"], false, never>;
250
+ static ɵcmp: i0.ɵɵComponentDeclaration<AdmiraltyHeaderSubMenuItem, "admiralty-header-sub-menu-item", never, { "href": { "alias": "href"; "required": false; }; "menuTitle": { "alias": "menuTitle"; "required": false; }; "suppressRedirect": { "alias": "suppressRedirect"; "required": false; }; }, {}, never, ["*"], false, never>;
242
251
  }
243
252
  export declare interface AdmiraltyHeaderSubMenuItem extends Components.AdmiraltyHeaderSubMenuItem {
244
253
  /**
245
- * The event that is fired when a user clicks on the menu.
254
+ * The event that is fired when a user clicks on the menu item.
246
255
  Event contains the menu item text.
247
256
  */
248
257
  subMenuItemClick: EventEmitter<CustomEvent<string>>;
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.AdmiraltyAutocomplete | typeof d.AdmiraltyAutocompleteOption | typeof d.AdmiraltyBreadcrumb | typeof d.AdmiraltyBreadcrumbs | typeof d.AdmiraltyButton | typeof d.AdmiraltyCard | typeof d.AdmiraltyCheckbox | typeof d.AdmiraltyColourBlock | typeof d.AdmiraltyDialogue | typeof d.AdmiraltyExpansion | typeof d.AdmiraltyFileInput | typeof d.AdmiraltyFilter | typeof d.AdmiraltyFilterGroup | typeof d.AdmiraltyFooter | typeof d.AdmiraltyHeader | typeof d.AdmiraltyHeaderMenuItem | typeof d.AdmiraltyHeaderMenuLink | typeof d.AdmiraltyHeaderProfile | typeof d.AdmiraltyHeaderSubMenuItem | typeof d.AdmiraltyHint | typeof d.AdmiraltyHr | typeof d.AdmiraltyIcon | typeof d.AdmiraltyInput | typeof d.AdmiraltyInputInvalid | typeof d.AdmiraltyLabel | typeof d.AdmiraltyLink | typeof d.AdmiraltyModalDialog | typeof d.AdmiraltyPaginator | typeof d.AdmiraltyPhaseBanner | typeof d.AdmiraltyProgressBar | typeof d.AdmiraltyRadio | typeof d.AdmiraltyRadioGroup | typeof d.AdmiraltyReadMore | typeof d.AdmiraltySelect | typeof d.AdmiraltySideNav | typeof d.AdmiraltySideNavItem | typeof d.AdmiraltySkipLink | typeof d.AdmiraltyTab | typeof d.AdmiraltyTabGroup | typeof d.AdmiraltyTable | typeof d.AdmiraltyTableBody | typeof d.AdmiraltyTableCell | typeof d.AdmiraltyTableHeader | typeof d.AdmiraltyTableHeaderCell | typeof d.AdmiraltyTableRow | typeof d.AdmiraltyTextarea | typeof d.AdmiraltyTypeAhead | typeof d.AdmiraltyTypeAheadItem)[];
2
+ export declare const DIRECTIVES: (typeof d.AdmiraltyAutocomplete | typeof d.AdmiraltyAutocompleteOption | typeof d.AdmiraltyBreadcrumb | typeof d.AdmiraltyBreadcrumbs | typeof d.AdmiraltyButton | typeof d.AdmiraltyCard | typeof d.AdmiraltyCheckbox | typeof d.AdmiraltyColourBlock | typeof d.AdmiraltyDialogue | typeof d.AdmiraltyErrorSummary | typeof d.AdmiraltyExpansion | typeof d.AdmiraltyFileInput | typeof d.AdmiraltyFilter | typeof d.AdmiraltyFilterGroup | typeof d.AdmiraltyFooter | typeof d.AdmiraltyHeader | typeof d.AdmiraltyHeaderMenuItem | typeof d.AdmiraltyHeaderMenuLink | typeof d.AdmiraltyHeaderProfile | typeof d.AdmiraltyHeaderSubMenuItem | typeof d.AdmiraltyHint | typeof d.AdmiraltyHr | typeof d.AdmiraltyIcon | typeof d.AdmiraltyInput | typeof d.AdmiraltyInputInvalid | typeof d.AdmiraltyLabel | typeof d.AdmiraltyLink | typeof d.AdmiraltyModalDialog | typeof d.AdmiraltyPaginator | typeof d.AdmiraltyPhaseBanner | typeof d.AdmiraltyProgressBar | typeof d.AdmiraltyRadio | typeof d.AdmiraltyRadioGroup | typeof d.AdmiraltyReadMore | typeof d.AdmiraltySelect | typeof d.AdmiraltySideNav | typeof d.AdmiraltySideNavItem | typeof d.AdmiraltySkipLink | typeof d.AdmiraltyTab | typeof d.AdmiraltyTabGroup | typeof d.AdmiraltyTable | typeof d.AdmiraltyTableBody | typeof d.AdmiraltyTableCell | typeof d.AdmiraltyTableHeader | typeof d.AdmiraltyTableHeaderCell | typeof d.AdmiraltyTableRow | typeof d.AdmiraltyTextarea | typeof d.AdmiraltyTypeAhead | typeof d.AdmiraltyTypeAheadItem)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ukho/admiralty-angular",
3
- "version": "2.0.0-next.0",
3
+ "version": "2.0.0-next.10",
4
4
  "module": "fesm2022/ukho-admiralty-angular.mjs",
5
5
  "typings": "index.d.ts",
6
6
  "publishConfig": {
@@ -11,8 +11,8 @@
11
11
  "@angular/core": ">=16.2.12"
12
12
  },
13
13
  "dependencies": {
14
- "@ukho/admiralty-core": "2.0.0-next.0",
15
- "tslib": "^2.5.0"
14
+ "@ukho/admiralty-core": "2.0.0-next.10",
15
+ "tslib": "^2.7.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "url": "https://github.com/UKHO/admiralty-design-system",
@@ -1,9 +0,0 @@
1
- import { applyPolyfills, defineCustomElements } from '@ukho/admiralty-core/loader';
2
- export const appInitialise = () => {
3
- return () => {
4
- return applyPolyfills().then(() => {
5
- return defineCustomElements();
6
- });
7
- };
8
- };
9
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwX2luaXRpYWxpc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL2FwcF9pbml0aWFsaXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNuRixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsR0FBRyxFQUFFO0lBQ2hDLE9BQU8sR0FBUSxFQUFFO1FBQ2YsT0FBTyxjQUFjLEVBQUUsQ0FBQyxJQUFJLENBQUMsR0FBRyxFQUFFO1lBQ2hDLE9BQU8sb0JBQW9CLEVBQUUsQ0FBQztRQUNoQyxDQUFDLENBQUMsQ0FBQztJQUNMLENBQUMsQ0FBQztBQUNKLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGFwcGx5UG9seWZpbGxzLCBkZWZpbmVDdXN0b21FbGVtZW50cyB9IGZyb20gJ0B1a2hvL2FkbWlyYWx0eS1jb3JlL2xvYWRlcic7XG5leHBvcnQgY29uc3QgYXBwSW5pdGlhbGlzZSA9ICgpID0+IHtcbiAgcmV0dXJuICgpOiBhbnkgPT4ge1xuICAgIHJldHVybiBhcHBseVBvbHlmaWxscygpLnRoZW4oKCkgPT4ge1xuICAgICAgcmV0dXJuIGRlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgfSk7XG4gIH07XG59O1xuIl19
@@ -1 +0,0 @@
1
- export declare const appInitialise: () => () => any;