ngx-cho-components 0.0.3 → 0.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/README.md +137 -24
- package/esm2022/lib/cho-address-info.component.mjs +19 -19
- package/esm2022/lib/cho-details-card.component.mjs +47 -31
- package/esm2022/lib/cho-email-info.component.mjs +11 -11
- package/esm2022/lib/cho-modal.component.mjs +33 -33
- package/esm2022/lib/cho-phone-info.component.mjs +11 -11
- package/esm2022/lib/cho-radio-group.component.mjs +29 -29
- package/esm2022/lib/cho-review-status-alert.component.mjs +11 -11
- package/esm2022/lib/index.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/ngx-cho-components.mjs +154 -138
- package/fesm2022/ngx-cho-components.mjs.map +1 -1
- package/lib/cho-details-card.component.d.ts +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,24 +1,137 @@
|
|
|
1
|
-
# NgxChoComponents
|
|
2
|
-
|
|
3
|
-
This library
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
##
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
# NgxChoComponents
|
|
2
|
+
|
|
3
|
+
This library provides reusable Angular components for CHO applications with comprehensive Storybook documentation.
|
|
4
|
+
|
|
5
|
+
Generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
|
|
6
|
+
|
|
7
|
+
## Overview
|
|
8
|
+
|
|
9
|
+
NgxChoComponents includes:
|
|
10
|
+
- `ChoAddressInfoComponent` - Address display and editing
|
|
11
|
+
- `ChoDetailsCardComponent` - Information card layout
|
|
12
|
+
- `ChoEmailInfoComponent` - Email display and validation
|
|
13
|
+
- `ChoModalComponent` - Modal dialog wrapper
|
|
14
|
+
- `ChoPhoneInfoComponent` - Phone number display and formatting
|
|
15
|
+
- `ChoRadioGroupComponent` - Radio button group with validation
|
|
16
|
+
- `ChoReviewStatusAlertComponent` - Status alert messages
|
|
17
|
+
|
|
18
|
+
## Dependencies
|
|
19
|
+
|
|
20
|
+
This library depends on:
|
|
21
|
+
- **ngx-cho-common** (must be built first)
|
|
22
|
+
- Bootstrap (for styling)
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install ngx-cho-components ngx-cho-common bootstrap
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Build
|
|
31
|
+
|
|
32
|
+
**Important**: Build `ngx-cho-common` first before building this library.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
# Build dependencies first
|
|
36
|
+
ng build ngx-cho-common
|
|
37
|
+
|
|
38
|
+
# Then build this library
|
|
39
|
+
ng build ngx-cho-components
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Build artifacts will be stored in the `dist/ngx-cho-components` directory.
|
|
43
|
+
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
### Code Scaffolding
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
ng generate component component-name --project ngx-cho-components
|
|
50
|
+
ng generate service service-name --project ngx-cho-components
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
> Note: Always include `--project ngx-cho-components` or the component will be added to the default project.
|
|
54
|
+
|
|
55
|
+
### Storybook Development
|
|
56
|
+
|
|
57
|
+
This library includes Storybook for component development and documentation:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Start Storybook development server
|
|
61
|
+
ng run ngx-cho-components:storybook
|
|
62
|
+
|
|
63
|
+
# Build Storybook for deployment
|
|
64
|
+
ng run ngx-cho-components:build-storybook
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Storybook will be available at `http://localhost:6006`
|
|
68
|
+
|
|
69
|
+
### Running Tests
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
ng test ngx-cho-components
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Publishing
|
|
76
|
+
|
|
77
|
+
1. **Update version** in `projects/ngx-cho-components/package.json`
|
|
78
|
+
2. **Build dependencies and library**:
|
|
79
|
+
```bash
|
|
80
|
+
ng build ngx-cho-common
|
|
81
|
+
ng build ngx-cho-components --configuration production
|
|
82
|
+
```
|
|
83
|
+
3. **Publish to npm**:
|
|
84
|
+
```bash
|
|
85
|
+
cd dist/ngx-cho-components
|
|
86
|
+
npm publish
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Usage
|
|
90
|
+
|
|
91
|
+
Import the components module in your application:
|
|
92
|
+
|
|
93
|
+
```typescript
|
|
94
|
+
import { NgxChoComponentsModule } from 'ngx-cho-components';
|
|
95
|
+
|
|
96
|
+
@NgModule({
|
|
97
|
+
imports: [NgxChoComponentsModule],
|
|
98
|
+
// ...
|
|
99
|
+
})
|
|
100
|
+
export class AppModule {}
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Use components in your templates:
|
|
104
|
+
|
|
105
|
+
```html
|
|
106
|
+
<cho-address-info [address]="userAddress"></cho-address-info>
|
|
107
|
+
|
|
108
|
+
<cho-modal [isOpen]="showModal" (closeModal)="handleClose()">
|
|
109
|
+
<p>Modal content here</p>
|
|
110
|
+
</cho-modal>
|
|
111
|
+
|
|
112
|
+
<cho-radio-group
|
|
113
|
+
[options]="radioOptions"
|
|
114
|
+
[(value)]="selectedValue">
|
|
115
|
+
</cho-radio-group>
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Styling
|
|
119
|
+
|
|
120
|
+
Components are designed to work with Bootstrap. Include Bootstrap CSS in your application:
|
|
121
|
+
|
|
122
|
+
```scss
|
|
123
|
+
@import 'bootstrap/dist/css/bootstrap.min.css';
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
## Documentation
|
|
127
|
+
|
|
128
|
+
View component documentation and examples in Storybook:
|
|
129
|
+
1. Run `ng run ngx-cho-components:storybook`
|
|
130
|
+
2. Navigate to `http://localhost:6006`
|
|
131
|
+
3. Browse component stories and interact with examples
|
|
132
|
+
|
|
133
|
+
## Further Help
|
|
134
|
+
|
|
135
|
+
- [Angular CLI Overview and Command Reference](https://angular.io/cli)
|
|
136
|
+
- [Storybook for Angular](https://storybook.js.org/docs/angular/get-started/introduction)
|
|
137
|
+
- [Angular Library Development Guide](https://angular.io/guide/creating-libraries)
|
|
@@ -3,30 +3,30 @@ import { NgIf, TitleCasePipe } from '@angular/common';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class ChoAddressInfoComponent {
|
|
5
5
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoAddressInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoAddressInfoComponent, isStandalone: true, selector: "cho-address-info", inputs: { address: "address" }, ngImport: i0, template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
7
|
-
{{ address.addressLine1 | titlecase }}
|
|
8
|
-
</p>
|
|
9
|
-
<p *ngIf="address.addressLine2" class="m-0">
|
|
10
|
-
{{ address.addressLine2 | titlecase }}
|
|
11
|
-
</p>
|
|
12
|
-
<p *ngIf="address.city" class="m-0">
|
|
13
|
-
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
14
|
-
{{ address.postalCode }}
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoAddressInfoComponent, isStandalone: true, selector: "cho-address-info", inputs: { address: "address" }, ngImport: i0, template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
7
|
+
{{ address.addressLine1 | titlecase }}
|
|
8
|
+
</p>
|
|
9
|
+
<p *ngIf="address.addressLine2" class="m-0">
|
|
10
|
+
{{ address.addressLine2 | titlecase }}
|
|
11
|
+
</p>
|
|
12
|
+
<p *ngIf="address.city" class="m-0">
|
|
13
|
+
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
14
|
+
{{ address.postalCode }}
|
|
15
15
|
</p> `, isInline: true, dependencies: [{ kind: "pipe", type: TitleCasePipe, name: "titlecase" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
16
16
|
}
|
|
17
17
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoAddressInfoComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{
|
|
20
20
|
selector: 'cho-address-info',
|
|
21
|
-
template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
22
|
-
{{ address.addressLine1 | titlecase }}
|
|
23
|
-
</p>
|
|
24
|
-
<p *ngIf="address.addressLine2" class="m-0">
|
|
25
|
-
{{ address.addressLine2 | titlecase }}
|
|
26
|
-
</p>
|
|
27
|
-
<p *ngIf="address.city" class="m-0">
|
|
28
|
-
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
29
|
-
{{ address.postalCode }}
|
|
21
|
+
template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
22
|
+
{{ address.addressLine1 | titlecase }}
|
|
23
|
+
</p>
|
|
24
|
+
<p *ngIf="address.addressLine2" class="m-0">
|
|
25
|
+
{{ address.addressLine2 | titlecase }}
|
|
26
|
+
</p>
|
|
27
|
+
<p *ngIf="address.city" class="m-0">
|
|
28
|
+
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
29
|
+
{{ address.postalCode }}
|
|
30
30
|
</p> `,
|
|
31
31
|
standalone: true,
|
|
32
32
|
imports: [TitleCasePipe, NgIf],
|
|
@@ -34,4 +34,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
34
34
|
}], propDecorators: { address: [{
|
|
35
35
|
type: Input
|
|
36
36
|
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hvLWFkZHJlc3MtaW5mby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY2hvLWNvbXBvbmVudHMvc3JjL2xpYi9jaG8tYWRkcmVzcy1pbmZvLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUVqRCxPQUFPLEVBQUUsSUFBSSxFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDOztBQWlCdEQsTUFBTSxPQUFPLHVCQUF1QjsrR0FBdkIsdUJBQXVCO21HQUF2Qix1QkFBdUIsNEdBYnRCOzs7Ozs7Ozs7Y0FTQSx1REFFQSxhQUFhLGtEQUFFLElBQUk7OzRGQUVwQix1QkFBdUI7a0JBZm5DLFNBQVM7bUJBQUM7b0JBQ1AsUUFBUSxFQUFFLGtCQUFrQjtvQkFDNUIsUUFBUSxFQUFFOzs7Ozs7Ozs7Y0FTQTtvQkFDVixVQUFVLEVBQUUsSUFBSTtvQkFDaEIsT0FBTyxFQUFFLENBQUMsYUFBYSxFQUFFLElBQUksQ0FBQztpQkFDakM7OEJBRVksT0FBTztzQkFBZixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBJQWRkcmVzcyB9IGZyb20gJ25neC1jaG8tY29tbW9uJztcclxuaW1wb3J0IHsgTmdJZiwgVGl0bGVDYXNlUGlwZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICAgIHNlbGVjdG9yOiAnY2hvLWFkZHJlc3MtaW5mbycsXHJcbiAgICB0ZW1wbGF0ZTogYDxwICpuZ0lmPVwiYWRkcmVzcy5hZGRyZXNzTGluZTFcIiBjbGFzcz1cIm0tMFwiPlxyXG4gICAgICAgICAgICB7eyBhZGRyZXNzLmFkZHJlc3NMaW5lMSB8IHRpdGxlY2FzZSB9fVxyXG4gICAgICAgIDwvcD5cclxuICAgICAgICA8cCAqbmdJZj1cImFkZHJlc3MuYWRkcmVzc0xpbmUyXCIgY2xhc3M9XCJtLTBcIj5cclxuICAgICAgICAgICAge3sgYWRkcmVzcy5hZGRyZXNzTGluZTIgfCB0aXRsZWNhc2UgfX1cclxuICAgICAgICA8L3A+XHJcbiAgICAgICAgPHAgKm5nSWY9XCJhZGRyZXNzLmNpdHlcIiBjbGFzcz1cIm0tMFwiPlxyXG4gICAgICAgICAgICB7eyBhZGRyZXNzLmNpdHkgfCB0aXRsZWNhc2UgfX0sIHt7IGFkZHJlc3Muc3RhdGVQcm92aW5jZUNvZGUgfX1cclxuICAgICAgICAgICAge3sgYWRkcmVzcy5wb3N0YWxDb2RlIH19XHJcbiAgICAgICAgPC9wPiBgLFxyXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcclxuICAgIGltcG9ydHM6IFtUaXRsZUNhc2VQaXBlLCBOZ0lmXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIENob0FkZHJlc3NJbmZvQ29tcG9uZW50IHtcclxuICAgIEBJbnB1dCgpIGFkZHJlc3MhOiBJQWRkcmVzcztcclxufVxyXG4iXX0=
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
-
import { Component, ContentChild, Input } from '@angular/core';
|
|
1
|
+
import { Component, ContentChild, Input, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class ChoDetailsCardComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.title = '';
|
|
6
6
|
this.toolbar = null;
|
|
7
|
+
this.nav = null;
|
|
7
8
|
}
|
|
8
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoDetailsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
10
|
-
<div class="card mb-3">
|
|
11
|
-
<div class="card-header">
|
|
12
|
-
<h3 class="card-title">{{ title }}</h3>
|
|
13
|
-
|
|
14
|
-
<div class="card-toolbar">
|
|
15
|
-
<ng-content
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ChoDetailsCardComponent, isStandalone: true, selector: "cho-details-card", inputs: { title: "title" }, queries: [{ propertyName: "toolbar", first: true, predicate: ["[toolbar]"], descendants: true, read: TemplateRef }, { propertyName: "nav", first: true, predicate: ["[navbar]"], descendants: true, read: TemplateRef }], ngImport: i0, template: `
|
|
11
|
+
<div class="card mb-3">
|
|
12
|
+
<div class="card-header">
|
|
13
|
+
<h3 class="card-title">{{ title }}</h3>
|
|
14
|
+
|
|
15
|
+
<div class="card-toolbar">
|
|
16
|
+
<ng-content select="[toolbar]"></ng-content>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
@if (nav) {
|
|
21
|
+
<div class="card-body card-nav">
|
|
22
|
+
<ng-content select="[navbar]"></ng-content>
|
|
23
|
+
</div>
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
<div class="card-body">
|
|
27
|
+
<ng-content></ng-content>
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
23
30
|
`, isInline: true }); }
|
|
24
31
|
}
|
|
25
32
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoDetailsCardComponent, decorators: [{
|
|
@@ -27,26 +34,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
27
34
|
args: [{
|
|
28
35
|
selector: 'cho-details-card',
|
|
29
36
|
standalone: true,
|
|
30
|
-
template: `
|
|
31
|
-
<div class="card mb-3">
|
|
32
|
-
<div class="card-header">
|
|
33
|
-
<h3 class="card-title">{{ title }}</h3>
|
|
34
|
-
|
|
35
|
-
<div class="card-toolbar">
|
|
36
|
-
<ng-content
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
template: `
|
|
38
|
+
<div class="card mb-3">
|
|
39
|
+
<div class="card-header">
|
|
40
|
+
<h3 class="card-title">{{ title }}</h3>
|
|
41
|
+
|
|
42
|
+
<div class="card-toolbar">
|
|
43
|
+
<ng-content select="[toolbar]"></ng-content>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
@if (nav) {
|
|
48
|
+
<div class="card-body card-nav">
|
|
49
|
+
<ng-content select="[navbar]"></ng-content>
|
|
50
|
+
</div>
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
<div class="card-body">
|
|
54
|
+
<ng-content></ng-content>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
44
57
|
`,
|
|
45
58
|
}]
|
|
46
59
|
}], propDecorators: { title: [{
|
|
47
60
|
type: Input
|
|
48
61
|
}], toolbar: [{
|
|
49
62
|
type: ContentChild,
|
|
50
|
-
args: ['toolbar']
|
|
63
|
+
args: ['[toolbar]', { read: TemplateRef }]
|
|
64
|
+
}], nav: [{
|
|
65
|
+
type: ContentChild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AgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgIGAsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDaG9EZXRhaWxzQ2FyZENvbXBvbmVudCB7XHJcbiAgICBASW5wdXQoKSB0aXRsZSA9ICcnO1xyXG5cclxuICAgIEBDb250ZW50Q2hpbGQoJ1t0b29sYmFyXScsIHsgcmVhZDogVGVtcGxhdGVSZWYgfSkgdG9vbGJhcjogVGVtcGxhdGVSZWY8dW5rbm93bj4gfCBudWxsID0gbnVsbDtcclxuICAgIEBDb250ZW50Q2hpbGQoJ1tuYXZiYXJdJywgeyByZWFkOiBUZW1wbGF0ZVJlZiB9KSBuYXY6IFRlbXBsYXRlUmVmPHVua25vd24+IHwgbnVsbCA9IG51bGw7XHJcbn1cclxuIl19
|
|
@@ -10,22 +10,22 @@ export class ChoEmailInfoComponent {
|
|
|
10
10
|
: '';
|
|
11
11
|
}
|
|
12
12
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoEmailInfoComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoEmailInfoComponent, isStandalone: true, selector: "cho-email-info", inputs: { email: "email" }, ngImport: i0, template: `<ng-container *ngIf="email; else empty"
|
|
14
|
-
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
15
|
-
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
16
|
-
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
17
|
-
>
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoEmailInfoComponent, isStandalone: true, selector: "cho-email-info", inputs: { email: "email" }, ngImport: i0, template: `<ng-container *ngIf="email; else empty"
|
|
14
|
+
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
15
|
+
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
16
|
+
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
17
|
+
>
|
|
18
18
|
<ng-template #empty><span>--</span></ng-template>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
19
19
|
}
|
|
20
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoEmailInfoComponent, decorators: [{
|
|
21
21
|
type: Component,
|
|
22
22
|
args: [{
|
|
23
23
|
selector: 'cho-email-info',
|
|
24
|
-
template: `<ng-container *ngIf="email; else empty"
|
|
25
|
-
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
26
|
-
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
27
|
-
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
28
|
-
>
|
|
24
|
+
template: `<ng-container *ngIf="email; else empty"
|
|
25
|
+
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
26
|
+
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
27
|
+
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
28
|
+
>
|
|
29
29
|
<ng-template #empty><span>--</span></ng-template>`,
|
|
30
30
|
standalone: true,
|
|
31
31
|
imports: [NgIf],
|
|
@@ -33,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
33
33
|
}], ctorParameters: () => [{ type: i1.DomSanitizer }], propDecorators: { email: [{
|
|
34
34
|
type: Input
|
|
35
35
|
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
36
|
+
//# sourceMappingURL=data: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G4gICAgY29uc3RydWN0b3IocHJpdmF0ZSBzYW5pdGl6ZXI6IERvbVNhbml0aXplcikge1xyXG4gICAgICAgIHRoaXMuc2FuaXRpemVkRW1haWxMaW5rID0gdGhpcy5lbWFpbD8uZW1haWxBZGRyZXNzXHJcbiAgICAgICAgICAgID8gdGhpcy5zYW5pdGl6ZXIuYnlwYXNzU2VjdXJpdHlUcnVzdFVybChgbWFpbHRvOiR7dGhpcy5lbWFpbC5lbWFpbEFkZHJlc3N9YClcclxuICAgICAgICAgICAgOiAnJztcclxuICAgIH1cclxufVxyXG4iXX0=
|
|
@@ -7,44 +7,44 @@ export class ChoModalComponent {
|
|
|
7
7
|
this.activeModal = activeModal;
|
|
8
8
|
}
|
|
9
9
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoModalComponent, deps: [{ token: i1.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoModalComponent, isStandalone: true, selector: "cho-modal", inputs: { title: "title" }, providers: [NgbActiveModal], queries: [{ propertyName: "filters", first: true, predicate: ["footer"], descendants: true }], ngImport: i0, template: `
|
|
11
|
-
<div class="modal-header">
|
|
12
|
-
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
13
|
-
<button
|
|
14
|
-
(click)="activeModal.dismiss()"
|
|
15
|
-
type="button"
|
|
16
|
-
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div class="modal-body">
|
|
20
|
-
<ng-content></ng-content>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div class="modal-footer">
|
|
24
|
-
<ng-content #footer select="[footer]"></ng-content>
|
|
25
|
-
</div>
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoModalComponent, isStandalone: true, selector: "cho-modal", inputs: { title: "title" }, providers: [NgbActiveModal], queries: [{ propertyName: "filters", first: true, predicate: ["footer"], descendants: true }], ngImport: i0, template: `
|
|
11
|
+
<div class="modal-header">
|
|
12
|
+
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
13
|
+
<button
|
|
14
|
+
(click)="activeModal.dismiss()"
|
|
15
|
+
type="button"
|
|
16
|
+
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<div class="modal-body">
|
|
20
|
+
<ng-content></ng-content>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div class="modal-footer">
|
|
24
|
+
<ng-content #footer select="[footer]"></ng-content>
|
|
25
|
+
</div>
|
|
26
26
|
`, isInline: true }); }
|
|
27
27
|
}
|
|
28
28
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoModalComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: 'cho-modal',
|
|
32
|
-
template: `
|
|
33
|
-
<div class="modal-header">
|
|
34
|
-
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
35
|
-
<button
|
|
36
|
-
(click)="activeModal.dismiss()"
|
|
37
|
-
type="button"
|
|
38
|
-
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<div class="modal-body">
|
|
42
|
-
<ng-content></ng-content>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<div class="modal-footer">
|
|
46
|
-
<ng-content #footer select="[footer]"></ng-content>
|
|
47
|
-
</div>
|
|
32
|
+
template: `
|
|
33
|
+
<div class="modal-header">
|
|
34
|
+
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
35
|
+
<button
|
|
36
|
+
(click)="activeModal.dismiss()"
|
|
37
|
+
type="button"
|
|
38
|
+
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
<div class="modal-body">
|
|
42
|
+
<ng-content></ng-content>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<div class="modal-footer">
|
|
46
|
+
<ng-content #footer select="[footer]"></ng-content>
|
|
47
|
+
</div>
|
|
48
48
|
`,
|
|
49
49
|
standalone: true,
|
|
50
50
|
providers: [NgbActiveModal],
|
|
@@ -55,4 +55,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
55
55
|
type: ContentChild,
|
|
56
56
|
args: ['footer']
|
|
57
57
|
}] } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hvLW1vZGFsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1jaG8tY29tcG9uZW50cy9zcmMvbGliL2Noby1tb2RhbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFlLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQzs7O0FBd0I1RCxNQUFNLE9BQU8saUJBQWlCO0lBTzFCLFlBQTRCLFdBQTJCO1FBQTNCLGdCQUFXLEdBQVgsV0FBVyxDQUFnQjtJQUFHLENBQUM7K0dBUGxELGlCQUFpQjttR0FBakIsaUJBQWlCLG9GQUZmLENBQUMsY0FBYyxDQUFDLHlIQWxCakI7Ozs7Ozs7Ozs7Ozs7Ozs7S0FnQlQ7OzRGQUlRL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gICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgPGRpdiBjbGFzcz1cIm1vZGFsLWZvb3RlclwiPlxyXG4gICAgICAgICAgICA8bmctY29udGVudCAjZm9vdGVyIHNlbGVjdD1cIltmb290ZXJdXCI+PC9uZy1jb250ZW50PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgYCxcclxuICAgIHN0YW5kYWxvbmU6IHRydWUsXHJcbiAgICBwcm92aWRlcnM6IFtOZ2JBY3RpdmVNb2RhbF0sXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDaG9Nb2RhbENvbXBvbmVudCB7XHJcbiAgICBASW5wdXQoKVxyXG4gICAgdGl0bGUhOiBzdHJpbmc7XHJcblxyXG4gICAgQENvbnRlbnRDaGlsZCgnZm9vdGVyJylcclxuICAgIGZpbHRlcnM6IFRlbXBsYXRlUmVmPHVua25vd24+IHwgdW5kZWZpbmVkO1xyXG5cclxuICAgIGNvbnN0cnVjdG9yKHB1YmxpYyByZWFkb25seSBhY3RpdmVNb2RhbDogTmdiQWN0aXZlTW9kYWwpIHt9XHJcbn1cclxuIl19
|
|
@@ -3,22 +3,22 @@ import { Component, Input } from '@angular/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class ChoPhoneInfoComponent {
|
|
5
5
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoPhoneInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoPhoneInfoComponent, isStandalone: true, selector: "cho-phone-info", inputs: { phone: "phone" }, ngImport: i0, template: ` <ng-container *ngIf="phone; else empty"
|
|
7
|
-
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
8
|
-
{{ phone.phoneNumber }}
|
|
9
|
-
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
10
|
-
>
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoPhoneInfoComponent, isStandalone: true, selector: "cho-phone-info", inputs: { phone: "phone" }, ngImport: i0, template: ` <ng-container *ngIf="phone; else empty"
|
|
7
|
+
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
8
|
+
{{ phone.phoneNumber }}
|
|
9
|
+
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
10
|
+
>
|
|
11
11
|
<ng-template #empty><span>--</span></ng-template>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
12
12
|
}
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoPhoneInfoComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'cho-phone-info',
|
|
17
|
-
template: ` <ng-container *ngIf="phone; else empty"
|
|
18
|
-
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
19
|
-
{{ phone.phoneNumber }}
|
|
20
|
-
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
21
|
-
>
|
|
17
|
+
template: ` <ng-container *ngIf="phone; else empty"
|
|
18
|
+
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
19
|
+
{{ phone.phoneNumber }}
|
|
20
|
+
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
21
|
+
>
|
|
22
22
|
<ng-template #empty><span>--</span></ng-template>`,
|
|
23
23
|
standalone: true,
|
|
24
24
|
imports: [NgIf],
|
|
@@ -26,4 +26,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
26
26
|
}], propDecorators: { phone: [{
|
|
27
27
|
type: Input
|
|
28
28
|
}] } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hvLXBob25lLWluZm8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNoby1jb21wb25lbnRzL3NyYy9saWIvY2hvLXBob25lLWluZm8uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN2QyxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFlakQsTUFBTSxPQUFPLHFCQUFxQjsrR0FBckIscUJBQXFCO21HQUFyQixxQkFBcUIsc0dBVHBCOzs7OzswREFLNEMsNERBRTVDLElBQUk7OzRGQUVMLHFCQUFxQjtrQkFYakMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUsZ0JBQWdCO29CQUMxQixRQUFRLEVBQUU7Ozs7OzBEQUs0QztvQkFDdEQsVUFBVSxFQUFFLElBQUk7b0JBQ2hCLE9BQU8sRUFBRSxDQUFDLElBQUksQ0FBQztpQkFDbEI7OEJBRVksS0FBSztzQkFBYixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdJZiB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XHJcbmltcG9ydCB7IENvbXBvbmVudCwgSW5wdXQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuaW1wb3J0IHsgSVBob25lSW5mbyB9IGZyb20gJ25neC1jaG8tY29tbW9uJztcclxuXHJcblxyXG5AQ29tcG9uZW50KHtcclxuICAgIHNlbGVjdG9yOiAnY2hvLXBob25lLWluZm8nLFxyXG4gICAgdGVtcGxhdGU6IGAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInBob25lOyBlbHNlIGVtcHR5XCJcclxuICAgICAgICAgICAgPjxzcGFuICpuZ0lmPVwicGhvbmUucGhvbmVUeXBlQ29kZVwiPnt7IHBob25lLnBob25lVHlwZUNvZGVbMF0gfX06IDwvc3Bhbj5cclxuICAgICAgICAgICAge3sgcGhvbmUucGhvbmVOdW1iZXIgfX1cclxuICAgICAgICAgICAgPHNtYWxsICpuZ0lmPVwicGhvbmUuZGVzY3JpcHRpb25cIj4gKHt7IHBob25lLmRlc2NyaXB0aW9uIH19KTwvc21hbGw+PC9uZy1jb250YWluZXJcclxuICAgICAgICA+XHJcbiAgICAgICAgPG5nLXRlbXBsYXRlICNlbXB0eT48c3Bhbj4tLTwvc3Bhbj48L25nLXRlbXBsYXRlPmAsXHJcbiAgICBzdGFuZGFsb25lOiB0cnVlLFxyXG4gICAgaW1wb3J0czogW05nSWZdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2hvUGhvbmVJbmZvQ29tcG9uZW50IHtcclxuICAgIEBJbnB1dCgpIHBob25lITogSVBob25lSW5mbztcclxufVxyXG4iXX0=
|
|
@@ -18,40 +18,40 @@ export class ChoRadioGroupComponent {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
21
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoRadioGroupComponent, isStandalone: true, selector: "cho-radio-group", inputs: { label: "label", options: "options", groupName: "groupName", defaultValue: "defaultValue" }, outputs: { selectionChange: "selectionChange" }, ngImport: i0, template: `
|
|
22
|
-
<div>
|
|
23
|
-
<label class="form-label">{{ label }}</label>
|
|
24
|
-
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
25
|
-
<input
|
|
26
|
-
class="form-check-input"
|
|
27
|
-
type="radio"
|
|
28
|
-
[name]="groupName"
|
|
29
|
-
[value]="option.value"
|
|
30
|
-
[(ngModel)]="selectedOption"
|
|
31
|
-
(change)="emitSelection()" />
|
|
32
|
-
{{ option.label }}
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
21
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoRadioGroupComponent, isStandalone: true, selector: "cho-radio-group", inputs: { label: "label", options: "options", groupName: "groupName", defaultValue: "defaultValue" }, outputs: { selectionChange: "selectionChange" }, ngImport: i0, template: `
|
|
22
|
+
<div>
|
|
23
|
+
<label class="form-label">{{ label }}</label>
|
|
24
|
+
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
25
|
+
<input
|
|
26
|
+
class="form-check-input"
|
|
27
|
+
type="radio"
|
|
28
|
+
[name]="groupName"
|
|
29
|
+
[value]="option.value"
|
|
30
|
+
[(ngModel)]="selectedOption"
|
|
31
|
+
(change)="emitSelection()" />
|
|
32
|
+
{{ option.label }}
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
35
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
36
36
|
}
|
|
37
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoRadioGroupComponent, decorators: [{
|
|
38
38
|
type: Component,
|
|
39
39
|
args: [{
|
|
40
40
|
selector: 'cho-radio-group',
|
|
41
|
-
template: `
|
|
42
|
-
<div>
|
|
43
|
-
<label class="form-label">{{ label }}</label>
|
|
44
|
-
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
45
|
-
<input
|
|
46
|
-
class="form-check-input"
|
|
47
|
-
type="radio"
|
|
48
|
-
[name]="groupName"
|
|
49
|
-
[value]="option.value"
|
|
50
|
-
[(ngModel)]="selectedOption"
|
|
51
|
-
(change)="emitSelection()" />
|
|
52
|
-
{{ option.label }}
|
|
53
|
-
</div>
|
|
54
|
-
</div>
|
|
41
|
+
template: `
|
|
42
|
+
<div>
|
|
43
|
+
<label class="form-label">{{ label }}</label>
|
|
44
|
+
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
45
|
+
<input
|
|
46
|
+
class="form-check-input"
|
|
47
|
+
type="radio"
|
|
48
|
+
[name]="groupName"
|
|
49
|
+
[value]="option.value"
|
|
50
|
+
[(ngModel)]="selectedOption"
|
|
51
|
+
(change)="emitSelection()" />
|
|
52
|
+
{{ option.label }}
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
55
|
`,
|
|
56
56
|
standalone: true,
|
|
57
57
|
imports: [NgFor, FormsModule],
|
|
@@ -67,4 +67,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
67
67
|
}], selectionChange: [{
|
|
68
68
|
type: Output
|
|
69
69
|
}] } });
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,
|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WN0aW9uQ2hhbmdlLmVtaXQodGhpcy5zZWxlY3RlZE9wdGlvbik7XHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -3,22 +3,22 @@ import { Component, Input } from '@angular/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class ChoReviewStatusAlertComponent {
|
|
5
5
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoReviewStatusAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoReviewStatusAlertComponent, isStandalone: true, selector: "cho-review-status-alert", inputs: { reviewedBy: "reviewedBy", reviewedDateTime: "reviewedDateTime" }, ngImport: i0, template: `
|
|
7
|
-
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
8
|
-
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
9
|
-
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
10
|
-
</div>
|
|
6
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoReviewStatusAlertComponent, isStandalone: true, selector: "cho-review-status-alert", inputs: { reviewedBy: "reviewedBy", reviewedDateTime: "reviewedDateTime" }, ngImport: i0, template: `
|
|
7
|
+
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
8
|
+
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
9
|
+
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
10
|
+
</div>
|
|
11
11
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
|
|
12
12
|
}
|
|
13
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoReviewStatusAlertComponent, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'cho-review-status-alert',
|
|
17
|
-
template: `
|
|
18
|
-
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
19
|
-
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
20
|
-
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
21
|
-
</div>
|
|
17
|
+
template: `
|
|
18
|
+
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
19
|
+
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
20
|
+
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
21
|
+
</div>
|
|
22
22
|
`,
|
|
23
23
|
standalone: true,
|
|
24
24
|
imports: [NgIf, DatePipe],
|
|
@@ -28,4 +28,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
28
28
|
}], reviewedDateTime: [{
|
|
29
29
|
type: Input
|
|
30
30
|
}] } });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hvLXJldmlldy1zdGF0dXMtYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LWNoby1jb21wb25lbnRzL3NyYy9saWIvY2hvLXJldmlldy1zdGF0dXMtYWxlcnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsSUFBSSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDakQsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVB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BpbXBvcnRzOiBbTmdJZiwgRGF0ZVBpcGVdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2hvUmV2aWV3U3RhdHVzQWxlcnRDb21wb25lbnQge1xyXG4gICAgQElucHV0KCkgcmV2aWV3ZWRCeTogc3RyaW5nIHwgdW5kZWZpbmVkO1xyXG4gICAgQElucHV0KCkgcmV2aWV3ZWREYXRlVGltZTogc3RyaW5nIHwgdW5kZWZpbmVkO1xyXG59XHJcbiJdfQ==
|
package/esm2022/lib/index.mjs
CHANGED
|
@@ -5,4 +5,4 @@ export { ChoModalComponent } from './cho-modal.component';
|
|
|
5
5
|
export { ChoPhoneInfoComponent } from './cho-phone-info.component';
|
|
6
6
|
export { ChoRadioGroupComponent } from './cho-radio-group.component';
|
|
7
7
|
export { ChoReviewStatusAlertComponent } from './cho-review-status-alert.component';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtY2hvLWNvbXBvbmVudHMvc3JjL2xpYi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN2RSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN2RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMxRCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IENob0FkZHJlc3NJbmZvQ29tcG9uZW50IH0gZnJvbSAnLi9jaG8tYWRkcmVzcy1pbmZvLmNvbXBvbmVudCc7XHJcbmV4cG9ydCB7IENob0RldGFpbHNDYXJkQ29tcG9uZW50IH0gZnJvbSAnLi9jaG8tZGV0YWlscy1jYXJkLmNvbXBvbmVudCc7XHJcbmV4cG9ydCB7IENob0VtYWlsSW5mb0NvbXBvbmVudCB9IGZyb20gJy4vY2hvLWVtYWlsLWluZm8uY29tcG9uZW50JztcclxuZXhwb3J0IHsgQ2hvTW9kYWxDb21wb25lbnQgfSBmcm9tICcuL2Noby1tb2RhbC5jb21wb25lbnQnO1xyXG5leHBvcnQgeyBDaG9QaG9uZUluZm9Db21wb25lbnQgfSBmcm9tICcuL2Noby1waG9uZS1pbmZvLmNvbXBvbmVudCc7XHJcbmV4cG9ydCB7IENob1JhZGlvR3JvdXBDb21wb25lbnQgfSBmcm9tICcuL2Noby1yYWRpby1ncm91cC5jb21wb25lbnQnO1xyXG5leHBvcnQgeyBDaG9SZXZpZXdTdGF0dXNBbGVydENvbXBvbmVudCB9IGZyb20gJy4vY2hvLXJldmlldy1zdGF0dXMtYWxlcnQuY29tcG9uZW50JztcclxuIl19
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Public API Surface of ngx-cho-components
|
|
3
3
|
*/
|
|
4
4
|
export * from './lib';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL25neC1jaG8tY29tcG9uZW50cy9zcmMvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsT0FBTyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLypcclxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1jaG8tY29tcG9uZW50c1xyXG4gKi9cclxuXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliJztcclxuIl19
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, ContentChild, EventEmitter, Output } from '@angular/core';
|
|
2
|
+
import { Component, Input, TemplateRef, ContentChild, EventEmitter, Output } from '@angular/core';
|
|
3
3
|
import { TitleCasePipe, NgIf, NgFor, DatePipe } from '@angular/common';
|
|
4
4
|
import * as i1 from '@angular/platform-browser';
|
|
5
5
|
import * as i1$1 from '@ng-bootstrap/ng-bootstrap';
|
|
@@ -9,30 +9,30 @@ import { FormsModule } from '@angular/forms';
|
|
|
9
9
|
|
|
10
10
|
class ChoAddressInfoComponent {
|
|
11
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoAddressInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoAddressInfoComponent, isStandalone: true, selector: "cho-address-info", inputs: { address: "address" }, ngImport: i0, template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
13
|
-
{{ address.addressLine1 | titlecase }}
|
|
14
|
-
</p>
|
|
15
|
-
<p *ngIf="address.addressLine2" class="m-0">
|
|
16
|
-
{{ address.addressLine2 | titlecase }}
|
|
17
|
-
</p>
|
|
18
|
-
<p *ngIf="address.city" class="m-0">
|
|
19
|
-
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
20
|
-
{{ address.postalCode }}
|
|
12
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoAddressInfoComponent, isStandalone: true, selector: "cho-address-info", inputs: { address: "address" }, ngImport: i0, template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
13
|
+
{{ address.addressLine1 | titlecase }}
|
|
14
|
+
</p>
|
|
15
|
+
<p *ngIf="address.addressLine2" class="m-0">
|
|
16
|
+
{{ address.addressLine2 | titlecase }}
|
|
17
|
+
</p>
|
|
18
|
+
<p *ngIf="address.city" class="m-0">
|
|
19
|
+
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
20
|
+
{{ address.postalCode }}
|
|
21
21
|
</p> `, isInline: true, dependencies: [{ kind: "pipe", type: TitleCasePipe, name: "titlecase" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
22
22
|
}
|
|
23
23
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoAddressInfoComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{
|
|
26
26
|
selector: 'cho-address-info',
|
|
27
|
-
template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
28
|
-
{{ address.addressLine1 | titlecase }}
|
|
29
|
-
</p>
|
|
30
|
-
<p *ngIf="address.addressLine2" class="m-0">
|
|
31
|
-
{{ address.addressLine2 | titlecase }}
|
|
32
|
-
</p>
|
|
33
|
-
<p *ngIf="address.city" class="m-0">
|
|
34
|
-
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
35
|
-
{{ address.postalCode }}
|
|
27
|
+
template: `<p *ngIf="address.addressLine1" class="m-0">
|
|
28
|
+
{{ address.addressLine1 | titlecase }}
|
|
29
|
+
</p>
|
|
30
|
+
<p *ngIf="address.addressLine2" class="m-0">
|
|
31
|
+
{{ address.addressLine2 | titlecase }}
|
|
32
|
+
</p>
|
|
33
|
+
<p *ngIf="address.city" class="m-0">
|
|
34
|
+
{{ address.city | titlecase }}, {{ address.stateProvinceCode }}
|
|
35
|
+
{{ address.postalCode }}
|
|
36
36
|
</p> `,
|
|
37
37
|
standalone: true,
|
|
38
38
|
imports: [TitleCasePipe, NgIf],
|
|
@@ -45,22 +45,29 @@ class ChoDetailsCardComponent {
|
|
|
45
45
|
constructor() {
|
|
46
46
|
this.title = '';
|
|
47
47
|
this.toolbar = null;
|
|
48
|
+
this.nav = null;
|
|
48
49
|
}
|
|
49
50
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoDetailsCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
50
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
51
|
-
<div class="card mb-3">
|
|
52
|
-
<div class="card-header">
|
|
53
|
-
<h3 class="card-title">{{ title }}</h3>
|
|
54
|
-
|
|
55
|
-
<div class="card-toolbar">
|
|
56
|
-
<ng-content
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
51
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: ChoDetailsCardComponent, isStandalone: true, selector: "cho-details-card", inputs: { title: "title" }, queries: [{ propertyName: "toolbar", first: true, predicate: ["[toolbar]"], descendants: true, read: TemplateRef }, { propertyName: "nav", first: true, predicate: ["[navbar]"], descendants: true, read: TemplateRef }], ngImport: i0, template: `
|
|
52
|
+
<div class="card mb-3">
|
|
53
|
+
<div class="card-header">
|
|
54
|
+
<h3 class="card-title">{{ title }}</h3>
|
|
55
|
+
|
|
56
|
+
<div class="card-toolbar">
|
|
57
|
+
<ng-content select="[toolbar]"></ng-content>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
@if (nav) {
|
|
62
|
+
<div class="card-body card-nav">
|
|
63
|
+
<ng-content select="[navbar]"></ng-content>
|
|
64
|
+
</div>
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
<div class="card-body">
|
|
68
|
+
<ng-content></ng-content>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
64
71
|
`, isInline: true }); }
|
|
65
72
|
}
|
|
66
73
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoDetailsCardComponent, decorators: [{
|
|
@@ -68,27 +75,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
68
75
|
args: [{
|
|
69
76
|
selector: 'cho-details-card',
|
|
70
77
|
standalone: true,
|
|
71
|
-
template: `
|
|
72
|
-
<div class="card mb-3">
|
|
73
|
-
<div class="card-header">
|
|
74
|
-
<h3 class="card-title">{{ title }}</h3>
|
|
75
|
-
|
|
76
|
-
<div class="card-toolbar">
|
|
77
|
-
<ng-content
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
template: `
|
|
79
|
+
<div class="card mb-3">
|
|
80
|
+
<div class="card-header">
|
|
81
|
+
<h3 class="card-title">{{ title }}</h3>
|
|
82
|
+
|
|
83
|
+
<div class="card-toolbar">
|
|
84
|
+
<ng-content select="[toolbar]"></ng-content>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
88
|
+
@if (nav) {
|
|
89
|
+
<div class="card-body card-nav">
|
|
90
|
+
<ng-content select="[navbar]"></ng-content>
|
|
91
|
+
</div>
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
<div class="card-body">
|
|
95
|
+
<ng-content></ng-content>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
85
98
|
`,
|
|
86
99
|
}]
|
|
87
100
|
}], propDecorators: { title: [{
|
|
88
101
|
type: Input
|
|
89
102
|
}], toolbar: [{
|
|
90
103
|
type: ContentChild,
|
|
91
|
-
args: ['toolbar']
|
|
104
|
+
args: ['[toolbar]', { read: TemplateRef }]
|
|
105
|
+
}], nav: [{
|
|
106
|
+
type: ContentChild,
|
|
107
|
+
args: ['[navbar]', { read: TemplateRef }]
|
|
92
108
|
}] } });
|
|
93
109
|
|
|
94
110
|
class ChoEmailInfoComponent {
|
|
@@ -99,22 +115,22 @@ class ChoEmailInfoComponent {
|
|
|
99
115
|
: '';
|
|
100
116
|
}
|
|
101
117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoEmailInfoComponent, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
102
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoEmailInfoComponent, isStandalone: true, selector: "cho-email-info", inputs: { email: "email" }, ngImport: i0, template: `<ng-container *ngIf="email; else empty"
|
|
103
|
-
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
104
|
-
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
105
|
-
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
106
|
-
>
|
|
118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoEmailInfoComponent, isStandalone: true, selector: "cho-email-info", inputs: { email: "email" }, ngImport: i0, template: `<ng-container *ngIf="email; else empty"
|
|
119
|
+
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
120
|
+
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
121
|
+
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
122
|
+
>
|
|
107
123
|
<ng-template #empty><span>--</span></ng-template>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
108
124
|
}
|
|
109
125
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoEmailInfoComponent, decorators: [{
|
|
110
126
|
type: Component,
|
|
111
127
|
args: [{
|
|
112
128
|
selector: 'cho-email-info',
|
|
113
|
-
template: `<ng-container *ngIf="email; else empty"
|
|
114
|
-
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
115
|
-
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
116
|
-
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
117
|
-
>
|
|
129
|
+
template: `<ng-container *ngIf="email; else empty"
|
|
130
|
+
><span *ngIf="email.emailTypeCode">{{ email.emailTypeCode[0] }}: </span>
|
|
131
|
+
<a [href]="sanitizedEmailLink">{{ email.emailAddress }}</a>
|
|
132
|
+
<small *ngIf="email.description"> ({{ email.description }})</small></ng-container
|
|
133
|
+
>
|
|
118
134
|
<ng-template #empty><span>--</span></ng-template>`,
|
|
119
135
|
standalone: true,
|
|
120
136
|
imports: [NgIf],
|
|
@@ -128,44 +144,44 @@ class ChoModalComponent {
|
|
|
128
144
|
this.activeModal = activeModal;
|
|
129
145
|
}
|
|
130
146
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoModalComponent, deps: [{ token: i1$1.NgbActiveModal }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
131
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoModalComponent, isStandalone: true, selector: "cho-modal", inputs: { title: "title" }, providers: [NgbActiveModal], queries: [{ propertyName: "filters", first: true, predicate: ["footer"], descendants: true }], ngImport: i0, template: `
|
|
132
|
-
<div class="modal-header">
|
|
133
|
-
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
134
|
-
<button
|
|
135
|
-
(click)="activeModal.dismiss()"
|
|
136
|
-
type="button"
|
|
137
|
-
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
138
|
-
</div>
|
|
139
|
-
|
|
140
|
-
<div class="modal-body">
|
|
141
|
-
<ng-content></ng-content>
|
|
142
|
-
</div>
|
|
143
|
-
|
|
144
|
-
<div class="modal-footer">
|
|
145
|
-
<ng-content #footer select="[footer]"></ng-content>
|
|
146
|
-
</div>
|
|
147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoModalComponent, isStandalone: true, selector: "cho-modal", inputs: { title: "title" }, providers: [NgbActiveModal], queries: [{ propertyName: "filters", first: true, predicate: ["footer"], descendants: true }], ngImport: i0, template: `
|
|
148
|
+
<div class="modal-header">
|
|
149
|
+
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
150
|
+
<button
|
|
151
|
+
(click)="activeModal.dismiss()"
|
|
152
|
+
type="button"
|
|
153
|
+
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div class="modal-body">
|
|
157
|
+
<ng-content></ng-content>
|
|
158
|
+
</div>
|
|
159
|
+
|
|
160
|
+
<div class="modal-footer">
|
|
161
|
+
<ng-content #footer select="[footer]"></ng-content>
|
|
162
|
+
</div>
|
|
147
163
|
`, isInline: true }); }
|
|
148
164
|
}
|
|
149
165
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoModalComponent, decorators: [{
|
|
150
166
|
type: Component,
|
|
151
167
|
args: [{
|
|
152
168
|
selector: 'cho-modal',
|
|
153
|
-
template: `
|
|
154
|
-
<div class="modal-header">
|
|
155
|
-
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
156
|
-
<button
|
|
157
|
-
(click)="activeModal.dismiss()"
|
|
158
|
-
type="button"
|
|
159
|
-
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
160
|
-
</div>
|
|
161
|
-
|
|
162
|
-
<div class="modal-body">
|
|
163
|
-
<ng-content></ng-content>
|
|
164
|
-
</div>
|
|
165
|
-
|
|
166
|
-
<div class="modal-footer">
|
|
167
|
-
<ng-content #footer select="[footer]"></ng-content>
|
|
168
|
-
</div>
|
|
169
|
+
template: `
|
|
170
|
+
<div class="modal-header">
|
|
171
|
+
<h2 id="modal-basic-title" class="modal-title">{{ title }}</h2>
|
|
172
|
+
<button
|
|
173
|
+
(click)="activeModal.dismiss()"
|
|
174
|
+
type="button"
|
|
175
|
+
class="btn btn-light py-1 px-3 fa-solid fa-x"></button>
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
<div class="modal-body">
|
|
179
|
+
<ng-content></ng-content>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
<div class="modal-footer">
|
|
183
|
+
<ng-content #footer select="[footer]"></ng-content>
|
|
184
|
+
</div>
|
|
169
185
|
`,
|
|
170
186
|
standalone: true,
|
|
171
187
|
providers: [NgbActiveModal],
|
|
@@ -179,22 +195,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
179
195
|
|
|
180
196
|
class ChoPhoneInfoComponent {
|
|
181
197
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoPhoneInfoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
182
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoPhoneInfoComponent, isStandalone: true, selector: "cho-phone-info", inputs: { phone: "phone" }, ngImport: i0, template: ` <ng-container *ngIf="phone; else empty"
|
|
183
|
-
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
184
|
-
{{ phone.phoneNumber }}
|
|
185
|
-
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
186
|
-
>
|
|
198
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoPhoneInfoComponent, isStandalone: true, selector: "cho-phone-info", inputs: { phone: "phone" }, ngImport: i0, template: ` <ng-container *ngIf="phone; else empty"
|
|
199
|
+
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
200
|
+
{{ phone.phoneNumber }}
|
|
201
|
+
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
202
|
+
>
|
|
187
203
|
<ng-template #empty><span>--</span></ng-template>`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
188
204
|
}
|
|
189
205
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoPhoneInfoComponent, decorators: [{
|
|
190
206
|
type: Component,
|
|
191
207
|
args: [{
|
|
192
208
|
selector: 'cho-phone-info',
|
|
193
|
-
template: ` <ng-container *ngIf="phone; else empty"
|
|
194
|
-
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
195
|
-
{{ phone.phoneNumber }}
|
|
196
|
-
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
197
|
-
>
|
|
209
|
+
template: ` <ng-container *ngIf="phone; else empty"
|
|
210
|
+
><span *ngIf="phone.phoneTypeCode">{{ phone.phoneTypeCode[0] }}: </span>
|
|
211
|
+
{{ phone.phoneNumber }}
|
|
212
|
+
<small *ngIf="phone.description"> ({{ phone.description }})</small></ng-container
|
|
213
|
+
>
|
|
198
214
|
<ng-template #empty><span>--</span></ng-template>`,
|
|
199
215
|
standalone: true,
|
|
200
216
|
imports: [NgIf],
|
|
@@ -218,40 +234,40 @@ class ChoRadioGroupComponent {
|
|
|
218
234
|
}
|
|
219
235
|
}
|
|
220
236
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
221
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoRadioGroupComponent, isStandalone: true, selector: "cho-radio-group", inputs: { label: "label", options: "options", groupName: "groupName", defaultValue: "defaultValue" }, outputs: { selectionChange: "selectionChange" }, ngImport: i0, template: `
|
|
222
|
-
<div>
|
|
223
|
-
<label class="form-label">{{ label }}</label>
|
|
224
|
-
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
225
|
-
<input
|
|
226
|
-
class="form-check-input"
|
|
227
|
-
type="radio"
|
|
228
|
-
[name]="groupName"
|
|
229
|
-
[value]="option.value"
|
|
230
|
-
[(ngModel)]="selectedOption"
|
|
231
|
-
(change)="emitSelection()" />
|
|
232
|
-
{{ option.label }}
|
|
233
|
-
</div>
|
|
234
|
-
</div>
|
|
237
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoRadioGroupComponent, isStandalone: true, selector: "cho-radio-group", inputs: { label: "label", options: "options", groupName: "groupName", defaultValue: "defaultValue" }, outputs: { selectionChange: "selectionChange" }, ngImport: i0, template: `
|
|
238
|
+
<div>
|
|
239
|
+
<label class="form-label">{{ label }}</label>
|
|
240
|
+
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
241
|
+
<input
|
|
242
|
+
class="form-check-input"
|
|
243
|
+
type="radio"
|
|
244
|
+
[name]="groupName"
|
|
245
|
+
[value]="option.value"
|
|
246
|
+
[(ngModel)]="selectedOption"
|
|
247
|
+
(change)="emitSelection()" />
|
|
248
|
+
{{ option.label }}
|
|
249
|
+
</div>
|
|
250
|
+
</div>
|
|
235
251
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$2.RadioControlValueAccessor, selector: "input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]", inputs: ["name", "formControlName", "value"] }, { kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] }); }
|
|
236
252
|
}
|
|
237
253
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoRadioGroupComponent, decorators: [{
|
|
238
254
|
type: Component,
|
|
239
255
|
args: [{
|
|
240
256
|
selector: 'cho-radio-group',
|
|
241
|
-
template: `
|
|
242
|
-
<div>
|
|
243
|
-
<label class="form-label">{{ label }}</label>
|
|
244
|
-
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
245
|
-
<input
|
|
246
|
-
class="form-check-input"
|
|
247
|
-
type="radio"
|
|
248
|
-
[name]="groupName"
|
|
249
|
-
[value]="option.value"
|
|
250
|
-
[(ngModel)]="selectedOption"
|
|
251
|
-
(change)="emitSelection()" />
|
|
252
|
-
{{ option.label }}
|
|
253
|
-
</div>
|
|
254
|
-
</div>
|
|
257
|
+
template: `
|
|
258
|
+
<div>
|
|
259
|
+
<label class="form-label">{{ label }}</label>
|
|
260
|
+
<div *ngFor="let option of options" class="form-check form-check-inline">
|
|
261
|
+
<input
|
|
262
|
+
class="form-check-input"
|
|
263
|
+
type="radio"
|
|
264
|
+
[name]="groupName"
|
|
265
|
+
[value]="option.value"
|
|
266
|
+
[(ngModel)]="selectedOption"
|
|
267
|
+
(change)="emitSelection()" />
|
|
268
|
+
{{ option.label }}
|
|
269
|
+
</div>
|
|
270
|
+
</div>
|
|
255
271
|
`,
|
|
256
272
|
standalone: true,
|
|
257
273
|
imports: [NgFor, FormsModule],
|
|
@@ -270,22 +286,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
270
286
|
|
|
271
287
|
class ChoReviewStatusAlertComponent {
|
|
272
288
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoReviewStatusAlertComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
273
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoReviewStatusAlertComponent, isStandalone: true, selector: "cho-review-status-alert", inputs: { reviewedBy: "reviewedBy", reviewedDateTime: "reviewedDateTime" }, ngImport: i0, template: `
|
|
274
|
-
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
275
|
-
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
276
|
-
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
277
|
-
</div>
|
|
289
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ChoReviewStatusAlertComponent, isStandalone: true, selector: "cho-review-status-alert", inputs: { reviewedBy: "reviewedBy", reviewedDateTime: "reviewedDateTime" }, ngImport: i0, template: `
|
|
290
|
+
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
291
|
+
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
292
|
+
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
293
|
+
</div>
|
|
278
294
|
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: DatePipe, name: "date" }] }); }
|
|
279
295
|
}
|
|
280
296
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ChoReviewStatusAlertComponent, decorators: [{
|
|
281
297
|
type: Component,
|
|
282
298
|
args: [{
|
|
283
299
|
selector: 'cho-review-status-alert',
|
|
284
|
-
template: `
|
|
285
|
-
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
286
|
-
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
287
|
-
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
288
|
-
</div>
|
|
300
|
+
template: `
|
|
301
|
+
<div class="alert alert-info" *ngIf="reviewedDateTime">
|
|
302
|
+
Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at
|
|
303
|
+
{{ reviewedDateTime | date : 'shortTime' }}.
|
|
304
|
+
</div>
|
|
289
305
|
`,
|
|
290
306
|
standalone: true,
|
|
291
307
|
imports: [NgIf, DatePipe],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-cho-components.mjs","sources":["../../../projects/ngx-cho-components/src/lib/cho-address-info.component.ts","../../../projects/ngx-cho-components/src/lib/cho-details-card.component.ts","../../../projects/ngx-cho-components/src/lib/cho-email-info.component.ts","../../../projects/ngx-cho-components/src/lib/cho-modal.component.ts","../../../projects/ngx-cho-components/src/lib/cho-phone-info.component.ts","../../../projects/ngx-cho-components/src/lib/cho-radio-group.component.ts","../../../projects/ngx-cho-components/src/lib/cho-review-status-alert.component.ts","../../../projects/ngx-cho-components/src/public-api.ts","../../../projects/ngx-cho-components/src/ngx-cho-components.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { IAddress } from 'ngx-cho-common';\nimport { NgIf, TitleCasePipe } from '@angular/common';\n\n@Component({\n selector: 'cho-address-info',\n template: `<p *ngIf=\"address.addressLine1\" class=\"m-0\">\n {{ address.addressLine1 | titlecase }}\n </p>\n <p *ngIf=\"address.addressLine2\" class=\"m-0\">\n {{ address.addressLine2 | titlecase }}\n </p>\n <p *ngIf=\"address.city\" class=\"m-0\">\n {{ address.city | titlecase }}, {{ address.stateProvinceCode }}\n {{ address.postalCode }}\n </p> `,\n standalone: true,\n imports: [TitleCasePipe, NgIf],\n})\nexport class ChoAddressInfoComponent {\n @Input() address!: IAddress;\n}\n","import { Component, ContentChild, Input, TemplateRef } from '@angular/core';\n\n@Component({\n selector: 'cho-details-card',\n standalone: true,\n template: `\n <div class=\"card mb-3\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n\n <div class=\"card-toolbar\">\n <ng-content #toolbar select=\"[toolbar]\"></ng-content>\n </div>\n </div>\n\n <div class=\"card-body\">\n <ng-content></ng-content>\n </div>\n </div>\n `,\n})\nexport class ChoDetailsCardComponent {\n @Input() title = '';\n\n @ContentChild('toolbar') toolbar: TemplateRef<unknown> | null = null;\n}\n","import { NgIf } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\nimport { IEmailInfo } from 'ngx-cho-common';\n\n\n@Component({\n selector: 'cho-email-info',\n template: `<ng-container *ngIf=\"email; else empty\"\n ><span *ngIf=\"email.emailTypeCode\">{{ email.emailTypeCode[0] }}: </span>\n <a [href]=\"sanitizedEmailLink\">{{ email.emailAddress }}</a>\n <small *ngIf=\"email.description\"> ({{ email.description }})</small></ng-container\n >\n <ng-template #empty><span>--</span></ng-template>`,\n standalone: true,\n imports: [NgIf],\n})\nexport class ChoEmailInfoComponent {\n @Input() email!: IEmailInfo;\n\n public sanitizedEmailLink: SafeUrl;\n\n constructor(private sanitizer: DomSanitizer) {\n this.sanitizedEmailLink = this.email?.emailAddress\n ? this.sanitizer.bypassSecurityTrustUrl(`mailto:${this.email.emailAddress}`)\n : '';\n }\n}\n","import { Component, ContentChild, Input, TemplateRef } from '@angular/core';\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\n\n@Component({\n selector: 'cho-modal',\n template: `\n <div class=\"modal-header\">\n <h2 id=\"modal-basic-title\" class=\"modal-title\">{{ title }}</h2>\n <button\n (click)=\"activeModal.dismiss()\"\n type=\"button\"\n class=\"btn btn-light py-1 px-3 fa-solid fa-x\"></button>\n </div>\n\n <div class=\"modal-body\">\n <ng-content></ng-content>\n </div>\n\n <div class=\"modal-footer\">\n <ng-content #footer select=\"[footer]\"></ng-content>\n </div>\n `,\n standalone: true,\n providers: [NgbActiveModal],\n})\nexport class ChoModalComponent {\n @Input()\n title!: string;\n\n @ContentChild('footer')\n filters: TemplateRef<unknown> | undefined;\n\n constructor(public readonly activeModal: NgbActiveModal) {}\n}\n","import { NgIf } from '@angular/common';\nimport { Component, Input } from '@angular/core';\nimport { IPhoneInfo } from 'ngx-cho-common';\n\n\n@Component({\n selector: 'cho-phone-info',\n template: ` <ng-container *ngIf=\"phone; else empty\"\n ><span *ngIf=\"phone.phoneTypeCode\">{{ phone.phoneTypeCode[0] }}: </span>\n {{ phone.phoneNumber }}\n <small *ngIf=\"phone.description\"> ({{ phone.description }})</small></ng-container\n >\n <ng-template #empty><span>--</span></ng-template>`,\n standalone: true,\n imports: [NgIf],\n})\nexport class ChoPhoneInfoComponent {\n @Input() phone!: IPhoneInfo;\n}\n","import { NgFor } from '@angular/common';\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { FormsModule } from '@angular/forms';\n\n@Component({\n selector: 'cho-radio-group',\n template: `\n <div>\n <label class=\"form-label\">{{ label }}</label>\n <div *ngFor=\"let option of options\" class=\"form-check form-check-inline\">\n <input\n class=\"form-check-input\"\n type=\"radio\"\n [name]=\"groupName\"\n [value]=\"option.value\"\n [(ngModel)]=\"selectedOption\"\n (change)=\"emitSelection()\" />\n {{ option.label }}\n </div>\n </div>\n `,\n standalone: true,\n imports: [NgFor, FormsModule],\n})\nexport class ChoRadioGroupComponent<T> {\n @Input() label = '';\n @Input() options: { label: string; value: unknown }[] = [];\n @Input() groupName = '';\n @Input() defaultValue: T | null = null;\n\n @Output() selectionChange = new EventEmitter<T | null>();\n\n public selectedOption: T | null = this.defaultValue;\n\n public emitSelection() {\n if (this.selectedOption !== undefined) {\n this.selectionChange.emit(this.selectedOption);\n }\n }\n}\n","import { DatePipe, NgIf } from '@angular/common';\nimport { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'cho-review-status-alert',\n template: `\n <div class=\"alert alert-info\" *ngIf=\"reviewedDateTime\">\n Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at\n {{ reviewedDateTime | date : 'shortTime' }}.\n </div>\n `,\n standalone: true,\n imports: [NgIf, DatePipe],\n})\nexport class ChoReviewStatusAlertComponent {\n @Input() reviewedBy: string | undefined;\n @Input() reviewedDateTime: string | undefined;\n}\n","/*\n * Public API Surface of ngx-cho-components\n */\n\nexport * from './lib';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;MAmBa,uBAAuB,CAAA;+GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,EAbtB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;cASA,EAEA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,aAAa,kDAAE,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA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AAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,EAT5B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;KAKT,EAES,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,wFAAE,QAAQ,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEf,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAXzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,CAAA;;;;;AAKT,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC5B,iBAAA,CAAA;8BAEY,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,gBAAgB,EAAA,CAAA;sBAAxB,KAAK;;;AChBV;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-cho-components.mjs","sources":["../../../projects/ngx-cho-components/src/lib/cho-address-info.component.ts","../../../projects/ngx-cho-components/src/lib/cho-details-card.component.ts","../../../projects/ngx-cho-components/src/lib/cho-email-info.component.ts","../../../projects/ngx-cho-components/src/lib/cho-modal.component.ts","../../../projects/ngx-cho-components/src/lib/cho-phone-info.component.ts","../../../projects/ngx-cho-components/src/lib/cho-radio-group.component.ts","../../../projects/ngx-cho-components/src/lib/cho-review-status-alert.component.ts","../../../projects/ngx-cho-components/src/public-api.ts","../../../projects/ngx-cho-components/src/ngx-cho-components.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\r\nimport { IAddress } from 'ngx-cho-common';\r\nimport { NgIf, TitleCasePipe } from '@angular/common';\r\n\r\n@Component({\r\n selector: 'cho-address-info',\r\n template: `<p *ngIf=\"address.addressLine1\" class=\"m-0\">\r\n {{ address.addressLine1 | titlecase }}\r\n </p>\r\n <p *ngIf=\"address.addressLine2\" class=\"m-0\">\r\n {{ address.addressLine2 | titlecase }}\r\n </p>\r\n <p *ngIf=\"address.city\" class=\"m-0\">\r\n {{ address.city | titlecase }}, {{ address.stateProvinceCode }}\r\n {{ address.postalCode }}\r\n </p> `,\r\n standalone: true,\r\n imports: [TitleCasePipe, NgIf],\r\n})\r\nexport class ChoAddressInfoComponent {\r\n @Input() address!: IAddress;\r\n}\r\n","import { Component, ContentChild, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'cho-details-card',\r\n standalone: true,\r\n template: `\r\n <div class=\"card mb-3\">\r\n <div class=\"card-header\">\r\n <h3 class=\"card-title\">{{ title }}</h3>\r\n\r\n <div class=\"card-toolbar\">\r\n <ng-content select=\"[toolbar]\"></ng-content>\r\n </div>\r\n </div>\r\n\r\n @if (nav) {\r\n <div class=\"card-body card-nav\">\r\n <ng-content select=\"[navbar]\"></ng-content>\r\n </div>\r\n }\r\n\r\n <div class=\"card-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n </div>\r\n `,\r\n})\r\nexport class ChoDetailsCardComponent {\r\n @Input() title = '';\r\n\r\n @ContentChild('[toolbar]', { read: TemplateRef }) toolbar: TemplateRef<unknown> | null = null;\r\n @ContentChild('[navbar]', { read: TemplateRef }) nav: TemplateRef<unknown> | null = null;\r\n}\r\n","import { NgIf } from '@angular/common';\r\nimport { Component, Input } from '@angular/core';\r\nimport { DomSanitizer, SafeUrl } from '@angular/platform-browser';\r\nimport { IEmailInfo } from 'ngx-cho-common';\r\n\r\n\r\n@Component({\r\n selector: 'cho-email-info',\r\n template: `<ng-container *ngIf=\"email; else empty\"\r\n ><span *ngIf=\"email.emailTypeCode\">{{ email.emailTypeCode[0] }}: </span>\r\n <a [href]=\"sanitizedEmailLink\">{{ email.emailAddress }}</a>\r\n <small *ngIf=\"email.description\"> ({{ email.description }})</small></ng-container\r\n >\r\n <ng-template #empty><span>--</span></ng-template>`,\r\n standalone: true,\r\n imports: [NgIf],\r\n})\r\nexport class ChoEmailInfoComponent {\r\n @Input() email!: IEmailInfo;\r\n\r\n public sanitizedEmailLink: SafeUrl;\r\n\r\n constructor(private sanitizer: DomSanitizer) {\r\n this.sanitizedEmailLink = this.email?.emailAddress\r\n ? this.sanitizer.bypassSecurityTrustUrl(`mailto:${this.email.emailAddress}`)\r\n : '';\r\n }\r\n}\r\n","import { Component, ContentChild, Input, TemplateRef } from '@angular/core';\r\nimport { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'cho-modal',\r\n template: `\r\n <div class=\"modal-header\">\r\n <h2 id=\"modal-basic-title\" class=\"modal-title\">{{ title }}</h2>\r\n <button\r\n (click)=\"activeModal.dismiss()\"\r\n type=\"button\"\r\n class=\"btn btn-light py-1 px-3 fa-solid fa-x\"></button>\r\n </div>\r\n\r\n <div class=\"modal-body\">\r\n <ng-content></ng-content>\r\n </div>\r\n\r\n <div class=\"modal-footer\">\r\n <ng-content #footer select=\"[footer]\"></ng-content>\r\n </div>\r\n `,\r\n standalone: true,\r\n providers: [NgbActiveModal],\r\n})\r\nexport class ChoModalComponent {\r\n @Input()\r\n title!: string;\r\n\r\n @ContentChild('footer')\r\n filters: TemplateRef<unknown> | undefined;\r\n\r\n constructor(public readonly activeModal: NgbActiveModal) {}\r\n}\r\n","import { NgIf } from '@angular/common';\r\nimport { Component, Input } from '@angular/core';\r\nimport { IPhoneInfo } from 'ngx-cho-common';\r\n\r\n\r\n@Component({\r\n selector: 'cho-phone-info',\r\n template: ` <ng-container *ngIf=\"phone; else empty\"\r\n ><span *ngIf=\"phone.phoneTypeCode\">{{ phone.phoneTypeCode[0] }}: </span>\r\n {{ phone.phoneNumber }}\r\n <small *ngIf=\"phone.description\"> ({{ phone.description }})</small></ng-container\r\n >\r\n <ng-template #empty><span>--</span></ng-template>`,\r\n standalone: true,\r\n imports: [NgIf],\r\n})\r\nexport class ChoPhoneInfoComponent {\r\n @Input() phone!: IPhoneInfo;\r\n}\r\n","import { NgFor } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'cho-radio-group',\r\n template: `\r\n <div>\r\n <label class=\"form-label\">{{ label }}</label>\r\n <div *ngFor=\"let option of options\" class=\"form-check form-check-inline\">\r\n <input\r\n class=\"form-check-input\"\r\n type=\"radio\"\r\n [name]=\"groupName\"\r\n [value]=\"option.value\"\r\n [(ngModel)]=\"selectedOption\"\r\n (change)=\"emitSelection()\" />\r\n {{ option.label }}\r\n </div>\r\n </div>\r\n `,\r\n standalone: true,\r\n imports: [NgFor, FormsModule],\r\n})\r\nexport class ChoRadioGroupComponent<T> {\r\n @Input() label = '';\r\n @Input() options: { label: string; value: unknown }[] = [];\r\n @Input() groupName = '';\r\n @Input() defaultValue: T | null = null;\r\n\r\n @Output() selectionChange = new EventEmitter<T | null>();\r\n\r\n public selectedOption: T | null = this.defaultValue;\r\n\r\n public emitSelection() {\r\n if (this.selectedOption !== undefined) {\r\n this.selectionChange.emit(this.selectedOption);\r\n }\r\n }\r\n}\r\n","import { DatePipe, NgIf } from '@angular/common';\r\nimport { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'cho-review-status-alert',\r\n template: `\r\n <div class=\"alert alert-info\" *ngIf=\"reviewedDateTime\">\r\n Review completed by {{ reviewedBy }} on {{ reviewedDateTime | date : 'shortDate' }} at\r\n {{ reviewedDateTime | date : 'shortTime' }}.\r\n </div>\r\n `,\r\n standalone: true,\r\n imports: [NgIf, DatePipe],\r\n})\r\nexport class ChoReviewStatusAlertComponent {\r\n @Input() reviewedBy: string | undefined;\r\n @Input() reviewedDateTime: string | undefined;\r\n}\r\n","/*\r\n * Public API Surface of ngx-cho-components\r\n */\r\n\r\nexport * from './lib';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1"],"mappings":";;;;;;;;;MAmBa,uBAAuB,CAAA;+GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAvB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,EAbtB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;;;;;cASA,EAEA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,aAAa,kDAAE,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEpB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAfnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;AASA,aAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,IAAI,CAAC;AACjC,iBAAA,CAAA;8BAEY,OAAO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AA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA7B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,6BAA6B,EAT5B,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,yBAAA,EAAA,MAAA,EAAA,EAAA,UAAA,EAAA,YAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;;KAKT,EAES,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,wFAAE,QAAQ,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAEf,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAXzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,CAAA;;;;;AAKT,IAAA,CAAA;AACD,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC;AAC5B,iBAAA,CAAA;8BAEY,UAAU,EAAA,CAAA;sBAAlB,KAAK;gBACG,gBAAgB,EAAA,CAAA;sBAAxB,KAAK;;;AChBV;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class ChoDetailsCardComponent {
|
|
4
4
|
title: string;
|
|
5
5
|
toolbar: TemplateRef<unknown> | null;
|
|
6
|
+
nav: TemplateRef<unknown> | null;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChoDetailsCardComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ChoDetailsCardComponent, "cho-details-card", never, { "title": { "alias": "title"; "required": false; }; }, {}, ["toolbar"], ["[toolbar]", "*"], true, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ChoDetailsCardComponent, "cho-details-card", never, { "title": { "alias": "title"; "required": false; }; }, {}, ["toolbar", "nav"], ["[toolbar]", "[navbar]", "*"], true, never>;
|
|
8
9
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-cho-components",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.0",
|
|
6
6
|
"@angular/core": "^17.3.0",
|
|
7
7
|
"bootstrap": "^5.3.3",
|
|
8
|
-
"ngx-cho-common": "^1.0.
|
|
8
|
+
"ngx-cho-common": "^1.0.14",
|
|
9
9
|
"@ng-bootstrap/ng-bootstrap": "^17.0.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|