df-ae-forms-package 1.0.61 → 1.0.63

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.
package/dist/index.d.ts CHANGED
@@ -364,7 +364,6 @@ interface FormComponentProps {
364
364
  touchedFields?: Record<string, boolean>;
365
365
  formSubmitted?: boolean;
366
366
  mode?: 'edit' | 'preview' | 'test';
367
- platform?: 'web' | 'ios' | 'android';
368
367
  onValueChange?: (change: IFormControlChange) => void;
369
368
  onBlur?: () => void;
370
369
  onFocus?: () => void;
@@ -399,12 +398,10 @@ interface ValidationResult {
399
398
  }
400
399
 
401
400
  type DeviceType = 'desktop' | 'tablet' | 'mobile';
402
- type PlatformType = 'web' | 'ios' | 'android';
403
401
  interface DfFormPreviewProps {
404
402
  formComponents: FormComponentType[];
405
403
  formData?: any;
406
404
  currentDevice?: DeviceType;
407
- platform?: PlatformType;
408
405
  isPreviewMode?: boolean;
409
406
  initialFormData?: FormComponentType[];
410
407
  onSubmit?: (formData: FormComponentType[], values: Record<string, any>) => void;
@@ -440,7 +437,6 @@ interface DfFormInputProps {
440
437
  touchedFields?: Record<string, boolean>;
441
438
  formSubmitted?: boolean;
442
439
  mode?: 'edit' | 'preview' | 'test';
443
- platform?: 'web' | 'ios' | 'android';
444
440
  onValueChange?: (change: IFormControlChange) => void;
445
441
  onBlur?: () => void;
446
442
  onFocus?: () => void;
@@ -468,7 +464,6 @@ interface DfFormTextareaProps {
468
464
  touchedFields?: Record<string, boolean>;
469
465
  formSubmitted?: boolean;
470
466
  mode?: 'edit' | 'preview' | 'test';
471
- platform?: 'web' | 'ios' | 'android';
472
467
  onValueChange?: (change: IFormControlChange) => void;
473
468
  onBlur?: () => void;
474
469
  onFocus?: () => void;
@@ -487,7 +482,6 @@ interface DfFormSelectProps {
487
482
  touchedFields?: Record<string, boolean>;
488
483
  formSubmitted?: boolean;
489
484
  mode?: 'edit' | 'preview' | 'test';
490
- platform?: 'web' | 'ios' | 'android';
491
485
  onValueChange?: (change: IFormControlChange) => void;
492
486
  onBlur?: () => void;
493
487
  onFocus?: () => void;
@@ -507,7 +501,6 @@ interface DfFormCheckboxProps {
507
501
  touchedFields?: Record<string, boolean>;
508
502
  formSubmitted?: boolean;
509
503
  mode?: 'edit' | 'preview' | 'test';
510
- platform?: 'web' | 'ios' | 'android';
511
504
  onValueChange?: (change: IFormControlChange) => void;
512
505
  onBlur?: () => void;
513
506
  onFocus?: () => void;
@@ -527,7 +520,6 @@ interface DfFormRadioProps {
527
520
  touchedFields?: Record<string, boolean>;
528
521
  formSubmitted?: boolean;
529
522
  mode?: 'edit' | 'preview' | 'test';
530
- platform?: 'web' | 'ios' | 'android';
531
523
  onValueChange?: (change: IFormControlChange) => void;
532
524
  onBlur?: () => void;
533
525
  onFocus?: () => void;
@@ -566,7 +558,6 @@ interface DfFormDateTimeProps {
566
558
  touchedFields?: Record<string, boolean>;
567
559
  formSubmitted?: boolean;
568
560
  mode?: 'edit' | 'preview' | 'test';
569
- platform?: 'web' | 'ios' | 'android';
570
561
  onValueChange?: (change: IFormControlChange) => void;
571
562
  onBlur?: () => void;
572
563
  onFocus?: () => void;
@@ -726,7 +717,6 @@ interface DfFormDataGridProps {
726
717
  id: string;
727
718
  properties: IDataGridComponent;
728
719
  mode?: 'edit' | 'preview' | 'test';
729
- platform?: 'web' | 'ios' | 'android';
730
720
  formData?: any;
731
721
  onValueChange?: (change: IFormControlChange) => void;
732
722
  onSelect?: () => void;
@@ -747,14 +737,6 @@ interface DfFormDataGridProps {
747
737
  onNotesChange?: (componentId: string, notes: string) => void;
748
738
  onAttachmentChange?: (componentId: string, attachments: File[] | null) => void;
749
739
  shouldShowComponent?: (componentId: string) => boolean;
750
- workOrderNumber?: string;
751
- assetNumber?: string;
752
- user?: {
753
- firstName?: string;
754
- lastName?: string;
755
- };
756
- onCreateIssue?: (issueData: any, attachments: File[]) => Promise<any>;
757
- onUpdateIssue?: (issueId: string, updateData: any) => Promise<void>;
758
740
  }
759
741
  declare const DfFormDataGrid: React.FC<DfFormDataGridProps>;
760
742