@smartbit4all/ng-client 3.3.107 → 3.3.108

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.
Files changed (17) hide show
  1. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +2 -2
  2. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +1 -1
  3. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +2 -2
  4. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +5 -5
  5. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +2 -2
  6. package/fesm2015/smartbit4all-ng-client.mjs +8 -12
  7. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  8. package/fesm2020/smartbit4all-ng-client.mjs +8 -12
  9. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  10. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +1 -1
  11. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +1 -1
  12. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +1 -1
  13. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +1 -1
  14. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +1 -1
  15. package/package.json +1 -1
  16. package/smartbit4all-ng-client-3.3.108.tgz +0 -0
  17. package/smartbit4all-ng-client-3.3.107.tgz +0 -0
@@ -65,10 +65,6 @@ import { MatTableModule } from '@angular/material/table';
65
65
  import * as i1$4 from '@angular/material/tooltip';
66
66
  import { MatTooltip, MatTooltipModule } from '@angular/material/tooltip';
67
67
  import { catchError, switchMap } from 'rxjs/operators';
68
- import { SmartdialogService as SmartdialogService$1 } from 'projects/smart-ng-client/src/lib/smart-dialog/smartdialog.service';
69
- import { SmartValidatorName as SmartValidatorName$1 } from 'projects/smart-ng-client/src/lib/smart-form/smartform.model';
70
- import { SmartFormWidgetType as SmartFormWidgetType$1 } from 'projects/smart-ng-client/src/lib/smart-form/api/model/smartFormWidgetType';
71
- import { SmartFormWidgetDirection as SmartFormWidgetDirection$1 } from 'projects/smart-ng-client/src/lib/smart-form/api/model/smartFormWidgetDirection';
72
68
  import * as i12$1 from '@angular/material/paginator';
73
69
  import { MatPaginatorModule } from '@angular/material/paginator';
74
70
  import { FlatTreeControl, NestedTreeControl } from '@angular/cdk/tree';
@@ -7973,7 +7969,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
7973
7969
  args: [{ selector: "app-ui-action-confirm-dialog", template: "<div class=\"folderNameDialogContainer\">\r\n\t<div class=\"headerContainer\">\r\n\t\t<h3 class=\"color-accent-700\">\r\n\t\t\t{{ getTitle() }}\r\n\t\t</h3>\r\n\t\t<button mat-icon-button title=\"close\" (click)=\"cancel()\">\r\n\t\t\t<smart-icon [color]=\"'primary'\" [icon]=\"'X'\"></smart-icon>\r\n\t\t</button>\r\n\t</div>\r\n\t<p>\r\n\t\t{{ getText() }}\r\n\t</p>\r\n\t<div class=\"folderNameDialogButtonsContainer\">\r\n\t\t<button mat-button color=\"accent\" [color]=\"getCancelButtonColor()\" (click)=\"cancel()\">\r\n\t\t\t{{ getCancelButtonLabel() }}\r\n\t\t</button>\r\n\t\t<button mat-raised-button [color]=\"getActionButtonColor()\" (click)=\"doAction()\">\r\n\t\t\t{{ getActionButtonLabel() }}\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n", styles: [".folderNameDialogContainer{width:25rem;display:flex;flex-direction:column;gap:1rem}.headerContainer{display:flex;flex-direction:row;justify-content:space-between}.headerContainer h3{margin:0}.folderNameDialogButtonsContainer{display:flex;flex-direction:row;justify-content:flex-end;gap:.5rem}\n"] }]
7974
7970
  }], ctorParameters: function () { return [{ type: UiActionConfirmDialogService }, { type: UiActionDescriptorService }]; } });
7975
7971
 
7976
- class UiActionConfirmDialogService extends SmartdialogService$1 {
7972
+ class UiActionConfirmDialogService extends SmartdialogService {
7977
7973
  constructor(dialog, router) {
7978
7974
  super(dialog, router);
7979
7975
  this._destroy$ = new Subject();
@@ -8070,10 +8066,10 @@ class UiActionInputDialogComponent {
8070
8066
  let type;
8071
8067
  let inputType = `${inputName}Type`;
8072
8068
  if (this.service.action[inputType] === UiActionInputType.TEXTFIELD) {
8073
- type = SmartFormWidgetType$1.TEXT_FIELD;
8069
+ type = SmartFormWidgetType.TEXT_FIELD;
8074
8070
  }
8075
8071
  else {
8076
- type = SmartFormWidgetType$1.TEXT_BOX;
8072
+ type = SmartFormWidgetType.TEXT_BOX;
8077
8073
  }
8078
8074
  let widgets = [
8079
8075
  {
@@ -8084,7 +8080,7 @@ class UiActionInputDialogComponent {
8084
8080
  validators: [
8085
8081
  {
8086
8082
  validator: Validators.required,
8087
- name: SmartValidatorName$1.required,
8083
+ name: SmartValidatorName.required,
8088
8084
  errorMessage: 'Ez a mező kötelező',
8089
8085
  },
8090
8086
  ],
@@ -8092,12 +8088,12 @@ class UiActionInputDialogComponent {
8092
8088
  showLabel: true,
8093
8089
  },
8094
8090
  ];
8095
- if (widgets[0].type === SmartFormWidgetType$1.TEXT_FIELD &&
8091
+ if (widgets[0].type === SmartFormWidgetType.TEXT_FIELD &&
8096
8092
  this.descriptor[this.dialogType]?.mask) {
8097
8093
  widgets[0].mask = this.descriptor[this.dialogType]?.mask;
8098
8094
  }
8099
8095
  this.folderForm = {
8100
- direction: SmartFormWidgetDirection$1.COL,
8096
+ direction: SmartFormWidgetDirection.COL,
8101
8097
  componentModel: { data: model },
8102
8098
  widgets,
8103
8099
  };
@@ -8123,7 +8119,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
8123
8119
  args: ['form']
8124
8120
  }] } });
8125
8121
 
8126
- class UiActionInputDialogService extends SmartdialogService$1 {
8122
+ class UiActionInputDialogService extends SmartdialogService {
8127
8123
  constructor(dialog, router) {
8128
8124
  super(dialog, router);
8129
8125
  this._destroy$ = new Subject();
@@ -8229,7 +8225,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
8229
8225
  args: [{ selector: 'lib-ui-action-file-upload-dialog', template: "<div class=\"folderNameDialogContainer\">\r\n <div class=\"headerContainer\">\r\n <h3 class=\"color-accent-700\">\r\n {{ getTitle() }}\r\n </h3>\r\n <button mat-icon-button title=\"close\" (click)=\"cancel()\">\r\n <smart-icon [color]=\"'primary'\" [icon]=\"'X'\"></smart-icon>\r\n </button>\r\n </div>\r\n <p>\r\n {{ getText() }}\r\n </p>\r\n <smartfileuploader\r\n [i18n]=\"i18n\"\r\n [fileFormats]=\"fileFormats\"\r\n [maxSizeMb]=\"maxSizeMb\"\r\n [uploadCallback]=\"upload.bind(this)\"\r\n [isMultiple]=\"isMultiple\"\r\n ></smartfileuploader>\r\n <div class=\"folderNameDialogButtonsContainer\">\r\n <button mat-button color=\"accent\" [color]=\"getCancelButtonColor()\" (click)=\"cancel()\">\r\n {{ getCancelButtonLabel() }}\r\n </button>\r\n <!-- <button mat-raised-button [color]=\"getActionButtonColor()\" (click)=\"upload()\">\r\n {{ getActionButtonLabel() }}\r\n </button> -->\r\n </div>\r\n</div>\r\n", styles: [".folderNameDialogContainer{width:25rem;display:flex;flex-direction:column;gap:1rem}.headerContainer{display:flex;flex-direction:row;justify-content:space-between}.headerContainer h3{margin:0}.folderNameDialogButtonsContainer{display:flex;flex-direction:row;justify-content:flex-end;gap:.5rem}\n"] }]
8230
8226
  }], ctorParameters: function () { return [{ type: UiActionFileUploadDialogService }, { type: UiActionDescriptorService }]; } });
8231
8227
 
8232
- class UiActionFileUploadDialogService extends SmartdialogService$1 {
8228
+ class UiActionFileUploadDialogService extends SmartdialogService {
8233
8229
  constructor(dialog, router) {
8234
8230
  super(dialog, router);
8235
8231
  this._destroy$ = new Subject();