@unifylib/ui-lib 1.1.25 → 1.1.26

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.
@@ -119,6 +119,8 @@ export declare class BaseFormCanvasComponent implements OnInit, OnChanges, OnDes
119
119
  checkEquation(field: FieldInfo, $event: Event): void;
120
120
  getView(field: any): 'month' | 'year' | 'multi-year';
121
121
  setMonthAndYear(normalizedMonthAndYear: Moment, picker: MatDatepicker<Moment>, field: any): void;
122
+ getAcceptedFileTypes(field: FieldInfo): string | undefined;
123
+ onAttachmentFileSelected(file: File | null, field: FieldInfo): void;
122
124
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseFormCanvasComponent, never>;
123
125
  static ɵcmp: i0.ɵɵComponentDeclaration<BaseFormCanvasComponent, "app-base-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "workflowEditableFields": { "alias": "workflowEditableFields"; "required": false; }; "isWorkflowEditableManaged": { "alias": "isWorkflowEditableManaged"; "required": false; }; "supportingAttributes": { "alias": "supportingAttributes"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "emitOnValueChanges": { "alias": "emitOnValueChanges"; "required": false; }; "item": { "alias": "item"; "required": false; }; "equationSuggestedFields": { "alias": "equationSuggestedFields"; "required": false; }; "currentEquationValue": { "alias": "currentEquationValue"; "required": false; "isSignal": true; }; }, { "attachmentEmitter": "attachmentEmitter"; "actionEmitter": "actionEmitter"; "formUpdated": "formUpdated"; "hyperTextEvent": "hyperTextEvent"; "currentEquationValue": "currentEquationValueChange"; }, never, never, true, never>;
124
126
  }
@@ -78,6 +78,7 @@ export declare class BaseTableComponent extends BaseUtils implements OnInit, OnC
78
78
  listActionClicked: EventEmitter<{
79
79
  action: ButtonActionSettings;
80
80
  row: any;
81
+ isPending: boolean;
81
82
  }>;
82
83
  showDialog: EventEmitter<any>;
83
84
  usedWorkflow: Workflow;
@@ -10,7 +10,9 @@ export declare class SectionFormCanvasComponent {
10
10
  hideBackButton: boolean;
11
11
  item: any;
12
12
  title: string;
13
+ subtitle: string;
13
14
  isTranslateTitle: boolean;
15
+ isTranslateSubtitle: boolean;
14
16
  key: number;
15
17
  hideToggle: boolean;
16
18
  isExpanded: boolean;
@@ -24,5 +26,5 @@ export declare class SectionFormCanvasComponent {
24
26
  toggleExpand(): void;
25
27
  onButtonClick(btn: ButtonActionSettings, sectionKey: number): void;
26
28
  static ɵfac: i0.ɵɵFactoryDeclaration<SectionFormCanvasComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, never, true, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionFormCanvasComponent, "lib-section-form-canvas", never, { "pageInfo": { "alias": "pageInfo"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "itemId": { "alias": "itemId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "hideBackButton": { "alias": "hideBackButton"; "required": false; }; "item": { "alias": "item"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isTranslateTitle": { "alias": "isTranslateTitle"; "required": false; }; "isTranslateSubtitle": { "alias": "isTranslateSubtitle"; "required": false; }; "key": { "alias": "key"; "required": false; }; "hideToggle": { "alias": "hideToggle"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "alwaysOpen": { "alias": "alwaysOpen"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "itemStatus": { "alias": "itemStatus"; "required": false; }; }, { "actionEdit": "actionEdit"; "formEdit": "formEdit"; "buttonClicked": "buttonClicked"; }, never, never, true, never>;
28
30
  }
@@ -3,6 +3,7 @@ import * as i0 from "@angular/core";
3
3
  export declare class AttachmentUploaderComponent {
4
4
  fileUpload: ElementRef<HTMLInputElement>;
5
5
  fileSelected: EventEmitter<File>;
6
+ acceptedTypes?: string;
6
7
  selectedFile: File | null;
7
8
  isDragOver: boolean;
8
9
  triggerAttachmentUpload(): void;
@@ -12,5 +13,5 @@ export declare class AttachmentUploaderComponent {
12
13
  onDragLeave(event: DragEvent): void;
13
14
  onDrop(event: DragEvent): void;
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<AttachmentUploaderComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentUploaderComponent, "app-attachment-uploader", never, {}, { "fileSelected": "fileSelected"; }, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<AttachmentUploaderComponent, "app-attachment-uploader", never, { "acceptedTypes": { "alias": "acceptedTypes"; "required": false; }; }, { "fileSelected": "fileSelected"; }, never, never, true, never>;
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unifylib/ui-lib",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.12",
6
6
  "@angular/core": "^17.3.12"
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXEtdWktbGliLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvaW52b2ljZXEvdWktbGliL3NyYy9pcS11aS1saWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==