{"version":3,"file":"ngx-t-forms-getInputIcon-B4ADgevZ.mjs","sources":["../../../projects/ngx-t-forms/src/lib/shared/functions/getInputIcon.ts"],"sourcesContent":["import { ElementTypes } from 'ngx-t-forms-types';\r\n\r\nexport const InputElementIconMap: Record<ElementTypes, string> = {\r\n  [ElementTypes.Input]: 'text_fields',\r\n  [ElementTypes.Location]: 'location_on',\r\n  [ElementTypes.AutoCompleteInput]: 'manage_search',\r\n  [ElementTypes.Toggle]: 'toggle_on',\r\n  [ElementTypes.Select]: 'arrow_drop_down_circle',\r\n  [ElementTypes.PaginatedSelectionTable]: 'table_chart',\r\n  [ElementTypes.IconSelect]: 'emoji_emotions',\r\n  [ElementTypes.Textarea]: 'notes',\r\n  [ElementTypes.DatePicker]: 'calendar_today',\r\n  [ElementTypes.DateRangePicker]: 'date_range',\r\n  [ElementTypes.FileUpload]: 'upload_file',\r\n  [ElementTypes.Signature]: 'draw',\r\n  [ElementTypes.ImageCapture]: 'photo_camera',\r\n  [ElementTypes.SectionTitle]: 'title',\r\n  [ElementTypes.MultipleInput]: 'list_alt',\r\n  [ElementTypes.Editor]: 'edit_note',\r\n  [ElementTypes.MscoaSelection]: 'account_tree',\r\n  [ElementTypes.WorkflowDocumentPicker]: 'description',\r\n  [ElementTypes.WorkflowAdjudication]: 'gavel',\r\n};\r\n\r\nexport function getInputIcon(element: ElementTypes | undefined | null): string {\r\n  if (!element) return 'help_outline';\r\n  return InputElementIconMap[element] ?? 'help_outline';\r\n}\r\n"],"names":[],"mappings":";;AAEO,MAAM,mBAAmB,GAAiC;AAC/D,IAAA,CAAC,YAAY,CAAC,KAAK,GAAG,aAAa;AACnC,IAAA,CAAC,YAAY,CAAC,QAAQ,GAAG,aAAa;AACtC,IAAA,CAAC,YAAY,CAAC,iBAAiB,GAAG,eAAe;AACjD,IAAA,CAAC,YAAY,CAAC,MAAM,GAAG,WAAW;AAClC,IAAA,CAAC,YAAY,CAAC,MAAM,GAAG,wBAAwB;AAC/C,IAAA,CAAC,YAAY,CAAC,uBAAuB,GAAG,aAAa;AACrD,IAAA,CAAC,YAAY,CAAC,UAAU,GAAG,gBAAgB;AAC3C,IAAA,CAAC,YAAY,CAAC,QAAQ,GAAG,OAAO;AAChC,IAAA,CAAC,YAAY,CAAC,UAAU,GAAG,gBAAgB;AAC3C,IAAA,CAAC,YAAY,CAAC,eAAe,GAAG,YAAY;AAC5C,IAAA,CAAC,YAAY,CAAC,UAAU,GAAG,aAAa;AACxC,IAAA,CAAC,YAAY,CAAC,SAAS,GAAG,MAAM;AAChC,IAAA,CAAC,YAAY,CAAC,YAAY,GAAG,cAAc;AAC3C,IAAA,CAAC,YAAY,CAAC,YAAY,GAAG,OAAO;AACpC,IAAA,CAAC,YAAY,CAAC,aAAa,GAAG,UAAU;AACxC,IAAA,CAAC,YAAY,CAAC,MAAM,GAAG,WAAW;AAClC,IAAA,CAAC,YAAY,CAAC,cAAc,GAAG,cAAc;AAC7C,IAAA,CAAC,YAAY,CAAC,sBAAsB,GAAG,aAAa;AACpD,IAAA,CAAC,YAAY,CAAC,oBAAoB,GAAG,OAAO;CAC7C;AAEK,SAAU,YAAY,CAAC,OAAwC,EAAA;AACnE,IAAA,IAAI,CAAC,OAAO;AAAE,QAAA,OAAO,cAAc;AACnC,IAAA,OAAO,mBAAmB,CAAC,OAAO,CAAC,IAAI,cAAc;AACvD;;;;"}