/** * @format */ export const unifiedSearchFilterData: any = [{ type: 'heading', title: 'Address', name: 'headingAddress', styleProps: { mb: '16px' } }, { type: 'text', title: 'Street', name: 'street' }, { type: 'number', title: 'Postcode', name: 'postcode', htmlValidations: { required: true, isNumber: true } }, { type: 'heading', title: 'Address', name: 'headingAddress1', styleProps: { mb: '16px' } }, { type: 'row', rowTitle: 'Date Range', name: 'dateRangeRow', columns: [{ type: 'text', name: 'startDate' }, { type: 'text', name: 'endDate' }] }, { type: 'selectBox', title: 'Building Type', name: 'buildingType', placeholder: 'Building Type', selectData: [{ key: 'CONDO', value: 'Condominium' }, { key: 'APARTMENT', value: 'Apartment' }, { key: 'FLAT', value: 'flat' }], htmlValidations: { required: false } }, { type: 'selectBox', title: 'Lease Type', name: 'leaseType', placeholder: 'Select Lease type', selectData: [{ key: 'ALL', value: 'All' }, { key: '99', value: '99Years' }, { key: 'OPEN', value: 'Open' }], htmlValidations: { required: false } }, { type: 'row', rowTitle: 'Price', name: 'priceRow', columns: [{ type: 'currency', name: 'minPrice', placeholder: 'Min', currencySymbol: 'RM', htmlValidations: { required: false, isNumber: true } }, { type: 'currency', name: 'maxPrice', placeholder: 'Max', currencySymbol: 'RM', htmlValidations: { required: false, isNumber: true } }] }, { type: 'row', rowTitle: 'Built up Area', name: 'BuiltUpAreaRow', required: true, columns: [{ type: 'area', name: 'builtUpMin', placeholder: 'Min', defaultLandAreaType: 'sqft' }, { type: 'area', name: 'builtUpMax', placeholder: 'Max', defaultLandAreaType: 'sqft' }] }, { type: 'row', name: 'landAreaRow', rowTitle: 'Land Area', required: true, columns: [{ type: 'area', name: 'landAreaMin', placeholder: 'Min', defaultLandAreaType: 'sqft' }, { type: 'area', name: 'landAreaMax', placeholder: 'Max', defaultLandAreaType: 'sqft' }] }, { type: 'row', name: 'roomsAndFloors', columns: [{ type: 'text', title: 'Rooms', name: 'rooms' }, { type: 'text', title: 'Floors', name: 'floors' }] }, { type: 'row', name: 'sectionAndGrid', required: false, columns: [{ type: 'text', title: 'Section', name: 'section' }, { type: 'text', title: 'Grid', name: 'grid' }] }, { type: 'row', name: 'titleAndLot', columns: [{ type: 'text', title: 'Title No.', name: 'tileNumber' }, { type: 'text', title: 'Lot No.', name: 'lotNumber' }] }, { type: 'text', title: 'Lot Info.', name: 'lotInfo', styleProps: { width: '50%' } }, { type: 'heading', title: 'Name', name: 'headingName2' }, { type: 'text', title: 'Buyer Name', name: 'buyerName', htmlValidations: { required: false } }, { type: 'text', title: 'Seller Name', name: 'sellerName', htmlValidations: { required: false } }, { type: 'row', name: 'submitRow', columns: [{ type: 'cancel', title: 'Clear All', name: 'cancelButton' }, { type: 'submit', title: 'Apply', name: 'submitButton' }] }]