const DATE_TIME_PRO_FEATURE = 'date_time_field' /** True when Essentials+ date/time Pro features are active on the public runtime. */ export function hasDateTimeProFeature(): boolean { try { if (window.IvyForms?.hasProFeature?.(DATE_TIME_PRO_FEATURE)) { return true } return !!window.IvyForms?.pro?.features?.[DATE_TIME_PRO_FEATURE] } catch { return false } }