@ukho/admiralty-angular 0.3.0 → 0.3.1--canary.46.bfb989d.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.
Files changed (30) hide show
  1. package/bundles/ukho-admiralty-angular.umd.js +2218 -0
  2. package/bundles/ukho-admiralty-angular.umd.js.map +1 -0
  3. package/{esm2020/lib/design-system.module.mjs → esm2015/lib/design-system.module.js} +4 -4
  4. package/{esm2020/lib/stencil-generated/boolean-value-accessor.mjs → esm2015/lib/stencil-generated/boolean-value-accessor.js} +3 -3
  5. package/esm2015/lib/stencil-generated/components.js +1214 -0
  6. package/{esm2020/lib/stencil-generated/number-value-accessor.mjs → esm2015/lib/stencil-generated/number-value-accessor.js} +3 -3
  7. package/{esm2020/lib/stencil-generated/radio-value-accessor.mjs → esm2015/lib/stencil-generated/radio-value-accessor.js} +3 -3
  8. package/{esm2020/lib/stencil-generated/select-value-accessor.mjs → esm2015/lib/stencil-generated/select-value-accessor.js} +3 -3
  9. package/{esm2020/lib/stencil-generated/text-value-accessor.mjs → esm2015/lib/stencil-generated/text-value-accessor.js} +3 -3
  10. package/{esm2020/lib/stencil-generated/value-accessor.mjs → esm2015/lib/stencil-generated/value-accessor.js} +3 -3
  11. package/{fesm2020/ukho-admiralty-angular.mjs → fesm2015/ukho-admiralty-angular.js} +102 -102
  12. package/fesm2015/ukho-admiralty-angular.js.map +1 -0
  13. package/lib/stencil-generated/boolean-value-accessor.d.ts +1 -1
  14. package/lib/stencil-generated/components.d.ts +43 -43
  15. package/lib/stencil-generated/number-value-accessor.d.ts +1 -1
  16. package/lib/stencil-generated/radio-value-accessor.d.ts +1 -1
  17. package/lib/stencil-generated/select-value-accessor.d.ts +1 -1
  18. package/lib/stencil-generated/text-value-accessor.d.ts +1 -1
  19. package/lib/stencil-generated/value-accessor.d.ts +1 -1
  20. package/package.json +10 -23
  21. package/ukho-admiralty-angular.d.ts +5 -0
  22. package/esm2020/lib/stencil-generated/components.mjs +0 -1214
  23. package/fesm2015/ukho-admiralty-angular.mjs +0 -1748
  24. package/fesm2015/ukho-admiralty-angular.mjs.map +0 -1
  25. package/fesm2020/ukho-admiralty-angular.mjs.map +0 -1
  26. /package/{esm2020/index.mjs → esm2015/index.js} +0 -0
  27. /package/{esm2020/lib/app_initialise.mjs → esm2015/lib/app_initialise.js} +0 -0
  28. /package/{esm2020/lib/stencil-generated/angular-component-lib/utils.mjs → esm2015/lib/stencil-generated/angular-component-lib/utils.js} +0 -0
  29. /package/{esm2020/lib/stencil-generated/index.mjs → esm2015/lib/stencil-generated/index.js} +0 -0
  30. /package/{esm2020/ukho-admiralty-angular.mjs → esm2015/ukho-admiralty-angular.js} +0 -0
@@ -1,1748 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Directive, HostListener, APP_INITIALIZER, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
- import { applyPolyfills, defineCustomElements } from '@ukho/admiralty-core/loader';
5
- import { __decorate } from 'tslib';
6
- import { fromEvent } from 'rxjs';
7
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
8
-
9
- const appInitialise = () => {
10
- return () => {
11
- return applyPolyfills().then(() => {
12
- return defineCustomElements();
13
- });
14
- };
15
- };
16
-
17
- /* eslint-disable */
18
- const proxyInputs = (Cmp, inputs) => {
19
- const Prototype = Cmp.prototype;
20
- inputs.forEach((item) => {
21
- Object.defineProperty(Prototype, item, {
22
- get() {
23
- return this.el[item];
24
- },
25
- set(val) {
26
- this.z.runOutsideAngular(() => (this.el[item] = val));
27
- },
28
- });
29
- });
30
- };
31
- const proxyMethods = (Cmp, methods) => {
32
- const Prototype = Cmp.prototype;
33
- methods.forEach((methodName) => {
34
- Prototype[methodName] = function () {
35
- const args = arguments;
36
- return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
37
- };
38
- });
39
- };
40
- const proxyOutputs = (instance, el, events) => {
41
- events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
42
- };
43
- const defineCustomElement = (tagName, customElement) => {
44
- if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
45
- customElements.define(tagName, customElement);
46
- }
47
- };
48
- // tslint:disable-next-line: only-arrow-functions
49
- function ProxyCmp(opts) {
50
- const decorator = function (cls) {
51
- const { defineCustomElementFn, inputs, methods } = opts;
52
- if (defineCustomElementFn !== undefined) {
53
- defineCustomElementFn();
54
- }
55
- if (inputs) {
56
- proxyInputs(cls, inputs);
57
- }
58
- if (methods) {
59
- proxyMethods(cls, methods);
60
- }
61
- return cls;
62
- };
63
- return decorator;
64
- }
65
-
66
- const _c0 = ["*"];
67
- let AdmiraltyBreadcrumb = class AdmiraltyBreadcrumb {
68
- constructor(c, r, z) {
69
- this.z = z;
70
- c.detach();
71
- this.el = r.nativeElement;
72
- }
73
- };
74
- AdmiraltyBreadcrumb.ɵfac = function AdmiraltyBreadcrumb_Factory(t) { return new (t || AdmiraltyBreadcrumb)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
75
- AdmiraltyBreadcrumb.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyBreadcrumb, selectors: [["admiralty-breadcrumb"]], inputs: { active: "active", href: "href" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyBreadcrumb_Template(rf, ctx) {
76
- if (rf & 1) {
77
- i0.ɵɵprojectionDef();
78
- i0.ɵɵprojection(0);
79
- }
80
- }, encapsulation: 2, changeDetection: 0 });
81
- AdmiraltyBreadcrumb = __decorate([
82
- ProxyCmp({
83
- inputs: ['active', 'href']
84
- })
85
- ], AdmiraltyBreadcrumb);
86
- (function () {
87
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyBreadcrumb, [{
88
- type: Component,
89
- args: [{
90
- selector: 'admiralty-breadcrumb',
91
- changeDetection: ChangeDetectionStrategy.OnPush,
92
- template: '<ng-content></ng-content>',
93
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
94
- inputs: ['active', 'href'],
95
- }]
96
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
97
- })();
98
- let AdmiraltyBreadcrumbs = class AdmiraltyBreadcrumbs {
99
- constructor(c, r, z) {
100
- this.z = z;
101
- c.detach();
102
- this.el = r.nativeElement;
103
- }
104
- };
105
- AdmiraltyBreadcrumbs.ɵfac = function AdmiraltyBreadcrumbs_Factory(t) { return new (t || AdmiraltyBreadcrumbs)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
106
- AdmiraltyBreadcrumbs.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyBreadcrumbs, selectors: [["admiralty-breadcrumbs"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyBreadcrumbs_Template(rf, ctx) {
107
- if (rf & 1) {
108
- i0.ɵɵprojectionDef();
109
- i0.ɵɵprojection(0);
110
- }
111
- }, encapsulation: 2, changeDetection: 0 });
112
- AdmiraltyBreadcrumbs = __decorate([
113
- ProxyCmp({})
114
- ], AdmiraltyBreadcrumbs);
115
- (function () {
116
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyBreadcrumbs, [{
117
- type: Component,
118
- args: [{
119
- selector: 'admiralty-breadcrumbs',
120
- changeDetection: ChangeDetectionStrategy.OnPush,
121
- template: '<ng-content></ng-content>',
122
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
123
- inputs: [],
124
- }]
125
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
126
- })();
127
- let AdmiraltyButton = class AdmiraltyButton {
128
- constructor(c, r, z) {
129
- this.z = z;
130
- c.detach();
131
- this.el = r.nativeElement;
132
- }
133
- };
134
- AdmiraltyButton.ɵfac = function AdmiraltyButton_Factory(t) { return new (t || AdmiraltyButton)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
135
- AdmiraltyButton.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyButton, selectors: [["admiralty-button"]], inputs: { disabled: "disabled", icon: "icon", type: "type", variant: "variant" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyButton_Template(rf, ctx) {
136
- if (rf & 1) {
137
- i0.ɵɵprojectionDef();
138
- i0.ɵɵprojection(0);
139
- }
140
- }, encapsulation: 2, changeDetection: 0 });
141
- AdmiraltyButton = __decorate([
142
- ProxyCmp({
143
- inputs: ['disabled', 'icon', 'type', 'variant']
144
- })
145
- ], AdmiraltyButton);
146
- (function () {
147
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyButton, [{
148
- type: Component,
149
- args: [{
150
- selector: 'admiralty-button',
151
- changeDetection: ChangeDetectionStrategy.OnPush,
152
- template: '<ng-content></ng-content>',
153
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
154
- inputs: ['disabled', 'icon', 'type', 'variant'],
155
- }]
156
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
157
- })();
158
- let AdmiraltyCard = class AdmiraltyCard {
159
- constructor(c, r, z) {
160
- this.z = z;
161
- c.detach();
162
- this.el = r.nativeElement;
163
- }
164
- };
165
- AdmiraltyCard.ɵfac = function AdmiraltyCard_Factory(t) { return new (t || AdmiraltyCard)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
166
- AdmiraltyCard.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyCard, selectors: [["admiralty-card"]], inputs: { heading: "heading" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyCard_Template(rf, ctx) {
167
- if (rf & 1) {
168
- i0.ɵɵprojectionDef();
169
- i0.ɵɵprojection(0);
170
- }
171
- }, encapsulation: 2, changeDetection: 0 });
172
- AdmiraltyCard = __decorate([
173
- ProxyCmp({
174
- inputs: ['heading']
175
- })
176
- ], AdmiraltyCard);
177
- (function () {
178
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyCard, [{
179
- type: Component,
180
- args: [{
181
- selector: 'admiralty-card',
182
- changeDetection: ChangeDetectionStrategy.OnPush,
183
- template: '<ng-content></ng-content>',
184
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
185
- inputs: ['heading'],
186
- }]
187
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
188
- })();
189
- let AdmiraltyCheckbox = class AdmiraltyCheckbox {
190
- constructor(c, r, z) {
191
- this.z = z;
192
- c.detach();
193
- this.el = r.nativeElement;
194
- proxyOutputs(this, this.el, ['admiraltyChange', 'checkboxFocus', 'checkboxBlur']);
195
- }
196
- };
197
- AdmiraltyCheckbox.ɵfac = function AdmiraltyCheckbox_Factory(t) { return new (t || AdmiraltyCheckbox)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
198
- AdmiraltyCheckbox.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyCheckbox, selectors: [["admiralty-checkbox"]], inputs: { checkboxRight: "checkboxRight", checked: "checked", disabled: "disabled", labelText: "labelText", name: "name", value: "value" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyCheckbox_Template(rf, ctx) {
199
- if (rf & 1) {
200
- i0.ɵɵprojectionDef();
201
- i0.ɵɵprojection(0);
202
- }
203
- }, encapsulation: 2, changeDetection: 0 });
204
- AdmiraltyCheckbox = __decorate([
205
- ProxyCmp({
206
- inputs: ['checkboxRight', 'checked', 'disabled', 'labelText', 'name', 'value']
207
- })
208
- ], AdmiraltyCheckbox);
209
- (function () {
210
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyCheckbox, [{
211
- type: Component,
212
- args: [{
213
- selector: 'admiralty-checkbox',
214
- changeDetection: ChangeDetectionStrategy.OnPush,
215
- template: '<ng-content></ng-content>',
216
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
217
- inputs: ['checkboxRight', 'checked', 'disabled', 'labelText', 'name', 'value'],
218
- }]
219
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
220
- })();
221
- let AdmiraltyColourBlock = class AdmiraltyColourBlock {
222
- constructor(c, r, z) {
223
- this.z = z;
224
- c.detach();
225
- this.el = r.nativeElement;
226
- }
227
- };
228
- AdmiraltyColourBlock.ɵfac = function AdmiraltyColourBlock_Factory(t) { return new (t || AdmiraltyColourBlock)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
229
- AdmiraltyColourBlock.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyColourBlock, selectors: [["admiralty-colour-block"]], inputs: { actionText: "actionText", clickAction: "clickAction", colour: "colour", heading: "heading", height: "height", width: "width" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyColourBlock_Template(rf, ctx) {
230
- if (rf & 1) {
231
- i0.ɵɵprojectionDef();
232
- i0.ɵɵprojection(0);
233
- }
234
- }, encapsulation: 2, changeDetection: 0 });
235
- AdmiraltyColourBlock = __decorate([
236
- ProxyCmp({
237
- inputs: ['actionText', 'clickAction', 'colour', 'heading', 'height', 'width']
238
- })
239
- ], AdmiraltyColourBlock);
240
- (function () {
241
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyColourBlock, [{
242
- type: Component,
243
- args: [{
244
- selector: 'admiralty-colour-block',
245
- changeDetection: ChangeDetectionStrategy.OnPush,
246
- template: '<ng-content></ng-content>',
247
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
248
- inputs: ['actionText', 'clickAction', 'colour', 'heading', 'height', 'width'],
249
- }]
250
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
251
- })();
252
- let AdmiraltyDialogue = class AdmiraltyDialogue {
253
- constructor(c, r, z) {
254
- this.z = z;
255
- c.detach();
256
- this.el = r.nativeElement;
257
- }
258
- };
259
- AdmiraltyDialogue.ɵfac = function AdmiraltyDialogue_Factory(t) { return new (t || AdmiraltyDialogue)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
260
- AdmiraltyDialogue.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyDialogue, selectors: [["admiralty-dialogue"]], inputs: { heading: "heading", type: "type" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyDialogue_Template(rf, ctx) {
261
- if (rf & 1) {
262
- i0.ɵɵprojectionDef();
263
- i0.ɵɵprojection(0);
264
- }
265
- }, encapsulation: 2, changeDetection: 0 });
266
- AdmiraltyDialogue = __decorate([
267
- ProxyCmp({
268
- inputs: ['heading', 'type']
269
- })
270
- ], AdmiraltyDialogue);
271
- (function () {
272
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyDialogue, [{
273
- type: Component,
274
- args: [{
275
- selector: 'admiralty-dialogue',
276
- changeDetection: ChangeDetectionStrategy.OnPush,
277
- template: '<ng-content></ng-content>',
278
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
279
- inputs: ['heading', 'type'],
280
- }]
281
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
282
- })();
283
- let AdmiraltyExpansion = class AdmiraltyExpansion {
284
- constructor(c, r, z) {
285
- this.z = z;
286
- c.detach();
287
- this.el = r.nativeElement;
288
- proxyOutputs(this, this.el, ['toggled']);
289
- }
290
- };
291
- AdmiraltyExpansion.ɵfac = function AdmiraltyExpansion_Factory(t) { return new (t || AdmiraltyExpansion)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
292
- AdmiraltyExpansion.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyExpansion, selectors: [["admiralty-expansion"]], inputs: { alignHeadingRight: "alignHeadingRight", expanded: "expanded", heading: "heading", hideBorder: "hideBorder" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyExpansion_Template(rf, ctx) {
293
- if (rf & 1) {
294
- i0.ɵɵprojectionDef();
295
- i0.ɵɵprojection(0);
296
- }
297
- }, encapsulation: 2, changeDetection: 0 });
298
- AdmiraltyExpansion = __decorate([
299
- ProxyCmp({
300
- inputs: ['alignHeadingRight', 'expanded', 'heading', 'hideBorder']
301
- })
302
- ], AdmiraltyExpansion);
303
- (function () {
304
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyExpansion, [{
305
- type: Component,
306
- args: [{
307
- selector: 'admiralty-expansion',
308
- changeDetection: ChangeDetectionStrategy.OnPush,
309
- template: '<ng-content></ng-content>',
310
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
311
- inputs: ['alignHeadingRight', 'expanded', 'heading', 'hideBorder'],
312
- }]
313
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
314
- })();
315
- let AdmiraltyFileInput = class AdmiraltyFileInput {
316
- constructor(c, r, z) {
317
- this.z = z;
318
- c.detach();
319
- this.el = r.nativeElement;
320
- proxyOutputs(this, this.el, ['fileInputChange']);
321
- }
322
- };
323
- AdmiraltyFileInput.ɵfac = function AdmiraltyFileInput_Factory(t) { return new (t || AdmiraltyFileInput)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
324
- AdmiraltyFileInput.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyFileInput, selectors: [["admiralty-file-input"]], inputs: { label: "label", multiple: "multiple" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyFileInput_Template(rf, ctx) {
325
- if (rf & 1) {
326
- i0.ɵɵprojectionDef();
327
- i0.ɵɵprojection(0);
328
- }
329
- }, encapsulation: 2, changeDetection: 0 });
330
- AdmiraltyFileInput = __decorate([
331
- ProxyCmp({
332
- inputs: ['label', 'multiple']
333
- })
334
- ], AdmiraltyFileInput);
335
- (function () {
336
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyFileInput, [{
337
- type: Component,
338
- args: [{
339
- selector: 'admiralty-file-input',
340
- changeDetection: ChangeDetectionStrategy.OnPush,
341
- template: '<ng-content></ng-content>',
342
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
343
- inputs: ['label', 'multiple'],
344
- }]
345
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
346
- })();
347
- let AdmiraltyFilter = class AdmiraltyFilter {
348
- constructor(c, r, z) {
349
- this.z = z;
350
- c.detach();
351
- this.el = r.nativeElement;
352
- proxyOutputs(this, this.el, ['filterCleared', 'filterApplied']);
353
- }
354
- };
355
- AdmiraltyFilter.ɵfac = function AdmiraltyFilter_Factory(t) { return new (t || AdmiraltyFilter)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
356
- AdmiraltyFilter.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyFilter, selectors: [["admiralty-filter"]], inputs: { filterTitle: "filterTitle" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyFilter_Template(rf, ctx) {
357
- if (rf & 1) {
358
- i0.ɵɵprojectionDef();
359
- i0.ɵɵprojection(0);
360
- }
361
- }, encapsulation: 2, changeDetection: 0 });
362
- AdmiraltyFilter = __decorate([
363
- ProxyCmp({
364
- inputs: ['filterTitle']
365
- })
366
- ], AdmiraltyFilter);
367
- (function () {
368
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyFilter, [{
369
- type: Component,
370
- args: [{
371
- selector: 'admiralty-filter',
372
- changeDetection: ChangeDetectionStrategy.OnPush,
373
- template: '<ng-content></ng-content>',
374
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
375
- inputs: ['filterTitle'],
376
- }]
377
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
378
- })();
379
- let AdmiraltyFilterGroup = class AdmiraltyFilterGroup {
380
- constructor(c, r, z) {
381
- this.z = z;
382
- c.detach();
383
- this.el = r.nativeElement;
384
- }
385
- };
386
- AdmiraltyFilterGroup.ɵfac = function AdmiraltyFilterGroup_Factory(t) { return new (t || AdmiraltyFilterGroup)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
387
- AdmiraltyFilterGroup.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyFilterGroup, selectors: [["admiralty-filter-group"]], inputs: { groupTitle: "groupTitle" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyFilterGroup_Template(rf, ctx) {
388
- if (rf & 1) {
389
- i0.ɵɵprojectionDef();
390
- i0.ɵɵprojection(0);
391
- }
392
- }, encapsulation: 2, changeDetection: 0 });
393
- AdmiraltyFilterGroup = __decorate([
394
- ProxyCmp({
395
- inputs: ['groupTitle']
396
- })
397
- ], AdmiraltyFilterGroup);
398
- (function () {
399
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyFilterGroup, [{
400
- type: Component,
401
- args: [{
402
- selector: 'admiralty-filter-group',
403
- changeDetection: ChangeDetectionStrategy.OnPush,
404
- template: '<ng-content></ng-content>',
405
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
406
- inputs: ['groupTitle'],
407
- }]
408
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
409
- })();
410
- let AdmiraltyFooter = class AdmiraltyFooter {
411
- constructor(c, r, z) {
412
- this.z = z;
413
- c.detach();
414
- this.el = r.nativeElement;
415
- }
416
- };
417
- AdmiraltyFooter.ɵfac = function AdmiraltyFooter_Factory(t) { return new (t || AdmiraltyFooter)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
418
- AdmiraltyFooter.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyFooter, selectors: [["admiralty-footer"]], inputs: { imageAlt: "imageAlt", imageLink: "imageLink", imageSrc: "imageSrc", text: "text" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyFooter_Template(rf, ctx) {
419
- if (rf & 1) {
420
- i0.ɵɵprojectionDef();
421
- i0.ɵɵprojection(0);
422
- }
423
- }, encapsulation: 2, changeDetection: 0 });
424
- AdmiraltyFooter = __decorate([
425
- ProxyCmp({
426
- inputs: ['imageAlt', 'imageLink', 'imageSrc', 'text']
427
- })
428
- ], AdmiraltyFooter);
429
- (function () {
430
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyFooter, [{
431
- type: Component,
432
- args: [{
433
- selector: 'admiralty-footer',
434
- changeDetection: ChangeDetectionStrategy.OnPush,
435
- template: '<ng-content></ng-content>',
436
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
437
- inputs: ['imageAlt', 'imageLink', 'imageSrc', 'text'],
438
- }]
439
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
440
- })();
441
- let AdmiraltyHeader = class AdmiraltyHeader {
442
- constructor(c, r, z) {
443
- this.z = z;
444
- c.detach();
445
- this.el = r.nativeElement;
446
- proxyOutputs(this, this.el, ['titledClicked']);
447
- }
448
- };
449
- AdmiraltyHeader.ɵfac = function AdmiraltyHeader_Factory(t) { return new (t || AdmiraltyHeader)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
450
- AdmiraltyHeader.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyHeader, selectors: [["admiralty-header"]], inputs: { headerTitle: "headerTitle", headerTitleUrl: "headerTitleUrl", logoAltText: "logoAltText", logoImgUrl: "logoImgUrl", logoLinkUrl: "logoLinkUrl" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyHeader_Template(rf, ctx) {
451
- if (rf & 1) {
452
- i0.ɵɵprojectionDef();
453
- i0.ɵɵprojection(0);
454
- }
455
- }, encapsulation: 2, changeDetection: 0 });
456
- AdmiraltyHeader = __decorate([
457
- ProxyCmp({
458
- inputs: ['headerTitle', 'headerTitleUrl', 'logoAltText', 'logoImgUrl', 'logoLinkUrl']
459
- })
460
- ], AdmiraltyHeader);
461
- (function () {
462
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyHeader, [{
463
- type: Component,
464
- args: [{
465
- selector: 'admiralty-header',
466
- changeDetection: ChangeDetectionStrategy.OnPush,
467
- template: '<ng-content></ng-content>',
468
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
469
- inputs: ['headerTitle', 'headerTitleUrl', 'logoAltText', 'logoImgUrl', 'logoLinkUrl'],
470
- }]
471
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
472
- })();
473
- let AdmiraltyHeaderMenuItem = class AdmiraltyHeaderMenuItem {
474
- constructor(c, r, z) {
475
- this.z = z;
476
- c.detach();
477
- this.el = r.nativeElement;
478
- proxyOutputs(this, this.el, ['menuItemClick']);
479
- }
480
- };
481
- AdmiraltyHeaderMenuItem.ɵfac = function AdmiraltyHeaderMenuItem_Factory(t) { return new (t || AdmiraltyHeaderMenuItem)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
482
- AdmiraltyHeaderMenuItem.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyHeaderMenuItem, selectors: [["admiralty-header-menu-item"]], inputs: { active: "active", menuTitle: "menuTitle" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyHeaderMenuItem_Template(rf, ctx) {
483
- if (rf & 1) {
484
- i0.ɵɵprojectionDef();
485
- i0.ɵɵprojection(0);
486
- }
487
- }, encapsulation: 2, changeDetection: 0 });
488
- AdmiraltyHeaderMenuItem = __decorate([
489
- ProxyCmp({
490
- inputs: ['active', 'menuTitle']
491
- })
492
- ], AdmiraltyHeaderMenuItem);
493
- (function () {
494
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyHeaderMenuItem, [{
495
- type: Component,
496
- args: [{
497
- selector: 'admiralty-header-menu-item',
498
- changeDetection: ChangeDetectionStrategy.OnPush,
499
- template: '<ng-content></ng-content>',
500
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
501
- inputs: ['active', 'menuTitle'],
502
- }]
503
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
504
- })();
505
- let AdmiraltyHeaderProfile = class AdmiraltyHeaderProfile {
506
- constructor(c, r, z) {
507
- this.z = z;
508
- c.detach();
509
- this.el = r.nativeElement;
510
- proxyOutputs(this, this.el, ['signInClicked', 'yourAccountClicked', 'signOutClicked']);
511
- }
512
- };
513
- AdmiraltyHeaderProfile.ɵfac = function AdmiraltyHeaderProfile_Factory(t) { return new (t || AdmiraltyHeaderProfile)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
514
- AdmiraltyHeaderProfile.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyHeaderProfile, selectors: [["admiralty-header-profile"]], inputs: { isSignedIn: "isSignedIn", signedInText: "signedInText" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyHeaderProfile_Template(rf, ctx) {
515
- if (rf & 1) {
516
- i0.ɵɵprojectionDef();
517
- i0.ɵɵprojection(0);
518
- }
519
- }, encapsulation: 2, changeDetection: 0 });
520
- AdmiraltyHeaderProfile = __decorate([
521
- ProxyCmp({
522
- inputs: ['isSignedIn', 'signedInText']
523
- })
524
- ], AdmiraltyHeaderProfile);
525
- (function () {
526
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyHeaderProfile, [{
527
- type: Component,
528
- args: [{
529
- selector: 'admiralty-header-profile',
530
- changeDetection: ChangeDetectionStrategy.OnPush,
531
- template: '<ng-content></ng-content>',
532
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
533
- inputs: ['isSignedIn', 'signedInText'],
534
- }]
535
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
536
- })();
537
- let AdmiraltyHeaderSubMenuItem = class AdmiraltyHeaderSubMenuItem {
538
- constructor(c, r, z) {
539
- this.z = z;
540
- c.detach();
541
- this.el = r.nativeElement;
542
- proxyOutputs(this, this.el, ['subMenuItemClick']);
543
- }
544
- };
545
- AdmiraltyHeaderSubMenuItem.ɵfac = function AdmiraltyHeaderSubMenuItem_Factory(t) { return new (t || AdmiraltyHeaderSubMenuItem)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
546
- AdmiraltyHeaderSubMenuItem.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyHeaderSubMenuItem, selectors: [["admiralty-header-sub-menu-item"]], inputs: { menuTitle: "menuTitle" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyHeaderSubMenuItem_Template(rf, ctx) {
547
- if (rf & 1) {
548
- i0.ɵɵprojectionDef();
549
- i0.ɵɵprojection(0);
550
- }
551
- }, encapsulation: 2, changeDetection: 0 });
552
- AdmiraltyHeaderSubMenuItem = __decorate([
553
- ProxyCmp({
554
- inputs: ['menuTitle']
555
- })
556
- ], AdmiraltyHeaderSubMenuItem);
557
- (function () {
558
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyHeaderSubMenuItem, [{
559
- type: Component,
560
- args: [{
561
- selector: 'admiralty-header-sub-menu-item',
562
- changeDetection: ChangeDetectionStrategy.OnPush,
563
- template: '<ng-content></ng-content>',
564
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
565
- inputs: ['menuTitle'],
566
- }]
567
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
568
- })();
569
- let AdmiraltyHint = class AdmiraltyHint {
570
- constructor(c, r, z) {
571
- this.z = z;
572
- c.detach();
573
- this.el = r.nativeElement;
574
- }
575
- };
576
- AdmiraltyHint.ɵfac = function AdmiraltyHint_Factory(t) { return new (t || AdmiraltyHint)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
577
- AdmiraltyHint.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyHint, selectors: [["admiralty-hint"]], inputs: { disabled: "disabled" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyHint_Template(rf, ctx) {
578
- if (rf & 1) {
579
- i0.ɵɵprojectionDef();
580
- i0.ɵɵprojection(0);
581
- }
582
- }, encapsulation: 2, changeDetection: 0 });
583
- AdmiraltyHint = __decorate([
584
- ProxyCmp({
585
- inputs: ['disabled']
586
- })
587
- ], AdmiraltyHint);
588
- (function () {
589
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyHint, [{
590
- type: Component,
591
- args: [{
592
- selector: 'admiralty-hint',
593
- changeDetection: ChangeDetectionStrategy.OnPush,
594
- template: '<ng-content></ng-content>',
595
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
596
- inputs: ['disabled'],
597
- }]
598
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
599
- })();
600
- let AdmiraltyHr = class AdmiraltyHr {
601
- constructor(c, r, z) {
602
- this.z = z;
603
- c.detach();
604
- this.el = r.nativeElement;
605
- }
606
- };
607
- AdmiraltyHr.ɵfac = function AdmiraltyHr_Factory(t) { return new (t || AdmiraltyHr)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
608
- AdmiraltyHr.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyHr, selectors: [["admiralty-hr"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyHr_Template(rf, ctx) {
609
- if (rf & 1) {
610
- i0.ɵɵprojectionDef();
611
- i0.ɵɵprojection(0);
612
- }
613
- }, encapsulation: 2, changeDetection: 0 });
614
- AdmiraltyHr = __decorate([
615
- ProxyCmp({})
616
- ], AdmiraltyHr);
617
- (function () {
618
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyHr, [{
619
- type: Component,
620
- args: [{
621
- selector: 'admiralty-hr',
622
- changeDetection: ChangeDetectionStrategy.OnPush,
623
- template: '<ng-content></ng-content>',
624
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
625
- inputs: [],
626
- }]
627
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
628
- })();
629
- let AdmiraltyIcon = class AdmiraltyIcon {
630
- constructor(c, r, z) {
631
- this.z = z;
632
- c.detach();
633
- this.el = r.nativeElement;
634
- }
635
- };
636
- AdmiraltyIcon.ɵfac = function AdmiraltyIcon_Factory(t) { return new (t || AdmiraltyIcon)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
637
- AdmiraltyIcon.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyIcon, selectors: [["admiralty-icon"]], inputs: { iconName: "iconName", iconPrefix: "iconPrefix" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyIcon_Template(rf, ctx) {
638
- if (rf & 1) {
639
- i0.ɵɵprojectionDef();
640
- i0.ɵɵprojection(0);
641
- }
642
- }, encapsulation: 2, changeDetection: 0 });
643
- AdmiraltyIcon = __decorate([
644
- ProxyCmp({
645
- inputs: ['iconName', 'iconPrefix']
646
- })
647
- ], AdmiraltyIcon);
648
- (function () {
649
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyIcon, [{
650
- type: Component,
651
- args: [{
652
- selector: 'admiralty-icon',
653
- changeDetection: ChangeDetectionStrategy.OnPush,
654
- template: '<ng-content></ng-content>',
655
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
656
- inputs: ['iconName', 'iconPrefix'],
657
- }]
658
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
659
- })();
660
- let AdmiraltyInput = class AdmiraltyInput {
661
- constructor(c, r, z) {
662
- this.z = z;
663
- c.detach();
664
- this.el = r.nativeElement;
665
- proxyOutputs(this, this.el, ['admiraltyChange']);
666
- }
667
- };
668
- AdmiraltyInput.ɵfac = function AdmiraltyInput_Factory(t) { return new (t || AdmiraltyInput)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
669
- AdmiraltyInput.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyInput, selectors: [["admiralty-input"]], inputs: { autocomplete: "autocomplete", disabled: "disabled", hint: "hint", invalid: "invalid", invalidMessage: "invalidMessage", label: "label", name: "name", placeholder: "placeholder", required: "required", type: "type", value: "value", width: "width" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyInput_Template(rf, ctx) {
670
- if (rf & 1) {
671
- i0.ɵɵprojectionDef();
672
- i0.ɵɵprojection(0);
673
- }
674
- }, encapsulation: 2, changeDetection: 0 });
675
- AdmiraltyInput = __decorate([
676
- ProxyCmp({
677
- inputs: ['autocomplete', 'disabled', 'hint', 'invalid', 'invalidMessage', 'label', 'name', 'placeholder', 'required', 'type', 'value', 'width']
678
- })
679
- ], AdmiraltyInput);
680
- (function () {
681
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyInput, [{
682
- type: Component,
683
- args: [{
684
- selector: 'admiralty-input',
685
- changeDetection: ChangeDetectionStrategy.OnPush,
686
- template: '<ng-content></ng-content>',
687
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
688
- inputs: ['autocomplete', 'disabled', 'hint', 'invalid', 'invalidMessage', 'label', 'name', 'placeholder', 'required', 'type', 'value', 'width'],
689
- }]
690
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
691
- })();
692
- let AdmiraltyInputError = class AdmiraltyInputError {
693
- constructor(c, r, z) {
694
- this.z = z;
695
- c.detach();
696
- this.el = r.nativeElement;
697
- }
698
- };
699
- AdmiraltyInputError.ɵfac = function AdmiraltyInputError_Factory(t) { return new (t || AdmiraltyInputError)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
700
- AdmiraltyInputError.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyInputError, selectors: [["admiralty-input-error"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyInputError_Template(rf, ctx) {
701
- if (rf & 1) {
702
- i0.ɵɵprojectionDef();
703
- i0.ɵɵprojection(0);
704
- }
705
- }, encapsulation: 2, changeDetection: 0 });
706
- AdmiraltyInputError = __decorate([
707
- ProxyCmp({})
708
- ], AdmiraltyInputError);
709
- (function () {
710
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyInputError, [{
711
- type: Component,
712
- args: [{
713
- selector: 'admiralty-input-error',
714
- changeDetection: ChangeDetectionStrategy.OnPush,
715
- template: '<ng-content></ng-content>',
716
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
717
- inputs: [],
718
- }]
719
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
720
- })();
721
- let AdmiraltyLabel = class AdmiraltyLabel {
722
- constructor(c, r, z) {
723
- this.z = z;
724
- c.detach();
725
- this.el = r.nativeElement;
726
- }
727
- };
728
- AdmiraltyLabel.ɵfac = function AdmiraltyLabel_Factory(t) { return new (t || AdmiraltyLabel)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
729
- AdmiraltyLabel.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyLabel, selectors: [["admiralty-label"]], inputs: { disabled: "disabled", for: "for" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyLabel_Template(rf, ctx) {
730
- if (rf & 1) {
731
- i0.ɵɵprojectionDef();
732
- i0.ɵɵprojection(0);
733
- }
734
- }, encapsulation: 2, changeDetection: 0 });
735
- AdmiraltyLabel = __decorate([
736
- ProxyCmp({
737
- inputs: ['disabled', 'for']
738
- })
739
- ], AdmiraltyLabel);
740
- (function () {
741
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyLabel, [{
742
- type: Component,
743
- args: [{
744
- selector: 'admiralty-label',
745
- changeDetection: ChangeDetectionStrategy.OnPush,
746
- template: '<ng-content></ng-content>',
747
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
748
- inputs: ['disabled', 'for'],
749
- }]
750
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
751
- })();
752
- let AdmiraltyLink = class AdmiraltyLink {
753
- constructor(c, r, z) {
754
- this.z = z;
755
- c.detach();
756
- this.el = r.nativeElement;
757
- }
758
- };
759
- AdmiraltyLink.ɵfac = function AdmiraltyLink_Factory(t) { return new (t || AdmiraltyLink)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
760
- AdmiraltyLink.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyLink, selectors: [["admiralty-link"]], inputs: { href: "href", newTab: "newTab" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyLink_Template(rf, ctx) {
761
- if (rf & 1) {
762
- i0.ɵɵprojectionDef();
763
- i0.ɵɵprojection(0);
764
- }
765
- }, encapsulation: 2, changeDetection: 0 });
766
- AdmiraltyLink = __decorate([
767
- ProxyCmp({
768
- inputs: ['href', 'newTab']
769
- })
770
- ], AdmiraltyLink);
771
- (function () {
772
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyLink, [{
773
- type: Component,
774
- args: [{
775
- selector: 'admiralty-link',
776
- changeDetection: ChangeDetectionStrategy.OnPush,
777
- template: '<ng-content></ng-content>',
778
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
779
- inputs: ['href', 'newTab'],
780
- }]
781
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
782
- })();
783
- let AdmiraltyPaginator = class AdmiraltyPaginator {
784
- constructor(c, r, z) {
785
- this.z = z;
786
- c.detach();
787
- this.el = r.nativeElement;
788
- proxyOutputs(this, this.el, ['pageChange']);
789
- }
790
- };
791
- AdmiraltyPaginator.ɵfac = function AdmiraltyPaginator_Factory(t) { return new (t || AdmiraltyPaginator)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
792
- AdmiraltyPaginator.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyPaginator, selectors: [["admiralty-paginator"]], inputs: { currentPage: "currentPage", label: "label", pages: "pages" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyPaginator_Template(rf, ctx) {
793
- if (rf & 1) {
794
- i0.ɵɵprojectionDef();
795
- i0.ɵɵprojection(0);
796
- }
797
- }, encapsulation: 2, changeDetection: 0 });
798
- AdmiraltyPaginator = __decorate([
799
- ProxyCmp({
800
- inputs: ['currentPage', 'label', 'pages']
801
- })
802
- ], AdmiraltyPaginator);
803
- (function () {
804
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyPaginator, [{
805
- type: Component,
806
- args: [{
807
- selector: 'admiralty-paginator',
808
- changeDetection: ChangeDetectionStrategy.OnPush,
809
- template: '<ng-content></ng-content>',
810
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
811
- inputs: ['currentPage', 'label', 'pages'],
812
- }]
813
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
814
- })();
815
- let AdmiraltyPhaseBanner = class AdmiraltyPhaseBanner {
816
- constructor(c, r, z) {
817
- this.z = z;
818
- c.detach();
819
- this.el = r.nativeElement;
820
- }
821
- };
822
- AdmiraltyPhaseBanner.ɵfac = function AdmiraltyPhaseBanner_Factory(t) { return new (t || AdmiraltyPhaseBanner)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
823
- AdmiraltyPhaseBanner.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyPhaseBanner, selectors: [["admiralty-phase-banner"]], inputs: { link: "link", phase: "phase" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyPhaseBanner_Template(rf, ctx) {
824
- if (rf & 1) {
825
- i0.ɵɵprojectionDef();
826
- i0.ɵɵprojection(0);
827
- }
828
- }, encapsulation: 2, changeDetection: 0 });
829
- AdmiraltyPhaseBanner = __decorate([
830
- ProxyCmp({
831
- inputs: ['link', 'phase']
832
- })
833
- ], AdmiraltyPhaseBanner);
834
- (function () {
835
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyPhaseBanner, [{
836
- type: Component,
837
- args: [{
838
- selector: 'admiralty-phase-banner',
839
- changeDetection: ChangeDetectionStrategy.OnPush,
840
- template: '<ng-content></ng-content>',
841
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
842
- inputs: ['link', 'phase'],
843
- }]
844
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
845
- })();
846
- let AdmiraltyProgressBar = class AdmiraltyProgressBar {
847
- constructor(c, r, z) {
848
- this.z = z;
849
- c.detach();
850
- this.el = r.nativeElement;
851
- }
852
- };
853
- AdmiraltyProgressBar.ɵfac = function AdmiraltyProgressBar_Factory(t) { return new (t || AdmiraltyProgressBar)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
854
- AdmiraltyProgressBar.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyProgressBar, selectors: [["admiralty-progress-bar"]], inputs: { error: "error", label: "label", progression: "progression" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyProgressBar_Template(rf, ctx) {
855
- if (rf & 1) {
856
- i0.ɵɵprojectionDef();
857
- i0.ɵɵprojection(0);
858
- }
859
- }, encapsulation: 2, changeDetection: 0 });
860
- AdmiraltyProgressBar = __decorate([
861
- ProxyCmp({
862
- inputs: ['error', 'label', 'progression']
863
- })
864
- ], AdmiraltyProgressBar);
865
- (function () {
866
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyProgressBar, [{
867
- type: Component,
868
- args: [{
869
- selector: 'admiralty-progress-bar',
870
- changeDetection: ChangeDetectionStrategy.OnPush,
871
- template: '<ng-content></ng-content>',
872
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
873
- inputs: ['error', 'label', 'progression'],
874
- }]
875
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
876
- })();
877
- let AdmiraltyRadio = class AdmiraltyRadio {
878
- constructor(c, r, z) {
879
- this.z = z;
880
- c.detach();
881
- this.el = r.nativeElement;
882
- proxyOutputs(this, this.el, ['admiraltyFocus', 'admiraltyBlur', 'admiraltyChange']);
883
- }
884
- };
885
- AdmiraltyRadio.ɵfac = function AdmiraltyRadio_Factory(t) { return new (t || AdmiraltyRadio)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
886
- AdmiraltyRadio.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyRadio, selectors: [["admiralty-radio"]], inputs: { checked: "checked", disabled: "disabled", name: "name", value: "value" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyRadio_Template(rf, ctx) {
887
- if (rf & 1) {
888
- i0.ɵɵprojectionDef();
889
- i0.ɵɵprojection(0);
890
- }
891
- }, encapsulation: 2, changeDetection: 0 });
892
- AdmiraltyRadio = __decorate([
893
- ProxyCmp({
894
- inputs: ['checked', 'disabled', 'name', 'value']
895
- })
896
- ], AdmiraltyRadio);
897
- (function () {
898
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyRadio, [{
899
- type: Component,
900
- args: [{
901
- selector: 'admiralty-radio',
902
- changeDetection: ChangeDetectionStrategy.OnPush,
903
- template: '<ng-content></ng-content>',
904
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
905
- inputs: ['checked', 'disabled', 'name', 'value'],
906
- }]
907
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
908
- })();
909
- let AdmiraltyRadioGroup = class AdmiraltyRadioGroup {
910
- constructor(c, r, z) {
911
- this.z = z;
912
- c.detach();
913
- this.el = r.nativeElement;
914
- proxyOutputs(this, this.el, ['admiraltyChange']);
915
- }
916
- };
917
- AdmiraltyRadioGroup.ɵfac = function AdmiraltyRadioGroup_Factory(t) { return new (t || AdmiraltyRadioGroup)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
918
- AdmiraltyRadioGroup.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyRadioGroup, selectors: [["admiralty-radio-group"]], inputs: { displayVertical: "displayVertical", name: "name", value: "value" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyRadioGroup_Template(rf, ctx) {
919
- if (rf & 1) {
920
- i0.ɵɵprojectionDef();
921
- i0.ɵɵprojection(0);
922
- }
923
- }, encapsulation: 2, changeDetection: 0 });
924
- AdmiraltyRadioGroup = __decorate([
925
- ProxyCmp({
926
- inputs: ['displayVertical', 'name', 'value']
927
- })
928
- ], AdmiraltyRadioGroup);
929
- (function () {
930
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyRadioGroup, [{
931
- type: Component,
932
- args: [{
933
- selector: 'admiralty-radio-group',
934
- changeDetection: ChangeDetectionStrategy.OnPush,
935
- template: '<ng-content></ng-content>',
936
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
937
- inputs: ['displayVertical', 'name', 'value'],
938
- }]
939
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
940
- })();
941
- let AdmiraltyReadMore = class AdmiraltyReadMore {
942
- constructor(c, r, z) {
943
- this.z = z;
944
- c.detach();
945
- this.el = r.nativeElement;
946
- proxyOutputs(this, this.el, ['admiraltyToggled']);
947
- }
948
- };
949
- AdmiraltyReadMore.ɵfac = function AdmiraltyReadMore_Factory(t) { return new (t || AdmiraltyReadMore)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
950
- AdmiraltyReadMore.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyReadMore, selectors: [["admiralty-read-more"]], inputs: { heading: "heading" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyReadMore_Template(rf, ctx) {
951
- if (rf & 1) {
952
- i0.ɵɵprojectionDef();
953
- i0.ɵɵprojection(0);
954
- }
955
- }, encapsulation: 2, changeDetection: 0 });
956
- AdmiraltyReadMore = __decorate([
957
- ProxyCmp({
958
- inputs: ['heading']
959
- })
960
- ], AdmiraltyReadMore);
961
- (function () {
962
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyReadMore, [{
963
- type: Component,
964
- args: [{
965
- selector: 'admiralty-read-more',
966
- changeDetection: ChangeDetectionStrategy.OnPush,
967
- template: '<ng-content></ng-content>',
968
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
969
- inputs: ['heading'],
970
- }]
971
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
972
- })();
973
- let AdmiraltySelect = class AdmiraltySelect {
974
- constructor(c, r, z) {
975
- this.z = z;
976
- c.detach();
977
- this.el = r.nativeElement;
978
- proxyOutputs(this, this.el, ['admiraltyChange', 'admiraltyBlur']);
979
- }
980
- };
981
- AdmiraltySelect.ɵfac = function AdmiraltySelect_Factory(t) { return new (t || AdmiraltySelect)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
982
- AdmiraltySelect.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltySelect, selectors: [["admiralty-select"]], inputs: { disabled: "disabled", error: "error", errorHint: "errorHint", hint: "hint", label: "label", value: "value", width: "width" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltySelect_Template(rf, ctx) {
983
- if (rf & 1) {
984
- i0.ɵɵprojectionDef();
985
- i0.ɵɵprojection(0);
986
- }
987
- }, encapsulation: 2, changeDetection: 0 });
988
- AdmiraltySelect = __decorate([
989
- ProxyCmp({
990
- inputs: ['disabled', 'error', 'errorHint', 'hint', 'label', 'value', 'width']
991
- })
992
- ], AdmiraltySelect);
993
- (function () {
994
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltySelect, [{
995
- type: Component,
996
- args: [{
997
- selector: 'admiralty-select',
998
- changeDetection: ChangeDetectionStrategy.OnPush,
999
- template: '<ng-content></ng-content>',
1000
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1001
- inputs: ['disabled', 'error', 'errorHint', 'hint', 'label', 'value', 'width'],
1002
- }]
1003
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1004
- })();
1005
- let AdmiraltySideNav = class AdmiraltySideNav {
1006
- constructor(c, r, z) {
1007
- this.z = z;
1008
- c.detach();
1009
- this.el = r.nativeElement;
1010
- }
1011
- };
1012
- AdmiraltySideNav.ɵfac = function AdmiraltySideNav_Factory(t) { return new (t || AdmiraltySideNav)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1013
- AdmiraltySideNav.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltySideNav, selectors: [["admiralty-side-nav"]], inputs: { label: "label" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltySideNav_Template(rf, ctx) {
1014
- if (rf & 1) {
1015
- i0.ɵɵprojectionDef();
1016
- i0.ɵɵprojection(0);
1017
- }
1018
- }, encapsulation: 2, changeDetection: 0 });
1019
- AdmiraltySideNav = __decorate([
1020
- ProxyCmp({
1021
- inputs: ['label']
1022
- })
1023
- ], AdmiraltySideNav);
1024
- (function () {
1025
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltySideNav, [{
1026
- type: Component,
1027
- args: [{
1028
- selector: 'admiralty-side-nav',
1029
- changeDetection: ChangeDetectionStrategy.OnPush,
1030
- template: '<ng-content></ng-content>',
1031
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1032
- inputs: ['label'],
1033
- }]
1034
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1035
- })();
1036
- let AdmiraltySideNavItem = class AdmiraltySideNavItem {
1037
- constructor(c, r, z) {
1038
- this.z = z;
1039
- c.detach();
1040
- this.el = r.nativeElement;
1041
- proxyOutputs(this, this.el, ['sideNavItemSelected']);
1042
- }
1043
- };
1044
- AdmiraltySideNavItem.ɵfac = function AdmiraltySideNavItem_Factory(t) { return new (t || AdmiraltySideNavItem)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1045
- AdmiraltySideNavItem.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltySideNavItem, selectors: [["admiralty-side-nav-item"]], inputs: { headingTitle: "headingTitle", navActive: "navActive", sideNavItemId: "sideNavItemId" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltySideNavItem_Template(rf, ctx) {
1046
- if (rf & 1) {
1047
- i0.ɵɵprojectionDef();
1048
- i0.ɵɵprojection(0);
1049
- }
1050
- }, encapsulation: 2, changeDetection: 0 });
1051
- AdmiraltySideNavItem = __decorate([
1052
- ProxyCmp({
1053
- inputs: ['headingTitle', 'navActive', 'sideNavItemId']
1054
- })
1055
- ], AdmiraltySideNavItem);
1056
- (function () {
1057
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltySideNavItem, [{
1058
- type: Component,
1059
- args: [{
1060
- selector: 'admiralty-side-nav-item',
1061
- changeDetection: ChangeDetectionStrategy.OnPush,
1062
- template: '<ng-content></ng-content>',
1063
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1064
- inputs: ['headingTitle', 'navActive', 'sideNavItemId'],
1065
- }]
1066
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1067
- })();
1068
- let AdmiraltyTab = class AdmiraltyTab {
1069
- constructor(c, r, z) {
1070
- this.z = z;
1071
- c.detach();
1072
- this.el = r.nativeElement;
1073
- }
1074
- };
1075
- AdmiraltyTab.ɵfac = function AdmiraltyTab_Factory(t) { return new (t || AdmiraltyTab)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1076
- AdmiraltyTab.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTab, selectors: [["admiralty-tab"]], inputs: { label: "label", tabContentId: "tabContentId", tabLabelId: "tabLabelId" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTab_Template(rf, ctx) {
1077
- if (rf & 1) {
1078
- i0.ɵɵprojectionDef();
1079
- i0.ɵɵprojection(0);
1080
- }
1081
- }, encapsulation: 2, changeDetection: 0 });
1082
- AdmiraltyTab = __decorate([
1083
- ProxyCmp({
1084
- inputs: ['label', 'tabContentId', 'tabLabelId']
1085
- })
1086
- ], AdmiraltyTab);
1087
- (function () {
1088
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTab, [{
1089
- type: Component,
1090
- args: [{
1091
- selector: 'admiralty-tab',
1092
- changeDetection: ChangeDetectionStrategy.OnPush,
1093
- template: '<ng-content></ng-content>',
1094
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1095
- inputs: ['label', 'tabContentId', 'tabLabelId'],
1096
- }]
1097
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1098
- })();
1099
- let AdmiraltyTabGroup = class AdmiraltyTabGroup {
1100
- constructor(c, r, z) {
1101
- this.z = z;
1102
- c.detach();
1103
- this.el = r.nativeElement;
1104
- proxyOutputs(this, this.el, ['admiraltyTabSelected']);
1105
- }
1106
- };
1107
- AdmiraltyTabGroup.ɵfac = function AdmiraltyTabGroup_Factory(t) { return new (t || AdmiraltyTabGroup)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1108
- AdmiraltyTabGroup.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTabGroup, selectors: [["admiralty-tab-group"]], inputs: { selectedIndex: "selectedIndex" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTabGroup_Template(rf, ctx) {
1109
- if (rf & 1) {
1110
- i0.ɵɵprojectionDef();
1111
- i0.ɵɵprojection(0);
1112
- }
1113
- }, encapsulation: 2, changeDetection: 0 });
1114
- AdmiraltyTabGroup = __decorate([
1115
- ProxyCmp({
1116
- inputs: ['selectedIndex']
1117
- })
1118
- ], AdmiraltyTabGroup);
1119
- (function () {
1120
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTabGroup, [{
1121
- type: Component,
1122
- args: [{
1123
- selector: 'admiralty-tab-group',
1124
- changeDetection: ChangeDetectionStrategy.OnPush,
1125
- template: '<ng-content></ng-content>',
1126
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1127
- inputs: ['selectedIndex'],
1128
- }]
1129
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1130
- })();
1131
- let AdmiraltyTable = class AdmiraltyTable {
1132
- constructor(c, r, z) {
1133
- this.z = z;
1134
- c.detach();
1135
- this.el = r.nativeElement;
1136
- }
1137
- };
1138
- AdmiraltyTable.ɵfac = function AdmiraltyTable_Factory(t) { return new (t || AdmiraltyTable)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1139
- AdmiraltyTable.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTable, selectors: [["admiralty-table"]], inputs: { caption: "caption" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTable_Template(rf, ctx) {
1140
- if (rf & 1) {
1141
- i0.ɵɵprojectionDef();
1142
- i0.ɵɵprojection(0);
1143
- }
1144
- }, encapsulation: 2, changeDetection: 0 });
1145
- AdmiraltyTable = __decorate([
1146
- ProxyCmp({
1147
- inputs: ['caption']
1148
- })
1149
- ], AdmiraltyTable);
1150
- (function () {
1151
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTable, [{
1152
- type: Component,
1153
- args: [{
1154
- selector: 'admiralty-table',
1155
- changeDetection: ChangeDetectionStrategy.OnPush,
1156
- template: '<ng-content></ng-content>',
1157
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1158
- inputs: ['caption'],
1159
- }]
1160
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1161
- })();
1162
- let AdmiraltyTableBody = class AdmiraltyTableBody {
1163
- constructor(c, r, z) {
1164
- this.z = z;
1165
- c.detach();
1166
- this.el = r.nativeElement;
1167
- }
1168
- };
1169
- AdmiraltyTableBody.ɵfac = function AdmiraltyTableBody_Factory(t) { return new (t || AdmiraltyTableBody)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1170
- AdmiraltyTableBody.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTableBody, selectors: [["admiralty-table-body"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTableBody_Template(rf, ctx) {
1171
- if (rf & 1) {
1172
- i0.ɵɵprojectionDef();
1173
- i0.ɵɵprojection(0);
1174
- }
1175
- }, encapsulation: 2, changeDetection: 0 });
1176
- AdmiraltyTableBody = __decorate([
1177
- ProxyCmp({})
1178
- ], AdmiraltyTableBody);
1179
- (function () {
1180
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTableBody, [{
1181
- type: Component,
1182
- args: [{
1183
- selector: 'admiralty-table-body',
1184
- changeDetection: ChangeDetectionStrategy.OnPush,
1185
- template: '<ng-content></ng-content>',
1186
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1187
- inputs: [],
1188
- }]
1189
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1190
- })();
1191
- let AdmiraltyTableCell = class AdmiraltyTableCell {
1192
- constructor(c, r, z) {
1193
- this.z = z;
1194
- c.detach();
1195
- this.el = r.nativeElement;
1196
- }
1197
- };
1198
- AdmiraltyTableCell.ɵfac = function AdmiraltyTableCell_Factory(t) { return new (t || AdmiraltyTableCell)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1199
- AdmiraltyTableCell.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTableCell, selectors: [["admiralty-table-cell"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTableCell_Template(rf, ctx) {
1200
- if (rf & 1) {
1201
- i0.ɵɵprojectionDef();
1202
- i0.ɵɵprojection(0);
1203
- }
1204
- }, encapsulation: 2, changeDetection: 0 });
1205
- AdmiraltyTableCell = __decorate([
1206
- ProxyCmp({})
1207
- ], AdmiraltyTableCell);
1208
- (function () {
1209
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTableCell, [{
1210
- type: Component,
1211
- args: [{
1212
- selector: 'admiralty-table-cell',
1213
- changeDetection: ChangeDetectionStrategy.OnPush,
1214
- template: '<ng-content></ng-content>',
1215
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1216
- inputs: [],
1217
- }]
1218
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1219
- })();
1220
- let AdmiraltyTableHeader = class AdmiraltyTableHeader {
1221
- constructor(c, r, z) {
1222
- this.z = z;
1223
- c.detach();
1224
- this.el = r.nativeElement;
1225
- }
1226
- };
1227
- AdmiraltyTableHeader.ɵfac = function AdmiraltyTableHeader_Factory(t) { return new (t || AdmiraltyTableHeader)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1228
- AdmiraltyTableHeader.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTableHeader, selectors: [["admiralty-table-header"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTableHeader_Template(rf, ctx) {
1229
- if (rf & 1) {
1230
- i0.ɵɵprojectionDef();
1231
- i0.ɵɵprojection(0);
1232
- }
1233
- }, encapsulation: 2, changeDetection: 0 });
1234
- AdmiraltyTableHeader = __decorate([
1235
- ProxyCmp({})
1236
- ], AdmiraltyTableHeader);
1237
- (function () {
1238
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTableHeader, [{
1239
- type: Component,
1240
- args: [{
1241
- selector: 'admiralty-table-header',
1242
- changeDetection: ChangeDetectionStrategy.OnPush,
1243
- template: '<ng-content></ng-content>',
1244
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1245
- inputs: [],
1246
- }]
1247
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1248
- })();
1249
- let AdmiraltyTableHeaderCell = class AdmiraltyTableHeaderCell {
1250
- constructor(c, r, z) {
1251
- this.z = z;
1252
- c.detach();
1253
- this.el = r.nativeElement;
1254
- }
1255
- };
1256
- AdmiraltyTableHeaderCell.ɵfac = function AdmiraltyTableHeaderCell_Factory(t) { return new (t || AdmiraltyTableHeaderCell)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1257
- AdmiraltyTableHeaderCell.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTableHeaderCell, selectors: [["admiralty-table-header-cell"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTableHeaderCell_Template(rf, ctx) {
1258
- if (rf & 1) {
1259
- i0.ɵɵprojectionDef();
1260
- i0.ɵɵprojection(0);
1261
- }
1262
- }, encapsulation: 2, changeDetection: 0 });
1263
- AdmiraltyTableHeaderCell = __decorate([
1264
- ProxyCmp({})
1265
- ], AdmiraltyTableHeaderCell);
1266
- (function () {
1267
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTableHeaderCell, [{
1268
- type: Component,
1269
- args: [{
1270
- selector: 'admiralty-table-header-cell',
1271
- changeDetection: ChangeDetectionStrategy.OnPush,
1272
- template: '<ng-content></ng-content>',
1273
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1274
- inputs: [],
1275
- }]
1276
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1277
- })();
1278
- let AdmiraltyTableRow = class AdmiraltyTableRow {
1279
- constructor(c, r, z) {
1280
- this.z = z;
1281
- c.detach();
1282
- this.el = r.nativeElement;
1283
- }
1284
- };
1285
- AdmiraltyTableRow.ɵfac = function AdmiraltyTableRow_Factory(t) { return new (t || AdmiraltyTableRow)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1286
- AdmiraltyTableRow.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTableRow, selectors: [["admiralty-table-row"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTableRow_Template(rf, ctx) {
1287
- if (rf & 1) {
1288
- i0.ɵɵprojectionDef();
1289
- i0.ɵɵprojection(0);
1290
- }
1291
- }, encapsulation: 2, changeDetection: 0 });
1292
- AdmiraltyTableRow = __decorate([
1293
- ProxyCmp({})
1294
- ], AdmiraltyTableRow);
1295
- (function () {
1296
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTableRow, [{
1297
- type: Component,
1298
- args: [{
1299
- selector: 'admiralty-table-row',
1300
- changeDetection: ChangeDetectionStrategy.OnPush,
1301
- template: '<ng-content></ng-content>',
1302
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1303
- inputs: [],
1304
- }]
1305
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1306
- })();
1307
- let AdmiraltyTextarea = class AdmiraltyTextarea {
1308
- constructor(c, r, z) {
1309
- this.z = z;
1310
- c.detach();
1311
- this.el = r.nativeElement;
1312
- proxyOutputs(this, this.el, ['textareaBlur', 'textareaChanged']);
1313
- }
1314
- };
1315
- AdmiraltyTextarea.ɵfac = function AdmiraltyTextarea_Factory(t) { return new (t || AdmiraltyTextarea)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1316
- AdmiraltyTextarea.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTextarea, selectors: [["admiralty-textarea"]], inputs: { disabled: "disabled", hint: "hint", invalid: "invalid", invalidMessage: "invalidMessage", label: "label", maxLength: "maxLength", text: "text", width: "width" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTextarea_Template(rf, ctx) {
1317
- if (rf & 1) {
1318
- i0.ɵɵprojectionDef();
1319
- i0.ɵɵprojection(0);
1320
- }
1321
- }, encapsulation: 2, changeDetection: 0 });
1322
- AdmiraltyTextarea = __decorate([
1323
- ProxyCmp({
1324
- inputs: ['disabled', 'hint', 'invalid', 'invalidMessage', 'label', 'maxLength', 'text', 'width']
1325
- })
1326
- ], AdmiraltyTextarea);
1327
- (function () {
1328
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTextarea, [{
1329
- type: Component,
1330
- args: [{
1331
- selector: 'admiralty-textarea',
1332
- changeDetection: ChangeDetectionStrategy.OnPush,
1333
- template: '<ng-content></ng-content>',
1334
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1335
- inputs: ['disabled', 'hint', 'invalid', 'invalidMessage', 'label', 'maxLength', 'text', 'width'],
1336
- }]
1337
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1338
- })();
1339
- let AdmiraltyTypeAhead = class AdmiraltyTypeAhead {
1340
- constructor(c, r, z) {
1341
- this.z = z;
1342
- c.detach();
1343
- this.el = r.nativeElement;
1344
- proxyOutputs(this, this.el, ['selectionChanged', 'valueChanged']);
1345
- }
1346
- };
1347
- AdmiraltyTypeAhead.ɵfac = function AdmiraltyTypeAhead_Factory(t) { return new (t || AdmiraltyTypeAhead)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1348
- AdmiraltyTypeAhead.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTypeAhead, selectors: [["admiralty-type-ahead"]], inputs: { hint: "hint", label: "label", placeholder: "placeholder", resultsOnInitFocus: "resultsOnInitFocus", value: "value" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTypeAhead_Template(rf, ctx) {
1349
- if (rf & 1) {
1350
- i0.ɵɵprojectionDef();
1351
- i0.ɵɵprojection(0);
1352
- }
1353
- }, encapsulation: 2, changeDetection: 0 });
1354
- AdmiraltyTypeAhead = __decorate([
1355
- ProxyCmp({
1356
- inputs: ['hint', 'label', 'placeholder', 'resultsOnInitFocus', 'value']
1357
- })
1358
- ], AdmiraltyTypeAhead);
1359
- (function () {
1360
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTypeAhead, [{
1361
- type: Component,
1362
- args: [{
1363
- selector: 'admiralty-type-ahead',
1364
- changeDetection: ChangeDetectionStrategy.OnPush,
1365
- template: '<ng-content></ng-content>',
1366
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1367
- inputs: ['hint', 'label', 'placeholder', 'resultsOnInitFocus', 'value'],
1368
- }]
1369
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1370
- })();
1371
- let AdmiraltyTypeAheadItem = class AdmiraltyTypeAheadItem {
1372
- constructor(c, r, z) {
1373
- this.z = z;
1374
- c.detach();
1375
- this.el = r.nativeElement;
1376
- }
1377
- };
1378
- AdmiraltyTypeAheadItem.ɵfac = function AdmiraltyTypeAheadItem_Factory(t) { return new (t || AdmiraltyTypeAheadItem)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.NgZone)); };
1379
- AdmiraltyTypeAheadItem.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AdmiraltyTypeAheadItem, selectors: [["admiralty-type-ahead-item"]], inputs: { value: "value" }, ngContentSelectors: _c0, decls: 1, vars: 0, template: function AdmiraltyTypeAheadItem_Template(rf, ctx) {
1380
- if (rf & 1) {
1381
- i0.ɵɵprojectionDef();
1382
- i0.ɵɵprojection(0);
1383
- }
1384
- }, encapsulation: 2, changeDetection: 0 });
1385
- AdmiraltyTypeAheadItem = __decorate([
1386
- ProxyCmp({
1387
- inputs: ['value']
1388
- })
1389
- ], AdmiraltyTypeAheadItem);
1390
- (function () {
1391
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AdmiraltyTypeAheadItem, [{
1392
- type: Component,
1393
- args: [{
1394
- selector: 'admiralty-type-ahead-item',
1395
- changeDetection: ChangeDetectionStrategy.OnPush,
1396
- template: '<ng-content></ng-content>',
1397
- // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1398
- inputs: ['value'],
1399
- }]
1400
- }], function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, null);
1401
- })();
1402
-
1403
- const DIRECTIVES = [
1404
- AdmiraltyBreadcrumb,
1405
- AdmiraltyBreadcrumbs,
1406
- AdmiraltyButton,
1407
- AdmiraltyCard,
1408
- AdmiraltyCheckbox,
1409
- AdmiraltyColourBlock,
1410
- AdmiraltyDialogue,
1411
- AdmiraltyExpansion,
1412
- AdmiraltyFileInput,
1413
- AdmiraltyFilter,
1414
- AdmiraltyFilterGroup,
1415
- AdmiraltyFooter,
1416
- AdmiraltyHeader,
1417
- AdmiraltyHeaderMenuItem,
1418
- AdmiraltyHeaderProfile,
1419
- AdmiraltyHeaderSubMenuItem,
1420
- AdmiraltyHint,
1421
- AdmiraltyHr,
1422
- AdmiraltyIcon,
1423
- AdmiraltyInput,
1424
- AdmiraltyInputError,
1425
- AdmiraltyLabel,
1426
- AdmiraltyLink,
1427
- AdmiraltyPaginator,
1428
- AdmiraltyPhaseBanner,
1429
- AdmiraltyProgressBar,
1430
- AdmiraltyRadio,
1431
- AdmiraltyRadioGroup,
1432
- AdmiraltyReadMore,
1433
- AdmiraltySelect,
1434
- AdmiraltySideNav,
1435
- AdmiraltySideNavItem,
1436
- AdmiraltyTab,
1437
- AdmiraltyTabGroup,
1438
- AdmiraltyTable,
1439
- AdmiraltyTableBody,
1440
- AdmiraltyTableCell,
1441
- AdmiraltyTableHeader,
1442
- AdmiraltyTableHeaderCell,
1443
- AdmiraltyTableRow,
1444
- AdmiraltyTextarea,
1445
- AdmiraltyTypeAhead,
1446
- AdmiraltyTypeAheadItem
1447
- ];
1448
-
1449
- class ValueAccessor {
1450
- constructor(el) {
1451
- this.el = el;
1452
- this.onChange = () => { };
1453
- this.onTouched = () => { };
1454
- }
1455
- writeValue(value) {
1456
- this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
1457
- }
1458
- handleChangeEvent(value) {
1459
- if (value !== this.lastValue) {
1460
- this.lastValue = value;
1461
- this.onChange(value);
1462
- }
1463
- }
1464
- _handleBlurEvent() {
1465
- this.onTouched();
1466
- }
1467
- registerOnChange(fn) {
1468
- this.onChange = fn;
1469
- }
1470
- registerOnTouched(fn) {
1471
- this.onTouched = fn;
1472
- }
1473
- setDisabledState(isDisabled) {
1474
- this.el.nativeElement.disabled = isDisabled;
1475
- }
1476
- }
1477
- ValueAccessor.ɵfac = function ValueAccessor_Factory(t) { return new (t || ValueAccessor)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1478
- ValueAccessor.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ValueAccessor, hostBindings: function ValueAccessor_HostBindings(rf, ctx) {
1479
- if (rf & 1) {
1480
- i0.ɵɵlistener("focusout", function ValueAccessor_focusout_HostBindingHandler() { return ctx._handleBlurEvent(); });
1481
- }
1482
- } });
1483
- (function () {
1484
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValueAccessor, [{
1485
- type: Directive,
1486
- args: [{}]
1487
- }], function () { return [{ type: i0.ElementRef }]; }, { _handleBlurEvent: [{
1488
- type: HostListener,
1489
- args: ['focusout']
1490
- }] });
1491
- })();
1492
-
1493
- class TextValueAccessor extends ValueAccessor {
1494
- constructor(el) {
1495
- super(el);
1496
- }
1497
- }
1498
- TextValueAccessor.ɵfac = function TextValueAccessor_Factory(t) { return new (t || TextValueAccessor)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1499
- TextValueAccessor.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TextValueAccessor, selectors: [["admiralty-input", 3, "type", "number"], ["admiralty-textarea"]], hostBindings: function TextValueAccessor_HostBindings(rf, ctx) {
1500
- if (rf & 1) {
1501
- i0.ɵɵlistener("admiraltyChange", function TextValueAccessor_admiraltyChange_HostBindingHandler($event) { return ctx.handleChangeEvent($event.target.value); });
1502
- }
1503
- }, features: [i0.ɵɵProvidersFeature([
1504
- {
1505
- provide: NG_VALUE_ACCESSOR,
1506
- useExisting: TextValueAccessor,
1507
- multi: true
1508
- }
1509
- ]), i0.ɵɵInheritDefinitionFeature] });
1510
- (function () {
1511
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TextValueAccessor, [{
1512
- type: Directive,
1513
- args: [{
1514
- /* tslint:disable-next-line:directive-selector */
1515
- selector: 'admiralty-input:not([type=number]), admiralty-textarea',
1516
- host: {
1517
- '(admiraltyChange)': 'handleChangeEvent($event.target.value)'
1518
- },
1519
- providers: [
1520
- {
1521
- provide: NG_VALUE_ACCESSOR,
1522
- useExisting: TextValueAccessor,
1523
- multi: true
1524
- }
1525
- ]
1526
- }]
1527
- }], function () { return [{ type: i0.ElementRef }]; }, null);
1528
- })();
1529
-
1530
- class BooleanValueAccessor extends ValueAccessor {
1531
- constructor(el) {
1532
- super(el);
1533
- }
1534
- writeValue(value) {
1535
- this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
1536
- }
1537
- }
1538
- BooleanValueAccessor.ɵfac = function BooleanValueAccessor_Factory(t) { return new (t || BooleanValueAccessor)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1539
- BooleanValueAccessor.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BooleanValueAccessor, selectors: [["admiralty-checkbox"]], hostBindings: function BooleanValueAccessor_HostBindings(rf, ctx) {
1540
- if (rf & 1) {
1541
- i0.ɵɵlistener("admiraltyChange", function BooleanValueAccessor_admiraltyChange_HostBindingHandler($event) { return ctx.handleChangeEvent($event.target.checked); });
1542
- }
1543
- }, features: [i0.ɵɵProvidersFeature([
1544
- {
1545
- provide: NG_VALUE_ACCESSOR,
1546
- useExisting: BooleanValueAccessor,
1547
- multi: true
1548
- }
1549
- ]), i0.ɵɵInheritDefinitionFeature] });
1550
- (function () {
1551
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BooleanValueAccessor, [{
1552
- type: Directive,
1553
- args: [{
1554
- /* tslint:disable-next-line:directive-selector */
1555
- selector: 'admiralty-checkbox',
1556
- host: {
1557
- '(admiraltyChange)': 'handleChangeEvent($event.target.checked)'
1558
- },
1559
- providers: [
1560
- {
1561
- provide: NG_VALUE_ACCESSOR,
1562
- useExisting: BooleanValueAccessor,
1563
- multi: true
1564
- }
1565
- ]
1566
- }]
1567
- }], function () { return [{ type: i0.ElementRef }]; }, null);
1568
- })();
1569
-
1570
- class NumericValueAccessor extends ValueAccessor {
1571
- constructor(el) {
1572
- super(el);
1573
- }
1574
- registerOnChange(fn) {
1575
- super.registerOnChange(value => {
1576
- fn(value === '' ? null : parseFloat(value));
1577
- });
1578
- }
1579
- }
1580
- NumericValueAccessor.ɵfac = function NumericValueAccessor_Factory(t) { return new (t || NumericValueAccessor)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1581
- NumericValueAccessor.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NumericValueAccessor, selectors: [["admiralty-input", "type", "number"]], hostBindings: function NumericValueAccessor_HostBindings(rf, ctx) {
1582
- if (rf & 1) {
1583
- i0.ɵɵlistener("admiraltyChange", function NumericValueAccessor_admiraltyChange_HostBindingHandler($event) { return ctx.handleChangeEvent($event.target.value); });
1584
- }
1585
- }, features: [i0.ɵɵProvidersFeature([
1586
- {
1587
- provide: NG_VALUE_ACCESSOR,
1588
- useExisting: NumericValueAccessor,
1589
- multi: true
1590
- }
1591
- ]), i0.ɵɵInheritDefinitionFeature] });
1592
- (function () {
1593
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NumericValueAccessor, [{
1594
- type: Directive,
1595
- args: [{
1596
- /* tslint:disable-next-line:directive-selector */
1597
- selector: 'admiralty-input[type=number]',
1598
- host: {
1599
- '(admiraltyChange)': 'handleChangeEvent($event.target.value)'
1600
- },
1601
- providers: [
1602
- {
1603
- provide: NG_VALUE_ACCESSOR,
1604
- useExisting: NumericValueAccessor,
1605
- multi: true
1606
- }
1607
- ]
1608
- }]
1609
- }], function () { return [{ type: i0.ElementRef }]; }, null);
1610
- })();
1611
-
1612
- class RadioValueAccessor extends ValueAccessor {
1613
- constructor(el) {
1614
- super(el);
1615
- }
1616
- }
1617
- RadioValueAccessor.ɵfac = function RadioValueAccessor_Factory(t) { return new (t || RadioValueAccessor)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1618
- RadioValueAccessor.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: RadioValueAccessor, selectors: [["admiralty-radio"]], hostBindings: function RadioValueAccessor_HostBindings(rf, ctx) {
1619
- if (rf & 1) {
1620
- i0.ɵɵlistener("admiraltyRadioChange", function RadioValueAccessor_admiraltyRadioChange_HostBindingHandler($event) { return ctx.handleChangeEvent($event.target.value); });
1621
- }
1622
- }, features: [i0.ɵɵProvidersFeature([
1623
- {
1624
- provide: NG_VALUE_ACCESSOR,
1625
- useExisting: RadioValueAccessor,
1626
- multi: true
1627
- }
1628
- ]), i0.ɵɵInheritDefinitionFeature] });
1629
- (function () {
1630
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RadioValueAccessor, [{
1631
- type: Directive,
1632
- args: [{
1633
- /* tslint:disable-next-line:directive-selector */
1634
- selector: 'admiralty-radio',
1635
- host: {
1636
- '(admiraltyRadioChange)': 'handleChangeEvent($event.target.value)'
1637
- },
1638
- providers: [
1639
- {
1640
- provide: NG_VALUE_ACCESSOR,
1641
- useExisting: RadioValueAccessor,
1642
- multi: true
1643
- }
1644
- ]
1645
- }]
1646
- }], function () { return [{ type: i0.ElementRef }]; }, null);
1647
- })();
1648
-
1649
- class SelectValueAccessor extends ValueAccessor {
1650
- constructor(el) {
1651
- super(el);
1652
- }
1653
- }
1654
- SelectValueAccessor.ɵfac = function SelectValueAccessor_Factory(t) { return new (t || SelectValueAccessor)(i0.ɵɵdirectiveInject(i0.ElementRef)); };
1655
- SelectValueAccessor.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: SelectValueAccessor, selectors: [["admiralty-select"], ["admiralty-radio-group"]], hostBindings: function SelectValueAccessor_HostBindings(rf, ctx) {
1656
- if (rf & 1) {
1657
- i0.ɵɵlistener("admiraltyChange", function SelectValueAccessor_admiraltyChange_HostBindingHandler($event) { return ctx.handleChangeEvent($event.target.value); });
1658
- }
1659
- }, features: [i0.ɵɵProvidersFeature([
1660
- {
1661
- provide: NG_VALUE_ACCESSOR,
1662
- useExisting: SelectValueAccessor,
1663
- multi: true
1664
- }
1665
- ]), i0.ɵɵInheritDefinitionFeature] });
1666
- (function () {
1667
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectValueAccessor, [{
1668
- type: Directive,
1669
- args: [{
1670
- /* tslint:disable-next-line:directive-selector */
1671
- selector: 'admiralty-select, admiralty-radio-group',
1672
- host: {
1673
- '(admiraltyChange)': 'handleChangeEvent($event.target.value)'
1674
- },
1675
- providers: [
1676
- {
1677
- provide: NG_VALUE_ACCESSOR,
1678
- useExisting: SelectValueAccessor,
1679
- multi: true
1680
- }
1681
- ]
1682
- }]
1683
- }], function () { return [{ type: i0.ElementRef }]; }, null);
1684
- })();
1685
-
1686
- class DesignSystemModule {
1687
- static forRoot() {
1688
- return {
1689
- ngModule: DesignSystemModule,
1690
- providers: [
1691
- {
1692
- provide: APP_INITIALIZER,
1693
- useFactory: appInitialise,
1694
- multi: true,
1695
- },
1696
- ],
1697
- };
1698
- }
1699
- }
1700
- DesignSystemModule.ɵfac = function DesignSystemModule_Factory(t) { return new (t || DesignSystemModule)(); };
1701
- DesignSystemModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DesignSystemModule });
1702
- DesignSystemModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule] });
1703
- (function () {
1704
- (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DesignSystemModule, [{
1705
- type: NgModule,
1706
- args: [{
1707
- declarations: [
1708
- ...DIRECTIVES,
1709
- TextValueAccessor,
1710
- BooleanValueAccessor,
1711
- NumericValueAccessor,
1712
- RadioValueAccessor,
1713
- SelectValueAccessor,
1714
- ],
1715
- imports: [CommonModule],
1716
- exports: [
1717
- ...DIRECTIVES,
1718
- TextValueAccessor,
1719
- BooleanValueAccessor,
1720
- NumericValueAccessor,
1721
- RadioValueAccessor,
1722
- SelectValueAccessor,
1723
- ],
1724
- }]
1725
- }], null, null);
1726
- })();
1727
- (function () {
1728
- (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DesignSystemModule, { declarations: [AdmiraltyBreadcrumb, AdmiraltyBreadcrumbs, AdmiraltyButton, AdmiraltyCard, AdmiraltyCheckbox, AdmiraltyColourBlock, AdmiraltyDialogue, AdmiraltyExpansion, AdmiraltyFileInput, AdmiraltyFilter, AdmiraltyFilterGroup, AdmiraltyFooter, AdmiraltyHeader, AdmiraltyHeaderMenuItem, AdmiraltyHeaderProfile, AdmiraltyHeaderSubMenuItem, AdmiraltyHint, AdmiraltyHr, AdmiraltyIcon, AdmiraltyInput, AdmiraltyInputError, AdmiraltyLabel, AdmiraltyLink, AdmiraltyPaginator, AdmiraltyPhaseBanner, AdmiraltyProgressBar, AdmiraltyRadio, AdmiraltyRadioGroup, AdmiraltyReadMore, AdmiraltySelect, AdmiraltySideNav, AdmiraltySideNavItem, AdmiraltyTab, AdmiraltyTabGroup, AdmiraltyTable, AdmiraltyTableBody, AdmiraltyTableCell, AdmiraltyTableHeader, AdmiraltyTableHeaderCell, AdmiraltyTableRow, AdmiraltyTextarea, AdmiraltyTypeAhead, AdmiraltyTypeAheadItem, TextValueAccessor,
1729
- BooleanValueAccessor,
1730
- NumericValueAccessor,
1731
- RadioValueAccessor,
1732
- SelectValueAccessor], imports: [CommonModule], exports: [AdmiraltyBreadcrumb, AdmiraltyBreadcrumbs, AdmiraltyButton, AdmiraltyCard, AdmiraltyCheckbox, AdmiraltyColourBlock, AdmiraltyDialogue, AdmiraltyExpansion, AdmiraltyFileInput, AdmiraltyFilter, AdmiraltyFilterGroup, AdmiraltyFooter, AdmiraltyHeader, AdmiraltyHeaderMenuItem, AdmiraltyHeaderProfile, AdmiraltyHeaderSubMenuItem, AdmiraltyHint, AdmiraltyHr, AdmiraltyIcon, AdmiraltyInput, AdmiraltyInputError, AdmiraltyLabel, AdmiraltyLink, AdmiraltyPaginator, AdmiraltyPhaseBanner, AdmiraltyProgressBar, AdmiraltyRadio, AdmiraltyRadioGroup, AdmiraltyReadMore, AdmiraltySelect, AdmiraltySideNav, AdmiraltySideNavItem, AdmiraltyTab, AdmiraltyTabGroup, AdmiraltyTable, AdmiraltyTableBody, AdmiraltyTableCell, AdmiraltyTableHeader, AdmiraltyTableHeaderCell, AdmiraltyTableRow, AdmiraltyTextarea, AdmiraltyTypeAhead, AdmiraltyTypeAheadItem, TextValueAccessor,
1733
- BooleanValueAccessor,
1734
- NumericValueAccessor,
1735
- RadioValueAccessor,
1736
- SelectValueAccessor] });
1737
- })();
1738
-
1739
- /*
1740
- * Public API Surface of component-library
1741
- */
1742
-
1743
- /**
1744
- * Generated bundle index. Do not edit.
1745
- */
1746
-
1747
- export { AdmiraltyBreadcrumb, AdmiraltyBreadcrumbs, AdmiraltyButton, AdmiraltyCard, AdmiraltyCheckbox, AdmiraltyColourBlock, AdmiraltyDialogue, AdmiraltyExpansion, AdmiraltyFileInput, AdmiraltyFilter, AdmiraltyFilterGroup, AdmiraltyFooter, AdmiraltyHeader, AdmiraltyHeaderMenuItem, AdmiraltyHeaderProfile, AdmiraltyHeaderSubMenuItem, AdmiraltyHint, AdmiraltyHr, AdmiraltyIcon, AdmiraltyInput, AdmiraltyInputError, AdmiraltyLabel, AdmiraltyLink, AdmiraltyPaginator, AdmiraltyPhaseBanner, AdmiraltyProgressBar, AdmiraltyRadio, AdmiraltyRadioGroup, AdmiraltyReadMore, AdmiraltySelect, AdmiraltySideNav, AdmiraltySideNavItem, AdmiraltyTab, AdmiraltyTabGroup, AdmiraltyTable, AdmiraltyTableBody, AdmiraltyTableCell, AdmiraltyTableHeader, AdmiraltyTableHeaderCell, AdmiraltyTableRow, AdmiraltyTextarea, AdmiraltyTypeAhead, AdmiraltyTypeAheadItem, BooleanValueAccessor, DIRECTIVES, DesignSystemModule, NumericValueAccessor, RadioValueAccessor, SelectValueAccessor, TextValueAccessor };
1748
- //# sourceMappingURL=ukho-admiralty-angular.mjs.map