@expeed/ngx-data-mapper 1.2.4 → 1.2.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expeed/ngx-data-mapper",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Visual data mapping components for Angular - drag-and-drop field mapping with transformations, schema editor with JSON Schema export",
5
5
  "keywords": [
6
6
  "angular",
@@ -504,11 +504,12 @@ declare class DataMapperComponent implements AfterViewInit, OnDestroy {
504
504
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<DataMapperComponent, "data-mapper", never, { "sourceSchema": { "alias": "sourceSchema"; "required": false; }; "targetSchema": { "alias": "targetSchema"; "required": false; }; "sourceSchemaRef": { "alias": "sourceSchemaRef"; "required": false; }; "targetSchemaRef": { "alias": "targetSchemaRef"; "required": false; }; "sampleData": { "alias": "sampleData"; "required": false; }; }, { "mappingsChange": "mappingsChange"; }, never, never, true, never>;
505
505
  }
506
506
 
507
- type DisplayType = 'textbox' | 'dropdown' | 'textarea' | 'richtext';
507
+ type DisplayType = 'textbox' | 'dropdown' | 'textarea' | 'richtext' | 'datepicker' | 'datetimepicker' | 'timepicker' | 'stepper' | 'checkbox' | 'toggle';
508
508
  interface EditorField {
509
509
  id: string;
510
510
  name: string;
511
- type: 'string' | 'number' | 'boolean' | 'date' | 'object' | 'array';
511
+ type: 'string' | 'number' | 'boolean' | 'date' | 'time' | 'object' | 'array';
512
+ format?: string;
512
513
  displayType?: DisplayType;
513
514
  description?: string;
514
515
  required?: boolean;
@@ -538,7 +539,32 @@ declare class SchemaEditorComponent {
538
539
  label: string;
539
540
  icon: string;
540
541
  }>;
541
- displayTypes: Array<{
542
+ stringDisplayTypes: Array<{
543
+ value: DisplayType;
544
+ label: string;
545
+ icon: string;
546
+ }>;
547
+ dateDisplayTypes: Array<{
548
+ value: DisplayType;
549
+ label: string;
550
+ icon: string;
551
+ }>;
552
+ timeDisplayTypes: Array<{
553
+ value: DisplayType;
554
+ label: string;
555
+ icon: string;
556
+ }>;
557
+ numberDisplayTypes: Array<{
558
+ value: DisplayType;
559
+ label: string;
560
+ icon: string;
561
+ }>;
562
+ booleanDisplayTypes: Array<{
563
+ value: DisplayType;
564
+ label: string;
565
+ icon: string;
566
+ }>;
567
+ getDisplayTypes(fieldType: string): Array<{
542
568
  value: DisplayType;
543
569
  label: string;
544
570
  icon: string;