fx-form-builder-wrapper 0.0.89 → 0.0.91

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.
@@ -13,6 +13,11 @@ export interface TableColumnConfig {
13
13
  labelKey?: string;
14
14
  className?: string;
15
15
  isMultiselect?: boolean;
16
+ checkedValue?: any;
17
+ unCheckedValue?: any;
18
+ checkBoxLabel?: string;
19
+ isRequired?: boolean;
20
+ errorMessage?: string;
16
21
  }
17
22
  export interface TableConfig {
18
23
  columns: TableColumnConfig[];
@@ -51,6 +56,8 @@ export declare class DynamicTableComponent extends FxBaseComponent implements On
51
56
  drawTable(event: any, columns: any): void;
52
57
  deleteFile(rowIndex: number, imageIndex: number): void;
53
58
  parseUrls(urls: string[], rowIndex: number, columns: any): void;
59
+ onCheckboxChange(event: Event, row: any, column: any): void;
60
+ initializeCheckboxDefaults(tableData: any): void;
54
61
  ngOnDestroy(): void;
55
62
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
56
63
  static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableComponent, "fx-dynamic-table", never, { "tableRows": { "alias": "tableRows"; "required": false; }; "previewType": { "alias": "previewType"; "required": false; }; "tableConfig": { "alias": "tableConfig"; "required": false; }; }, {}, never, never, true, never>;
@@ -1,9 +1,9 @@
1
- import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { FormControl } from '@angular/forms';
3
3
  import { FxBaseComponent, FxSetting, FxValidation } from '@instantsys-labs/fx';
4
4
  import { FxBuilderWrapperService } from '../../fx-builder-wrapper.service';
5
5
  import * as i0 from "@angular/core";
6
- export declare class UploaderComponent extends FxBaseComponent implements OnInit, OnDestroy {
6
+ export declare class UploaderComponent extends FxBaseComponent implements OnInit {
7
7
  private cdr;
8
8
  private fxBuilderWrapperService;
9
9
  uploadFileControl: FormControl<any>;
@@ -12,7 +12,6 @@ export declare class UploaderComponent extends FxBaseComponent implements OnInit
12
12
  private destroy$;
13
13
  private http;
14
14
  constructor(cdr: ChangeDetectorRef, fxBuilderWrapperService: FxBuilderWrapperService);
15
- ngOnDestroy(): void;
16
15
  uploadedImages: {
17
16
  [key: string]: {
18
17
  result: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fx-form-builder-wrapper",
3
- "version": "0.0.89",
3
+ "version": "0.0.91",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0",
@@ -0,0 +1,16 @@
1
+ <svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_6837_29683)">
3
+ <rect width="18" height="18" rx="9" fill="#F3A041"/>
4
+ <mask id="mask0_6837_29683" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="4" y="4" width="24" height="24">
5
+ <rect x="4" y="4" width="24" height="24" fill="#D9D9D9"/>
6
+ </mask>
7
+ <g mask="url(#mask0_6837_29683)">
8
+ <path d="M8.2045 8.99815L5.81802 6.61167L6.61351 5.81617L9 8.20266L11.3865 5.81617L12.182 6.61167L9.7955 8.99815L12.182 11.3846L11.3865 12.1801L9 9.79365L6.61351 12.1801L5.81802 11.3846L8.2045 8.99815Z" fill="white"/>
9
+ </g>
10
+ </g>
11
+ <defs>
12
+ <clipPath id="clip0_6837_29683">
13
+ <rect width="18" height="18" rx="9" fill="white"/>
14
+ </clipPath>
15
+ </defs>
16
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="22" height="20" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="0.5" width="24.766" height="24" rx="3" fill="#FF7900" fill-opacity="0.1"/>
3
+ <path d="M12.8918 16.5019C12.7255 16.5019 12.5695 16.4736 12.4239 16.4169C12.2783 16.3602 12.1431 16.2628 12.0183 16.1248L6.27803 9.8162C6.04925 9.56477 5.92946 9.25025 5.91864 8.87265C5.90783 8.49505 6.02762 8.16956 6.27803 7.89619C6.50681 7.64476 6.79799 7.51905 7.15155 7.51905C7.50512 7.51905 7.7963 7.64476 8.02508 7.89619L12.8918 13.2105L17.7586 7.89619C17.9874 7.64476 18.2736 7.51356 18.6172 7.50259C18.9607 7.49162 19.2569 7.62282 19.5056 7.89619C19.7344 8.14762 19.8488 8.46762 19.8488 8.85619C19.8488 9.24477 19.7344 9.56477 19.5056 9.8162L13.7654 16.1248C13.6406 16.2619 13.5054 16.3593 13.3598 16.4169C13.2142 16.4745 13.0582 16.5028 12.8918 16.5019Z" fill="#FAA762"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="18" viewBox="0 0 24 18" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12.8581 17.7391V12.6708H16.2869L12.0009 7.60248L7.71484 12.6708H11.1437V17.7391H6.85763V17.6969C6.71362 17.7053 6.57647 17.7391 6.42903 17.7391C4.72395 17.7391 3.0887 17.0717 1.88302 15.8835C0.677342 14.6954 0 13.084 0 11.4037C0 8.15324 2.49446 5.5042 5.69526 5.14097C5.97589 3.6953 6.75896 2.39118 7.90978 1.45292C9.06059 0.514653 10.5072 0.000892048 12.0009 0C13.4947 0.000823879 14.9416 0.514524 16.0927 1.45277C17.2438 2.39101 18.0272 3.69516 18.3082 5.14097C21.509 5.5042 24 8.15324 24 11.4037C24 13.084 23.3227 14.6954 22.117 15.8835C20.9113 17.0717 19.2761 17.7391 17.571 17.7391C17.427 17.7391 17.2881 17.7053 17.1424 17.6969V17.7391H12.8581Z" fill="#F3A041"/>
3
+ </svg>