@smartbit4all/ng-client 3.2.15 → 3.2.17

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.
@@ -474,6 +474,12 @@ export interface SmartMatrix {
474
474
  validators?: SmartValidator[];
475
475
  isMultiple?: boolean;
476
476
  hint?: SmartWidgetHint;
477
+ button?: SmartMatrixButton;
478
+ }
479
+ export interface SmartMatrixButton {
480
+ iconCode?: string;
481
+ callback: (widget: SmartFormWidget<any>, row: any) => any;
482
+ color?: string;
477
483
  }
478
484
  export interface SmartYoutubePlayer {
479
485
  key?: string;
@@ -3,11 +3,11 @@ import { FormGroup } from '@angular/forms';
3
3
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
4
  import { MatChipInputEvent } from '@angular/material/chips';
5
5
  import { Observable, Subject } from 'rxjs';
6
+ import { ComponentFactoryService } from '../../../component-factory-service/projects';
6
7
  import { SmartFormWidgetType, SmartWidgetHint } from '../../api/model/models';
7
8
  import { SmartFormService } from '../../services/smartform.service';
8
9
  import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
9
10
  import { SmartFormTextFieldButtonIconPosition, SmartValidator, SophisticatedValueChange, Value } from '../../smartform.model';
10
- import { ComponentFactoryService } from '../../../component-factory-service/projects';
11
11
  import * as i0 from "@angular/core";
12
12
  export declare class SmartWidgetSettings {
13
13
  static useUtc: boolean;
@@ -84,6 +84,7 @@ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, Afte
84
84
  handleYearMonthPicked(yearMonthValue: any): void;
85
85
  compareItems(o1: any, o2: any): boolean;
86
86
  truncateUri(uri: any): any;
87
+ removeMatrixRow(question: any): void;
87
88
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
88
89
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": "form"; "widgetInstance": "widgetInstance"; "onBlur": "onBlur"; "onValueChange": "onValueChange"; "labelColor": "labelColor"; "sophisticatedValueChange": "sophisticatedValueChange"; }, {}, never, never>;
89
90
  }
@@ -11,7 +11,7 @@ export declare class UiActionFileUploadDialogComponent implements OnDestroy {
11
11
  dialogType: 'dialog' | 'inputDialog' | 'input2Dialog';
12
12
  descriptor?: UiActionDescriptor;
13
13
  i18n?: SmartFileUploaderI18n;
14
- maxSizeMb?: number;
14
+ maxSizeMb: number;
15
15
  fileFormats?: string[];
16
16
  isMultiple?: boolean;
17
17
  constructor(service: UiActionFileUploadDialogService, manager: UiActionDescriptorService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "3.2.15",
3
+ "version": "3.2.17",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^13.3.9",
6
6
  "@angular/common": "^13.2.0",
Binary file