{
  "version": 3,
  "sources": ["../../src/field-types/no-type.tsx"],
  "sourcesContent": ["/**\n * Internal dependencies\n */\nimport type { SortDirection } from '../types';\nimport type { FieldType } from '../types/private';\nimport { OPERATOR_IS, OPERATOR_IS_NOT } from '../constants';\nimport { getAllOperatorNames } from '../utils/operators';\nimport render from './utils/render-default';\nimport sortText from './utils/sort-text';\nimport sortNumber from './utils/sort-number';\nimport isValidRequired from './utils/is-valid-required';\nimport isValidElements from './utils/is-valid-elements';\nimport getValueFormatted from './utils/get-value-formatted-default';\n\nconst sort = ( a: any, b: any, direction: SortDirection ) => {\n\tif ( typeof a === 'number' && typeof b === 'number' ) {\n\t\treturn sortNumber( a, b, direction );\n\t}\n\n\treturn sortText( a, b, direction );\n};\n\nexport default {\n\t// type: no type for this one\n\trender,\n\tEdit: null,\n\tsort,\n\tenableSorting: true,\n\tenableGlobalSearch: false,\n\tdefaultOperators: [ OPERATOR_IS, OPERATOR_IS_NOT ],\n\tvalidOperators: getAllOperatorNames(),\n\tformat: {},\n\tgetValueFormatted,\n\tvalidate: {\n\t\trequired: isValidRequired,\n\t\telements: isValidElements,\n\t},\n} satisfies FieldType< any >;\n"],
  "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKA,uBAA6C;AAC7C,uBAAoC;AACpC,4BAAmB;AACnB,uBAAqB;AACrB,yBAAuB;AACvB,+BAA4B;AAC5B,+BAA4B;AAC5B,yCAA8B;AAE9B,IAAM,OAAO,CAAE,GAAQ,GAAQ,cAA8B;AAC5D,MAAK,OAAO,MAAM,YAAY,OAAO,MAAM,UAAW;AACrD,eAAO,mBAAAA,SAAY,GAAG,GAAG,SAAU;AAAA,EACpC;AAEA,aAAO,iBAAAC,SAAU,GAAG,GAAG,SAAU;AAClC;AAEA,IAAO,kBAAQ;AAAA;AAAA,EAEd,8BAAAC;AAAA,EACA,MAAM;AAAA,EACN;AAAA,EACA,eAAe;AAAA,EACf,oBAAoB;AAAA,EACpB,kBAAkB,CAAE,8BAAa,gCAAgB;AAAA,EACjD,oBAAgB,sCAAoB;AAAA,EACpC,QAAQ,CAAC;AAAA,EACT,sDAAAC;AAAA,EACA,UAAU;AAAA,IACT,UAAU,yBAAAC;AAAA,IACV,UAAU,yBAAAC;AAAA,EACX;AACD;",
  "names": ["sortNumber", "sortText", "render", "getValueFormatted", "isValidRequired", "isValidElements"]
}
