primekit 0.0.13 → 0.0.14
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-calendar/atomix-calendar.component.mjs +90 -0
- package/esm2022/lib/lib/atomix-dropdown/atomix-dropdown.component.mjs +105 -0
- package/esm2022/lib/primekit.module.mjs +28 -6
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/primekit.mjs +215 -6
- package/fesm2022/primekit.mjs.map +1 -1
- package/lib/lib/atomix-calendar/atomix-calendar.component.d.ts +27 -0
- package/lib/lib/atomix-dropdown/atomix-dropdown.component.d.ts +50 -0
- package/lib/primekit.module.d.ts +11 -6
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "primeng/calendar";
|
|
4
|
+
import * as i2 from "@angular/forms";
|
|
5
|
+
export class AtomixCalendarComponent {
|
|
6
|
+
placeholder = '';
|
|
7
|
+
selectionMode = 'single';
|
|
8
|
+
styleClass = '';
|
|
9
|
+
inputStyleClass = '';
|
|
10
|
+
disabled = false;
|
|
11
|
+
selectedDate = null;
|
|
12
|
+
dateRangeChange = new EventEmitter();
|
|
13
|
+
maxDate;
|
|
14
|
+
minDate;
|
|
15
|
+
enLocale = {
|
|
16
|
+
firstDayOfWeek: 0,
|
|
17
|
+
dayNames: [
|
|
18
|
+
'Sunday',
|
|
19
|
+
'Monday',
|
|
20
|
+
'Tuesday',
|
|
21
|
+
'Wednesday',
|
|
22
|
+
'Thursday',
|
|
23
|
+
'Friday',
|
|
24
|
+
'Saturday',
|
|
25
|
+
],
|
|
26
|
+
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
27
|
+
dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
|
|
28
|
+
monthNames: [
|
|
29
|
+
'January',
|
|
30
|
+
'February',
|
|
31
|
+
'March',
|
|
32
|
+
'April',
|
|
33
|
+
'May',
|
|
34
|
+
'June',
|
|
35
|
+
'July',
|
|
36
|
+
'August',
|
|
37
|
+
'September',
|
|
38
|
+
'October',
|
|
39
|
+
'November',
|
|
40
|
+
'December',
|
|
41
|
+
],
|
|
42
|
+
monthNamesShort: [
|
|
43
|
+
'Jan',
|
|
44
|
+
'Feb',
|
|
45
|
+
'Mar',
|
|
46
|
+
'Apr',
|
|
47
|
+
'May',
|
|
48
|
+
'Jun',
|
|
49
|
+
'Jul',
|
|
50
|
+
'Aug',
|
|
51
|
+
'Sep',
|
|
52
|
+
'Oct',
|
|
53
|
+
'Nov',
|
|
54
|
+
'Dec',
|
|
55
|
+
],
|
|
56
|
+
today: 'Today',
|
|
57
|
+
clear: 'Clear',
|
|
58
|
+
};
|
|
59
|
+
clearDateRange() {
|
|
60
|
+
this.selectedDate = null;
|
|
61
|
+
}
|
|
62
|
+
onDateRangeChange(dateRange) {
|
|
63
|
+
this.dateRangeChange.emit(dateRange);
|
|
64
|
+
}
|
|
65
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixCalendarComponent, selector: "atomix-calendar", inputs: { placeholder: "placeholder", selectionMode: "selectionMode", styleClass: "styleClass", inputStyleClass: "inputStyleClass", disabled: "disabled", selectedDate: "selectedDate", maxDate: "maxDate", minDate: "minDate" }, outputs: { dateRangeChange: "dateRangeChange" }, ngImport: i0, template: "<p-calendar\n [(ngModel)]=\"selectedDate\"\n [selectionMode]=\"selectionMode\"\n [showButtonBar]=\"true\"\n [dateFormat]=\"'mm/dd/yy'\"\n [showOtherMonths]=\"true\"\n [showOnFocus]=\"true\"\n [locale]=\"enLocale\"\n [showIcon]=\"true\"\n [placeholder]=\"placeholder\"\n [styleClass]=\"styleClass\"\n [inputStyleClass]=\"inputStyleClass\"\n (ngModelChange)=\"onDateRangeChange($event)\"\n appendTo=\"body\"\n [showClear]=\"true\"\n [disabled]=\"disabled\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n>\n</p-calendar>\n", styles: [""], dependencies: [{ kind: "component", type: i1.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepYearPicker", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
67
|
+
}
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCalendarComponent, decorators: [{
|
|
69
|
+
type: Component,
|
|
70
|
+
args: [{ selector: 'atomix-calendar', template: "<p-calendar\n [(ngModel)]=\"selectedDate\"\n [selectionMode]=\"selectionMode\"\n [showButtonBar]=\"true\"\n [dateFormat]=\"'mm/dd/yy'\"\n [showOtherMonths]=\"true\"\n [showOnFocus]=\"true\"\n [locale]=\"enLocale\"\n [showIcon]=\"true\"\n [placeholder]=\"placeholder\"\n [styleClass]=\"styleClass\"\n [inputStyleClass]=\"inputStyleClass\"\n (ngModelChange)=\"onDateRangeChange($event)\"\n appendTo=\"body\"\n [showClear]=\"true\"\n [disabled]=\"disabled\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n>\n</p-calendar>\n" }]
|
|
71
|
+
}], propDecorators: { placeholder: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], selectionMode: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}], styleClass: [{
|
|
76
|
+
type: Input
|
|
77
|
+
}], inputStyleClass: [{
|
|
78
|
+
type: Input
|
|
79
|
+
}], disabled: [{
|
|
80
|
+
type: Input
|
|
81
|
+
}], selectedDate: [{
|
|
82
|
+
type: Input
|
|
83
|
+
}], dateRangeChange: [{
|
|
84
|
+
type: Output
|
|
85
|
+
}], maxDate: [{
|
|
86
|
+
type: Input
|
|
87
|
+
}], minDate: [{
|
|
88
|
+
type: Input
|
|
89
|
+
}] } });
|
|
90
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbWl4LWNhbGVuZGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByaW1la2l0L3NyYy9saWIvbGliL2F0b21peC1jYWxlbmRhci9hdG9taXgtY2FsZW5kYXIuY29tcG9uZW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wiXG4gIFtzZWxlY3Rpb25Nb2RlXT1cInNlbGVjdGlvbk1vZGVcIlxuICBbc2hvd0J1dHRvbkJhcl09XCJ0cnVlXCJcbiAgW2RhdGVGb3JtYXRdPVwiJ21tL2RkL3l5J1wiXG4gIFtzaG93T3RoZXJNb250aHNdPVwidHJ1ZVwiXG4gIFtzaG93T25Gb2N1c109XCJ0cnVlXCJcbiAgW2xvY2FsZV09XCJlbkxvY2FsZVwiXG4gIFtzaG93SWNvbl09XCJ0cnVlXCJcbiAgW3BsYWNlaG9sZGVyXT1cInBsYWNlaG9sZGVyXCJcbiAgW3N0eWxlQ2xhc3NdPVwic3R5bGVDbGFzc1wiXG4gIFtpbnB1dFN0eWxlQ2xhc3NdPVwiaW5wdXRTdHlsZUNsYXNzXCJcbiAgKG5nTW9kZWxDaGFuZ2UpPVwib25EYXRlUmFuZ2VDaGFuZ2UoJGV2ZW50KVwiXG4gIGFwcGVuZFRvPVwiYm9keVwiXG4gIFtzaG93Q2xlYXJdPVwidHJ1ZVwiXG4gIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gIFttYXhEYXRlXT1cIm1heERhdGVcIlxuICBbbWluRGF0ZV09XCJtaW5EYXRlXCJcbj5cbjwvcC1jYWxlbmRhcj5cbiJdfQ==
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter, } from '@angular/core';
|
|
2
|
+
import { debounceTime, distinctUntilChanged, Subject, Subscription, } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "primeng/api";
|
|
6
|
+
import * as i3 from "primeng/dropdown";
|
|
7
|
+
import * as i4 from "@angular/forms";
|
|
8
|
+
export class AtomixDropdownComponent {
|
|
9
|
+
cdr;
|
|
10
|
+
ngZone;
|
|
11
|
+
options = []; //
|
|
12
|
+
selectedValues;
|
|
13
|
+
optionValue = '';
|
|
14
|
+
placeholder = '';
|
|
15
|
+
optionLabel = '';
|
|
16
|
+
filter = true;
|
|
17
|
+
name = '';
|
|
18
|
+
dropDownStyleClass = '';
|
|
19
|
+
withIcon = false;
|
|
20
|
+
disabled = false;
|
|
21
|
+
showClear = true;
|
|
22
|
+
iconName = '';
|
|
23
|
+
containerClass = ''; //
|
|
24
|
+
label = '';
|
|
25
|
+
isLabelRequired = false;
|
|
26
|
+
handleDropdownValueChange = new EventEmitter();
|
|
27
|
+
handleOnFilter = new EventEmitter();
|
|
28
|
+
/**
|
|
29
|
+
* The input from the user used to search list
|
|
30
|
+
*/
|
|
31
|
+
filerValue = new Subject();
|
|
32
|
+
/**
|
|
33
|
+
* The time in ms that it takes to register when user is done typing
|
|
34
|
+
*/
|
|
35
|
+
debounceTime = 300;
|
|
36
|
+
/**
|
|
37
|
+
* The trigger that uses the debounce time to create delay of when user types to actual filtering
|
|
38
|
+
*/
|
|
39
|
+
trigger = this.filerValue.pipe(debounceTime(this.debounceTime), distinctUntilChanged());
|
|
40
|
+
/**
|
|
41
|
+
* Subscription to trigger
|
|
42
|
+
*/
|
|
43
|
+
subscription = new Subscription();
|
|
44
|
+
constructor(cdr, ngZone) {
|
|
45
|
+
this.cdr = cdr;
|
|
46
|
+
this.ngZone = ngZone;
|
|
47
|
+
this.subscription.add(this.trigger.subscribe(($event) => {
|
|
48
|
+
this.handleOnFilter.emit($event);
|
|
49
|
+
}));
|
|
50
|
+
}
|
|
51
|
+
onChange(event) {
|
|
52
|
+
this.ngZone.run(() => {
|
|
53
|
+
this.handleDropdownValueChange.emit([event.value, this.name]);
|
|
54
|
+
this.cdr.detectChanges(); // Ensure changes are detected
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @param event
|
|
60
|
+
*/
|
|
61
|
+
onFilter(event) {
|
|
62
|
+
this.filerValue.next(event);
|
|
63
|
+
}
|
|
64
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixDropdownComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
65
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixDropdownComponent, selector: "atomix-dropdown", inputs: { options: "options", selectedValues: "selectedValues", optionValue: "optionValue", placeholder: "placeholder", optionLabel: "optionLabel", filter: "filter", name: "name", dropDownStyleClass: "dropDownStyleClass", withIcon: "withIcon", disabled: "disabled", showClear: "showClear", iconName: "iconName", containerClass: "containerClass", label: "label", isLabelRequired: "isLabelRequired" }, outputs: { handleDropdownValueChange: "handleDropdownValueChange", handleOnFilter: "handleOnFilter" }, ngImport: i0, template: "<label *ngIf=\"label\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-dropdown\n [options]=\"options\"\n [(ngModel)]=\"selectedValues\"\n (onChange)=\"onChange($event)\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [showClear]=\"showClear\"\n [filter]=\"filter\"\n [filterBy]=\"optionLabel\"\n appendTo=\"body\"\n [disabled]=\"disabled\"\n [styleClass]=\"dropDownStyleClass\"\n (onFilter)=\"onFilter($event)\"\n [placeholder]=\"placeholder\"\n>\n <ng-template let-option pTemplate=\"item\">\n <div class=\"custom-item\">\n <i\n [ngClass]=\"option.dropdownIcon\"\n class=\"dropdown-logo\"\n *ngIf=\"option.dropdownIcon\"\n ></i>\n <img\n [alt]=\"option.dropdownImage\"\n [src]=\"option.dropdownImage\"\n *ngIf=\"option.dropdownImage\"\n class=\"dropdown-image\"\n />\n\n <span>{{ option[optionLabel] }}</span>\n </div>\n </ng-template>\n</p-dropdown>\n", styles: ["::ng-deep .p-dropdown-panel{margin-top:5px!important}.dropdown-image{width:25px;margin-right:.7rem}.dropdown-logo{text-align:center;font-size:25px;margin-right:.7rem}\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.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "autoShowPanelOnPrintableCharacterKeyDown", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
66
|
+
}
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixDropdownComponent, decorators: [{
|
|
68
|
+
type: Component,
|
|
69
|
+
args: [{ selector: 'atomix-dropdown', template: "<label *ngIf=\"label\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-dropdown\n [options]=\"options\"\n [(ngModel)]=\"selectedValues\"\n (onChange)=\"onChange($event)\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [showClear]=\"showClear\"\n [filter]=\"filter\"\n [filterBy]=\"optionLabel\"\n appendTo=\"body\"\n [disabled]=\"disabled\"\n [styleClass]=\"dropDownStyleClass\"\n (onFilter)=\"onFilter($event)\"\n [placeholder]=\"placeholder\"\n>\n <ng-template let-option pTemplate=\"item\">\n <div class=\"custom-item\">\n <i\n [ngClass]=\"option.dropdownIcon\"\n class=\"dropdown-logo\"\n *ngIf=\"option.dropdownIcon\"\n ></i>\n <img\n [alt]=\"option.dropdownImage\"\n [src]=\"option.dropdownImage\"\n *ngIf=\"option.dropdownImage\"\n class=\"dropdown-image\"\n />\n\n <span>{{ option[optionLabel] }}</span>\n </div>\n </ng-template>\n</p-dropdown>\n", styles: ["::ng-deep .p-dropdown-panel{margin-top:5px!important}.dropdown-image{width:25px;margin-right:.7rem}.dropdown-logo{text-align:center;font-size:25px;margin-right:.7rem}\n"] }]
|
|
70
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { options: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], selectedValues: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], optionValue: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], placeholder: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], optionLabel: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], filter: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], name: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], dropDownStyleClass: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], withIcon: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], disabled: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], showClear: [{
|
|
91
|
+
type: Input
|
|
92
|
+
}], iconName: [{
|
|
93
|
+
type: Input
|
|
94
|
+
}], containerClass: [{
|
|
95
|
+
type: Input
|
|
96
|
+
}], label: [{
|
|
97
|
+
type: Input
|
|
98
|
+
}], isLabelRequired: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], handleDropdownValueChange: [{
|
|
101
|
+
type: Output
|
|
102
|
+
}], handleOnFilter: [{
|
|
103
|
+
type: Output
|
|
104
|
+
}] } });
|
|
105
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXRvbWl4LWRyb3Bkb3duLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ByaW1la2l0L3NyYy9saWIvbGliL2F0b21peC1kcm9wZG93bi9hdG9taXgtZHJvcGRvd24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9saWIvYXRvbWl4LWRyb3Bkb3duL2F0b21peC1kcm9wZG93bi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUNULEtBQUssRUFDTCxNQUFNLEVBQ04sWUFBWSxHQUdiLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFDTCxZQUFZLEVBQ1osb0JBQW9CLEVBQ3BCLE9BQU8sRUFDUCxZQUFZLEdBQ2IsTUFBTSxNQUFNLENBQUM7Ozs7OztBQU9kLE1BQU0sT0FBTyx1QkFBdUI7SUEyQ3hCO0lBQ0E7SUEzQ0QsT0FBTyxHQUFVLEVBQUUsQ0FBQyxDQUFDLEVBQUU7SUFDdkIsY0FBYyxDQUFNO0lBQ3BCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsV0FBVyxHQUFXLEVBQUUsQ0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zcmNdPVwib3B0aW9uLmRyb3Bkb3duSW1hZ2VcIlxuICAgICAgICAqbmdJZj1cIm9wdGlvbi5kcm9wZG93bkltYWdlXCJcbiAgICAgICAgY2xhc3M9XCJkcm9wZG93bi1pbWFnZVwiXG4gICAgICAvPlxuXG4gICAgICA8c3Bhbj57eyBvcHRpb25bb3B0aW9uTGFiZWxdIH19PC9zcGFuPlxuICAgIDwvZGl2PlxuICA8L25nLXRlbXBsYXRlPlxuPC9wLWRyb3Bkb3duPlxuIl19
|
|
@@ -1,34 +1,49 @@
|
|
|
1
1
|
import { NgModule } from '@angular/core';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { FormsModule } from '@angular/forms';
|
|
3
4
|
// Primeng Components
|
|
4
5
|
import { ButtonModule } from 'primeng/button';
|
|
5
6
|
import { DialogModule } from 'primeng/dialog';
|
|
6
7
|
import { CardModule } from 'primeng/card';
|
|
7
8
|
import { InputTextModule } from 'primeng/inputtext';
|
|
9
|
+
import { CalendarModule } from 'primeng/calendar';
|
|
10
|
+
import { DropdownModule } from 'primeng/dropdown';
|
|
8
11
|
// Common Components
|
|
9
12
|
import { AtomixCardComponent } from './lib/atomix-card/atomix-card.component';
|
|
10
13
|
import { AtomixConfirmationDialogComponent } from './lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';
|
|
11
14
|
import { AtomixInputComponent } from './lib/atomix-input/atomix-input.component';
|
|
12
15
|
import { AtomixButtonComponent } from './lib/atomix-button/atomix-button.component';
|
|
16
|
+
import { AtomixCalendarComponent } from './lib/atomix-calendar/atomix-calendar.component';
|
|
17
|
+
import { AtomixDropdownComponent } from './lib/atomix-dropdown/atomix-dropdown.component';
|
|
13
18
|
import * as i0 from "@angular/core";
|
|
14
19
|
export class PrimekitModule {
|
|
15
20
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
16
21
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, declarations: [AtomixButtonComponent,
|
|
17
22
|
AtomixCardComponent,
|
|
18
23
|
AtomixConfirmationDialogComponent,
|
|
19
|
-
AtomixInputComponent
|
|
24
|
+
AtomixInputComponent,
|
|
25
|
+
AtomixCalendarComponent,
|
|
26
|
+
AtomixDropdownComponent], imports: [CommonModule,
|
|
20
27
|
ButtonModule,
|
|
21
28
|
CardModule,
|
|
22
29
|
DialogModule,
|
|
23
|
-
InputTextModule
|
|
30
|
+
InputTextModule,
|
|
31
|
+
CalendarModule,
|
|
32
|
+
DropdownModule,
|
|
33
|
+
FormsModule], exports: [AtomixButtonComponent,
|
|
24
34
|
AtomixCardComponent,
|
|
25
35
|
AtomixConfirmationDialogComponent,
|
|
26
|
-
AtomixInputComponent
|
|
36
|
+
AtomixInputComponent,
|
|
37
|
+
AtomixCalendarComponent,
|
|
38
|
+
AtomixDropdownComponent] });
|
|
27
39
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, imports: [CommonModule,
|
|
28
40
|
ButtonModule,
|
|
29
41
|
CardModule,
|
|
30
42
|
DialogModule,
|
|
31
|
-
InputTextModule
|
|
43
|
+
InputTextModule,
|
|
44
|
+
CalendarModule,
|
|
45
|
+
DropdownModule,
|
|
46
|
+
FormsModule] });
|
|
32
47
|
}
|
|
33
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, decorators: [{
|
|
34
49
|
type: NgModule,
|
|
@@ -38,6 +53,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
38
53
|
AtomixCardComponent,
|
|
39
54
|
AtomixConfirmationDialogComponent,
|
|
40
55
|
AtomixInputComponent,
|
|
56
|
+
AtomixCalendarComponent,
|
|
57
|
+
AtomixDropdownComponent,
|
|
41
58
|
],
|
|
42
59
|
imports: [
|
|
43
60
|
CommonModule,
|
|
@@ -45,13 +62,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
45
62
|
CardModule,
|
|
46
63
|
DialogModule,
|
|
47
64
|
InputTextModule,
|
|
48
|
-
|
|
65
|
+
CalendarModule,
|
|
66
|
+
DropdownModule,
|
|
67
|
+
FormsModule,
|
|
68
|
+
], // Import the PrimeNG Module here
|
|
49
69
|
exports: [
|
|
50
70
|
AtomixButtonComponent,
|
|
51
71
|
AtomixCardComponent,
|
|
52
72
|
AtomixConfirmationDialogComponent,
|
|
53
73
|
AtomixInputComponent,
|
|
74
|
+
AtomixCalendarComponent,
|
|
75
|
+
AtomixDropdownComponent,
|
|
54
76
|
], // Export your component
|
|
55
77
|
}]
|
|
56
78
|
}] });
|
|
57
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWVraXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJpbWVraXQvc3JjL2xpYi9wcmltZWtpdC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLHFCQUFxQjtBQUNyQixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzlDLE9BQU8sRU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YWxvZ0NvbXBvbmVudCxcbiAgICBBdG9taXhJbnB1dENvbXBvbmVudCxcbiAgICBBdG9taXhDYWxlbmRhckNvbXBvbmVudCxcbiAgICBBdG9taXhEcm9wZG93bkNvbXBvbmVudCxcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZSxcbiAgICBCdXR0b25Nb2R1bGUsXG4gICAgQ2FyZE1vZHVsZSxcbiAgICBEaWFsb2dNb2R1bGUsXG4gICAgSW5wdXRUZXh0TW9kdWxlLFxuICAgIENhbGVuZGFyTW9kdWxlLFxuICAgIERyb3Bkb3duTW9kdWxlLFxuICAgIEZvcm1zTW9kdWxlLFxuICBdLCAvLyBJbXBvcnQgdGhlIFByaW1lTkcgTW9kdWxlIGhlcmVcbiAgZXhwb3J0czogW1xuICAgIEF0b21peEJ1dHRvbkNvbXBvbmVudCxcbiAgICBBdG9taXhDYXJkQ29tcG9uZW50LFxuICAgIEF0b21peENvbmZpcm1hdGlvbkRpYWxvZ0NvbXBvbmVudCxcbiAgICBBdG9taXhJbnB1dENvbXBvbmVudCxcbiAgICBBdG9taXhDYWxlbmRhckNvbXBvbmVudCxcbiAgICBBdG9taXhEcm9wZG93bkNvbXBvbmVudCxcbiAgXSwgLy8gRXhwb3J0IHlvdXIgY29tcG9uZW50XG59KVxuZXhwb3J0IGNsYXNzIFByaW1la2l0TW9kdWxlIHt9XG4iXX0=
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -9,4 +9,6 @@ export * from './lib/lib/atomix-button/atomix-button.component';
|
|
|
9
9
|
export * from './lib/lib/atomix-card/atomix-card.component';
|
|
10
10
|
export * from './lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';
|
|
11
11
|
export * from './lib/lib/atomix-input/atomix-input.component';
|
|
12
|
-
|
|
12
|
+
export * from './lib/lib/atomix-calendar/atomix-calendar.component';
|
|
13
|
+
export * from './lib/lib/atomix-dropdown/atomix-dropdown.component';
|
|
14
|
+
//# sourceMappingURL=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L2xpYi9hdG9taXgtaW5wdXQvYXRvbWl4LWlucHV0LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2xpYi9saWIvYXRvbWl4LWNhbGVuZGFyL2F0b21peC1jYWxlbmRhci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvbGliL2F0b21peC1kcm9wZG93bi9hdG9taXgtZHJvcGRvd24uY29tcG9uZW50JztcbiJdfQ==
|
package/fesm2022/primekit.mjs
CHANGED
|
@@ -2,6 +2,8 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Injectable, Component, Input, EventEmitter, Output, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$2 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2$2 from '@angular/forms';
|
|
6
|
+
import { FormsModule } from '@angular/forms';
|
|
5
7
|
import * as i1$1 from 'primeng/button';
|
|
6
8
|
import { ButtonModule } from 'primeng/button';
|
|
7
9
|
import * as i2 from 'primeng/dialog';
|
|
@@ -10,6 +12,12 @@ import * as i1 from 'primeng/card';
|
|
|
10
12
|
import { CardModule } from 'primeng/card';
|
|
11
13
|
import * as i2$1 from 'primeng/inputtext';
|
|
12
14
|
import { InputTextModule } from 'primeng/inputtext';
|
|
15
|
+
import * as i1$3 from 'primeng/calendar';
|
|
16
|
+
import { CalendarModule } from 'primeng/calendar';
|
|
17
|
+
import * as i3 from 'primeng/dropdown';
|
|
18
|
+
import { DropdownModule } from 'primeng/dropdown';
|
|
19
|
+
import { Subject, debounceTime, distinctUntilChanged, Subscription } from 'rxjs';
|
|
20
|
+
import * as i2$3 from 'primeng/api';
|
|
13
21
|
|
|
14
22
|
class PrimekitService {
|
|
15
23
|
constructor() { }
|
|
@@ -190,24 +198,218 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
190
198
|
type: Output
|
|
191
199
|
}] } });
|
|
192
200
|
|
|
201
|
+
class AtomixCalendarComponent {
|
|
202
|
+
placeholder = '';
|
|
203
|
+
selectionMode = 'single';
|
|
204
|
+
styleClass = '';
|
|
205
|
+
inputStyleClass = '';
|
|
206
|
+
disabled = false;
|
|
207
|
+
selectedDate = null;
|
|
208
|
+
dateRangeChange = new EventEmitter();
|
|
209
|
+
maxDate;
|
|
210
|
+
minDate;
|
|
211
|
+
enLocale = {
|
|
212
|
+
firstDayOfWeek: 0,
|
|
213
|
+
dayNames: [
|
|
214
|
+
'Sunday',
|
|
215
|
+
'Monday',
|
|
216
|
+
'Tuesday',
|
|
217
|
+
'Wednesday',
|
|
218
|
+
'Thursday',
|
|
219
|
+
'Friday',
|
|
220
|
+
'Saturday',
|
|
221
|
+
],
|
|
222
|
+
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],
|
|
223
|
+
dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
|
|
224
|
+
monthNames: [
|
|
225
|
+
'January',
|
|
226
|
+
'February',
|
|
227
|
+
'March',
|
|
228
|
+
'April',
|
|
229
|
+
'May',
|
|
230
|
+
'June',
|
|
231
|
+
'July',
|
|
232
|
+
'August',
|
|
233
|
+
'September',
|
|
234
|
+
'October',
|
|
235
|
+
'November',
|
|
236
|
+
'December',
|
|
237
|
+
],
|
|
238
|
+
monthNamesShort: [
|
|
239
|
+
'Jan',
|
|
240
|
+
'Feb',
|
|
241
|
+
'Mar',
|
|
242
|
+
'Apr',
|
|
243
|
+
'May',
|
|
244
|
+
'Jun',
|
|
245
|
+
'Jul',
|
|
246
|
+
'Aug',
|
|
247
|
+
'Sep',
|
|
248
|
+
'Oct',
|
|
249
|
+
'Nov',
|
|
250
|
+
'Dec',
|
|
251
|
+
],
|
|
252
|
+
today: 'Today',
|
|
253
|
+
clear: 'Clear',
|
|
254
|
+
};
|
|
255
|
+
clearDateRange() {
|
|
256
|
+
this.selectedDate = null;
|
|
257
|
+
}
|
|
258
|
+
onDateRangeChange(dateRange) {
|
|
259
|
+
this.dateRangeChange.emit(dateRange);
|
|
260
|
+
}
|
|
261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
262
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixCalendarComponent, selector: "atomix-calendar", inputs: { placeholder: "placeholder", selectionMode: "selectionMode", styleClass: "styleClass", inputStyleClass: "inputStyleClass", disabled: "disabled", selectedDate: "selectedDate", maxDate: "maxDate", minDate: "minDate" }, outputs: { dateRangeChange: "dateRangeChange" }, ngImport: i0, template: "<p-calendar\n [(ngModel)]=\"selectedDate\"\n [selectionMode]=\"selectionMode\"\n [showButtonBar]=\"true\"\n [dateFormat]=\"'mm/dd/yy'\"\n [showOtherMonths]=\"true\"\n [showOnFocus]=\"true\"\n [locale]=\"enLocale\"\n [showIcon]=\"true\"\n [placeholder]=\"placeholder\"\n [styleClass]=\"styleClass\"\n [inputStyleClass]=\"inputStyleClass\"\n (ngModelChange)=\"onDateRangeChange($event)\"\n appendTo=\"body\"\n [showClear]=\"true\"\n [disabled]=\"disabled\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n>\n</p-calendar>\n", styles: [""], dependencies: [{ kind: "component", type: i1$3.Calendar, selector: "p-calendar", inputs: ["iconDisplay", "style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepYearPicker", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "variant", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale", "view", "defaultDate"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
263
|
+
}
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixCalendarComponent, decorators: [{
|
|
265
|
+
type: Component,
|
|
266
|
+
args: [{ selector: 'atomix-calendar', template: "<p-calendar\n [(ngModel)]=\"selectedDate\"\n [selectionMode]=\"selectionMode\"\n [showButtonBar]=\"true\"\n [dateFormat]=\"'mm/dd/yy'\"\n [showOtherMonths]=\"true\"\n [showOnFocus]=\"true\"\n [locale]=\"enLocale\"\n [showIcon]=\"true\"\n [placeholder]=\"placeholder\"\n [styleClass]=\"styleClass\"\n [inputStyleClass]=\"inputStyleClass\"\n (ngModelChange)=\"onDateRangeChange($event)\"\n appendTo=\"body\"\n [showClear]=\"true\"\n [disabled]=\"disabled\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n>\n</p-calendar>\n" }]
|
|
267
|
+
}], propDecorators: { placeholder: [{
|
|
268
|
+
type: Input
|
|
269
|
+
}], selectionMode: [{
|
|
270
|
+
type: Input
|
|
271
|
+
}], styleClass: [{
|
|
272
|
+
type: Input
|
|
273
|
+
}], inputStyleClass: [{
|
|
274
|
+
type: Input
|
|
275
|
+
}], disabled: [{
|
|
276
|
+
type: Input
|
|
277
|
+
}], selectedDate: [{
|
|
278
|
+
type: Input
|
|
279
|
+
}], dateRangeChange: [{
|
|
280
|
+
type: Output
|
|
281
|
+
}], maxDate: [{
|
|
282
|
+
type: Input
|
|
283
|
+
}], minDate: [{
|
|
284
|
+
type: Input
|
|
285
|
+
}] } });
|
|
286
|
+
|
|
287
|
+
class AtomixDropdownComponent {
|
|
288
|
+
cdr;
|
|
289
|
+
ngZone;
|
|
290
|
+
options = []; //
|
|
291
|
+
selectedValues;
|
|
292
|
+
optionValue = '';
|
|
293
|
+
placeholder = '';
|
|
294
|
+
optionLabel = '';
|
|
295
|
+
filter = true;
|
|
296
|
+
name = '';
|
|
297
|
+
dropDownStyleClass = '';
|
|
298
|
+
withIcon = false;
|
|
299
|
+
disabled = false;
|
|
300
|
+
showClear = true;
|
|
301
|
+
iconName = '';
|
|
302
|
+
containerClass = ''; //
|
|
303
|
+
label = '';
|
|
304
|
+
isLabelRequired = false;
|
|
305
|
+
handleDropdownValueChange = new EventEmitter();
|
|
306
|
+
handleOnFilter = new EventEmitter();
|
|
307
|
+
/**
|
|
308
|
+
* The input from the user used to search list
|
|
309
|
+
*/
|
|
310
|
+
filerValue = new Subject();
|
|
311
|
+
/**
|
|
312
|
+
* The time in ms that it takes to register when user is done typing
|
|
313
|
+
*/
|
|
314
|
+
debounceTime = 300;
|
|
315
|
+
/**
|
|
316
|
+
* The trigger that uses the debounce time to create delay of when user types to actual filtering
|
|
317
|
+
*/
|
|
318
|
+
trigger = this.filerValue.pipe(debounceTime(this.debounceTime), distinctUntilChanged());
|
|
319
|
+
/**
|
|
320
|
+
* Subscription to trigger
|
|
321
|
+
*/
|
|
322
|
+
subscription = new Subscription();
|
|
323
|
+
constructor(cdr, ngZone) {
|
|
324
|
+
this.cdr = cdr;
|
|
325
|
+
this.ngZone = ngZone;
|
|
326
|
+
this.subscription.add(this.trigger.subscribe(($event) => {
|
|
327
|
+
this.handleOnFilter.emit($event);
|
|
328
|
+
}));
|
|
329
|
+
}
|
|
330
|
+
onChange(event) {
|
|
331
|
+
this.ngZone.run(() => {
|
|
332
|
+
this.handleDropdownValueChange.emit([event.value, this.name]);
|
|
333
|
+
this.cdr.detectChanges(); // Ensure changes are detected
|
|
334
|
+
});
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @param event
|
|
339
|
+
*/
|
|
340
|
+
onFilter(event) {
|
|
341
|
+
this.filerValue.next(event);
|
|
342
|
+
}
|
|
343
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixDropdownComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
344
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixDropdownComponent, selector: "atomix-dropdown", inputs: { options: "options", selectedValues: "selectedValues", optionValue: "optionValue", placeholder: "placeholder", optionLabel: "optionLabel", filter: "filter", name: "name", dropDownStyleClass: "dropDownStyleClass", withIcon: "withIcon", disabled: "disabled", showClear: "showClear", iconName: "iconName", containerClass: "containerClass", label: "label", isLabelRequired: "isLabelRequired" }, outputs: { handleDropdownValueChange: "handleDropdownValueChange", handleOnFilter: "handleOnFilter" }, ngImport: i0, template: "<label *ngIf=\"label\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-dropdown\n [options]=\"options\"\n [(ngModel)]=\"selectedValues\"\n (onChange)=\"onChange($event)\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [showClear]=\"showClear\"\n [filter]=\"filter\"\n [filterBy]=\"optionLabel\"\n appendTo=\"body\"\n [disabled]=\"disabled\"\n [styleClass]=\"dropDownStyleClass\"\n (onFilter)=\"onFilter($event)\"\n [placeholder]=\"placeholder\"\n>\n <ng-template let-option pTemplate=\"item\">\n <div class=\"custom-item\">\n <i\n [ngClass]=\"option.dropdownIcon\"\n class=\"dropdown-logo\"\n *ngIf=\"option.dropdownIcon\"\n ></i>\n <img\n [alt]=\"option.dropdownImage\"\n [src]=\"option.dropdownImage\"\n *ngIf=\"option.dropdownImage\"\n class=\"dropdown-image\"\n />\n\n <span>{{ option[optionLabel] }}</span>\n </div>\n </ng-template>\n</p-dropdown>\n", styles: ["::ng-deep .p-dropdown-panel{margin-top:5px!important}.dropdown-image{width:25px;margin-right:.7rem}.dropdown-logo{text-align:center;font-size:25px;margin-right:.7rem}\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$3.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "variant", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "autoShowPanelOnPrintableCharacterKeyDown", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }] });
|
|
345
|
+
}
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixDropdownComponent, decorators: [{
|
|
347
|
+
type: Component,
|
|
348
|
+
args: [{ selector: 'atomix-dropdown', template: "<label *ngIf=\"label\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-dropdown\n [options]=\"options\"\n [(ngModel)]=\"selectedValues\"\n (onChange)=\"onChange($event)\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [showClear]=\"showClear\"\n [filter]=\"filter\"\n [filterBy]=\"optionLabel\"\n appendTo=\"body\"\n [disabled]=\"disabled\"\n [styleClass]=\"dropDownStyleClass\"\n (onFilter)=\"onFilter($event)\"\n [placeholder]=\"placeholder\"\n>\n <ng-template let-option pTemplate=\"item\">\n <div class=\"custom-item\">\n <i\n [ngClass]=\"option.dropdownIcon\"\n class=\"dropdown-logo\"\n *ngIf=\"option.dropdownIcon\"\n ></i>\n <img\n [alt]=\"option.dropdownImage\"\n [src]=\"option.dropdownImage\"\n *ngIf=\"option.dropdownImage\"\n class=\"dropdown-image\"\n />\n\n <span>{{ option[optionLabel] }}</span>\n </div>\n </ng-template>\n</p-dropdown>\n", styles: ["::ng-deep .p-dropdown-panel{margin-top:5px!important}.dropdown-image{width:25px;margin-right:.7rem}.dropdown-logo{text-align:center;font-size:25px;margin-right:.7rem}\n"] }]
|
|
349
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { options: [{
|
|
350
|
+
type: Input
|
|
351
|
+
}], selectedValues: [{
|
|
352
|
+
type: Input
|
|
353
|
+
}], optionValue: [{
|
|
354
|
+
type: Input
|
|
355
|
+
}], placeholder: [{
|
|
356
|
+
type: Input
|
|
357
|
+
}], optionLabel: [{
|
|
358
|
+
type: Input
|
|
359
|
+
}], filter: [{
|
|
360
|
+
type: Input
|
|
361
|
+
}], name: [{
|
|
362
|
+
type: Input
|
|
363
|
+
}], dropDownStyleClass: [{
|
|
364
|
+
type: Input
|
|
365
|
+
}], withIcon: [{
|
|
366
|
+
type: Input
|
|
367
|
+
}], disabled: [{
|
|
368
|
+
type: Input
|
|
369
|
+
}], showClear: [{
|
|
370
|
+
type: Input
|
|
371
|
+
}], iconName: [{
|
|
372
|
+
type: Input
|
|
373
|
+
}], containerClass: [{
|
|
374
|
+
type: Input
|
|
375
|
+
}], label: [{
|
|
376
|
+
type: Input
|
|
377
|
+
}], isLabelRequired: [{
|
|
378
|
+
type: Input
|
|
379
|
+
}], handleDropdownValueChange: [{
|
|
380
|
+
type: Output
|
|
381
|
+
}], handleOnFilter: [{
|
|
382
|
+
type: Output
|
|
383
|
+
}] } });
|
|
384
|
+
|
|
193
385
|
class PrimekitModule {
|
|
194
386
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
195
387
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, declarations: [AtomixButtonComponent,
|
|
196
388
|
AtomixCardComponent,
|
|
197
389
|
AtomixConfirmationDialogComponent,
|
|
198
|
-
AtomixInputComponent
|
|
390
|
+
AtomixInputComponent,
|
|
391
|
+
AtomixCalendarComponent,
|
|
392
|
+
AtomixDropdownComponent], imports: [CommonModule,
|
|
199
393
|
ButtonModule,
|
|
200
394
|
CardModule,
|
|
201
395
|
DialogModule,
|
|
202
|
-
InputTextModule
|
|
396
|
+
InputTextModule,
|
|
397
|
+
CalendarModule,
|
|
398
|
+
DropdownModule,
|
|
399
|
+
FormsModule], exports: [AtomixButtonComponent,
|
|
203
400
|
AtomixCardComponent,
|
|
204
401
|
AtomixConfirmationDialogComponent,
|
|
205
|
-
AtomixInputComponent
|
|
402
|
+
AtomixInputComponent,
|
|
403
|
+
AtomixCalendarComponent,
|
|
404
|
+
AtomixDropdownComponent] });
|
|
206
405
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, imports: [CommonModule,
|
|
207
406
|
ButtonModule,
|
|
208
407
|
CardModule,
|
|
209
408
|
DialogModule,
|
|
210
|
-
InputTextModule
|
|
409
|
+
InputTextModule,
|
|
410
|
+
CalendarModule,
|
|
411
|
+
DropdownModule,
|
|
412
|
+
FormsModule] });
|
|
211
413
|
}
|
|
212
414
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, decorators: [{
|
|
213
415
|
type: NgModule,
|
|
@@ -217,6 +419,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
217
419
|
AtomixCardComponent,
|
|
218
420
|
AtomixConfirmationDialogComponent,
|
|
219
421
|
AtomixInputComponent,
|
|
422
|
+
AtomixCalendarComponent,
|
|
423
|
+
AtomixDropdownComponent,
|
|
220
424
|
],
|
|
221
425
|
imports: [
|
|
222
426
|
CommonModule,
|
|
@@ -224,12 +428,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
224
428
|
CardModule,
|
|
225
429
|
DialogModule,
|
|
226
430
|
InputTextModule,
|
|
227
|
-
|
|
431
|
+
CalendarModule,
|
|
432
|
+
DropdownModule,
|
|
433
|
+
FormsModule,
|
|
434
|
+
], // Import the PrimeNG Module here
|
|
228
435
|
exports: [
|
|
229
436
|
AtomixButtonComponent,
|
|
230
437
|
AtomixCardComponent,
|
|
231
438
|
AtomixConfirmationDialogComponent,
|
|
232
439
|
AtomixInputComponent,
|
|
440
|
+
AtomixCalendarComponent,
|
|
441
|
+
AtomixDropdownComponent,
|
|
233
442
|
], // Export your component
|
|
234
443
|
}]
|
|
235
444
|
}] });
|
|
@@ -242,5 +451,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
242
451
|
* Generated bundle index. Do not edit.
|
|
243
452
|
*/
|
|
244
453
|
|
|
245
|
-
export { AtomixButtonComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixInputComponent, PrimekitComponent, PrimekitModule, PrimekitService };
|
|
454
|
+
export { AtomixButtonComponent, AtomixCalendarComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixDropdownComponent, AtomixInputComponent, PrimekitComponent, PrimekitModule, PrimekitService };
|
|
246
455
|
//# 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/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,GAAgB;wGADL,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA,CAAA;;4FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCKY,iBAAiB,CAAA;wGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,wEAHlB,CAA0B,wBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGzB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,EACZ,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,EAAE,YACD,CAA0B,wBAAA,CAAA,EAAA,CAAA;;;MCCzB,mBAAmB,CAAA;AACrB,IAAA,MAAM,CAAqB;AAC3B,IAAA,MAAM,CAAqB;AAC3B,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qB;YACrB,mBAAmB;YACnB,iCAAiC;YACjC,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAGX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,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;;;;"}
|
|
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/lib/atomix-calendar/atomix-calendar.component.ts","../../../projects/primekit/src/lib/lib/atomix-calendar/atomix-calendar.component.html","../../../projects/primekit/src/lib/lib/atomix-dropdown/atomix-dropdown.component.ts","../../../projects/primekit/src/lib/lib/atomix-dropdown/atomix-dropdown.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 { Component, EventEmitter, Input, Output } from '@angular/core';\n\n@Component({\n selector: 'atomix-calendar',\n templateUrl: './atomix-calendar.component.html',\n styleUrls: ['./atomix-calendar.component.css'],\n})\nexport class AtomixCalendarComponent {\n @Input() placeholder: string = '';\n @Input() selectionMode: 'single' | 'multiple' | 'range' = 'single';\n @Input() styleClass: string = '';\n @Input() inputStyleClass: string = '';\n @Input() disabled: boolean = false;\n @Input() selectedDate: Date[] | null | Date = null;\n @Output() dateRangeChange = new EventEmitter<any>();\n @Input() maxDate!: Date;\n @Input() minDate!: Date;\n\n enLocale = {\n firstDayOfWeek: 0,\n dayNames: [\n 'Sunday',\n 'Monday',\n 'Tuesday',\n 'Wednesday',\n 'Thursday',\n 'Friday',\n 'Saturday',\n ],\n dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'],\n dayNamesMin: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],\n monthNames: [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ],\n monthNamesShort: [\n 'Jan',\n 'Feb',\n 'Mar',\n 'Apr',\n 'May',\n 'Jun',\n 'Jul',\n 'Aug',\n 'Sep',\n 'Oct',\n 'Nov',\n 'Dec',\n ],\n today: 'Today',\n clear: 'Clear',\n };\n\n clearDateRange() {\n this.selectedDate = null;\n }\n\n onDateRangeChange(dateRange: Date[] | null): void {\n this.dateRangeChange.emit(dateRange);\n }\n}\n","<p-calendar\n [(ngModel)]=\"selectedDate\"\n [selectionMode]=\"selectionMode\"\n [showButtonBar]=\"true\"\n [dateFormat]=\"'mm/dd/yy'\"\n [showOtherMonths]=\"true\"\n [showOnFocus]=\"true\"\n [locale]=\"enLocale\"\n [showIcon]=\"true\"\n [placeholder]=\"placeholder\"\n [styleClass]=\"styleClass\"\n [inputStyleClass]=\"inputStyleClass\"\n (ngModelChange)=\"onDateRangeChange($event)\"\n appendTo=\"body\"\n [showClear]=\"true\"\n [disabled]=\"disabled\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n>\n</p-calendar>\n","import {\n Component,\n Input,\n Output,\n EventEmitter,\n NgZone,\n ChangeDetectorRef,\n} from '@angular/core';\nimport { DropdownFilterEvent } from 'primeng/dropdown';\nimport {\n debounceTime,\n distinctUntilChanged,\n Subject,\n Subscription,\n} from 'rxjs';\n\n@Component({\n selector: 'atomix-dropdown',\n templateUrl: './atomix-dropdown.component.html',\n styleUrls: ['./atomix-dropdown.component.css'],\n})\nexport class AtomixDropdownComponent {\n @Input() options: any[] = []; //\n @Input() selectedValues: any;\n @Input() optionValue: string = '';\n @Input() placeholder: string = '';\n @Input() optionLabel: string = '';\n @Input() filter: boolean = true;\n @Input() name: string = '';\n @Input() dropDownStyleClass: string = '';\n @Input() withIcon: boolean = false;\n @Input() disabled: boolean = false;\n @Input() showClear: boolean = true;\n @Input() iconName: string = '';\n @Input() containerClass: string = ''; //\n @Input() label: string = '';\n @Input() isLabelRequired: boolean = false;\n @Output() handleDropdownValueChange = new EventEmitter<any>();\n @Output() handleOnFilter = new EventEmitter<DropdownFilterEvent>();\n\n /**\n * The input from the user used to search list\n */\n filerValue = new Subject<DropdownFilterEvent>();\n\n /**\n * The time in ms that it takes to register when user is done typing\n */\n debounceTime = 300;\n\n /**\n * The trigger that uses the debounce time to create delay of when user types to actual filtering\n */\n trigger = this.filerValue.pipe(\n debounceTime(this.debounceTime),\n distinctUntilChanged()\n );\n\n /**\n * Subscription to trigger\n */\n subscription: Subscription = new Subscription();\n\n constructor(\n private cdr: ChangeDetectorRef,\n private ngZone: NgZone\n ) {\n this.subscription.add(\n this.trigger.subscribe(($event) => {\n this.handleOnFilter.emit($event);\n })\n );\n }\n\n onChange(event: any) {\n this.ngZone.run(() => {\n this.handleDropdownValueChange.emit([event.value, this.name]);\n this.cdr.detectChanges(); // Ensure changes are detected\n });\n }\n\n /**\n *\n * @param event\n */\n onFilter(event: DropdownFilterEvent) {\n this.filerValue.next(event);\n }\n}\n","<label *ngIf=\"label\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-dropdown\n [options]=\"options\"\n [(ngModel)]=\"selectedValues\"\n (onChange)=\"onChange($event)\"\n [optionValue]=\"optionValue\"\n [optionLabel]=\"optionLabel\"\n [showClear]=\"showClear\"\n [filter]=\"filter\"\n [filterBy]=\"optionLabel\"\n appendTo=\"body\"\n [disabled]=\"disabled\"\n [styleClass]=\"dropDownStyleClass\"\n (onFilter)=\"onFilter($event)\"\n [placeholder]=\"placeholder\"\n>\n <ng-template let-option pTemplate=\"item\">\n <div class=\"custom-item\">\n <i\n [ngClass]=\"option.dropdownIcon\"\n class=\"dropdown-logo\"\n *ngIf=\"option.dropdownIcon\"\n ></i>\n <img\n [alt]=\"option.dropdownImage\"\n [src]=\"option.dropdownImage\"\n *ngIf=\"option.dropdownImage\"\n class=\"dropdown-image\"\n />\n\n <span>{{ option[optionLabel] }}</span>\n </div>\n </ng-template>\n</p-dropdown>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\n// Primeng Components\nimport { ButtonModule } from 'primeng/button';\nimport { DialogModule } from 'primeng/dialog';\nimport { CardModule } from 'primeng/card';\nimport { InputTextModule } from 'primeng/inputtext';\nimport { CalendarModule } from 'primeng/calendar';\nimport { DropdownModule } from 'primeng/dropdown';\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';\nimport { AtomixCalendarComponent } from './lib/atomix-calendar/atomix-calendar.component';\nimport { AtomixDropdownComponent } from './lib/atomix-dropdown/atomix-dropdown.component';\n\n@NgModule({\n declarations: [\n AtomixButtonComponent,\n AtomixCardComponent,\n AtomixConfirmationDialogComponent,\n AtomixInputComponent,\n AtomixCalendarComponent,\n AtomixDropdownComponent,\n ],\n imports: [\n CommonModule,\n ButtonModule,\n CardModule,\n DialogModule,\n InputTextModule,\n CalendarModule,\n DropdownModule,\n FormsModule,\n ], // Import the PrimeNG Module here\n exports: [\n AtomixButtonComponent,\n AtomixCardComponent,\n AtomixConfirmationDialogComponent,\n AtomixInputComponent,\n AtomixCalendarComponent,\n AtomixDropdownComponent,\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';\nexport * from './lib/lib/atomix-calendar/atomix-calendar.component';\nexport * from './lib/lib/atomix-dropdown/atomix-dropdown.component';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;MAKa,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA,GAAgB;wGADL,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA,CAAA;;4FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCKY,iBAAiB,CAAA;wGAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,iBAAiB,wEAHlB,CAA0B,wBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAGzB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,EACZ,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,EAAE,YACD,CAA0B,wBAAA,CAAA,EAAA,CAAA;;;MCCzB,mBAAmB,CAAA;AACrB,IAAA,MAAM,CAA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,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YAlBvB,YAAY;YACZ,YAAY;YACZ,UAAU;YACV,YAAY;YACZ,eAAe;YACf,cAAc;YACd,cAAc;YACd,WAAW,CAAA,EAAA,CAAA,CAAA;;4FAWF,cAAc,EAAA,UAAA,EAAA,CAAA;kBA5B1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,qBAAqB;wBACrB,mBAAmB;wBACnB,iCAAiC;wBACjC,oBAAoB;wBACpB,uBAAuB;wBACvB,uBAAuB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,YAAY;wBACZ,UAAU;wBACV,YAAY;wBACZ,eAAe;wBACf,cAAc;wBACd,cAAc;wBACd,WAAW;AACZ,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,qBAAqB;wBACrB,mBAAmB;wBACnB,iCAAiC;wBACjC,oBAAoB;wBACpB,uBAAuB;wBACvB,uBAAuB;AACxB,qBAAA;AACF,iBAAA,CAAA;;;AC9CD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AtomixCalendarComponent {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
selectionMode: 'single' | 'multiple' | 'range';
|
|
6
|
+
styleClass: string;
|
|
7
|
+
inputStyleClass: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
selectedDate: Date[] | null | Date;
|
|
10
|
+
dateRangeChange: EventEmitter<any>;
|
|
11
|
+
maxDate: Date;
|
|
12
|
+
minDate: Date;
|
|
13
|
+
enLocale: {
|
|
14
|
+
firstDayOfWeek: number;
|
|
15
|
+
dayNames: string[];
|
|
16
|
+
dayNamesShort: string[];
|
|
17
|
+
dayNamesMin: string[];
|
|
18
|
+
monthNames: string[];
|
|
19
|
+
monthNamesShort: string[];
|
|
20
|
+
today: string;
|
|
21
|
+
clear: string;
|
|
22
|
+
};
|
|
23
|
+
clearDateRange(): void;
|
|
24
|
+
onDateRangeChange(dateRange: Date[] | null): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AtomixCalendarComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtomixCalendarComponent, "atomix-calendar", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "styleClass": { "alias": "styleClass"; "required": false; }; "inputStyleClass": { "alias": "inputStyleClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { EventEmitter, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { DropdownFilterEvent } from 'primeng/dropdown';
|
|
3
|
+
import { Subject, Subscription } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AtomixDropdownComponent {
|
|
6
|
+
private cdr;
|
|
7
|
+
private ngZone;
|
|
8
|
+
options: any[];
|
|
9
|
+
selectedValues: any;
|
|
10
|
+
optionValue: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
optionLabel: string;
|
|
13
|
+
filter: boolean;
|
|
14
|
+
name: string;
|
|
15
|
+
dropDownStyleClass: string;
|
|
16
|
+
withIcon: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
showClear: boolean;
|
|
19
|
+
iconName: string;
|
|
20
|
+
containerClass: string;
|
|
21
|
+
label: string;
|
|
22
|
+
isLabelRequired: boolean;
|
|
23
|
+
handleDropdownValueChange: EventEmitter<any>;
|
|
24
|
+
handleOnFilter: EventEmitter<DropdownFilterEvent>;
|
|
25
|
+
/**
|
|
26
|
+
* The input from the user used to search list
|
|
27
|
+
*/
|
|
28
|
+
filerValue: Subject<DropdownFilterEvent>;
|
|
29
|
+
/**
|
|
30
|
+
* The time in ms that it takes to register when user is done typing
|
|
31
|
+
*/
|
|
32
|
+
debounceTime: number;
|
|
33
|
+
/**
|
|
34
|
+
* The trigger that uses the debounce time to create delay of when user types to actual filtering
|
|
35
|
+
*/
|
|
36
|
+
trigger: import("rxjs").Observable<DropdownFilterEvent>;
|
|
37
|
+
/**
|
|
38
|
+
* Subscription to trigger
|
|
39
|
+
*/
|
|
40
|
+
subscription: Subscription;
|
|
41
|
+
constructor(cdr: ChangeDetectorRef, ngZone: NgZone);
|
|
42
|
+
onChange(event: any): void;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @param event
|
|
46
|
+
*/
|
|
47
|
+
onFilter(event: DropdownFilterEvent): void;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AtomixDropdownComponent, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AtomixDropdownComponent, "atomix-dropdown", never, { "options": { "alias": "options"; "required": false; }; "selectedValues": { "alias": "selectedValues"; "required": false; }; "optionValue": { "alias": "optionValue"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "optionLabel": { "alias": "optionLabel"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "name": { "alias": "name"; "required": false; }; "dropDownStyleClass": { "alias": "dropDownStyleClass"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showClear": { "alias": "showClear"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "containerClass": { "alias": "containerClass"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isLabelRequired": { "alias": "isLabelRequired"; "required": false; }; }, { "handleDropdownValueChange": "handleDropdownValueChange"; "handleOnFilter": "handleOnFilter"; }, never, never, false, never>;
|
|
50
|
+
}
|
package/lib/primekit.module.d.ts
CHANGED
|
@@ -3,13 +3,18 @@ import * as i1 from "./lib/atomix-button/atomix-button.component";
|
|
|
3
3
|
import * as i2 from "./lib/atomix-card/atomix-card.component";
|
|
4
4
|
import * as i3 from "./lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component";
|
|
5
5
|
import * as i4 from "./lib/atomix-input/atomix-input.component";
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "primeng/
|
|
10
|
-
import * as i9 from "primeng/
|
|
6
|
+
import * as i5 from "./lib/atomix-calendar/atomix-calendar.component";
|
|
7
|
+
import * as i6 from "./lib/atomix-dropdown/atomix-dropdown.component";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "primeng/button";
|
|
10
|
+
import * as i9 from "primeng/card";
|
|
11
|
+
import * as i10 from "primeng/dialog";
|
|
12
|
+
import * as i11 from "primeng/inputtext";
|
|
13
|
+
import * as i12 from "primeng/calendar";
|
|
14
|
+
import * as i13 from "primeng/dropdown";
|
|
15
|
+
import * as i14 from "@angular/forms";
|
|
11
16
|
export declare class PrimekitModule {
|
|
12
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrimekitModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PrimekitModule, [typeof i1.AtomixButtonComponent, typeof i2.AtomixCardComponent, typeof i3.AtomixConfirmationDialogComponent, typeof i4.AtomixInputComponent], [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PrimekitModule, [typeof i1.AtomixButtonComponent, typeof i2.AtomixCardComponent, typeof i3.AtomixConfirmationDialogComponent, typeof i4.AtomixInputComponent, typeof i5.AtomixCalendarComponent, typeof i6.AtomixDropdownComponent], [typeof i7.CommonModule, typeof i8.ButtonModule, typeof i9.CardModule, typeof i10.DialogModule, typeof i11.InputTextModule, typeof i12.CalendarModule, typeof i13.DropdownModule, typeof i14.FormsModule], [typeof i1.AtomixButtonComponent, typeof i2.AtomixCardComponent, typeof i3.AtomixConfirmationDialogComponent, typeof i4.AtomixInputComponent, typeof i5.AtomixCalendarComponent, typeof i6.AtomixDropdownComponent]>;
|
|
14
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<PrimekitModule>;
|
|
15
20
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -5,3 +5,5 @@ export * from './lib/lib/atomix-button/atomix-button.component';
|
|
|
5
5
|
export * from './lib/lib/atomix-card/atomix-card.component';
|
|
6
6
|
export * from './lib/lib/atomix-confirmation-dialog/atomix-confirmation-dialog.component';
|
|
7
7
|
export * from './lib/lib/atomix-input/atomix-input.component';
|
|
8
|
+
export * from './lib/lib/atomix-calendar/atomix-calendar.component';
|
|
9
|
+
export * from './lib/lib/atomix-dropdown/atomix-dropdown.component';
|