@amnex/ui-atoms 0.0.2
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 +63 -0
- package/fesm2022/amnex-ui-atoms.mjs +247 -0
- package/fesm2022/amnex-ui-atoms.mjs.map +1 -0
- package/index.d.ts +130 -0
- package/package.json +23 -0
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# UiAtoms
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build ui-atoms
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
```bash
|
|
35
|
+
cd dist/ui-atoms
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
+
```bash
|
|
40
|
+
npm publish
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Running unit tests
|
|
44
|
+
|
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng test
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Running end-to-end tests
|
|
52
|
+
|
|
53
|
+
For end-to-end (e2e) testing, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ng e2e
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
+
|
|
61
|
+
## Additional Resources
|
|
62
|
+
|
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, ViewEncapsulation, Component, EventEmitter, forwardRef, Output } from '@angular/core';
|
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
class AmnexButton {
|
|
8
|
+
type = 'button';
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexButton, isStandalone: true, selector: "amnex-button", inputs: { type: "type" }, ngImport: i0, template: "<button [type]=\"type\"><ng-content></ng-content></button>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexButton, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'amnex-button', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<button [type]=\"type\"><ng-content></ng-content></button>" }]
|
|
15
|
+
}], propDecorators: { type: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}] } });
|
|
18
|
+
|
|
19
|
+
class AmnexFile {
|
|
20
|
+
accept = '*'; // Kaunsi files allow karni hain (e.g. '.pdf,.png')
|
|
21
|
+
fileSelected = new EventEmitter();
|
|
22
|
+
onFileChange(event) {
|
|
23
|
+
const files = event.target.files;
|
|
24
|
+
if (files.length > 0) {
|
|
25
|
+
this.fileSelected.emit(files);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexFile, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexFile, isStandalone: true, selector: "amnex-file", inputs: { accept: "accept" }, outputs: { fileSelected: "fileSelected" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexFile), multi: true }], ngImport: i0, template: "<input \r\n type=\"file\" \r\n [accept]=\"accept\" \r\n (change)=\"onFileChange($event)\">", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
30
|
+
}
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexFile, decorators: [{
|
|
32
|
+
type: Component,
|
|
33
|
+
args: [{ selector: 'amnex-file', standalone: true, encapsulation: ViewEncapsulation.None, imports: [], providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexFile), multi: true }], template: "<input \r\n type=\"file\" \r\n [accept]=\"accept\" \r\n (change)=\"onFileChange($event)\">" }]
|
|
34
|
+
}], propDecorators: { accept: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], fileSelected: [{
|
|
37
|
+
type: Output
|
|
38
|
+
}] } });
|
|
39
|
+
|
|
40
|
+
class AmnexForm {
|
|
41
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexForm, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
42
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexForm, isStandalone: true, selector: "amnex-form", ngImport: i0, template: "<form><ng-content></ng-content></form>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
43
|
+
}
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexForm, decorators: [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'amnex-form', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<form><ng-content></ng-content></form>" }]
|
|
47
|
+
}] });
|
|
48
|
+
|
|
49
|
+
class AmnexInput {
|
|
50
|
+
type = 'text';
|
|
51
|
+
placeholder = '';
|
|
52
|
+
value = '';
|
|
53
|
+
onChange = (v) => { };
|
|
54
|
+
onTouched = () => { };
|
|
55
|
+
writeValue(val) {
|
|
56
|
+
this.value = val || '';
|
|
57
|
+
}
|
|
58
|
+
registerOnChange(fn) {
|
|
59
|
+
this.onChange = fn;
|
|
60
|
+
}
|
|
61
|
+
registerOnTouched(fn) {
|
|
62
|
+
this.onTouched = fn;
|
|
63
|
+
}
|
|
64
|
+
onInput(e) {
|
|
65
|
+
this.value = e.target.value;
|
|
66
|
+
this.onChange(this.value);
|
|
67
|
+
}
|
|
68
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
69
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexInput, isStandalone: true, selector: "amnex-input", inputs: { type: "type", placeholder: "placeholder" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexInput), multi: true }], ngImport: i0, template: "<input [type]=\"type\" \r\n[placeholder]=\"placeholder\" \r\n[value]=\"value\" \r\n(input)=\"onInput($event)\" \r\n(blur)=\"onTouched()\">\r\n", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
70
|
+
}
|
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexInput, decorators: [{
|
|
72
|
+
type: Component,
|
|
73
|
+
args: [{ selector: 'amnex-input', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexInput), multi: true }], template: "<input [type]=\"type\" \r\n[placeholder]=\"placeholder\" \r\n[value]=\"value\" \r\n(input)=\"onInput($event)\" \r\n(blur)=\"onTouched()\">\r\n" }]
|
|
74
|
+
}], propDecorators: { type: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], placeholder: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}] } });
|
|
79
|
+
|
|
80
|
+
class AmnexLabel {
|
|
81
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexLabel, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
82
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexLabel, isStandalone: true, selector: "amnex-label", ngImport: i0, template: "<label><ng-content></ng-content></label>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
83
|
+
}
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexLabel, decorators: [{
|
|
85
|
+
type: Component,
|
|
86
|
+
args: [{ selector: 'amnex-label', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<label><ng-content></ng-content></label>" }]
|
|
87
|
+
}] });
|
|
88
|
+
|
|
89
|
+
class AmnexH1 {
|
|
90
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH1, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
91
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexH1, isStandalone: true, selector: "amnex-h1", ngImport: i0, template: "<h1><ng-content></ng-content></h1>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
92
|
+
}
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH1, decorators: [{
|
|
94
|
+
type: Component,
|
|
95
|
+
args: [{ selector: 'amnex-h1', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<h1><ng-content></ng-content></h1>" }]
|
|
96
|
+
}] });
|
|
97
|
+
|
|
98
|
+
class AmnexH2 {
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH2, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexH2, isStandalone: true, selector: "amnex-h2", ngImport: i0, template: "<h2> <ng-content></ng-content></h2>\r\n", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
101
|
+
}
|
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH2, decorators: [{
|
|
103
|
+
type: Component,
|
|
104
|
+
args: [{ selector: 'amnex-h2', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<h2> <ng-content></ng-content></h2>\r\n" }]
|
|
105
|
+
}] });
|
|
106
|
+
|
|
107
|
+
class AmnexH3 {
|
|
108
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH3, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
109
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexH3, isStandalone: true, selector: "amnex-h3", ngImport: i0, template: "<h3><ng-content></ng-content></h3>\r\n", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
110
|
+
}
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH3, decorators: [{
|
|
112
|
+
type: Component,
|
|
113
|
+
args: [{ selector: 'amnex-h3', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<h3><ng-content></ng-content></h3>\r\n" }]
|
|
114
|
+
}] });
|
|
115
|
+
|
|
116
|
+
class AmnexH4 {
|
|
117
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH4, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexH4, isStandalone: true, selector: "amnex-h4", ngImport: i0, template: "<h4><ng-content></ng-content></h4>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
119
|
+
}
|
|
120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH4, decorators: [{
|
|
121
|
+
type: Component,
|
|
122
|
+
args: [{ selector: 'amnex-h4', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<h4><ng-content></ng-content></h4>" }]
|
|
123
|
+
}] });
|
|
124
|
+
|
|
125
|
+
class AmnexH5 {
|
|
126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH5, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
127
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexH5, isStandalone: true, selector: "amnex-h5", ngImport: i0, template: "<h5><ng-content></ng-content></h5>\r\n", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
128
|
+
}
|
|
129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH5, decorators: [{
|
|
130
|
+
type: Component,
|
|
131
|
+
args: [{ selector: 'amnex-h5', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<h5><ng-content></ng-content></h5>\r\n" }]
|
|
132
|
+
}] });
|
|
133
|
+
|
|
134
|
+
class AmnexH6 {
|
|
135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH6, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexH6, isStandalone: true, selector: "amnex-h6", ngImport: i0, template: "<h6><ng-content></ng-content></h6>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
137
|
+
}
|
|
138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexH6, decorators: [{
|
|
139
|
+
type: Component,
|
|
140
|
+
args: [{ selector: 'amnex-h6', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<h6><ng-content></ng-content></h6>" }]
|
|
141
|
+
}] });
|
|
142
|
+
|
|
143
|
+
class AmnexP {
|
|
144
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexP, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
145
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexP, isStandalone: true, selector: "amnex-p", ngImport: i0, template: "<p><ng-content></ng-content></p>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
146
|
+
}
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexP, decorators: [{
|
|
148
|
+
type: Component,
|
|
149
|
+
args: [{ selector: 'amnex-p', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<p><ng-content></ng-content></p>" }]
|
|
150
|
+
}] });
|
|
151
|
+
|
|
152
|
+
class AmnexRadio {
|
|
153
|
+
options = [];
|
|
154
|
+
name = 'radio-group';
|
|
155
|
+
value;
|
|
156
|
+
onChange = (v) => { };
|
|
157
|
+
onTouched = () => { };
|
|
158
|
+
writeValue(v) { this.value = v; }
|
|
159
|
+
registerOnChange(fn) { this.onChange = fn; }
|
|
160
|
+
registerOnTouched(fn) { this.onTouched = fn; }
|
|
161
|
+
onInput(val) { this.value = val; this.onChange(val); }
|
|
162
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexRadio, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
163
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexRadio, isStandalone: true, selector: "amnex-radio", inputs: { options: "options", name: "name" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexRadio), multi: true }], ngImport: i0, template: "<div *ngFor=\"let opt of options\">\r\n <input type=\"radio\" [name]=\"name\" [value]=\"opt.value\" [checked]=\"value === opt.value\" (change)=\"onInput(opt.value)\">\r\n <span>{{opt.label}}</span>\r\n </div>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
164
|
+
}
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexRadio, decorators: [{
|
|
166
|
+
type: Component,
|
|
167
|
+
args: [{ selector: 'amnex-radio', standalone: true, imports: [CommonModule], encapsulation: ViewEncapsulation.None, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexRadio), multi: true }], template: "<div *ngFor=\"let opt of options\">\r\n <input type=\"radio\" [name]=\"name\" [value]=\"opt.value\" [checked]=\"value === opt.value\" (change)=\"onInput(opt.value)\">\r\n <span>{{opt.label}}</span>\r\n </div>" }]
|
|
168
|
+
}], propDecorators: { options: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], name: [{
|
|
171
|
+
type: Input
|
|
172
|
+
}] } });
|
|
173
|
+
|
|
174
|
+
class AmnexSelect {
|
|
175
|
+
options = [];
|
|
176
|
+
placeholder = 'Select';
|
|
177
|
+
value = '';
|
|
178
|
+
onChange = (v) => { };
|
|
179
|
+
onTouched = () => { };
|
|
180
|
+
writeValue(v) { this.value = v; }
|
|
181
|
+
registerOnChange(fn) { this.onChange = fn; }
|
|
182
|
+
registerOnTouched(fn) { this.onTouched = fn; }
|
|
183
|
+
onInput(e) {
|
|
184
|
+
this.value = e.target.value;
|
|
185
|
+
this.onChange(this.value);
|
|
186
|
+
}
|
|
187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexSelect, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
188
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexSelect, isStandalone: true, selector: "amnex-select", inputs: { options: "options", placeholder: "placeholder" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexSelect), multi: true }], ngImport: i0, template: "<select\r\n [value]=\"value\"\r\n (change)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n<option value=\"\" disabled>{{placeholder}}</option>\r\n<option *ngFor=\"let opt of options\" [value]=\"opt.value\">{{opt.label}}</select>\r\n", styles: ["amnex-select{display:block;width:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
189
|
+
}
|
|
190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexSelect, decorators: [{
|
|
191
|
+
type: Component,
|
|
192
|
+
args: [{ selector: 'amnex-select', standalone: true, imports: [CommonModule], encapsulation: ViewEncapsulation.None, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexSelect), multi: true }], template: "<select\r\n [value]=\"value\"\r\n (change)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n<option value=\"\" disabled>{{placeholder}}</option>\r\n<option *ngFor=\"let opt of options\" [value]=\"opt.value\">{{opt.label}}</select>\r\n", styles: ["amnex-select{display:block;width:100%}\n"] }]
|
|
193
|
+
}], propDecorators: { options: [{
|
|
194
|
+
type: Input
|
|
195
|
+
}], placeholder: [{
|
|
196
|
+
type: Input
|
|
197
|
+
}] } });
|
|
198
|
+
|
|
199
|
+
class AmnexTextarea {
|
|
200
|
+
placeholder = '';
|
|
201
|
+
value = '';
|
|
202
|
+
onChange = (v) => { };
|
|
203
|
+
onTouched = () => { };
|
|
204
|
+
writeValue(val) { this.value = val || ''; }
|
|
205
|
+
registerOnChange(fn) { this.onChange = fn; }
|
|
206
|
+
registerOnTouched(fn) { this.onTouched = fn; }
|
|
207
|
+
onInput(e) {
|
|
208
|
+
this.value = e.target.value;
|
|
209
|
+
this.onChange(this.value);
|
|
210
|
+
}
|
|
211
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexTextarea, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
212
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: AmnexTextarea, isStandalone: true, selector: "amnex-textarea", inputs: { placeholder: "placeholder" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexTextarea), multi: true }], ngImport: i0, template: "<textarea \r\n [placeholder]=\"placeholder\" \r\n [value]=\"value\" \r\n (input)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n </textarea>", styles: [""], encapsulation: i0.ViewEncapsulation.None });
|
|
213
|
+
}
|
|
214
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: AmnexTextarea, decorators: [{
|
|
215
|
+
type: Component,
|
|
216
|
+
args: [{ selector: 'amnex-textarea', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexTextarea), multi: true }], template: "<textarea \r\n [placeholder]=\"placeholder\" \r\n [value]=\"value\" \r\n (input)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n </textarea>" }]
|
|
217
|
+
}], propDecorators: { placeholder: [{
|
|
218
|
+
type: Input
|
|
219
|
+
}] } });
|
|
220
|
+
|
|
221
|
+
class UiAtoms {
|
|
222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UiAtoms, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
223
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: UiAtoms, isStandalone: true, selector: "lib-ui-atoms", ngImport: i0, template: `
|
|
224
|
+
<p>
|
|
225
|
+
ui-atoms works!
|
|
226
|
+
</p>
|
|
227
|
+
`, isInline: true, styles: [""] });
|
|
228
|
+
}
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: UiAtoms, decorators: [{
|
|
230
|
+
type: Component,
|
|
231
|
+
args: [{ selector: 'lib-ui-atoms', imports: [], template: `
|
|
232
|
+
<p>
|
|
233
|
+
ui-atoms works!
|
|
234
|
+
</p>
|
|
235
|
+
` }]
|
|
236
|
+
}] });
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* Public API Surface of ui-atoms
|
|
240
|
+
*/
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Generated bundle index. Do not edit.
|
|
244
|
+
*/
|
|
245
|
+
|
|
246
|
+
export { AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea, UiAtoms };
|
|
247
|
+
//# sourceMappingURL=amnex-ui-atoms.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"amnex-ui-atoms.mjs","sources":["../../../../projects/amnex/ui-atoms/src/lib/amnex-button/amnex-button.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-button/amnex-button.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-file/amnex-file.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-file/amnex-file.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-form/amnex-form.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-form/amnex-form.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-input/amnex-input.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-input/amnex-input.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-label/amnex-label.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-label/amnex-label.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h1/amnex-h1.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h1/amnex-h1.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h2/amnex-h2.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h2/amnex-h2.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h3/amnex-h3.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h3/amnex-h3.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h4/amnex-h4.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h4/amnex-h4.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h5/amnex-h5.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h5/amnex-h5.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-h6/amnex-h6.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-h6/amnex-h6.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-p/amnex-p.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-p/amnex-p.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-radio/amnex-radio.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-radio/amnex-radio.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-select/amnex-select.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-select/amnex-select.html","../../../../projects/amnex/ui-atoms/src/lib/amnex-textarea/amnex-textarea.ts","../../../../projects/amnex/ui-atoms/src/lib/amnex-textarea/amnex-textarea.html","../../../../projects/amnex/ui-atoms/src/lib/ui-atoms.ts","../../../../projects/amnex/ui-atoms/src/public-api.ts","../../../../projects/amnex/ui-atoms/src/amnex-ui-atoms.ts"],"sourcesContent":["import { Component ,Input,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-button',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-button.html',\r\n styleUrl: './amnex-button.css',\r\n encapsulation: ViewEncapsulation.None,\r\n \r\n})\r\nexport class AmnexButton {\r\n\r\n\r\n @Input() type: 'button' | 'submit' | 'reset' = 'button';\r\n}\r\n","<button [type]=\"type\"><ng-content></ng-content></button>","import { Component,forwardRef,Input, ViewEncapsulation ,Output,EventEmitter} from '@angular/core';\r\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-file',\r\n standalone:true,\r\n encapsulation: ViewEncapsulation.None,\r\n imports: [],\r\n templateUrl: './amnex-file.html',\r\n styleUrl: './amnex-file.css',\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexFile ), multi: true }],\r\n\r\n})\r\nexport class AmnexFile {\r\n\r\n\r\n @Input() accept = '*'; // Kaunsi files allow karni hain (e.g. '.pdf,.png')\r\n @Output() fileSelected = new EventEmitter<File | FileList>();\r\n\r\n onFileChange(event: any) {\r\n const files = event.target.files;\r\n if (files.length > 0) {\r\n this.fileSelected.emit(files);\r\n }\r\n }\r\n}\r\n","<input \r\n type=\"file\" \r\n [accept]=\"accept\" \r\n (change)=\"onFileChange($event)\">","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-form',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-form.html',\r\n styleUrl: './amnex-form.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexForm {\r\n\r\n}\r\n","<form><ng-content></ng-content></form>","import { Component, forwardRef ,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-input',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-input.html',\r\n styleUrl: './amnex-input.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexInput), multi: true }],\r\n})\r\nexport class AmnexInput implements ControlValueAccessor{\r\n @Input() type ='text';\r\n @Input() placeholder ='';\r\n\r\n value : any ='';\r\n onChange=(v:any)=>{};\r\n onTouched =()=>{};\r\n\r\n writeValue(val: any): void {\r\n this.value = val || '';\r\n }\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n onInput(e:any){\r\n this.value= e.target.value;\r\n\r\n this.onChange(this.value);\r\n }\r\n\r\n\r\n}\r\n","<input [type]=\"type\" \r\n[placeholder]=\"placeholder\" \r\n[value]=\"value\" \r\n(input)=\"onInput($event)\" \r\n(blur)=\"onTouched()\">\r\n","import { Component , ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-label',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-label.html',\r\n styleUrl: './amnex-label.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexLabel {\r\n\r\n}\r\n","<label><ng-content></ng-content></label>","import { Component ,ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h1',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h1.html',\r\n styleUrl: './amnex-h1.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH1 {\r\n\r\n}\r\n","<h1><ng-content></ng-content></h1>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h2',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h2.html',\r\n styleUrl: './amnex-h2.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH2 {\r\n\r\n}\r\n","<h2> <ng-content></ng-content></h2>\r\n","import { Component , ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h3',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h3.html',\r\n styleUrl: './amnex-h3.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH3 {\r\n\r\n}\r\n","<h3><ng-content></ng-content></h3>\r\n","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h4',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h4.html',\r\n styleUrl: './amnex-h4.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH4 {\r\n\r\n}\r\n","<h4><ng-content></ng-content></h4>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h5',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h5.html',\r\n styleUrl: './amnex-h5.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH5 {\r\n\r\n}\r\n","<h5><ng-content></ng-content></h5>\r\n","import { Component ,ViewEncapsulation} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-h6',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-h6.html',\r\n styleUrl: './amnex-h6.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexH6 {\r\n\r\n}\r\n","<h6><ng-content></ng-content></h6>","import { Component ,ViewEncapsulation } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'amnex-p',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-p.html',\r\n styleUrl: './amnex-p.css',\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AmnexP {\r\n\r\n}\r\n","<p><ng-content></ng-content></p>","import { CommonModule } from '@angular/common';\r\nimport { Component ,forwardRef,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-radio',\r\n standalone:true,\r\n imports: [CommonModule],\r\n encapsulation: ViewEncapsulation.None,\r\n templateUrl: './amnex-radio.html',\r\n styleUrl: './amnex-radio.css',\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexRadio), multi: true }],\r\n\r\n})\r\nexport class AmnexRadio implements ControlValueAccessor{\r\n @Input() options: {label: string, value: any}[] = [];\r\n @Input() name = 'radio-group';\r\n value: any;\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n writeValue(v: any) { this.value = v; }\r\n registerOnChange(fn: any) { this.onChange = fn; }\r\n registerOnTouched(fn: any) { this.onTouched = fn; }\r\n onInput(val: any) { this.value = val; this.onChange(val); }\r\n}\r\n","<div *ngFor=\"let opt of options\">\r\n <input type=\"radio\" [name]=\"name\" [value]=\"opt.value\" [checked]=\"value === opt.value\" (change)=\"onInput(opt.value)\">\r\n <span>{{opt.label}}</span>\r\n </div>","import { CommonModule } from '@angular/common';\r\nimport { Component ,forwardRef,Input ,ViewEncapsulation } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-select',\r\n standalone:true,\r\n imports: [CommonModule],\r\n templateUrl: './amnex-select.html',\r\n styleUrl: './amnex-select.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexSelect), multi: true }],\r\n})\r\nexport class AmnexSelect implements ControlValueAccessor\r\n{\r\n @Input() options: {label: string, value: any}[] = [];\r\n @Input() placeholder = 'Select';\r\n value: any = '';\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n writeValue(v: any) { this.value = v; }\r\n registerOnChange(fn: any) { this.onChange = fn; }\r\n registerOnTouched(fn: any) { this.onTouched = fn; }\r\n onInput(e: any) { this.value = e.target.value; this.onChange(this.value);\r\n }\r\n\r\n}\r\n","<select\r\n [value]=\"value\"\r\n (change)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n<option value=\"\" disabled>{{placeholder}}</option>\r\n<option *ngFor=\"let opt of options\" [value]=\"opt.value\">{{opt.label}}</select>\r\n","import { Component ,forwardRef,Input ,ViewEncapsulation} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'amnex-textarea',\r\n standalone:true,\r\n imports: [],\r\n templateUrl: './amnex-textarea.html',\r\n styleUrl: './amnex-textarea.css',\r\n encapsulation: ViewEncapsulation.None,\r\n providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AmnexTextarea), multi: true }],\r\n})\r\nexport class AmnexTextarea implements ControlValueAccessor {\r\n @Input() placeholder = '';\r\n value: any = '';\r\n\r\n onChange = (v: any) => {};\r\n onTouched = () => {};\r\n\r\n writeValue(val: any): void { this.value = val || ''; }\r\n registerOnChange(fn: any): void { this.onChange = fn; }\r\n registerOnTouched(fn: any): void { this.onTouched = fn; }\r\n\r\n onInput(e: any) {\r\n this.value = e.target.value;\r\n this.onChange(this.value);\r\n }\r\n \r\n\r\n}\r\n","<textarea \r\n [placeholder]=\"placeholder\" \r\n [value]=\"value\" \r\n (input)=\"onInput($event)\" \r\n (blur)=\"onTouched()\">\r\n </textarea>","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-ui-atoms',\r\n imports: [],\r\n template: `\r\n <p>\r\n ui-atoms works!\r\n </p>\r\n `,\r\n styles: ``,\r\n})\r\nexport class UiAtoms {\r\n\r\n}\r\n","/*\r\n * Public API Surface of ui-atoms\r\n */\r\nexport * from './lib/amnex-button/amnex-button';\r\nexport * from './lib/amnex-file/amnex-file';\r\nexport * from './lib/amnex-form/amnex-form';\r\nexport * from './lib/amnex-input/amnex-input';\r\nexport * from './lib/amnex-label/amnex-label';\r\nexport * from './lib/amnex-h1/amnex-h1';\r\nexport * from './lib/amnex-h2/amnex-h2';\r\nexport * from './lib/amnex-h3/amnex-h3';\r\nexport * from './lib/amnex-h4/amnex-h4';\r\nexport * from './lib/amnex-h5/amnex-h5';\r\nexport * from './lib/amnex-h6/amnex-h6';\r\nexport * from './lib/amnex-p/amnex-p';\r\nexport * from './lib/amnex-radio/amnex-radio';\r\nexport * from './lib/amnex-select/amnex-select';\r\nexport * from './lib/amnex-textarea/amnex-textarea';\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nexport * from './lib/ui-atoms';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAWa,WAAW,CAAA;IAGb,IAAI,GAAkC,QAAQ;wGAH5C,WAAW,EAAA,IAAA,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EAAA,IAAA,EAAA,OAAO,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAPR,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA;;4FAGU,OAAO,EAAA,UAAA,EAAA,CAAA;kBAVnB,SAAS;+BACE,cAAc,EAAA,OAAA,EACf,EAAE,EAAA,QAAA,EACD,CAAA;;;;AAIT,EAAA,CAAA,EAAA;;;ACTH;;AAEG;;ACFH;;AAEG;;;;"}
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
+
|
|
5
|
+
declare class AmnexButton {
|
|
6
|
+
type: 'button' | 'submit' | 'reset';
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexButton, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexButton, "amnex-button", never, { "type": { "alias": "type"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare class AmnexFile {
|
|
12
|
+
accept: string;
|
|
13
|
+
fileSelected: EventEmitter<File | FileList>;
|
|
14
|
+
onFileChange(event: any): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexFile, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexFile, "amnex-file", never, { "accept": { "alias": "accept"; "required": false; }; }, { "fileSelected": "fileSelected"; }, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class AmnexForm {
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexForm, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexForm, "amnex-form", never, {}, {}, never, ["*"], true, never>;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare class AmnexInput implements ControlValueAccessor {
|
|
25
|
+
type: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
value: any;
|
|
28
|
+
onChange: (v: any) => void;
|
|
29
|
+
onTouched: () => void;
|
|
30
|
+
writeValue(val: any): void;
|
|
31
|
+
registerOnChange(fn: any): void;
|
|
32
|
+
registerOnTouched(fn: any): void;
|
|
33
|
+
onInput(e: any): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexInput, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexInput, "amnex-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare class AmnexLabel {
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexLabel, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexLabel, "amnex-label", never, {}, {}, never, ["*"], true, never>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare class AmnexH1 {
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexH1, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexH1, "amnex-h1", never, {}, {}, never, ["*"], true, never>;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class AmnexH2 {
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexH2, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexH2, "amnex-h2", never, {}, {}, never, ["*"], true, never>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare class AmnexH3 {
|
|
54
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexH3, never>;
|
|
55
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexH3, "amnex-h3", never, {}, {}, never, ["*"], true, never>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare class AmnexH4 {
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexH4, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexH4, "amnex-h4", never, {}, {}, never, ["*"], true, never>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
declare class AmnexH5 {
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexH5, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexH5, "amnex-h5", never, {}, {}, never, ["*"], true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
declare class AmnexH6 {
|
|
69
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexH6, never>;
|
|
70
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexH6, "amnex-h6", never, {}, {}, never, ["*"], true, never>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare class AmnexP {
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexP, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexP, "amnex-p", never, {}, {}, never, ["*"], true, never>;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare class AmnexRadio implements ControlValueAccessor {
|
|
79
|
+
options: {
|
|
80
|
+
label: string;
|
|
81
|
+
value: any;
|
|
82
|
+
}[];
|
|
83
|
+
name: string;
|
|
84
|
+
value: any;
|
|
85
|
+
onChange: (v: any) => void;
|
|
86
|
+
onTouched: () => void;
|
|
87
|
+
writeValue(v: any): void;
|
|
88
|
+
registerOnChange(fn: any): void;
|
|
89
|
+
registerOnTouched(fn: any): void;
|
|
90
|
+
onInput(val: any): void;
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexRadio, never>;
|
|
92
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexRadio, "amnex-radio", never, { "options": { "alias": "options"; "required": false; }; "name": { "alias": "name"; "required": false; }; }, {}, never, never, true, never>;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
declare class AmnexSelect implements ControlValueAccessor {
|
|
96
|
+
options: {
|
|
97
|
+
label: string;
|
|
98
|
+
value: any;
|
|
99
|
+
}[];
|
|
100
|
+
placeholder: string;
|
|
101
|
+
value: any;
|
|
102
|
+
onChange: (v: any) => void;
|
|
103
|
+
onTouched: () => void;
|
|
104
|
+
writeValue(v: any): void;
|
|
105
|
+
registerOnChange(fn: any): void;
|
|
106
|
+
registerOnTouched(fn: any): void;
|
|
107
|
+
onInput(e: any): void;
|
|
108
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexSelect, never>;
|
|
109
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexSelect, "amnex-select", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
declare class AmnexTextarea implements ControlValueAccessor {
|
|
113
|
+
placeholder: string;
|
|
114
|
+
value: any;
|
|
115
|
+
onChange: (v: any) => void;
|
|
116
|
+
onTouched: () => void;
|
|
117
|
+
writeValue(val: any): void;
|
|
118
|
+
registerOnChange(fn: any): void;
|
|
119
|
+
registerOnTouched(fn: any): void;
|
|
120
|
+
onInput(e: any): void;
|
|
121
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AmnexTextarea, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AmnexTextarea, "amnex-textarea", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, never, true, never>;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
declare class UiAtoms {
|
|
126
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiAtoms, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiAtoms, "lib-ui-atoms", never, {}, {}, never, never, true, never>;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export { AmnexButton, AmnexFile, AmnexForm, AmnexH1, AmnexH2, AmnexH3, AmnexH4, AmnexH5, AmnexH6, AmnexInput, AmnexLabel, AmnexP, AmnexRadio, AmnexSelect, AmnexTextarea, UiAtoms };
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@amnex/ui-atoms",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"peerDependencies": {
|
|
5
|
+
"@angular/common": "^20.3.0",
|
|
6
|
+
"@angular/core": "^20.3.0"
|
|
7
|
+
},
|
|
8
|
+
"dependencies": {
|
|
9
|
+
"tslib": "^2.3.0"
|
|
10
|
+
},
|
|
11
|
+
"sideEffects": false,
|
|
12
|
+
"module": "fesm2022/amnex-ui-atoms.mjs",
|
|
13
|
+
"typings": "index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
"./package.json": {
|
|
16
|
+
"default": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./index.d.ts",
|
|
20
|
+
"default": "./fesm2022/amnex-ui-atoms.mjs"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|