primekit 0.0.12 → 0.0.13
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/esm2022/lib/lib/atomix-card/atomix-card.component.mjs +24 -0
- package/esm2022/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.mjs +36 -0
- package/esm2022/lib/lib/atomix-input/atomix-input.component.mjs +67 -0
- package/esm2022/lib/primekit.module.mjs +16 -16
- package/esm2022/public-api.mjs +4 -4
- package/fesm2022/primekit.mjs +28 -28
- package/fesm2022/primekit.mjs.map +1 -1
- package/lib/lib/atomix-card/atomix-card.component.d.ts +9 -0
- package/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.d.ts +15 -0
- package/lib/lib/atomix-input/atomix-input.component.d.ts +23 -0
- package/lib/primekit.module.d.ts +4 -4
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
- package/esm2022/lib/lib/p-card/p-card.component.mjs +0 -24
- package/esm2022/lib/lib/p-confirmation-dialog/p-confirmation-dialog.component.mjs +0 -36
- package/esm2022/lib/lib/p-input/p-input.component.mjs +0 -67
- package/lib/lib/p-card/p-card.component.d.ts +0 -9
- package/lib/lib/p-confirmation-dialog/p-confirmation-dialog.component.d.ts +0 -15
- package/lib/lib/p-input/p-input.component.d.ts +0 -23
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "primeng/card";
|
|
4
|
+
export class AtomixCardComponent {
|
|
5
|
+
header;
|
|
6
|
+
footer;
|
|
7
|
+
content;
|
|
8
|
+
class;
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixCardComponent, selector: "atomix-card", inputs: { header: "header", footer: "footer", content: "content", class: "class" }, ngImport: i0, template: "<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n", styles: ["::ng-deep .p-card{box-shadow:0 2px 4px #0000001a;border-radius:12px}\n"], dependencies: [{ kind: "component", type: i1.Card, selector: "p-card", inputs: ["header", "subheader", "style", "styleClass"] }] });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCardComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'atomix-card', template: "<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n", styles: ["::ng-deep .p-card{box-shadow:0 2px 4px #0000001a;border-radius:12px}\n"] }]
|
|
15
|
+
}], propDecorators: { header: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}], footer: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}], content: [{
|
|
20
|
+
type: Input
|
|
21
|
+
}], class: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbWl4LWNhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvYXRvbWl4LWNhcmQvYXRvbWl4LWNhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvYXRvbWl4LWNhcmQvYXRvbWl4LWNhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7OztBQU9qRCxNQ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@angular/core";
|
|
3
|
+
import * as i1 from "primeng/button";
|
|
4
|
+
import * as i2 from "primeng/dialog";
|
|
5
|
+
export class AtomixConfirmationDialogComponent {
|
|
6
|
+
header = '';
|
|
7
|
+
message = '';
|
|
8
|
+
dialogVisible = false;
|
|
9
|
+
constructor() { }
|
|
10
|
+
onConfirm = new EventEmitter();
|
|
11
|
+
onYesClick() {
|
|
12
|
+
this.onConfirm.emit({
|
|
13
|
+
confirmation: true,
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
onNoClick() {
|
|
17
|
+
this.onConfirm.emit({
|
|
18
|
+
confirmation: false,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixConfirmationDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixConfirmationDialogComponent, selector: "atomix-confirmation-dialog", inputs: { header: "header", message: "message", dialogVisible: "dialogVisible" }, outputs: { onConfirm: "onConfirm" }, ngImport: i0, template: "<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n", styles: [".action-button-container{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem}@media (max-width: 768px){.dialog-width{width:95%!important}}\n"], dependencies: [{ kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i2.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] });
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixConfirmationDialogComponent, decorators: [{
|
|
25
|
+
type: Component,
|
|
26
|
+
args: [{ selector: 'atomix-confirmation-dialog', template: "<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n", styles: [".action-button-container{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem}@media (max-width: 768px){.dialog-width{width:95%!important}}\n"] }]
|
|
27
|
+
}], ctorParameters: () => [], propDecorators: { header: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], message: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}], dialogVisible: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], onConfirm: [{
|
|
34
|
+
type: Output
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbWl4LWNvbmZpcm1hdGlvbi1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvYXRvbWl4LWNvbmZpcm1hdGlvbi1kaWFsb2cvYXRvbWl4LWNvbmZpcm1hdGlvbi1kaWFsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvYXRvbWl4LWNvbmZpcm1hdGlvbi1kaWFsb2cvYXRvbWl4LWNvbmZpcm1hdGlvbi1kaWFsb2cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQU92RSxNQUFNLE9BQU8saUNBQWlDO0lBQ25DLE1BQU0sR0FBVyxFQUFFLENBQUM7SUFDcEIsT0FBTyxHQUFXLEVBQUUsQ0FBQztJQUNyQixhQUFhLEdBQVksS0FBSyxDQUFDO0lBQ3hDLGdCQUFlLENBQUM7SUFDTixTQUFTLEdBQUcsSUFBSSxZQUFZLEVBQTZCLENBQUM7SUFDcEUsVUFBVTtRQUNSLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDO1lBQ2xCLFlBQVksRUFBRSxJQUFJO1NBQ25CLENBQUMsQ0FBQztJQUNMLENBQU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uWWVzQ2xpY2soKVwiPlllczwvYnV0dG9uPlxuICA8L2Rpdj5cbjwvcC1kaWFsb2c+XG4iXX0=
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "primeng/inputtext";
|
|
5
|
+
export class AtomixInputComponent {
|
|
6
|
+
value = '';
|
|
7
|
+
name = '';
|
|
8
|
+
type = 'text';
|
|
9
|
+
placeholder = '';
|
|
10
|
+
valueChange = new EventEmitter();
|
|
11
|
+
withIcon = false;
|
|
12
|
+
iconName = '';
|
|
13
|
+
containerClass = '';
|
|
14
|
+
class = '';
|
|
15
|
+
disabled = false;
|
|
16
|
+
isCrossRequired = true;
|
|
17
|
+
label = '';
|
|
18
|
+
isLabelRequired = false;
|
|
19
|
+
changeValueHandler = new EventEmitter();
|
|
20
|
+
onInput(event) {
|
|
21
|
+
const input = event.target;
|
|
22
|
+
this.value = input.value;
|
|
23
|
+
this.changeValueHandler.emit(this.value);
|
|
24
|
+
}
|
|
25
|
+
onEnter() {
|
|
26
|
+
this.valueChange.emit(this.value);
|
|
27
|
+
}
|
|
28
|
+
clearValue() {
|
|
29
|
+
this.value = '';
|
|
30
|
+
this.onEnter();
|
|
31
|
+
}
|
|
32
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixInputComponent, selector: "atomix-input", inputs: { value: "value", name: "name", type: "type", placeholder: "placeholder", withIcon: "withIcon", iconName: "iconName", containerClass: "containerClass", class: "class", disabled: "disabled", isCrossRequired: "isCrossRequired", label: "label", isLabelRequired: "isLabelRequired" }, outputs: { valueChange: "valueChange", changeValueHandler: "changeValueHandler" }, ngImport: i0, template: "<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n [id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class + ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n", styles: [".lib-error-asterisk{color:red}.filter-dropdown-icon{position:absolute;top:50%;padding-left:.8rem;transform:translateY(-50%);z-index:1;pointer-events:none}::ng-deep .lib-input-field{border-radius:30px;margin-top:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.InputText, selector: "[pInputText]", inputs: ["variant"] }] });
|
|
34
|
+
}
|
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixInputComponent, decorators: [{
|
|
36
|
+
type: Component,
|
|
37
|
+
args: [{ selector: 'atomix-input', template: "<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n [id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class + ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n", styles: [".lib-error-asterisk{color:red}.filter-dropdown-icon{position:absolute;top:50%;padding-left:.8rem;transform:translateY(-50%);z-index:1;pointer-events:none}::ng-deep .lib-input-field{border-radius:30px;margin-top:.5rem}\n"] }]
|
|
38
|
+
}], propDecorators: { value: [{
|
|
39
|
+
type: Input
|
|
40
|
+
}], name: [{
|
|
41
|
+
type: Input
|
|
42
|
+
}], type: [{
|
|
43
|
+
type: Input
|
|
44
|
+
}], placeholder: [{
|
|
45
|
+
type: Input
|
|
46
|
+
}], valueChange: [{
|
|
47
|
+
type: Output
|
|
48
|
+
}], withIcon: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], iconName: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], containerClass: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], class: [{
|
|
55
|
+
type: Input
|
|
56
|
+
}], disabled: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], isCrossRequired: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}], label: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], isLabelRequired: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], changeValueHandler: [{
|
|
65
|
+
type: Output
|
|
66
|
+
}] } });
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbWl4LWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByaW1la2l0L3NyYy9saWIvbGliL2F0b21peC1pbnB1dC9hdG9taXgtaW5wdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvYXRvbWl4LWlucHV0L2F0b21peC1pbnB1dC5jb21wb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B0aGlzLm9uRW50ZXIoKTtcbiAgfVxufVxuIiwiPGxhYmVsICpuZ0lmPVwibGFiZWxcIiBmb3I9XCJuYW1lXCJcbiAgPnt7IGxhYmVsIH19XG4gIDxzcGFuICpuZ0lmPVwiaXNMYWJlbFJlcXVpcmVkXCIgY2xhc3M9XCJsaWItZXJyb3ItYXN0ZXJpc2tcIj4qPC9zcGFuPjwvbGFiZWxcbj5cblxuPGlucHV0XG4gIFtpZF09XCJuYW1lXCJcbiAgdHlwZT1cInRleHRcIlxuICBwSW5wdXRUZXh0XG4gIFt2YWx1ZV09XCJ2YWx1ZVwiXG4gIFthdHRyLnBsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyXCJcbiAgKGlucHV0KT1cIm9uSW5wdXQoJGV2ZW50KVwiXG4gIChrZXlkb3duLmVudGVyKT1cIm9uRW50ZXIoKVwiXG4gIFtuZ0NsYXNzXT1cImNsYXNzICsgJyAgbGliLWlucHV0LWZpZWxkJ1wiXG4gIGF1dG9jb21wbGV0ZT1cIm5ldy1wYXNzd29yZFwiXG4gIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gIFt0eXBlXT1cInR5cGVcIlxuLz5cbjxpXG4gIGNsYXNzPVwicGkgcGktdGltZXMgZmlsdGVyLWRyb3Bkb3duLWljb25cIlxuICBzdHlsZT1cImN1cnNvcjogcG9pbnRlclwiXG4gIChjbGljayk9XCJjbGVhclZhbHVlKClcIlxuICAqbmdJZj1cImlzQ3Jvc3NSZXF1aXJlZCAmJiB2YWx1ZSAhPT0gJydcIlxuPjwvaT5cbiJdfQ==
|
|
@@ -6,24 +6,24 @@ import { DialogModule } from 'primeng/dialog';
|
|
|
6
6
|
import { CardModule } from 'primeng/card';
|
|
7
7
|
import { InputTextModule } from 'primeng/inputtext';
|
|
8
8
|
// Common Components
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { AtomixCardComponent } from './lib/atomix-card/atomix-card.component';
|
|
10
|
+
import { AtomixConfirmationDialogComponent } from './lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';
|
|
11
|
+
import { AtomixInputComponent } from './lib/atomix-input/atomix-input.component';
|
|
12
12
|
import { AtomixButtonComponent } from './lib/atomix-button/atomix-button.component';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export class PrimekitModule {
|
|
15
15
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
16
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, declarations: [AtomixButtonComponent,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
AtomixCardComponent,
|
|
18
|
+
AtomixConfirmationDialogComponent,
|
|
19
|
+
AtomixInputComponent], imports: [CommonModule,
|
|
20
20
|
ButtonModule,
|
|
21
21
|
CardModule,
|
|
22
22
|
DialogModule,
|
|
23
23
|
InputTextModule], exports: [AtomixButtonComponent,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
AtomixCardComponent,
|
|
25
|
+
AtomixConfirmationDialogComponent,
|
|
26
|
+
AtomixInputComponent] });
|
|
27
27
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, imports: [CommonModule,
|
|
28
28
|
ButtonModule,
|
|
29
29
|
CardModule,
|
|
@@ -35,9 +35,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
35
35
|
args: [{
|
|
36
36
|
declarations: [
|
|
37
37
|
AtomixButtonComponent,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
AtomixCardComponent,
|
|
39
|
+
AtomixConfirmationDialogComponent,
|
|
40
|
+
AtomixInputComponent,
|
|
41
41
|
],
|
|
42
42
|
imports: [
|
|
43
43
|
CommonModule,
|
|
@@ -48,10 +48,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
48
48
|
], // Import the PrimeNG ButtonModule here
|
|
49
49
|
exports: [
|
|
50
50
|
AtomixButtonComponent,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
AtomixCardComponent,
|
|
52
|
+
AtomixConfirmationDialogComponent,
|
|
53
|
+
AtomixInputComponent,
|
|
54
54
|
], // Export your component
|
|
55
55
|
}]
|
|
56
56
|
}] });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
57
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWVraXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9wcmltZWtpdC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MscUJBQXFCO0FBQ3JCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM5QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUMxQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFFcEQsb0JBQW9CO0FBQ3BCLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQzlFLE9BQU8sRUFBRSxpQ0FBa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dXR0b25Nb2R1bGUsXG4gICAgQ2FyZE1vZHVsZSxcbiAgICBEaWFsb2dNb2R1bGUsXG4gICAgSW5wdXRUZXh0TW9kdWxlLFxuICBdLCAvLyBJbXBvcnQgdGhlIFByaW1lTkcgQnV0dG9uTW9kdWxlIGhlcmVcbiAgZXhwb3J0czogW1xuICAgIEF0b21peEJ1dHRvbkNvbXBvbmVudCxcbiAgICBBdG9taXhDYXJkQ29tcG9uZW50LFxuICAgIEF0b21peENvbmZpcm1hdGlvbkRpYWxvZ0NvbXBvbmVudCxcbiAgICBBdG9taXhJbnB1dENvbXBvbmVudCxcbiAgXSwgLy8gRXhwb3J0IHlvdXIgY29tcG9uZW50XG59KVxuZXhwb3J0IGNsYXNzIFByaW1la2l0TW9kdWxlIHt9XG4iXX0=
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export * from './lib/primekit.component';
|
|
|
6
6
|
export * from './lib/primekit.module';
|
|
7
7
|
// Button
|
|
8
8
|
export * from './lib/lib/atomix-button/atomix-button.component';
|
|
9
|
-
export * from './lib/lib/
|
|
10
|
-
export * from './lib/lib/
|
|
11
|
-
export * from './lib/lib/
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
9
|
+
export * from './lib/lib/atomix-card/atomix-card.component';
|
|
10
|
+
export * from './lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';
|
|
11
|
+
export * from './lib/lib/atomix-input/atomix-input.component';
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL3ByaW1la2l0L3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyx3QkFBd0IsQ0FBQztBQUN2QyxjQUFjLDBCQUEwQixDQUFDO0FBQ3pDLGNBQWMsdUJBQXVCLENBQUM7QUFFdEMsU0FBUztBQUNULGNBQWMsaURBQWlELENBQUM7QUFDaEUsY0FBYyw2Q0FBNkMsQ0FBQztBQUM1RCxjQUFjLDJFQUEyRSxDQUFDO0FBQzFGLGNBQWMsK0NBQStDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIHByaW1la2l0XG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvcHJpbWVraXQuc2VydmljZSc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9wcmltZWtpdC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcHJpbWVraXQubW9kdWxlJztcblxuLy8gQnV0dG9uXG5leHBvcnQgKiBmcm9tICcuL2xpYi9saWIvYXRvbWl4LWJ1dHRvbi9hdG9taXgtYnV0dG9uLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9saWIvYXRvbWl4LWNhcmQvYXRvbWl4LWNhcmQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2xpYi9hdG9taXgtY29uZmlybWF0aW9uLWRpYWxvZy9hdG9taXgtY29uZmlybWF0aW9uLWRpYWxvZy5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbGliL2F0b21peC1pbnB1dC9hdG9taXgtaW5wdXQuY29tcG9uZW50JztcbiJdfQ==
|
package/fesm2022/primekit.mjs
CHANGED
|
@@ -32,17 +32,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
32
32
|
args: [{ selector: 'lib-primekit', standalone: true, imports: [], template: ` <p>primekit works!</p> ` }]
|
|
33
33
|
}] });
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class AtomixCardComponent {
|
|
36
36
|
header;
|
|
37
37
|
footer;
|
|
38
38
|
content;
|
|
39
39
|
class;
|
|
40
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
41
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type:
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixCardComponent, selector: "atomix-card", inputs: { header: "header", footer: "footer", content: "content", class: "class" }, ngImport: i0, template: "<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n", styles: ["::ng-deep .p-card{box-shadow:0 2px 4px #0000001a;border-radius:12px}\n"], dependencies: [{ kind: "component", type: i1.Card, selector: "p-card", inputs: ["header", "subheader", "style", "styleClass"] }] });
|
|
42
42
|
}
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCardComponent, decorators: [{
|
|
44
44
|
type: Component,
|
|
45
|
-
args: [{ selector: '
|
|
45
|
+
args: [{ selector: 'atomix-card', template: "<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n", styles: ["::ng-deep .p-card{box-shadow:0 2px 4px #0000001a;border-radius:12px}\n"] }]
|
|
46
46
|
}], propDecorators: { header: [{
|
|
47
47
|
type: Input
|
|
48
48
|
}], footer: [{
|
|
@@ -53,7 +53,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
53
53
|
type: Input
|
|
54
54
|
}] } });
|
|
55
55
|
|
|
56
|
-
class
|
|
56
|
+
class AtomixConfirmationDialogComponent {
|
|
57
57
|
header = '';
|
|
58
58
|
message = '';
|
|
59
59
|
dialogVisible = false;
|
|
@@ -69,12 +69,12 @@ class PConfirmationDialogComponent {
|
|
|
69
69
|
confirmation: false,
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
73
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type:
|
|
72
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixConfirmationDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
73
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixConfirmationDialogComponent, selector: "atomix-confirmation-dialog", inputs: { header: "header", message: "message", dialogVisible: "dialogVisible" }, outputs: { onConfirm: "onConfirm" }, ngImport: i0, template: "<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n", styles: [".action-button-container{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem}@media (max-width: 768px){.dialog-width{width:95%!important}}\n"], dependencies: [{ kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i2.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] });
|
|
74
74
|
}
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixConfirmationDialogComponent, decorators: [{
|
|
76
76
|
type: Component,
|
|
77
|
-
args: [{ selector: '
|
|
77
|
+
args: [{ selector: 'atomix-confirmation-dialog', template: "<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n", styles: [".action-button-container{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem}@media (max-width: 768px){.dialog-width{width:95%!important}}\n"] }]
|
|
78
78
|
}], ctorParameters: () => [], propDecorators: { header: [{
|
|
79
79
|
type: Input
|
|
80
80
|
}], message: [{
|
|
@@ -85,7 +85,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
85
85
|
type: Output
|
|
86
86
|
}] } });
|
|
87
87
|
|
|
88
|
-
class
|
|
88
|
+
class AtomixInputComponent {
|
|
89
89
|
value = '';
|
|
90
90
|
name = '';
|
|
91
91
|
type = 'text';
|
|
@@ -112,12 +112,12 @@ class PInputComponent {
|
|
|
112
112
|
this.value = '';
|
|
113
113
|
this.onEnter();
|
|
114
114
|
}
|
|
115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
116
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type:
|
|
115
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
116
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixInputComponent, selector: "atomix-input", inputs: { value: "value", name: "name", type: "type", placeholder: "placeholder", withIcon: "withIcon", iconName: "iconName", containerClass: "containerClass", class: "class", disabled: "disabled", isCrossRequired: "isCrossRequired", label: "label", isLabelRequired: "isLabelRequired" }, outputs: { valueChange: "valueChange", changeValueHandler: "changeValueHandler" }, ngImport: i0, template: "<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n [id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class + ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n", styles: [".lib-error-asterisk{color:red}.filter-dropdown-icon{position:absolute;top:50%;padding-left:.8rem;transform:translateY(-50%);z-index:1;pointer-events:none}::ng-deep .lib-input-field{border-radius:30px;margin-top:.5rem}\n"], dependencies: [{ kind: "directive", type: i1$2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.InputText, selector: "[pInputText]", inputs: ["variant"] }] });
|
|
117
117
|
}
|
|
118
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixInputComponent, decorators: [{
|
|
119
119
|
type: Component,
|
|
120
|
-
args: [{ selector: '
|
|
120
|
+
args: [{ selector: 'atomix-input', template: "<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n [id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class + ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n", styles: [".lib-error-asterisk{color:red}.filter-dropdown-icon{position:absolute;top:50%;padding-left:.8rem;transform:translateY(-50%);z-index:1;pointer-events:none}::ng-deep .lib-input-field{border-radius:30px;margin-top:.5rem}\n"] }]
|
|
121
121
|
}], propDecorators: { value: [{
|
|
122
122
|
type: Input
|
|
123
123
|
}], name: [{
|
|
@@ -193,16 +193,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
193
193
|
class PrimekitModule {
|
|
194
194
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
195
195
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, declarations: [AtomixButtonComponent,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
AtomixCardComponent,
|
|
197
|
+
AtomixConfirmationDialogComponent,
|
|
198
|
+
AtomixInputComponent], imports: [CommonModule,
|
|
199
199
|
ButtonModule,
|
|
200
200
|
CardModule,
|
|
201
201
|
DialogModule,
|
|
202
202
|
InputTextModule], exports: [AtomixButtonComponent,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
203
|
+
AtomixCardComponent,
|
|
204
|
+
AtomixConfirmationDialogComponent,
|
|
205
|
+
AtomixInputComponent] });
|
|
206
206
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, imports: [CommonModule,
|
|
207
207
|
ButtonModule,
|
|
208
208
|
CardModule,
|
|
@@ -214,9 +214,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
214
214
|
args: [{
|
|
215
215
|
declarations: [
|
|
216
216
|
AtomixButtonComponent,
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
AtomixCardComponent,
|
|
218
|
+
AtomixConfirmationDialogComponent,
|
|
219
|
+
AtomixInputComponent,
|
|
220
220
|
],
|
|
221
221
|
imports: [
|
|
222
222
|
CommonModule,
|
|
@@ -227,9 +227,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
227
227
|
], // Import the PrimeNG ButtonModule here
|
|
228
228
|
exports: [
|
|
229
229
|
AtomixButtonComponent,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
AtomixCardComponent,
|
|
231
|
+
AtomixConfirmationDialogComponent,
|
|
232
|
+
AtomixInputComponent,
|
|
233
233
|
], // Export your component
|
|
234
234
|
}]
|
|
235
235
|
}] });
|
|
@@ -242,5 +242,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
242
242
|
* Generated bundle index. Do not edit.
|
|
243
243
|
*/
|
|
244
244
|
|
|
245
|
-
export { AtomixButtonComponent,
|
|
245
|
+
export { AtomixButtonComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixInputComponent, PrimekitComponent, PrimekitModule, PrimekitService };
|
|
246
246
|
//# sourceMappingURL=primekit.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primekit.mjs","sources":["../../../projects/primekit/src/lib/primekit.service.ts","../../../projects/primekit/src/lib/primekit.component.ts","../../../projects/primekit/src/lib/lib/p-card/p-card.component.ts","../../../projects/primekit/src/lib/lib/p-card/p-card.component.html","../../../projects/primekit/src/lib/lib/p-confirmation-dialog/p-confirmation-dialog.component.ts","../../../projects/primekit/src/lib/lib/p-confirmation-dialog/p-confirmation-dialog.component.html","../../../projects/primekit/src/lib/lib/p-input/p-input.component.ts","../../../projects/primekit/src/lib/lib/p-input/p-input.component.html","../../../projects/primekit/src/lib/lib/atomix-button/atomix-button.component.ts","../../../projects/primekit/src/lib/lib/atomix-button/atomix-button.component.html","../../../projects/primekit/src/lib/primekit.module.ts","../../../projects/primekit/src/public-api.ts","../../../projects/primekit/src/primekit.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PrimekitService {\n constructor() {}\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'lib-primekit',\n standalone: true,\n imports: [],\n template: ` <p>primekit works!</p> `,\n styles: ``,\n})\nexport class PrimekitComponent {}\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'lib-p-card',\n templateUrl: './p-card.component.html',\n styleUrls: ['./p-card.component.css'],\n})\nexport class PCardComponent {\n @Input() header: string | undefined;\n @Input() footer: string | undefined;\n @Input() content: string | undefined;\n @Input() class: string | undefined;\n}\n","<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'lib-p-confirmation-dialog',\n templateUrl: './p-confirmation-dialog.component.html',\n styleUrls: ['./p-confirmation-dialog.component.css'],\n})\nexport class PConfirmationDialogComponent {\n @Input() header: string = '';\n @Input() message: string = '';\n @Input() dialogVisible: boolean = false;\n constructor() {}\n @Output() onConfirm = new EventEmitter<{ confirmation: boolean }>();\n onYesClick(): void {\n this.onConfirm.emit({\n confirmation: true,\n });\n }\n\n onNoClick(): void {\n this.onConfirm.emit({\n confirmation: false,\n });\n }\n}\n","<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\n\n@Component({\n selector: 'lib-p-input',\n templateUrl: './p-input.component.html',\n styleUrls: ['./p-input.component.css'],\n})\nexport class PInputComponent {\n @Input() value: string = '';\n @Input() name: string = '';\n @Input() type: string = 'text';\n @Input() placeholder: string = '';\n @Output() valueChange = new EventEmitter<string>();\n @Input() withIcon: boolean = false;\n @Input() iconName: string = '';\n @Input() containerClass: string = '';\n @Input() class: string = '';\n @Input() disabled: boolean = false;\n @Input() isCrossRequired: boolean = true;\n @Input() label: string = '';\n @Input() isLabelRequired: boolean = false;\n\n @Output() changeValueHandler = new EventEmitter<string>();\n\n onInput(event: Event): void {\n const input = event.target as HTMLInputElement;\n this.value = input.value;\n this.changeValueHandler.emit(this.value);\n }\n onEnter(): void {\n this.valueChange.emit(this.value);\n }\n clearValue(): void {\n this.value = '';\n this.onEnter();\n }\n}\n","<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n[id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class+ ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ButtonSize, ButtonIconPosition } from './atomix-button.models';\n\n@Component({\n selector: 'atomix-button',\n templateUrl: './atomix-button.component.html',\n styleUrls: ['./atomix-button.component.css'],\n})\nexport class AtomixButtonComponent {\n @Input() label: string = '';\n @Input() disabled: boolean = false;\n @Input() loading: boolean = false;\n @Input() size: ButtonSize = 'small';\n @Input() type: 'primary' | 'text' | 'outlined' = 'primary';\n\n @Input() class: string = '';\n\n @Input() icon: string = '';\n @Input() iconPos: ButtonIconPosition = 'left';\n\n @Input() buttonData: any;\n @Output() buttonClick = new EventEmitter<void>();\n\n onButtonClick() {\n this.buttonClick.emit(this.buttonData); // Emit the event when button is clicked\n }\n}\n","<button\n pButton\n pRipple\n [label]=\"label\"\n [ngClass]=\"{\n 'p-button-primary': type === 'primary',\n 'p-button-outlined': type === 'outlined',\n 'p-button-text': type === 'text',\n }\"\n [class]=\"class\"\n [disabled]=\"disabled\"\n [loading]=\"loading\"\n [size]=\"size\"\n [icon]=\"icon\"\n [iconPos]=\"iconPos\"\n (click)=\"onButtonClick()\"\n></button>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n// Primeng Components\nimport { ButtonModule } from 'primeng/button';\nimport { DialogModule } from 'primeng/dialog';\nimport { CardModule } from 'primeng/card';\nimport { InputTextModule } from 'primeng/inputtext';\n\n// Common Components\nimport { PCardComponent } from './lib/p-card/p-card.component';\nimport { PConfirmationDialogComponent } from './lib/p-confirmation-dialog/p-confirmation-dialog.component';\nimport { PInputComponent } from './lib/p-input/p-input.component';\nimport { AtomixButtonComponent } from './lib/atomix-button/atomix-button.component';\n\n@NgModule({\n declarations: [\n AtomixButtonComponent,\n PCardComponent,\n PConfirmationDialogComponent,\n PInputComponent,\n ],\n imports: [\n CommonModule,\n ButtonModule,\n CardModule,\n DialogModule,\n InputTextModule,\n ], // Import the PrimeNG ButtonModule here\n exports: [\n AtomixButtonComponent,\n PCardComponent,\n PConfirmationDialogComponent,\n PInputComponent,\n ], // Export your component\n})\nexport class PrimekitModule {}\n","/*\n * Public API Surface of primekit\n */\n\nexport * from './lib/primekit.service';\nexport * from './lib/primekit.component';\nexport * from './lib/primekit.module';\n\n// Button\nexport * from './lib/lib/atomix-button/atomix-button.component';\nexport * from './lib/lib/p-card/p-card.component';\nexport * from './lib/lib/p-confirmation-dialog/p-confirmation-dialog.component';\nexport * from './lib/lib/p-input/p-input.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;MAKa,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA,GAAgB;wGADL,e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,EAAA,cAAc,YAbvB,YAAY;YACZ,YAAY;YACZ,UAAU;YACV,YAAY;YACZ,eAAe,CAAA,EAAA,CAAA,CAAA;;4FASN,cAAc,EAAA,UAAA,EAAA,CAAA;kBArB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,cAAc;wBACd,4BAA4B;wBAC5B,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,UAAU;wBACV,YAAY;wBACZ,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,cAAc;wBACd,4BAA4B;wBAC5B,eAAe;AAChB,qBAAA;AACF,iBAAA,CAAA;;;ACnCD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"primekit.mjs","sources":["../../../projects/primekit/src/lib/primekit.service.ts","../../../projects/primekit/src/lib/primekit.component.ts","../../../projects/primekit/src/lib/lib/atomix-card/atomix-card.component.ts","../../../projects/primekit/src/lib/lib/atomix-card/atomix-card.component.html","../../../projects/primekit/src/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.ts","../../../projects/primekit/src/lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component.html","../../../projects/primekit/src/lib/lib/atomix-input/atomix-input.component.ts","../../../projects/primekit/src/lib/lib/atomix-input/atomix-input.component.html","../../../projects/primekit/src/lib/lib/atomix-button/atomix-button.component.ts","../../../projects/primekit/src/lib/lib/atomix-button/atomix-button.component.html","../../../projects/primekit/src/lib/primekit.module.ts","../../../projects/primekit/src/public-api.ts","../../../projects/primekit/src/primekit.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class PrimekitService {\n constructor() {}\n}\n","import { Component } from '@angular/core';\n\n@Component({\n selector: 'lib-primekit',\n standalone: true,\n imports: [],\n template: ` <p>primekit works!</p> `,\n styles: ``,\n})\nexport class PrimekitComponent {}\n","import { Component, Input } from '@angular/core';\n\n@Component({\n selector: 'atomix-card',\n templateUrl: './atomix-card.component.html',\n styleUrls: ['./atomix-card.component.css'],\n})\nexport class AtomixCardComponent {\n @Input() header: string | undefined;\n @Input() footer: string | undefined;\n @Input() content: string | undefined;\n @Input() class: string | undefined;\n}\n","<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'atomix-confirmation-dialog',\n templateUrl: './atomix-confirmation-dialog.component.html',\n styleUrls: ['./atomix-confirmation-dialog.component.css'],\n})\nexport class AtomixConfirmationDialogComponent {\n @Input() header: string = '';\n @Input() message: string = '';\n @Input() dialogVisible: boolean = false;\n constructor() {}\n @Output() onConfirm = new EventEmitter<{ confirmation: boolean }>();\n onYesClick(): void {\n this.onConfirm.emit({\n confirmation: true,\n });\n }\n\n onNoClick(): void {\n this.onConfirm.emit({\n confirmation: false,\n });\n }\n}\n","<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n","import { Component, Input, Output, EventEmitter } from '@angular/core';\n\n@Component({\n selector: 'atomix-input',\n templateUrl: './atomix-input.component.html',\n styleUrls: ['./atomix-input.component.css'],\n})\nexport class AtomixInputComponent {\n @Input() value: string = '';\n @Input() name: string = '';\n @Input() type: string = 'text';\n @Input() placeholder: string = '';\n @Output() valueChange = new EventEmitter<string>();\n @Input() withIcon: boolean = false;\n @Input() iconName: string = '';\n @Input() containerClass: string = '';\n @Input() class: string = '';\n @Input() disabled: boolean = false;\n @Input() isCrossRequired: boolean = true;\n @Input() label: string = '';\n @Input() isLabelRequired: boolean = false;\n\n @Output() changeValueHandler = new EventEmitter<string>();\n\n onInput(event: Event): void {\n const input = event.target as HTMLInputElement;\n this.value = input.value;\n this.changeValueHandler.emit(this.value);\n }\n onEnter(): void {\n this.valueChange.emit(this.value);\n }\n clearValue(): void {\n this.value = '';\n this.onEnter();\n }\n}\n","<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n [id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class + ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n","import { Component, EventEmitter, Input, Output } from '@angular/core';\nimport { ButtonSize, ButtonIconPosition } from './atomix-button.models';\n\n@Component({\n selector: 'atomix-button',\n templateUrl: './atomix-button.component.html',\n styleUrls: ['./atomix-button.component.css'],\n})\nexport class AtomixButtonComponent {\n @Input() label: string = '';\n @Input() disabled: boolean = false;\n @Input() loading: boolean = false;\n @Input() size: ButtonSize = 'small';\n @Input() type: 'primary' | 'text' | 'outlined' = 'primary';\n\n @Input() class: string = '';\n\n @Input() icon: string = '';\n @Input() iconPos: ButtonIconPosition = 'left';\n\n @Input() buttonData: any;\n @Output() buttonClick = new EventEmitter<void>();\n\n onButtonClick() {\n this.buttonClick.emit(this.buttonData); // Emit the event when button is clicked\n }\n}\n","<button\n pButton\n pRipple\n [label]=\"label\"\n [ngClass]=\"{\n 'p-button-primary': type === 'primary',\n 'p-button-outlined': type === 'outlined',\n 'p-button-text': type === 'text',\n }\"\n [class]=\"class\"\n [disabled]=\"disabled\"\n [loading]=\"loading\"\n [size]=\"size\"\n [icon]=\"icon\"\n [iconPos]=\"iconPos\"\n (click)=\"onButtonClick()\"\n></button>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n// Primeng Components\nimport { ButtonModule } from 'primeng/button';\nimport { DialogModule } from 'primeng/dialog';\nimport { CardModule } from 'primeng/card';\nimport { InputTextModule } from 'primeng/inputtext';\n\n// Common Components\nimport { AtomixCardComponent } from './lib/atomix-card/atomix-card.component';\nimport { AtomixConfirmationDialogComponent } from './lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';\nimport { AtomixInputComponent } from './lib/atomix-input/atomix-input.component';\nimport { AtomixButtonComponent } from './lib/atomix-button/atomix-button.component';\n\n@NgModule({\n declarations: [\n AtomixButtonComponent,\n AtomixCardComponent,\n AtomixConfirmationDialogComponent,\n AtomixInputComponent,\n ],\n imports: [\n CommonModule,\n ButtonModule,\n CardModule,\n DialogModule,\n InputTextModule,\n ], // Import the PrimeNG ButtonModule here\n exports: [\n AtomixButtonComponent,\n AtomixCardComponent,\n AtomixConfirmationDialogComponent,\n AtomixInputComponent,\n ], // Export your component\n})\nexport class PrimekitModule {}\n","/*\n * Public API Surface of primekit\n */\n\nexport * from './lib/primekit.service';\nexport * from './lib/primekit.component';\nexport * from './lib/primekit.module';\n\n// Button\nexport * from './lib/lib/atomix-button/atomix-button.component';\nexport * from './lib/lib/atomix-card/atomix-card.component';\nexport * from './lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';\nexport * from './lib/lib/atomix-input/atomix-input.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;MAKa,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA,GA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A,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAbvB,YAAY;YACZ,YAAY;YACZ,UAAU;YACV,YAAY;YACZ,eAAe,CAAA,EAAA,CAAA,CAAA;;4FASN,cAAc,EAAA,UAAA,EAAA,CAAA;kBArB1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,mBAAmB;wBACnB,iCAAiC;wBACjC,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,UAAU;wBACV,YAAY;wBACZ,eAAe;AAChB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,mBAAmB;wBACnB,iCAAiC;wBACjC,oBAAoB;AACrB,qBAAA;AACF,iBAAA,CAAA;;;ACnCD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AtomixCardComponent {
|
|
3
|
+
header: string | undefined;
|
|
4
|
+
footer: string | undefined;
|
|
5
|
+
content: string | undefined;
|
|
6
|
+
class: string | undefined;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AtomixCardComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtomixCardComponent, "atomix-card", never, { "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "content": { "alias": "content"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AtomixConfirmationDialogComponent {
|
|
4
|
+
header: string;
|
|
5
|
+
message: string;
|
|
6
|
+
dialogVisible: boolean;
|
|
7
|
+
constructor();
|
|
8
|
+
onConfirm: EventEmitter<{
|
|
9
|
+
confirmation: boolean;
|
|
10
|
+
}>;
|
|
11
|
+
onYesClick(): void;
|
|
12
|
+
onNoClick(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AtomixConfirmationDialogComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtomixConfirmationDialogComponent, "atomix-confirmation-dialog", never, { "header": { "alias": "header"; "required": false; }; "message": { "alias": "message"; "required": false; }; "dialogVisible": { "alias": "dialogVisible"; "required": false; }; }, { "onConfirm": "onConfirm"; }, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AtomixInputComponent {
|
|
4
|
+
value: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
valueChange: EventEmitter<string>;
|
|
9
|
+
withIcon: boolean;
|
|
10
|
+
iconName: string;
|
|
11
|
+
containerClass: string;
|
|
12
|
+
class: string;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
isCrossRequired: boolean;
|
|
15
|
+
label: string;
|
|
16
|
+
isLabelRequired: boolean;
|
|
17
|
+
changeValueHandler: EventEmitter<string>;
|
|
18
|
+
onInput(event: Event): void;
|
|
19
|
+
onEnter(): void;
|
|
20
|
+
clearValue(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AtomixInputComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtomixInputComponent, "atomix-input", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "class": { "alias": "class"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isCrossRequired": { "alias": "isCrossRequired"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isLabelRequired": { "alias": "isLabelRequired"; "required": false; }; }, { "valueChange": "valueChange"; "changeValueHandler": "changeValueHandler"; }, never, never, false, never>;
|
|
23
|
+
}
|
package/lib/primekit.module.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./lib/atomix-button/atomix-button.component";
|
|
3
|
-
import * as i2 from "./lib/
|
|
4
|
-
import * as i3 from "./lib/
|
|
5
|
-
import * as i4 from "./lib/
|
|
3
|
+
import * as i2 from "./lib/atomix-card/atomix-card.component";
|
|
4
|
+
import * as i3 from "./lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component";
|
|
5
|
+
import * as i4 from "./lib/atomix-input/atomix-input.component";
|
|
6
6
|
import * as i5 from "@angular/common";
|
|
7
7
|
import * as i6 from "primeng/button";
|
|
8
8
|
import * as i7 from "primeng/card";
|
|
@@ -10,6 +10,6 @@ import * as i8 from "primeng/dialog";
|
|
|
10
10
|
import * as i9 from "primeng/inputtext";
|
|
11
11
|
export declare class PrimekitModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrimekitModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PrimekitModule, [typeof i1.AtomixButtonComponent, typeof i2.
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PrimekitModule, [typeof i1.AtomixButtonComponent, typeof i2.AtomixCardComponent, typeof i3.AtomixConfirmationDialogComponent, typeof i4.AtomixInputComponent], [typeof i5.CommonModule, typeof i6.ButtonModule, typeof i7.CardModule, typeof i8.DialogModule, typeof i9.InputTextModule], [typeof i1.AtomixButtonComponent, typeof i2.AtomixCardComponent, typeof i3.AtomixConfirmationDialogComponent, typeof i4.AtomixInputComponent]>;
|
|
14
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<PrimekitModule>;
|
|
15
15
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export * from './lib/primekit.service';
|
|
|
2
2
|
export * from './lib/primekit.component';
|
|
3
3
|
export * from './lib/primekit.module';
|
|
4
4
|
export * from './lib/lib/atomix-button/atomix-button.component';
|
|
5
|
-
export * from './lib/lib/
|
|
6
|
-
export * from './lib/lib/
|
|
7
|
-
export * from './lib/lib/
|
|
5
|
+
export * from './lib/lib/atomix-card/atomix-card.component';
|
|
6
|
+
export * from './lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';
|
|
7
|
+
export * from './lib/lib/atomix-input/atomix-input.component';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "primeng/card";
|
|
4
|
-
export class PCardComponent {
|
|
5
|
-
header;
|
|
6
|
-
footer;
|
|
7
|
-
content;
|
|
8
|
-
class;
|
|
9
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PCardComponent, selector: "lib-p-card", inputs: { header: "header", footer: "footer", content: "content", class: "class" }, ngImport: i0, template: "<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n", styles: ["::ng-deep .p-card{box-shadow:0 2px 4px #0000001a;border-radius:12px}\n"], dependencies: [{ kind: "component", type: i1.Card, selector: "p-card", inputs: ["header", "subheader", "style", "styleClass"] }] });
|
|
11
|
-
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PCardComponent, decorators: [{
|
|
13
|
-
type: Component,
|
|
14
|
-
args: [{ selector: 'lib-p-card', template: "<p-card [class]=\"class\">\n <ng-content></ng-content>\n</p-card>\n", styles: ["::ng-deep .p-card{box-shadow:0 2px 4px #0000001a;border-radius:12px}\n"] }]
|
|
15
|
-
}], propDecorators: { header: [{
|
|
16
|
-
type: Input
|
|
17
|
-
}], footer: [{
|
|
18
|
-
type: Input
|
|
19
|
-
}], content: [{
|
|
20
|
-
type: Input
|
|
21
|
-
}], class: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC1jYXJkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByaW1la2l0L3NyYy9saWIvbGliL3AtY2FyZC9wLWNhcmQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvcC1jYXJkL3AtY2FyZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7O0FBT2pELE1BQU0sT0FBTyxjQUFjO0lBQ2hCLE1BQU0sQ0FBcUI7SUFDM0IsTUFBTSxDQUFxQjtJQUMzQixPQUFPLENBQXFCO0lBQzVCLEtBQUssQ0FBcUI7d0dBSnhCLGNBQWM7NEZBQWQsY0FBYyxzSUNQM0Isc0VBR0E7OzRGRElhLGNBQWM7a0JBTDFCLFNBQVM7K0JBQ0UsWUFBWTs4QkFLYixNQUFNO3NCQUFkLEtBQUs7Z0JBQ0csTUFBTTtzQkFBZCxLQUFLO2dCQUNHLE9BQU87c0JBQWYsS0FBSztnQkFDRyxLQUFLO3NCQUFiLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIElucHV0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2xpYi1wLWNhcmQnLFxuICB0ZW1wbGF0ZVVybDogJy4vcC1jYXJkLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vcC1jYXJkLmNvbXBvbmVudC5jc3MnXSxcbn0pXG5leHBvcnQgY2xhc3MgUENhcmRDb21wb25lbnQge1xuICBASW5wdXQoKSBoZWFkZXI6IHN0cmluZyB8IHVuZGVmaW5lZDtcbiAgQElucHV0KCkgZm9vdGVyOiBzdHJpbmcgfCB1bmRlZmluZWQ7XG4gIEBJbnB1dCgpIGNvbnRlbnQ6IHN0cmluZyB8IHVuZGVmaW5lZDtcbiAgQElucHV0KCkgY2xhc3M6IHN0cmluZyB8IHVuZGVmaW5lZDtcbn1cbiIsIjxwLWNhcmQgW2NsYXNzXT1cImNsYXNzXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvcC1jYXJkPlxuIl19
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "primeng/button";
|
|
4
|
-
import * as i2 from "primeng/dialog";
|
|
5
|
-
export class PConfirmationDialogComponent {
|
|
6
|
-
header = '';
|
|
7
|
-
message = '';
|
|
8
|
-
dialogVisible = false;
|
|
9
|
-
constructor() { }
|
|
10
|
-
onConfirm = new EventEmitter();
|
|
11
|
-
onYesClick() {
|
|
12
|
-
this.onConfirm.emit({
|
|
13
|
-
confirmation: true,
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
onNoClick() {
|
|
17
|
-
this.onConfirm.emit({
|
|
18
|
-
confirmation: false,
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PConfirmationDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PConfirmationDialogComponent, selector: "lib-p-confirmation-dialog", inputs: { header: "header", message: "message", dialogVisible: "dialogVisible" }, outputs: { onConfirm: "onConfirm" }, ngImport: i0, template: "<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n", styles: [".action-button-container{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain"] }, { kind: "component", type: i2.Dialog, selector: "p-dialog", inputs: ["header", "draggable", "resizable", "positionLeft", "positionTop", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "responsive", "appendTo", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "breakpoint", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "visible", "style", "position"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }] });
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PConfirmationDialogComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{ selector: 'lib-p-confirmation-dialog', template: "<p-dialog\n [(visible)]=\"dialogVisible\"\n [header]=\"header\"\n [modal]=\"true\"\n [closable]=\"true\"\n styleClass=\"dialog-width\"\n [style]=\"{\n width: 'fit-content',\n height: 'fit-content',\n maxWidth: '25rem',\n }\"\n [maximizable]=\"true\"\n [baseZIndex]=\"9999999999\"\n>\n <p class=\"global-sub-heading\">\n {{ message }}\n </p>\n\n <div class=\"action-button-container\">\n <button\n pButton\n class=\"p-button-outlined\"\n (click)=\"onNoClick()\"\n style=\"margin-top: 0px\"\n >\n No\n </button>\n <button pButton class=\"p-button-primary\" (click)=\"onYesClick()\">Yes</button>\n </div>\n</p-dialog>\n", styles: [".action-button-container{margin-top:1.5rem;display:flex;justify-content:flex-end;gap:.5rem}\n"] }]
|
|
27
|
-
}], ctorParameters: () => [], propDecorators: { header: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], message: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}], dialogVisible: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], onConfirm: [{
|
|
34
|
-
type: Output
|
|
35
|
-
}] } });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC1jb25maXJtYXRpb24tZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByaW1la2l0L3NyYy9saWIvbGliL3AtY29uZmlybWF0aW9uLWRpYWxvZy9wLWNvbmZpcm1hdGlvbi1kaWFsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3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ogJzI1cmVtJyxcbiAgfVwiXG4gIFttYXhpbWl6YWJsZV09XCJ0cnVlXCJcbiAgW2Jhc2VaSW5kZXhdPVwiOTk5OTk5OTk5OVwiXG4+XG4gIDxwIGNsYXNzPVwiZ2xvYmFsLXN1Yi1oZWFkaW5nXCI+XG4gICAge3sgbWVzc2FnZSB9fVxuICA8L3A+XG5cbiAgPGRpdiBjbGFzcz1cImFjdGlvbi1idXR0b24tY29udGFpbmVyXCI+XG4gICAgPGJ1dHRvblxuICAgICAgcEJ1dHRvblxuICAgICAgY2xhc3M9XCJwLWJ1dHRvbi1vdXRsaW5lZFwiXG4gICAgICAoY2xpY2spPVwib25Ob0NsaWNrKClcIlxuICAgICAgc3R5bGU9XCJtYXJnaW4tdG9wOiAwcHhcIlxuICAgID5cbiAgICAgIE5vXG4gICAgPC9idXR0b24+XG4gICAgPGJ1dHRvbiBwQnV0dG9uIGNsYXNzPVwicC1idXR0b24tcHJpbWFyeVwiIChjbGljayk9XCJvblllc0NsaWNrKClcIj5ZZXM8L2J1dHRvbj5cbiAgPC9kaXY+XG48L3AtZGlhbG9nPlxuIl19
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
import * as i2 from "primeng/inputtext";
|
|
5
|
-
export class PInputComponent {
|
|
6
|
-
value = '';
|
|
7
|
-
name = '';
|
|
8
|
-
type = 'text';
|
|
9
|
-
placeholder = '';
|
|
10
|
-
valueChange = new EventEmitter();
|
|
11
|
-
withIcon = false;
|
|
12
|
-
iconName = '';
|
|
13
|
-
containerClass = '';
|
|
14
|
-
class = '';
|
|
15
|
-
disabled = false;
|
|
16
|
-
isCrossRequired = true;
|
|
17
|
-
label = '';
|
|
18
|
-
isLabelRequired = false;
|
|
19
|
-
changeValueHandler = new EventEmitter();
|
|
20
|
-
onInput(event) {
|
|
21
|
-
const input = event.target;
|
|
22
|
-
this.value = input.value;
|
|
23
|
-
this.changeValueHandler.emit(this.value);
|
|
24
|
-
}
|
|
25
|
-
onEnter() {
|
|
26
|
-
this.valueChange.emit(this.value);
|
|
27
|
-
}
|
|
28
|
-
clearValue() {
|
|
29
|
-
this.value = '';
|
|
30
|
-
this.onEnter();
|
|
31
|
-
}
|
|
32
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
33
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PInputComponent, selector: "lib-p-input", inputs: { value: "value", name: "name", type: "type", placeholder: "placeholder", withIcon: "withIcon", iconName: "iconName", containerClass: "containerClass", class: "class", disabled: "disabled", isCrossRequired: "isCrossRequired", label: "label", isLabelRequired: "isLabelRequired" }, outputs: { valueChange: "valueChange", changeValueHandler: "changeValueHandler" }, ngImport: i0, template: "<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n[id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class+ ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n", styles: [".lib-error-asterisk{color:red}.filter-dropdown-icon{position:absolute;top:50%;padding-left:.8rem;transform:translateY(-50%);z-index:1;pointer-events:none}::ng-deep .lib-input-field{border-radius:30px;margin-top:.5rem}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.InputText, selector: "[pInputText]", inputs: ["variant"] }] });
|
|
34
|
-
}
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PInputComponent, decorators: [{
|
|
36
|
-
type: Component,
|
|
37
|
-
args: [{ selector: 'lib-p-input', template: "<label *ngIf=\"label\" for=\"name\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"lib-error-asterisk\">*</span></label\n>\n\n<input\n[id]=\"name\"\n type=\"text\"\n pInputText\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n (input)=\"onInput($event)\"\n (keydown.enter)=\"onEnter()\"\n [ngClass]=\"class+ ' lib-input-field'\"\n autocomplete=\"new-password\"\n [disabled]=\"disabled\"\n [type]=\"type\"\n/>\n<i\n class=\"pi pi-times filter-dropdown-icon\"\n style=\"cursor: pointer\"\n (click)=\"clearValue()\"\n *ngIf=\"isCrossRequired && value !== ''\"\n></i>\n", styles: [".lib-error-asterisk{color:red}.filter-dropdown-icon{position:absolute;top:50%;padding-left:.8rem;transform:translateY(-50%);z-index:1;pointer-events:none}::ng-deep .lib-input-field{border-radius:30px;margin-top:.5rem}\n"] }]
|
|
38
|
-
}], propDecorators: { value: [{
|
|
39
|
-
type: Input
|
|
40
|
-
}], name: [{
|
|
41
|
-
type: Input
|
|
42
|
-
}], type: [{
|
|
43
|
-
type: Input
|
|
44
|
-
}], placeholder: [{
|
|
45
|
-
type: Input
|
|
46
|
-
}], valueChange: [{
|
|
47
|
-
type: Output
|
|
48
|
-
}], withIcon: [{
|
|
49
|
-
type: Input
|
|
50
|
-
}], iconName: [{
|
|
51
|
-
type: Input
|
|
52
|
-
}], containerClass: [{
|
|
53
|
-
type: Input
|
|
54
|
-
}], class: [{
|
|
55
|
-
type: Input
|
|
56
|
-
}], disabled: [{
|
|
57
|
-
type: Input
|
|
58
|
-
}], isCrossRequired: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], label: [{
|
|
61
|
-
type: Input
|
|
62
|
-
}], isLabelRequired: [{
|
|
63
|
-
type: Input
|
|
64
|
-
}], changeValueHandler: [{
|
|
65
|
-
type: Output
|
|
66
|
-
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicC1pbnB1dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wcmltZWtpdC9zcmMvbGliL2xpYi9wLWlucHV0L3AtaW5wdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvcC1pbnB1dC9wLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7QUFPdkUsTUFBTSxPQUFPLGVBQWU7SUFDakIsS0FBSyxHQUFXLEVBQUUsQ0FBQztJQUNuQixJQUFJLEdBQVcsRUFBRSxDQUFDO0lBQ2xCLElBQUksR0FBVyxNQUFNLENBQUM7SUFDdEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN4QixXQUFXLEdBQUcsSUFBSSxZQUFZLEVBQVUsQ0FBQztJQUMxQyxRQUFRLEdBQVksS0FBSyxDQUFDO0lBQzFCLFFBQVEsR0FBVyxFQUFFLENBQUM7SUFDdEIsY0FBYyxHQUFXLEVBQUUsQ0FBQztJQUM1QixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLFFBQVEsR0FBWSxLQUFLLENBQUM7SUFDMUIsZUFBZSxHQUFZLElBQUksQ0FBQztJQUNoQ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XCJcbi8+XG48aVxuICBjbGFzcz1cInBpIHBpLXRpbWVzIGZpbHRlci1kcm9wZG93bi1pY29uXCJcbiAgc3R5bGU9XCJjdXJzb3I6IHBvaW50ZXJcIlxuICAoY2xpY2spPVwiY2xlYXJWYWx1ZSgpXCJcbiAgKm5nSWY9XCJpc0Nyb3NzUmVxdWlyZWQgJiYgdmFsdWUgIT09ICcnXCJcbj48L2k+XG4iXX0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class PCardComponent {
|
|
3
|
-
header: string | undefined;
|
|
4
|
-
footer: string | undefined;
|
|
5
|
-
content: string | undefined;
|
|
6
|
-
class: string | undefined;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PCardComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PCardComponent, "lib-p-card", never, { "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "content": { "alias": "content"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
9
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PConfirmationDialogComponent {
|
|
4
|
-
header: string;
|
|
5
|
-
message: string;
|
|
6
|
-
dialogVisible: boolean;
|
|
7
|
-
constructor();
|
|
8
|
-
onConfirm: EventEmitter<{
|
|
9
|
-
confirmation: boolean;
|
|
10
|
-
}>;
|
|
11
|
-
onYesClick(): void;
|
|
12
|
-
onNoClick(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PConfirmationDialogComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PConfirmationDialogComponent, "lib-p-confirmation-dialog", never, { "header": { "alias": "header"; "required": false; }; "message": { "alias": "message"; "required": false; }; "dialogVisible": { "alias": "dialogVisible"; "required": false; }; }, { "onConfirm": "onConfirm"; }, never, never, false, never>;
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PInputComponent {
|
|
4
|
-
value: string;
|
|
5
|
-
name: string;
|
|
6
|
-
type: string;
|
|
7
|
-
placeholder: string;
|
|
8
|
-
valueChange: EventEmitter<string>;
|
|
9
|
-
withIcon: boolean;
|
|
10
|
-
iconName: string;
|
|
11
|
-
containerClass: string;
|
|
12
|
-
class: string;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
isCrossRequired: boolean;
|
|
15
|
-
label: string;
|
|
16
|
-
isLabelRequired: boolean;
|
|
17
|
-
changeValueHandler: EventEmitter<string>;
|
|
18
|
-
onInput(event: Event): void;
|
|
19
|
-
onEnter(): void;
|
|
20
|
-
clearValue(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PInputComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PInputComponent, "lib-p-input", never, { "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "class": { "alias": "class"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isCrossRequired": { "alias": "isCrossRequired"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isLabelRequired": { "alias": "isLabelRequired"; "required": false; }; }, { "valueChange": "valueChange"; "changeValueHandler": "changeValueHandler"; }, never, never, false, never>;
|
|
23
|
-
}
|