primekit 0.0.35 → 0.0.36
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-dropdown/atomix-dropdown.component.mjs +3 -3
- package/esm2022/lib/lib/atomix-messages/messages.component.mjs +30 -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 +23 -10
- package/esm2022/public-api.mjs +3 -2
- package/fesm2022/primekit.mjs +73 -31
- package/fesm2022/primekit.mjs.map +1 -1
- package/lib/lib/atomix-messages/messages.component.d.ts +12 -0
- package/lib/lib/atomix-spinner/atomix-spinner.component.d.ts +9 -0
- package/lib/primekit.module.d.ts +36 -33
- package/package.json +1 -1
- package/public-api.d.ts +2 -1
- package/esm2022/lib/lib/skeleton/table-skeleton/table-skeleton.component.mjs +0 -25
- package/lib/lib/skeleton/table-skeleton/table-skeleton.component.d.ts +0 -9
package/fesm2022/primekit.mjs
CHANGED
|
@@ -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;
|
|
@@ -1267,6 +1251,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1267
1251
|
args: ['toast']
|
|
1268
1252
|
}] } });
|
|
1269
1253
|
|
|
1254
|
+
class AtomixMessagesComponent {
|
|
1255
|
+
value = [];
|
|
1256
|
+
closable = true;
|
|
1257
|
+
severity = '';
|
|
1258
|
+
escape = true;
|
|
1259
|
+
enableService = true;
|
|
1260
|
+
styleClass = '';
|
|
1261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixMessagesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1262
|
+
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"] }] });
|
|
1263
|
+
}
|
|
1264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixMessagesComponent, decorators: [{
|
|
1265
|
+
type: Component,
|
|
1266
|
+
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" }]
|
|
1267
|
+
}], propDecorators: { value: [{
|
|
1268
|
+
type: Input
|
|
1269
|
+
}], closable: [{
|
|
1270
|
+
type: Input
|
|
1271
|
+
}], severity: [{
|
|
1272
|
+
type: Input
|
|
1273
|
+
}], escape: [{
|
|
1274
|
+
type: Input
|
|
1275
|
+
}], enableService: [{
|
|
1276
|
+
type: Input
|
|
1277
|
+
}], styleClass: [{
|
|
1278
|
+
type: Input
|
|
1279
|
+
}] } });
|
|
1280
|
+
|
|
1281
|
+
class AtomixSpinnerComponent {
|
|
1282
|
+
animationDuration = '2s';
|
|
1283
|
+
styleClass = '';
|
|
1284
|
+
strokeWidth = '2';
|
|
1285
|
+
fill = 'none';
|
|
1286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixSpinnerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1287
|
+
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"] }] });
|
|
1288
|
+
}
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AtomixSpinnerComponent, decorators: [{
|
|
1290
|
+
type: Component,
|
|
1291
|
+
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" }]
|
|
1292
|
+
}], propDecorators: { animationDuration: [{
|
|
1293
|
+
type: Input
|
|
1294
|
+
}], styleClass: [{
|
|
1295
|
+
type: Input
|
|
1296
|
+
}], strokeWidth: [{
|
|
1297
|
+
type: Input
|
|
1298
|
+
}], fill: [{
|
|
1299
|
+
type: Input
|
|
1300
|
+
}] } });
|
|
1301
|
+
|
|
1270
1302
|
class PrimekitModule {
|
|
1271
1303
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1272
1304
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, declarations: [AtomixButtonComponent,
|
|
@@ -1277,7 +1309,6 @@ class PrimekitModule {
|
|
|
1277
1309
|
AtomixDropdownComponent,
|
|
1278
1310
|
AtomixTableComponent,
|
|
1279
1311
|
AtomixSnackbarComponent,
|
|
1280
|
-
AtomixTableSkeletonComponent,
|
|
1281
1312
|
AtomixPaginationComponent,
|
|
1282
1313
|
AtomixFormAutocompleteComponent,
|
|
1283
1314
|
AtomixFormCalendarComponent,
|
|
@@ -1289,7 +1320,9 @@ class PrimekitModule {
|
|
|
1289
1320
|
AtomixFormPasswordComponent,
|
|
1290
1321
|
AtomixFormTextareaComponent,
|
|
1291
1322
|
AtomixRadioButtonComponent,
|
|
1292
|
-
AtomixToastComponent
|
|
1323
|
+
AtomixToastComponent,
|
|
1324
|
+
AtomixMessagesComponent,
|
|
1325
|
+
AtomixSpinnerComponent], imports: [CommonModule,
|
|
1293
1326
|
ButtonModule,
|
|
1294
1327
|
CardModule,
|
|
1295
1328
|
DialogModule,
|
|
@@ -1308,7 +1341,9 @@ class PrimekitModule {
|
|
|
1308
1341
|
InputMaskModule,
|
|
1309
1342
|
PasswordModule,
|
|
1310
1343
|
RadioButtonModule,
|
|
1311
|
-
ToastModule
|
|
1344
|
+
ToastModule,
|
|
1345
|
+
MessagesModule,
|
|
1346
|
+
ProgressSpinnerModule], exports: [AtomixButtonComponent,
|
|
1312
1347
|
AtomixCardComponent,
|
|
1313
1348
|
AtomixConfirmationDialogComponent,
|
|
1314
1349
|
AtomixInputComponent,
|
|
@@ -1316,7 +1351,6 @@ class PrimekitModule {
|
|
|
1316
1351
|
AtomixDropdownComponent,
|
|
1317
1352
|
AtomixTableComponent,
|
|
1318
1353
|
AtomixSnackbarComponent,
|
|
1319
|
-
AtomixTableSkeletonComponent,
|
|
1320
1354
|
AtomixPaginationComponent,
|
|
1321
1355
|
AtomixFormAutocompleteComponent,
|
|
1322
1356
|
ReactiveFormsModule,
|
|
@@ -1329,7 +1363,9 @@ class PrimekitModule {
|
|
|
1329
1363
|
AtomixFormPasswordComponent,
|
|
1330
1364
|
AtomixFormTextareaComponent,
|
|
1331
1365
|
AtomixRadioButtonComponent,
|
|
1332
|
-
AtomixToastComponent
|
|
1366
|
+
AtomixToastComponent,
|
|
1367
|
+
AtomixMessagesComponent,
|
|
1368
|
+
AtomixSpinnerComponent] });
|
|
1333
1369
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, imports: [CommonModule,
|
|
1334
1370
|
ButtonModule,
|
|
1335
1371
|
CardModule,
|
|
@@ -1349,7 +1385,9 @@ class PrimekitModule {
|
|
|
1349
1385
|
InputMaskModule,
|
|
1350
1386
|
PasswordModule,
|
|
1351
1387
|
RadioButtonModule,
|
|
1352
|
-
ToastModule,
|
|
1388
|
+
ToastModule,
|
|
1389
|
+
MessagesModule,
|
|
1390
|
+
ProgressSpinnerModule, ReactiveFormsModule] });
|
|
1353
1391
|
}
|
|
1354
1392
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PrimekitModule, decorators: [{
|
|
1355
1393
|
type: NgModule,
|
|
@@ -1363,7 +1401,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1363
1401
|
AtomixDropdownComponent,
|
|
1364
1402
|
AtomixTableComponent,
|
|
1365
1403
|
AtomixSnackbarComponent,
|
|
1366
|
-
AtomixTableSkeletonComponent,
|
|
1367
1404
|
AtomixPaginationComponent,
|
|
1368
1405
|
AtomixFormAutocompleteComponent,
|
|
1369
1406
|
AtomixFormCalendarComponent,
|
|
@@ -1376,6 +1413,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1376
1413
|
AtomixFormTextareaComponent,
|
|
1377
1414
|
AtomixRadioButtonComponent,
|
|
1378
1415
|
AtomixToastComponent,
|
|
1416
|
+
AtomixMessagesComponent,
|
|
1417
|
+
AtomixSpinnerComponent
|
|
1379
1418
|
],
|
|
1380
1419
|
imports: [
|
|
1381
1420
|
CommonModule,
|
|
@@ -1398,6 +1437,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1398
1437
|
PasswordModule,
|
|
1399
1438
|
RadioButtonModule,
|
|
1400
1439
|
ToastModule,
|
|
1440
|
+
MessagesModule,
|
|
1441
|
+
ProgressSpinnerModule
|
|
1401
1442
|
], // Import the PrimeNG Module here
|
|
1402
1443
|
exports: [
|
|
1403
1444
|
AtomixButtonComponent,
|
|
@@ -1408,7 +1449,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1408
1449
|
AtomixDropdownComponent,
|
|
1409
1450
|
AtomixTableComponent,
|
|
1410
1451
|
AtomixSnackbarComponent,
|
|
1411
|
-
AtomixTableSkeletonComponent,
|
|
1412
1452
|
AtomixPaginationComponent,
|
|
1413
1453
|
AtomixFormAutocompleteComponent,
|
|
1414
1454
|
ReactiveFormsModule,
|
|
@@ -1422,6 +1462,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
1422
1462
|
AtomixFormTextareaComponent,
|
|
1423
1463
|
AtomixRadioButtonComponent,
|
|
1424
1464
|
AtomixToastComponent,
|
|
1465
|
+
AtomixMessagesComponent,
|
|
1466
|
+
AtomixSpinnerComponent
|
|
1425
1467
|
], // Export your component
|
|
1426
1468
|
}]
|
|
1427
1469
|
}] });
|
|
@@ -1444,5 +1486,5 @@ function getPowerOffIcon() {
|
|
|
1444
1486
|
* Generated bundle index. Do not edit.
|
|
1445
1487
|
*/
|
|
1446
1488
|
|
|
1447
|
-
export { AtomixButtonComponent, AtomixCalendarComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixDropdownComponent, AtomixFormAutocompleteComponent, AtomixFormCalendarComponent, AtomixFormCheckboxComponent, AtomixFormChipsComponent, AtomixFormDropdownComponent, AtomixFormInputComponent, AtomixFormInputmaskComponent, AtomixFormPasswordComponent, AtomixFormTextareaComponent, AtomixInputComponent, AtomixPaginationComponent, AtomixRadioButtonComponent, AtomixSnackbarComponent,
|
|
1489
|
+
export { AtomixButtonComponent, AtomixCalendarComponent, AtomixCardComponent, AtomixConfirmationDialogComponent, AtomixDropdownComponent, AtomixFormAutocompleteComponent, AtomixFormCalendarComponent, AtomixFormCheckboxComponent, AtomixFormChipsComponent, AtomixFormDropdownComponent, AtomixFormInputComponent, AtomixFormInputmaskComponent, AtomixFormPasswordComponent, AtomixFormTextareaComponent, AtomixInputComponent, AtomixMessagesComponent, AtomixPaginationComponent, AtomixRadioButtonComponent, AtomixSnackbarComponent, AtomixSpinnerComponent, AtomixTableComponent, AtomixToastComponent, PrimekitComponent, PrimekitModule, PrimekitService, getEditIcon, getPowerOffIcon, getTrashIcon };
|
|
1448
1490
|
//# sourceMappingURL=primekit.mjs.map
|