|
|
@ -108,13 +108,13 @@ export const isDecimalType = (colData: []) => |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
export const isEmailType = (colData: []) => |
|
|
|
export const isEmailType = (colData: []) => |
|
|
|
!colData.some((v: any) => { |
|
|
|
colData.some((v: any) => { |
|
|
|
return v && !isEmail(v) |
|
|
|
return v && isEmail(v) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
export const isUrlType = (colData: []) => |
|
|
|
export const isUrlType = (colData: []) => |
|
|
|
!colData.some((v: any) => { |
|
|
|
colData.some((v: any) => { |
|
|
|
return v && !isValidURL(v) |
|
|
|
return v && isValidURL(v) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
export const getColumnUIDTAndMetas = (colData: [], defaultType: string) => { |
|
|
|
export const getColumnUIDTAndMetas = (colData: [], defaultType: string) => { |
|
|
|