mk-ng-lib 1.0.10 → 1.0.12

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.
@@ -1,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, InjectionToken, Injectable, PLATFORM_ID, Inject, signal, input, inject, ViewChild, ContentChild, Input, SecurityContext, ViewContainerRef, output, Directive, Host, Optional, ElementRef, Self, HostBinding, HostListener, Pipe } from '@angular/core';
2
+ import { Component, InjectionToken, Injectable, PLATFORM_ID, Inject, signal, input, inject, ViewChild, ContentChild, Input, SecurityContext, computed, ViewContainerRef, output, Directive, Host, Optional, ElementRef, Self, HostBinding, HostListener, Pipe } from '@angular/core';
3
3
  import * as i1$7 from '@angular/forms';
4
- import { FormBuilder, FormControlName, NgControl } from '@angular/forms';
4
+ import { FormBuilder, FormsModule, FormGroupDirective, FormControlName, NgControl } from '@angular/forms';
5
5
  import { tap, switchMap, catchError, finalize, map, filter, startWith } from 'rxjs/operators';
6
6
  import * as i1$4 from '@angular/common';
7
7
  import { isPlatformServer, formatDate, Location, CommonModule, NgIf } from '@angular/common';
@@ -11,22 +11,26 @@ import { Subject, of, endWith, throwError, takeWhile, Observable, from, concat,
11
11
  import * as i1 from 'ngx-toastr';
12
12
  import * as i1$2 from '@angular/router';
13
13
  import { Router as Router$1, ActivatedRoute, NavigationEnd } from '@angular/router';
14
- import * as i1$8 from 'primeng/dynamicdialog';
14
+ import * as i1$9 from 'primeng/dynamicdialog';
15
15
  import { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
16
16
  import { Breadcrumb } from 'primeng/breadcrumb';
17
17
  import * as i1$3 from '@angular/material/dialog';
18
18
  import { MatDialogTitle, MatDialogActions, MatDialogContent, MatDialogClose, MAT_DIALOG_DATA } from '@angular/material/dialog';
19
19
  import { MatButton } from '@angular/material/button';
20
+ import { Button } from 'primeng/button';
20
21
  import { trigger, state, transition, style, animate } from '@angular/animations';
21
22
  import * as i1$5 from 'primeng/api';
22
23
  import html2canvas from 'html2canvas';
23
24
  import * as i1$6 from '@angular/platform-browser';
24
25
  import { jwtDecode } from 'jwt-decode';
26
+ import * as i1$8 from 'primeng/select';
27
+ import { SelectModule } from 'primeng/select';
28
+ import { Dialog } from 'primeng/dialog';
29
+ import { InputText } from 'primeng/inputtext';
30
+ import { Panel } from 'primeng/panel';
25
31
  import { MatIcon } from '@angular/material/icon';
26
32
  import { CdkDrag, CdkDragHandle } from '@angular/cdk/drag-drop';
27
33
  import { Image } from 'primeng/image';
28
- import { Button } from 'primeng/button';
29
- import { InputText } from 'primeng/inputtext';
30
34
  import * as _ from 'lodash';
31
35
  import { faCoffee, faHome, faUser, faEnvelope, faSearch, faHeart, faStar, faCheck, faTimes, faPlus, faMinus, faShoppingCart, faPhone, faInfoCircle, faExclamationTriangle, faThumbsUp, faThumbsDown, faLock, faUnlock, faCog, faCogs, faTrash, faTrashAlt, faEdit, faSave, faDownload, faUpload, faFile, faFileAlt, faFolder, faFolderOpen, faBell, faBellSlash, faCamera, faCameraRetro, faImage, faImages, faPlay, faPause, faStop, faForward, faBackward, faStepForward, faStepBackward, faFastForward, faFastBackward, faRedo, faUndo, faSync, faSyncAlt, faAngleUp, faAngleDown, faAngleLeft, faAngleRight, faChevronUp, faChevronDown, faChevronLeft, faChevronRight, faCaretUp, faCaretDown, faCaretLeft, faCaretRight, faArrowUp, faArrowDown, faArrowLeft, faArrowRight, faExternalLink, faExternalLinkAlt, faLink, faUnlink, faRedoAlt, faUndoAlt, faExchangeAlt, faRetweet, faRandom, faSpinner, faCircle, faSquare, faCheckCircle, faCheckSquare, faExclamation, faQuestion, faQuestionCircle, faInfo, faShare, faShareAlt, faShareSquare, faCheckDouble, faEllipsisH, faEllipsisV, faBars, faList, faListAlt, faTh, faThLarge, faThList, faTable, faTasks, faFilter, faSort, faSortUp, faSortDown } from '@fortawesome/free-solid-svg-icons';
32
36
 
@@ -542,7 +546,7 @@ class SymfonyApiClientService {
542
546
  // });
543
547
  // }
544
548
  return this.httpClient.post(this.config.backendUrl + path, data, {
545
- observe: 'response', withCredentials: this.config.externalLoginPage,
549
+ observe: 'response', withCredentials: !!this.config.externalLoginPage,
546
550
  ...requestOptions,
547
551
  headers: this.prepareHeader(headersOptions)
548
552
  }).pipe(endWith(null), catchError((err) => {
@@ -947,6 +951,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
947
951
  args: ['submit']
948
952
  }] } });
949
953
 
954
+ class EshopMiniCartComponent {
955
+ stats = input(...(ngDevMode ? [undefined, { debugName: "stats" }] : []));
956
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EshopMiniCartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
957
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: EshopMiniCartComponent, isStandalone: true, selector: "lib-eshop-mini-cart", inputs: { stats: { classPropertyName: "stats", publicName: "stats", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<p-button label=\"Ko\u0161\u00EDk - {{stats()[0]}}\" icon=\"pi pi-shopping-cart\" [severity]=\"stats()[0] ? 'success' : 'secondary'\" />\n", styles: [""], dependencies: [{ kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }] });
958
+ }
959
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EshopMiniCartComponent, decorators: [{
960
+ type: Component,
961
+ args: [{ selector: 'lib-eshop-mini-cart', imports: [Button], template: "<p-button label=\"Ko\u0161\u00EDk - {{stats()[0]}}\" icon=\"pi pi-shopping-cart\" [severity]=\"stats()[0] ? 'success' : 'secondary'\" />\n" }]
962
+ }], propDecorators: { stats: [{ type: i0.Input, args: [{ isSignal: true, alias: "stats", required: false }] }] } });
963
+
950
964
  class AnimationHiderComponent {
951
965
  show = false;
952
966
  constructor() { }
@@ -1038,12 +1052,12 @@ class DataTableService {
1038
1052
  prepareData(event, urlParams) {
1039
1053
  let f = Object.fromEntries(Object.entries(event.filters ?? {}).map(([key, f]) => [key, f.value]));
1040
1054
  return {
1041
- ...urlParams,
1042
1055
  page: (event.first ?? 0) / (event.rows ?? 10),
1043
1056
  size: event.rows ?? 10,
1044
1057
  sortField: event.sortField ?? null,
1045
1058
  sortOrder: event.sortOrder ?? null,
1046
- ...f
1059
+ ...f,
1060
+ ...urlParams
1047
1061
  };
1048
1062
  }
1049
1063
  loadData(url, req) {
@@ -1225,6 +1239,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1225
1239
  }]
1226
1240
  }], ctorParameters: () => [{ type: i1$6.DomSanitizer }] });
1227
1241
 
1242
+ class EshopCartService {
1243
+ baseUrl = '';
1244
+ urlParams = {};
1245
+ api = inject(SymfonyApiClientService);
1246
+ apiFormService = inject(ApiFormService);
1247
+ fb = inject(FormBuilder);
1248
+ notifierService = inject(NotifierService);
1249
+ items = signal([], ...(ngDevMode ? [{ debugName: "items" }] : []));
1250
+ stat = computed(() => {
1251
+ let count = 0;
1252
+ let price = 0;
1253
+ this.items().forEach((item) => {
1254
+ count += item.qty;
1255
+ price += item.qty * item.unitPrice;
1256
+ });
1257
+ return [count, price.toFixed(2)];
1258
+ }, ...(ngDevMode ? [{ debugName: "stat" }] : []));
1259
+ getItems() {
1260
+ return this.api.getData(this.baseUrl + '_list', this.urlParams).subscribe(value => {
1261
+ this.items.set(value);
1262
+ });
1263
+ }
1264
+ addItem(item, qty, isUpdate = null, additionalData = {}) {
1265
+ let form = this.getForm();
1266
+ form.patchValue({ item, qty, isUpdate, ...additionalData });
1267
+ this.apiFormService.send(this.baseUrl + '_add', form, this.urlParams)?.subscribe((res) => {
1268
+ this.items.set(res.body);
1269
+ !isUpdate && this.notifierService.success('Zboží bylo přidáno do košíku');
1270
+ });
1271
+ }
1272
+ remove(item) {
1273
+ let queryParams = { catalogItem: item.id, ...this.urlParams };
1274
+ this.api.getData(this.baseUrl + '_delete', queryParams)?.subscribe((res) => {
1275
+ this.items.set(res);
1276
+ });
1277
+ }
1278
+ getForm() {
1279
+ let form = this.fb.group({
1280
+ item: [null],
1281
+ qty: [1],
1282
+ isUpdate: [null]
1283
+ });
1284
+ return form;
1285
+ }
1286
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EshopCartService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1287
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EshopCartService, providedIn: 'root' });
1288
+ }
1289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: EshopCartService, decorators: [{
1290
+ type: Injectable,
1291
+ args: [{
1292
+ providedIn: 'root',
1293
+ }]
1294
+ }] });
1295
+
1228
1296
  class FormService {
1229
1297
  formBuilder;
1230
1298
  constructor(formBuilder) {
@@ -1387,6 +1455,9 @@ class LazyBaseTable {
1387
1455
  urlParams = {};
1388
1456
  selectedEntities = [];
1389
1457
  ngOnInit() {
1458
+ if (this.stateKey) {
1459
+ this.baseTableStatePrefix = this.stateKey;
1460
+ }
1390
1461
  this.initUrlParams();
1391
1462
  }
1392
1463
  loadEntities(event) {
@@ -1427,12 +1498,19 @@ class LazyBaseTable {
1427
1498
  }
1428
1499
  }
1429
1500
  setUrlParams(urlParams) {
1430
- if (this.baseTableStatePrefix) {
1431
- this.stateKey && localStorage.setItem(this.baseTableStatePrefix + 'url_params', JSON.stringify(urlParams));
1501
+ if (!this.baseTableStatePrefix) {
1502
+ return;
1503
+ }
1504
+ if (this.urlParams) {
1505
+ Object.assign(this.urlParams, urlParams);
1506
+ }
1507
+ else {
1432
1508
  this.urlParams = urlParams;
1433
- if (this.lastEvent) {
1434
- this.resetPagination();
1435
- }
1509
+ }
1510
+ this.urlParams = Object.fromEntries(Object.entries(this.urlParams).filter(([key, value]) => value !== null));
1511
+ this.stateKey && localStorage.setItem(this.baseTableStatePrefix + 'url_params', JSON.stringify(this.urlParams));
1512
+ if (this.lastEvent) {
1513
+ this.resetPagination();
1436
1514
  }
1437
1515
  }
1438
1516
  resetPagination() {
@@ -1448,7 +1526,84 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
1448
1526
  args: [{ selector: 'app-lazy-base-table', imports: [], template: "<p>lazy-base-table works!</p>\n" }]
1449
1527
  }], propDecorators: { dt: [{
1450
1528
  type: ViewChild,
1451
- args: ["dt", { static: true }]
1529
+ args: ['dt', { static: true }]
1530
+ }] } });
1531
+
1532
+ class TableFilter {
1533
+ filterName = input.required(...(ngDevMode ? [{ debugName: "filterName" }] : []));
1534
+ filters = signal([], ...(ngDevMode ? [{ debugName: "filters" }] : []));
1535
+ form;
1536
+ visible = false;
1537
+ selectdFilter;
1538
+ table = inject(LazyBaseTable);
1539
+ api = inject(SymfonyApiClientService);
1540
+ apiForm = inject(ApiFormService);
1541
+ fb = inject(FormBuilder);
1542
+ initFormValue;
1543
+ ngOnInit() {
1544
+ this.refresh();
1545
+ }
1546
+ apply() {
1547
+ this.table.setUrlParams(this.form.form.value);
1548
+ this.table.refresh();
1549
+ }
1550
+ applyFromDb() {
1551
+ this.api.getData('read_user_filter', { id: this.selectdFilter?.id }).subscribe(value => {
1552
+ this.form.form.patchValue(JSON.parse(value));
1553
+ this.apply();
1554
+ });
1555
+ }
1556
+ deleteFromDb() {
1557
+ this.api.getData('delete_user_filter_id', { id: this.selectdFilter?.id }).subscribe(value => {
1558
+ this.refresh();
1559
+ });
1560
+ }
1561
+ add(name) {
1562
+ let formVal = this.form.form.value;
1563
+ let form = this.fb.group({
1564
+ filterLabel: [name],
1565
+ filter: JSON.stringify(formVal)
1566
+ });
1567
+ this.apiForm.send('add_user_filter', form, { objectId: this.filterName() })?.subscribe(res => {
1568
+ this.visible = false;
1569
+ this.refresh();
1570
+ });
1571
+ // this.api.post(`add_user_filter`, {filterLabel: name}, {objectId: this.filterName()}).subscribe(res => {
1572
+ // this.refresh();
1573
+ // })
1574
+ }
1575
+ delete() {
1576
+ this.form.form.patchValue(this.initFormValue);
1577
+ this.table.setUrlParams(this.form.form.value);
1578
+ this.table.refresh();
1579
+ }
1580
+ ngAfterContentInit() {
1581
+ this.initFormValue = this.form.form.value;
1582
+ if (this.table.urlParams) {
1583
+ this.form.form.patchValue(this.table.urlParams);
1584
+ }
1585
+ }
1586
+ refresh() {
1587
+ this.api.getData('list_user_filter_id', { objectId: this.filterName() }).subscribe(res => {
1588
+ this.filters.set(res);
1589
+ });
1590
+ }
1591
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableFilter, deps: [], target: i0.ɵɵFactoryTarget.Component });
1592
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: TableFilter, isStandalone: true, selector: "lib-table-filter", inputs: { filterName: { classPropertyName: "filterName", publicName: "filterName", isSignal: true, isRequired: true, transformFunction: null } }, queries: [{ propertyName: "form", first: true, predicate: FormGroupDirective, descendants: true, static: true }], ngImport: i0, template: "<p-panel header=\"Filtry\" [toggleable]=\"true\" [collapsed]=\"true\">\n<div class=\"mb-4\">\n <div class=\"flex\">\n <ng-content>\n </ng-content>\n </div>\n <br>\n <div class=\"flex flex-row justify-between\">\n <div class=\"flex\">\n <p-select [(ngModel)]=\"selectdFilter\" [options]=\"filters()\" optionLabel=\"name\" size=\"small\" placeholder=\"Filtr...\" />\n <p-button (click)=\"visible=true\" label=\"Ulo\u017Eit\" variant=\"outlined\" severity=\"success\" />\n <p-button (click)=\"applyFromDb()\" label=\"Pou\u017E\u00EDt\" variant=\"outlined\" severity=\"success\" />\n <p-button (click)=\"deleteFromDb()\" label=\"Smazat\" variant=\"outlined\" severity=\"danger\" />\n </div>\n <div class=\"flex\">\n <p-button label=\"Pou\u017E\u00EDt\" (click)=\"apply()\" variant=\"outlined\" severity=\"success\" />\n <p-button label=\"Smazat\" (click)=\"delete()\" variant=\"outlined\" severity=\"danger\" />\n </div>\n </div>\n</div>\n<p-dialog header=\"Profil filtru\" [modal]=\"true\" [(visible)]=\"visible\" [style]=\"{ width: '25rem' }\">\n <span class=\"p-text-secondary block mb-8\">Vytvo\u0159it profil filtru.</span>\n <div class=\"flex items-center gap-4 mb-4\">\n <label for=\"name\" class=\"font-semibold w-24\">N\u00E1zev</label>\n <input #name pInputText id=\"name\" class=\"flex-auto\" autocomplete=\"off\" />\n </div>\n <div class=\"flex justify-end gap-2\">\n <p-button label=\"Cancel\" severity=\"secondary\" (click)=\"visible = false\" />\n <p-button label=\"Save\" (click)=\"add(name.value)\" />\n </div>\n</p-dialog>\n", styles: [""], dependencies: [{ kind: "component", type: Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: SelectModule }, { kind: "component", type: i1$8.Select, selector: "p-select", inputs: ["id", "scrollHeight", "filter", "panelStyle", "styleClass", "panelStyleClass", "readonly", "editable", "tabindex", "placeholder", "loadingIcon", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "checkmark", "dropdownIcon", "loading", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "filterValue", "options", "appendTo"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "component", type: Dialog, selector: "p-dialog", inputs: ["hostName", "header", "draggable", "resizable", "contentStyle", "contentStyleClass", "modal", "closeOnEscape", "dismissableMask", "rtl", "closable", "breakpoints", "styleClass", "maskStyleClass", "maskStyle", "showHeader", "blockScroll", "autoZIndex", "baseZIndex", "minX", "minY", "focusOnShow", "maximizable", "keepInViewport", "focusTrap", "transitionOptions", "closeIcon", "closeAriaLabel", "closeTabindex", "minimizeIcon", "maximizeIcon", "closeButtonProps", "maximizeButtonProps", "visible", "style", "position", "role", "appendTo", "content", "contentTemplate", "footerTemplate", "closeIconTemplate", "maximizeIconTemplate", "minimizeIconTemplate", "headlessTemplate"], outputs: ["onShow", "onHide", "visibleChange", "onResizeInit", "onResizeEnd", "onDragEnd", "onMaximize"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$7.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: Panel, selector: "p-panel", inputs: ["id", "toggleable", "header", "collapsed", "styleClass", "iconPos", "showHeader", "toggler", "transitionOptions", "toggleButtonProps"], outputs: ["collapsedChange", "onBeforeToggle", "onAfterToggle"] }] });
1593
+ }
1594
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: TableFilter, decorators: [{
1595
+ type: Component,
1596
+ args: [{ selector: 'lib-table-filter', imports: [
1597
+ Button,
1598
+ SelectModule,
1599
+ Dialog,
1600
+ InputText,
1601
+ FormsModule,
1602
+ Panel
1603
+ ], template: "<p-panel header=\"Filtry\" [toggleable]=\"true\" [collapsed]=\"true\">\n<div class=\"mb-4\">\n <div class=\"flex\">\n <ng-content>\n </ng-content>\n </div>\n <br>\n <div class=\"flex flex-row justify-between\">\n <div class=\"flex\">\n <p-select [(ngModel)]=\"selectdFilter\" [options]=\"filters()\" optionLabel=\"name\" size=\"small\" placeholder=\"Filtr...\" />\n <p-button (click)=\"visible=true\" label=\"Ulo\u017Eit\" variant=\"outlined\" severity=\"success\" />\n <p-button (click)=\"applyFromDb()\" label=\"Pou\u017E\u00EDt\" variant=\"outlined\" severity=\"success\" />\n <p-button (click)=\"deleteFromDb()\" label=\"Smazat\" variant=\"outlined\" severity=\"danger\" />\n </div>\n <div class=\"flex\">\n <p-button label=\"Pou\u017E\u00EDt\" (click)=\"apply()\" variant=\"outlined\" severity=\"success\" />\n <p-button label=\"Smazat\" (click)=\"delete()\" variant=\"outlined\" severity=\"danger\" />\n </div>\n </div>\n</div>\n<p-dialog header=\"Profil filtru\" [modal]=\"true\" [(visible)]=\"visible\" [style]=\"{ width: '25rem' }\">\n <span class=\"p-text-secondary block mb-8\">Vytvo\u0159it profil filtru.</span>\n <div class=\"flex items-center gap-4 mb-4\">\n <label for=\"name\" class=\"font-semibold w-24\">N\u00E1zev</label>\n <input #name pInputText id=\"name\" class=\"flex-auto\" autocomplete=\"off\" />\n </div>\n <div class=\"flex justify-end gap-2\">\n <p-button label=\"Cancel\" severity=\"secondary\" (click)=\"visible = false\" />\n <p-button label=\"Save\" (click)=\"add(name.value)\" />\n </div>\n</p-dialog>\n" }]
1604
+ }], propDecorators: { filterName: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterName", required: true }] }], form: [{
1605
+ type: ContentChild,
1606
+ args: [FormGroupDirective, { static: true }]
1452
1607
  }] } });
1453
1608
 
1454
1609
  class LoaderComponent {
@@ -1567,13 +1722,13 @@ class SimpleDialogComponent {
1567
1722
  this.text = this.dynamicDialogConfig.data.text.replace(/\r?\n/g, '<br>');
1568
1723
  ;
1569
1724
  }
1570
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SimpleDialogComponent, deps: [{ token: i1$8.DynamicDialogConfig }, { token: i1$8.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component });
1725
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SimpleDialogComponent, deps: [{ token: i1$9.DynamicDialogConfig }, { token: i1$9.DynamicDialogRef }], target: i0.ɵɵFactoryTarget.Component });
1571
1726
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.16", type: SimpleDialogComponent, isStandalone: true, selector: "app-simple-dialog-component", ngImport: i0, template: "<div [innerHTML]=\"text\">\n</div>\n", styles: [""] });
1572
1727
  }
1573
1728
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: SimpleDialogComponent, decorators: [{
1574
1729
  type: Component,
1575
1730
  args: [{ selector: 'app-simple-dialog-component', imports: [], template: "<div [innerHTML]=\"text\">\n</div>\n" }]
1576
- }], ctorParameters: () => [{ type: i1$8.DynamicDialogConfig }, { type: i1$8.DynamicDialogRef }] });
1731
+ }], ctorParameters: () => [{ type: i1$9.DynamicDialogConfig }, { type: i1$9.DynamicDialogRef }] });
1577
1732
 
1578
1733
  class FileMiniComponent {
1579
1734
  config;
@@ -2282,5 +2437,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
2282
2437
  * Generated bundle index. Do not edit.
2283
2438
  */
2284
2439
 
2285
- export { AnimationHiderComponent, ApiFormService, AresService, ArrayHelper, BaseFormEntity, BreadcrumbComponent, BreadcrumbService, ConfirmDialogService, DataTableService, DialogComponent, ElementHelper, ElementPositionMessenger, ErrorMessageComponent, Event, EventEmitterService, FileMiniComponent, FileService, FontAwesomeIcons, FormService, GenericResolver, GlobalFormErrorComponent, Helper, HidderComponent, HiderElementDirective, HttpResponseToasterService, ImageService, ImportScriptService, InputFormErrorDirective, InputFormErrorGrouperDirective, LazyBaseTable, LazyInputComponent, LinkDeactivateDirective, LinkDeactivateService, LoaderComponent, LoginClientService, MiniAdminComponent, MoveableModalComponent, MoveableModalService, NG_CORE_CONFIG, NgCore, NotifierService, ObjectHelper, RemoveItemComponent, SafeHtmlPipe, SimpleDialogComponent, StringHelper, SymfonyApiClientService, TreeHelper, UrlService, loginGuard };
2440
+ export { AnimationHiderComponent, ApiFormService, AresService, ArrayHelper, BaseFormEntity, BreadcrumbComponent, BreadcrumbService, ConfirmDialogService, DataTableService, DialogComponent, ElementHelper, ElementPositionMessenger, ErrorMessageComponent, EshopCartService, EshopMiniCartComponent, Event, EventEmitterService, FileMiniComponent, FileService, FontAwesomeIcons, FormService, GenericResolver, GlobalFormErrorComponent, Helper, HidderComponent, HiderElementDirective, HttpResponseToasterService, ImageService, ImportScriptService, InputFormErrorDirective, InputFormErrorGrouperDirective, LazyBaseTable, LazyInputComponent, LinkDeactivateDirective, LinkDeactivateService, LoaderComponent, LoginClientService, MiniAdminComponent, MoveableModalComponent, MoveableModalService, NG_CORE_CONFIG, NgCore, NotifierService, ObjectHelper, RemoveItemComponent, SafeHtmlPipe, SimpleDialogComponent, StringHelper, SymfonyApiClientService, TableFilter, TreeHelper, UrlService, loginGuard };
2286
2441
  //# sourceMappingURL=mk-ng-lib.mjs.map