primekit 0.0.35 → 0.0.37
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-alert/atomix-alert.component.mjs +9 -12
- package/esm2022/lib/lib/atomix-dropdown/atomix-dropdown.component.mjs +3 -3
- package/esm2022/lib/lib/atomix-form/atomix-form-calendar/atomix-form-calendar.component.mjs +3 -3
- package/esm2022/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.mjs +25 -0
- package/esm2022/lib/lib/atomix-messages/messages.component.mjs +30 -0
- package/esm2022/lib/lib/atomix-radio-button/atomix-radio-button.component.mjs +50 -0
- package/esm2022/lib/lib/atomix-spinner/atomix-spinner.component.mjs +24 -0
- package/esm2022/lib/lib/atomix-table/atomix-table.component.mjs +1 -2
- package/esm2022/lib/primekit.module.mjs +33 -15
- package/esm2022/public-api.mjs +5 -3
- package/fesm2022/primekit.mjs +142 -54
- package/fesm2022/primekit.mjs.map +1 -1
- package/lib/lib/atomix-alert/atomix-alert.component.d.ts +5 -5
- package/lib/lib/atomix-form/atomix-form-radio-button/atomix-radio-button.component.d.ts +13 -0
- package/lib/lib/atomix-messages/messages.component.d.ts +12 -0
- package/lib/lib/atomix-radio-button/atomix-radio-button.component.d.ts +15 -0
- package/lib/lib/atomix-spinner/atomix-spinner.component.d.ts +9 -0
- package/lib/primekit.module.d.ts +37 -33
- package/package.json +1 -1
- package/public-api.d.ts +4 -2
- package/esm2022/lib/lib/atomix-form/atomix-radio-button/atomix-radio-button.component.mjs +0 -25
- package/esm2022/lib/lib/skeleton/table-skeleton/table-skeleton.component.mjs +0 -25
- package/lib/lib/atomix-form/atomix-radio-button/atomix-radio-button.component.d.ts +0 -13
- package/lib/lib/skeleton/table-skeleton/table-skeleton.component.d.ts +0 -9
package/fesm2022/primekit.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component, Input, EventEmitter, Output, TemplateRef, ViewChild, ContentChild, NgModule } from '@angular/core';
|
|
2
|
+
import { Injectable, Component, Input, EventEmitter, Output, TemplateRef, ViewChild, ContentChild, forwardRef, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$2 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import * as i2$2 from '@angular/forms';
|
|
6
|
-
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import * as i2 from 'primeng/button';
|
|
8
8
|
import { ButtonModule } from 'primeng/button';
|
|
9
9
|
import { DialogModule } from 'primeng/dialog';
|
|
@@ -37,6 +37,10 @@ import * as i2$4 from 'primeng/radiobutton';
|
|
|
37
37
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
38
38
|
import * as i3$1 from 'primeng/toast';
|
|
39
39
|
import { ToastModule } from 'primeng/toast';
|
|
40
|
+
import * as i1$5 from 'primeng/messages';
|
|
41
|
+
import { MessagesModule } from 'primeng/messages';
|
|
42
|
+
import * as i1$6 from 'primeng/progressspinner';
|
|
43
|
+
import { ProgressSpinnerModule } from 'primeng/progressspinner';
|
|
40
44
|
import * as i1$1 from 'primeng/dynamicdialog';
|
|
41
45
|
import { Subject, debounceTime, distinctUntilChanged, Subscription } from 'rxjs';
|
|
42
46
|
import * as i1$4 from 'primeng/api';
|
|
@@ -359,11 +363,11 @@ class AtomixDropdownComponent {
|
|
|
359
363
|
this.filerValue.next(event);
|
|
360
364
|
}
|
|
361
365
|
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 });
|
|
362
|
-
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: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$3.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"] }] });
|
|
366
|
+
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 + ' dropdown'\"\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}::ng-deep .dropdown{margin-top:.2rem!important}:is() .p-inputtext{padding:1rem!important}\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: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$3.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"] }] });
|
|
363
367
|
}
|
|
364
368
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixDropdownComponent, decorators: [{
|
|
365
369
|
type: Component,
|
|
366
|
-
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"] }]
|
|
370
|
+
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 + ' dropdown'\"\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}::ng-deep .dropdown{margin-top:.2rem!important}:is() .p-inputtext{padding:1rem!important}\n"] }]
|
|
367
371
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.NgZone }], propDecorators: { options: [{
|
|
368
372
|
type: Input
|
|
369
373
|
}], selectedValues: [{
|
|
@@ -608,7 +612,6 @@ class AtomixTableComponent {
|
|
|
608
612
|
}
|
|
609
613
|
dropdownHandler(event) {
|
|
610
614
|
this.pageDropdownChange.emit(event?.value);
|
|
611
|
-
this.size = event?.value;
|
|
612
615
|
}
|
|
613
616
|
handleActionClick(action, rowData) {
|
|
614
617
|
if (action.click) {
|
|
@@ -711,25 +714,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
711
714
|
type: Input
|
|
712
715
|
}] } });
|
|
713
716
|
|
|
714
|
-
class AtomixTableSkeletonComponent {
|
|
715
|
-
columns = [];
|
|
716
|
-
rows = 10;
|
|
717
|
-
placeholderArray = [];
|
|
718
|
-
ngOnChanges() {
|
|
719
|
-
this.placeholderArray = Array(this.rows).fill({}); // Update placeholderArray when rows change
|
|
720
|
-
}
|
|
721
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixTableSkeletonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
722
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixTableSkeletonComponent, selector: "app-table-skeleton", inputs: { columns: "columns", rows: "rows" }, usesOnChanges: true, ngImport: i0, template: "<p-table\n [value]=\"placeholderArray\"\n class=\"p-datatable-skeleton\"\n [paginator]=\"false\"\n [scrollable]=\"true\"\n [rows]=\"rows\"\n>\n <ng-template pTemplate=\"header\">\n <tr>\n <th *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\">\n <div class=\"header-content\">\n <span [title]=\"col?.name\">\n {{ col?.name }}\n </span>\n </div>\n </th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\">\n <tr>\n <td *ngFor=\"let col of columns\">\n <p-skeleton width=\"100px\" height=\"2rem\"></p-skeleton>\n </td>\n </tr>\n </ng-template>\n</p-table>\n", styles: [".header-content{color:#374151;font-weight:600}\n"], dependencies: [{ kind: "directive", type: i1$2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i7.Table, selector: "p-table", inputs: ["frozenColumns", "frozenValue", "style", "styleClass", "tableStyle", "tableStyleClass", "paginator", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "paginatorDropdownScrollHeight", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showJumpToPageInput", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "selectionMode", "selectionPageOnly", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "rowSelectable", "rowTrackBy", "lazy", "lazyLoadOnInit", "compareSelectionBy", "csvSeparator", "exportFilename", "filters", "globalFilterFields", "filterDelay", "filterLocale", "expandedRowKeys", "editingRowKeys", "rowExpandMode", "scrollable", "scrollDirection", "rowGroupMode", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "responsive", "contextMenu", "resizableColumns", "columnResizeMode", "reorderableColumns", "loading", "loadingIcon", "showLoader", "rowHover", "customSort", "showInitialSortBadge", "autoLayout", "exportFunction", "exportHeader", "stateKey", "stateStorage", "editMode", "groupRowsBy", "groupRowsByOrder", "responsiveLayout", "breakpoint", "paginatorLocale", "value", "columns", "first", "rows", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "selectAll", "virtualRowHeight"], outputs: ["contextMenuSelectionChange", "selectAllChange", "selectionChange", "onRowSelect", "onRowUnselect", "onPage", "onSort", "onFilter", "onLazyLoad", "onRowExpand", "onRowCollapse", "onContextMenuSelect", "onColResize", "onColReorder", "onRowReorder", "onEditInit", "onEditComplete", "onEditCancel", "onHeaderCheckboxToggle", "sortFunction", "firstChange", "rowsChange", "onStateSave", "onStateRestore"] }, { kind: "directive", type: i7.SortableColumn, selector: "[pSortableColumn]", inputs: ["pSortableColumn", "pSortableColumnDisabled"] }, { kind: "component", type: i8.Skeleton, selector: "p-skeleton", inputs: ["styleClass", "style", "shape", "animation", "borderRadius", "size", "width", "height"] }] });
|
|
723
|
-
}
|
|
724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixTableSkeletonComponent, decorators: [{
|
|
725
|
-
type: Component,
|
|
726
|
-
args: [{ selector: 'app-table-skeleton', template: "<p-table\n [value]=\"placeholderArray\"\n class=\"p-datatable-skeleton\"\n [paginator]=\"false\"\n [scrollable]=\"true\"\n [rows]=\"rows\"\n>\n <ng-template pTemplate=\"header\">\n <tr>\n <th *ngFor=\"let col of columns\" [pSortableColumn]=\"col.field\">\n <div class=\"header-content\">\n <span [title]=\"col?.name\">\n {{ col?.name }}\n </span>\n </div>\n </th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\">\n <tr>\n <td *ngFor=\"let col of columns\">\n <p-skeleton width=\"100px\" height=\"2rem\"></p-skeleton>\n </td>\n </tr>\n </ng-template>\n</p-table>\n", styles: [".header-content{color:#374151;font-weight:600}\n"] }]
|
|
727
|
-
}], propDecorators: { columns: [{
|
|
728
|
-
type: Input
|
|
729
|
-
}], rows: [{
|
|
730
|
-
type: Input
|
|
731
|
-
}] } });
|
|
732
|
-
|
|
733
717
|
class AtomixPaginationComponent {
|
|
734
718
|
dataLength = 0;
|
|
735
719
|
totalRecords = 0;
|
|
@@ -845,11 +829,11 @@ class AtomixFormCalendarComponent {
|
|
|
845
829
|
return this.form.get(this.controlName);
|
|
846
830
|
}
|
|
847
831
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixFormCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
848
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixFormCalendarComponent, selector: "atomix-form-calendar", inputs: { controlName: "controlName", form: "form", view: "view", dateFormat: "dateFormat", label: "label", isLabelRequired: "isLabelRequired", maxDate: "maxDate", minDate: "minDate", selectionMode: "selectionMode", placeholder: "placeholder", styleClass: "styleClass", inputStyleClass: "inputStyleClass" }, outputs: { dateSelectHandler: "dateSelectHandler", dateChangeHandler: "dateChangeHandler" }, ngImport: i0, template: "<label *ngIf=\"label\" [for]=\"controlName\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-calendar\n [formControl]=\"control\"\n id=\"calendar\"\n tooltipPosition=\"top\"\n [view]=\"view\"\n [dateFormat]=\"dateFormat\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [selectionMode]=\"selectionMode\"\n [readonlyInput]=\"true\"\n [placeholder]=\"placeholder\"\n (onClose)=\"dateSelectHandler.emit()\"\n [inputStyleClass]=\"inputStyleClass\"\n [styleClass]=\"styleClass\"\n appendTo=\"body\"\n (onSelect)=\"dateChangeHandler.emit($event)\"\n/>\n", styles: [""], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
832
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixFormCalendarComponent, selector: "atomix-form-calendar", inputs: { controlName: "controlName", form: "form", view: "view", dateFormat: "dateFormat", label: "label", isLabelRequired: "isLabelRequired", maxDate: "maxDate", minDate: "minDate", selectionMode: "selectionMode", placeholder: "placeholder", styleClass: "styleClass", inputStyleClass: "inputStyleClass" }, outputs: { dateSelectHandler: "dateSelectHandler", dateChangeHandler: "dateChangeHandler" }, ngImport: i0, template: "<label *ngIf=\"label\" [for]=\"controlName\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-calendar\n [formControl]=\"control\"\n id=\"calendar\"\n tooltipPosition=\"top\"\n [view]=\"view\"\n [dateFormat]=\"dateFormat\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [selectionMode]=\"selectionMode\"\n [readonlyInput]=\"true\"\n [placeholder]=\"placeholder\"\n (onClose)=\"dateSelectHandler.emit()\"\n [inputStyleClass]=\"inputStyleClass\"\n [styleClass]=\"styleClass+ ' form-calendar'\"\n appendTo=\"body\"\n (onSelect)=\"dateChangeHandler.emit($event)\"\n/>\n", styles: ["::ng-deep .form-calendar{width:100%}::ng-deep .form-calendar input{border-radius:30px!important}\n"], dependencies: [{ kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
849
833
|
}
|
|
850
834
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixFormCalendarComponent, decorators: [{
|
|
851
835
|
type: Component,
|
|
852
|
-
args: [{ selector: 'atomix-form-calendar', template: "<label *ngIf=\"label\" [for]=\"controlName\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-calendar\n [formControl]=\"control\"\n id=\"calendar\"\n tooltipPosition=\"top\"\n [view]=\"view\"\n [dateFormat]=\"dateFormat\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [selectionMode]=\"selectionMode\"\n [readonlyInput]=\"true\"\n [placeholder]=\"placeholder\"\n (onClose)=\"dateSelectHandler.emit()\"\n [inputStyleClass]=\"inputStyleClass\"\n [styleClass]=\"styleClass\"\n appendTo=\"body\"\n (onSelect)=\"dateChangeHandler.emit($event)\"\n/>\n" }]
|
|
836
|
+
args: [{ selector: 'atomix-form-calendar', template: "<label *ngIf=\"label\" [for]=\"controlName\"\n >{{ label }}\n <span *ngIf=\"isLabelRequired\" class=\"error-asterisk\">*</span></label\n>\n<p-calendar\n [formControl]=\"control\"\n id=\"calendar\"\n tooltipPosition=\"top\"\n [view]=\"view\"\n [dateFormat]=\"dateFormat\"\n [maxDate]=\"maxDate\"\n [minDate]=\"minDate\"\n [selectionMode]=\"selectionMode\"\n [readonlyInput]=\"true\"\n [placeholder]=\"placeholder\"\n (onClose)=\"dateSelectHandler.emit()\"\n [inputStyleClass]=\"inputStyleClass\"\n [styleClass]=\"styleClass+ ' form-calendar'\"\n appendTo=\"body\"\n (onSelect)=\"dateChangeHandler.emit($event)\"\n/>\n", styles: ["::ng-deep .form-calendar{width:100%}::ng-deep .form-calendar input{border-radius:30px!important}\n"] }]
|
|
853
837
|
}], propDecorators: { controlName: [{
|
|
854
838
|
type: Input
|
|
855
839
|
}], form: [{
|
|
@@ -1193,19 +1177,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1193
1177
|
type: Input
|
|
1194
1178
|
}] } });
|
|
1195
1179
|
|
|
1196
|
-
class
|
|
1180
|
+
class AtomixFormRadioButtonComponent {
|
|
1197
1181
|
controlName;
|
|
1198
1182
|
form;
|
|
1199
1183
|
value = { name: '', key: '' };
|
|
1200
1184
|
get control() {
|
|
1201
1185
|
return this.form.get(this.controlName);
|
|
1202
1186
|
}
|
|
1203
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
1204
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type:
|
|
1187
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixFormRadioButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1188
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixFormRadioButtonComponent, selector: "atomix-form-radio-button", inputs: { controlName: "controlName", form: "form", value: "value" }, ngImport: i0, template: "<p-radioButton\n [formControl]=\"control\"\n [inputId]=\"controlName\"\n [value]=\"value\"\n></p-radioButton>\n<label [for]=\"controlName\" class=\"ml-2\">{{ value.name }}</label>\n", styles: [""], dependencies: [{ kind: "directive", type: i2$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$4.RadioButton, selector: "p-radioButton", inputs: ["value", "formControlName", "name", "disabled", "label", "variant", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "labelStyleClass", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }] });
|
|
1205
1189
|
}
|
|
1206
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type:
|
|
1190
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixFormRadioButtonComponent, decorators: [{
|
|
1207
1191
|
type: Component,
|
|
1208
|
-
args: [{ selector: 'atomix-radio-button', template: "<p-radioButton\n [formControl]=\"control\"\n [inputId]=\"controlName\"\n [value]=\"value\"\n></p-radioButton>\n<label [for]=\"controlName\" class=\"ml-2\">{{ value.name }}</label>\n" }]
|
|
1192
|
+
args: [{ selector: 'atomix-form-radio-button', template: "<p-radioButton\n [formControl]=\"control\"\n [inputId]=\"controlName\"\n [value]=\"value\"\n></p-radioButton>\n<label [for]=\"controlName\" class=\"ml-2\">{{ value.name }}</label>\n" }]
|
|
1209
1193
|
}], propDecorators: { controlName: [{
|
|
1210
1194
|
type: Input
|
|
1211
1195
|
}], form: [{
|
|
@@ -1222,20 +1206,19 @@ class AtomixToastComponent {
|
|
|
1222
1206
|
this.router = router;
|
|
1223
1207
|
}
|
|
1224
1208
|
toast;
|
|
1225
|
-
|
|
1209
|
+
key = '';
|
|
1210
|
+
showSuccess(title, message) {
|
|
1226
1211
|
this.messageService.add({
|
|
1227
1212
|
severity: 'success',
|
|
1228
1213
|
summary: title,
|
|
1229
1214
|
detail: message,
|
|
1230
|
-
life,
|
|
1231
1215
|
});
|
|
1232
1216
|
}
|
|
1233
|
-
showWarning(title, message
|
|
1217
|
+
showWarning(title, message) {
|
|
1234
1218
|
this.messageService.add({
|
|
1235
1219
|
severity: 'warn',
|
|
1236
1220
|
summary: title,
|
|
1237
1221
|
detail: message,
|
|
1238
|
-
life: duration,
|
|
1239
1222
|
});
|
|
1240
1223
|
}
|
|
1241
1224
|
showError(title, message) {
|
|
@@ -1245,19 +1228,15 @@ class AtomixToastComponent {
|
|
|
1245
1228
|
detail: message,
|
|
1246
1229
|
});
|
|
1247
1230
|
}
|
|
1248
|
-
showInfo(title, message
|
|
1231
|
+
showInfo(title, message) {
|
|
1249
1232
|
this.messageService.add({
|
|
1250
1233
|
severity: 'info',
|
|
1251
1234
|
summary: title,
|
|
1252
1235
|
detail: message,
|
|
1253
|
-
life,
|
|
1254
1236
|
});
|
|
1255
1237
|
}
|
|
1256
|
-
onConfirm() {
|
|
1257
|
-
this.router.navigate([`app/account/downloads`]);
|
|
1258
|
-
}
|
|
1259
1238
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixToastComponent, deps: [{ token: i1$4.MessageService }, { token: i2$5.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1260
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixToastComponent, selector: "atomix-toast", viewQueries: [{ propertyName: "toast", first: true, predicate: ["toast"], descendants: true }], ngImport: i0, template: "<p-toast></p-toast>\n", styles: [".custom-download-button{background-color:#4caf50!important;border-color:#4caf50!important;color:#fff!important;padding:8px 16px;border-radius:4px;font-size:14px;font-weight:600}.toast-container{display:flex;flex-direction:column;align-items:flex-start;padding:16px;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.toast-header{margin-bottom:8px}.toast-summary{font-size:18px;font-weight:600;margin-bottom:4px}.toast-detail{font-size:14px;margin-bottom:16px}.download-button-container{display:flex;justify-content:flex-end;width:100%}.custom-download-link{color:#4caf50;cursor:pointer;text-decoration:underline}\n"], dependencies: [{ kind: "component", type: i3$1.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }] });
|
|
1239
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixToastComponent, selector: "atomix-toast", inputs: { key: "key" }, viewQueries: [{ propertyName: "toast", first: true, predicate: ["toast"], descendants: true }], ngImport: i0, template: "<p-toast></p-toast>\n", styles: [".custom-download-button{background-color:#4caf50!important;border-color:#4caf50!important;color:#fff!important;padding:8px 16px;border-radius:4px;font-size:14px;font-weight:600}.toast-container{display:flex;flex-direction:column;align-items:flex-start;padding:16px;background-color:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.toast-header{margin-bottom:8px}.toast-summary{font-size:18px;font-weight:600;margin-bottom:4px}.toast-detail{font-size:14px;margin-bottom:16px}.download-button-container{display:flex;justify-content:flex-end;width:100%}.custom-download-link{color:#4caf50;cursor:pointer;text-decoration:underline}\n"], dependencies: [{ kind: "component", type: i3$1.Toast, selector: "p-toast", inputs: ["key", "autoZIndex", "baseZIndex", "life", "style", "styleClass", "position", "preventOpenDuplicates", "preventDuplicates", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions", "breakpoints"], outputs: ["onClose"] }] });
|
|
1261
1240
|
}
|
|
1262
1241
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixToastComponent, decorators: [{
|
|
1263
1242
|
type: Component,
|
|
@@ -1265,6 +1244,101 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1265
1244
|
}], ctorParameters: () => [{ type: i1$4.MessageService }, { type: i2$5.Router }], propDecorators: { toast: [{
|
|
1266
1245
|
type: ViewChild,
|
|
1267
1246
|
args: ['toast']
|
|
1247
|
+
}], key: [{
|
|
1248
|
+
type: Input
|
|
1249
|
+
}] } });
|
|
1250
|
+
|
|
1251
|
+
class AtomixMessagesComponent {
|
|
1252
|
+
value = [];
|
|
1253
|
+
closable = true;
|
|
1254
|
+
severity = '';
|
|
1255
|
+
escape = true;
|
|
1256
|
+
enableService = true;
|
|
1257
|
+
styleClass = '';
|
|
1258
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixMessagesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1259
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixMessagesComponent, selector: "atomix-messages", inputs: { value: "value", closable: "closable", severity: "severity", escape: "escape", enableService: "enableService", styleClass: "styleClass" }, ngImport: i0, template: "<p-messages\n [(value)]=\"value\"\n [enableService]=\"false\"\n [closable]=\"closable\"\n [severity]=\"severity\"\n [escape]=\"escape\"\n [enableService]=\"enableService\"\n [styleClass]=\"styleClass\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: i1$5.Messages, selector: "p-messages", inputs: ["value", "closable", "style", "styleClass", "enableService", "key", "escape", "severity", "showTransitionOptions", "hideTransitionOptions"], outputs: ["valueChange", "onClose"] }] });
|
|
1260
|
+
}
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixMessagesComponent, decorators: [{
|
|
1262
|
+
type: Component,
|
|
1263
|
+
args: [{ selector: 'atomix-messages', template: "<p-messages\n [(value)]=\"value\"\n [enableService]=\"false\"\n [closable]=\"closable\"\n [severity]=\"severity\"\n [escape]=\"escape\"\n [enableService]=\"enableService\"\n [styleClass]=\"styleClass\"\n/>\n" }]
|
|
1264
|
+
}], propDecorators: { value: [{
|
|
1265
|
+
type: Input
|
|
1266
|
+
}], closable: [{
|
|
1267
|
+
type: Input
|
|
1268
|
+
}], severity: [{
|
|
1269
|
+
type: Input
|
|
1270
|
+
}], escape: [{
|
|
1271
|
+
type: Input
|
|
1272
|
+
}], enableService: [{
|
|
1273
|
+
type: Input
|
|
1274
|
+
}], styleClass: [{
|
|
1275
|
+
type: Input
|
|
1276
|
+
}] } });
|
|
1277
|
+
|
|
1278
|
+
class AtomixSpinnerComponent {
|
|
1279
|
+
animationDuration = '2s';
|
|
1280
|
+
styleClass = '';
|
|
1281
|
+
strokeWidth = '2';
|
|
1282
|
+
fill = 'none';
|
|
1283
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1284
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixSpinnerComponent, selector: "atomix-atomix-spinner", inputs: { animationDuration: "animationDuration", styleClass: "styleClass", strokeWidth: "strokeWidth", fill: "fill" }, ngImport: i0, template: "<p-progressSpinner\n ariaLabel=\"loading\"\n [animationDuration]=\"animationDuration\"\n [styleClass]=\"styleClass\"\n [strokeWidth]=\"strokeWidth\"\n [fill]=\"fill\"\n/>\n", styles: [""], dependencies: [{ kind: "component", type: i1$6.ProgressSpinner, selector: "p-progressSpinner", inputs: ["styleClass", "style", "strokeWidth", "fill", "animationDuration", "ariaLabel"] }] });
|
|
1285
|
+
}
|
|
1286
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixSpinnerComponent, decorators: [{
|
|
1287
|
+
type: Component,
|
|
1288
|
+
args: [{ selector: 'atomix-atomix-spinner', template: "<p-progressSpinner\n ariaLabel=\"loading\"\n [animationDuration]=\"animationDuration\"\n [styleClass]=\"styleClass\"\n [strokeWidth]=\"strokeWidth\"\n [fill]=\"fill\"\n/>\n" }]
|
|
1289
|
+
}], propDecorators: { animationDuration: [{
|
|
1290
|
+
type: Input
|
|
1291
|
+
}], styleClass: [{
|
|
1292
|
+
type: Input
|
|
1293
|
+
}], strokeWidth: [{
|
|
1294
|
+
type: Input
|
|
1295
|
+
}], fill: [{
|
|
1296
|
+
type: Input
|
|
1297
|
+
}] } });
|
|
1298
|
+
|
|
1299
|
+
class AtomixRadioButtonComponent {
|
|
1300
|
+
name = '';
|
|
1301
|
+
value = '';
|
|
1302
|
+
selectedValue = '';
|
|
1303
|
+
inputId = '';
|
|
1304
|
+
model;
|
|
1305
|
+
onChange = (_) => { };
|
|
1306
|
+
onTouched = () => { };
|
|
1307
|
+
writeValue(value) {
|
|
1308
|
+
this.selectedValue = value;
|
|
1309
|
+
}
|
|
1310
|
+
registerOnChange(fn) {
|
|
1311
|
+
this.onChange = fn;
|
|
1312
|
+
}
|
|
1313
|
+
registerOnTouched(fn) {
|
|
1314
|
+
this.onTouched = fn;
|
|
1315
|
+
}
|
|
1316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixRadioButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1317
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AtomixRadioButtonComponent, selector: "atomix-radio-button", inputs: { name: "name", value: "value", selectedValue: "selectedValue", inputId: "inputId" }, providers: [
|
|
1318
|
+
{
|
|
1319
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1320
|
+
useExisting: forwardRef(() => AtomixRadioButtonComponent),
|
|
1321
|
+
multi: true,
|
|
1322
|
+
},
|
|
1323
|
+
], ngImport: i0, template: "<p-radioButton\n[name]=\"name\"\n[value]=\"value\"\n[(ngModel)]=\"selectedValue\"\n[inputId]=\"inputId\"\n(onChange)=\"onChange($event)\"\n/>", styles: [""], dependencies: [{ 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"] }, { kind: "component", type: i2$4.RadioButton, selector: "p-radioButton", inputs: ["value", "formControlName", "name", "disabled", "label", "variant", "tabindex", "inputId", "ariaLabelledBy", "ariaLabel", "style", "styleClass", "labelStyleClass", "autofocus"], outputs: ["onClick", "onFocus", "onBlur"] }] });
|
|
1324
|
+
}
|
|
1325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixRadioButtonComponent, decorators: [{
|
|
1326
|
+
type: Component,
|
|
1327
|
+
args: [{ selector: 'atomix-radio-button', providers: [
|
|
1328
|
+
{
|
|
1329
|
+
provide: NG_VALUE_ACCESSOR,
|
|
1330
|
+
useExisting: forwardRef(() => AtomixRadioButtonComponent),
|
|
1331
|
+
multi: true,
|
|
1332
|
+
},
|
|
1333
|
+
], template: "<p-radioButton\n[name]=\"name\"\n[value]=\"value\"\n[(ngModel)]=\"selectedValue\"\n[inputId]=\"inputId\"\n(onChange)=\"onChange($event)\"\n/>" }]
|
|
1334
|
+
}], propDecorators: { name: [{
|
|
1335
|
+
type: Input
|
|
1336
|
+
}], value: [{
|
|
1337
|
+
type: Input
|
|
1338
|
+
}], selectedValue: [{
|
|
1339
|
+
type: Input
|
|
1340
|
+
}], inputId: [{
|
|
1341
|
+
type: Input
|
|
1268
1342
|
}] } });
|
|
1269
1343
|
|
|
1270
1344
|
class PrimekitModule {
|
|
@@ -1277,7 +1351,6 @@ class PrimekitModule {
|
|
|
1277
1351
|
AtomixDropdownComponent,
|
|
1278
1352
|
AtomixTableComponent,
|
|
1279
1353
|
AtomixSnackbarComponent,
|
|
1280
|
-
AtomixTableSkeletonComponent,
|
|
1281
1354
|
AtomixPaginationComponent,
|
|
1282
1355
|
AtomixFormAutocompleteComponent,
|
|
1283
1356
|
AtomixFormCalendarComponent,
|
|
@@ -1288,8 +1361,11 @@ class PrimekitModule {
|
|
|
1288
1361
|
AtomixFormInputmaskComponent,
|
|
1289
1362
|
AtomixFormPasswordComponent,
|
|
1290
1363
|
AtomixFormTextareaComponent,
|
|
1291
|
-
|
|
1292
|
-
AtomixToastComponent
|
|
1364
|
+
AtomixFormRadioButtonComponent,
|
|
1365
|
+
AtomixToastComponent,
|
|
1366
|
+
AtomixMessagesComponent,
|
|
1367
|
+
AtomixSpinnerComponent,
|
|
1368
|
+
AtomixRadioButtonComponent], imports: [CommonModule,
|
|
1293
1369
|
ButtonModule,
|
|
1294
1370
|
CardModule,
|
|
1295
1371
|
DialogModule,
|
|
@@ -1308,7 +1384,9 @@ class PrimekitModule {
|
|
|
1308
1384
|
InputMaskModule,
|
|
1309
1385
|
PasswordModule,
|
|
1310
1386
|
RadioButtonModule,
|
|
1311
|
-
ToastModule
|
|
1387
|
+
ToastModule,
|
|
1388
|
+
MessagesModule,
|
|
1389
|
+
ProgressSpinnerModule], exports: [AtomixButtonComponent,
|
|
1312
1390
|
AtomixCardComponent,
|
|
1313
1391
|
AtomixConfirmationDialogComponent,
|
|
1314
1392
|
AtomixInputComponent,
|
|
@@ -1316,7 +1394,6 @@ class PrimekitModule {
|
|
|
1316
1394
|
AtomixDropdownComponent,
|
|
1317
1395
|
AtomixTableComponent,
|
|
1318
1396
|
AtomixSnackbarComponent,
|
|
1319
|
-
AtomixTableSkeletonComponent,
|
|
1320
1397
|
AtomixPaginationComponent,
|
|
1321
1398
|
AtomixFormAutocompleteComponent,
|
|
1322
1399
|
ReactiveFormsModule,
|
|
@@ -1328,8 +1405,11 @@ class PrimekitModule {
|
|
|
1328
1405
|
AtomixFormInputmaskComponent,
|
|
1329
1406
|
AtomixFormPasswordComponent,
|
|
1330
1407
|
AtomixFormTextareaComponent,
|
|
1331
|
-
|
|
1332
|
-
AtomixToastComponent
|
|
1408
|
+
AtomixFormRadioButtonComponent,
|
|
1409
|
+
AtomixToastComponent,
|
|
1410
|
+
AtomixMessagesComponent,
|
|
1411
|
+
AtomixSpinnerComponent,
|
|
1412
|
+
AtomixRadioButtonComponent] });
|
|
1333
1413
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, imports: [CommonModule,
|
|
1334
1414
|
ButtonModule,
|
|
1335
1415
|
CardModule,
|
|
@@ -1349,7 +1429,9 @@ class PrimekitModule {
|
|
|
1349
1429
|
InputMaskModule,
|
|
1350
1430
|
PasswordModule,
|
|
1351
1431
|
RadioButtonModule,
|
|
1352
|
-
ToastModule,
|
|
1432
|
+
ToastModule,
|
|
1433
|
+
MessagesModule,
|
|
1434
|
+
ProgressSpinnerModule, ReactiveFormsModule] });
|
|
1353
1435
|
}
|
|
1354
1436
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, decorators: [{
|
|
1355
1437
|
type: NgModule,
|
|
@@ -1363,7 +1445,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1363
1445
|
AtomixDropdownComponent,
|
|
1364
1446
|
AtomixTableComponent,
|
|
1365
1447
|
AtomixSnackbarComponent,
|
|
1366
|
-
AtomixTableSkeletonComponent,
|
|
1367
1448
|
AtomixPaginationComponent,
|
|
1368
1449
|
AtomixFormAutocompleteComponent,
|
|
1369
1450
|
AtomixFormCalendarComponent,
|
|
@@ -1374,8 +1455,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1374
1455
|
AtomixFormInputmaskComponent,
|
|
1375
1456
|
AtomixFormPasswordComponent,
|
|
1376
1457
|
AtomixFormTextareaComponent,
|
|
1377
|
-
|
|
1458
|
+
AtomixFormRadioButtonComponent,
|
|
1378
1459
|
AtomixToastComponent,
|
|
1460
|
+
AtomixMessagesComponent,
|
|
1461
|
+
AtomixSpinnerComponent,
|
|
1462
|
+
AtomixRadioButtonComponent
|
|
1379
1463
|
],
|
|
1380
1464
|
imports: [
|
|
1381
1465
|
CommonModule,
|
|
@@ -1398,6 +1482,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1398
1482
|
PasswordModule,
|
|
1399
1483
|
RadioButtonModule,
|
|
1400
1484
|
ToastModule,
|
|
1485
|
+
MessagesModule,
|
|
1486
|
+
ProgressSpinnerModule
|
|
1401
1487
|
], // Import the PrimeNG Module here
|
|
1402
1488
|
exports: [
|
|
1403
1489
|
AtomixButtonComponent,
|
|
@@ -1408,7 +1494,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1408
1494
|
AtomixDropdownComponent,
|
|
1409
1495
|
AtomixTableComponent,
|
|
1410
1496
|
AtomixSnackbarComponent,
|
|
1411
|
-
AtomixTableSkeletonComponent,
|
|
1412
1497
|
AtomixPaginationComponent,
|
|
1413
1498
|
AtomixFormAutocompleteComponent,
|
|
1414
1499
|
ReactiveFormsModule,
|
|
@@ -1420,8 +1505,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1420
1505
|
AtomixFormInputmaskComponent,
|
|
1421
1506
|
AtomixFormPasswordComponent,
|
|
1422
1507
|
AtomixFormTextareaComponent,
|
|
1423
|
-
|
|
1508
|
+
AtomixFormRadioButtonComponent,
|
|
1424
1509
|
AtomixToastComponent,
|
|
1510
|
+
AtomixMessagesComponent,
|
|
1511
|
+
AtomixSpinnerComponent,
|
|
1512
|
+
AtomixRadioButtonComponent
|
|
1425
1513
|
], // Export your component
|
|
1426
1514
|
}]
|
|
1427
1515
|
}] });
|
|
@@ -1444,5 +1532,5 @@ function getPowerOffIcon() {
|
|
|
1444
1532
|
* Generated bundle index. Do not edit.
|
|
1445
1533
|
*/
|
|
1446
1534
|
|
|
1447
|
-
export { AtomixButtonComponent, AtomixCalendarComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixDropdownComponent, AtomixFormAutocompleteComponent, AtomixFormCalendarComponent, AtomixFormCheckboxComponent, AtomixFormChipsComponent, AtomixFormDropdownComponent, AtomixFormInputComponent, AtomixFormInputmaskComponent, AtomixFormPasswordComponent, AtomixFormTextareaComponent, AtomixInputComponent, AtomixPaginationComponent, AtomixRadioButtonComponent, AtomixSnackbarComponent,
|
|
1535
|
+
export { AtomixButtonComponent, AtomixCalendarComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixDropdownComponent, AtomixFormAutocompleteComponent, AtomixFormCalendarComponent, AtomixFormCheckboxComponent, AtomixFormChipsComponent, AtomixFormDropdownComponent, AtomixFormInputComponent, AtomixFormInputmaskComponent, AtomixFormPasswordComponent, AtomixFormRadioButtonComponent, AtomixFormTextareaComponent, AtomixInputComponent, AtomixMessagesComponent, AtomixPaginationComponent, AtomixRadioButtonComponent, AtomixSnackbarComponent, AtomixSpinnerComponent, AtomixTableComponent, AtomixToastComponent, PrimekitComponent, PrimekitModule, PrimekitService, getEditIcon, getPowerOffIcon, getTrashIcon };
|
|
1448
1536
|
//# sourceMappingURL=primekit.mjs.map
|