@rijkshuisstijl-community/components-angular 1.0.0 → 1.1.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.
- package/dist/button/button.component.d.ts +1 -2
- package/dist/column-layout/column-layout.component.d.ts +6 -0
- package/dist/fesm2022/rijkshuisstijl-community-components-angular.mjs +437 -7
- package/dist/fesm2022/rijkshuisstijl-community-components-angular.mjs.map +1 -1
- package/dist/figure/figure.component.d.ts +9 -0
- package/dist/figure-caption/figure-caption.component.d.ts +5 -0
- package/dist/form-field/form-field.component.d.ts +12 -0
- package/dist/form-field-description/form-field-description.component.d.ts +9 -0
- package/dist/form-field-error-message/form-field-error-message.component.d.ts +5 -0
- package/dist/form-field-text-input/form-field-text-input.component.d.ts +37 -0
- package/dist/form-label/form-label.component.d.ts +8 -0
- package/dist/image/image.component.d.ts +5 -0
- package/dist/link-list/link-list.component.d.ts +5 -0
- package/dist/link-list-item/link-list-item.component.d.ts +5 -0
- package/dist/link-list-link/link-list-link.component.d.ts +6 -0
- package/dist/logo/logo.component.d.ts +7 -0
- package/dist/navbar/navbar.component.d.ts +6 -0
- package/dist/navbar-item/end-item.directive.d.ts +9 -0
- package/dist/navbar-item/heading-item.directive.d.ts +6 -0
- package/dist/navbar-item/navbar-item.component.d.ts +6 -0
- package/dist/public-api.d.ts +20 -0
- package/dist/text-input/text-input.component.d.ts +9 -0
- package/dist/unordered-list/unordered-list.component.d.ts +6 -0
- package/dist/unordered-list-item/unordered-list-item.component.d.ts +5 -0
- package/package.json +14 -6
- package/.eslintrc.json +0 -5
- package/CHANGELOG.md +0 -15
- package/angular.json +0 -37
- package/jest.config.js +0 -5
- package/ng-package.json +0 -7
- package/setup-jest.ts +0 -3
- package/src/action-group/action-group.component.html +0 -9
- package/src/action-group/action-group.component.spec.ts +0 -46
- package/src/action-group/action-group.component.ts +0 -10
- package/src/button/button.component.html +0 -3
- package/src/button/button.component.spec.ts +0 -41
- package/src/button/button.component.ts +0 -14
- package/src/heading/heading.component.css +0 -1
- package/src/heading/heading.component.html +0 -31
- package/src/heading/heading.component.spec.ts +0 -54
- package/src/heading/heading.component.ts +0 -19
- package/src/icon/RHCIconIDs.ts +0 -1182
- package/src/icon/dutch-map-icon/dutch-map-icon.component.html +0 -6
- package/src/icon/dutch-map-icon/dutch-map-icon.component.ts +0 -8
- package/src/icon/flag-icons/bg-flag/bg-flag.component.html +0 -5
- package/src/icon/flag-icons/bg-flag/bg-flag.component.ts +0 -8
- package/src/icon/flag-icons/de-flag/de-flag.component.html +0 -6
- package/src/icon/flag-icons/de-flag/de-flag.component.ts +0 -8
- package/src/icon/flag-icons/es-flag/es-flag.component.html +0 -2233
- package/src/icon/flag-icons/es-flag/es-flag.component.ts +0 -8
- package/src/icon/flag-icons/fr-flag/fr-flag.component.html +0 -5
- package/src/icon/flag-icons/fr-flag/fr-flag.component.ts +0 -8
- package/src/icon/flag-icons/gr-flag/gr-flag.component.html +0 -4
- package/src/icon/flag-icons/gr-flag/gr-flag.component.ts +0 -8
- package/src/icon/flag-icons/hu-flag/hu-flag.component.html +0 -5
- package/src/icon/flag-icons/hu-flag/hu-flag.component.ts +0 -8
- package/src/icon/flag-icons/it-flag/it-flag.component.html +0 -5
- package/src/icon/flag-icons/it-flag/it-flag.component.ts +0 -8
- package/src/icon/flag-icons/lv-flag/lv-flag.component.html +0 -4
- package/src/icon/flag-icons/lv-flag/lv-flag.component.ts +0 -8
- package/src/icon/flag-icons/nl-flag/nl-flag.component.html +0 -5
- package/src/icon/flag-icons/nl-flag/nl-flag.component.ts +0 -8
- package/src/icon/flag-icons/pl-flag/pl-flag.component.html +0 -4
- package/src/icon/flag-icons/pl-flag/pl-flag.component.ts +0 -8
- package/src/icon/flag-icons/pt-flag/pt-flag.component.html +0 -156
- package/src/icon/flag-icons/pt-flag/pt-flag.component.ts +0 -8
- package/src/icon/flag-icons/ro-flag/ro-flag.component.html +0 -5
- package/src/icon/flag-icons/ro-flag/ro-flag.component.ts +0 -8
- package/src/icon/flag-icons/sk-flag/sk-flag.component.html +0 -34
- package/src/icon/flag-icons/sk-flag/sk-flag.component.ts +0 -8
- package/src/icon/flag-icons/uk-flag/uk-flag.component.html +0 -15
- package/src/icon/flag-icons/uk-flag/uk-flag.component.ts +0 -8
- package/src/icon/icon.component.css +0 -3
- package/src/icon/icon.component.html +0 -6
- package/src/icon/icon.component.spec.ts +0 -61
- package/src/icon/icon.component.ts +0 -105
- package/src/icon/public-api.ts +0 -16
- package/src/link/link.component.css +0 -1
- package/src/link/link.component.html +0 -3
- package/src/link/link.component.spec.ts +0 -33
- package/src/link/link.component.ts +0 -11
- package/src/paragraph/paragraph.component.css +0 -1
- package/src/paragraph/paragraph.component.html +0 -3
- package/src/paragraph/paragraph.component.spec.ts +0 -45
- package/src/paragraph/paragraph.component.ts +0 -23
- package/src/public-api.ts +0 -9
- package/tsconfig.json +0 -28
- package/tsconfig.lib.json +0 -11
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -11
|
@@ -2,7 +2,6 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class ButtonComponent {
|
|
3
3
|
appearance?: '' | 'primary-action' | 'secondary-action' | 'subtle';
|
|
4
4
|
disabled?: boolean;
|
|
5
|
-
computedClasses: () => string;
|
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "rhc-button", never, { "appearance": { "alias": "appearance"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[rhc-button]", never, { "appearance": { "alias": "appearance"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
8
7
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ColumnLayoutComponent {
|
|
3
|
+
rule?: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnLayoutComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnLayoutComponent, "rhc-column-layout", never, { "rule": { "alias": "rule"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
6
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i1 from '@angular/common';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { CommonModule, NgClass } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Input, Component } from '@angular/core';
|
|
4
|
+
import { Input, Component, forwardRef, HostBinding, Directive } from '@angular/core';
|
|
5
5
|
import { TablerIconComponent, provideTablerIcons } from 'angular-tabler-icons';
|
|
6
6
|
import * as TablerIcons from 'angular-tabler-icons/icons';
|
|
7
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
7
8
|
|
|
8
9
|
const headingLevels = [1, 2, 3, 4, 5];
|
|
9
10
|
class HeadingComponent {
|
|
@@ -61,13 +62,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
61
62
|
class ButtonComponent {
|
|
62
63
|
appearance = '';
|
|
63
64
|
disabled = false;
|
|
64
|
-
computedClasses = () => `utrecht-button utrecht-button--${this.appearance}`;
|
|
65
65
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: ButtonComponent, isStandalone: true, selector: "rhc-button", inputs: { appearance: "appearance", disabled: "disabled" },
|
|
66
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: ButtonComponent, isStandalone: true, selector: "button[rhc-button]", inputs: { appearance: "appearance", disabled: "disabled" }, host: { properties: { "class.utrecht-button": "true", "class.utrecht-button--primary-action": "appearance === \"primary-action\"", "class.utrecht-button--secondary-action": "appearance === \"secondary-action\"", "class.utrecht-button--subtle-action": "appearance === \"subtle\"", "attr.disabled": "disabled ? \"disabled\" : null" } }, ngImport: i0, template: "<ng-content></ng-content>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
67
67
|
}
|
|
68
68
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
|
-
args: [{ selector: 'rhc-button', imports: [CommonModule],
|
|
70
|
+
args: [{ selector: 'button[rhc-button]', imports: [CommonModule], host: {
|
|
71
|
+
'[class.utrecht-button]': 'true',
|
|
72
|
+
'[class.utrecht-button--primary-action]': 'appearance === "primary-action"',
|
|
73
|
+
'[class.utrecht-button--secondary-action]': 'appearance === "secondary-action"',
|
|
74
|
+
'[class.utrecht-button--subtle-action]': 'appearance === "subtle"',
|
|
75
|
+
'[attr.disabled]': 'disabled ? "disabled" : null',
|
|
76
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
71
77
|
}], propDecorators: { appearance: [{
|
|
72
78
|
type: Input
|
|
73
79
|
}], disabled: [{
|
|
@@ -86,6 +92,56 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
86
92
|
type: Input
|
|
87
93
|
}] } });
|
|
88
94
|
|
|
95
|
+
class ImageComponent {
|
|
96
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ImageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
97
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: ImageComponent, isStandalone: true, selector: "img[rhc-image]", host: { properties: { "class.utrecht-image": "true", "class.utrecht-image--photo": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
98
|
+
}
|
|
99
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ImageComponent, decorators: [{
|
|
100
|
+
type: Component,
|
|
101
|
+
args: [{ selector: 'img[rhc-image]', imports: [], host: {
|
|
102
|
+
'[class.utrecht-image]': 'true',
|
|
103
|
+
'[class.utrecht-image--photo]': 'true',
|
|
104
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
105
|
+
}] });
|
|
106
|
+
|
|
107
|
+
class FigureComponent {
|
|
108
|
+
borderEndEndRadius;
|
|
109
|
+
borderEndStartRadius;
|
|
110
|
+
borderStartEndRadius;
|
|
111
|
+
borderStartStartRadius;
|
|
112
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FigureComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
113
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: FigureComponent, isStandalone: true, selector: "figure[rhc-figure]", inputs: { borderEndEndRadius: "borderEndEndRadius", borderEndStartRadius: "borderEndStartRadius", borderStartEndRadius: "borderStartEndRadius", borderStartStartRadius: "borderStartStartRadius" }, host: { properties: { "class.utrecht-figure": "true", "style.--utrecht-figure-img-border-end-end-radius": "borderEndEndRadius ? borderEndEndRadius + \"px\" : null", "style.--utrecht-figure-img-border-end-start-radius": "borderEndStartRadius ? borderEndStartRadius + \"px\" : null", "style.--utrecht-figure-img-border-start-end-radius": "borderStartEndRadius ? borderStartEndRadius + \"px\" : null", "style.--utrecht-figure-img-border-start-start-radius": "borderStartStartRadius ? borderStartStartRadius + \"px\" : null" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
114
|
+
}
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FigureComponent, decorators: [{
|
|
116
|
+
type: Component,
|
|
117
|
+
args: [{ selector: 'figure[rhc-figure]', imports: [], host: {
|
|
118
|
+
'[class.utrecht-figure]': 'true',
|
|
119
|
+
'[style.--utrecht-figure-img-border-end-end-radius]': 'borderEndEndRadius ? borderEndEndRadius + "px" : null',
|
|
120
|
+
'[style.--utrecht-figure-img-border-end-start-radius]': 'borderEndStartRadius ? borderEndStartRadius + "px" : null',
|
|
121
|
+
'[style.--utrecht-figure-img-border-start-end-radius]': 'borderStartEndRadius ? borderStartEndRadius + "px" : null',
|
|
122
|
+
'[style.--utrecht-figure-img-border-start-start-radius]': 'borderStartStartRadius ? borderStartStartRadius + "px" : null',
|
|
123
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
124
|
+
}], propDecorators: { borderEndEndRadius: [{
|
|
125
|
+
type: Input
|
|
126
|
+
}], borderEndStartRadius: [{
|
|
127
|
+
type: Input
|
|
128
|
+
}], borderStartEndRadius: [{
|
|
129
|
+
type: Input
|
|
130
|
+
}], borderStartStartRadius: [{
|
|
131
|
+
type: Input
|
|
132
|
+
}] } });
|
|
133
|
+
|
|
134
|
+
class FigureCaptionComponent {
|
|
135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FigureCaptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: FigureCaptionComponent, isStandalone: true, selector: "figcaption[rhc-figure-caption]", host: { properties: { "class.utrecht-figure__caption": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
137
|
+
}
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FigureCaptionComponent, decorators: [{
|
|
139
|
+
type: Component,
|
|
140
|
+
args: [{ selector: 'figcaption[rhc-figure-caption]', imports: [], host: {
|
|
141
|
+
'[class.utrecht-figure__caption]': 'true',
|
|
142
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
143
|
+
}] });
|
|
144
|
+
|
|
89
145
|
class BgFlagComponent {
|
|
90
146
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: BgFlagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
91
147
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: BgFlagComponent, isStandalone: true, selector: "rhc-bg-flag", ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1000\" height=\"600\" viewBox=\"0 0 5 3\">\n <rect width=\"5\" height=\"3\" fill=\"#fff\" />\n <rect width=\"5\" height=\"2\" y=\"1\" fill=\"#00966E\" />\n <rect width=\"5\" height=\"1\" y=\"2\" fill=\"#D62612\" />\n</svg>\n" });
|
|
@@ -272,7 +328,6 @@ class IconComponent {
|
|
|
272
328
|
mail: 'mail',
|
|
273
329
|
meer: 'dots-vertical',
|
|
274
330
|
menu: 'menu-2',
|
|
275
|
-
'nederland-map': 'dutch-map-icon',
|
|
276
331
|
nieuws: 'news',
|
|
277
332
|
paperclip: 'paperclip',
|
|
278
333
|
'permanent-beta': 'backhoe',
|
|
@@ -323,6 +378,381 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
323
378
|
args: [{ required: false }]
|
|
324
379
|
}] } });
|
|
325
380
|
|
|
381
|
+
class UnorderedListComponent {
|
|
382
|
+
nested = false;
|
|
383
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UnorderedListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
384
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: UnorderedListComponent, isStandalone: true, selector: "ul[rhc-unordered-list]", inputs: { nested: "nested" }, host: { properties: { "class.utrecht-unordered-list": "true", "class.utrecht-unordered-list--nested": "nested" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
385
|
+
}
|
|
386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UnorderedListComponent, decorators: [{
|
|
387
|
+
type: Component,
|
|
388
|
+
args: [{ selector: 'ul[rhc-unordered-list]', imports: [], host: {
|
|
389
|
+
'[class.utrecht-unordered-list]': 'true',
|
|
390
|
+
'[class.utrecht-unordered-list--nested]': 'nested',
|
|
391
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
392
|
+
}], propDecorators: { nested: [{
|
|
393
|
+
type: Input
|
|
394
|
+
}] } });
|
|
395
|
+
|
|
396
|
+
class UnorderedListItemComponent {
|
|
397
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UnorderedListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
398
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: UnorderedListItemComponent, isStandalone: true, selector: "li[rhc-unordered-list-item]", host: { properties: { "class.utrecht-unordered-list__item": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
399
|
+
}
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: UnorderedListItemComponent, decorators: [{
|
|
401
|
+
type: Component,
|
|
402
|
+
args: [{ selector: 'li[rhc-unordered-list-item]', imports: [], host: {
|
|
403
|
+
'[class.utrecht-unordered-list__item]': 'true',
|
|
404
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
405
|
+
}] });
|
|
406
|
+
|
|
407
|
+
class ColumnLayoutComponent {
|
|
408
|
+
rule = false;
|
|
409
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ColumnLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
410
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: ColumnLayoutComponent, isStandalone: true, selector: "rhc-column-layout", inputs: { rule: "rule" }, ngImport: i0, template: "<div\n [class]=\"{\n 'utrecht-column-layout': true,\n 'utrecht-column-layout--rule': rule,\n }\"\n>\n <ng-content></ng-content>\n</div>\n" });
|
|
411
|
+
}
|
|
412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: ColumnLayoutComponent, decorators: [{
|
|
413
|
+
type: Component,
|
|
414
|
+
args: [{ selector: 'rhc-column-layout', imports: [], template: "<div\n [class]=\"{\n 'utrecht-column-layout': true,\n 'utrecht-column-layout--rule': rule,\n }\"\n>\n <ng-content></ng-content>\n</div>\n" }]
|
|
415
|
+
}], propDecorators: { rule: [{
|
|
416
|
+
type: Input
|
|
417
|
+
}] } });
|
|
418
|
+
|
|
419
|
+
class LogoComponent {
|
|
420
|
+
organisation;
|
|
421
|
+
subtitle;
|
|
422
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LogoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
423
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: LogoComponent, isStandalone: true, selector: "figure[rhc-logo]", inputs: { organisation: "organisation", subtitle: "subtitle" }, host: { properties: { "class.rhc-logo": "true" } }, ngImport: i0, template: "<div class=\"rhc-logo__image\">\n <ng-content></ng-content>\n</div>\n<figcaption class=\"rhc-logo__caption\">\n <p class=\"rhc-logo__title\">{{ organisation }}</p>\n @if (subtitle) {\n <p class=\"rhc-logo__subtitle\">{{ subtitle }}</p>\n }\n</figcaption>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
424
|
+
}
|
|
425
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LogoComponent, decorators: [{
|
|
426
|
+
type: Component,
|
|
427
|
+
args: [{ selector: 'figure[rhc-logo]', imports: [CommonModule], host: { '[class.rhc-logo]': 'true' }, template: "<div class=\"rhc-logo__image\">\n <ng-content></ng-content>\n</div>\n<figcaption class=\"rhc-logo__caption\">\n <p class=\"rhc-logo__title\">{{ organisation }}</p>\n @if (subtitle) {\n <p class=\"rhc-logo__subtitle\">{{ subtitle }}</p>\n }\n</figcaption>\n" }]
|
|
428
|
+
}], propDecorators: { organisation: [{
|
|
429
|
+
type: Input,
|
|
430
|
+
args: [{ required: true }]
|
|
431
|
+
}], subtitle: [{
|
|
432
|
+
type: Input,
|
|
433
|
+
args: [{ required: false }]
|
|
434
|
+
}] } });
|
|
435
|
+
|
|
436
|
+
class FormFieldComponent {
|
|
437
|
+
type;
|
|
438
|
+
class;
|
|
439
|
+
invalid = false;
|
|
440
|
+
showInput = true;
|
|
441
|
+
showLabel = true;
|
|
442
|
+
showDescription = false;
|
|
443
|
+
constructor() { }
|
|
444
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
445
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: FormFieldComponent, isStandalone: true, selector: "rhc-form-field", inputs: { type: "type", class: "class", invalid: "invalid", showInput: "showInput", showLabel: "showLabel", showDescription: "showDescription" }, ngImport: i0, template: "<div\n [ngClass]=\"{\n 'utrecht-form-field': true,\n 'utrecht-form-field--invalid': invalid,\n 'utrecht-form-field--checkbox': type === 'checkbox',\n 'utrecht-form-field--radio': type === 'radio',\n 'utrecht-form-field--text': type === 'text',\n }\"\n [class]=\"class\"\n>\n @if (showLabel) {\n <div class=\"utrecht-form-field__label\">\n <ng-content select=\"[rhc-form-label]\"></ng-content>\n </div>\n }\n\n @if (showDescription) {\n <div class=\"utrecht-form-field__description\">\n <ng-content select=\"rhc-form-field-description\"></ng-content>\n </div>\n }\n\n @if (invalid) {\n <div class=\"utrecht-form-field__error-message\">\n <ng-content select=\"rhc-form-field-error-message\"></ng-content>\n </div>\n }\n\n @if (showInput) {\n <div class=\"utrecht-form-field__input\">\n <ng-content select=\"[rhc-text-input]\"></ng-content>\n </div>\n }\n\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
446
|
+
}
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldComponent, decorators: [{
|
|
448
|
+
type: Component,
|
|
449
|
+
args: [{ selector: 'rhc-form-field', imports: [NgClass], template: "<div\n [ngClass]=\"{\n 'utrecht-form-field': true,\n 'utrecht-form-field--invalid': invalid,\n 'utrecht-form-field--checkbox': type === 'checkbox',\n 'utrecht-form-field--radio': type === 'radio',\n 'utrecht-form-field--text': type === 'text',\n }\"\n [class]=\"class\"\n>\n @if (showLabel) {\n <div class=\"utrecht-form-field__label\">\n <ng-content select=\"[rhc-form-label]\"></ng-content>\n </div>\n }\n\n @if (showDescription) {\n <div class=\"utrecht-form-field__description\">\n <ng-content select=\"rhc-form-field-description\"></ng-content>\n </div>\n }\n\n @if (invalid) {\n <div class=\"utrecht-form-field__error-message\">\n <ng-content select=\"rhc-form-field-error-message\"></ng-content>\n </div>\n }\n\n @if (showInput) {\n <div class=\"utrecht-form-field__input\">\n <ng-content select=\"[rhc-text-input]\"></ng-content>\n </div>\n }\n\n <ng-content></ng-content>\n</div>\n" }]
|
|
450
|
+
}], ctorParameters: () => [], propDecorators: { type: [{
|
|
451
|
+
type: Input
|
|
452
|
+
}], class: [{
|
|
453
|
+
type: Input
|
|
454
|
+
}], invalid: [{
|
|
455
|
+
type: Input
|
|
456
|
+
}], showInput: [{
|
|
457
|
+
type: Input
|
|
458
|
+
}], showLabel: [{
|
|
459
|
+
type: Input
|
|
460
|
+
}], showDescription: [{
|
|
461
|
+
type: Input
|
|
462
|
+
}] } });
|
|
463
|
+
|
|
464
|
+
class FormFieldDescriptionComponent {
|
|
465
|
+
invalid = false;
|
|
466
|
+
valid = false;
|
|
467
|
+
warning = false;
|
|
468
|
+
class;
|
|
469
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
470
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: FormFieldDescriptionComponent, isStandalone: true, selector: "rhc-form-field-description", inputs: { invalid: "invalid", valid: "valid", warning: "warning", class: "class" }, ngImport: i0, template: "<div\n [ngClass]=\"{\n 'utrecht-form-field-description': true,\n 'utrecht-form-field-description--invalid': invalid,\n 'utrecht-form-field-description--valid': valid,\n 'utrecht-form-field-description--warning': warning,\n }\"\n [class]=\"class\"\n>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
471
|
+
}
|
|
472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldDescriptionComponent, decorators: [{
|
|
473
|
+
type: Component,
|
|
474
|
+
args: [{ selector: 'rhc-form-field-description', imports: [NgClass], template: "<div\n [ngClass]=\"{\n 'utrecht-form-field-description': true,\n 'utrecht-form-field-description--invalid': invalid,\n 'utrecht-form-field-description--valid': valid,\n 'utrecht-form-field-description--warning': warning,\n }\"\n [class]=\"class\"\n>\n <ng-content></ng-content>\n</div>\n" }]
|
|
475
|
+
}], propDecorators: { invalid: [{
|
|
476
|
+
type: Input
|
|
477
|
+
}], valid: [{
|
|
478
|
+
type: Input
|
|
479
|
+
}], warning: [{
|
|
480
|
+
type: Input
|
|
481
|
+
}], class: [{
|
|
482
|
+
type: Input
|
|
483
|
+
}] } });
|
|
484
|
+
|
|
485
|
+
class FormFieldErrorMessageComponent {
|
|
486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
487
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: FormFieldErrorMessageComponent, isStandalone: true, selector: "rhc-form-field-error-message", ngImport: i0, template: "<div class=\"utrecht-form-field-error-message\">\n <span class=\"utrecht-form-field-error-message--icon-container\">\n <rhc-icon icon=\"alert-circle\" class=\"utrecht-form-field-error-message--icon-container-icon\" />\n <ng-content></ng-content>\n </span>\n</div>\n", dependencies: [{ kind: "component", type: IconComponent, selector: "rhc-icon", inputs: ["icon"] }] });
|
|
488
|
+
}
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldErrorMessageComponent, decorators: [{
|
|
490
|
+
type: Component,
|
|
491
|
+
args: [{ selector: 'rhc-form-field-error-message', imports: [IconComponent], template: "<div class=\"utrecht-form-field-error-message\">\n <span class=\"utrecht-form-field-error-message--icon-container\">\n <rhc-icon icon=\"alert-circle\" class=\"utrecht-form-field-error-message--icon-container-icon\" />\n <ng-content></ng-content>\n </span>\n</div>\n" }]
|
|
492
|
+
}] });
|
|
493
|
+
|
|
494
|
+
class FormLabelComponent {
|
|
495
|
+
disabled = false;
|
|
496
|
+
checked = false;
|
|
497
|
+
type;
|
|
498
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
499
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: FormLabelComponent, isStandalone: true, selector: "label[rhc-form-label]", inputs: { disabled: "disabled", checked: "checked", type: "type" }, host: { properties: { "class.utrecht-form-label": "true", "class.utrecht-form-label--disabled": "disabled", "class.utrecht-form-label--checked": "checked", "class.utrecht-form-label--radio": "type === \"radio\"", "class.utrecht-form-label--checkbox": "type === \"checkbox\"" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
500
|
+
}
|
|
501
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormLabelComponent, decorators: [{
|
|
502
|
+
type: Component,
|
|
503
|
+
args: [{ selector: 'label[rhc-form-label]', imports: [], host: {
|
|
504
|
+
'[class.utrecht-form-label]': 'true',
|
|
505
|
+
'[class.utrecht-form-label--disabled]': 'disabled',
|
|
506
|
+
'[class.utrecht-form-label--checked]': 'checked',
|
|
507
|
+
'[class.utrecht-form-label--radio]': 'type === "radio"',
|
|
508
|
+
'[class.utrecht-form-label--checkbox]': 'type === "checkbox"',
|
|
509
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
510
|
+
}], propDecorators: { disabled: [{
|
|
511
|
+
type: Input
|
|
512
|
+
}], checked: [{
|
|
513
|
+
type: Input
|
|
514
|
+
}], type: [{
|
|
515
|
+
type: Input
|
|
516
|
+
}] } });
|
|
517
|
+
|
|
518
|
+
class TextInputComponent {
|
|
519
|
+
disabled = false;
|
|
520
|
+
invalid = false;
|
|
521
|
+
required = false;
|
|
522
|
+
readonly = false;
|
|
523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
524
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: TextInputComponent, isStandalone: true, selector: "input[rhc-text-input]", inputs: { disabled: "disabled", invalid: "invalid", required: "required", readonly: "readonly" }, host: { properties: { "class.utrecht-textbox": "true", "class.utrecht-textbox--html-input": "true", "class.utrecht-textbox--disabled": "disabled", "class.utrecht-textbox--invalid": "invalid", "class.utrecht-textbox--readonly": "readonly", "class.utrecht-textbox--required": "required", "attr.aria-invalid": "invalid || undefined", "attr.disabled": "disabled ? \"disabled\": null", "attr.required": "required ? \"required\": null", "attr.readonly": "readonly ? \"readonly\" : null" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
525
|
+
}
|
|
526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: TextInputComponent, decorators: [{
|
|
527
|
+
type: Component,
|
|
528
|
+
args: [{ selector: 'input[rhc-text-input]', imports: [], host: {
|
|
529
|
+
'[class.utrecht-textbox]': 'true',
|
|
530
|
+
'[class.utrecht-textbox--html-input]': 'true',
|
|
531
|
+
'[class.utrecht-textbox--disabled]': 'disabled',
|
|
532
|
+
'[class.utrecht-textbox--invalid]': 'invalid',
|
|
533
|
+
'[class.utrecht-textbox--readonly]': 'readonly',
|
|
534
|
+
'[class.utrecht-textbox--required]': 'required',
|
|
535
|
+
'[attr.aria-invalid]': 'invalid || undefined',
|
|
536
|
+
'[attr.disabled]': 'disabled ? "disabled": null',
|
|
537
|
+
'[attr.required]': 'required ? "required": null',
|
|
538
|
+
'[attr.readonly]': 'readonly ? "readonly" : null',
|
|
539
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
540
|
+
}], propDecorators: { disabled: [{
|
|
541
|
+
type: Input
|
|
542
|
+
}], invalid: [{
|
|
543
|
+
type: Input
|
|
544
|
+
}], required: [{
|
|
545
|
+
type: Input
|
|
546
|
+
}], readonly: [{
|
|
547
|
+
type: Input
|
|
548
|
+
}] } });
|
|
549
|
+
|
|
550
|
+
class FormFieldTextInputComponent {
|
|
551
|
+
invalid = false;
|
|
552
|
+
showDescription = false;
|
|
553
|
+
label;
|
|
554
|
+
errorMessage;
|
|
555
|
+
description;
|
|
556
|
+
status;
|
|
557
|
+
required = false;
|
|
558
|
+
readonly = false;
|
|
559
|
+
dir = 'auto';
|
|
560
|
+
name;
|
|
561
|
+
autocomplete;
|
|
562
|
+
placeholder;
|
|
563
|
+
size;
|
|
564
|
+
minLength;
|
|
565
|
+
maxLength;
|
|
566
|
+
min;
|
|
567
|
+
max;
|
|
568
|
+
step;
|
|
569
|
+
type = 'text';
|
|
570
|
+
inputId;
|
|
571
|
+
value = '';
|
|
572
|
+
disabled = false;
|
|
573
|
+
onChange = () => { };
|
|
574
|
+
onTouched = () => { };
|
|
575
|
+
onValueChange(event) {
|
|
576
|
+
const value = event.target.value;
|
|
577
|
+
this.value = value;
|
|
578
|
+
this.onChange(value);
|
|
579
|
+
}
|
|
580
|
+
markAsTouched() {
|
|
581
|
+
this.onTouched();
|
|
582
|
+
}
|
|
583
|
+
writeValue(value) {
|
|
584
|
+
this.value = value;
|
|
585
|
+
}
|
|
586
|
+
// eslint-disable-next-line no-unused-vars
|
|
587
|
+
registerOnChange(fn) {
|
|
588
|
+
this.onChange = fn;
|
|
589
|
+
}
|
|
590
|
+
registerOnTouched(fn) {
|
|
591
|
+
this.onTouched = fn;
|
|
592
|
+
}
|
|
593
|
+
setDisabledState(isDisabled) {
|
|
594
|
+
this.disabled = isDisabled;
|
|
595
|
+
}
|
|
596
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldTextInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
597
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: FormFieldTextInputComponent, isStandalone: true, selector: "rhc-form-field-text-input", inputs: { invalid: "invalid", showDescription: "showDescription", label: "label", errorMessage: "errorMessage", description: "description", status: "status", required: "required", readonly: "readonly", dir: "dir", name: "name", autocomplete: "autocomplete", placeholder: "placeholder", size: "size", minLength: "minLength", maxLength: "maxLength", min: "min", max: "max", step: "step", type: "type", inputId: "inputId" }, providers: [
|
|
598
|
+
{
|
|
599
|
+
provide: NG_VALUE_ACCESSOR,
|
|
600
|
+
useExisting: forwardRef(() => FormFieldTextInputComponent),
|
|
601
|
+
multi: true,
|
|
602
|
+
},
|
|
603
|
+
], ngImport: i0, template: "<rhc-form-field\n type=\"text\"\n [invalid]=\"invalid\"\n [showDescription]=\"showDescription\"\n [showInput]=\"true\"\n [showLabel]=\"true\"\n [dir]=\"dir\"\n>\n <label rhc-form-label [for]=\"inputId\">{{ label }}</label>\n <rhc-form-field-description>{{ description }}</rhc-form-field-description>\n <rhc-form-field-error-message>{{ errorMessage }}</rhc-form-field-error-message>\n <input\n rhc-text-input\n (input)=\"onValueChange($event)\"\n (blur)=\"markAsTouched()\"\n [id]=\"inputId\"\n [value]=\"value\"\n [invalid]=\"invalid\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [attr.dir]=\"dir\"\n [attr.name]=\"name\"\n [attr.autocomplete]=\"autocomplete\"\n [attr.placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [attr.minlength]=\"minLength\"\n [attr.maxlength]=\"maxLength\"\n [attr.min]=\"min\"\n [attr.max]=\"max\"\n [attr.step]=\"step\"\n [attr.type]=\"type\"\n />\n @if (status) {\n <div class=\"utrecht-form-field__status\">\n {{ status }}\n </div>\n }\n</rhc-form-field>\n", dependencies: [{ kind: "component", type: FormFieldComponent, selector: "rhc-form-field", inputs: ["type", "class", "invalid", "showInput", "showLabel", "showDescription"] }, { kind: "component", type: FormLabelComponent, selector: "label[rhc-form-label]", inputs: ["disabled", "checked", "type"] }, { kind: "component", type: TextInputComponent, selector: "input[rhc-text-input]", inputs: ["disabled", "invalid", "required", "readonly"] }, { kind: "component", type: FormFieldErrorMessageComponent, selector: "rhc-form-field-error-message" }, { kind: "component", type: FormFieldDescriptionComponent, selector: "rhc-form-field-description", inputs: ["invalid", "valid", "warning", "class"] }] });
|
|
604
|
+
}
|
|
605
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: FormFieldTextInputComponent, decorators: [{
|
|
606
|
+
type: Component,
|
|
607
|
+
args: [{ selector: 'rhc-form-field-text-input', imports: [
|
|
608
|
+
FormFieldComponent,
|
|
609
|
+
FormLabelComponent,
|
|
610
|
+
TextInputComponent,
|
|
611
|
+
FormFieldErrorMessageComponent,
|
|
612
|
+
FormFieldDescriptionComponent,
|
|
613
|
+
], providers: [
|
|
614
|
+
{
|
|
615
|
+
provide: NG_VALUE_ACCESSOR,
|
|
616
|
+
useExisting: forwardRef(() => FormFieldTextInputComponent),
|
|
617
|
+
multi: true,
|
|
618
|
+
},
|
|
619
|
+
], template: "<rhc-form-field\n type=\"text\"\n [invalid]=\"invalid\"\n [showDescription]=\"showDescription\"\n [showInput]=\"true\"\n [showLabel]=\"true\"\n [dir]=\"dir\"\n>\n <label rhc-form-label [for]=\"inputId\">{{ label }}</label>\n <rhc-form-field-description>{{ description }}</rhc-form-field-description>\n <rhc-form-field-error-message>{{ errorMessage }}</rhc-form-field-error-message>\n <input\n rhc-text-input\n (input)=\"onValueChange($event)\"\n (blur)=\"markAsTouched()\"\n [id]=\"inputId\"\n [value]=\"value\"\n [invalid]=\"invalid\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [required]=\"required\"\n [attr.dir]=\"dir\"\n [attr.name]=\"name\"\n [attr.autocomplete]=\"autocomplete\"\n [attr.placeholder]=\"placeholder\"\n [attr.size]=\"size\"\n [attr.minlength]=\"minLength\"\n [attr.maxlength]=\"maxLength\"\n [attr.min]=\"min\"\n [attr.max]=\"max\"\n [attr.step]=\"step\"\n [attr.type]=\"type\"\n />\n @if (status) {\n <div class=\"utrecht-form-field__status\">\n {{ status }}\n </div>\n }\n</rhc-form-field>\n" }]
|
|
620
|
+
}], propDecorators: { invalid: [{
|
|
621
|
+
type: Input
|
|
622
|
+
}], showDescription: [{
|
|
623
|
+
type: Input
|
|
624
|
+
}], label: [{
|
|
625
|
+
type: Input
|
|
626
|
+
}], errorMessage: [{
|
|
627
|
+
type: Input
|
|
628
|
+
}], description: [{
|
|
629
|
+
type: Input
|
|
630
|
+
}], status: [{
|
|
631
|
+
type: Input
|
|
632
|
+
}], required: [{
|
|
633
|
+
type: Input
|
|
634
|
+
}], readonly: [{
|
|
635
|
+
type: Input
|
|
636
|
+
}], dir: [{
|
|
637
|
+
type: Input
|
|
638
|
+
}], name: [{
|
|
639
|
+
type: Input
|
|
640
|
+
}], autocomplete: [{
|
|
641
|
+
type: Input
|
|
642
|
+
}], placeholder: [{
|
|
643
|
+
type: Input
|
|
644
|
+
}], size: [{
|
|
645
|
+
type: Input
|
|
646
|
+
}], minLength: [{
|
|
647
|
+
type: Input
|
|
648
|
+
}], maxLength: [{
|
|
649
|
+
type: Input
|
|
650
|
+
}], min: [{
|
|
651
|
+
type: Input
|
|
652
|
+
}], max: [{
|
|
653
|
+
type: Input
|
|
654
|
+
}], step: [{
|
|
655
|
+
type: Input
|
|
656
|
+
}], type: [{
|
|
657
|
+
type: Input
|
|
658
|
+
}], inputId: [{
|
|
659
|
+
type: Input,
|
|
660
|
+
args: [{ required: true }]
|
|
661
|
+
}] } });
|
|
662
|
+
|
|
663
|
+
class LinkListLinkComponent {
|
|
664
|
+
href;
|
|
665
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LinkListLinkComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
666
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: LinkListLinkComponent, isStandalone: true, selector: "a[rhc-link-list-link]", inputs: { href: "href" }, host: { properties: { "class.utrecht-link-list__link": "true", "class.nl-link": "true" } }, ngImport: i0, template: "<ng-content select=\"[icon]\"></ng-content>\n<span class=\"utrecht-link-list__link-text\">\n <ng-content></ng-content>\n</span>\n" });
|
|
667
|
+
}
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LinkListLinkComponent, decorators: [{
|
|
669
|
+
type: Component,
|
|
670
|
+
args: [{ selector: 'a[rhc-link-list-link]', imports: [], host: {
|
|
671
|
+
'[class.utrecht-link-list__link]': 'true',
|
|
672
|
+
'[class.nl-link]': 'true',
|
|
673
|
+
}, template: "<ng-content select=\"[icon]\"></ng-content>\n<span class=\"utrecht-link-list__link-text\">\n <ng-content></ng-content>\n</span>\n" }]
|
|
674
|
+
}], propDecorators: { href: [{
|
|
675
|
+
type: Input,
|
|
676
|
+
args: [{ required: true }]
|
|
677
|
+
}] } });
|
|
678
|
+
|
|
679
|
+
class LinkListComponent {
|
|
680
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LinkListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
681
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: LinkListComponent, isStandalone: true, selector: "rhc-link-list", ngImport: i0, template: "<ul class=\"utrecht-link-list utrecht-link-list--html-ul\">\n <ng-content></ng-content>\n</ul>\n" });
|
|
682
|
+
}
|
|
683
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LinkListComponent, decorators: [{
|
|
684
|
+
type: Component,
|
|
685
|
+
args: [{ selector: 'rhc-link-list', imports: [], template: "<ul class=\"utrecht-link-list utrecht-link-list--html-ul\">\n <ng-content></ng-content>\n</ul>\n" }]
|
|
686
|
+
}] });
|
|
687
|
+
|
|
688
|
+
class LinkListItemComponent {
|
|
689
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LinkListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
690
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: LinkListItemComponent, isStandalone: true, selector: "li[rhc-link-list-item]", host: { properties: { "class.utrecht-link-list__item": "true" } }, ngImport: i0, template: "<ng-content></ng-content>\n" });
|
|
691
|
+
}
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: LinkListItemComponent, decorators: [{
|
|
693
|
+
type: Component,
|
|
694
|
+
args: [{ selector: 'li[rhc-link-list-item]', imports: [], host: {
|
|
695
|
+
'[class.utrecht-link-list__item]': 'true',
|
|
696
|
+
}, template: "<ng-content></ng-content>\n" }]
|
|
697
|
+
}] });
|
|
698
|
+
|
|
699
|
+
class NavbarComponent {
|
|
700
|
+
showEndItems = false;
|
|
701
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NavbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
702
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.0", type: NavbarComponent, isStandalone: true, selector: "rhc-navbar", inputs: { showEndItems: "showEndItems" }, ngImport: i0, template: "<div class=\"rhc-nav-bar__container\">\n <nav class=\"rhc-nav-bar\">\n <ul class=\"rhc-nav-bar__list\">\n <ng-content select=\"[rhc-navbar-item][rhcHeadingItem]\"></ng-content>\n <ng-content select=\"[rhc-navbar-item]:not([rhcEndItem])\"></ng-content>\n </ul>\n @if (showEndItems) {\n <ul class=\"rhc-nav-bar__list rhc-nav-bar__list--end\">\n <ng-content select=\"[rhc-navbar-item][rhcEndItem]\"></ng-content>\n </ul>\n }\n <ng-content></ng-content>\n </nav>\n</div>\n" });
|
|
703
|
+
}
|
|
704
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NavbarComponent, decorators: [{
|
|
705
|
+
type: Component,
|
|
706
|
+
args: [{ selector: 'rhc-navbar', imports: [], template: "<div class=\"rhc-nav-bar__container\">\n <nav class=\"rhc-nav-bar\">\n <ul class=\"rhc-nav-bar__list\">\n <ng-content select=\"[rhc-navbar-item][rhcHeadingItem]\"></ng-content>\n <ng-content select=\"[rhc-navbar-item]:not([rhcEndItem])\"></ng-content>\n </ul>\n @if (showEndItems) {\n <ul class=\"rhc-nav-bar__list rhc-nav-bar__list--end\">\n <ng-content select=\"[rhc-navbar-item][rhcEndItem]\"></ng-content>\n </ul>\n }\n <ng-content></ng-content>\n </nav>\n</div>\n" }]
|
|
707
|
+
}], propDecorators: { showEndItems: [{
|
|
708
|
+
type: Input
|
|
709
|
+
}] } });
|
|
710
|
+
|
|
711
|
+
class NavbarItemComponent {
|
|
712
|
+
href;
|
|
713
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NavbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
714
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.0", type: NavbarItemComponent, isStandalone: true, selector: "li[rhc-navbar-item]", inputs: { href: "href" }, host: { properties: { "class.rhc-nav-bar__item": "true" } }, ngImport: i0, template: "<a [href]=\"href\" class=\"nl-link rhc-nav-bar__link\">\n <ng-content select=\"[icon]\"></ng-content>\n <span class=\"rhc-nav-bar__label\">\n <ng-content></ng-content>\n </span>\n</a>\n" });
|
|
715
|
+
}
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: NavbarItemComponent, decorators: [{
|
|
717
|
+
type: Component,
|
|
718
|
+
args: [{ selector: 'li[rhc-navbar-item]', imports: [], host: {
|
|
719
|
+
'[class.rhc-nav-bar__item]': 'true',
|
|
720
|
+
}, template: "<a [href]=\"href\" class=\"nl-link rhc-nav-bar__link\">\n <ng-content select=\"[icon]\"></ng-content>\n <span class=\"rhc-nav-bar__label\">\n <ng-content></ng-content>\n </span>\n</a>\n" }]
|
|
721
|
+
}], propDecorators: { href: [{
|
|
722
|
+
type: Input,
|
|
723
|
+
args: [{ required: true }]
|
|
724
|
+
}] } });
|
|
725
|
+
|
|
726
|
+
class HeadingItemDirective {
|
|
727
|
+
className = 'rhc-nav-bar__heading';
|
|
728
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HeadingItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
729
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: HeadingItemDirective, isStandalone: true, selector: "[rhcHeadingItem]", host: { properties: { "class": "this.className" } }, ngImport: i0 });
|
|
730
|
+
}
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: HeadingItemDirective, decorators: [{
|
|
732
|
+
type: Directive,
|
|
733
|
+
args: [{
|
|
734
|
+
selector: '[rhcHeadingItem]',
|
|
735
|
+
}]
|
|
736
|
+
}], propDecorators: { className: [{
|
|
737
|
+
type: HostBinding,
|
|
738
|
+
args: ['class']
|
|
739
|
+
}] } });
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Deze directive wordt gebruikt als "marker". Hiermee kunnen <li>'s gemarkeerd worden als endItem.
|
|
743
|
+
* Een endItem wordt aan het einde van de navbar geplaatst.
|
|
744
|
+
*/
|
|
745
|
+
class EndItemDirective {
|
|
746
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: EndItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
747
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.0", type: EndItemDirective, isStandalone: true, selector: "[rhcEndItem]", ngImport: i0 });
|
|
748
|
+
}
|
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImport: i0, type: EndItemDirective, decorators: [{
|
|
750
|
+
type: Directive,
|
|
751
|
+
args: [{
|
|
752
|
+
selector: '[rhcEndItem]',
|
|
753
|
+
}]
|
|
754
|
+
}] });
|
|
755
|
+
|
|
326
756
|
/*
|
|
327
757
|
* Public API Surface of components-angular
|
|
328
758
|
*/
|
|
@@ -331,5 +761,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
331
761
|
* Generated bundle index. Do not edit.
|
|
332
762
|
*/
|
|
333
763
|
|
|
334
|
-
export { ActionGroupComponent, BgFlagComponent, ButtonComponent, DeFlagComponent, DutchMapIconComponent, EsFlagComponent, FrFlagComponent, GrFlagComponent, HeadingComponent, HuFlagComponent, IconComponent, ItFlagComponent, LinkComponent, LvFlagComponent, NlFlagComponent, ParagraphComponent, PlFlagComponent, PtFlagComponent, RoFlagComponent, SkFlagComponent, UkFlagComponent, appearanceOptions, headingLevels };
|
|
764
|
+
export { ActionGroupComponent, BgFlagComponent, ButtonComponent, ColumnLayoutComponent, DeFlagComponent, DutchMapIconComponent, EndItemDirective, EsFlagComponent, FigureCaptionComponent, FigureComponent, FormFieldComponent, FormFieldDescriptionComponent, FormFieldErrorMessageComponent, FormFieldTextInputComponent, FormLabelComponent, FrFlagComponent, GrFlagComponent, HeadingComponent, HeadingItemDirective, HuFlagComponent, IconComponent, ImageComponent, ItFlagComponent, LinkComponent, LinkListComponent, LinkListItemComponent, LinkListLinkComponent, LogoComponent, LvFlagComponent, NavbarComponent, NavbarItemComponent, NlFlagComponent, ParagraphComponent, PlFlagComponent, PtFlagComponent, RoFlagComponent, SkFlagComponent, TextInputComponent, UkFlagComponent, UnorderedListComponent, UnorderedListItemComponent, appearanceOptions, headingLevels };
|
|
335
765
|
//# sourceMappingURL=rijkshuisstijl-community-components-angular.mjs.map
|