UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

1 lines 792 B
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../../../src/libs/collection/custom-fields/fields/range/index.ts"],"sourcesContent":["import { createValueFieldTypeGenerator } from \"../../../type-gen/custom-field.js\";\nimport { formatNumberFilterValue } from \"../../utils/filter-values.js\";\nimport { rangeFieldConfig } from \"./config.js\";\nimport RangeCustomField from \"./custom-field.js\";\n\nexport default {\n\tconfig: rangeFieldConfig,\n\tclass: RangeCustomField,\n\tfetchRefs: null,\n\tvalidateInput: null,\n\tformatRef: null,\n\tformatFilterValue: formatNumberFilterValue,\n\tclientTypeGen: createValueFieldTypeGenerator(\"number[]\"),\n};\n"],"mappings":"6OAKA,IAAA,EAAe,CACd,OAAQ,EACR,MAAO,EACP,UAAW,KACX,cAAe,KACf,UAAW,KACX,kBAAmB,EACnB,cAAe,EAA8B,UAAU,CACxD"}